<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=utf-8">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <font size="+1">Hello,<br>
      I am using moinmoin 1.9.8 for a private wiki.<br>
      Since a few day the macro "hits" no longer works, please see:<br>
      <br>
<a class="moz-txt-link-freetext" href="http://www.rudiswiki.de/wiki9/UmlaufsperreDrususstrasse#Liste_der_Seiten_in_dieser_category">http://www.rudiswiki.de/wiki9/UmlaufsperreDrususstrasse#Liste_der_Seiten_in_dieser_category</a>:<br>
      <br>
      The message is:<br>
    </font><big><<Hits: Ausführung fehlgeschlagen [decimal] (siehe
      auch die Log-Datei)>><br>
      <br>
      In another wiki, on an other computer, the hitcount works:<br>
      <a class="moz-txt-link-freetext" href="http://www.rudiswiki.de/wiki1/HeizungWebcam">http://www.rudiswiki.de/wiki1/HeizungWebcam</a><br>
      message:  </big><big>-- <a class="nonexistent"
        href="http://www.rudiswiki.de/wiki1/RudolfReuter">RudolfReuter</a>
      2009-01-19, 39530 Hits <br>
      <br>
      I have seen, that in path:
      wiki/data/pages/UmlaufsperreDrususstrasse/cache/<br>
      there is a file named "hitcounts"<br>
      Deleting that file "hitcounts" did not help.<br>
      <br>
      Another file I found was :
      wiki/data/cache/wikiconfig/charts/hitcounts<br>
    </big><big>Deleting that file "hitcounts" did not help either.<br>
      <br>
      Clearing the "page cache" did also not help.<br>
      <br>
      Now I have no more ideas how to fix that.<br>
      Has anybody an idea how to repair that?</big><br>
    <br>
    <big>Regards, Rudolf</big><br>
    <br>
    <big>The log tells me:</big><br>
    2016-04-16 10:14:48,158 ERROR MoinMoin.macro:139 Macro Hits (page:
    'UmlaufsperreDrususstrasse') raised an exception:<br>
    Traceback (most recent call last):<br>
      File
    "/Volumes/DAT/Users/rudi/Install/moin/moin-1.9.8/MoinMoin/macro/__init__.py",
    line 129, in execute<br>
        return execute(self, args)<br>
      File
    "/Volumes/DAT/Users/rudi/Install/moin/moin-1.9.8/MoinMoin/macro/__init__.py",
    line 114, in <lambda><br>
        _self.request, call, _args, [_self])<br>
      File
    "/Volumes/DAT/Users/rudi/Install/moin/moin-1.9.8/MoinMoin/wikiutil.py",
    line 1962, in invoke_extension_function<br>
        return function(*fixed_args, **kwargs)<br>
      File
    "/Volumes/DAT/Users/rudi/Install/moin/moin-1.9.8/MoinMoin/macro/Hits.py",
    line 29, in macro_Hits<br>
        cache_days, cache_views, cache_edits =
    hitcounts.get_data(pagename, request, filterpage=pagename)<br>
      File
    "/Volumes/DAT/Users/rudi/Install/moin/moin-1.9.8/MoinMoin/stats/hitcounts.py",
    line 88, in get_data<br>
        for event in log.reverse():<br>
      File
    "/Volumes/DAT/Users/rudi/Install/moin/moin-1.9.8/MoinMoin/logfile/__init__.py",
    line 116, in reverse<br>
        result = self.previous()<br>
      File
    "/Volumes/DAT/Users/rudi/Install/moin/moin-1.9.8/MoinMoin/logfile/__init__.py",
    line 323, in previous<br>
        result = self.__previous()<br>
      File
    "/Volumes/DAT/Users/rudi/Install/moin/moin-1.9.8/MoinMoin/logfile/__init__.py",
    line 312, in __previous<br>
        return self.parser(self.__buffer.lines[self.__rel_index])<br>
      File
    "/Volumes/DAT/Users/rudi/Install/moin/moin-1.9.8/MoinMoin/logfile/eventlog.py",
    line 67, in parser<br>
        return long(time_usecs), eventtype,
    wikiutil.parseQueryString(kvpairs)<br>
    UnicodeEncodeError: 'decimal' codec can't encode characters in
    position 0-268: invalid decimal Unicode string<br>
    <br>
    <br>
  </body>
</html>