W
W
wizzi7872019-09-04 13:31:29
Parsing
wizzi787, 2019-09-04 13:31:29

Parsing error.... not well-formed - how to solve it?

A piece of the log - with a problematic place:

Blaupunkt Porto 170
JVC KD-X262
Nakamichi NQ711B Exception in thread 2:
Traceback (most recent call last):
File "/usr/lib/python3.4/threading.py", line 911, in _bootstrap_inner
self.run()
File " /usr/lib/python3.4/threading.py", line 859, in run
self._target(*self._args, **self._kwargs)
File "/var/www/users/USER/domains/FOLDER/oc_prs_mirzvuk /mirzvuk1/cron-45.py", line 147, in parser
xml_prettyxml = minidom.parseString(xml).toprettyxml()
File "/usr/lib/python3.4/xml/dom/minidom.py", line 1970, in parseString
return expatbuilder.parseString(string)
File "/usr/lib/python3.4/xml/dom/expatbuilder.py", line 925, in parseString
return builder.parseString(string)
File "/usr/lib/python3.4/xml/dom/expatbuilder.py", line 223, in parseString
parser.Parse(string, True)
xml.parsers.expat.ExpatError: not well -formed (invalid token): line 1, column 4112
Clarion CZ202EGRU
JVC KD-R889BT
Celsior CSW-186G

This is how an error appears in the log, the result is a missing bunch of goods. Those. he goes well and at some point, something bad - he writes like this, and then continues and everything is fine. What to do about it, and how to solve it?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question