Unicode symbols in config file (e.g. in clock_filter) break the option parsing

Bug #1516958 reported by Peter Levi
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Variety
Fix Released
High
Peter Levi

Bug Description

ERROR: 2015-11-17 12:16:04,543: read() 'Could not read configuration:'
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/variety/Options.py", line 92, in read
    needs_writing = self.fix_outdated(config)
  File "/usr/lib/python2.7/dist-packages/variety/Options.py", line 427, in fix_outdated
    current_hash = hashlib.md5(config[key]).hexdigest()
UnicodeEncodeError: 'ascii' codec can't encode characters in position 459-463: ordinal not in range(128)

Related branches

Revision history for this message
Somewhere over the.. (nemonein) wrote :

I asked Peter Levi about this, on his site.
I hope this would be fixed soon.
Thanks!

Peter Levi (peterlevi)
Changed in variety:
status: New → Fix Committed
Peter Levi (peterlevi)
Changed in variety:
status: Fix Committed → Fix Released
milestone: none → 0.6.0
Revision history for this message
Somewhere over the.. (nemonein) wrote :

Great.
I've just installed 0.6.0, and it works very good.
Thank you very much, Peter.

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.