(2015-04-14, 20:24)josetaza Wrote: (2015-04-13, 11:16)Gerbrand Wrote: 0.9.1 is running nicely, thnx for that!
Regarding Unicode related problems there is a file named 11Mülebach.jpg that is giving errors
http://xbmclogs.com/psnhquhj1
Thanks again for reporting the issue. Again I was not able to reproduce it, however, when looking at the code I found something that could be improved. This could possibly solve it, but I'm not sure... So... Can you test with the new version (v0.9.2)?![Cool Cool](https://forum.kodi.tv/images/smilies/cool.png)
https://sourceforge.net/projects/xbmc-dr...t/download
Thanks.
The problem in this item is about a file named 11Mülebach.jpg that is not successfully synced. A few days ago I saw DBMC every 5 minutes showing a message about downloading 1 item; today that messages on screen are missing but there still is an message in the logfile.
http://xbmclogs.com/pxpwzgbwh
09:38:29 T:1626932256 ERROR: Exception in thread Thread-1:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 810, in __bootstrap_inner self.run()
File "/home/osmc/.kodi/addons/plugin.dbmc/resources/lib/dropboxviewer.py", line 373, in run self._getThumbnail(thumb2Retrieve)
File "/home/osmc/.kodi/addons/plugin.dbmc/resources/lib/dropboxviewer.py", line 428, in _getThumbnail self._client.saveThumbnail(path, location)
File "/home/osmc/.kodi/addons/plugin.dbmc/resources/lib/dropboxclient.py", line 303, in saveThumbnail cacheFile = open(location, 'wb') # 'b' option required for windows!
UnicodeEncodeError: 'ascii' codec can't encode character u'\xfc' in position 104: ordinal not in range(128)
11Mülebach (hex 31314dfc6c6562616368) is the name of a picture that I once grabbed from a website with pictures from Switzerland. So it is fair to guess that a encoding was used, suitable to display German characters. The UnicodeEncodeError talks about a character character u'\xfc, this is in fact the character ü. The hex value fc has its high bit on, so it is not in the range 00..7f (or 0..127) that is the valid range for ASCII characters