[Zope3-dev] Renaming: Feedback

Stephan Richter stephan.richter@tufts.edu
Wed, 25 Dec 2002 05:04:13 -0500


Hello everyone,

I just updated the my renaming sandbox, and the following happened:

- All tests pass (without ZEO - I tested it all yesterday and they passed)
- Zope started using 'make run'
- The Browser gave me the following Error:
Traceback (most recent call last):
  File "/home/srichter/Zope3/Zope3-Rename/src/zope/publisher/publish.py", line 
135, in publish
    result = publication.callObject(request, object)
  File 
"/home/srichter/Zope3/Zope3-Rename/src/zope/app/publication/zopepublication.py", 
line 160, in callObject
    return mapply(ob, request.getPositionalArguments(), request)
  File "/home/srichter/Zope3/Zope3-Rename/src/zope/publisher/publish.py", line 
106, in mapply
    return object(*args)
  File 
"/home/srichter/Zope3/Zope3-Rename/src/zope/app/pagetemplate/simpleviewclass.py", 
line 43, in __call__
    return self.index(self.request, *args, **kw)
  File 
"/home/srichter/Zope3/Zope3-Rename/src/zope/app/pagetemplate/viewpagetemplatefile.py", 
line 67, in __call__
    return self.im_func(self.im_self, REQUEST, **kw)
  File 
"/home/srichter/Zope3/Zope3-Rename/src/zope/app/pagetemplate/viewpagetemplatefile.py", 
line 43, in __call__
    return self.pt_render(namespace)
  File 
"/home/srichter/Zope3/Zope3-Rename/src/zope/pagetemplate/pagetemplate.py", 
line 109, in pt_render
    self._cook_check()
  File 
"/home/srichter/Zope3/Zope3-Rename/src/zope/pagetemplate/pagetemplatefile.py", 
line 55, in _cook_check
    self.pt_edit(open(self.filename), None)
IOError: [Errno 2] No such file or directory: 
'/home/srichter/Zope3/Zope3-Rename/src/zope/app/browser/IBrowser.pt'

- When trying to run the introspector I got:
Traceback (most recent call last):
  File "/home/srichter/Zope3/Zope3-Rename/src/zope/publisher/publish.py", line 
132, in publish
    object = request.traverse(object)
  File "/home/srichter/Zope3/Zope3-Rename/src/zope/publisher/browser.py", line 
594, in traverse
    ob = super(BrowserRequest, self).traverse(object)
  File "/home/srichter/Zope3/Zope3-Rename/src/zope/publisher/http.py", line 
302, in traverse
    ob = super(HTTPRequest, self).traverse(object)
  File "/home/srichter/Zope3/Zope3-Rename/src/zope/publisher/base.py", line 
242, in traverse
    subobject = publication.traverseName(
  File 
"/home/srichter/Zope3/Zope3-Rename/src/zope/app/publication/publicationtraverse.py", 
line 55, in traverseName
    ob2 = namespaceLookup(name, ns, nm, unknown_parms, ob, request)
  File 
"/home/srichter/Zope3/Zope3-Rename/src/zope/app/traversing/namespaces.py", 
line 51, in namespaceLookup
    new = handler(qname, parameters, name, object, request)
  File 
"/home/srichter/Zope3/Zope3-Rename/src/zope/app/traversing/modulenamespace.py", 
line 30, in module
    ob = adapter.resolve(name)
  File "/home/srichter/Zope3/Zope3-Rename/src/zope/app/services/service.py", 
line 297, in resolve
    m = wrapped_self.__import(mod)
  File "/home/srichter/Zope3/Zope3-Rename/src/zope/app/services/service.py", 
line 274, in __import
    raise ImportError(module_name)
ImportError: Zope.App.OFS.Content.Folder.RootFolder

- For Services I get:
2002-12-25T05:02:33 ERROR SiteError 
http://localhost:8080/++etc++Services/@@index.html
Traceback (most recent call last):
  File "/home/srichter/Zope3/Zope3-Rename/src/zope/publisher/publish.py", line 
135, in publish
    result = publication.callObject(request, object)
  File 
"/home/srichter/Zope3/Zope3-Rename/src/zope/app/publication/zopepublication.py", 
line 160, in callObject
    return mapply(ob, request.getPositionalArguments(), request)
  File "/home/srichter/Zope3/Zope3-Rename/src/zope/publisher/publish.py", line 
106, in mapply
    return object(*args)
  File 
"/home/srichter/Zope3/Zope3-Rename/src/zope/app/pagetemplate/simpleviewclass.py", 
line 43, in __call__
    return self.index(self.request, *args, **kw)
  File 
"/home/srichter/Zope3/Zope3-Rename/src/zope/app/pagetemplate/viewpagetemplatefile.py", 
line 67, in __call__
    return self.im_func(self.im_self, REQUEST, **kw)
  File 
"/home/srichter/Zope3/Zope3-Rename/src/zope/app/pagetemplate/viewpagetemplatefile.py", 
line 43, in __call__
    return self.pt_render(namespace)
  File 
"/home/srichter/Zope3/Zope3-Rename/src/zope/pagetemplate/pagetemplate.py", 
line 109, in pt_render
    self._cook_check()
  File 
"/home/srichter/Zope3/Zope3-Rename/src/zope/pagetemplate/pagetemplatefile.py", 
line 55, in _cook_check
    self.pt_edit(open(self.filename), None)
IOError: [Errno 2] No such file or directory: 
'/home/srichter/Zope3/Zope3-Rename/src/zope/app/browser/services/Browser/Services.pt'

- ApplicationControl: Same as Folder view.

- The VFS had two errors:
    - There was no VFS view for RootFolder, which is definitely a ZCML 
      problem.
    - When writing the error message, the server complained that the 
       VFSRequest object has no attribute called URL. (Weired!)

I am using:
Python 2.3a0 (#13, Dec 17 2002, 21:55:15)
[GCC 3.2 (Mandrake Linux 9.0 3.2-1mdk)] on linux2

Regards,
Stephan
-- 
Stephan Richter
CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student)
Web2k - Web Software Design, Development and Training