CambridgeSemiticsLab / nena

The North Eastern Neo-Aramaic Database Site
https://nena.ames.cam.ac.uk
5 stars 0 forks source link

Unbound Local Error #121

Closed Paul32N closed 1 year ago

Paul32N commented 1 year ago

https://nena.ames.cam.ac.uk/dialects/1000010/grammar Browser: Chrome, FireFox

Starting point https://nena.ames.cam.ac.uk/dialects/1000010/ From the Homepage I go to "Dialects" and click on a random dialect, called Jənnet. I go to the dialect's page and then click on "Browse grammatical description"

Unexpected Error I receive the following error message:

UnboundLocalError at /dialects/1000010/grammar

local variable 'feature_list' referenced before assignment
Request Method: | GET > -- | -- > https://nena.ames.cam.ac.uk/dialects/1000010/grammar > 3.1.14 > UnboundLocalError > local variable 'feature_list' referenced before assignment > /var/www/production/dialects/views.py, line 301, in features_of_dialect > /var/www/production/venv//bin/python > 3.7.3 > ['/var/www/production', '/usr/lib/python37.zip', '/usr/lib/python3.7', '/usr/lib/python3.7/lib-dynload', '/var/www/production/venv/lib/python3.7/site-packages'] > > > >

Expected situation Normally, this would open the page with an editable list of the dialect's grammar features per feature tree.

Would you be able to fix this? Many thanks for your work.