Edgewall Software
Modify

Opened 14 years ago

Closed 14 years ago

#8917 closed defect (invalid)

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

Reported by: harsha.raj@… Owned by:
Priority: highest Milestone:
Component: general Version:
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

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'0b849d82b02e21c1c58f8d06',
 'cat_id': u'general',
 'commands.enabled': u'true',
 'email.attachment_limit': u'10000',
 'email.list': u'harsha.raj@zymesolutions.com',
 'email.prefix': u'[PROJECT NAME]',
 'email_from_address': u'',
 'log_message.minimum': u'3',
 'log_message.pattern': u'',
 'panel_id': u'svnpolicies',
 'path_info': None,
 'svnpolicies_enabled': u'true'}

User Agent was: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1) Gecko/20090624 Firefox/3.5 (.NET CLR 3.5.30729)

System Information

Trac 0.12multirepos-r8955
Python 2.6.4 (r264:75706, Dec 7 2009, 18:45:15)
[GCC 4.4.1]
setuptools 0.6c11
SQLite 3.6.16
pysqlite 2.5.5
Genshi 0.6dev-r1092
Babel -
RPC 1.0.6
jQuery: 1.3.2

Python Traceback

Traceback (most recent call last):
  File "build/bdist.linux-i686/egg/trac/web/main.py", line 494, in _dispatch_request
    dispatcher.dispatch(req)
  File "build/bdist.linux-i686/egg/trac/web/main.py", line 226, in dispatch
    resp = chosen_handler.process_request(req)
  File "build/bdist.linux-i686/egg/trac/admin/web_ui.py", line 132, in process_request
    path_info)
  File "build/bdist.linux-i686/egg/svnpolicies/admin.py", line 189, in render_admin_panel
    self._process_new_settings(req)
  File "build/bdist.linux-i686/egg/svnpolicies/admin.py", line 245, in _process_new_settings
    self._delete_hook_links('post-commit')
  File "build/bdist.linux-i686/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, 14 years ago

Resolution: invalid
Status: newclosed

PluginIssue (svnpolicies).

Modify Ticket

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