vanthieughita / gmapcatcher

Automatically exported from code.google.com/p/gmapcatcher
0 stars 0 forks source link

Unable to use unicode path name to store tiles #161

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
bereczdenes@gmail.com report this bug.

What steps will reproduce the problem?
 1. Create a user named "Berecz Dénes" or "测试" in Windows;
 2. Start GMapCatcher, use its default setting;
 3. Uncheck 'offline' box.

What is the expected output? What do you see instead?

Unable to load and save tiles, user can only see full screen of 'We are
sorry...'

Original issue reported on code.google.com by pi3or...@gmail.com on 6 May 2010 at 3:53

GoogleCodeExporter commented 8 years ago
This appears to be a known issue in Python 2
http://bugs.python.org/issue13207

Original comment by iwasin...@gmail.com on 19 Oct 2012 at 6:36

GoogleCodeExporter commented 8 years ago
Converting DEFAULT_PATH to Unicode by using the default locale encoding fixed 
the problem.

[Note that if GMapCatcher was already installed on the system, it needs to be 
reinstalled. This is because the path, by default is taken from the config 
file, which, prior to this fix, is already corrupted]

Original comment by iwasin...@gmail.com on 19 Oct 2012 at 9:09