Opened 11 years ago

Closed 11 years ago

#9682 closed defect (duplicate)

AttributeError: 'Ticket' object has no attribute 'is_writeable_field' when using with Agilo plugin

Reported by: François Granade Owned by: CuriousCurmudgeon
Priority: normal Component: TicketImportPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11


Reported on Trac - should be here instead

Stack is:

Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/trac/web/", line 450, in _dispatch_request
  File "/usr/lib/python2.6/site-packages/trac/web/", line 176, in dispatch
  File "/usr/lib/python2.6/site-packages/trac/web/", line 296, in _pre_process_request
    chosen_handler = filter_.pre_process_request(req, chosen_handler)
  File "/var/trac/env/venotion/plugins/BatchModify-0.6.0_trac0.11-py2.6.egg/batchmod/", line 47, in pre_process_request
  File "/var/trac/env/venotion/plugins/BatchModify-0.6.0_trac0.11-py2.6.egg/batchmod/", line 94, in _batch_modify
    t.save_changes(req.authname, comment)
  File "/usr/lib/python2.6/site-packages/trac/ticket/", line 299, in save_changes
    listener.ticket_changed(self, comment, author, old_values)
  File "/usr/lib/python2.6/site-packages/binary_agilo-", line 69, in ticket_changed
    current_sprint_name = self._current_sprint_name(ticket)
  File "/usr/lib/python2.6/site-packages/binary_agilo-", line 119, in _current_sprint_name
    return self._current_value(Key.SPRINT, ticket) or None
  File "/usr/lib/python2.6/site-packages/binary_agilo-", line 128, in _current_value
    if not ticket.is_writeable_field(fieldname) or not ticket[fieldname]:
AttributeError: 'Ticket' object has no attribute 'is_writeable_field'

Attachments (0)

Change History (1)

comment:1 Changed 11 years ago by François Granade

Component: BatchModifyPluginTicketImportPlugin
Resolution: duplicate
Status: newclosed

In fact the problem had been already reported for the BatchModifyPlugin - see #9236

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain CuriousCurmudgeon.
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.