[python] zope - vyjimka pri startu
Hynek "rADOn" Fabian
radonk na psj.cz
Úterý Květen 25 20:48:52 CEST 2004
mam potiz se zope - pri startu chvili chrousta a skonci vyjimkou. vystup je na
konci. nejde mi rovnou o reseni ale spis jak se k nemu dobrat - zope je pro
me novy prostredi a nevim za kterej konec to vzit. od prohlizeni zdrojaku me
odradila hloubka zasobniku, adresar s logy je prazdny
prohlizel jsem zope.org ale o 'administrator's guide' se pise ze je zastarala
a 'zope book' (ktera je jinak btw sqela, uz jsem nekde v pulce) jsem radu
nenasel.
bedna je cistej slack 9.1 + Python 2.3.3 + Zope 2.7 zkompilovany ze zdroje
(na jiny bedne s gentoo a stejnou verzi pythonu to slape)
-- cut here --
zope na it_intranet:~/Zope-2.7.0 inst$ /var/zope/instance1/bin/runzope
Traceback (most recent call last):
File "/var/zope/lib/python/Zope/Startup/run.py", line 49, in ?
run()
File "/var/zope/lib/python/Zope/Startup/run.py", line 18, in run
opts = _setconfig()
File "/var/zope/lib/python/Zope/Startup/run.py", line 41, in _setconfig
opts.realize(doc="Sorry, no option docs yet.")
File "/var/zope/lib/python/zdaemon/zdoptions.py", line 264, in realize
self.load_configfile()
File "/var/zope/lib/python/zdaemon/zdoptions.py", line 308, in
load_configfile
self.zconfig_options)
File "/var/zope/lib/python/ZConfig/loader.py", line 43, in loadConfig
return _get_config_loader(schema, overrides).loadURL(url)
File "/var/zope/lib/python/ZConfig/loader.py", line 71, in loadURL
return self.loadResource(r)
File "/var/zope/lib/python/ZConfig/loader.py", line 183, in loadResource
self._parse_resource(sm, resource)
File "/var/zope/lib/python/ZConfig/loader.py", line 234, in _parse_resource
parser.parse(matcher)
File "/var/zope/lib/python/ZConfig/cfgparser.py", line 63, in parse
section = self.end_section(section, line[2:-1])
File "/var/zope/lib/python/ZConfig/cfgparser.py", line 116, in end_section
self.context.endSection(
File "/var/zope/lib/python/ZConfig/loader.py", line 201, in endSection
sectvalue = matcher.finish()
File "/var/zope/lib/python/ZConfig/matcher.py", line 170, in finish
return self.constuct()
File "/var/zope/lib/python/ZConfig/matcher.py", line 212, in constuct
v = v.convert(ci.datatype)
File "/var/zope/lib/python/ZConfig/info.py", line 65, in convert
return datatype(self.value)
File "/var/zope/lib/python/Zope/Startup/datatypes.py", line 106, in
importable_name
package = __import__(n, g, g, component)
File "/var/zope/lib/python/DBTab/ClassFactories.py", line 18, in ?
import OFS.Uninstalled
File "/var/zope/lib/python/OFS/Uninstalled.py", line 16, in ?
import SimpleItem, Globals, Acquisition
File "/var/zope/lib/python/OFS/SimpleItem.py", line 27, in ?
from CopySupport import CopySource
File "/var/zope/lib/python/OFS/CopySupport.py", line 549, in ?
action ='manage_main',)
File "/var/zope/lib/python/DocumentTemplate/DT_String.py", line 474, in
__call__
try: result = render_blocks(self._v_blocks, md)
File "/var/zope/lib/python/DocumentTemplate/pDocumentTemplate.py", line 202,
in render_blocks
cond=md[cond]
File "/var/zope/lib/python/DocumentTemplate/pDocumentTemplate.py", line 140,
in __getitem__
v = self.dicts[key]
File "/var/zope/lib/python/DocumentTemplate/pDocumentTemplate.py", line 100,
in __getitem__
raise KeyError, key
KeyError: "'v'"
Další informace o konferenci Python