View Single Post
Posts: 13 | Thanked: 1 time | Joined on Feb 2010
#246
Hi again,

I've been suffering from a bug with ZapLoc lately, apparently related to unicode characters (e.g. umlauts) in the name of the auto check-in location.

The daemon prints out an error message (see below), and then apparently continues working correctly but in fact doesn't continue to update latitude or do auto check-ins.

Kind of annoying, since I have to restart the daemon after every check-in to such a place.

Any thoughts?

-morti

Code:
**************************************************** 
  We are checking in at <name with umlaut>! 
**************************************************** 
08:47:57: Connection is up - Good! 
Checking in to FourSquare, twitter=0, facebook=0 
Traceback (most recent call last): 
  File "/opt/zaploc/app/zdaemon.py", line 524, in restart_gpsd 
  File "/opt/zaploc/app/zdaemon.py", line 424, in update_loc 
  File "/opt/zaploc/app/zdaemon.py", line 318, in push 
  File "/opt/zaploc/app/zbrowse.py", line 31, in notification 
  File "system_note.pyx", line 30, in osso.system_note.SystemNote.system_note_infoprint (osso/system_note.c:1502) 
UnicodeEncodeError: 'ascii' codec can't encode character u'\xe4' in position 55: ordinal not in range(128)