Re: [Zope] ZMySQLDA

2005-09-08 Thread Andy Dustman
On 9/1/05, michael [EMAIL PROTECTED] wrote: Hi, I am trying to set this up, following install instructions from zope.org/Members/Mike/ZMySQLDA make -f Makefile command works fine, but 'make' afterwards produces the following error: That page, which no longer exists, was

Re: [Zope] Problem with ZSQLMethods/MySQL after update

2005-06-29 Thread Andy Dustman
Greg's right: ZMySQLDA-2.0.8 definitely won't work properly with MySQL-python-1.2.0. You need ZMySQLDA-2.0.9b3. On 6/29/05, Greg Fischer [EMAIL PROTECTED] wrote: I could be totally wrong, but just a thought You might remove the Zmysqlda 2.0.8 you have and download and install the

Re: [Zope] MySQL timestamp issue

2005-06-03 Thread Andy Dustman
On 6/3/05, Hugo Ramos [EMAIL PROTECTED] wrote: I already know what exactly makes Zope hang! The problem is located at times.py that was installed by MySQL-Python 1.2.0 (MySQL-python.exe-1.2.0.win32-py2.4.zip) This is a package for Python-2.4. Are you using Python-2.4 with Zope-2.7? If you are,

Re: [Zope] MySQL timestamp issue

2005-06-03 Thread Andy Dustman
On 6/3/05, Hugo Ramos [EMAIL PROTECTED] wrote: Yellow, I wrote the wrong version. I'm using MySQL 4.0.24 + Zope 276 + mysql-python 1.0.0 + ZMySQLDA 2.0.9b3 Take a look at ZMySQLDA/db.py:

Re: [Zope] dollars-and-cents display fails

2005-05-14 Thread Andy Dustman
On 5/14/05, David H [EMAIL PROTECTED] wrote: Greg, Have you contacted the mySQL product maintainer? This is not a Zope community issue. Which is to say, many of us have the instinct to help but simply do not use mySQL and therefore have nothing to suggest. Other than what is obvious: a)

Re: [Zope] dollars-and-cents display fails

2005-05-12 Thread Andy Dustman
On 5/12/05, Greg Fischer [EMAIL PROTECTED] wrote: Thanks Andy. I do have those versions. But Python is 2.3.5 because I didnt want to move to 2.4.x as I think I read something in the README for Zope stating it was not tested for compatibility. (right?) I guess my thought is... Does 2.3.5

Re: [Zope] Z SQL Methods and the SQL LIMIT clause

2005-05-11 Thread Andy Dustman
On 5/11/05, Asad Habib [EMAIL PROTECTED] wrote: Is there a reason why Z SQL methods do not allow the use of the LIMIT clause? I am absolutely certain that my query has the right syntax since I executed it against the MySQL server and it gave me the correct results. FYI, I have provided the

Re: [Zope] MySQLdb and unicode

2005-05-06 Thread Andy Dustman
On 5/6/05, robert rottermann [EMAIL PROTECTED] wrote: Hi there, I have a problem using MySQLdb and unicode. with older version (0.92) I could set a parameter unicode to the connect() method to tell MySQLdb what charset to use. This parameter is not accepted anymore. The only way to deal

Re: [Zope-dev] Making a ZSQL.DA fully multi-threaded?

2004-07-16 Thread Andy Dustman
On Fri, 16 Jul 2004 10:36:27 -0400, Brad Clements [EMAIL PROTECTED] wrote: The SAP folks say their adapter is multi-thread capable, but I've come to believe that only means that it's ok to open a connection in one thread and use it in another, but NOT to have 2 threads make requests on

RE: [Zope-dev] where is Zope 2.5.1?

2002-03-13 Thread Andy Dustman
On Wed, 2002-03-13 at 12:04, Brian Lloyd wrote: - Absolutely eliminate SQL db access as a cause (it sounds like we have proof of this now) This sounds like it is not specific to any DA. Is that the case? -- Andy Dustman PGP: 0x930B8AB6 @ .net http://dustman.net

