Modify ↓
Opened 12 years ago
Closed 12 years ago
#10999 closed defect (cantfix)
TypeError: 'NoneType' object is unsubscriptable
Reported by: | rohit_swarup | Owned by: | |
---|---|---|---|
Priority: | high | Milestone: | |
Component: | general | Version: | |
Severity: | normal | Keywords: | |
Cc: | ryan.j.ollos@… | Branch: | |
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
How to Reproduce
While doing a GET operation on /timesheet
, Trac issued an internal error.
(please provide additional details here)
User Agent was: Mozilla/4#0 #compatible; MSIE 7#0; Windows NT 6#1; Trident/5#0; SLCC2; #NET CLR 2#0#50727; #NET CLR 3#5#30729; #NET CLR 3#0#30729; Media Center PC 6#0; InfoPath#3; #NET4#0C; #NET4#0E#
System Information
Trac | 0#11#2#1
|
Python | 2#6#5 #r265:79063, Apr 16 2010, 13:28:26# ##br## #GCC 4#4#3#
|
setuptools | 0#6
|
SQLite | 3#7#3
|
pysqlite | 2#4#1
|
Genshi | 0#5#1
|
Pygments | 1#2#2
|
RPC | 1#0#6
|
jQuery: | 1#3#2
|
Python Traceback
Traceback #most recent call last#: File "/usr/local/lib/python2#6/dist-packages/Trac-0#11#2#1-py2#6#egg/trac/web/main#py", line 455, in _dispatch_request dispatcher#dispatch#req# File "/usr/local/lib/python2#6/dist-packages/Trac-0#11#2#1-py2#6#egg/trac/web/main#py", line 227, in dispatch resp = chosen_handler#process_request#req# File "/usr/local/lib/python2#6/dist-packages/TimeSheet-1#0-py2#6#egg/TimeSheet/api#py", line 55, in process_request self#rank = self#get_user_rank#req#authna#e# File "/usr/local/lib/python2#6/dist-packages/TimeSheet-1#0-py2#6#egg/TimeSheet/api#py", line 194, in get_user_rank rank = int#cursor.fetchone##[0]# TypeError: 'NoneType' object is unsubscriptable
Attachments (0)
Note:
See TracTickets
for help on using tickets.
PluginIssue. I'm interested to know where you got this plugin though, if it is publicly available.