Bug#526605: wammu: fails to start (no module "gammu")

2009-05-05 Thread Johannes Rohr
On Tue, May 05, 2009 at 10:25:57AM +0200, Michal Čihař wrote:
> Hello
> 
> Dne Tue, 5 May 2009 10:15:18 +0200
> Johannes Rohr  napsal(a):
> 
> > /usr/lib/python2.4/site-packages/gammu/__init__.py
> > /usr/lib/python2.4/site-packages/gammu/__init__.pyc
> > /usr/lib/python2.5/site-packages/gammu/__init__.py
> > /usr/lib/python2.5/site-packages/gammu/__init__.pyc
> 
> Okay, here is probably the problem, where do these come from? Are they
> coming from some package?
> 
> dpkg -S /usr/lib/python2.4/site-packages/gammu/__init__.py 
> /usr/lib/python2.5/site-packages/gammu/__init__.py 
> /usr/share/pyshared/gammu/__init__.py

They appear not to belong to any package. ("nicht gefunden" means "not
found").

dpkg: /usr/lib/python2.4/site-packages/gammu/__init__.py nicht gefunden.
dpkg: /usr/lib/python2.4/site-packages/gammu/__init__.py nicht gefunden.
dpkg: /usr/share/pyshared/gammu/__init__.py nicht gefunden.

Thank you so much for taking the time to assist me on this, however I
have no idea where these files came from.

-- 
http://www.infoe.de/


signature.asc
Description: Digital signature


Bug#526605: wammu: fails to start (no module "gammu")

2009-05-05 Thread Michal Čihař
Hello

Dne Tue, 5 May 2009 10:15:18 +0200
Johannes Rohr  napsal(a):

> /usr/lib/python2.4/site-packages/gammu/__init__.py
> /usr/lib/python2.4/site-packages/gammu/__init__.pyc
> /usr/lib/python2.5/site-packages/gammu/__init__.py
> /usr/lib/python2.5/site-packages/gammu/__init__.pyc

Okay, here is probably the problem, where do these come from? Are they
coming from some package?

dpkg -S /usr/lib/python2.4/site-packages/gammu/__init__.py 
/usr/lib/python2.5/site-packages/gammu/__init__.py 
/usr/share/pyshared/gammu/__init__.py

-- 
Michal Čihař | http://cihar.com | http://blog.cihar.com


signature.asc
Description: PGP signature


Bug#526605: wammu: fails to start (no module "gammu")

2009-05-05 Thread Johannes Rohr
On Tue, May 05, 2009 at 10:10:34AM +0200, Michal Čihař wrote:
> 
> This one also looks okay. Didn't you by chance install also
> python-gammu manually?

no.

> Maybe finding all instances of gammu will help:
> 
> locate gammu/__init__.py

/usr/lib/pymodules/python2.4/gammu/__init__.py
/usr/lib/pymodules/python2.4/gammu/__init__.pyc
/usr/lib/pymodules/python2.5/gammu/__init__.py
/usr/lib/pymodules/python2.5/gammu/__init__.pyc
/usr/lib/python2.4/site-packages/gammu/__init__.py
/usr/lib/python2.4/site-packages/gammu/__init__.pyc
/usr/lib/python2.5/site-packages/gammu/__init__.py
/usr/lib/python2.5/site-packages/gammu/__init__.pyc
/usr/share/pyshared/gammu/__init__.py


signature.asc
Description: Digital signature


Bug#526605: wammu: fails to start (no module "gammu")

2009-05-05 Thread Michal Čihař
Dne Tue, 5 May 2009 10:05:19 +0200
Johannes Rohr  napsal(a):

> On Tue, May 05, 2009 at 08:52:55AM +0200, Michal Čihař wrote:
> 
> [...]
> 
> > Hmm, this looks good. And what is Python search path?
> > 
> > python -c 'import sys; print sys.path'
> > 
> ['', '/usr/lib/python2.5', '/usr/lib/python2.5/plat-linux2', 
> '/usr/lib/python2.5/lib-tk', '/usr/lib/python2.5/lib-dynload', 
> '/usr/local/lib/python2.5/site-packages', '/usr/lib/python2.5/site-packages', 
> '/usr/lib/python2.5/site-packages/PIL', 
> '/usr/lib/python2.5/site-packages/gst-0.10', '/usr/lib/pymodules/python2.5', 
> '/usr/lib/python2.5/site-packages/gtk-2.0', 
> '/usr/lib/pymodules/python2.5/gtk-2.0', 
> '/usr/lib/python2.5/site-packages/wx-2.6-gtk2-unicode']

This one also looks okay. Didn't you by chance install also
python-gammu manually?

Maybe finding all instances of gammu will help:

locate gammu/__init__.py

-- 
Michal Čihař | http://cihar.com | http://blog.cihar.com


signature.asc
Description: PGP signature


Bug#526605: wammu: fails to start (no module "gammu")

2009-05-05 Thread Johannes Rohr
On Tue, May 05, 2009 at 08:52:55AM +0200, Michal Čihař wrote:

[...]

> Hmm, this looks good. And what is Python search path?
> 
> python -c 'import sys; print sys.path'
> 
['', '/usr/lib/python2.5', '/usr/lib/python2.5/plat-linux2', 
'/usr/lib/python2.5/lib-tk', '/usr/lib/python2.5/lib-dynload', 
'/usr/local/lib/python2.5/site-packages', '/usr/lib/python2.5/site-packages', 
'/usr/lib/python2.5/site-packages/PIL', 
'/usr/lib/python2.5/site-packages/gst-0.10', '/usr/lib/pymodules/python2.5', 
'/usr/lib/python2.5/site-packages/gtk-2.0', 
'/usr/lib/pymodules/python2.5/gtk-2.0', 
'/usr/lib/python2.5/site-packages/wx-2.6-gtk2-unicode']


signature.asc
Description: Digital signature


Bug#526605: wammu: fails to start (no module "gammu")

2009-05-04 Thread Michal Čihař
Dne Mon, 4 May 2009 22:47:45 +0200
Johannes Rohr  napsal(a):

> insgesamt 32
> drwxr-xr-x  2 root root  4096  2. Mai 08:45 .
> drwxr-xr-x 42 root root  4096  4. Mai 17:02 ..
> lrwxrwxrwx  1 root root33  2. Mai 08:45 Data.py -> 
> /usr/share/pyshared/gammu/Data.py
> -rw-r--r--  1 root root  7873 29. Apr 12:03 Data.pyc
> lrwxrwxrwx  1 root root43  2. Mai 08:45 _gammu.so -> 
> /usr/lib/pyshared/python2.5/gammu/_gammu.so
> lrwxrwxrwx  1 root root37  2. Mai 08:45 __init__.py -> 
> /usr/share/pyshared/gammu/__init__.py
> -rw-r--r--  1 root root  1513 29. Apr 12:03 __init__.pyc
> lrwxrwxrwx  1 root root35  2. Mai 08:45 Worker.py -> 
> /usr/share/pyshared/gammu/Worker.py
> -rw-r--r--  1 root root 12211 29. Apr 12:03 Worker.pyc

Hmm, this looks good. And what is Python search path?

python -c 'import sys; print sys.path'

-- 
Michal Čihař | http://cihar.com | http://blog.cihar.com


signature.asc
Description: PGP signature


Bug#526605: wammu: fails to start (no module "gammu")

2009-05-04 Thread Johannes Rohr
On Mon, May 04, 2009 at 10:19:21PM +0200, Michal Čihař wrote:
> 
> ls -la /usr/lib/pymodules/python2.5/gammu/


insgesamt 32
drwxr-xr-x  2 root root  4096  2. Mai 08:45 .
drwxr-xr-x 42 root root  4096  4. Mai 17:02 ..
lrwxrwxrwx  1 root root33  2. Mai 08:45 Data.py -> 
/usr/share/pyshared/gammu/Data.py
-rw-r--r--  1 root root  7873 29. Apr 12:03 Data.pyc
lrwxrwxrwx  1 root root43  2. Mai 08:45 _gammu.so -> 
/usr/lib/pyshared/python2.5/gammu/_gammu.so
lrwxrwxrwx  1 root root37  2. Mai 08:45 __init__.py -> 
/usr/share/pyshared/gammu/__init__.py
-rw-r--r--  1 root root  1513 29. Apr 12:03 __init__.pyc
lrwxrwxrwx  1 root root35  2. Mai 08:45 Worker.py -> 
/usr/share/pyshared/gammu/Worker.py
-rw-r--r--  1 root root 12211 29. Apr 12:03 Worker.pyc

-- 
http://www.infoe.de/


signature.asc
Description: Digital signature


Bug#526605: wammu: fails to start (no module "gammu")

2009-05-04 Thread Michal Čihař
Hi

Dne Sat, 02 May 2009 08:52:37 +0200
Johannes Rohr  napsal(a):

> I don't know whether this is the fault of wammu or python-gammu:

I'd rather suspect python-support. (It's definitely not wammu, but
keeping the bug there until real cause will show up.)

