Hi,

I've installed with success Zope 3.2.0 on Ubuntu from source (I haven't used Ubuntu Zope Package).


Now, I would like to install Zope3 Wiki 0.2.5 package. I've fetched wiki source from SVN. Next, I've put this file in /lib/python/ directory in my Zope instance : /var/zope/1/lib/python/zwiki/

Next, I've put zwiki-configure.zcml file in /var/zope/1/etc/package-includes/ directory. zwiki-configure.zcml contain :

<include package="zwiki" />

Now, when I restart zope (/var/zope/1/bin/runzope) I've this error :

File "/usr/local/src/Zope-3.2.0/build/lib.linux-i686-2.4/zope/configuration/config.py", line 184, in resolve
    mod = __import__(mname, *_import_chickens)
  File "/var/zope/1/lib/python/zwiki/interfaces.py", line 22, in ?
    from zope.component.interfaces import IObjectEvent
zope.configuration.xmlconfig.ZopeXMLConfigurationError: File "/var/zope/1/etc/site.zcml", line 7.2-7.55 ZopeXMLConfigurationError: File "/var/zope/1/etc/package-includes/zwiki-configure.zcml", line 1.0-1.27 ZopeXMLConfigurationError: File "/var/zope/1/lib/python/zwiki/configure.zcml", line 84.2-87.8
    ImportError: cannot import name IObjectEvent

Full log in file joined.

Thanks for your help,
--Stéphane
  File "./runzope", line 48, in ?
    run()
  File "./runzope", line 44, in run
    main(["-C", CONFIG_FILE] + sys.argv[1:])
  File 
"/usr/local/src/Zope-3.2.0/build/lib.linux-i686-2.4/zope/app/twisted/main.py", 
line 74, in main
    service = setup(load_options(args))
  File 
"/usr/local/src/Zope-3.2.0/build/lib.linux-i686-2.4/zope/app/twisted/main.py", 
line 139, in setup
    zope.app.appsetup.config(options.site_definition, features=features)
  File 
"/usr/local/src/Zope-3.2.0/build/lib.linux-i686-2.4/zope/app/appsetup/appsetup.py",
 line 110, in config
    context = xmlconfig.file(file, context=context, execute=execute)
  File 
"/usr/local/src/Zope-3.2.0/build/lib.linux-i686-2.4/zope/configuration/xmlconfig.py",
 line 554, in file
    include(context, name, package)
  File 
"/usr/local/src/Zope-3.2.0/build/lib.linux-i686-2.4/zope/configuration/xmlconfig.py",
 line 490, in include
    processxmlfile(f, context)
  File 
"/usr/local/src/Zope-3.2.0/build/lib.linux-i686-2.4/zope/configuration/xmlconfig.py",
 line 345, in processxmlfile
    parser.parse(src)
  File "/usr/lib/python2.4/site-packages/_xmlplus/sax/expatreader.py", line 
109, in parse
    xmlreader.IncrementalParser.parse(self, source)
  File "/usr/lib/python2.4/site-packages/_xmlplus/sax/xmlreader.py", line 123, 
in parse
    self.feed(buffer)
  File "/usr/lib/python2.4/site-packages/_xmlplus/sax/expatreader.py", line 
216, in feed
    self._parser.Parse(data, isFinal)
  File "/usr/lib/python2.4/site-packages/_xmlplus/sax/expatreader.py", line 
364, in end_element_ns
    self._cont_handler.endElementNS(pair, None)
  File 
"/usr/local/src/Zope-3.2.0/build/lib.linux-i686-2.4/zope/configuration/xmlconfig.py",
 line 326, in endElementNS
    self.context.end()
  File 
"/usr/local/src/Zope-3.2.0/build/lib.linux-i686-2.4/zope/configuration/config.py",
 line 544, in end
    self.stack.pop().finish()
  File 
"/usr/local/src/Zope-3.2.0/build/lib.linux-i686-2.4/zope/configuration/config.py",
 line 690, in finish
    actions = self.handler(context, **args)
  File 
"/usr/local/src/Zope-3.2.0/build/lib.linux-i686-2.4/zope/configuration/xmlconfig.py",
 line 490, in include
    processxmlfile(f, context)
  File 
