Wammu (mobile phone manager) - not loading

Hi all,

I have installed the Wammu application from the Yast manager.
I am using Opensuse 11.3, with KDE.

when I have typed in Wammu in the terminal the following error occurs.

Traceback (most recent call last):
  File "/usr/bin/wammu", line 31, in <module>
    import Wammu.Locales
  File "/usr/lib/python2.6/site-packages/Wammu/Locales.py", line 31, in <module>
    import wx
ImportError: No module named wx

Can someone please assist me in decoding what this error means and how to fix it.

It looks like you don’t have the Python wx module. You can install the module by doing this (as root user):

zypper in python-wxGTK

Hi there,

I followed your instructions without success.

linux-68lo:/home/paul # zypper in python-wxGTK
Loading repository data…
Reading installed packages…
There is an update candidate for ‘python-wxGTK’, but it is from different vendor. Use ‘zypper install python-wxGTK-2.8.10.1-11.2.x86_64’ to install this candidate.
Resolving package dependencies…

The following package is going to be upgraded:
python-wxGTK

1 package to upgrade.
Overall download size: 6.7 MiB. No additional space will be used or
freed after the operation.
Continue? [y/n/?] (y): y
Retrieving package python-wxGTK-2.8.10.1-2.pm.20.6.x86_64 (1/1), 6.7 MiB (34.8 MiB unpacked)
Retrieving: python-wxGTK-2.8.10.1-2.pm.20.6.x86_64.rpm [13% (286.4 KiB/s)Retrieving: python-wxGTK-2.8.10.1-2.pm.20.6.x86_64.rpm [17% (290.0 KiB/s)Retrieving: python-wxGTK-2.8.10.1-2.pm.20.6.x86_64.rpm [25% (269.6 KiB/s)Retrieving: python-wxGTK-2.8.10.1-2.pm.20.6.x86_64.rpm [29% (275.5 KiB/s)Retrieving: python-wxGTK-2.8.10.1-2.pm.20.6.x86_64.rpm [36% (292.9 KiB/s)Retrieving: python-wxGTK-2.8.10.1-2.pm.20.6.x86_64.rpm [41% (299.3 KiB/s)Retrieving: python-wxGTK-2.8.10.1-2.pm.20.6.x86_64.rpm [47% (305.9 KiB/s)Retrieving: python-wxGTK-2.8.10.1-2.pm.20.6.x86_64.rpm [52% (254.2 KiB/s)Retrieving: python-wxGTK-2.8.10.1-2.pm.20.6.x86_64.rpm [57% (263.4 KiB/s)Retrieving: python-wxGTK-2.8.10.1-2.pm.20.6.x86_64.rpm [63% (370.9 KiB/s)Retrieving: python-wxGTK-2.8.10.1-2.pm.20.6.x86_64.rpm [68% (347.6 KiB/s)Retrieving: python-wxGTK-2.8.10.1-2.pm.20.6.x86_64.rpm [73% (320.5 KiB/s)Retrieving: python-wxGTK-2.8.10.1-2.pm.20.6.x86_64.rpm [79% (331.3 KiB/s)Retrieving: python-wxGTK-2.8.10.1-2.pm.20.6.x86_64.rpm [84% (265.7 KiB/s)Retrieving: python-wxGTK-2.8.10.1-2.pm.20.6.x86_64.rpm [89% (125.4 KiB/s)Retrieving: python-wxGTK-2.8.10.1-2.pm.20.6.x86_64.rpm [90% (107.1 KiB/s)Retrieving: python-wxGTK-2.8.10.1-2.pm.20.6.x86_64.rpm [92% (103.3 KiB/s)Retrieving: python-wxGTK-2.8.10.1-2.pm.20.6.x86_64.rpm [done (215.7 KiB/s)]
Installing: python-wxGTK-2.8.10.1-2.pm.20.6 [done]
Additional rpm output:
warning: /var/cache/zypp/packages/ftp.uni-erlangen.de-suse/x86_64/python-wxGTK-2.8.10.1-2.pm.20.6.x86_64.rpm: Header V3 DSA/SHA1 Signature, key ID 9a795806: NOKEY

linux-68lo:/home/paul # wammu
Traceback (most recent call last):
File “/usr/bin/wammu”, line 31, in <module>
import Wammu.Locales
File “/usr/lib/python2.6/site-packages/Wammu/Locales.py”, line 31, in <module>
import wx
ImportError: No module named wx

anyone experiencing this problem? Thank you.

Does installing ‘wxGTK-devel’ help?

Hi,

Yes this has made it work.

Thank you very much!