Modify ↓
Opened 4 years ago
Closed 4 years ago
#13955 closed defect (fixed)
Create new project, undefinedTable: relation "smp_project_id_seq" does not exist
Reported by: | Massimo | Owned by: | Cinc-th |
---|---|---|---|
Priority: | normal | Component: | SimpleMultiProjectPlugin |
Severity: | major | Keywords: | |
Cc: | Trac Release: | 1.4 |
Description (last modified by )
Adding a new project via /admin/projects/projects fails with
UndefinedTable: relation "smp_project_id_seq" does not exist LINE 1: SELECT CURRVAL('"smp_project_id_seq"')
File "/mnt/data/trac/virtualenv/lib/python2.7/site-packages/trac/web/main.py", line 639, in dispatch_request dispatcher.dispatch(req) File "/mnt/data/trac/virtualenv/lib/python2.7/site-packages/trac/web/main.py", line 250, in dispatch resp = chosen_handler.process_request(req) File "/mnt/data/trac/virtualenv/lib/python2.7/site-packages/trac/admin/web_ui.py", line 104, in process_request resp = provider.render_admin_panel(req, cat_id, panel_id, path_info) File "/mnt/data/trac/virtualenv/lib/python2.7/site-packages/simplemultiproject/admin_project.py", line 85, in render_admin_panel self.smp_project.add(name, summary, description, None, 'YES' if restricted else None) File "/mnt/data/trac/virtualenv/lib/python2.7/site-packages/simplemultiproject/smp_model.py", line 213, in add prj_id = db.get_last_id(cursor, 'smp_project') File "/mnt/data/trac/virtualenv/lib/python2.7/site-packages/trac/db/postgres_backend.py", line 372, in get_last_id (self.quote(self._sequence_name(table, column)),)) File "/mnt/data/trac/virtualenv/lib/python2.7/site-packages/trac/db/util.py", line 73, in execute return self.cursor.execute(sql_escape_percent(sql), args)
We have installed TracSimpleMultiProject-0.7.2.dev0 via pip from
svn+https://trac-hacks.org/svn/simplemultiprojectplugin/trunk
and have done an trac-admin upgrade afterwards.
Attachments (1)
Change History (5)
comment:1 Changed 4 years ago by
Description: | modified (diff) |
---|
comment:2 Changed 4 years ago by
Changed 4 years ago by
Attachment: | t13935.diff added |
---|
Note: See
TracTickets for help on using
tickets.
See related mailing list thread.