switched from Zope2.7.0 b2 to b3 -> LocalFS 1.0.0 broken
Hi, after switching from Zope2.7.0 B2 to Zope2.7.0 B3 LocalFS 1.0.0 dosnot work. It is not shown broken in the Product management. After commenting out some stuff in LocalFS._safe_get_Ob I get an AttributeError Value:manage_workspace Also I can not access mamage_main It is declared as: manage_main=HTMLFile('dtml/main',globals()) ... same with index_html Are there changes on the HTMLFile implementation that can couse such errors? -- _______________________________________________________________________ Andreas Heckel andreas@easyleading.org LINUX is like a wigwam...no gates...no windows and an apache inside ;-)
Salut Andreas, the same problem to me. I got the following error message: --- Resource not found Sorry, the requested resource does not exist. Check the URL and try again. Resource: sequence-odd --- I suppose that the creation of a new instance of LocalFS is not the real problem. Maybe something gets wrong if Zope tries to list the contents of the folder where the new LocalFS-Object resides. Any solution to that problem so far? Greetings, Jens. Am Sam, 2003-11-22 um 19.02 schrieb Andreas Heckel:
Hi,
after switching from Zope2.7.0 B2 to Zope2.7.0 B3 LocalFS 1.0.0 dosnot work. It is not shown broken in the Product management.
After commenting out some stuff in LocalFS._safe_get_Ob I get an AttributeError Value:manage_workspace Also I can not access mamage_main It is declared as: manage_main=HTMLFile('dtml/main',globals()) ... same with index_html
Are there changes on the HTMLFile implementation that can couse such errors?
Jens Dobberthin wrote at 2003-11-24 18:12 +0100:
Resource not found
Sorry, the requested resource does not exist.
Check the URL and try again.
Resource: sequence-odd ---
I suppose that the creation of a new instance of LocalFS is not the real problem. Maybe something gets wrong if Zope tries to list the contents of the folder where the new LocalFS-Object resides.
Any solution to that problem so far?
This looks like a broken "redirect". "sequence-odd" should of course not become part of an URL... -- Dieter
Hi Jens, my LocalFS:__bobo_traverse__ now looks like this: def __bobo_traverse__(self, REQUEST, name): try: return self._safe_getOb(name) except: pass try: return getattr(self, name) except AttributeError: pass method=REQUEST.get('REQUEST_METHOD', 'GET') if not method in ('GET', 'POST'): return NullResource(self, name, REQUEST).__of__(self) REQUEST.RESPONSE.notFoundError(name) def __bobo_traverse__(self, REQUEST, name): try: return self._safe_getOb(name) except: pass try: return getattr(self, name) except AttributeError: pass method=REQUEST.get('REQUEST_METHOD', 'GET') if not method in ('GET', 'POST'): return NullResource(self, name, REQUEST).__of__(self) REQUEST.RESPONSE.notFoundError(name) ... and here is my LocalFS:_safe_getOb: def _safe_getOb(self, name, default=_marker): return self._getOb(name, default) Now the LocalFS works more or less ... it's a quick hack and I do not know what caused the issue !!! I also noticed that I can upload files to the local dir but I can not download them :( Unfortunately I have no time to look at this. Gruss nach Leipzig Andreas Jens Dobberthin wrote:
Salut Andreas,
the same problem to me. I got the following error message:
--- Resource not found
Sorry, the requested resource does not exist.
Check the URL and try again.
Resource: sequence-odd ---
I suppose that the creation of a new instance of LocalFS is not the real problem. Maybe something gets wrong if Zope tries to list the contents of the folder where the new LocalFS-Object resides.
Any solution to that problem so far?
Greetings, Jens.
Am Sam, 2003-11-22 um 19.02 schrieb Andreas Heckel:
Hi,
after switching from Zope2.7.0 B2 to Zope2.7.0 B3 LocalFS 1.0.0 dosnot work. It is not shown broken in the Product management.
After commenting out some stuff in LocalFS._safe_get_Ob I get an AttributeError Value:manage_workspace Also I can not access mamage_main It is declared as: manage_main=HTMLFile('dtml/main',globals()) ... same with index_html
Are there changes on the HTMLFile implementation that can couse such errors?
-- _______________________________________________________________________ Andreas Heckel andreas@easyleading.org LINUX is like a wigwam...no gates...no windows and an apache inside ;-)
participants (3)
-
Dieter Maurer -
infonicrelay@t-online.de -
Jens Dobberthin