[Zope-dev] Debugging woes...
Brian Lloyd
Brian@digicool.com
Fri, 23 Apr 1999 16:45:01 -0400
> On April 19th I posted a problem try to get the ZOracleDA working, and
> am continuing to troubleshoot - I am running the Zope Debugger via the
> following script:
>
> python /opt/Zope/lib/python/ZPublisher/Test.py
> -e id="Oracle_database_connection" -e title="Z Oracle Database
> Connection"
> -e connection_string="system/manager@openview"
> -e check="YES"
> -e AUTHENTICATED_USER=formus
> -d /opt/Zope/lib/python/Main /manage_addZOracleConnection
>
> (I added the carriage returns to make it easier to read). This is the
> output I recieve:
...
> I at first tried it without the AUTHENTICATED_USER variable, but it
> gives me the same output. I don't understand how to get access to the
> method - I've even changed the zope permissions to allow an anonymous
> user to add ZOracleDA Connections and view management screens.
>
> Any ideas???
>
> In need,
>
> Brian
I believe you need to pass the right username/password to
the script with -u, as in:
python /opt/Zope/lib/python/ZPublisher/Test.py
-u myusername:mypassword
-e id="Oracle_database_connection"
-e title="Z Oracle Database Connection"
-e connection_string="system/manager@openview"
-e check="YES"
-d /opt/Zope/lib/python/Main /manage_addZOracleConnection
Brian Lloyd brian@digicool.com
Software Engineer 540.371.6909
Digital Creations http://www.digicool.com