Найти - Пользователи
Полная версия: xml.sax no element found
Начало » Python для экспертов » xml.sax no element found
1
crchemist
що означає ця помилка? xml-ка валідна
traceback певно нічо не скаже але ось він:
Class 'zope.configuration.xmlconfig.ZopeSAXParseException'>: File "/base/data/home/apps/gae-rp/1.330720775355226406/parts/app/site.zcml", line 1.0,  no element found
Traceback (most recent call last):
File "/base/data/home/apps/gae-rp/1.330720775355226406/zwrcl.py", line 202, in <module>
load()
File "/base/data/home/apps/gae-rp/1.330720775355226406/zwrcl.py", line 197, in load
xmlconfig.include(context, **ZCML)
File "/base/data/home/apps/gae-rp/1.330720775355226406/eggs/zope.configuration-3.4.0-py2.5.egg/zope/configuration/xmlconfig.py", line 548, in include
File "/base/data/home/apps/gae-rp/1.330720775355226406/eggs/zope.configuration-3.4.0-py2.5.egg/zope/configuration/xmlconfig.py", line 380, in processxmlfile
File "/base/python_dist/lib/python2.5/xml/sax/expatreader.py", line 107, in parse
xmlreader.IncrementalParser.parse(self, source)
File "/base/python_dist/lib/python2.5/xml/sax/xmlreader.py", line 125, in parse
self.close()
File "/base/python_dist/lib/python2.5/xml/sax/expatreader.py", line 217, in close
self.feed("", isFinal = 1)
File "/base/python_dist/lib/python2.5/xml/sax/expatreader.py", line 211, in feed
self._err_handler.fatalError(exc)
File "/base/python_dist/lib/python2.5/xml/sax/handler.py", line 38, in fatalError
raise exception
Питання - що означає no element found?
crchemist
Помилка виникає в processxmlfile в http://svn.zope.org/zope.configuration/tags/3.4.0/src/zope/configuration/xmlconfig.py?rev=80462&view=auto при будь-якій xml. Навіть <configure></configure>
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Powered by DjangoBB