Package: python-reportlab Version: 3.0~a1-1 Severity: important Tags: upstream
Hello, When trying to scan with 'hp-scan', I get an error because of reportlab new version where '_AsciiBase85Encode' is not defined anymore in pdfutils module: $ hp-scan --adf [...] Using device: hpaio:/net/... warning: No destinations specified. Adding 'file' destination by default. Using device hpaio:/net/... Opening connection to device... Resolution: 300dpi Mode: gray Compression: JPEG Scan area (mm): Top left (x,y): (0.000000mm, 0.000000mm) Bottom right (x,y): (215.900009mm, 355.600006mm) Width: 215.900009mm Height: 355.600006mm Destination(s): file Output file: warning: File destination enabled with no output file specified. Setting output format to PDF for ADF mode. warning: Defaulting to '/tmp/hpscan001.pdf'. Warming up... Page 1: Scanning... Reading data: [***************************************************] 100% 8.4 MB Read 8.4 MB from scanner. Page 2: Scanning... Reading data: [***************************************************] 100% 8.5 MB Read 8.5 MB from scanner. Page 3: Scanning... Reading data: [***************************************************] 100% 8.5 MB Read 8.5 MB from scanner. Page 4: Scanning... Out of documents. Scanned 3 pages total. Closing device. Traceback (most recent call last): File "/usr/bin/hp-scan", line 1021, in <module> c.drawInlineImage(image, (tlx/0.3528), (tly/0.3528), ((brx-tlx)/0.3528),((bry-tly)/0.3528)) File "/usr/lib/python2.7/dist-packages/reportlab/pdfgen/canvas.py", line 826, in drawInlineImage img_obj = PDFImage(image, x,y, width, height) File "/usr/lib/python2.7/dist-packages/reportlab/pdfgen/pdfimages.py", line 40, in __init__ self.getImageData() File "/usr/lib/python2.7/dist-packages/reportlab/pdfgen/pdfimages.py", line 165, in getImageData imagedata, imgwidth, imgheight = self.PIL_imagedata() File "/usr/lib/python2.7/dist-packages/reportlab/pdfgen/pdfimages.py", line 130, in PIL_imagedata data = pdfutils._AsciiBase85Encode(data) #...sadly this may not be AttributeError: 'module' object has no attribute '_AsciiBase85Encode' Cheers, Arnaud Fontaine -- System Information: Debian Release: jessie/sid APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.13-trunk-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 python-reportlab depends on: ii python 2.7.5-5 Versions of packages python-reportlab recommends: ii python-pil 2.3.0-1 ii python-renderpm 3.0~a1-1 ii python-reportlab-accel 3.0~a1-1 Versions of packages python-reportlab suggests: ii evince [pdf-viewer] 3.10.0-2 pn python-egenix-mxtexttools <none> pn python-reportlab-doc <none> -- 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