Modify

Opened 15 years ago

Closed 15 years ago

#5623 closed defect (fixed)

Getting TypeError: argument of type 'NoneType' is not iterable

Reported by: werner@… Owned by: Xavier Pechoultres
Priority: high Component: IcalViewPlugin
Severity: blocker Keywords:
Cc: Trac Release: 0.11

Description

I'm getting a TypeError: argument of type 'NoneType' is not iterable. I'm running Trac on WinXP

Python Traceback

Most recent call last: File "C:\Python25\Lib\site-packages\trac\web\main.py", line 435, in _dispatch_request

dispatcher.dispatch(req)

File "C:\Python25\Lib\site-packages\trac\web\main.py", line 205, in dispatch

resp = chosen_handler.process_request(req)

File "C:\Python25\Lib\site-packages\trac\ticket\query.py", line 827, in process_request

format, filename=None)

File "C:\Python25\Lib\site-packages\trac\mimeview\api.py", line 914, in send_converted

content, selector)

File "C:\Python25\Lib\site-packages\trac\mimeview\api.py", line 640, in convert_content

output = converter.convert_content(req, mimetype, content, ck)

File "build\bdist.win32\egg\icalview\icalview.py", line 41, in convert_contentFile "build\bdist.win32\egg\icalview\icalview.py", line 190, in export_ical

System Information:

User Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/530.5 (KHTML, like Gecko) Chrome/2.0.172.39 Safari/530.5

Trac: 0.11.4 Python: 2.5.4 (r254:67916, Dec 23 2008, 15:10:54) [MSC v.1310 32 bit (Intel)] setuptools: 0.6c9 MySQL: server: "5.1.33-community", client: "5.0.27", thread-safe: 1 MySQLdb: 1.2.2 Genshi: 0.5.1 jQuery: 1.2.6

Any ideas?

Attachments (0)

Change History (3)

comment:1 Changed 15 years ago by anonymous

Owner: changed from Xavier Pechoultres to anonymous
Status: newassigned

Hello,

I investigate this problem ...

Many thanks for your report !

xp

comment:2 Changed 15 years ago by Xavier Pechoultres

Owner: changed from anonymous to Xavier Pechoultres
Status: assignednew

comment:3 Changed 15 years ago by Xavier Pechoultres

Resolution: fixed
Status: newclosed

(In [6324]) fix #5623 : os.getenv('SERVER_PROTOCOL') return None under Windows. Investigate another way to get server protocol

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Xavier Pechoultres.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.