QtQR crashes after scanning certain URL QR Code

Bug #1807868 reported by 林博仁(Buo-ren, Lin)
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
QR Tools
Invalid
Undecided
Ramiro Algozino

Bug Description

Console output:

```
$ qtqr
in ZBar Processor data_handler:
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/qrtools.py", line 238, in my_handler
    self.data_type = self.data_recognise()
  File "/usr/lib/python2.7/dist-packages/qrtools.py", line 99, in data_recognise
    if data_lower.startswith(u"http://") or data_lower.startswith(u"https://"): return u'url'
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe4 in position 2: ordinal not in range(128)
python: /build/zbar-C1mOhn/zbar-0.10+doc/zbar/error.h:148:err_capture: Assertion "err->magic == ERRINFO_MAGIC" failed.
Terminated (Core dumped)
```

The source image is attached.
QtQR version 1.4~bzr23-1 from cosmic archive

Revision history for this message
林博仁(Buo-ren, Lin) (buo-ren-lin) wrote :
Revision history for this message
Ramiro Algozino (algozino) wrote :

Hello!

Thank you for reporting this issue. I see that you are using an old version of QtQR. Could please try again installing the latest version from QR Tools Daily PPA and see if you still can reproduce the error??

Link to Daily PPA:
https://launchpad.net/~qr-tools-developers/+archive/ubuntu/daily

Changed in qr-tools:
status: New → Incomplete
assignee: nobody → Ramiro Algozino (algozino)
Revision history for this message
林博仁(Buo-ren, Lin) (buo-ren-lin) wrote :

The version from the Daily PPA works, thanks for helping!

Changed in qr-tools:
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.