Snowberry: Hardcoded paths to user documents
It would seem that in places, Snowberry has hardcoded paths to the user's "My Documents" folder, which obviously may not be in the "official" place (having been moved by the user) or under Vista, in c:\Users\<user name>\Documents instead.
Traceback (most recent call last):
File "snowberry.py", line 25, in <module>
File "language.pyc", line 23, in <module>
File "paths.pyc", line 358, in <module>
File "paths.pyc", line 146, in _checkSnowberryHome
File "paths.pyc", line 104, in _createDir
WindowsError: [Error 3] The system cannot find the path specified: 'C:\\Users\\moldytomato\\My Documents\\Doomsday Frontend'
I'm still trying to understand why I don't have the same problem.
#2 Updated by danij over 13 years ago
It does help but only in the situation were the location of Documents is actually the default location i.e., c:\Users\<user name>\Documents. If this location has been changed, the problem persists.
I know its possible to query the OS for this location via the Win32 API so I presume there must be some way of accessing this via some Python module. I'll do some digging.