[Zope3-dev] annoying exception - amateur mistake
Stephan Richter
srichter at cosmos.phy.tufts.edu
Mon Mar 20 08:30:42 EST 2006
On Tuesday 07 March 2006 10:02, Adam Groszer wrote:
> Of course I forgot to modify the zcml (remove the set_attributes=),
> so I got the following exception which is not quite useful:
>
> Traceback (most recent call last):
> File "\bin\runzope", line 48, in ?
> run()
> File "\bin\runzope", line 44, in run
> main(["-C", CONFIG_FILE] + sys.argv[1:])
> File "Y:\zope\svn_zope3\src\zope\app\twisted\main.py", line 74, in main
> service = setup(load_options(args))
> File "Y:\zope\svn_zope3\src\zope\app\twisted\main.py", line 139, in setup
> zope.app.appsetup.config(options.site_definition, features=features)
> File "Y:\zope\svn_zope3\src\zope\app\appsetup\appsetup.py", line 110, in
> config context = xmlconfig.file(file, context=context, execute=execute)
> File "Y:\zope\svn_zope3\src\zope\configuration\xmlconfig.py", line 556, in
> file context.execute_actions()
> File "Y:\zope\svn_zope3\src\zope\configuration\config.py", line 606, in
> execute_actions for action in resolveConflicts(self.actions):
> File "Y:\zope\svn_zope3\src\zope\configuration\config.py", line 1511, in
> resolveConflicts raise ConfigurationConflictError(conflicts)
> zope.configuration.config.ConfigurationConflictError
>
> Any arguments? Or just put it straight into the collector?
I think there was more to the traceback, for example the line and file where
this happened. Also, the error raised is correct, though I agree it could be
more descriptive. So yes, you could add it to the collector or just fix it
yourself. But I think it is a hard bug/misfeature to fix.
Regards,
Stephan
--
Stephan Richter
CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student)
Web2k - Web Software Design, Development and Training
More information about the Zope3-dev
mailing list