Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#43861 - [hplip] Command line scanning with hp-scan throw AssertionError
Attached to Project:
Arch Linux
Opened by Stephan Windmüller (windy) - Tuesday, 17 February 2015, 19:18 GMT
Last edited by Andreas Radke (AndyRTR) - Thursday, 19 February 2015, 20:19 GMT
Opened by Stephan Windmüller (windy) - Tuesday, 17 February 2015, 19:18 GMT
Last edited by Andreas Radke (AndyRTR) - Thursday, 19 February 2015, 20:19 GMT
|
DetailsDescription:
After upgrading hplip to the current version (which required me to install python-pillow and python-reportlab) I am getting this error when trying to use hp-scan: [...] Closing device. Traceback (most recent call last): File "/usr/bin/hp-scan", line 1029, in <module> c.drawInlineImage(image, (tlx/0.3528), (tly/0.3528), ((brx-tlx)/0.3528),((bry-tly)/0.3528)) File "/usr/lib/python3.4/site-packages/reportlab/pdfgen/canvas.py", line 826, in drawInlineImage img_obj = PDFImage(image, x,y, width, height) File "/usr/lib/python3.4/site-packages/reportlab/pdfgen/pdfimages.py", line 40, in __init__ self.getImageData() File "/usr/lib/python3.4/site-packages/reportlab/pdfgen/pdfimages.py", line 165, in getImageData imagedata, imgwidth, imgheight = self.PIL_imagedata() File "/usr/lib/python3.4/site-packages/reportlab/pdfgen/pdfimages.py", line 127, in PIL_imagedata assert len(raw) == rowstride*imgheight, "Wrong amount of data for image" AssertionError: Wrong amount of data for image Additional info: * hplip 3.15.2-3 Steps to reproduce: % hp-scan --size=a4 -s pdf -o file.pdf |
This task depends upon
Was one of the python packages updated? However, bug may be closed. Thanks!