Opened 4 years ago

Last modified 3 years ago

#11033 assigned defect

[patch] AttributeError: 'int' object has no attribute 'rsplit'

Reported by: mxhess Owned by: ChrisNelson
Priority: high Component: ValuePropagationPlugin
Severity: critical Keywords:
Cc: Trac Release: 1.0


Receiving error when tickets are created or updated.

Python Traceback

Most recent call last:
File "/usr/lib/python2.6/site-packages/Trac-1.0.1-py2.6.egg/trac/web/", line 497, in _dispatch_request
File "/usr/lib/python2.6/site-packages/Trac-1.0.1-py2.6.egg/trac/web/", line 214, in dispatch
File "/usr/lib/python2.6/site-packages/Trac-1.0.1-py2.6.egg/trac/ticket/", line 180, in process_request
File "/usr/lib/python2.6/site-packages/Trac-1.0.1-py2.6.egg/trac/ticket/", line 465, in _process_newticket_request
File "/usr/lib/python2.6/site-packages/Trac-1.0.1-py2.6.egg/trac/ticket/", line 1289, in _do_create
File "/usr/lib/python2.6/site-packages/Trac-1.0.1-py2.6.egg/trac/ticket/", line 256, in insert
File "/usr/lib/python2.6/site-packages/ValuePropagation-0.2-py2.6.egg/valuepropagation/", line 361, in ticket_created
File "/usr/lib/python2.6/site-packages/ValuePropagation-0.2-py2.6.egg/valuepropagation/", line 373, in ticket_changed
File "/usr/lib/python2.6/site-packages/ValuePropagation-0.2-py2.6.egg/valuepropagation/", line 262, in _handle_link
File "/usr/lib/python2.6/site-packages/ValuePropagation-0.2-py2.6.egg/valuepropagation/", line 352, in _propagate
File "/usr/lib/python2.6/site-packages/ValuePropagation-0.2-py2.6.egg/valuepropagation/", line 345, in _update_ticket
File "/usr/lib/python2.6/site-packages/Trac-1.0.1-py2.6.egg/trac/ticket/", line 366, in save_changes

Attachments (0)

Change History (2)

comment:1 Changed 4 years ago by mxhess

# svn diff

--- (revision 13003)
+++ (working copy)
@@ -20,7 +20,7 @@
 ValuePropagation Plugin
 author: Chris Nelson <>
-version: 0.1
+version: 0.1.001
 Update values in other tickets based on ticket changes.  For example,
 with Subtickets plugin and Timing and Estimation plugin in place, a
@@ -342,7 +342,7 @@
                 # FIXME - Put something in the message?
                 # FIXME - the ticket_changed method gets an author, should
                 # this say "value propagation on behalf of <author>"?
-                ticket.save_changes('value propagation', '', when, db, cnum+1)
+                ticket.save_changes('value propagation', '', when, db, cnum=str(cnum+1))
             # All the propagation is done, save the new values
             when =

comment:2 Changed 3 years ago by ChrisNelson

  • Status changed from new to assigned
  • Summary changed from AttributeError: 'int' object has no attribute 'rsplit' to [patch] AttributeError: 'int' object has no attribute 'rsplit'

Thanks for the patch. I'll be sure to apply it next time I come back around to working on this plugin.

Add Comment

Modify Ticket

as assigned The owner will remain ChrisNelson.

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

Note: See TracTickets for help on using tickets.