Polyconseil / zbarlight

A simple wrapper for zbar
BSD 3-Clause "New" or "Revised" License
163 stars 37 forks source link

@yaolipro Thanks a lot. #33

Open niushixiong opened 3 years ago

niushixiong commented 3 years ago

zbarimg: zbar/qrcode/qrdectxt.c:405: qr_code_data_list_extract_text: Assertion `next > syms->datalen' failed.

liyaodev commented 3 years ago

Hi buddy, I'm having the same problem and can try to upgrade zbarimg=0.23, build in ubuntu 16:

apt-get update && apt-get install -y autopoint autoconf automake autotools-dev libdbus-1-dev pkg-config xmlto imagemagick libmagickwand-dev gettext libtool

mkdir -p /soft \
    && cd /soft \
    && git clone https://github.com/mchehab/zbar \
    && cd zbar \
    && git checkout 0.23.92 \
    && autoreconf -vfi \
    && ./configure --with-x=disabled --enable-pthread=yes --enable-video=no --with-jpeg=no --with-imagemagick=yes --with-python=no --with-gtk=no --with-qt=no \
    && make \
    && make install \
    && rm -rf /soft \
    && ldconfig /usr/local/lib

It seem to be a similar issue that https://github.com/mchehab/zbar/issues/169 .