Edgewall Software
Modify

Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#12034 closed defect (cantfix)

ProgrammingError: 错误: 关系 "mpchangemain" 不存在LINE 1: SELECT id FROM MPChangeMain where ticket = 0 ^

Reported by: trac_admin Owned by:
Priority: normal Milestone:
Component: general Version: 0.12
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

How to Reproduce

While doing a GET operation on /newticket, Trac issued an internal error.

(please provide additional details here)

Request parameters:

{}

User agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2272.118 Safari/537.36

System Information

Trac 0.12
Babel 0.9.4
Genshi 0.6
mod_python 3.3.1
psycopg2 2.0.13
Pygments 1.3.1
Python 2.6.6 (r266:84292, Dec 7 2011, 20:48:22)
[GCC 4.4.6 20110731 (Red Hat 4.4.6-3)]
pytz 2010h
setuptools 0.6
Subversion 1.6.11 (r934486)
jQuery 1.7.1

Enabled Plugins

AdminEnumListPlugin 1.0
BatchModify 0.8.0-trac0.12
BreadCrumbsNav 0.2
cc-selector 0.0.2
ContactInfo 0.0
EditFilePlugin 0.11.1.1
ExcelDownloadPlugin 0.12.0.4
IniAdmin 0.2
mpchange 0.2.5
nevernotifyupdaterplugin 0.0.9
SvnAuthzAdminPlugin 0.2
TimelineUserFilter N/A
TracAccountManager 0.3.2
TracBookmark 0.1
TracExcelViewer 0.1
TracTicketChangesets 1.0dev-r96
TracTicketTemplate 0.7-r276
TracWysiwyg 0.12.0.5-r223
ZhTracGuideToc N/A

Python Traceback

Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/Trac-0.12-py2.6.egg/trac/web/main.py", line 513, in _dispatch_request
    dispatcher.dispatch(req)
  File "/usr/lib/python2.6/site-packages/Trac-0.12-py2.6.egg/trac/web/main.py", line 256, in dispatch
    content_type)
  File "/usr/lib/python2.6/site-packages/Trac-0.12-py2.6.egg/trac/web/chrome.py", line 816, in render_template
    stream |= self._filter_stream(req, method, filename, stream, data)
  File "/usr/lib/python2.6/site-packages/Genshi-0.6-py2.6.egg/genshi/core.py", line 132, in __or__
    return Stream(_ensure(function(self)), serializer=self.serializer)
  File "/usr/lib/python2.6/site-packages/Trac-0.12-py2.6.egg/trac/web/chrome.py", line 955, in inner
    data)
  File "/usr/lib/python2.6/site-packages/mpchange-0.2.5-py2.6.egg/mpchange/mp_field_controller.py", line 273, in filter_stream
    cid = self.mpmodel.get_cid_by_ticketID(data['ticket'].id or 0)
  File "/usr/lib/python2.6/site-packages/mpchange-0.2.5-py2.6.egg/mpchange/model.py", line 294, in get_cid_by_ticketID
    cursor.execute("SELECT id FROM MPChangeMain where ticket = %s " % ticketID)
  File "/usr/lib/python2.6/site-packages/Trac-0.12-py2.6.egg/trac/db/util.py", line 66, in execute
    return self.cursor.execute(sql)
ProgrammingError: 错误:  关系 "mpchangemain" 不存在
LINE 1: SELECT id FROM MPChangeMain where ticket = 0 
                       ^

Attachments (0)

Change History (1)

comment:1 by Jun Omae, 7 years ago

Resolution: cantfix
Status: newclosed

PluginIssue (mpchange).

Last edited 7 years ago by Jun Omae (previous) (diff)

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The ticket will remain with no owner.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from (none) to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.