> Traceback (most recent call last):
>   File "/usr/bin/wammu", line 170, in 
> import Wammu.App
>   File "/usr/lib/pymodules/python2.5/Wammu/App.py", line 28, in 
> import Wammu.Main
>   File "/usr/lib/pymodules/python2.5/Wammu/Main.py", line 58, in 
> import Wammu.Editor
>   File "/usr/lib/pymodules/python2.5/Wammu/Editor.py", line 36, in 
> import Wammu.Data
>   File "/usr/lib/pymodules/python2.5/Wammu/Data.py", line 28, in 
> from gammu.Data import Connections, MemoryValueTypes, CalendarTypes, 
> CalendarValueTypes, TodoPriorities, TodoValueTypes, InternationalPrefixes
>   File "/usr/lib/python2.5/site-packages/gammu/__init__.py", line 39, in 
> 
> from gammu._gammu import *
> ImportError: No module named _gammu

Can you please post here output of following command:

ls -la /usr/lib/pymodules/python2.5/gammu/

-- 
Michal Čihař | http://cihar.com | http://blog.cihar.com


signature.asc
Description: PGP signature


Bug#526605: wammu: fails to start (no module "gammu")

2009-05-01 Thread Johannes Rohr
Package: wammu
Version: 0.30.1-1
Severity: grave
Justification: renders package unusable

