[ZODB-Dev] ZODB.config and py2exe
Dieter Maurer
dieter at handshake.de
Thu Jun 24 13:58:17 EDT 2004
Michael Bernstein wrote at 2004-6-21 16:55 -0700:
> ...
>Here is the relevant python code:
>
>==============================
>import ZODB.config
>
>db = ZODB.config.databaseFromURL('bookdb.conf')
> ...
>ZConfig.ConfigurationError: error opening resource C:\Documents and Settings\Michael Bernstein\Desktop\BookCapCLI\dist\library.zip\ZODB\config.xml: <urlopen error unknown url type: c>
Maybe, you should use an "absolute URL".
An absolute URL requires a scheme ("file:" in your use case).
--
Dieter
More information about the ZODB-Dev
mailing list