Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Trac: Tickets

[The Trac Project] #1076: NameError on ics export Python 2.1

 

 

Trac tickets RSS feed   Index | Next | Previous | View Threaded


noreply at edgewall

Dec 21, 2004, 10:46 AM

Post #1 of 4 (150 views)
Permalink
[The Trac Project] #1076: NameError on ics export Python 2.1

#1076: NameError on ics export Python 2.1
---------------------+------------------------------------------------------
Id: 1076 | Status: new
Component: roadmap | Modified: Tue Dec 21 10:46:37 2004
Severity: normal | Milestone: 0.8.1
Priority: normal | Version: 0.8
Owner: cmlenz | Reporter: yaver <clif [at] yaver>
---------------------+------------------------------------------------------
If i request an ics export, i became a file with the follow errors:
{{{
*** Python traceback ***
Traceback (most recent call last):
File "/usr/lib/python2.1/site-packages/trac/core.py", line 525, in
cgi_start
real_cgi_start()
File "/usr/lib/python2.1/site-packages/trac/core.py", line 520, in
real_cgi_start
dispatch_request(path_info, args, req, env)
File "/usr/lib/python2.1/site-packages/trac/core.py", line 435, in
dispatch_request
module.run()
File "/usr/lib/python2.1/site-packages/trac/Module.py", line 46, in run
disp()
File "/usr/lib/python2.1/site-packages/trac/Roadmap.py", line 143, in
display_ics
write_prop('BEGIN', 'VCALENDAR')
File "/usr/lib/python2.1/site-packages/trac/Roadmap.py", line 130, in
write_prop
self.req.write(text[:75] + CRLF)
NameError: global name 'self' is not defined
}}}

SW Specs:
Trac 0.8 (deb http://ftp.edgewall.com/pub/debian sarge trac)
Python 2.1
OS Debian/Linux (sarge)

--
Ticket URL: <http://projects.edgewall.com/trac/ticket/1076>
The Trac Project <>


noreply at edgewall

Dec 21, 2004, 12:03 PM

Post #2 of 4 (143 views)
Permalink
Re: [The Trac Project] #1076: NameError on ics export Python 2.1 [In reply to]

#1076: NameError on ics export Python 2.1
---------------------+------------------------------------------------------
Id: 1076 | Status: new
Component: roadmap | Modified: Tue Dec 21 12:03:40 2004
Severity: normal | Milestone: 0.8.1
Priority: normal | Version: 0.8
Owner: cmlenz | Reporter: yaver <clif [at] yaver>
---------------------+------------------------------------------------------
Comment (by otavio):

Looks like 2.1 doesn't support nested functions very well. A workaround is
present and documented here: http://www.oreillynet.com/pub/wlg/6063

--
Ticket URL: <http://projects.edgewall.com/trac/ticket/1076>
The Trac Project <>


noreply at edgewall

Dec 22, 2004, 8:37 AM

Post #3 of 4 (144 views)
Permalink
Re: [The Trac Project] #1076: NameError on ics export Python 2.1 [In reply to]

#1076: NameError on ics export Python 2.1
---------------------+------------------------------------------------------
Id: 1076 | Status: assigned
Component: roadmap | Modified: Wed Dec 22 08:37:09 2004
Severity: normal | Milestone: 0.8.1
Priority: normal | Version: 0.8
Owner: cmlenz | Reporter: yaver <clif [at] yaver>
---------------------+------------------------------------------------------
Changes (by cmlenz):

* keywords: => python21
* status: new => assigned

--
Ticket URL: <http://projects.edgewall.com/trac/ticket/1076>
The Trac Project <>


noreply at edgewall

Dec 22, 2004, 8:52 AM

Post #4 of 4 (141 views)
Permalink
Re: [The Trac Project] #1076: NameError on ics export Python 2.1 [In reply to]

#1076: NameError on ics export Python 2.1
---------------------+------------------------------------------------------
Id: 1076 | Status: closed
Component: roadmap | Modified: Wed Dec 22 08:52:03 2004
Severity: normal | Milestone: 0.8.1
Priority: normal | Version: 0.8
Owner: cmlenz | Reporter: yaver <clif [at] yaver>
---------------------+------------------------------------------------------
Changes (by cmlenz):

* resolution: => fixed
* status: assigned => closed

Comment:

Fixed in [1158], ported to stable in [1159].

--
Ticket URL: <http://projects.edgewall.com/trac/ticket/1076>
The Trac Project <>

Trac tickets RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.