Modify ↓
Opened 19 years ago
Closed 19 years ago
#4608 closed defect (invalid)
db_structure.initDatabaseIfNeeded() throws an exception in MySQLdb
| Reported by: | Owned by: | Jonas Borgström | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | general | Version: | |
| Severity: | normal | Keywords: | |
| Cc: | Branch: | ||
| Release Notes: | |||
| API Changes: | |||
| Internal Changes: | |||
Description (last modified by )
Please look at the following stack trace.
bogdan@high:~/workspace/skeletonz_svn/mypage> python launch_server.py
DEBUG INFO TO SEND TO DEVELOPERS OF SKELETONZ:
Python version: (2, 4, 4, 'final', 0)
MySQL version: 5.0.26
MySQLdb version: (1, 2, 1, 'final', 2)
O/S version: #1 SMP Mon Nov 27 11:46:27 UTC 2006
Traceback (most recent call last):
File "launch_server.py", line 11, in ?
server.startServer()
File "/home/bogdan/workspace/skeletonz_svn/mypage/skeletonz/server.py", line 218, in startServer
wsgi_app = setupWSGIApp()
File "/home/bogdan/workspace/skeletonz_svn/mypage/skeletonz/server.py", line 145, in setupWSGIApp
db_structure.initDatabaseIfNeeded()
File "/home/bogdan/workspace/skeletonz_svn/mypage/skeletonz/model/db_structure.py", line 230, in initDatabaseIfNeeded
mi_control.upgradeToLatest()
File "/home/bogdan/workspace/skeletonz_svn/mypage/amilib/amiweb/amigration.py", line 218, in upgradeToLatest
rev().up()
File "/home/bogdan/workspace/skeletonz_svn/mypage/skeletonz/model/db_structure.py", line 166, in up
self.removeColumn("pagelog", 'content')
File "/home/bogdan/workspace/skeletonz_svn/mypage/amilib/amiweb/amigration.py", line 146, in removeColumn
db().query("\n".join(sql))
File "/home/bogdan/workspace/skeletonz_svn/mypage/amilib/amiweb/amidb.py", line 546, in query
q = self._query(sql, **kw)
File "/home/bogdan/workspace/skeletonz_svn/mypage/amilib/amiweb/amidb.py", line 520, in _query
result = cur.fetchall()
File "/home/bogdan/workspace/skeletonz_svn/mypage/amilib/amiweb/cursors.py", line 331, in fetchall
self._check_executed()
File "/home/bogdan/workspace/skeletonz_svn/mypage/amilib/amiweb/cursors.py", line 68, in _check_executed
self.errorhandler(self, ProgrammingError, "execute() first")
File "/usr/local/lib/python2.4/site-packages/MySQLdb/connections.py", line 35, in defaulterrorhandler
raise errorclass, errorvalue
_mysql_exceptions.ProgrammingError: execute() first
Attachments (0)
Change History (1)
comment:1 by , 19 years ago
| Description: | modified (diff) |
|---|---|
| Resolution: | → invalid |
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.



Nice stacktrace… but wrong Trac!
You certainly meant to create a ticket in this Trac: http://orangoo.com:8000/skeletonz_dev/
(you apparently have to have a login there, check with skeletonz developers for the details)