Ticket #9569 (closed defect: fixed)

Opened 1 year ago

Last modified 1 year ago

"TypeError: expected string or buffer"

Reported by: xaminmo Assigned to: anbo
Priority: normal Component: ProjectPlanPlugin
Severity: normal Keywords:
Cc: xaminmo Trac Release: 0.11

Description

Creating a ticket fails with "TypeError?: expected string or buffer".

Tried with blocked/blocking tickets null and filled.

Tried on 11.6 and 11.7, same results.

Disable projectplan fixes the error.

Versions right now:

Trac: 0.11.6
Python: 2.5.6 (r256:88840, Dec 1 2011, 23:44:35) [GCC 4.3.2]
setuptools: 0.6c12
SQLite: 3.5.9
pysqlite: 2.6.3
Genshi: 0.5.1
Pygments: 1.4
Subversion: 1.6.17 (r1128011)
jQuery: 1.2.6
ProjectPlan? 0.88.4
Python Traceback
Most recent call last:

    File "/home/xaminmo/local/lib/python2.5/site-packages/Trac-0.11.6-py2.5.egg/trac/web/main.py", line 450, in _dispatch_request
    File "/home/xaminmo/local/lib/python2.5/site-packages/Trac-0.11.6-py2.5.egg/trac/web/main.py", line 176, in dispatch
    File "/home/xaminmo/local/lib/python2.5/site-packages/Trac-0.11.6-py2.5.egg/trac/web/main.py", line 296, in _pre_process_request
    File "build/bdist.linux-x86_64/egg/projectplan/ppticketviewtweak.py", line 136, in pre_process_request
    File "build/bdist.linux-x86_64/egg/projectplan/ppticketviewtweak.py", line 244, in change_blocked_tickets
    File "build/bdist.linux-x86_64/egg/projectplan/ppticketviewtweak.py", line 190, in splitStringToTicketList 
Local variables:
current_ticket_id 	-1
r 	<_sre.SRE_Pattern object at 0x171fe40>
self 	<projectplan.ppticketviewtweak.PPTicketViewTweak object at 0x1a7f890>
tickets 	None

Attachments

pp88.4_fail.png (32.1 kB) - added by xaminmo on 12/02/11 09:52:59.
screenshot of new ticket form

Change History

12/02/11 09:52:59 changed by xaminmo

  • attachment pp88.4_fail.png added.

screenshot of new ticket form

03/10/12 23:18:06 changed by anbo

  • status changed from new to closed.
  • resolution set to fixed.

[11373] (version 0.91.2) should solve the problem. However, I could not reproduce the situation where this problem should appear. Do not hesitate to reopen the ticket if the error is still occurs.

Duplicate to: #8879


Add/Change #9569 ("TypeError: expected string or buffer")




Change Properties
Action