Zim

Error while opening calendar

Bug #1261679 reported by Grzegorz Gacek
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Zim
Fix Released
High
Unassigned

Bug Description

After fresh installation on Windows 7 I tried to open calendar (via toolbar button and got this error message):

This is zim 0.60
Python version is sys.version_info(major=2, minor=7, micro=3, releaselevel='final', serial=0)
Gtk version is (2, 24, 10)
Pygtk version is (2, 24, 0)
Platform is nt
Zim revision is:
  branch: pyzim
  revision: 672 <email address hidden>
  date: 2013-04-30 19:27:20 +0200

======= Traceback =======
  File "zim\gui\__init__.pyo", line 819, in _action_handler
  File "C:\Program Files (x86)\Zim Desktop Wiki\zim\plugins\calendar.py", line 281, in show_calendar
  File "zim\gui\widgets.pyo", line 2786, in unique
  File "C:\Program Files (x86)\Zim Desktop Wiki\zim\plugins\calendar.py", line 437, in __init__
  File "C:\Program Files (x86)\Zim Desktop Wiki\zim\plugins\calendar.py", line 360, in __init__
  File "C:\Program Files (x86)\Zim Desktop Wiki\zim\plugins\calendar.py", line 395, in _refresh_label
ValueError: Invalid format string

Reproduces on every atempt. This happens on both Desktop and Portable versions.

Grzegorz Gacek (zgreg-w)
description: updated
Revision history for this message
Jaap Karssenberg (jaap.karssenberg) wrote :

Are you maybe using a language other than English for the zim GUI ?

Revision history for this message
Grzegorz Gacek (zgreg-w) wrote :

Actually yes, GUI is in Polish (though I do not remember setting it explicitely during installation or later...).

Revision history for this message
Jaap Karssenberg (jaap.karssenberg) wrote : Re: [Bug 1261679] Re: Error while opening calendar

Error is caused by a translation string in the Polish translation - will
need to add a check for that. (Translation used "%e" which is not
universally supported.)

You can work around by setting the language back to English (see
https://github.com/jaap-karssenberg/zim-wiki/wiki/Configure-environment-variablesfor
details).

Regards,

Jaap

On Wed, Dec 18, 2013 at 10:37 AM, Grzegorz Gacek <email address hidden> wrote:

> Actually yes, GUI is in Polish (though I do not remember setting it
> explicitely during installation or later...).
>
> --
> You received this bug notification because you are subscribed to Zim.
> https://bugs.launchpad.net/bugs/1261679
>
> Title:
> Error while opening calendar
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/zim/+bug/1261679/+subscriptions
>

Changed in zim:
status: New → Confirmed
importance: Undecided → High
Revision history for this message
Jaap Karssenberg (jaap.karssenberg) wrote :

Fixed in rev711 in branch pyzim-refactor + added test to be robust against this issue in the future

Changed in zim:
status: Confirmed → Fix Committed
Revision history for this message
Jaap Karssenberg (jaap.karssenberg) wrote :

Fixed in release 0.61

Changed in zim:
status: Fix Committed → Fix Released
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.