> Failed to create environment. global name 'sqlite' is not defined

Your system probably lacks the PySQLite wrappers (see
http://trac.edgewall.org/wiki/TracInstall#ForSQLite)

Please, do not post HTML messages to the list

HTH,
Manu

>
> Traceback (most recent call last):
>
>   File
> "/usr/local/lib/python2.3/site-packages/trac/scripts/admin.py",
> line 613, in do_initenv
>
>     options=options)
>
>   File
> "/usr/local/lib/python2.3/site-packages/trac/env.py", line
> 124, in __init__
>
>     self.create(options)
>
>   File
> "/usr/local/lib/python2.3/site-packages/trac/env.py", line
> 229, in create
>
>     DatabaseManager(self).init_db()
>
>   File
> "/usr/local/lib/python2.3/site-packages/trac/db/api.py",
> line 69, in init_db
>
>     connector.init_db(**args)
>
>   File
> "/usr/local/lib/python2.3/site-packages/trac/db/sqlite_backend.py",
> line 121, in init_db
>
>     cnx = sqlite.connect(path, timeout=int(params.get('timeout', 10000)))
>
> NameError: global name 'sqlite' is not defined
>
> Failed to initialize environment. 1
>
> Traceback (most recent call last):
>
>   File
> "/usr/local/lib/python2.3/site-packages/trac/scripts/admin.py",
> line 617, in do_initenv
>
>     sys.exit(1)
>
> SystemExit: 1
> Please help thank you..
>
> Bernard
>
>
>
>
> On 11/30/06, Bas van der Vlies <[EMAIL PROTECTED]> wrote:
> >
> > I run trac on Debian SARGE:
> > - python 2.3
> > - patch sync_only_once_0.10-stable-r4280.diff (else changeset not
> >    working)
> > - subversion 1.1.4-2
> >
> > Is there a solution for this problem?
> >
> > We get these errors:
> >
> > Python Traceback
> >
> > Traceback (most recent call last):
> > File "/usr/lib/python2.3/site-packages/trac/web/main.py",
> line 387, in
> > dispatch_request
> >   dispatcher.dispatch(req)
> >   File
> "/usr/lib/python2.3/site-packages/trac/web/main.py", line
> 176,
> > in dispatch
> >     chosen_handler = self._pre_process_request(req, chosen_handler)
> >   File
> "/usr/lib/python2.3/site-packages/trac/web/main.py", line
> 264,
> > in _pre_process_request
> >     chosen_handler = f.pre_process_request(req, chosen_handler)
> >   File
> "/usr/lib/python2.3/site-packages/trac/versioncontrol/api.py",
> > line 73, in pre_process_request
> >     repos = self.get_repository(req.authname)
> >   File
> "/usr/lib/python2.3/site-packages/trac/versioncontrol/api.py",
> > line 103, in get_repository
> >     repos = self._connector.get_repository(rtype, rdir,
> authname)
> >   File
> >
> "/usr/lib/python2.3/site-packages/trac/versioncontrol/svn_fs.py",
> line
> > 259, in get_repository
> >     repos = SubversionRepository(dir, None, self.log)
> >   File
> >
> "/usr/lib/python2.3/site-packages/trac/versioncontrol/svn_fs.py",
> line
> > 292, in __init__
> >     self.repos = repos.svn_repos_open(self.path, self.pool())
> > SubversionException: ("Berkeley DB error while opening 'nodes' table for
> > filesystem /data/trac/hpcv/svn/hic/db:\nCannot allocate
> memory", 160029)
> >
> >
> >
> > --
> >
> ********************************************************************
> > *
>          *
> > *  Bas van der Vlies                     e-mail: [EMAIL PROTECTED]      *
> > *  SARA - Academic Computing Services    phone:  +31 20 592 8012   *
> > *  Kruislaan 415                         fax:    +31 20 6683167    *
> > *  1098 SJ Amsterdam
>          *
> > *
>          *
> >
> ********************************************************************
> >
> >
> >
> >
>
>
>  >
>


-- 
Manu

--~--~---------~--~----~------------~-------~--~----~
 You received this message because you are subscribed to the Google Groups 
"Trac Users" group.
To post to this group, send email to trac-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to