[Zope] Database connection problem in products folder

Sebastian Sippl sebastian@proceryon.at
Tue, 29 Oct 2002 13:13:24 +0100


--------------090201000603090401090207
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

Hi,

I need to create a database connection in my products folder.

Creating the connection works without problems.

Also, creating the z-sqlquery works.

But if i try, submit a test query, i get the error message:

Error, exceptions.AttributeError: The database connection ASF cannot be 
found

Traceback (innermost last):
  File /home/people/sebastian/Zope-2.5.0-linux2-x86/lib/python/ZPublisher/Publish.py, line 150, in publish_module
  File /home/people/sebastian/Zope-2.5.0-linux2-x86/lib/python/ZPublisher/Publish.py, line 114, in publish
  File /home/people/sebastian/Zope-2.5.0-linux2-x86/lib/python/Zope/__init__.py, line 158, in zpublisher_exception_hook
    (Object: a)
  File /home/people/sebastian/Zope-2.5.0-linux2-x86/lib/python/ZPublisher/Publish.py, line 98, in publish
  File /home/people/sebastian/Zope-2.5.0-linux2-x86/lib/python/ZPublisher/mapply.py, line 88, in mapply
    (Object: manage_test)
  File /home/people/sebastian/Zope-2.5.0-linux2-x86/lib/python/ZPublisher/Publish.py, line 39, in call_object
    (Object: manage_test)
  File /home/people/sebastian/Zope-2.5.0-linux2-x86/lib/python/Shared/DC/ZRDB/DA.py, line 328, in manage_test
    (Object: a)
  File /home/people/sebastian/Zope-2.5.0-linux2-x86/lib/python/Shared/DC/ZRDB/DA.py, line 306, in manage_test
    (Object: a)
  File /home/people/sebastian/Zope-2.5.0-linux2-x86/lib/python/Shared/DC/ZRDB/DA.py, line 394, in __call__
    (Object: a)
AttributeError: (see above)


Does anybody know how to get this working ?







--------------090201000603090401090207
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit

<html>
<head>
</head>
<body>
Hi,<br>
<br>
I need to create a database connection in my products folder.<br>
<br>
Creating the connection works without problems.<br>
<br>
Also, creating the z-sqlquery works.<br>
<br>
But if i try, submit a test query, i get the error message:<br>
<br>
<strong>Error, <em>exceptions.AttributeError</em>:</strong> The database
connection <em>ASF</em> cannot be found<br>
<br>
<pre>Traceback (innermost last):
  File /home/people/sebastian/Zope-2.5.0-linux2-x86/lib/python/ZPublisher/Publish.py, line 150, in publish_module
  File /home/people/sebastian/Zope-2.5.0-linux2-x86/lib/python/ZPublisher/Publish.py, line 114, in publish
  File /home/people/sebastian/Zope-2.5.0-linux2-x86/lib/python/Zope/__init__.py, line 158, in zpublisher_exception_hook
    (Object: a)
  File /home/people/sebastian/Zope-2.5.0-linux2-x86/lib/python/ZPublisher/Publish.py, line 98, in publish
  File /home/people/sebastian/Zope-2.5.0-linux2-x86/lib/python/ZPublisher/mapply.py, line 88, in mapply
    (Object: manage_test)
  File /home/people/sebastian/Zope-2.5.0-linux2-x86/lib/python/ZPublisher/Publish.py, line 39, in call_object
    (Object: manage_test)
  File /home/people/sebastian/Zope-2.5.0-linux2-x86/lib/python/Shared/DC/ZRDB/DA.py, line 328, in manage_test
    (Object: a)
  File /home/people/sebastian/Zope-2.5.0-linux2-x86/lib/python/Shared/DC/ZRDB/DA.py, line 306, in manage_test
    (Object: a)
  File /home/people/sebastian/Zope-2.5.0-linux2-x86/lib/python/Shared/DC/ZRDB/DA.py, line 394, in __call__
    (Object: a)
AttributeError: (see above)

</pre>
Does anybody know how to get this working ?<br>
<br>
<br>
<br>
<br>
<br>
<br>
</body>
</html>

--------------090201000603090401090207--