trac-admin ... initenv: Skips a question. Why?
|Reported by:||Owned by:|
i am new to trac and i can not get a solution by the documentation and the IRC channel. So from my point of view it is a bug:
When i run: trac-admin /usr/local/apache/htdocs/tractest initenv I get some questions that i am required to answer. I notices that one question is displayed but without the possibility to answer it.
Question is about databas connection string. Trac-admin jumps directly to the SVN question (where i hit ENTER, because i do not want to use a svn repo).
This leads in the following error message:
Creating and Initializing Project Initenv for '/usr/local/apache/htdocs/tractest2' failed. Failed to create environment. need more than 1 value to unpack Traceback (most recent call last): File "/usr/lib/python2.5/site-packages/Trac-0.11.5-py2.5.egg/trac/admin/console.py", line 578, in do_initenv options=options) File "/usr/lib/python2.5/site-packages/Trac-0.11.5-py2.5.egg/trac/env.py", line 204, in __init__ self.create(options) File "/usr/lib/python2.5/site-packages/Trac-0.11.5-py2.5.egg/trac/env.py", line 334, in create DatabaseManager(self).init_db() File "/usr/lib/python2.5/site-packages/Trac-0.11.5-py2.5.egg/trac/db/api.py", line 80, in init_db connector, args = self._get_connector() File "/usr/lib/python2.5/site-packages/Trac-0.11.5-py2.5.egg/trac/db/api.py", line 118, in _get_connector scheme, args = _parse_db_str(self.connection_uri) File "/usr/lib/python2.5/site-packages/Trac-0.11.5-py2.5.egg/trac/db/api.py", line 146, in _parse_db_str scheme, rest = db_str.split(':', 1) ValueError: need more than 1 value to unpack
As far as i understand the connection string is wrong. But for me there is no way to change it (question was skipped before by trac-admin).
Is there a global setting that forces trac-admin to skip this question?
How can i solve my problem?
Best regards Daniela Waranie
PS: my version of trac: 0.11.5; sqlite 2.8.17-4 AND 220.127.116.11 are installed Pysqlite2 2.4.1-1
Change History (13)
comment:5 by , 13 years ago
|Keywords:||console added; sqlite removed|
|Milestone:||0.12 → 0.12.1|
|Severity:||normal → minor|
comment:11 by , 12 years ago
|Status:||new → closed|