Skip to content

The XML document has moved  #50

@hubner-lab

Description

@hubner-lab

Hi,
when i'm using "Fetch" i get this error:

DEBUG The XML I got was

<title>302 Found</title>

Found

The document has moved here.

===2020-01-26 12:56:30,035 - lrt_predict.Fetch.fetch===
DEBUG The XML I got was

<title>302 Found</title>

Found

The document has moved here.

Traceback (most recent call last):
File "/mnt/data/Tools/BAD_Mutations-Python3/BAD_Mutations/BAD_Mutations.py", line 382, in
main()
File "/mnt/data/Tools/BAD_Mutations-Python3/BAD_Mutations/BAD_Mutations.py", line 348, in main
fetch(arguments_valid, loglevel)
File "/mnt/data/Tools/BAD_Mutations-Python3/BAD_Mutations/BAD_Mutations.py", line 110, in fetch
phy.get_xml_urls()
File "/mnt/data/Tools/BAD_Mutations-Python3/BAD_Mutations/lrt_predict/Fetch/phytozome.py", line 168, in get_xml_urls
xml_tree = ElementTree.fromstring(xml)
File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1311, in XML
parser.feed(text)
File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1659, in feed
self._raiseerror(v)
File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1523, in _raiseerror
raise err
xml.etree.ElementTree.ParseError: syntax error: line 1, column 49

i didn't manage to redirect the phytosome.py script to the correct XML, any suggestions?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions