Zim

Calendar can not be shown

Bug #1571263 reported by patrick
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Zim
Fix Released
Undecided
Unassigned

Bug Description

I'm using Zim Version 0.65 on Arch Linux.

When I try to show the calendar I get this error message (and the calendar does not show up):

This is zim 0.65
Platform: posix
Locale: None None
FS encoding: utf-8
Python: (2, 7, 11, 'final', 0)
Gtk: (2, 24, 30)
Pygtk: (2, 24, 0)
Zim revision is:
  branch: zim-trunk
  revision: 805 <email address hidden>
  date: 2015-11-01 15:42:45 +0100

======= Traceback =======
  File "/usr/lib/python2.7/site-packages/zim/actions.py", line 109, in func
    self.func(instance, *arg, **kwarg)
  File "/usr/lib/python2.7/site-packages/zim/plugins/calendar.py", line 277, in show_calendar
    dialog = CalendarDialog.unique(self, self.plugin, self.window)
  File "/usr/lib/python2.7/site-packages/zim/gui/widgets.py", line 2870, in unique
    dialog = klass(*args, **opts)
  File "/usr/lib/python2.7/site-packages/zim/plugins/calendar.py", line 505, in __init__
    self.calendar_widget = CalendarWidget(model)
  File "/usr/lib/python2.7/site-packages/zim/plugins/calendar.py", line 412, in __init__
    self._refresh_label()
  File "/usr/lib/python2.7/site-packages/zim/plugins/calendar.py", line 449, in _refresh_label
    text = datetime.strftime(format, datetime.date.today())
  File "/usr/lib/python2.7/site-packages/zim/datetimetz.py", line 251, in strftime
    string = string.decode(locale.getlocale()[1]) # decode local specific output to unicode
TypeError: decode() argument 1 must be string, not None

Revision history for this message
Jaap Karssenberg (jaap.karssenberg) wrote :

Fixed in latest version

Changed in zim:
status: New → 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.