Re: [Zope-dev] Zope 2.6 planning - call for contributors!

2002-03-01 Thread Andy Dustman
() as a keyword parameter to maintain backwards compatibility with older Zopes. Adding this would make Z SQL Methods work a bit more like dtml-in ... start=skip_rows size=max_rows. There may be issues with result caching, but I don't think it'll be too much of a problem. -- Andy Dustman PGP

Re: hooking up gdb (was Re: [Zope-dev] More signal 11 restarts....)

2001-12-06 Thread Andy Dustman
connections, since I expect this would cause problems on virtually all implementations. -- Andy Dustman PGP: 0x930B8AB6 @ .net http://dustman.net/andy You can have my keys when you pry them from my dead, cold neurons. ___ Zope-Dev

Re: [Zope-dev] general ZMySQL question-wierd results

2001-04-13 Thread Andy Dustman
into the other fields one char at a time. Any help would be GREATLY appreciated. Owner id (owner_id) can't be 'P' because it is a numeric column. I suspect if you use the mysql client program, you will find that the correct values are in there. -- Andy Dustman PGP: 0xC72F3F1D @ .net

Re: [Zope-dev] LONGing for normal inetegers...

2001-02-14 Thread Andy Dustman
, as longs are no longer rendered with the L suffix. That's my preferred solution, but also see: http://www.zope.org/Members/adustman/Tips/no_el -- Andy Dustman PGP: 0xC72F3F1D @ .net http://dustman.net/andy "Normally with carbonara you use eggs, but I used lobster b

Re: [Zope] MYSQL Problem

2001-01-29 Thread Andy Dustman
, INTEGER (particularly UNSIGNED) can overflow in Python, so they need to be returned as Python long integers. Python adds the L when doing str(), but Python 2.0+ does not do this (only on repr()). -- Andy Dustman PGP: 0xC72F3F1D @ .net http://dustman.net/andy "Nor

RE: [Zope] ZMySQLDA problems after upgrade

2001-01-26 Thread Andy Dustman
. That sounds very much like a good thing. I will have to add that to the tip I have (really, re-write it). I actually forgot that it did that. Randy, does setting max_rows to zero fix things for you? -- Andy Dustman PGP: 0xC72F3F1D @ .net http://dustman.net/andy "Nor

RE: [Zope] ZMySQLDA problems after upgrade

2001-01-26 Thread Andy Dustman
On Fri, 26 Jan 2001, Randall F. Kern wrote: You will get 0 rows if you use max_rows=0. OK, I agree that this is a legit bug, and I am in the process of working up a new patch. I'll send it off-list when it's ready. -- Andy Dustman PGP: 0xC72F3F1D @ .net http

Re: [Zope] MySQL

2001-01-26 Thread Andy Dustman
exception. -- Andy Dustman PGP: 0xC72F3F1D @ .net http://dustman.net/andy "Normally with carbonara you use eggs, but I used lobster brains instead." -- Masahiko Kobe (Iron Chef Italian): 30-year-old Giant Lobster Battle __

[Zope] Re: connecting mysql db from zope

2001-01-18 Thread Andy Dustman
named sql See, you have the same problem for the ZSolidDA. I would suggest modifying z2.py to print sys.path shortly after importing sys. This will tell you where python is looking for modules. If MySQLdb is not installed in one of those directories, that is your problem. -- Andy Dustman

Re: [zope] : installation of MySQL

2001-01-17 Thread Andy Dustman
n some user feedback). I'm going to send that to you off-list, along with MySQLdb-0.3.0. -- Andy Dustman PGP: 0xC72F3F1D @ .net http://dustman.net/andy ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/z

Re: [Zope] Trouble installing ZMySQLTDA

2001-01-17 Thread Andy Dustman
the top of that file?: from Products.ZMySQLDA.db import * -- Andy Dustman PGP: 0xC72F3F1D @ .net http://dustman.net/andy ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML en

Re: [Zope] ZMySQLDA returns truncated/corrupted data?

