Edgewall Software

Opened 12 years ago

Closed 12 years ago

#10084 closed defect (cantfix)

TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'

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


How to Reproduce

While doing a POST operation on /admin/general/svnpolicies, Trac issued an internal error.

(please provide additional details here)

Request parameters:

{'__FORM_TOKEN': u'0e95d8fe9dc12f82ebfad91e',
 'advanced_postcomit_content': u'',
 'advanced_precomit_content': u'',
 'cat_id': u'general',
 'commands.enabled': u'true',
 'email.attachment': u'true',
 'email.attachment_limit': u'10000',
 'email.enabled': u'true',
 'email.list': u'muthu.kumar@msys-tech.com',
 'email.prefix': u'ACS',
 'email_from_address': u'',
 'email_subject_cx': u'true',
 'log_message.minimum': u'3',
 'log_message.pattern': u'',
 'panel_id': u'svnpolicies',
 'path_info': None,
 'svn_property': u'true',
 'svnpolicies_enabled': u'true'}

System Information

Trac 0.11.7
Python 2.6.5 (r265:79063, Apr 16 2010, 13:09:56)
[GCC 4.4.3]
setuptools 0.6
MySQL server: "5.1.41-3ubuntu12.10", client: "5.1.41", thread-safe: 1
MySQLdb 1.2.2
Genshi 0.5.1
Agilo 0.9.3
Pygments 1.2.2

Python Traceback

Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/trac/web/main.py", line 450, in _dispatch_request
  File "/usr/lib/python2.6/dist-packages/trac/web/main.py", line 206, in dispatch
    resp = chosen_handler.process_request(req)
  File "/usr/lib/python2.6/dist-packages/trac/admin/web_ui.py", line 114, in process_request
  File "/usr/local/lib/python2.6/dist-packages/TracSVNPoliciesPlugin-0.2-py2.6.egg/svnpolicies/admin.py", line 189, in render_admin_panel
  File "/usr/local/lib/python2.6/dist-packages/TracSVNPoliciesPlugin-0.2-py2.6.egg/svnpolicies/admin.py", line 255, in _process_new_settings
  File "/usr/local/lib/python2.6/dist-packages/TracSVNPoliciesPlugin-0.2-py2.6.egg/svnpolicies/admin.py", line 529, in _delete_hook_links
    svn_hook= svn_repository + os.path.sep + link_name
TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'

Attachments (0)

Change History (1)

comment:1 by Remy Blank, 12 years ago

Resolution: cantfix
Status: newclosed

Modify Ticket

Change Properties
Set your email in Preferences
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.