Your message dated Tue, 18 Feb 2014 17:17:57 +0100
with message-id <[email protected]>
and subject line Re: AttributeError: 'module' object has no attribute 
'_AsciiBase85Encode'
has caused the Debian Bug report #738510,
regarding AttributeError: 'module' object has no attribute '_AsciiBase85Encode'
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
738510: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=738510
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
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

--- End Message ---
--- Begin Message ---
Version: 3.0-1

fixed in 3.0

--- End Message ---

Reply via email to