[Zope3-dev] Pyskel error: import not found

Florian Lindner mailinglists at xgm.de
Sun Aug 22 09:04:19 EDT 2004


Hello,
I've a simple interface:

import zope.app.pluggableauth.interfaces.IUserSchemafied

class ICSPrincipal(IUserSchemafied):
	implements (IUserSchemafied)

And want pyskel to create the implementation skeleton:

florian at osiris src $ python ../utilities/pyskel.py 
CSPrincipal.interfaces.ICSPrincipal

Traceback (most recent call last):
  File "../utilities/pyskel.py", line 188, in ?
    skel(a)
  File "../utilities/pyskel.py", line 80, in skel
    iface = resolve(name)
  File "../utilities/pyskel.py", line 131, in resolve
    m=__import__(mod, _globals, _globals, _silly)
  File "/home/florian/Zope3/src/CSPrincipal/interfaces.py", line 1, in ?
    import zope.app.pluggableauth.interfaces.IUserSchemafied
ImportError: No module named IUserSchemafied

Why doesn't it find IUserSchemafied?

http://localhost:8080/++apidoc++/Interface/zope.app.pluggableauth.interfaces.IUserSchemafied/apiindex.html

Thx,
Florian


More information about the Zope3-dev mailing list