Homepage Forums RetroPie Project Peoples Projects Updated Python Scraper for EmulationStation Reply To: Updated Python Scraper for EmulationStation

#85658
brakanje
Participant
login as: pi
pi@192.168.1.129's password:
Linux raspberrypi 3.18.3+ #740 PREEMPT Wed Jan 21 23:55:56 GMT 2015 armv6l

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Thu Jan 22 16:47:59 2015

   .~~.   .~~.    Thursday, 22 January 2015,  5:33:34 pm UTC
  '. \ ' ' / .'   Linux 3.18.3+ armv6l GNU/Linux
   .~ .~~~..~.
  : .~.'~'.~. :   Filesystem      Size  Used Avail Use% Mounted on
 ~ (   ) (   ) ~  rootfs           29G  7.1G   21G  26% /
( : '~'.~.'~' : ) Uptime.............: 0 days, 00h45m51s
 ~ .~       ~. ~  Memory.............: 64268kB (Free) / 250872kB (Total)
  (   |   |   )   Running Processes..: 76
  '~         ~'   IP Address.........: 192.168.1.129
    *--~-~--*     The RetroPie Project, www.petrockblock.com

pi@raspberrypi /ES-scraper $ python scraper.py -pisize -l
Traceback (most recent call last):
  File "scraper.py", line 586, in <module>
    ES_systems = readConfig(config)
  File "scraper.py", line 84, in readConfig
    config = ET.parse(file)
  File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1183, in parse
    tree.parse(source, parser)
  File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 656, in parse
    parser.feed(data)
  File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1643, in feed
    self._raiseerror(v)
  File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1507, in _raiseerror
    raise err
xml.etree.ElementTree.ParseError: not well-formed (invalid token): line 101, column 237
pi@raspberrypi /ES-scraper $

I am guessing I did something wrong but am not exactly sure what.