Re: My FileSystemCacheManager doesn't work at all
Hi,
What could be the problem and how to get it working? Any Ideas? Exploring a bit more I saw errors on the zope-console: tuple has no method join()
The cause ist ob.getPhysicalPath().join('/') in FSCacheManager.py My solves this problem but it still doesn't work (just a warning on console that a help-file doesn't exist): def _fileName(self, ob): #url = ob.getPhysicalPath().join('/') ###### this doesn't work on ob of type tuples! url = '/'.join(list(ob.getPhysicalPath())) ####### this works on tuples too Does anybody know more? --Thanks, Elena
Oh yeah there are some bugs in it. Grab a fresh copy out of CVS http://sf.net/projects/collector. Elena Schulz wrote:
Hi,
What could be the problem and how to get it working? Any Ideas?
Exploring a bit more I saw errors on the zope-console: tuple has no method join()
The cause ist ob.getPhysicalPath().join('/') in FSCacheManager.py My solves this problem but it still doesn't work (just a warning on console that a help-file doesn't exist):
def _fileName(self, ob):
#url = ob.getPhysicalPath().join('/') ###### this doesn't work on ob of type tuples! url = '/'.join(list(ob.getPhysicalPath())) ####### this works on tuples too
Does anybody know more?
--Thanks, Elena
_______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
-- Andy McKay http://www.agmweb.ca
In Google mode: Did you mean: http://sourceforge.net/projects/collective Andy McKay wrote:
Oh yeah there are some bugs in it. Grab a fresh copy out of CVS http://sf.net/projects/collector.
Elena Schulz wrote:
Hi,
What could be the problem and how to get it working? Any Ideas?
Exploring a bit more I saw errors on the zope-console: tuple has no method join()
The cause ist ob.getPhysicalPath().join('/') in FSCacheManager.py My solves this problem but it still doesn't work (just a warning on console that a help-file doesn't exist):
def _fileName(self, ob):
#url = ob.getPhysicalPath().join('/') ###### this doesn't work on ob of type tuples! url = '/'.join(list(ob.getPhysicalPath())) ####### this works on tuples too
Does anybody know more?
--Thanks, Elena
_______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
participants (3)
-
Andy McKay -
Chris Withers -
Elena Schulz