[Zope] 2.1.5 break RSSChannel

Jim Fulton jim@digicool.com
Mon, 20 Mar 2000 13:33:09 -0500


Timothy Wilson wrote:
> 
(snip)

> Notice that line where it refers to RSSChannel.py. It's pointing to the
> RSSChannel.py file in my previous (2.1.4) version of Zope. Odd.
> 
> However, it might have something to do with the fact that when I installed
> 2.1.5 I didn't untar a fresh copy of RSSChannel, but copied it to the new
> directory instead. I did that because I'd made some changes to
> RSSChannel.py and another file and didn't want to redo them. I did a 'cp
> -a' if memory serves.
> 
> I was under the impression that you could copy the directories in
> lib/python/Products/ over to a new Zope. Obviously it didn't work in this
> case.

It did work.  The filename that appears in the traceback is the name
of the .py file when it was compiled to produce a .pyc file.
Since you copied the pyc file, the old name was retained.

Please see my other note for information on a fix to this problem.

Jim

--
Jim Fulton           mailto:jim@digicool.com   Python Powered!        
Technical Director   (888) 344-4332            http://www.python.org  
Digital Creations    http://www.digicool.com   http://www.zope.org    

Under US Code Title 47, Sec.227(b)(1)(C), Sec.227(a)(2)(B) This email
address may not be added to any commercial mail list with out my
permission.  Violation of my privacy with advertising or SPAM will
result in a suit for a MINIMUM of $500 damages/incident, $1500 for
repeats.