Bug 12926 - flacon (audio file splitter and converter) installs ok, but won't run/start
Summary: flacon (audio file splitter and converter) installs ok, but won't run/start
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 4
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: QA Team
QA Contact:
URL:
Whiteboard: has_procedure advisory MGA4-32-OK MGA...
Keywords: Triaged, validated_update
Depends on:
Blocks:
 
Reported: 2014-03-03 19:39 CET by Daniel Jackson
Modified: 2014-03-08 22:46 CET (History)
6 users (show)

See Also:
Source RPM: flacon-0.8.0-2.mga4
CVE:
Status comment:


Attachments

Description Daniel Jackson 2014-03-03 19:39:32 CET
Description of problem:

Flacon package installs well from the mcc but when i try to run the program, it only shows that is trying to start, (the icon appears in kde pannel, flashes a bit and then dissapear instead of starting).


Version-Release number of selected component (if applicable): 

version: 0.8.0
release: 2.mga4
arch: noarch


How reproducible:

Every time.


Steps to Reproduce:
1.Install flacon from mcc
2.Click flacon in start menu/sound and video
3.


Reproducible: 

Steps to Reproduce:
Comment 1 David GEIGER 2014-03-03 20:06:12 CET
Hi,

can you paste the console back (single user) when you try to launch flacon:

$ flacon

CC: (none) => geiger.david68210

Comment 2 Daniel Jackson 2014-03-03 20:22:09 CET
this is all i get:

Traceback (most recent call last):
  File "/usr/bin/flacon", line 6, in <module>
    execfile('/usr/share/flacon/flacon.py')
  File "/usr/share/flacon/flacon.py", line 26, in <module>
    from mainWindow_ui import Ui_mainWindow
  File "/usr/share/flacon/mainWindow_ui.py", line 308, in <module>
    from trackview import TrackView
  File "/usr/share/flacon/trackview.py", line 27, in <module>
    from disc import *
  File "/usr/share/flacon/disc.py", line 21, in <module>
    from trackset import *
  File "/usr/share/flacon/trackset.py", line 20, in <module>
    from chardet.universaldetector import UniversalDetector
ImportError: No module named chardet.universaldetector
Comment 3 David GEIGER 2014-03-03 20:52:38 CET
Ok, it seems to miss python-chardet package 
or if you use python3 you need install python3-chardet.

try with this.
Comment 4 Daniel Jackson 2014-03-03 20:54:54 CET
uhm...i don't know what i use, the system is Mageia 4 x86_64 with KDE, installed from DVD-install
Comment 5 David GEIGER 2014-03-03 20:57:08 CET
By default the system uses python2 then you can install python-chardet package.
Comment 6 Daniel Jackson 2014-03-03 20:59:52 CET
I installed "python-chardet" and flacon is now started, no other problem noticed so far.

Thanks!
Comment 7 David GEIGER 2014-03-03 21:06:38 CET
all right, everything is ok then :)

thank you for your feedback.
Comment 8 Daniel Jackson 2014-03-03 21:08:38 CET
Thank you for resolving the problem so fast :D
Comment 9 David GEIGER 2014-03-03 21:11:42 CET
often the console can be your friend to find the solution, a bit like google. :)
Comment 10 Daniel Jackson 2014-03-04 03:41:21 CET
IF you know HOW to look for that solution :) 
I have about 2 years since i've switched entirely from win to linux, specificaly to mageia and i am still learning/testing/discover things with other distros too.  
In this case i could not imagine that i need python-chardet in order to get those things missing, i was looking in console like...a cat in the calendar :))
Anyway, i was thinking it's a bug because in Mageia 3 i was using flacon with no problem/without install that package, so...:)
Maybe it was removed from Mageia 4, or maybe it's because i have clicked "unselect all" and then click the DE when i installed Mageia, i don't know.
David GEIGER 2014-03-04 19:36:25 CET

Assignee: bugsquad => doktor5000
Source RPM: flacon => flacon-0.8.0-2.mga4

Comment 11 Florian Hubold 2014-03-05 21:57:35 CET
(In reply to David GEIGER from comment #3)
> Ok, it seems to miss python-chardet package 
> or if you use python3 you need install python3-chardet.

Thanks for already committing the fix for cauldron. Would have been nice if you would have left a comment here about that :/
May I ask why you didn't submit a build for this? Shall I do this?

And why did you apply those cosmetic fixes to the updates/mga4 branch in svn?

Keywords: (none) => Triaged
Status: NEW => ASSIGNED
CC: (none) => doktor5000

Comment 12 David GEIGER 2014-03-05 22:10:58 CET
Yes you can submit this one on Cauldron.
I am an apprentice at the moment so I can not do the little submit.

If I have not done for updates/mga4, thank you for correcting me and I'm very sorry.
David GEIGER 2014-03-05 23:06:35 CET

Assignee: doktor5000 => geiger.david68210

Comment 13 David GEIGER 2014-03-05 23:22:54 CET
bug is now fixed in Cauldron with new release flacon-0.8.0-3.mga5.

- added 'python-chardet' package as a Requires to fix it.
Comment 14 Florian Hubold 2014-03-06 00:25:48 CET
After some IRC discussion everything is fine, apprentices cannot submit :)

