[Zope] Import Error 'PTKDemo' - but *no* PTKDemo objects around..

Tony McDonald tony.mcdonald@ncl.ac.uk
Tue, 15 Aug 2000 15:57:20 +0100


Hi all,
I'm having a nightmare here.

I have a Zope 2.2 (src, solaris) installation that I built from 
scratch. Then, because *it would not* import an exported folder from 
a 2.1.6 installation I had to use the Data.fs from the 2.1.6 
installation and strip out everything other than the folder I was 
interested in.

Things seemed to be ok, but I found a nasty error I can't get around.

I wanted to use the 'advanced' tab on a ZSQL method and immediately 
got this traceback. This happens on *any* ZSQL method. I use the 
ZMySQL database adaptor.

<!--
  Error type:  ImportError
  Error value: No module named PTKDemo
  -->

<!--
Traceback (innermost last):
   File /home/zope/Zope-2.2.0/lib/python/ZPublisher/Publish.py, line 
222, in publish_module
   File /home/zope/Zope-2.2.0/lib/python/ZPublisher/Publish.py, line 
187, in publish
   File /home/zope/Zope-2.2.0/lib/python/Zope/__init__.py, line 221, 
in zpublisher_exception_hook
     (Object: person_details)
   File /home/zope/Zope-2.2.0/lib/python/ZPublisher/Publish.py, line 
171, in publish
   File /home/zope/Zope-2.2.0/lib/python/ZPublisher/mapply.py, line 
160, in mapply
     (Object: manage_advancedForm)
   File /home/zope/Zope-2.2.0/lib/python/ZPublisher/Publish.py, line 
112, in call_object
     (Object: manage_advancedForm)
   File /home/zope/Zope-2.2.0/lib/python/App/special_dtml.py, line 
121, in __call__
     (Object: manage_advancedForm)
   File 
/home/zope/Zope-2.2.0/lib/python/DocumentTemplate/DT_String.py, line 
502, in __call__
     (Object: manage_advancedForm)
   File /home/zope/Zope-2.2.0/lib/python/Shared/DC/ZRDB/DA.py, line 
505, in manage_product_zclass_info
     (Object: person_details)
   File /home/zope/Zope-2.2.0/lib/python/ZODB/Connection.py, line 447, 
in setstate
ImportError: (see above)

-->

I've also tried this with Zope 2.2.1b1 and get the same result.

Any thoughts would be appreciated here, I'm out of ideas.
tone.
------
Dr Tony McDonald,  FMCC, Networked Learning Environments Project 
http://nle.ncl.ac.uk/
The Medical School, Newcastle University Tel: +44 191 222 5116
Fingerprint: 3450 876D FA41 B926 D3DD  F8C3 F2D0 C3B9 8B38 18A2