MaRDI4NFDI / python-zbMathRest2Oai

Read data from the zbMATH Open API https://api.zbmath.org/docs and feed it to the OAI-PMH server https://oai.portal.mardi4nfdi.de/oai/
GNU General Public License v3.0
4 stars 0 forks source link

fix falining build #37

Closed physikerwelt closed 9 months ago

physikerwelt commented 9 months ago

Describe the issue Currently the CI pipeline fails:

==================================== ERRORS ====================================
___________ ERROR collecting src/zbmath_rest2oai/write_local_test.py ___________
src/zbmath_rest2oai/write_local_test.py:4: in <module>
    xml_string = getAsXml.final_xml2(sys.argv[1], sys.argv[2])
E   IndexError: list index out of range
=========================== short test summary info ============================
ERROR src/zbmath_rest2oai/write_local_test.py - IndexError: list index out of range
!!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!
=

fix it

physikerwelt commented 9 months ago

still happening

Mazztok45 commented 9 months ago

I know, I will work on that soon.

physikerwelt commented 9 months ago

nvm. I'll fix it myself.

physikerwelt commented 9 months ago

fixed in https://github.com/MaRDI4NFDI/python-zbMathRest2Oai/commit/f4f54baeb421caa6a61bbddf638fe610b489f6d9