Picard MusicBrainz tagger
Inviato: dom 21 ott 2007, 20:23
Codice: Seleziona tutto
root@darkstar:~# picard
Traceback (most recent call last):
File "/usr/bin/picard", line 2, in <module>
from picard.tagger import main; main('/usr/share/locale')
File "/usr/lib/python2.5/site-packages/picard/tagger.py", line 64, in <module>
import wx
ImportError: No module named wx
root@darkstar:~# ls /var/log/packages/wxpython*
/var/log/packages/wxpython-2.8.6.0-i486-1pvCodice: Seleziona tutto
root@darkstar:~# ls /var/log/packages/wx*
/var/log/packages/wxGTK-2.8.4-i486-1mfb /var/log/packages/wxpython-2.8.6.0-i486-1pv
/var/log/packages/wxgtk-2.8.5-i486-1kjz /var/log/packages/wxwidgets-2.8.4.unicode-i486-1sl
root@darkstar:~# picard
Traceback (most recent call last):
File "/usr/bin/picard", line 2, in <module>
from picard.tagger import main; main('/usr/share/locale')
File "/usr/lib/python2.5/site-packages/picard/tagger.py", line 64, in <module>
import wx
ImportError: No module named wx...naturalmente Python era già installato. Verifica se ti manca qualche cosa tra le dipendenze elencate (naturalmente tieni conto che Mandriva, ma non solo, ha i pacchetti suddivisi in lib, lib-devel e lib-static-devel).- libdiscid0-0.1.1-1mdv2008.0.i586
- libwxgtkglu2.6-2.6.4-13mdv2008.0.i586
- libwxgtku2.6-2.6.4-13mdv2008.0.i586
- python-musicbrainz2-0.5.0-2mdv2008.0.noarch
- python-tunepimp-0.5.3-5plf2008.0.i586
- wxGTK2.6-2.6.4-13mdv2008.0.i586
- wxpython2.6-2.6.3.3-2mdv2008.0.i586
- wxPythonGTK-wxversion-2.8.4.2-2mdv2008.0.i586
come vedi alla riga 64 c'è la chiamata al modulo wx...61 - import sys
62 - import os
63 - import copy
64 - import wx
65 - import atexit
66 - import time
67 - import traceback
68 - import gettext
69 - import locale
The "No module named wx" error means that it can't find wxPython. Make sure you have wxPython installed. There should be an .rpm for it. It probably came with your fedora core Linux distribution, so that is the first place I would look. Or if you can't find it there, it is available on the wxPython download page. http://www.wxpython.org/download.php#binaries
It's a wxgtk 2.8 issue. The file /usr/lib/python2.5/site-packages/BitTorrent/GUI_wx/__init__.py checks for version 2.6. You could try to change the references to 2.6 to 2.8 to see if it'll work or submit a bug report. I had to do that for another package (picard).
Quindi? La mia conoscenza dell'inglese è piuttosto scarsa...slackaddict ha scritto:http://bbs.archlinux.org/viewtopic.php?pid=240023
It's a wxgtk 2.8 issue. The file /usr/lib/python2.5/site-packages/BitTorrent/GUI_wx/__init__.py checks for version 2.6. You could try to change the references to 2.6 to 2.8 to see if it'll work or submit a bug report. I had to do that for another package (picard).
Codice: Seleziona tutto
bash-3.2$ python
Python 2.4.3 (#1, Jul 26 2006, 20:13:39)
[GCC 3.4.6] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import wx
>>>
Codice: Seleziona tutto
alessandro@darkstar:~$ python
Python 2.5.1 (r251:54863, May 4 2007, 16:52:23)
[GCC 4.1.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import wx
>>>