Closed peterlcsteele closed 2 years ago
Fixed in d5108224ac727f2f1fa997e6358c4f971cb35aa6. Thanks for reporting this! I don't know why I never saw this error - I'm using Python 3.9.
This has caused a problem with the set_query_values
template tag - strings look iterable, so it thinks they're a list of values.
Now fixed!
collections.abc.Iterable is has now been removed in Python 3.8+
The following error is thrown when trying to access the Attempts tab:
daphne_4 | File "/opt/numbas-lti-provider/./numbas_lti/templatetags/querystring.py", line 30, in set_query_values daphne_4 | if isinstance(v, collections.Iterable) and not isinstance(v, six.string_types): daphne_4 | AttributeError: module 'collections' has no attribute 'Iterable'
Temporary workaround: Install Python 3.7 or require Python 3.7 in Dockerfile.
Fix: Use collections.abc.Iterable instead