hi all,
after searching pypi, i found a linktally recipe, but having problems
with it. i had to do some manual finetuning after installing using
buildout to get the cmflinktally into quickinstaller.
buildout.cfg:
...
[linktally]
recipe = collective.recipe.linktally
database: ${buildout:directory}/var/linktally.db
logfile: /var/log/apache2/access.log
linksurl: http://localhost:8080
prefix: /plone3
...
after running bin/buildout i noticed the bin/tallylinks script. i think
this one should be called periodically using cron. on my setup executing
bin/tallylinks produces this confusing error:
---
Traceback (most recent call last):
File "bin/tallylinks", line 18, in ?
collective.recipe.linktally.runtally.run("/home/daniel/zope/plone3_buildout/parts/linktally/linktally.conf")
File
"/home/daniel/zope/plone3_buildout/eggs/collective.recipe.linktally-0.1.0_3-py2.4.egg/collective/recipe/linktally/runtally.py",
line 5, in run
runLinkTally(LinkTallyConfig(configfile))
File "/opt/python-2.4/lib/python2.4/site-packages/PIL/__init__.py",
line 16, in runLinkTally
File "build/bdist.linux-i686/egg/linktally/tallies.py", line 140, in
updatePaths
File "build/bdist.linux-i686/egg/linktally/utils.py", line 100, in
__iter__
File "build/bdist.linux-i686/egg/linktally/query.py", line 52, in
__iter__
File "build/bdist.linux-i686/egg/elementtree/ElementTree.py", line
986, in next
File "build/bdist.linux-i686/egg/elementtree/ElementTree.py", line
1292, in feed
xml.parsers.expat.ExpatError: syntax error: line 1, column 49
---
unfortunately linktally does not contain a documentation or howto. i
have to fight through the whole source. if anybody is using linktally
too, please let me know so we could share experiences and/or help each
other and finally commit a howto/documentation into linktally trunk :-)
daniel
_______________________________________________
Product-Developers mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/product-developers