I don't know whether this is the fault of wammu or python-gammu:

Traceback (most recent call last):
  File "/usr/bin/wammu", line 170, in 
import Wammu.App
  File "/usr/lib/pymodules/python2.5/Wammu/App.py", line 28, in 
import Wammu.Main
  File "/usr/lib/pymodules/python2.5/Wammu/Main.py", line 58, in 
import Wammu.Editor
  File "/usr/lib/pymodules/python2.5/Wammu/Editor.py", line 36, in 
import Wammu.Data
  File "/usr/lib/pymodules/python2.5/Wammu/Data.py", line 28, in 
from gammu.Data import Connections, MemoryValueTypes, CalendarTypes, 
CalendarValueTypes, TodoPriorities, TodoValueTypes, InternationalPrefixes
  File "/usr/lib/python2.5/site-packages/gammu/__init__.py", line 39, in 

from gammu._gammu import *
ImportError: No module named _gammu
~$ 


-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (101, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.29-1-686 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages wammu depends on:
ii  python   2.5.4-2 An interactive high-level object-o
ii  python-gammu 1.24.0-1Python module to communicate with 
ii  python-support   1.0.2   automated rebuilding support for P
ii  python-wxgtk2.6  2.6.3.2.2-3 wxWidgets Cross-platform C++ GUI t
ii  python-xml   0.8.4-10.1  XML tools for Python

Versions of packages wammu recommends:
ii  notification-daemon   0.4.0-1a daemon that displays passive pop
ii  python-bluez [python-bluetoot 0.16-1 Python wrappers around BlueZ for r
ii  python-dbus   0.83.0-1   simple interprocess messaging syst
ii  timidity  2.13.2-22  Software sound renderer (MIDI sequ

Versions of packages wammu suggests:
pn  gmobilemedia   (no description available)

Versions of packages python-gammu depends on:
ii  libbluetooth2 3.36-1 Library to use the BlueZ Linux Blu
ii  libc6 2.9-9  GNU C Library: Shared libraries
ii  libdbi0   0.8.2-3Database Independent Abstraction L
ii  libgammu6 1.24.0-1   mobile phone management library
ii  libgsmsd6 1.24.0-1   SMS daemon helper library
ii  libmysqlclient15off   5.0.77-1   MySQL database client library
ii  libpq58.3.7-1PostgreSQL C client library
ii  libusb-1.0-0  2:1.0.0-1  userspace USB programming library
ii  python2.5.4-2An interactive high-level object-o
ii  python-support1.0.2  automated rebuilding support for P

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org