= Description = After upgrading from Python 2.4.1 to 2.4.2, the EventStats pages do not display the expected plots anymore. Instead you see just one line (and the page name): {{{hitcounts chart}}} == Example == * You need a wiki running on Pyhon 2.4.2 and the GDchart library to test for this bug... == Details == || '''!MoinMoin Version''' || 1.3.4 and 1.3.5 || || '''OS and Version''' || Windows 2003 Server || || '''Python Version''' || 2.4.2 ( no bug in 2.4.1) || || '''Server Setup''' || Apache 2.0.54, modpython 3.2.0b (also tested with cgi) || || '''Server Details''' || - || == Workaround == Do not upgrade Python to 2.4.2 = Discussion = Debugging is hard because there are no errors or traceback infos reported in the log-files of modpython/Apache or moin itself. The GDchart library was tested separately. It works as expected with Python 2.4.2. So the error seems to be in moin. Any ideas how to debug this? Do this: 1. First upgrade to 1.3.5, we will not fix anything in 1.3.4. OK, I made a clean 1.3.5 installation. First the charts were generated. But then I created a page with unicode characters (!TestÄöü) and the bug showed up again. Thus, it seems to be related to encoding/decoding page names for/from the event-log. GDchart does not support utf-8, probably this raise an exception which is not handled correctly and cause the output to be stoped after the title. 1. Delete the the directory wiki/data/cache/charts That did/does no help. 1. Try to get the stats again. If you get a traceback, save the traceback page as html and attach here. With moin 1.3.5 there is also no traceback generated. Error handling in 1.3.5 is still broken in some places, you may want to get the last patch of 1.3 branch, and test with this code. Maybe it will be easier to debug. I did some more experiments with newest moin 1.3 code (moin--main--1.3--patch-935). -- DavidLinke <> * Bug is fixed for CGI-setup * Bug is still present for modpy-setup (as before, no traceback is generated) * No longer present with modpy-setup for 1.5 patch-282 I have a debian environment with 1.5.4 (self-installed) and python2.4.4c0 and find exactly the same bug. Although my python2.4-gdchart2 package comes from Ubuntu... -- AlvaroTejero <> This was using gdchart2 from ubuntu. It seems that this is not the version moinmoin is programmed to use (example at the top of chart.py complains about nonexistence of the `Chart` class). I cannot use gdchart1 because Debian reports python2.3.5 being my default python and gdchart1 depends on python2.4. I cannot remove python2.3 because the mailman package insists on depending on python2.3. Any hints on this? -- AlvaroTejero <> Jonas did not package gdchart1 for Python 2.4 and gdchart2 is incompatible. So this is not a MoinMoin bug. = Plan = ## This part is for Moin``Moin developers: * Priority: * Assigned to: * Status: maybe fixed in 1.5 patch-103 ---- ## If you are a moin core developer, replace the category to Category* in these cases: Category MoinMoinBugFixed