Ticket #2438 (closed defect: fixed)

Opened 5 years ago

Last modified 4 years ago

Trac detected an internal error: TypeError: 'NoneType' object is not iterable

Reported by: w.frasson@infosol.it Assigned to: bobbysmith007
Priority: normal Component: TimingAndEstimationPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.10

Description

How to Reproduce

While doing a GET operation on /Billing, Trac issued an internal error.

System Information

Trac 0.11b1
Python `2.5 (r25:51908, Sep 19 2006, 09:52:17) [MSC v.1310 32

bit (Intel)]`

setuptools 0.6c7
SQLite 3.5.2
pysqlite 2.4.0
Genshi 0.5dev-r789
Pygments 0.9
Subversion 1.4.6 (r28521)

Python Traceback

 Traceback (most recent call last):
   File "C:\Python25\Lib\site-packages\trac\web\main.py", line 398, in
 _dispatch_request
     dispatcher.dispatch(req)
   File "C:\Python25\Lib\site-packages\trac\web\main.py", line 195, in
 dispatch
     resp = chosen_handler.process_request(req)
   File "build\bdist.win32\egg\timingandestimationplugin\webui.py", line
 99, in process_request
     self.set_request_billing_dates(data)
   File "build\bdist.win32\egg\timingandestimationplugin\webui.py", line
 68, in set_request_billing_dates
     for (value, text) in rs.rows:
 TypeError: 'NoneType' object is not iterable

Attachments

Change History

01/21/08 19:09:55 changed by bobbysmith007

Working on this, expect a fix soon

01/21/08 20:36:52 changed by bobbysmith007

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

(In [3119]) closes #2438

Replaced dbhelper with a version of that file that maintains its own connections (via an env var set during environment setup)


Add/Change #2438 (Trac detected an internal error: TypeError: 'NoneType' object is not iterable)




Change Properties
Action