[Zope] SiteSummary 1.2.1 problemita
Loren Stafford
lstafford@icompression.com
Wed, 10 Nov 1999 12:56:11 -0800
Edd,
I tried out the new SiteSummary product and ran into a little problem. I
have an automatic summary at URL
http://www.icompression.com/news/releases/NewsSummary. I'm trying to import
this into another instance of SiteSummary 1.2.1 on our Intranet server. But
the below error happens. You can see that the generated XML does indeed have
a blank line as the first line. I can't see an easy way around this. Can
you?
-- Thanks
-- Loren
<!--
Error type: RuntimeError
Error value: Syntax error at line 2: <?xml?> declaration not at start of
document
-->
<!--
Traceback (innermost last):
File /opt/Zope-2.0.0/lib/python/ZPublisher/Publish.py, line 214, in
publish_module
File /opt/Zope-2.0.0/lib/python/ZPublisher/Publish.py, line 179, in
publish
File /opt/Zope-2.0.0/lib/python/Zope/__init__.py, line 201, in
zpublisher_exception_hook
(Object: iCNewsSummary)
File /opt/Zope-2.0.0/lib/python/ZPublisher/Publish.py, line 165, in
publish
File /opt/Zope-2.0.0/lib/python/ZPublisher/mapply.py, line 160, in mapply
(Object: importRSS)
File /opt/Zope-2.0.0/lib/python/ZPublisher/Publish.py, line 102, in
call_object
(Object: importRSS)
File /opt/Zope-2.0.0/lib/python/OFS/DTMLMethod.py, line 145, in __call__
(Object: importRSS)
File /opt/Zope-2.0.0/lib/python/DocumentTemplate/DT_String.py, line 502,
in __call__
(Object: importRSS)
File /opt/Zope-2.0.0/lib/python/DocumentTemplate/DT_Util.py, line 321, in
eval
(Object: importFromURL(REQUEST))
File <string>, line 0, in ?
File /opt/Zope-2.0.0/lib/python/Products/ExternalMethod/ExternalMethod.py,
line 253, in __call__
(Object: importFromURL)
(Info: ((
<snip very long REQUEST structure>
), {}, None))
File
/export/home2/opt/Zope-2.0.0/Extensions/SiteSummary.sitesummary_import.py,
line 127, in sitesummary_import
(Object: iCNewsSummary)
File
/export/home2/opt/Zope-2.0.0/Extensions/SiteSummary.sitesummary_import.py,
line 122, in parse_url
File /opt/Zope-2.0.0/lib/python1.5/xmllib.py, line 149, in feed
File /opt/Zope-2.0.0/lib/python1.5/xmllib.py, line 273, in goahead
File /opt/Zope-2.0.0/lib/python1.5/xmllib.py, line 748, in syntax_error
RuntimeError: (see above)
-->