[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 on 2010-08-02
This bug affects 2 people
Affects Status Importance Assigned to Milestone
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)
Brendan Kidwell (bkidwell) wrote :

New Windows release fixes this.

Changed in zim:
status: Confirmed → Fix Released

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


Brendan Kidwell (bkidwell) wrote :

Michael, does this workaround fix your problem? (I wrote it just now)

If not, I'll look into it further.

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

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  Edit
Everyone can see this information.

Other bug subscribers