giellalt / giella-core

Build tools and build support files as well as developer support tools for the GiellaLT repositories.
https://giellalt.uit.no
GNU General Public License v3.0
7 stars 2 forks source link

`specification` variable in `scripts/editdist.py:main` is unbound #22

Closed Eijebong closed 1 year ago

Eijebong commented 2 years ago

See here: https://github.com/giellalt/giella-core/blob/e0331988eaa3e6ed9640f5715c78385bcf8bfc17/scripts/editdist.py#L529

The specification variable is never assigned to in that function, eating the real error message as seen here: https://divvun-tc.giellalt.org/tasks/Tws-HWjpS_G2XXKN6BuLRw/runs/0/logs/public/logs/live.log#L8134

snomos commented 1 year ago

@albbas can you have a look? This is python 🙂

albbas commented 1 year ago

Will do