Edgewall Software

Ticket #6166 (new defect)

Opened 12 months ago

Last modified 8 months ago

Can't create a new Trac environment

Reported by: Cho Owned by: cmlenz
Priority: high Milestone:
Component: admin/console Version: 0.10
Severity: normal Keywords: needinfo
Cc:

Description (last modified by cboos) (diff)

Creating and Initializing Project
Failed to create environment. no such table: permission
Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/trac/scripts/admin.py", line 613, in do_initenv
    options=options)
  File "/usr/lib/python2.4/site-packages/trac/env.py", line 151, in __init__
    setup_participant.environment_created()
  File "/usr/lib/python2.4/site-packages/trac/env.py", line 392, in environment_created
    vals)
  File "/usr/lib/python2.4/site-packages/trac/db/util.py", line 57, in executemany
    return self.cursor.executemany(sql_escape_percent(sql), args)
  File "/usr/lib/python2.4/site-packages/sqlite/main.py", line 277, in executemany
    self.execute(query, _i)
  File "/usr/lib/python2.4/site-packages/sqlite/main.py", line 255, in execute
    self.rs = self.con.db.execute(SQL % parms)
DatabaseError: no such table: permission
Failed to initialize environment. 1
Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/trac/scripts/admin.py", line 617, in do_initenv
    sys.exit(1)
SystemExit: 1

Attachments

Change History

  Changed 12 months ago by cboos

  • keywords needinfo added
  • description modified (diff)

And which version is this?

  Changed 12 months ago by cho

0.10

  Changed 12 months ago by eblot

Cho, there is a drop-down list in every Trac ticket which is dedicated to set the version, please use it.

follow-up: ↓ 6   Changed 12 months ago by Cho

I'm Sorry,I don't understand you said.Can you say it clearly?Thank you very much!

in reply to: ↑ 5   Changed 12 months ago by eblot@…

  • version set to 0.10

Replying to Cho:

I'm Sorry,I don't understand you said.Can you say it clearly?Thank you very much!

Every Trac ticket contains a drop-down list box named "Version:", whose purpose is to define the version of Trac you're using when you report a bug.

In other words, when you report a bug you need to change the value in this drop-down list to the proper Trac version rather than writing the version number in the ticket description or in a comment field.

I've updated the version field of this ticket to 0.10

follow-up: ↓ 8   Changed 12 months ago by anonymous

Well,I get it^_Thank you! The version is0.10.4.

in reply to: ↑ 7   Changed 12 months ago by eblot

Replying to anonymous:

Well,I get it!^_^Thank you! The version is0.10.4.

Not quite sure: you left the old 0.10 version in the version field.

  Changed 8 months ago by jruigrok

Is this still a problem or did you manage to create your Trac set up?

Add/Change #6166 (Can't create a new Trac environment)

Author



Change Properties
<Author field>
Action
as new
as The resolution will be set. Next status will be 'closed'
to The owner will change from cmlenz. Next status will be 'new'
The owner will change from cmlenz to anonymous. Next status will be 'assigned'
 
Note: See TracTickets for help on using tickets.