[Python-modules-team] Bug#587221: python-pisa: Missing Dependencey on python-pkg-resources

robert pogson robert.pogson at gmail.com
Sat Jun 26 11:26:05 UTC 2010


Package:python-pisa

When I installed and ran xhtml2pdf I get an error message about
pkg_resources.
I show the error here by deleting the package, python-pkg-resources, and


re-running the formerly successfully completed task. This seems to be
another
instance of a similar problem in other packages, e.g.
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=544561


$xhtml2pdf template.html junk.pdf    <<< Successfully executes
Converting template.html to /home/pogson/RSL/reportgen/template/junk.pdf...
pogson at tc-amd64-3:~/RSL/reportgen/template$ su
Password:
root at tc-amd64-3:/home/pogson/RSL/reportgen/template# apt-get --remove
python-pkg-resources
E: Invalid operation python-pkg-resources
root at tc-amd64-3:/home/pogson/RSL/reportgen/template# apt-get remove
python-pkg-resources
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer
required:
  libfreebob0 libtalloc1 xfprint4 libeel2-data libgnomeprintui2.2-common
libwxbase2.6-0 libbcel-java libneon27 libmalaga7 xfonts-scalable libgcj8-1
  libnautilus-burn4 libxklavier12 libgucharmap6 gcj-4.2-base libicu38
libspectre1 libedataserver1.2-9 libboost-signals1.40.0 bsh-gcj
libxfce4mcs-client3
  libgnomeprintui2.2-0 python-debianbts libsndfile1-dev libeel2-2.20
libedata-cal1.2-6 libiso9660-5 libgcj8-jar gnome-pilot libsmbios2
libtrackerclient0
  libdvbpsi4 libdirectfb-1.0-0 libcdio7 libxosd2 libx264-93
libgnomeprint2.2-0 python-soappy python-qt4 libflac-dev libgnome-desktop-2
bsh python-fpconst
  python-sip libwxgtk2.6-0 libgtksourceview1.0-0 libcompress-zlib-perl
libmx4j-java libscrollkeeper0 libgnomecups1.0-1 evince-common wodim
  libexchange-storage1.2-3 libevince2 libgnomeprint2.2-data libao2 libxtrap6
libsuitesparse-3.1.0 xfce4-icon-theme libgail-common libdvdread3
  libtotem-plparser10 gnome-pilot-conduits psfontmgr uswsusp uuid-dev
libmozjs1d openoffice.org-writer2latex libraw1394-8 libxxf86misc1
libsmbios-bin
  fastjar xorg-docs libxfce4mcs-manager3 libcamel1.2-11
libio-compress-zlib-perl svgalibg1 libvoikko1 libboost-regex1.40.0
libcupsys2
  libgtksourceview-common libsplashy1 gnome-mount portmap libgcj8-1-awt
xfce4-mcs-manager libmpcdec3 libgnome-pilot2 libjack-dev libcucul0
libpisync1
  python-numeric libfaad0
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
  python-pkg-resources
0 upgraded, 0 newly installed, 1 to remove and 17 not upgraded.
After this operation, 217kB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 180777 files and directories currently installed.)
Removing python-pkg-resources ...
root at tc-amd64-3:/home/pogson/RSL/reportgen/template# exit
exit

#With python-pkg-resources removed the same command now fails

pogson at tc-amd64-3:~/RSL/reportgen/template$ xhtml2pdf template.html junk.pdf

Traceback (most recent call last):


  File "/usr/bin/xhtml2pdf", line 5, in <module>
    from pkg_resources import load_entry_point
ImportError: No module named pkg_resources

I suggest adding a Depends on python-pkg-resources.

Thanks

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages python-pisa depends on:
ii  python                        2.5.4-9    An interactive high-level
object-o
ii  python-html5lib               0.90-1     HTML parser/tokenizer based on
the
ii  python-imaging                1.1.7-1+b1 Python Imaging Library
ii  python-pypdf                  1.12-3     PDF toolkit implemented solely
in
ii  python-reportlab              2.4-1      ReportLab library to create PDF
do
ii  python-support                1.0.8      automated rebuilding support
for P

python-pisa recommends no packages.

python-pisa suggests no packages.

-- no debconf information

-- 
Robert Pogson
Have server, will travel...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/python-modules-team/attachments/20100626/4138f95d/attachment-0001.htm>


More information about the Python-modules-team mailing list