[Zope] 2.1.5 break RSSChannel

Timothy Wilson wilson@visi.com
Sat, 18 Mar 2000 21:01:58 -0600 (CST)


On Sat, 18 Mar 2000, Michel Pelletier wrote:

> Can you describe how it is broken?  Is there a traceback?  Are both
> RSSChannel and XMLDocument broken?

I realized 2 sec. after I sent that message that I should have included a
traceback. <dopeslaps self>

<!-- Traceback (innermost last):
  File /usr/local/src/zope/2.1.5/lib/python/ZPublisher/Publish.py, line
214, in publish_module
  File /usr/local/src/zope/2.1.5/lib/python/ZPublisher/Publish.py, line
179, in publish>
  File /usr/local/src/zope/2.1.5/lib/python/Zope/__init__.py, line 202, in
zpublisher_exception_hook> -Michel
    (Object: ApplicationDefaultPermissions)>
  File /usr/local/src/zope/2.1.5/lib/python/ZPublisher/Publish.py, line
165, in publish
  File /usr/local/src/zope/2.1.5/lib/python/ZPublisher/mapply.py, line
160, in mapply
    (Object: index_html)
  File /usr/local/src/zope/2.1.5/lib/python/ZPublisher/Publish.py, line
102, in call_object
    (Object: index_html)
  File /usr/local/src/zope/2.1.5/lib/python/OFS/DTMLMethod.py, line 150,
in __call__
    (Object: index_html)
  File /usr/local/src/zope/2.1.5/lib/python/DocumentTemplate/DT_String.py,
line 502, in __call__
    (Object: index_html)
  File /usr/local/src/zope/2.1.5/lib/python/OFS/DTMLMethod.py, line 146,
in __call__
    (Object: rss_news)
  File /usr/local/src/zope/2.1.5/lib/python/DocumentTemplate/DT_String.py,
line 502, in __call__
    (Object: rss_news)
  File /usr/local/src/zope/2.1.5/lib/python/DocumentTemplate/DT_With.py,
line 148, in render
    (Object: headlines)
  File /usr/local/src/zope/2.1.5/lib/python/DocumentTemplate/DT_In.py,
line 691, in renderwob
    (Object: objectValues('RSS Channel'))
  File /usr/local/src/zope/2.1.5/lib/python/App/special_dtml.py, line 120,
in __call__
    (Object: asHTML)
  File /usr/local/src/zope/2.1.5/lib/python/DocumentTemplate/DT_String.py,
line 502, in __call__
    (Object: asHTML)
  File /usr/local/src/Zope/lib/python/Products/RSSChannel/RSSChannel.py,
line 92, in update
    (Object: B_Moreover_business)
  File
/usr/local/src/zope/2.1.5/lib/python/Products/XMLDocument/XMLDocument.py,
line 240, in parse
    (Object: Manageable)
  File
/usr/local/src/zope/2.1.5/lib/python/Products/XMLDocument/Builder.py, line
149, in parse
  File
/usr/local/src/zope/2.1.5/lib/python/Products/XMLDocument/Builder.py, line
181, in cdata
  File /usr/local/src/zope/2.1.5/lib/python/Products/XMLDocument/Node.py,
line 434, in appendChild
    (Object: Manageable) WrongDocumentException: (see above)
-->

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.

-Tim

--
wilson@visi.com