qarte crashes because of unability to decode unicode u2019

Bug #1650569 reported by Eike Lantzsch on 2016-12-16
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Qarte
Undecided
Unassigned
Ubuntu
Undecided
Unassigned

Bug Description

Qarte 3.5.0 dmo package for debian testing
Qarte crashes with the following error:

eikelan@lxcl01:~$ qarte
inotify_add_watch("/var/lib/samba/usershares") failed: "Permission denied"
Traceback (most recent call last):
  File "/usr/share/qarte/core.py", line 224, in set_videos_list
    self.artelive.config_parser()
  File "/usr/share/qarte/arteconcert.py", line 79, in config_parser
    self.update_concerts()
  File "/usr/share/qarte/arteconcert.py", line 89, in update_concerts
    outf.write(cnt)
UnicodeEncodeError: 'ascii' codec can't encode character '\u2019' in position 412: ordinal not in range(128)
Aborted
eikelan@lxcl01:~$ python --version
Python 2.7.13rc1

I deleted ~/.qarte and it lets me setup Qrte again but as soon as I hit the "close" button it crashes.
It does not matter if I chose French or German

This is on a Debian testing system with all recent updates

Weird: On a Debian Sid (unstable) system Qarte is stable - works OK even with the very same version of Python 2.7.13rc1.
The Sid-system is installd within a VirtualBox instance on the same hardware as the Debian testing system.

I found this but my expertise is not into Python programming, so I don't know how to implement it.
https://stackoverflow.com/questions/3224268/python-unicode-encode-error

What can I do to debug this further?

Cheers
Eike

VinsS (vincent-vandevyvre) wrote :

Hi,

Hum, Qarte 3 need Python 3.3 or higher.

Emm88 (emm88) wrote :

So old it deserves to be closed to invalid until user complain again with newer version ?
Or a duplicate case happens
PLus it seems to be more a choice of installed library

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers