Zim

[Win7] When an error occurs, Zim tries to write to log in "Program Files" and fails because this is not allowed

Bug #612407 reported by Brendan Kidwell
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Zim
Fix Released
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)
Revision history for this message
Brendan Kidwell (bkidwell) wrote :

New Windows release fixes this.

Changed in zim:
status: Confirmed → Fix Released
Revision history for this message
Michael Mulqueen (michael.mulqueen) wrote :

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

Revision history for this message
Brendan Kidwell (bkidwell) wrote :

Michael, does this workaround fix your problem? (I wrote it just now)
https://bugs.launchpad.net/zim/+bug/683054/comments/1

If not, I'll look into it further.

Revision history for this message
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

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.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.