Package: pybit-client
Version: 1.0.0-2.1
Severity: important

I installed and set up pybit.
But trying to use /usr/share/pybitclient/buildd-test.py just gave 
'ImportError: No module named subversion'

I thought this was about missing python-subversion, but no, it turned
out to be that all the links in 
/var/lib/pybit-client.d/
are dangling.

They point at /usr/share/pyshared/pybitclient
when the files in question are now in
/usr/lib/python2.7/dist-packages/pybitclient

The attached patch fixes that (although it would be better if it could
get the 'current python modules path' from the build system somehow to
avoid a similar problem in the future, or when there is a new python
version and that versionned path changes...). I don't know how to do
that, and this does at least fix it for now.

-- System Information:
Debian Release: 8.3
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Reply via email to