[Win7] When an error occurs, Zim tries to write to log in "Program Files" and fails because this is not allowed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
| Zim |
Undecided
|
Brendan Kidwell |
Bug Description
Reported by 'masseylaw' in the bug tracker on the old Google Code site for Zim 0.2x, which I will be closing down shortly.
In Windows 7, if Zim encounters any error it wants to log, then it tries to write to "C:\Program Files\Zim Desktop Wiki\zim.exe.log" and this action fails because Windows 7 does not a user running in standard unprivileged mode to write to "Program Files".
We need to do something about Zim's propensity to write error chatter to this file in the background, but more importantly we need to make sure in Windows this file is located in the USER's DATA folder somewhere.
Changed in zim: | |
status: | New → Confirmed |
assignee: | nobody → Brendan Kidwell (bkidwell) |
Hi Brendan,
Just downloaded your executable to use at work. Unfortunately, the bug still seems to exist for me... Downloaded 2010-11-30 release.
OS: Windows Vista
Regards,
Mike
Brendan Kidwell (bkidwell) wrote : | #3 |
Michael, does this workaround fix your problem? (I wrote it just now)
https:/
If not, I'll look into it further.
Michael Mulqueen (michael.mulqueen) wrote : Re: [Bug 612407] Re: [Win7] When an error occurs, Zim tries to write to log in "Program Files" and fails because this is not allowed | #4 |
That's what I did in the end. Well, first, I did the Windows
equivalent of chmod 777 on zim.exe.log in Program Files, then I did
that.
This is also a bug in Zim in a different way that it full on fails if
it can't write the log. At worst it should display a warning message
and then proceed with its business.
New Windows release fixes this.