Hello, I am using moinmoin 1.9.8 for a private wiki. Since a few day the macro "hits" no longer works, please see: http://www.rudiswiki.de/wiki9/UmlaufsperreDrususstrasse#Liste_der_Seiten_in_dieser_category: The message is: <<Hits: Ausführung fehlgeschlagen [decimal] (siehe auch die Log-Datei)>> In another wiki, on an other computer, the hitcount works: http://www.rudiswiki.de/wiki1/HeizungWebcam message: -- RudolfReuter 2009-01-19, 39530 Hits I have seen, that in path: wiki/data/pages/UmlaufsperreDrususstrasse/cache/ there is a file named "hitcounts" Deleting that file "hitcounts" did not help. Another file I found was : wiki/data/cache/wikiconfig/charts/hitcounts Deleting that file "hitcounts" did not help either. Clearing the "page cache" did also not help. Now I have no more ideas how to fix that. Has anybody an idea how to repair that? Regards, Rudolf The log tells me: 2016-04-16 10:14:48,158 ERROR MoinMoin.macro:139 Macro Hits (page: 'UmlaufsperreDrususstrasse') raised an exception: Traceback (most recent call last): File "/Volumes/DAT/Users/rudi/Install/moin/moin-1.9.8/MoinMoin/macro/__init__.py", line 129, in execute return execute(self, args) File "/Volumes/DAT/Users/rudi/Install/moin/moin-1.9.8/MoinMoin/macro/__init__.py", line 114, in <lambda> _self.request, call, _args, [_self]) File "/Volumes/DAT/Users/rudi/Install/moin/moin-1.9.8/MoinMoin/wikiutil.py", line 1962, in invoke_extension_function return function(*fixed_args, **kwargs) File "/Volumes/DAT/Users/rudi/Install/moin/moin-1.9.8/MoinMoin/macro/Hits.py", line 29, in macro_Hits cache_days, cache_views, cache_edits = hitcounts.get_data(pagename, request, filterpage=pagename) File "/Volumes/DAT/Users/rudi/Install/moin/moin-1.9.8/MoinMoin/stats/hitcounts.py", line 88, in get_data for event in log.reverse(): File "/Volumes/DAT/Users/rudi/Install/moin/moin-1.9.8/MoinMoin/logfile/__init__.py", line 116, in reverse result = self.previous() File "/Volumes/DAT/Users/rudi/Install/moin/moin-1.9.8/MoinMoin/logfile/__init__.py", line 323, in previous result = self.__previous() File "/Volumes/DAT/Users/rudi/Install/moin/moin-1.9.8/MoinMoin/logfile/__init__.py", line 312, in __previous return self.parser(self.__buffer.lines[self.__rel_index]) File "/Volumes/DAT/Users/rudi/Install/moin/moin-1.9.8/MoinMoin/logfile/eventlog.py", line 67, in parser return long(time_usecs), eventtype, wikiutil.parseQueryString(kvpairs) UnicodeEncodeError: 'decimal' codec can't encode characters in position 0-268: invalid decimal Unicode string |
------------------------------------------------------------------------------ Find and fix application performance issues faster with Applications Manager Applications Manager provides deep performance insights into multiple tiers of your business applications. It resolves application problems quickly and reduces your MTTR. Get your free trial! https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________ Moin-user mailing list Moin-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/moin-user