Menu

ZMySQLDA giving cryptic tracebacks

Help
2001-04-12
2012-09-19
  • Johan Lübcke

    Johan Lübcke - 2001-04-12

    I've recently installed Zope (2.3.1) on Python (2.0) and MySQLdb (0.3.5) and ZMySQLDA (2.0.5) and everything seems to work just fine.

    My problem is that whenever I make, for example, SQL errors I allways get the same confusing backtrace (see below) from Zope. (I get the same traceback for ZSQL methods as I get from the test tab on the database connection)

    Is there any way to get more information of what went wrong?

    I use SuSE Linux 7.0 but I get the same result on my Windows box.

      / Johan

    ---- 8< ----

    Zope Error
    Zope has encountered an error while publishing this resource.

    exceptions.AttributeError

    Sorry, a Zope error occurred.

    Traceback (innermost last):
      File C:\Program\WebSite\lib\python\ZPublisher\Publish.py, line 223, in publish_module
      File C:\Program\WebSite\lib\python\ZPublisher\Publish.py, line 179, in publish
      File C:\Program\WebSite\lib\python\Zope\__init__.py, line 240, in abort
      File C:\Program\WebSite\lib\python\ZODB\Transaction.py, line 179, in abort
      File C:\Program\WebSite\lib\python\Shared\DC\ZRDB\TM.py, line 126, in abort
      File C:\Program\WebSite\lib\python\Shared\DC\ZRDB\TM.py, line 119, in _abort
    AttributeError: rollback

     
    • Andy Dustman

      Andy Dustman - 2001-04-12

      Try the current CVS version, or wait for 2.0.6 (maybe later today). You evidently have a MySQL server that is capable of transactions.

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.