reassign 738510 hplip
thanks

Am 10.02.2014 06:29, schrieb Arnaud Fontaine:
> 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:

sure, a name starting with an underscore hints at a private symbol. so hplip
should be fixed.

reportlab.lib.rl_accel seems to provide asciiBase85Encode now.

> 
> $ 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'


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to