[Zope3-dev] Win32 failure
Pedro Vale Lima
pvl@sapo.pt
Thu, 14 Nov 2002 16:21:25 +0000 (WET)
Hello,
I tried to run zope (cvs checkout) on win32 with python 2.2.2
and pyxml 8.1. I know the doc says to use 2.2.1 and 7.0. Is
this still true, or the tried configuration should work and the
error is somewhere else?
Thanks
pvl
Note: The build was OK, one test failed with the error
C:\Zope3>python test.py -v
Error importing
Zope.App.OFS.Services.TranslationService.Views.Browser.tests.tes
tTranslate
No module named BaseTranslationServiceView
File "C:\Zope3
\lib\python\Zope\App\OFS\Services\TranslationService\Views\Brows
er\Translate.py", line 20, in ?
from BaseTranslationServiceView import
BaseTranslationServiceView
and the run failed with
C:\Zope3>python z3.py
Traceback (most recent call last):
File "z3.py", line 63, in ?
run()
File "z3.py", line 48, in run
config('site.zcml')
File "C:\Zope3\lib\python\Zope\App\_app.py", line 40, in
config
XMLConfig(file)()
File "C:\Zope3\lib\python\Zope\Configuration\xmlconfig.py",
line 277, in __ini
t__
self._directives)
File "C:\Zope3\lib\python\Zope\Configuration\xmlconfig.py",
line 228, in xmlco
nfig
parser.parse(src)
File "C:\PYTHON22\Lib\site-
packages\_xmlplus\sax\expatreader.py", line 107, in
parse
xmlreader.IncrementalParser.parse(self, source)
File "C:\PYTHON22\Lib\site-
packages\_xmlplus\sax\xmlreader.py", line 123, in p
arse
self.feed(buffer)
File "C:\PYTHON22\Lib\site-
packages\_xmlplus\sax\expatreader.py", line 207, in
feed
self._parser.Parse(data, isFinal)
File "C:\PYTHON22\Lib\site-
packages\_xmlplus\sax\expatreader.py", line 332, in
start_element_ns
AttributesNSImpl(newattrs, qnames))
File "C:\Zope3\lib\python\Zope\Configuration\xmlconfig.py",
line 112, in start
ElementNS
stack.append(
File "C:\Zope3\lib\python\Zope\Configuration\meta.py", line
207, in begin
return _exe(callable, subs, _context, kw)
File "C:\Zope3\lib\python\Zope\Configuration\meta.py", line
162, in _exe
r = callable(context, **kw)
File "C:\Zope3\lib\python\Zope\Configuration\xmlconfig.py",
line 285, in inclu
de
package = _context.resolve(package)
File "C:\Zope3\lib\python\Zope\Configuration\xmlconfig.py",
line 190, in resol
ve
return name.resolve(dottedname, self.__package)
File "C:\Zope3\lib\python\Zope\Configuration\name.py", line
40, in resolve
return __import__(name, _globals, _globals, _silly)
Zope.Configuration.xmlconfig.ZopeXMLConfigurationError:
File "site.zcml", line 3
, column 0
ImportError: No module named Zope/Configuration
--------------------------------------------
SAPO ADSL.PT Agora o kit apenas por 75 Eur. e tráfego ilimitado até ao final de 2002!
Mais informações em http://www.sapo.pt/kitadsl