Package:python-pisa<div><br></div><div><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 12.5px; border-collapse: collapse; color: rgb(68, 68, 68); "><div><div>When I installed and ran xhtml2pdf I get an error message about pkg_resources.</div>
<div>I show the error here by deleting the package, python-pkg-resources, and </div><div>re-running the formerly successfully completed task. This seems to be another</div>
<div>instance of a similar problem in other packages, e.g.</div><div><a href="http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=544561" target="_blank" style="color: rgb(34, 34, 34); ">http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=544561</a></div>
<div><br></div><div><br></div><div>$xhtml2pdf template.html junk.pdf <<< Successfully executes</div><div>Converting template.html to /home/pogson/RSL/reportgen/template/junk.pdf...</div><div>pogson@tc-amd64-3:~/RSL/reportgen/template$ su</div>
<div>Password: </div><div>root@tc-amd64-3:/home/pogson/RSL/reportgen/template# apt-get --remove python-pkg-resources</div><div>E: Invalid operation python-pkg-resources</div><div>root@tc-amd64-3:/home/pogson/RSL/reportgen/template# apt-get remove python-pkg-resources</div>
<div>Reading package lists... Done</div><div>Building dependency tree </div><div>Reading state information... Done</div><div>The following packages were automatically installed and are no longer required:</div><div>
libfreebob0 libtalloc1 xfprint4 libeel2-data libgnomeprintui2.2-common libwxbase2.6-0 libbcel-java libneon27 libmalaga7 xfonts-scalable libgcj8-1</div><div> libnautilus-burn4 libxklavier12 libgucharmap6 gcj-4.2-base libicu38 libspectre1 libedataserver1.2-9 libboost-signals1.40.0 bsh-gcj libxfce4mcs-client3</div>
<div> libgnomeprintui2.2-0 python-debianbts libsndfile1-dev libeel2-2.20 libedata-cal1.2-6 libiso9660-5 libgcj8-jar gnome-pilot libsmbios2 libtrackerclient0</div><div> libdvbpsi4 libdirectfb-1.0-0 libcdio7 libxosd2 libx264-93 libgnomeprint2.2-0 python-soappy python-qt4 libflac-dev libgnome-desktop-2 bsh python-fpconst</div>
<div> python-sip libwxgtk2.6-0 libgtksourceview1.0-0 libcompress-zlib-perl libmx4j-java libscrollkeeper0 libgnomecups1.0-1 evince-common wodim</div><div> libexchange-storage1.2-3 libevince2 libgnomeprint2.2-data libao2 libxtrap6 libsuitesparse-3.1.0 xfce4-icon-theme libgail-common libdvdread3</div>
<div> libtotem-plparser10 gnome-pilot-conduits psfontmgr uswsusp uuid-dev libmozjs1d openoffice.org-writer2latex libraw1394-8 libxxf86misc1 libsmbios-bin</div><div> fastjar xorg-docs libxfce4mcs-manager3 libcamel1.2-11 libio-compress-zlib-perl svgalibg1 libvoikko1 libboost-regex1.40.0 libcupsys2</div>
<div> libgtksourceview-common libsplashy1 gnome-mount portmap libgcj8-1-awt xfce4-mcs-manager libmpcdec3 libgnome-pilot2 libjack-dev libcucul0 libpisync1</div><div> python-numeric libfaad0</div><div>Use 'apt-get autoremove' to remove them.</div>
<div>The following packages will be REMOVED:</div><div> python-pkg-resources</div><div>0 upgraded, 0 newly installed, 1 to remove and 17 not upgraded.</div><div>After this operation, 217kB disk space will be freed.</div>
<div>Do you want to continue [Y/n]? y</div><div>(Reading database ... 180777 files and directories currently installed.)</div><div>Removing python-pkg-resources ...</div><div>root@tc-amd64-3:/home/pogson/RSL/reportgen/template# exit</div>
<div>exit</div><div><br></div><div>#With python-pkg-resources removed the same command now fails</div><div><br></div><div>pogson@tc-amd64-3:~/RSL/reportgen/template$ xhtml2pdf template.html junk.pdf</div></div><div><br></div>
<div>Traceback (most recent call last): </div><div> File "/usr/bin/xhtml2pdf", line 5, in <module></div>
<div> from pkg_resources import load_entry_point</div><div>ImportError: No module named pkg_resources</div><div><br></div><div>I suggest adding a Depends on python-pkg-resources.</div><div><br></div><div>Thanks</div><div>
<br></div><div>-- System Information:</div><div>Debian Release: squeeze/sid</div><div> APT prefers testing</div><div> APT policy: (500, 'testing')</div><div>Architecture: amd64 (x86_64)</div><div><br></div><div>
Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)</div><div>Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)</div><div>Shell: /bin/sh linked to /bin/dash</div><div><br></div><div>Versions of packages python-pisa depends on:</div>
<div>ii python 2.5.4-9 An interactive high-level object-o</div><div>ii python-html5lib 0.90-1 HTML parser/tokenizer based on the</div><div>ii python-imaging 1.1.7-1+b1 Python Imaging Library</div>
<div>ii python-pypdf 1.12-3 PDF toolkit implemented solely in </div><div>ii python-reportlab 2.4-1 ReportLab library to create PDF do</div><div>ii python-support 1.0.8 automated rebuilding support for P</div>
<div><br></div><div>python-pisa recommends no packages.</div><div><br></div><div>python-pisa suggests no packages.</div><div><br></div><div>-- no debconf information</div></span><br>-- <br>Robert Pogson<br>Have server, will travel...<br>
</div>