[Zope] bug in GenericUserFolder

Timothy Wilson wilson@visi.com
Thu, 6 Jan 2000 22:39:54 -0600 (CST)


Hello everyone,

I've discovered what appears to be a bug in GenericUserFolder and I'm
wondering if someone else can verify it. (Who knows, it might just be me.)

I'm running Linux on a 2.2.x kernel with a fresh source install of Zope
2.1.2 (w_pcgi). No problem there. Copying my old Data.* brings up my site
with no problem.

Immediately after that, I untarred GenericUserFolder 1.0.6, stopped the
Zope server and restarted it to make GenericUserFolder available. My site
became instantly unavailable with the following message:

Zope Error

          Zope has encountered an error while publishing this resource. 

          ImportError

          Sorry, a Zope error occurred.

The traceback includes:

Traceback (innermost last):
  File /usr/local/src/Zope-2.1.2-src/lib/python/ZPublisher/Publish.py,
line 214, in publish_module
  File /usr/local/src/Zope-2.1.2-src/lib/python/ZPublisher/Publish.py,
line 179, in publish
  File /usr/local/src/Zope-2.1.2-src/lib/python/Zope/__init__.py, line
202, in zpublisher_exception_hook
    (Object: ApplicationDefaultPermissions)
  File /usr/local/src/Zope-2.1.2-src/lib/python/ZPublisher/Publish.py,
line 165, in publish
  File /usr/local/src/Zope-2.1.2-src/lib/python/ZPublisher/mapply.py, line
160, in mapply
    (Object: index_html)
  File /usr/local/src/Zope-2.1.2-src/lib/python/ZPublisher/Publish.py,
line 102, in call_object
    (Object: index_html)
  File /usr/local/src/Zope-2.1.2-src/lib/python/OFS/DTMLMethod.py, line
145, in __call__
    (Object: index_html)
  File
/usr/local/src/Zope-2.1.2-src/lib/python/DocumentTemplate/DT_String.py,
line 443, in __call__
    (Object: index_html)
  File
/usr/local/src/Zope-2.1.2-src/lib/python/DocumentTemplate/DT_String.py,
line 381, in cook
    (Object: index_html)
  File
/usr/local/src/Zope-2.1.2-src/lib/python/DocumentTemplate/DT_String.py,
line 219, in parse
    (Object: index_html)
  File
/usr/local/src/Zope-2.1.2-src/lib/python/DocumentTemplate/DT_String.py,
line 166, in _parseTag
    (Object: index_html)
  File <string>, line 1, in ?
ImportError: No module named DT_With

It seems like the install of GenericUserFolder is nuking parts of the
DocumentTemplate directory.

-Tim

--
Timothy Wilson       | "The faster you  |  Check out:
Henry Sibley H.S.    |  go, the shorter | http://slashdot.org/
W. St. Paul, MN, USA |  you are."       | http://linux.com/
wilson@visi.com      |       -Einstein  | http://www.mn-linux.org/