Modify

Opened 11 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)

error_dialog.png (24.5 KB) - added by Andrew Schulman 11 years ago.

Download all attachments as: .zip

Change History (7)

Changed 11 years ago by Andrew Schulman

Attachment: error_dialog.png added

comment:1 Changed 11 years ago by Ryan J Ollos

You might take a look in the JavaScript error console to see if there is more information about the error.

comment:2 Changed 11 years ago by Andrew Schulman

No, the Javascript error console is empty - zero errors.

I'll explore the code and try to debug further.

comment:3 Changed 11 years ago by Jun Omae

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 11 years ago by Andrew Schulman

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 11 years ago by Andrew Schulman

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

comment:6 Changed 9 years ago by Ryan J Ollos

Resolution: duplicate
Status: newclosed

Duplicate of #12678.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Jun Omae.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.