Opened 12 years ago
Closed 9 years ago
#11102 closed defect (duplicate)
"There was an error" on save, with no information
Reported by: | Andrew Schulman | Owned by: | Jun Omae |
---|---|---|---|
Priority: | normal | Component: | TracWorkflowAdminPlugin |
Severity: | normal | Keywords: | |
Cc: | Trac Release: | 1.0 |
Description
I make a change in my workflow, and try to save. When I do, I get a popup that says "There was an error", and a balloon on the page that says the same thing, with only an empty bullet where apparently the explanation should be. Please see the screenshot.
conf/trac.ini is writeable by the web server (user apache):
$ ls -l conf/trac.ini -rw-rw-r-- 1 apache admin 6340 May 20 11:56 conf/trac.ini
The Trac log doesn't say much:
2013-05-20 11:58:42,998 Trac[api] DEBUG: action controllers for ticket workflow: ['ConfigurableTicketWorkflow'] 2013-05-20 11:58:43,005 Trac[main] DEBUG: Negotiated locale: None -> en_US 2013-05-20 11:58:43,020 Trac[chrome] DEBUG: Prepare chrome data for request 2013-05-20 11:58:44,605 Trac[main] DEBUG: Dispatching <RequestWithSession "POST '/admin/ticket/workflowadmin'">
Attachments (1)
Change History (7)
Changed 12 years ago by
Attachment: | error_dialog.png added |
---|
comment:1 Changed 12 years ago by
comment:2 Changed 12 years ago by
No, the Javascript error console is empty - zero errors.
I'll explore the code and try to debug further.
comment:3 Changed 12 years ago by
Trac Release: | → 1.0 |
---|
Cannot reproduce it. Could you please post the [ticket-workflow]
section in your trac.ini
and let us know the changes of workflow.
And, what version of Trac and Chrome are you using?
comment:4 Changed 12 years ago by
Trac 1.0, Chrome 26.0.1410.63 in Linux. I haven't customized the workflow; it's what I got OOTB when I created the Trac environment.
[ticket-workflow] accept = new,assigned,accepted,reopened -> accepted accept.operations = set_owner_to_self accept.permissions = TICKET_MODIFY leave = * -> * leave.default = 1 leave.operations = leave_status reassign = new,assigned,accepted,reopened -> assigned reassign.operations = set_owner reassign.permissions = TICKET_MODIFY reopen = closed -> reopened reopen.operations = del_resolution reopen.permissions = TICKET_CREATE resolve = new,assigned,accepted,reopened -> closed resolve.operations = set_resolution resolve.permissions = TICKET_MODIFY
I figure this could be caused by a misconfiguration (permissions?), but usually there's evidence in the Apache or Trac logs when that happens.
comment:5 Changed 12 years ago by
Hm, the Apache log does show this:
[error] /srv/var/lib/trac/plugins/TracWorkflowAdmin-0.12.0.2-py2.6.egg/tracworkflowadmin/web_ui.py:667: DeprecationWarning: BaseException.message has been deprecated as of Python 2.6
You might take a look in the JavaScript error console to see if there is more information about the error.