473,569 Members | 2,664 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

zope ZMySQLDA

zope 2.71b
ZMySQLDA 2.08
MySQL-python-0.9.2
mysql 3.23.55NT

When I attempt to connect, by creating a Add Z MySQL Database Connection, I
set the connection string
to database user password, and i keep getting the following error
Site Error
An error was encountered while publishing this resource.

Error Type: AttributeError
Error Value: server_capabili ties


Any ideas why?

Don Rivard
Jul 18 '05 #1
3 2812
Don Rivard wrote:
zope 2.71b
ZMySQLDA 2.08
MySQL-python-0.9.2
mysql 3.23.55NT

When I attempt to connect, by creating a Add Z MySQL Database Connection,
I set the connection string
to database user password, and i keep getting the following error
Site Error
An error was encountered while publishing this resource.

Error Type: AttributeError
Error Value: server_capabili ties


Hi,

If you want to see the stacktrace in error messages put
<dtml-var error_tb>
in the standard_error_ message of Zope. This needs to be done
trough the web and is very handy for debugging.

The stacktrace shows you the file and the line where
the error occured. Maybe this helps you to find your problem.

thomas
Jul 18 '05 #2
"Thomas Güttler" <gu******@thoma s-guettler.de> a écrit dans le message de
news: bf************@ ID-63505.news.uni-berlin.de...
Don Rivard wrote:

If you want to see the stacktrace in error messages put
<dtml-var error_tb>
in the standard_error_ message of Zope. This needs to be done
trough the web and is very handy for debugging.

The stacktrace shows you the file and the line where
the error occured. Maybe this helps you to find your problem.

thomas


With Zope 2.6.x (and later), the full traceback and the REQUEST object value
when the exception raised are in the error_log object.

--Gilles

Jul 18 '05 #3
I know get:

Error Type: AttributeError
Error Value: server_capabili ties
Traceback (innermost last):

a.. Module ZPublisher.Publ ish, line 49, in publish
b.. Module ZPublisher.mapp ly, line 32, in mapply
c.. Module ZPublisher.Publ ish, line 38, in call_object
d.. Module Products.ZMySQL DA.DA, line 102, in manage_addZMySQ LConnection
e.. Module Shared.DC.ZRDB. Connection, line 58, in __init__
f.. Module Shared.DC.ZRDB. Connection, line 86, in edit
g.. Module Products.ZMySQL DA.DA, line 120, in connect
h.. Module Products.ZMySQL DA.db, line 179, in __init__
AttributeError: server_capabili ties

I'm not sure what server_capabili ties really means.
I will write my own DA for this. Thanks

"Thomas Güttler" <gu******@thoma s-guettler.de> wrote in message
news:bf******** ****@ID-63505.news.uni-berlin.de...
Don Rivard wrote:
zope 2.71b
ZMySQLDA 2.08
MySQL-python-0.9.2
mysql 3.23.55NT

When I attempt to connect, by creating a Add Z MySQL Database Connection, I set the connection string
to database user password, and i keep getting the following error
Site Error
An error was encountered while publishing this resource.

Error Type: AttributeError
Error Value: server_capabili ties


Hi,

If you want to see the stacktrace in error messages put
<dtml-var error_tb>
in the standard_error_ message of Zope. This needs to be done
trough the web and is very handy for debugging.

The stacktrace shows you the file and the line where
the error occured. Maybe this helps you to find your problem.

thomas

Jul 18 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
4920
by: Sig | last post by:
Hi there, Could you help me finding out whether Zope could be a serious technological framework for big corporation (compared to J2EE and ..Net) or not ? In the (quite very) big corporation I work in, the IT managers are wondering about the future of web technologies for our intranets. Currently, we run web applications in many...
0
1081
by: Chris Withers | last post by:
Michal Kurowski wrote: > transactional = self.db.server_capabilities & CLIENT.TRANSACTIONS > > to: > > transactional = CLIENT.TRANSACTIONS This is NOT a good fix. All you're doing is ignoring the server's capabilities, so if the server supports transactions and the client doesn't, or vice versa,
4
2331
by: Jochen Demuth | last post by:
Hi, I am trying to install ZWiki on Zope 2.5.1 / Debian 2.4.20-bf2.4-xfs. First I copied the contents of the ZWiki-0.32.0.tgz to the Products-directory under SOFTWARE_HOME: This is what it contained before: server1:/usr/lib/zope/lib/python/Products# ls ExternalMethod PageTemplates StandardCacheManagers ZSQLMethods...
9
1591
by: john | last post by:
Hi I am developing a timesheet system. It will have 3 levels of access 1)Administrator 2)Approver -- Will approve or reject the timesheet filled by employees 3)Employees -- Fill in the timesheet which will ontain info like start time & end for task & task description. There will be different projects with different employees & approvers...
5
2262
by: jsmilan | last post by:
Hi, all; I'm strictly an amateur developer who has dabbled in a half dozen languages on eight or nine systems over 20 years or so. I have never devoted the time or energy to thoroughly learn any one of them, so I have become a true JOATAMON (Jack Of All Trades And Master Of None). I apologize in advance for any truly newb sounding...
4
1551
by: Carl | last post by:
Using COM and ADO on Win32, it is very easy to access databases (eg MySql, MS SQL Server, etc) from Python. Does anybody know if it is possible to access databases from Zope (which is written in Python) using COM and ADO? Carl
47
2571
by: Will Stuyvesant | last post by:
Hello all, So Zope still lives, yay. Well, I like that they use Python. <rant> What amazed me is they write that they "added types to the variables and hope that it will be added to the Python project too". Really. ROFL.
0
2111
by: Unigroup of New York | last post by:
Content-Type: multipart/mixed; boundary="------------C465DF38DCB38DD2AF7117E0" Lines: 327 Date: Tue, 15 Feb 2005 23:36:38 -0500 NNTP-Posting-Host: 24.46.113.251 X-Complaints-To: abuse@cv.net X-Trace: fe12.lga 1108528794 24.46.113.251 (Tue, 15 Feb 2005 21:39:54 MST) NNTP-Posting-Date: Tue, 15 Feb 2005 21:39:54 MST Xref:...
21
1588
by: godwin | last post by:
Hi all, I wanna thank Martin for helping out with my ignorance concerning execution of stored procedure with python. Now i have decided to write a web app that googles into my companies proprietary database. I need to know whether zope is good for that job. But even the introduction to zope in the zope book was intimidating. Are there any...
0
7698
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7612
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7924
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
6284
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5513
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5219
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3640
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1213
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
937
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.