Modify

Opened 18 years ago

Closed 18 years ago

#514 closed defect (invalid)

Can't find the db file.

Reported by: natmaster@… Owned by: Brad Anderson
Priority: normal Component: DbAuthPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.9

Description

user.db is located in the proper place, and has user and group permissions set to full 7. If this is a screwup on my part, I'm sorry, and please tell me what I did wrong.

Trac detected an internal error:

Database "/home/natmster/trac/test2/user.db" not found.
Traceback (most recent call last):
  File "/home/natmaster/trac/lib/python2.3/site-packages/trac/web/fcgi_frontend.py", line 40, in _handler
    dispatch_request(req.path_info, req, env)
  File "/home/natmaster/trac/lib/python2.3/site-packages/trac/web/main.py", line 139, in dispatch_request
    dispatcher.dispatch(req)
  File "/home/natmaster/trac/lib/python2.3/site-packages/trac/web/main.py", line 80, in dispatch
    req.perm = PermissionCache(self.env, req.authname)
  File "/home/natmaster/trac/lib/python2.3/site-packages/trac/perm.py", line 276, in __init__
    self.perms = PermissionSystem(env).get_user_permissions(username)
  File "/home/natmaster/trac/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/natmaster/trac/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
  File "/home/natmaster/trac/lib/python2.3/site-packages/trac/db.py", line 260, in __init__
    raise TracError, 'Database "%s" not found.' % path
TracError: Database "/home/natmster/trac/test2/user.db" not found.

Attachments (0)

Change History (1)

comment:1 Changed 18 years ago by Brad Anderson

Resolution: invalid
Status: newclosed

I'm sorry, but I have no idea what's going on here. However, it doesn't appear to be a DbAuthPlugin bug, so I'm going to close it.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Brad Anderson.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.