DSN Stations

Loading Map...
--> -->
 
 
<class 'xml.parsers.expat.ExpatError'>
Python 2.7.3: /usr/bin/python
Sat Jun 12 17:32:57 2021

A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.

 /home/dsn/html/phpscripts/SC3StationsXML.py in ()
     11 P = Popen(["../seiscomp3/bin/seiscomp","exec","scxmldump","-fI","-d","mysql://sysop:sysop@132.66.137.147/seiscomp3"],stdout=PIPE,stderr=PIPE)
     12 data = P.stdout.read()
=>   13 xmldoc = minidom.parseString(data)
     14 
     15 networks = xmldoc.getElementsByTagName('network')
xmldoc undefined, minidom = <module 'xml.dom.minidom' from '/usr/lib64/python2.7/xml/dom/minidom.pyc'>, minidom.parseString = <function parseString>, data = ''
 /usr/lib64/python2.7/xml/dom/minidom.py in parseString(string='', parser=None)
   1928     if parser is None:
   1929         from xml.dom import expatbuilder
=> 1930         return expatbuilder.parseString(string)
   1931     else:
   1932         from xml.dom import pulldom
expatbuilder = <module 'xml.dom.expatbuilder' from '/usr/lib64/python2.7/xml/dom/expatbuilder.pyc'>, expatbuilder.parseString = <function parseString>, string = ''
 /usr/lib64/python2.7/xml/dom/expatbuilder.py in parseString(string='', namespaces=True)
    938     else:
    939         builder = ExpatBuilder()
=>  940     return builder.parseString(string)
    941 
    942 
builder = <xml.dom.expatbuilder.ExpatBuilderNS instance>, builder.parseString = <bound method ExpatBuilderNS.parseString of <xml.dom.expatbuilder.ExpatBuilderNS instance>>, string = ''
 /usr/lib64/python2.7/xml/dom/expatbuilder.py in parseString(self=<xml.dom.expatbuilder.ExpatBuilderNS instance>, string='')
    221         parser = self.getParser()
    222         try:
=>  223             parser.Parse(string, True)
    224             self._setup_subset(string)
    225         except ParseEscape:
parser = <pyexpat.xmlparser object>, parser.Parse = <built-in method Parse of pyexpat.xmlparser object>, string = '', builtin True = True

<class 'xml.parsers.expat.ExpatError'>: no element found: line 1, column 0
      args = ('no element found: line 1, column 0',)
      code = 3
      lineno = 1
      message = 'no element found: line 1, column 0'
      offset = 0

Powered by Apache and PHP
Contact us
Created by Ran Novitsky Nof, TAU, 2013