Closed martino-vic closed 1 year ago
The error is easy to find, right?
You know how to read a traceback? It shows the error is on your side, not on the lexibank side.
The error is easy to find, right?
Hmm, I haven't found it yet
You know how to read a traceback? It shows the error is on your side, not on the lexibank side.
Hmm I'm just wondering why the error is on my side, if nothing changed on my side
You are relying on concept glosses in the concept list being non-empty: https://github.com/martino-vic/gerstnerhungarian/blob/3c982ec49b6cdca45d592f69e2a32966491687d3/lexibank_gerstnerhungarian.py#L60
If you run the CLDF creation against a different version of Concepticon, this may explain the problem.
You are relying on concept glosses in the concept list being non-empty: https://github.com/martino-vic/gerstnerhungarian/blob/3c982ec49b6cdca45d592f69e2a32966491687d3/lexibank_gerstnerhungarian.py#L60
If you run the CLDF creation against a different version of Concepticon, this may explain the problem.
Wonderful. This fixed my issue immediately, thank you so much! Only had to add --concepticon-version=v2.5.0 --glottolog-version=v4.5 --clts-version=v2.2.0
to my shell script. Will add these flags by default from now on.
Surprsingly, the tests are still passing
The tests only check the validity of the generated CLDF - they don't run the whole workflow.
Just wrote a config-file that runs the whole workflow on circleci, to avoid these kind of errors in the future.
In this repo the cldf-conversion worked fine a year ago. I made no changes to it and now the conversion fails. I assume it must have to do something with some dependecies that have changed.
When I create a fresh venv, clone the repo, run
$ pip install -e gerstnerhungarian
and then$ bash hun.sh
, which contains the linecldfbench lexibank.makecldf lexibank_gerstnerhungarian.py
I get this error message:Earlier I had problems with line 59 in lexibank_gerstnerhungarian.py, where
self.conceptlists[0].concepts
triggered an error.Surprsingly, the tests are still passing