On Tue, Apr 10, 2007 at 04:29:57PM +0530, Baiju M wrote:
> Brian Sutherland wrote:
> 
> >Ok, I'm mostly done with what I wanted to do on that branch. I want to
> >give people a chance to review it (feel free to commit directly to the
> >branch) so I'll leave it on the branch for about 2 weeks before trying
> >to merge it to the trunk.
> >
> I am getting an error when running from an instance after
> removing zodb section in etc/zope.conf
> 
>     File "./bin/runzope", line 48, in ?
>       run()
>     File "./bin/runzope", line 44, in run
>       main(["-C", CONFIG_FILE] + sys.argv[1:])
>     File "/mbaiju/wa/jinty-zodbless/src/zope/app/twisted/main.py", line 
> 76, in main
>       service = setup(load_options(args))
>     File "/mbaiju/wa/jinty-zodbless/src/zope/app/twisted/main.py", line 
> 145, in setup
>       app_factory = appsetup.setup_app_factory(options.databases)
>     File "/mbaiju/wa/jinty-zodbless/src/zope/app/appsetup/appsetup.py", 
> line 221, in setup_app_factory
>       db = multi_database(database_factories)[0][0]
>   IndexError: list index out of range

Thanks for having a look!

You need to register an zope.app.appsetup.interfaces.IApplicationFactory
utility if you want to be able to remove the <zodb> section from the
config file. (look in zope.app.zodbless on the branch)

I'll make the error message more explicit.

> 
> 
> Regards,
> Baiju M
> 
> _______________________________________________
> Zope3-dev mailing list
> Zope3-dev@zope.org
> Unsub: http://mail.zope.org/mailman/options/zope3-dev/jinty%40web.de
> 
> 

-- 
Brian Sutherland
_______________________________________________
Zope3-dev mailing list
Zope3-dev@zope.org
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com

Reply via email to