Traceback (most recent call last):


 "<console>", line 1, in <module>


 "lib/python2.7/site-packages/polymorphic/query.py", line 121, in order_by

new_args = [translate_polymorphic_field_path(self.model, a) for a in args]


 "lib/python2.7/site-packages/polymorphic/query_translate.py", line 151, in translate_polymorphic_field_path

classname, sep, pure_field_path = field_path.partition('___')
AttributeError: 'F' object has no attribute 'partition'

Traceback (most recent call last):


 "/DialoGPT/data_loader.py", line 151, in __del__

self.db.close()
AttributeError: 'BucketingDataLoader' object has no attribute 'db'