Package: rubber
Version: 1.1+20100306-2
Severity: important
Dear Maintainer,
with a fresh install of rubber, it is not possible to run rubber
directly. Instead rubber throws an ImportError:
$ rubber test.tex
Traceback (most recent call last):
File /usr/bin/rubber, line 3, in module
from rubber.cmdline import Main
ImportError: No module named rubber.cmdline
It seems like rubber does not know where to look for its own modules.
The problem can be partly solved by explicitely specifying the PYTHONPATH:
$ PYTHONPATH=/usr/share/pyshared/ rubber test.tex
Traceback (most recent call last):
File /usr/bin/rubber, line 3, in module
from rubber.cmdline import Main
File /usr/share/pyshared/rubber/__init__.py, line 147, in module
import rubber.converters
ImportError: No module named converters
Now, rubber apparently finds at least some of its modules. Yet, it still
exits with an error. A simple
$ touch /usr/share/pyshared/rubber/converters/__init__.py
$ touch /usr/share/pyshared/rubber/latex_modules/__init__.py
solves the problem such that rubber runs now if the PYTHONPATH is
explicitely specified.
Both changes (PYTHONPATH and __init__.py) render the package unusable
for non python programmers.
Thank you very much for maintaining rubber,
Ingo Fründ
-- System Information:
Debian Release: 7.0
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.2.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages rubber depends on:
ii dpkg1.16.9
ii install-info4.13a.dfsg.1-10
ii python 2.7.3~rc2-1
ii python-support 1.0.15
ii texlive-latex-base 2012.20120611-5
rubber recommends no packages.
Versions of packages rubber suggests:
ii imagemagick 8:6.7.7.10-5
pn sam2pnone
ii transfig 1:3.2.5.d-3
-- 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