"/usr/local/src/Zope-3.2.0/build/lib.linux-i686-2.4/zope/configuration/xmlconfig.py",
 line 345, in processxmlfile
    parser.parse(src)
  File "/usr/lib/python2.4/site-packages/_xmlplus/sax/expatreader.py", line 
109, in parse
    xmlreader.IncrementalParser.parse(self, source)
  File "/usr/lib/python2.4/site-packages/_xmlplus/sax/xmlreader.py", line 123, 
in parse
    self.feed(buffer)
  File "/usr/lib/python2.4/site-packages/_xmlplus/sax/expatreader.py", line 
216, in feed
    self._parser.Parse(data, isFinal)
  File "/usr/lib/python2.4/site-packages/_xmlplus/sax/expatreader.py", line 
364, in end_element_ns
    self._cont_handler.endElementNS(pair, None)
  File 
"/usr/local/src/Zope-3.2.0/build/lib.linux-i686-2.4/zope/configuration/xmlconfig.py",
 line 326, in endElementNS
    self.context.end()
  File 
"/usr/local/src/Zope-3.2.0/build/lib.linux-i686-2.4/zope/configuration/config.py",
 line 544, in end
    self.stack.pop().finish()
  File 
"/usr/local/src/Zope-3.2.0/build/lib.linux-i686-2.4/zope/configuration/config.py",
 line 690, in finish
    actions = self.handler(context, **args)
  File 
"/usr/local/src/Zope-3.2.0/build/lib.linux-i686-2.4/zope/configuration/xmlconfig.py",
 line 490, in include
    processxmlfile(f, context)
  File 
"/usr/local/src/Zope-3.2.0/build/lib.linux-i686-2.4/zope/configuration/xmlconfig.py",
 line 345, in processxmlfile
    parser.parse(src)
  File "/usr/lib/python2.4/site-packages/_xmlplus/sax/expatreader.py", line 
109, in parse
    xmlreader.IncrementalParser.parse(self, source)
  File "/usr/lib/python2.4/site-packages/_xmlplus/sax/xmlreader.py", line 123, 
in parse
    self.feed(buffer)
  File "/usr/lib/python2.4/site-packages/_xmlplus/sax/expatreader.py", line 
216, in feed
    self._parser.Parse(data, isFinal)
  File "/usr/lib/python2.4/site-packages/_xmlplus/sax/expatreader.py", line 
364, in end_element_ns
    self._cont_handler.endElementNS(pair, None)
  File 
"/usr/local/src/Zope-3.2.0/build/lib.linux-i686-2.4/zope/configuration/xmlconfig.py",
 line 326, in endElementNS
    self.context.end()
  File 
"/usr/local/src/Zope-3.2.0/build/lib.linux-i686-2.4/zope/configuration/config.py",
 line 544, in end
    self.stack.pop().finish()
  File 
"/usr/local/src/Zope-3.2.0/build/lib.linux-i686-2.4/zope/configuration/config.py",
 line 689, in finish
    args = toargs(context, *self.argdata)
  File 
"/usr/local/src/Zope-3.2.0/build/lib.linux-i686-2.4/zope/configuration/config.py",
 line 1381, in toargs
    args[str(name)] = field.fromUnicode(s)
  File 
"/usr/local/src/Zope-3.2.0/build/lib.linux-i686-2.4/zope/configuration/fields.py",
 line 139, in fromUnicode
    value = self.context.resolve(name)
  File 
"/usr/local/src/Zope-3.2.0/build/lib.linux-i686-2.4/zope/configuration/config.py",
 line 184, in resolve
    mod = __import__(mname, *_import_chickens)
  File "/var/zope/1/lib/python/zwiki/interfaces.py", line 22, in ?
    from zope.component.interfaces import IObjectEvent
zope.configuration.xmlconfig.ZopeXMLConfigurationError: File 
"/var/zope/1/etc/site.zcml", line 7.2-7.55
    ZopeXMLConfigurationError: File 
"/var/zope/1/etc/package-includes/zwiki-configure.zcml", line 1.0-1.27
    ZopeXMLConfigurationError: File 
"/var/zope/1/lib/python/zwiki/configure.zcml", line 84.2-87.8
    ImportError: cannot import name IObjectEvent
_______________________________________________
Zope3-dev mailing list
Zope3-dev@zope.org
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com

Reply via email to