Modify ↓
Opened 12 years ago
Closed 12 years ago
#10823 closed defect (duplicate)
AttributeError: 'tuple' object has no attribute 'cursor'
Reported by: | anonymous | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | general | Version: | 0.12 |
Severity: | normal | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
How to Reproduce
While doing a GET operation on /
, Trac issued an internal error.
(please provide additional details here)
Request parameters:
{}
User agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:14.0) Gecko/20100101 Firefox/14.0.1
System Information
System information not available
Enabled Plugins
Plugin information not available
Python Traceback
Traceback (most recent call last): File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 513, in _dispatch_request dispatcher.dispatch(req) File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 200, in dispatch chosen_handler) File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 346, in _pre_process_request chosen_handler = filter_.pre_process_request(req, chosen_handler) File "/usr/lib/python2.4/site-packages/trac/versioncontrol/api.py", line 330, in pre_process_request repo = self.get_repository(reponame) File "/usr/lib/python2.4/site-packages/trac/versioncontrol/api.py", line 503, in get_repository repoinfo = self.get_all_repositories().get(reponame, {}) File "/usr/lib/python2.4/site-packages/trac/versioncontrol/api.py", line 571, in get_all_repositories for reponame, info in provider.get_repositories() or []: File "/usr/lib/python2.4/site-packages/trac/versioncontrol/api.py", line 113, in get_repositories cursor = db.cursor() File "/usr/lib/python2.4/site-packages/trac/db/util.py", line 102, in __getattr__ return getattr(self.cnx, name) AttributeError: 'tuple' object has no attribute 'cursor'
Attachments (0)
Note:
See TracTickets
for help on using tickets.
A duplicate of #10822.