Andreas Jung wrote:
> Especially: using virtualenv --no-site-packages?

Most certainly not.

/home/xpmt/local/lib/python2.4/site-packages/zdaemon-2.0.2-py2.4.egg/zdaemon/zdoptions.py

does not look like zdaemon 2.0.4, which is listed in the index at
http://download.zope.org/Zope2/index/2.12.0a4/zdaemon/

Hanno

> On Fri, Apr 24, 2009 at 18:54, Andreas Jung <li...@zopyx.com
> <mailto:li...@zopyx.com>> wrote:
> 
>     Using virtualenv?
> 
>     -aj
> 
> 
>     On Fri, Apr 24, 2009 at 18:51, Chetan Kumar <chetan.ml...@gmail.com
>     <mailto:chetan.ml...@gmail.com>> wrote:
> 
>         I see this while starting the server (no isues with installation)
>         ------------------------------------------------------
>         (zope2)[x...@soup zinst]$ ./bin/runzope
>         Traceback (most recent call last):
>          File
>         
> "/home/xpmt/Work/zope2/lib/python2.4/site-packages/Zope2-2.12.0a4-py2.4-linux-i686.egg/Zope2/Startup/run.py",
>         line 56, in ?
>            run()
>          File
>         
> "/home/xpmt/Work/zope2/lib/python2.4/site-packages/Zope2-2.12..0a4-py2.4-linux-i686.egg/Zope2/Startup/run.py",
>         line 19, in run
>            opts = _setconfig()
>          File
>         
> "/home/xpmt/Work/zope2/lib/python2.4/site-packages/Zope2-2.12..0a4-py2.4-linux-i686.egg/Zope2/Startup/run.py",
>         line 48, in _setconfig
>            opts.realize()
>          File
>         
> "/home/xpmt/local/lib/python2.4/site-packages/zdaemon-2.0.2-py2.4.egg/zdaemon/zdoptions.py",
>         line 279, in realize
>            self.load_schema()
>          File
>         
> "/home/xpmt/local/lib/python2.4/site-packages/zdaemon-2.0.2-py2.4.egg/zdaemon/zdoptions.py",
>         line 327, in load_schema
>            self.schema = ZConfig.loadSchema(self.schemafile)
>          File
>         
> "/home/xpmt/local/lib/python2.4/site-packages/ZConfig-2.6.1-py2.4.egg/ZConfig/loader.py",
>         line 32, in loadSchema
>            return SchemaLoader().loadURL(url)
>          File
>         
> "/home/xpmt/local/lib/python2.4/site-packages/ZConfig-2.6.1-py2.4.egg/ZConfig/loader.py",
>         line 66, in loadURL
>            return self.loadResource(r)
>          File
>         
> "/home/xpmt/local/lib/python2.4/site-packages/ZConfig-2.6.1-py2.4.egg/ZConfig/loader.py",
>         line 187, in loadResource
>            schema = ZConfig.schema.parseResource(resource, self)
>          File
>         
> "/home/xpmt/local/lib/python2.4/site-packages/ZConfig-2.6.1-py2.4.egg/ZConfig/schema.py",
>         line 27, in parseResource
>            xml.sax.parse(resource.file, parser)
>          File
>         
> "/home/xpmt/local/lib/python2.4/site-packages/_xmlplus/sax/__init__.py",
>         line 31, in parse
>            parser.parse(filename_or_stream)
>          File
>         
> "/home/xpmt/local/lib/python2.4/site-packages/_xmlplus/sax/expatreader.py",
>         line 109, in parse
>            xmlreader.IncrementalParser.parse(self, source)
>          File
>         
> "/home/xpmt/local/lib/python2.4/site-packages/_xmlplus/sax/xmlreader.py",
>         line 123, in parse
>            self.feed(buffer)
>          File
>         
> "/home/xpmt/local/lib/python2.4/site-packages/_xmlplus/sax/expatreader.py",
>         line 216, in feed
>            self._parser.Parse(data, isFinal)
>          File
>         
> "/home/xpmt/local/lib/python2.4/site-packages/_xmlplus/sax/expatreader.py",
>         line 312, in start_element
>            self._cont_handler.startElement(name, AttributesImpl(attrs))
>          File
>         
> "/home/xpmt/local/lib/python2.4/site-packages/ZConfig-2.6.1-py2.4.egg/ZConfig/schema.py",
>         line 103, in startElement
>            getattr(self, "start_" + name)(attrs)
>          File
>         
> "/home/xpmt/local/lib/python2.4/site-packages/ZConfig-2.6.1-py2.4.egg/ZConfig/schema.py",
>         line 306, in start_import
>            src = self._loader.schemaComponentSource(pkg, file)
>          File
>         
> "/home/xpmt/local/lib/python2.4/site-packages/ZConfig-2.6.1-py2.4.egg/ZConfig/loader.py",
>         line 209, in schemaComponentSource
>            package=package)
>         ZConfig.SchemaResourceError: could not load package ZServer: cannot
>         import name IDefaultViewName
>          Package name: 'ZServer'
>          File name: 'component.xml'
>          Package path: None
>         (zope2)[x...@soup zinst]$

_______________________________________________
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )

Reply via email to