hosterb napsal/a:
ver. 0.2.6
tak vymaz storage.sqlite zrejme opravdu zabral, stahly se nove zalogovane. Jenze objevil se dalsi problem, a to zrejme s novou 10Year ikonkou.
Dostavam nasledujici error:
KeyError: 'Lost and Found Event Cache'
Diky za odpoved. Honza
Stale se mi nedari, ach jo. Nikdo na tento problem nenarazil?
INFO Pyggs >> Running plugin myfinds_topperiods...
Traceback (most recent call last):
File "./pyggs.py", line 913, in <module>
pyggs.run()
File "./pyggs.py", line 342, in run
templar.outputPages(self.pages)
File "./pyggs.py", line 608, in outputPages
result = self.render(pages[output]["template"], context, globals=globals, layout=pages[output]["layout"])
File "/home/honza/Dokumenty/geocache/statistika/xificurk-Pyggs-4ee5dbe/libs/tenjin.py", line 1200, in render
content = template.render(context, globals)
File "/home/honza/Dokumenty/geocache/statistika/xificurk-Pyggs-4ee5dbe/libs/tenjin.py", line 748, in render
exec(self.bytecode, globals, locals)
File "/home/honza/.geocaching/pyggs/templates/my/stats.pyhtml", line 13, in <module>
include(template, context=templates[template])
File "./pyggs.py", line 585, in include
return template.render(context, globals, _buf=_buf)
File "/home/honza/Dokumenty/geocache/statistika/xificurk-Pyggs-4ee5dbe/libs/tenjin.py", line 748, in render
exec(self.bytecode, globals, locals)
File "/home/honza/.geocaching/pyggs/templates/my/stats.cache_distrib.pyhtml", line 11, in <module>
<tr><td#{{css("td","center","td-icon")}}>#{{ctype(type)}}</td><td#{{css("td","right")}}>#{{types[type]}}</td><td#{{css("td","right",color)}}>#{{"{0:.1%}".format(types[type]/total)}}</td></tr>
File "./pyggs.py", line 713, in cacheType
return "<img alt=\"{0}\" title=\"{0}\" src=\"http://www.geocaching.com/images/WptTypes/sm/{1}.gif\" width=\"16\" height=\"16\" />".format(ctype, ctypes[ctype])
KeyError: 'Lost and Found Event Cache'
Tento problem jsem zaznamenal po zalogovani 10 Years! eventu.
Mimochodem ted jsem zjistil, ze v databazi /.geocaching/pyggs/storage.sqlite mam v tabulce cache o jeden zaznam vice (1445) nez na gc.com (1444). Jak je to mozny? Kterej to ovsem je vubec nevim jak bych dohledal. A ze by se mi chtelo celou databazi delat znovu, tak to se mi moc nechce. Trva to docela dlouho. Pritom v profiles ve storage.sqlite v tabulce myfinds pocet sedi.