[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#847780: marked as done (zbar-tools: zbarimg fails on svg barcodes with cryptic error message unless librsvg2-bin is installed.)



Your message dated Thu, 09 May 2019 09:47:55 +0200
with message-id <0aba52c16de580c7331d5fcec9796b58@phys.ethz.ch>
and subject line zbar-tools: zbarimg fails on svg barcodes with cryptic error message unless librsvg2-bin is installed.
has caused the Debian Bug report #847780,
regarding zbar-tools: zbarimg fails on svg barcodes with cryptic error message unless librsvg2-bin is installed.
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 owner@bugs.debian.org
immediately.)


-- 
847780: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=847780
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: zbar-tools
Version: 0.10+doc-10+b2
Severity: normal

i don't have librsvg2-bin installed:

0 dkg@alice:~$ qrencode -l H -t SVG -o foo.svg 'blah blah blah'
0 dkg@alice:~$ zbarimg foo.svg 
ERROR: unable to open file `/tmp/magick-27173Tslqs3l2JcPp': No such file or directory @ error/constitute.c/ReadImage/544
1 dkg@alice:~$

But when i install librsvg2-bin, zbarimg works as expected.

So under the hood, i think zbarimg is invoking /usr/bin/rsvg-convert
to do the conversion -- i suspect this is part of imagemagick, since
zbarimg links to libraries shipped in libmagickwand-6.q16-2

but those libraries fail to process svg files unless librsvg2-bin is
installed.

I understand that this isn't a strict dependency -- the tools work
fine for everything but svg afaict.  But the error message should at
least give the user a hint about what's wrong and how to fix it,
rather than a cryptic message about /tmp/magick-blahblahblah

thanks for maintaining zbar in debian!

       --dkg

-- System Information:
Debian Release: stretch/sid
  APT prefers testing-debug
  APT policy: (500, 'testing-debug'), (500, 'testing'), (200, 'unstable-debug'), (200, 'unstable'), (1, 'experimental-debug'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.8.0-1-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
Init: systemd (via /run/systemd/system)

Versions of packages zbar-tools depends on:
ii  libc6                  2.24-7
ii  libgomp1               6.2.1-5
ii  libjpeg62-turbo        1:1.5.1-2
ii  libmagickcore-6.q16-2  8:6.9.6.6+dfsg-1
ii  libmagickwand-6.q16-2  8:6.9.6.6+dfsg-1
ii  libv4l-0               1.10.1-1
ii  libzbar0               0.10+doc-10+b2

zbar-tools recommends no packages.

zbar-tools suggests no packages.

-- no debconf information

--- End Message ---
--- Begin Message ---
fixed with 0.22-1 (or earlier)

$ dpkg -l |grep librsvg2-bin
$ qrencode -l H -t SVG -o foo.svg 'blah blah blah'
$ zbarimg foo.svg
QR-Code:blah blah blah
scanned 1 barcode symbols from 1 images in 0.01 seconds

Best,

--- End Message ---

Reply to: