logger has UnicodeDecodeError

Bug #1408886 reported by innersea
This bug report is a duplicate of:  Bug #1409384: Variety doesn't change the image. Edit Remove
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Variety
New
Undecided
Unassigned

Bug Description

variety 0.5.0
ubuntu 14.04 updated to date

ERROR: 2015-01-09 12:38:38,123: do_set_wp() 'Error while setting wallpaper'
Traceback (most recent call last):
  File "/opt/extras.ubuntu.com/variety/variety/VarietyWindow.py", line 1254, in do_set_wp
    self.set_desktop_wallpaper(to_set, filename, refresh_level)
  File "/opt/extras.ubuntu.com/variety/variety/VarietyWindow.py", line 2328, in set_desktop_wallpaper
    logger.debug("Running set_wallpaper script with parameters: %s, %s, %s" % (wallpaper, auto, original_file))
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe5 in position 61: ordinal not in range(128)

it stops wallpaper to change and has been fixed by deleting line 2328 (the "logger.debug" line).
it'll be great to fix this problem in further versions.

Tags: logger
Revision history for this message
Peter Levi (peterlevi) wrote :

Hm, these types of errors were supposed to be fixed and I cannot reproduce it here. Can you please send me your ~/.config/variety/variety.conf file, and also please run variety with "/opt/extras.ubuntu.com/variety/bin/variety -v" , reproduce the error (it would happen again once you hit the same image file, BUT you would have to revert your change first) and send me the log file ~/.config/variety/variety.log.

Thanks.

Revision history for this message
Peter Levi (peterlevi) wrote :

Also, please send me or attach here the output of "locale" and "env" in a terminal.

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.