flacon-0.8.0-3.mga5 has been submitted to cauldron.
flacon-0.8.0-2.1.mga4 has been submitted to mga4 core/updates_testing.

@David: Can you please follow up on on the last 3 bullets of https://wiki.mageia.org/en/Updates_policy#Maintainer_.28or_any_interested_packager.29 please?
If you have any further questions please let me know :)

CC: (none) => remi

Comment 15 David GEIGER 2014-03-06 17:58:25 CET
Advisory:
========================

It's missing a require on the flacon package of Mageia 4.
If no other package pulling 'python-chardet' are installed on the computer, flacon can't start and run. This update adds this missing require.

========================

Packages in 4/core/updates_testing:
========================
flacon-0.8.0-2.1.mga4.noarch.rpm

Source RPM: 
========================
flacon-0.8.0-2.1.mga4.src.rpm

How to test this update request:
========================
- Install a system and and make sure you don't have 'python-chardet' installed.
- Install 'flacon' from core/release and see if it starts and runs
normally you must have the message: 
ImportError: No module named chardet.universaldetector
- Install 'flacon' from core/updates_testing and check if it will install 'python-chardet' and if it will start and run now

Hardware: x86_64 => All
Assignee: geiger.david68210 => qa-bugs
Whiteboard: (none) => has_procedure

Comment 16 Marc Lattemann 2014-03-07 21:51:02 CET
tested on mga4 32bit:

[root@localhost marc]# rpm -qa | grep python-chardet
[root@localhost marc]#


[root@localhost marc]# urpmi flacon
To satisfy dependencies, the following packages are going to be installed:
  Package                        Version      Release       Arch    
(medium "Core Release")
  cuetools                       1.3.1        10.mga4       i586    (suggested)
  flac                           1.3.0        2.mga4        i586    (suggested)
  flacon                         0.8.0        2.mga4        noarch  
  libao4                         1.1.0        4.mga4        i586    (suggested)
  libgomp1                       4.8.2        3.mga4        i586    (suggested)
  libid3tag0                     0.15.1b      14.mga4       i586    (suggested)
  liblpc10_0                     1.5          16.mga4       i586    (suggested)
  libmad0                        0.15.1b      13.mga4       i586    (suggested)
  libqtnetwork4                  4.8.5        7.mga4        i586    
  libsox2                        14.4.1       3.mga4        i586    (suggested)
  libwavpack1                    4.60.1       4.mga4        i586    (suggested)
  mp3gain                        1.5.2        5.mga4        i586    (suggested)
  python-qt4-core                4.10.3       3.mga4        i586    
  python-qt4-gui                 4.10.3       3.mga4        i586    
  python-qt4-network             4.10.3       3.mga4        i586    
  python-sip                     4.15.3       1.mga4        i586    
  shntool                        3.0.10       4.mga4        i586    
  sox                            14.4.1       3.mga4        i586    (suggested)
  vorbis-tools                   1.4.0        6.mga4        i586    (suggested)
  vorbisgain                     0.37         9.mga4        i586    (suggested)
  wavpack                        4.60.1       4.mga4        i586    (suggested)
(medium "Tainted Release")
  lame                           3.99.5       5.mga4.taint> i586    (suggested)
21MB of additional disk space will be used.
4.4MB of packages will be retrieved.
Proceed with the installation of the 22 packages? (Y/n) y

no python-chardet is required.
start of flacon failed with error in Comment #2


after activating update_testing repo:

[root@localhost marc]# urpmi flacon
To satisfy dependencies, the following packages are going to be installed:
  Package                        Version      Release       Arch    
(medium "Core Release")
  python-chardet                 2.1.1        5.mga4        noarch  
(medium "Core Updates Testing")
  flacon                         0.8.0        2.1.mga4      noarch  
1.1MB of additional disk space will be used.
374KB of packages will be retrieved.
Proceed with the installation of the 2 packages? (Y/n)

no python-chardet is listed as dependency.
after update flacon starts without error message.

CC: (none) => marc.lattemann
Whiteboard: has_procedure => has_procedure MGA4-32-OK

Comment 17 Marc Lattemann 2014-03-07 22:11:41 CET
same test procedure same result for mga4 64bit

ready for validating after uploading advisory from comment #15

Whiteboard: has_procedure MGA4-32-OK => has_procedure MGA4-32-OK MGA4-64-OK

Comment 18 claire robinson 2014-03-08 21:32:45 CET
Advisory uploaded. Validating.

Could sysadmin please push to 4 updates

Thanks

Keywords: (none) => validated_update
Whiteboard: has_procedure MGA4-32-OK MGA4-64-OK => has_procedure advisory MGA4-32-OK MGA4-64-OK
CC: (none) => sysadmin-bugs

Comment 19 Thomas Backlund 2014-03-08 22:46:13 CET
Update pushed:
http://advisories.mageia.org/MGAA-2014-0080.html

Status: ASSIGNED => RESOLVED
CC: (none) => tmb
Resolution: (none) => FIXED


Note You need to log in before you can comment on or make changes to this bug.