[Zope3-Users] Re: Unable to start new Zope3 instance - missing meta.zcml

Philipp von Weitershausen philipp at weitershausen.de
Tue Oct 10 12:31:19 EDT 2006


Kent Tenney wrote:
> Howdy,
> 
> Zope3 trunk, r 70593 on W2K
> 
> I get a traceback when trying to start Zope3 from a newly
> created instance. The instance is created in a new directory.

If that's actually the case (new directory), then you probably have some 
stale data in zopeskel/etc/package-includes. Suggestion: remove 
*-configure.zcml in there and do "make" again.

Btw, perhaps there's an actual reason for you to develop against the 
trunk, but problems like these don't happen with releases. You may want 
to consider using a release package.

> C:\Python24\Lib\site-packages\zope3-trunk\bin>python mkzopeinstance -d 
> \tmp\z3
> Please choose a username for the initial administrator account.
> <snip>
> Verify password:
> 
> C:\Python24\Lib\site-packages\zope3-trunk\bin>cd \tmp\z3\bin
> 
> C:\tmp\z3\bin>runzope
> 
> C:\Python24\Lib\site-packages\zope3-trunk\src\zope\configuration\config.py:204: 
> 
> DeprecationWarning: zope.app.mail has moved to zope.sendmail. Import of 
> zope.app
> .mail will become unsupported in Zope 3.5
>  return __import__(mname+'.'+oname, *_import_chickens)
> Traceback (most recent call last):
>  File "C:\tmp\z3\bin\runzope", line 48, in ?
>    run()
>  File "C:\tmp\z3\bin\runzope", line 44, in run
>    main(["-C", CONFIG_FILE] + sys.argv[1:])
>  File 
> "C:\Python24\Lib\site-packages\zope3\src\zope\app\twisted\main.py", line
> 73, in main
>  File 
> "C:\Python24\Lib\site-packages\zope3\src\zope\app\twisted\main.py", line
> 142, in setup
>  File 
> "c:\Python24\Lib\site-packages\zope3\src\zope\app\appsetup\appsetup.py",
> line 110, in config
>  File 
> "C:\Python24\Lib\site-packages\zope3-trunk\src\zope\configuration\xmlconf
> ig.py", line 587, in file
>    include(context, name, package)
>  File 
> "C:\Python24\Lib\site-packages\zope3-trunk\src\zope\configuration\xmlconf
> ig.py", line 523, in include
>    processxmlfile(f, context)
>  File 
> "C:\Python24\Lib\site-packages\zope3-trunk\src\zope\configuration\xmlconf
> ig.py", line 378, in processxmlfile
>    parser.parse(src)
>  File "C:\Python24\lib\site-packages\xml\sax\expatreader.py", line 109, 
> in pars
> e
>    xmlreader.IncrementalParser.parse(self, source)
>  File "C:\Python24\lib\site-packages\xml\sax\xmlreader.py", line 123, in 
> parse
>    self.feed(buffer)
>  File "C:\Python24\lib\site-packages\xml\sax\expatreader.py", line 216, 
> in feed
> 
>    self._parser.Parse(data, isFinal)
>  File "C:\Python24\lib\site-packages\xml\sax\expatreader.py", line 364, 
> in end_
> element_ns
>    self._cont_handler.endElementNS(pair, None)
>  File 
> "C:\Python24\Lib\site-packages\zope3-trunk\src\zope\configuration\xmlconf
> ig.py", line 357, in endElementNS
>    self.context.end()
>  File 
> "C:\Python24\Lib\site-packages\zope3-trunk\src\zope\configuration\config.
> py", line 542, in end
>    self.stack.pop().finish()
>  File 
> "C:\Python24\Lib\site-packages\zope3-trunk\src\zope\configuration\config.
> py", line 690, in finish
>    actions = self.handler(context, **args)
>  File 
> "C:\Python24\Lib\site-packages\zope3-trunk\src\zope\configuration\xmlconf
> ig.py", line 523, in include
>    processxmlfile(f, context)
>  File 
> "C:\Python24\Lib\site-packages\zope3-trunk\src\zope\configuration\xmlconf
> ig.py", line 378, in processxmlfile
>    parser.parse(src)
>  File "C:\Python24\lib\site-packages\xml\sax\expatreader.py", line 109, 
> in pars
> e
>    xmlreader.IncrementalParser.parse(self, source)
>  File "C:\Python24\lib\site-packages\xml\sax\xmlreader.py", line 123, in 
> parse
>    self.feed(buffer)
>  File "C:\Python24\lib\site-packages\xml\sax\expatreader.py", line 216, 
> in feed
> 
>    self._parser.Parse(data, isFinal)
>  File "C:\Python24\lib\site-packages\xml\sax\expatreader.py", line 364, 
> in end_
> element_ns
>    self._cont_handler.endElementNS(pair, None)
>  File 
> "C:\Python24\Lib\site-packages\zope3-trunk\src\zope\configuration\xmlconf
> ig.py", line 357, in endElementNS
>    self.context.end()
>  File 
> "C:\Python24\Lib\site-packages\zope3-trunk\src\zope\configuration\config.
> py", line 542, in end
>    self.stack.pop().finish()
>  File 
> "C:\Python24\Lib\site-packages\zope3-trunk\src\zope\configuration\config.
> py", line 690, in finish
>    actions = self.handler(context, **args)
>  File 
> "C:\Python24\Lib\site-packages\zope3-trunk\src\zope\configuration\xmlconf
> ig.py", line 516, in include
>    f = openInOrPlain(path)
>  File 
> "C:\Python24\Lib\site-packages\zope3-trunk\src\zope\configuration\xmlconf
> ig.py", line 427, in openInOrPlain
>    fp = open(filename)
> zope.configuration.xmlconfig.ZopeXMLConfigurationError: File 
> "C:\tmp\z3\etc\site
> .zcml", line 3.2-3.50
>    ZopeXMLConfigurationError: File 
> "C:\tmp\z3\etc\package-includes\mail-meta.zc
> ml", line 1.0-1.51
>    IOError: [Errno 2] No such file or directory: 
> 'C:\\Python24\\Lib\\site-packa
> ges\\zope3-trunk\\src\\zope\\app\\mail\\meta.zcml'



More information about the Zope3-users mailing list