2001-01-15 Thread Andy Dustman
ized object I don't know if this is the problem, but ZMySQLDA-2.0.1 requires MySQLdb-0.3.0 (aka MySQL-python). These should both work with MySQL-3.22.23, though I would recommend an upgrade to at least 3.22.32 (or 3.23.30). -- andy dustman | programmer | comstar.net is part of the Glob

[Zope] Re: mysql connection string

2001-01-15 Thread Andy Dustman
need a UNIX user by that name. Your GRANT statement looks basically correct, but check the MySQL documentation. -- Andy Dustman PGP: 0xC72F3F1D @ .net http://dustman.net/andy ___ Zope maillist - [EMAIL PROTECTED] http

Re: [Zope] MySQLdb

2001-01-12 Thread Andy Dustman
On Thu, 11 Jan 2001, Martin Fekete wrote: sombody compiled MySQLdb under WIN32 ? Somebody has. Look for a link at: http://dustman.net/andy/python/MySQLdb/0.3.0 -- andy dustman | programmer | comstar.net is part of the Globix network telephone: 770.485.6025 / 706.549.7689 | icq

Re: [Zope] MySQLDA and MySQL-python - patch needed?

2001-01-12 Thread Andy Dustman
try: http://www.zope.org/Members/adustman for MySQLdb-0.3.0 and ZMySQLDA-2.0.1, which includes a transactional DA for MySQL servers with BDB tables (3.23.30 recommended). -- andy dustman | programmer | comstar.net is part of the Globix network telephone: 770.485.6025 / 706.549.7689 | icq

Re: [Zope] duplicate column name

2000-12-07 Thread Andy Dustman
without any problem. The issue is the names of the columns returned by a SELECT. -- andy dustman | programmer | comstar.net is part of the Globix network telephone: 770.485.6025 / 706.549.7689 | icq: 32922760 | pgp: 0xc72f3f1d "Therefore, sweet knights, if you may doubt your strength or

Re: [Zope] ANNOUNCE: Zope 2.2.1 released

2000-08-25 Thread Andy Dustman
Sadly, 2.2.1 seems to break all my ZClass objects. The Products themselves look fine, but any object made with them comes up as broken. The Class ID (in the HTML source) looked like it had a * in front of it. I retrograded to 2.2.0 and the problems went away. -- andy dustman

Re: [Zope] Zope culture (Was: [Zope] Simple DTML date-stamp)

2000-08-17 Thread Andy Dustman
told. If you can't get it to compile or something, I can't help you. -- andy dustman | programmer/analyst | comstar.net, inc. telephone: 770.485.6025 / 706.549.7689 | icq: 32922760 | pgp: 0xc72f3f1d "Therefore, sweet knights, if you may doubt your strength or courage,

RE: [Zope] MySQL transaction support (was: MySQL Select Statements)

2000-07-03 Thread Andy Dustman
ss is used for the database connection. This might be workable, not really sure. -- andy dustman | programmer/analyst | comstar.net, inc. telephone: 770.485.6025 / 706.549.7689 | icq: 32922760 | pgp: 0xc72f3f1d "Therefore, sweet knights, if you may doubt your strength or courage,

Re: [Zope] MySQL transaction support (was: MySQL Select Statements)

2000-07-03 Thread Andy Dustman
, the transactions are going to be whacky. -- andy dustman | programmer/analyst | comstar.net, inc. telephone: 770.485.6025 / 706.549.7689 | icq: 32922760 | pgp: 0xc72f3f1d "Therefore, sweet knights, if you may doubt your strength or courage, come no further, for death awaits yo

RE: [Zope] MySQL Select Statements

2000-06-30 Thread Andy Dustman
;must" use the AS statement? Do you get an error otherwise? MySQLdb 0.2.2 is broken when used with ZMySQLDA. But 0.2.1 works okay for me. Andy Dustman (author of the MySQLdb) said he will fix it and hinted that one should use the ZMySQLDA that is on Zope.org (v1.2.0 now I believe). Sinc