moinmoin 1.9.8, macro hits no longer works
Rudolf Reuter <[email protected]> Sat, 16 Apr 2016 12:43:59 +0200
| Newsgroups | gmane.comp.web.wiki.moin.general |
|---|---|
| Message-ID | <[email protected]> |
--===============2273704145692657806==
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable
<html>
<head>
<meta http-equiv=3D"content-type" content=3D"text/html; charset=3Dutf=
-8">
</head>
<body bgcolor=3D"#FFFFFF" text=3D"#000000">
<font size=3D"+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=3D"moz-txt-link-freetext" href=3D"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=C3=BChrung fehlgeschlagen [decimal] (s=
iehe
auch die Log-Datei)>><br>
<br>
In another wiki, on an other computer, the hitcount works:<br>
<a class=3D"moz-txt-link-freetext" href=3D"http://www.rudiswiki.de/=
wiki1/HeizungWebcam">http://www.rudiswiki.de/wiki1/HeizungWebcam</a><br>
message:=C2=A0 </big><big>-- <a class=3D"nonexistent"
href=3D"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>
=C2=A0 File
"/Volumes/DAT/Users/rudi/Install/moin/moin-1.9.8/MoinMoin/macro/__ini=
t__.py",
line 129, in execute<br>
=C2=A0=C2=A0=C2=A0 return execute(self, args)<br>
=C2=A0 File
"/Volumes/DAT/Users/rudi/Install/moin/moin-1.9.8/MoinMoin/macro/__ini=
t__.py",
line 114, in <lambda><br>
=C2=A0=C2=A0=C2=A0 _self.request, call, _args, [_self])<br>
=C2=A0 File
"/Volumes/DAT/Users/rudi/Install/moin/moin-1.9.8/MoinMoin/wikiutil.py=
",
line 1962, in invoke_extension_function<br>
=C2=A0=C2=A0=C2=A0 return function(*fixed_args, **kwargs)<br>
=C2=A0 File
"/Volumes/DAT/Users/rudi/Install/moin/moin-1.9.8/MoinMoin/macro/Hits.=
py",
line 29, in macro_Hits<br>
=C2=A0=C2=A0=C2=A0 cache_days, cache_views, cache_edits =3D
hitcounts.get_data(pagename, request, filterpage=3Dpagename)<br>
=C2=A0 File
"/Volumes/DAT/Users/rudi/Install/moin/moin-1.9.8/MoinMoin/stats/hitco=
unts.py",
line 88, in get_data<br>
=C2=A0=C2=A0=C2=A0 for event in log.reverse():<br>
=C2=A0 File
"/Volumes/DAT/Users/rudi/Install/moin/moin-1.9.8/MoinMoin/logfile/__i=
nit__.py",
line 116, in reverse<br>
=C2=A0=C2=A0=C2=A0 result =3D self.previous()<br>
=C2=A0 File
"/Volumes/DAT/Users/rudi/Install/moin/moin-1.9.8/MoinMoin/logfile/__i=
nit__.py",
line 323, in previous<br>
=C2=A0=C2=A0=C2=A0 result =3D self.__previous()<br>
=C2=A0 File
"/Volumes/DAT/Users/rudi/Install/moin/moin-1.9.8/MoinMoin/logfile/__i=
nit__.py",
line 312, in __previous<br>
=C2=A0=C2=A0=C2=A0 return self.parser(self.__buffer.lines[self.__rel_=
index])<br>
=C2=A0 File
"/Volumes/DAT/Users/rudi/Install/moin/moin-1.9.8/MoinMoin/logfile/eve=
ntlog.py",
line 67, in parser<br>
=C2=A0=C2=A0=C2=A0 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>
--===============2273704145692657806==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
------------------------------------------------------------------------------
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
--===============2273704145692657806==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
Moin-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/moin-user
--===============2273704145692657806==--