Modify ↓
Opened 20 years ago
Closed 20 years ago
#190 closed defect (fixed)
"NameError: global name 'SQLiteConnection' is not defined"
| Reported by: | Owned by: | Brad Anderson | |
|---|---|---|---|
| Priority: | normal | Component: | DbAuthPlugin |
| Severity: | normal | Keywords: | |
| Cc: | Trac Release: |
Description
I've successfully installed Trac in my shared hosting space, but unfortunately, i cannot use the default form of login, but i was hoping to use this plugin to fix that, unfortunately, when i installed the plugin (as per your instructions) i received the following error:
Oops...
Trac detected an internal error:
global name 'SQLiteConnection' is not defined
Traceback (most recent call last):
File "/home/fimion/packages/lib/python2.3/site-packages/trac/web/cgi_frontend.py", line 130, in run
dispatch_request(req.path_info, req, env)
File "/home/fimion/packages/lib/python2.3/site-packages/trac/web/main.py", line 139, in dispatch_request
dispatcher.dispatch(req)
File "/home/fimion/packages/lib/python2.3/site-packages/trac/web/main.py", line 80, in dispatch
req.perm = PermissionCache(self.env, req.authname)
File "/home/fimion/packages/lib/python2.3/site-packages/trac/perm.py", line 276, in __init__
self.perms = PermissionSystem(env).get_user_permissions(username)
File "/home/fimion/packages/lib/python2.3/site-packages/trac/perm.py", line 132, in get_user_permissions
for perm in self.store.get_user_permissions(username):
File "/home/fimion/packages/lib/python2.3/site-packages/trac/perm.py", line 208, in get_user_permissions
subjects += list(provider.get_permission_groups(username))
File "build/bdist.linux-i686/egg/dbauth/perm.py", line 36, in get_permission_groups
File "build/bdist.linux-i686/egg/dbauth/env.py", line 26, in get_db
NameError: global name 'SQLiteConnection' is not defined
I'm using Trac 0.9.4, python 2.3, and sqlite 3.3.4. This is all done in a local install, and it might be possble to repeat the steps i used to install.
Also, my trac install is more for testing at the moment, so a fix isn't needed immediately.
Attachments (0)
Change History (5)
comment:1 Changed 20 years ago by
| Owner: | changed from Brad Anderson to anonymous |
|---|---|
| Status: | new → assigned |
comment:2 Changed 20 years ago by
| Owner: | changed from anonymous to Brad Anderson |
|---|---|
| Status: | assigned → new |
comment:3 Changed 20 years ago by
| Status: | new → assigned |
|---|
comment:5 Changed 20 years ago by
| Resolution: | → fixed |
|---|---|
| Status: | assigned → closed |
seems to be fixed with [444]
Note: See
TracTickets for help on using
tickets.



Change in [444] may solve this. Let me know and I'll close the ticket.