<div>I'm cross posting this b/c I don't know where the solution will come from.</div>
<div> </div>
<div>I've got a app that I compile with py2exe. For various
reasons I am converting it from direct ZODB access to using ZEO. </div>
<div> </div>
<div>To use ZEO I am calling ZODB.config.databaseFromURL() and passing
in the config filename. This function attempts to load config.xml
to parse the config file I pass in. I get the following error
trace.</div>
<div> </div>
<div>C:\hepcat>hepcatng -d1 -v<br>Traceback (most recent call last):<br> File "hepcatng.py", line 207, in ?<br> File "hepcatng.py", line 135, in main<br> File "ep\zdb.pyc", line 35, in open_zeo
<br> File "ZODB\config.pyc", line 51, in databaseFromURL<br> File "ZODB\config.pyc", line 34, in getDbSchema<br> File "ZConfig\loader.pyc", line 31, in loadSchema<br> File "ZConfig\loader.pyc", line 63, in loadURL
<br> File "ZConfig\loader.pyc", line 102, in openResource<br> File "ZConfig\loader.pyc", line 114, in _raise_open_error<br>ZConfig.ConfigurationError: error opening file C:\hepcat\lib\libhepcat.zip\ZODB\config.xml
<br>: [Errno 2] No such file or directory: 'C:\\hepcat\\lib\\libhepcat.zip\\ZODB\\config.xml'<br> </div>
<div>I have looked in ZODB\config.py and I don't see a function that won't try to load config.xml.</div>
<div> </div>
<div>Based on that, I manually added config.xml to the zipfile library that py2exe generated and still no luck. Any ideas on what to try?<br>
</div>
<div><br>-- <br>"I was born not knowing and have had only a little time to change that here and there." -- Richard Feynman </div>