Wednesday, September 12, 2018

TypeError: this constructor takes no arguments

I had the following traceback:

WSGI script '/usr/local/django/testlino/'.
mod_wsgi (pid=13652): Target WSGI script '/usr/local/django/testlino/' cannot be loaded as Python module.
mod_wsgi (pid=13652): Exception occurred processing WSGI script '/usr/local/django/testlino/'.
Traceback (most recent call last):
  File "/usr/local/django/testlino/", line 12, in <module>
    application = django.core.handlers.wsgi.WSGIHandler()
  File "/usr/local/django/testlino/env/lib/python2.7/site-packages/django/core/handlers/", line 151, in __init__
  File "/usr/local/django/testlino/env/lib/python2.7/site-packages/django/core/handlers/", line 82, in load_middleware
    mw_instance = middleware(handler)
TypeError: this constructor takes no arguments

This was because lino.modlib.ipdict.middleware did not yet use django.deprecation.MiddlewareMixin.

TODO: Why did this problem occur only on testlino in cpaseupen?

Run eidreader without console window

I released version 1.0.2 of eidreader.