Skip to content

Problem in PIL/Image.py

Hello!

in error.log we have lots of errors that goes like this:

[Mon Mar 04 01:56:23.783813 2019] [wsgi:error] [pid 20992:tid 140345052468992]   """)
Exception ignored in: <object repr() failed>
Traceback (most recent call last):
  File "/mnt/data/.virtualenv/lib/python3.6/site-packages/PIL/Image.py", line 614, in __del__
NameError: name 'hasattr' is not defined
Exception ignored in: <object repr() failed>
Traceback (most recent call last):
  File "/mnt/data/.virtualenv/lib/python3.6/site-packages/PIL/Image.py", line 614, in __del__
NameError: name 'hasattr' is not defined
Exception ignored in: <object repr() failed>
Traceback (most recent call last):
  File "/mnt/data/.virtualenv/lib/python3.6/site-packages/PIL/Image.py", line 614, in __del__
NameError: name 'hasattr' is not defined

Would it be possible to fix somehow?

These are not the only errors but the other seems to be a problem in deployment related to deprecation of psycopg2 wheel package. I need to take a look at it.

Edited by Ghost User