[Zope] Getting rid of PTK

Jean Jordaan Jean@mosaicsoftware.com
Thu, 17 Aug 2000 19:14:20 +0200


Hi list 

I've seen others having problems with this as well .. 

I made a ZClass, not consciously touching anything about
PTK. Now when I export it ('ccDoc.zexp') and import it into
another Zope, I get::

  Error Type: ImportError
  Error Value: No module named PTKDemo.PersistentUserSource

  Traceback (innermost last):
  File C:\programs\ZopeJean\lib\python\ZPublisher\Publish.py, line 214, in
publish_module
  File C:\programs\ZopeJean\lib\python\ZPublisher\Publish.py, line 179, in
publish
  File C:\programs\ZopeJean\lib\python\Zope\__init__.py, line 202, in
zpublisher_exception_hook
    (Object: ElementWithAttributes)
  File C:\programs\ZopeJean\lib\python\ZPublisher\Publish.py, line 165, in
publish
  File C:\programs\ZopeJean\lib\python\ZPublisher\mapply.py, line 160, in
mapply
    (Object: manage_importObject)
  File C:\programs\ZopeJean\lib\python\ZPublisher\Publish.py, line 102, in
call_object
    (Object: manage_importObject)
  File C:\programs\ZopeJean\lib\python\OFS\ObjectManager.py, line 488, in
manage_importObject
    (Object: ElementWithAttributes)
  File C:\programs\ZopeJean\lib\python\OFS\ObjectManager.py, line 238, in
_setObject
    (Object: ElementWithAttributes)
  File C:\programs\ZopeJean\lib\python\OFS\ObjectManager.py, line 254, in
manage_afterAdd
    (Object: ElementWithAttributes)
  File C:\programs\ZopeJean\lib\python\ZClasses\ZClass.py, line 412, in
manage_afterAdd
    (Object: ccDocClass)
  File C:\programs\ZopeJean\lib\python\ZClasses\ZClass.py, line 373, in
_register
    (Object: ccDocClass)
  File C:\programs\ZopeJean\lib\python\ZODB\Connection.py, line 396, in
setstate
  File C:\programs\ZopeJean\lib\python\ZODB\Connection.py, line 205, in
_persistent_load
    (Info: 

What do I have to do with PTKDemo??

-- 
Jean Jordaan   --    technical writer    --
Mosaic Sofware --    Zope 2.1.6 on WinNT and W2K