Hi emmanuel, I reinstalled pysqlite\sqlite then ran trac-admin /v01/trac initenv successfully but with the warning you should install the SVN bindings Not sure what these are. I then ran the below command to test drive trac, then entered in fire fox http://localhost:8000/trac and get no output in the browser, but in the terminal I get the below errors any ideas on this? Thanks, Brian [EMAIL PROTECTED] v01]# tracd --port 8000 /v01/trac ---------------------------------------- Exception happened during processing of request from ('127.0.0.1', 39284) Traceback (most recent call last): File "/usr/lib/python2.3/SocketServer.py", line 463, in process_request_thread self.finish_request(request, client_address) File "/usr/lib/python2.3/SocketServer.py", line 254, in finish_request self.RequestHandlerClass(request, client_address, self) File "/usr/lib/python2.3/SocketServer.py", line 521, in __init__ self.handle() File "/usr/lib/python2.3/BaseHTTPServer.py", line 324, in handle self.handle_one_request() File "/usr/lib/python2.3/site-packages/trac/web/wsgi.py", line 174, in handle_one_request gateway.run(self.server.application) File "/usr/lib/python2.3/site-packages/trac/web/wsgi.py", line 87, in run response = application(self.environ, self._start_response) File "/usr/lib/python2.3/site-packages/trac/web/standalone.py", line 88, in __call__ return self.application(environ, start_response) File "/usr/lib/python2.3/site-packages/trac/web/main.py", line 377, in dispatch_request env = _open_environment(env_path, run_once=run_once) File "/usr/lib/python2.3/site-packages/trac/web/main.py", line 58, in _open_environment env_cache[env_path] = open_environment(env_path) File "/usr/lib/python2.3/site-packages/trac/env.py", line 435, in open_environment if env.needs_upgrade(): File "/usr/lib/python2.3/site-packages/trac/env.py", line 313, in needs_upgrade db = self.get_db_cnx() File "/usr/lib/python2.3/site-packages/trac/env.py", line 182, in get_db_cnx return DatabaseManager(self).get_connection() File "/usr/lib/python2.3/site-packages/trac/db/api.py", line 75, in get_connection return self._cnx_pool.get_cnx(self.timeout or None) File "/usr/lib/python2.3/site-packages/trac/db/pool.py", line 101, in get_cnx cnx = self._connector.get_connection(**self._kwargs) File "/usr/lib/python2.3/site-packages/trac/db/sqlite_backend.py", line 113, in get_connection return SQLiteConnection(path, params) File "/usr/lib/python2.3/site-packages/trac/db/sqlite_backend.py", line 140, in __init__ assert have_pysqlite > 0 AssertionError ----------------------------------------
________________________________ From: [email protected] on behalf of Emmanuel Blot Sent: Thu 4/5/2007 6:49 AM To: [email protected] Subject: [Trac] Re: Trac install > in this command trac-admin /path/to/myproject initenv is path/to/ > myproject the SVN path or the trac path? trac path (the same path you give to tracd, btw). svn repository path is only defined in trac.ini (and prompted once from trac-admin when you create a new trac project) > NameError: global name 'sqlite' is not defined > Failed to initialize environment. 1 It means trac cannot find the PySQLite library. Cheers, Manu --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Trac Users" group. To post to this group, send email to [email protected] 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 -~----------~----~----~----~------~----~------~--~---
