2007年06月28日 星期四 16:42
我安装了python 2.4和相应的pysqlite,运行以下代码,出现错误,请问各位如何解决啊? >>> from pysqlite2 import test >>> test.test() ................................................................................................................................................................................E ====================================================================== ERROR: CheckUsefulErrorMessage (pysqlite2.test.regression.RegressionTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "C:\Python24\Lib\site-packages\pysqlite2\test\regression.py", line 105, in CheckUsefulErrorMessage if e.message != "cannot start a transaction within a transaction": AttributeError: OperationalError instance has no attribute 'message' ---------------------------------------------------------------------- Ran 177 tests in 4.031s FAILED (errors=1) -------------- 下一部分 -------------- 一个HTML附件被移除... URL: http://python.cn/pipermail/python-chinese/attachments/20070628/3e73e058/attachment.html
Zeuux © 2025
京ICP备05028076号