[win] environ['HOME'] not defined on windows
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Scribes |
Fix Released
|
Undecided
|
Mystilleef |
Bug Description
Here the error:
PS E:\marco\
dbus daemon already exists
Traceback (most recent call last):
File "scribes.py", line 11, in <module>
main(argv[1:])
File "E:\marco\
__open(argv)
File "E:\marco\
__open_
File "E:\marco\
dbus_service = __get_dbus_
File "E:\marco\
from Globals import dbus_iface, session_bus
File "E:\marco\
home_folder = environ["HOME"]
File "C:\Python25\
return self.data[
KeyError: 'HOME'
That should mean that environ has no HOME key, but
import os
os.environ["HOME"]
works just fine on my pc...
anyway, fix is to use os.path.
Fixed in build 507