Re: [Zope] Trouble installing ZMySQLTDA
Yeah, the entire contents are; from Products.ZMySQLDA.db import * from Shared.DC.ZRDB.TM import TM class DB(DB, TM): _p_oid=_p_changed=_registered=None def _begin(self, *ignored): self.db.query("BEGIN") def _finish(self, *ignored): self.db.query("COMMIT") def _abort(self, *ignored): self.db.query("ROLLBACK") def query(self, *args): self._register() return apply(DB.query, (self,)+args) does this look OK? Andy Dustman wrote: > On Wed, 17 Jan 2001, Vinny wrote: > > >> Ok, it's Vinny again, >> >> >> I am trying to get >> >> ZMySQLTDA up and running. After installation ZMySQLTDA >> appears in the Product folder but gives a 'broken' status instead >> of "installed" >> I have MySQL-python-0.3.0 installed. >> >> Has this worked OK for anyone else? > > > It seems to work OK for me, though I just pushed out version 2.0.2. > > http://dustman.net/andy/python/ZMySQLDA/2.0.2 > > >>File >> "/usr/local/Zope-2.2.5-linux2-x86/lib/python/Products/ZMySQLTDA/db.py", >> line 4, in ? >> class DB(DB, TM): >> NameError: DB > > > Is this line at the top of that file?: > > from Products.ZMySQLDA.db import * -- Vincent Stoessel [EMAIL PROTECTED] Internet Applications Engineer IDEV http://www.idev.com V: 301 495 7345 x129 ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Trouble installing ZMySQLTDA
On Wed, 17 Jan 2001, Vinny wrote: > Ok, it's Vinny again, > > > I am trying to get > > ZMySQLTDA up and running. After installation ZMySQLTDA > appears in the Product folder but gives a 'broken' status instead > of "installed" > I have MySQL-python-0.3.0 installed. > > Has this worked OK for anyone else? It seems to work OK for me, though I just pushed out version 2.0.2. http://dustman.net/andy/python/ZMySQLDA/2.0.2 >File > "/usr/local/Zope-2.2.5-linux2-x86/lib/python/Products/ZMySQLTDA/db.py", > line 4, in ? > class DB(DB, TM): > NameError: DB Is this line at 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 encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] Trouble installing ZMySQLTDA
Ok, it's Vinny again, I am trying to get ZMySQLTDA up and running. After installation ZMySQLTDA appears in the Product folder but gives a 'broken' status instead of "installed" I have MySQL-python-0.3.0 installed. Has this worked OK for anyone else? Thanks. Zope 2.2.5 ZMySQLTDA Import Traceback Traceback (innermost last): File "/usr/local/Zope-2.2.5-linux2-x86/lib/python/OFS/Application.py", line 397, in import_products product=__import__(pname, global_dict, global_dict, silly) File "/usr/local/Zope-2.2.5-linux2-x86/lib/python/Products/ZMySQLTDA/__init__.py", line 91, in ? import DA File "/usr/local/Zope-2.2.5-linux2-x86/lib/python/Products/ZMySQLTDA/DA.py", line 91, in ? from db import DB File "/usr/local/Zope-2.2.5-linux2-x86/lib/python/Products/ZMySQLTDA/db.py", line 4, in ? class DB(DB, TM): NameError: DB ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )