Function Holiday in GanttCalendar

53 views
Skip to first unread message

ynoslenav

unread,
Sep 3, 2012, 1:52:31 PM9/3/12
to trac-...@googlegroups.com
When I try to use the function of holidays ganttcalendar is shown the error below:

Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/trac/web/main.py", line 522, in _dispatch_request
    dispatcher.dispatch(req)
  File "/usr/lib/python2.7/dist-packages/trac/web/main.py", line 243, in dispatch
    resp = chosen_handler.process_request(req)
  File "/usr/lib/python2.7/dist-packages/trac/admin/web_ui.py", line 117, in process_request
    path_info)
  File "/usr/local/lib/python2.7/dist-packages/TracGanttCalendarPlugin-0.6.2-py2.7.egg/ganttcalendar/admin.py", line 76,
in render_admin_panel
    self.log.info("loc:"+loc)
TypeError: cannot concatenate 'str' and 'NoneType' objects
                                                                                                         

Thanks 

Steffen Hoffmann

unread,
Sep 3, 2012, 3:25:59 PM9/3/12
to trac-...@googlegroups.com
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Just the error - without looking into the source - tells you, that it
bails out because there is a INFO log level message that tries to
concatenate a string "log:" and a module variable 'loc' that has got a
None value at that point. Line numbers are there, of course, and method
names to trace the call - all what is needed to understand more, even
fix the source.

Shouldn't be too hard, when t-h.o comes up, to look for similar issues
reported before, or file a ticket for GanttCalendarPlugin yourself.

Need more help with that? Ask more, please.

Steffen Hoffmann
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEUEARECAAYFAlBFBDEACgkQ31DJeiZFuHctOwCXWRPXlqPFQ6bV0ggzmtkZcXuK
5gCfdwuiiCO+P6LmLYDitCLYbv673oQ=
=spNP
-----END PGP SIGNATURE-----
Reply all
Reply to author
Forward
0 new messages