[Zope-PTK] Can't import DemoPortal.zexp
Jonathan
listsmurf@vgmi.net
Wed, 21 Jun 2000 16:19:12 +0200
Didn't get any response, so here we go again. I still can't get the
PTK to work. Downloaded a fresh binary Zope 2.1.6, got the PTK
straight from CVS and tried importing 'DemoPortal.zexp' from the
'import' directory after copying everything inside 'ZopePTK' to the
Products directory.
No dice. LoginManager, Membership and PTKDemo are broken.
LoginManager gives an error which seems to be related to ZPatterns:
Traceback (innermost last):
File "/usr/local/zope/lib/python/OFS/Application.py", line 387, in
import_products product=__import__(pname, global_dict, global_dict, silly)
File "/usr/local/zope/lib/python/Products/LoginManager/__init__.py", line 1,
in ? import LoginManager, LoginMethods, UserSources
File "/usr/local/zope/lib/python/Products/LoginManager/LoginManager.py", line
7, in ? from Products.ZPatterns.PlugIns import PlugInGroup
ImportError: No module named ZPatterns.PlugIns
Any ideas?
Jonathan
>Hi,
>
>Started digging deeper into Zope and thought I'd try to install the
>Portal Toolkit. Followed the instructions from the download page.
>Got an error. The error output below is from a virgin Zope 2.1.6
>binary install with the hotfix applied. I also tried the same with
>the CVS version of Zope and another compiled from the source
>distribution. Two separate machines, both i686 running Linux.
>
>----
> Error Type: SystemError
> Error Value: Failed to import class _ZClass_for_DemoPortalBase from
> module Products.PTKDemo
>
> Troubleshooting Suggestions
>
> The URL may be incorrect.
> The parameters passed to this resource may be incorrect.
> A resource that this resource relies on may be encountering an
> error.
>
> For more detailed information about the error, please refer to the HTML
> source for this page.
>
> If the error persists please contact the site maintainer. Thank you for
> your patience.
>
> Traceback (innermost last):
> File /usr/local/zope/lib/python/ZPublisher/Publish.py, line 214, in
> publish_module
> File /usr/local/zope/lib/python/ZPublisher/Publish.py, line 179, in
> publish
> File /usr/local/zope/lib/python/Zope/__init__.py, line 202, in
> zpublisher_exception_hook
> (Object: ElementWithAttributes)
> File /usr/local/zope/lib/python/ZPublisher/Publish.py, line 165, in
> publish
> File /usr/local/zope/lib/python/ZPublisher/mapply.py, line 160, in
> mapply
> (Object: manage_importObject)
> File /usr/local/zope/lib/python/ZPublisher/Publish.py, line 102, in
> call_object
> (Object: manage_importObject)
> File /usr/local/zope/lib/python/OFS/ObjectManager.py, line 484, in
> manage_importObject
> (Object: ElementWithAttributes)
> File /usr/local/zope/lib/python/ZODB/ExportImport.py, line 284, in
> importFile
> SystemError: (see above)
>----