Ship-Shape fails on start

Issue #20 resolved
Former user created an issue

Traceback (most recent call last): File "D:\soft\shipshp\dev\shipshpfn\gui.py", line 1382, in <module> main() File "D:\soft\shipshp\dev\shipshpfn\gui.py", line 1363, in main app = App(None, devel) File "D:\soft\shipshp\dev\shipshpfn\gui.py", line 84, in init self.initialize_ui() File "D:\soft\shipshp\dev\shipshpfn\gui.py", line 755, in initialize_ui self.filenav.set_tree_root(filetree, self.rootdir) File "D:\soft\shipshp\dev\shipshpfn\logic.py", line 2846, in set_tree_root self.populate_tree(tree, node) File "D:\soft\shipshp\dev\shipshpfn\logic.py", line 2793, in populate_tree values=[unicode(child_path, "utf-8"), UnicodeDecodeError: 'utf8' codec can't decode byte 0xc3 in position 19: invalid continuation byte

computer specifications: win7 x64 sp1 python: 2.7.10 filesystemencoding: mbcs defaultencoding: utf-8 system's language: russian (maybe that's the problem?)

have any thoughts? Thanks!

Comments (2)

  1. Adrian Eiris

    Thanks for the report! I think the problem was that the encoding was hardcoded, now it gets the locale configuration for the files managing but maintains the option to choose the default shp encoding (utf8 but can be changed in preferences). Would you mind try it now with the development branch? Also I've to say that the Windows version is not as functional as the Linux one, I found other bugs related with temporal files and the preview of the geometries and styles so I'd try to solve that before having a Windows stable version so sorry for the inconvenience.

  2. Log in to comment