Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Permission problem for log file in windows version #7

Closed
ilektrojohn opened this issue Mar 31, 2011 · 2 comments
Closed

Permission problem for log file in windows version #7

ilektrojohn opened this issue Mar 31, 2011 · 2 comments
Labels

Comments

@ilektrojohn
Copy link
Owner

Copying here as it was sent to me :


OS: Windows 7 enteprise, 64-bit english

Login to windows as normal user (non-admin user)
Start CreepySetup_0.1.92.exe
Give admin password to allow installation to work.

Start "creepy"
=> You get following error:

Errors occurred
The logfire 'C:\Program Files (x86)\creepy\creepymap.exe.log' could not be opened:
[Errno 13] Permission denied: 'C:\Program Files
(x86)\creepy\creepymap.exe.log'

To make the program work you need to copy the folder to users private area (f. ex. desktop) and start creepymap.exe from there.


@riggs
Copy link

riggs commented Apr 1, 2011

The above is what happens when you get an error and you're not running the program as an administrator.

When you 'run as administrator', the admin doesn't have the HOMEPATH environment variable, leading to the traceback:
Traceback (most recent call last):
File "creepymap.py", line 966, in
File "creepymap.py", line 55, in init
File "os.pyo", line 423, in getitem
KeyError: 'HOMEPATH'

Changing the permissions for the log file to allow users write access leads to the following traceback:
Traceback (most recent call last):
File "creepymap.py", line 966, in
File "creepymap.py", line 88, in init
File "creepymap.py", line 885, in create_directory
TypeError: not all arguments converted during string formatting

This last traceback is the root of the problem, I believe. I suspect it may have something to do with the directory name "Program Files (x86)".

And as mentioned above, copying the entire creepy folder onto my desktop works.

@ilektrojohn
Copy link
Owner Author

I think ( test so we can be sure) that the binary for 0.1.93 fixes the problem. Try and give me some feedback ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants