[Zope-dev] Python2.4 and Zope 2.7

Matt Hamilton matth at netsight.co.uk
Sun Oct 17 12:13:46 EDT 2004


Hi All,
   I'm having some trouble getting python2.3.4 running on FreeBSD 5.3b7 
on an AMD Opteron, so for kicks tried python2.4rc3.  It managed to pass 
the recursion regex test in test_re.py that was causing python2.3.4 to 
barf, but in trying to start Zope with python2.4rc3 I get the error 
below.  Does anyone here know if Zope 2.7.0 should work with python 2.4?

-Matt

zeo1# bin/runzope
/usr/local/lib/python2.4/whrandom.py:38: DeprecationWarning: the 
whrandom module is deprecated; please use the random module
   DeprecationWarning)
Traceback (most recent call last):
   File "/usr/local/Zope-2.7.0/lib/python/Zope/Startup/run.py", line 49, 
in ?
     run()
   File "/usr/local/Zope-2.7.0/lib/python/Zope/Startup/run.py", line 18, 
in run
     opts = _setconfig()
   File "/usr/local/Zope-2.7.0/lib/python/Zope/Startup/run.py", line 41, 
in _setconfig
     opts.realize(doc="Sorry, no option docs yet.")
   File "/usr/local/Zope-2.7.0/lib/python/zdaemon/zdoptions.py", line 
264, in realize
     self.load_configfile()
   File "/usr/local/Zope-2.7.0/lib/python/zdaemon/zdoptions.py", line 
308, in load_configfile
     self.zconfig_options)
   File "/usr/local/Zope-2.7.0/lib/python/ZConfig/loader.py", line 43, 
in loadConfig
     return _get_config_loader(schema, overrides).loadURL(url)
   File "/usr/local/Zope-2.7.0/lib/python/ZConfig/loader.py", line 71, 
in loadURL
     return self.loadResource(r)
   File "/usr/local/Zope-2.7.0/lib/python/ZConfig/loader.py", line 183, 
in loadResource
     self._parse_resource(sm, resource)
   File "/usr/local/Zope-2.7.0/lib/python/ZConfig/loader.py", line 234, 
in _parse_resource
     parser.parse(matcher)
   File "/usr/local/Zope-2.7.0/lib/python/ZConfig/cfgparser.py", line 
63, in parse
     section = self.end_section(section, line[2:-1])
   File "/usr/local/Zope-2.7.0/lib/python/ZConfig/cfgparser.py", line 
116, in end_section
     self.context.endSection(
   File "/usr/local/Zope-2.7.0/lib/python/ZConfig/loader.py", line 201, 
in endSection
     sectvalue = matcher.finish()
   File "/usr/local/Zope-2.7.0/lib/python/ZConfig/matcher.py", line 170, 
in finish
     return self.constuct()
   File "/usr/local/Zope-2.7.0/lib/python/ZConfig/matcher.py", line 212, 
in constuct
     v = v.convert(ci.datatype)
   File "/usr/local/Zope-2.7.0/lib/python/ZConfig/info.py", line 65, in 
convert
     return datatype(self.value)
   File "/usr/local/Zope-2.7.0/lib/python/Zope/Startup/datatypes.py", 
line 106, in importable_name
     package = __import__(n, g, g, component)
   File "/usr/local/Zope-2.7.0/lib/python/DBTab/ClassFactories.py", line 
18, in ?
     import OFS.Uninstalled
   File "/usr/local/Zope-2.7.0/lib/python/OFS/Uninstalled.py", line 16, in ?
     import  SimpleItem, Globals, Acquisition
   File "/usr/local/Zope-2.7.0/lib/python/OFS/SimpleItem.py", line 27, in ?
     from CopySupport import CopySource
   File "/usr/local/Zope-2.7.0/lib/python/OFS/CopySupport.py", line 549, 
in ?
     action ='manage_main',)
   File 
"/usr/local/Zope-2.7.0/lib/python/DocumentTemplate/DT_String.py", line 
474, in __call__
     try: result = render_blocks(self._v_blocks, md)
   File 
"/usr/local/Zope-2.7.0/lib/python/DocumentTemplate/pDocumentTemplate.py", 
line 202, in render_blocks
     cond=md[cond]
   File 
"/usr/local/Zope-2.7.0/lib/python/DocumentTemplate/pDocumentTemplate.py", 
line 140, in __getitem__
     v = self.dicts[key]
   File 
"/usr/local/Zope-2.7.0/lib/python/DocumentTemplate/pDocumentTemplate.py", 
line 100, in __getitem__
     raise KeyError, key
KeyError: "'v'"

-- 
Matt Hamilton                                       matth at netsight.co.uk
Netsight Internet Solutions, Ltd.        Business Vision on the Internet
http://www.netsight.co.uk                             +44 (0)117 9090901
Web Design | Zope/Plone Development & Consulting | Co-location | Hosting



More information about the Zope-Dev mailing list