[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to POST html data to be handled by a route endpoint

???? ??????????????, 7 ?????????-???? 2020 - 12:34:21 ? .??. UTC+2, ??
?????R???????? DL Neil ? ??????????:

> Please post the full error message and traceback.
> To clarify: is the error coming from Python or from the web server?

I beleive it comes from the web server. Here it is:

Error: 500 Internal Server Error
Sorry, the requested URL '' caused an error:

Internal Server Error
TypeError("argument of type 'NoneType' is not iterable",) Traceback:
Traceback (most recent call last):
  File "/home/nikos/wsgi/", line 996, in _handle
    out =**args)
  File "/home/nikos/wsgi/", line 2007, in wrapper
    rv = callback(*a, **ka)
  File "/home/nikos/wsgi/", line 189, in mailform
    if provider in FROM:
TypeError: argument of type 'NoneType' is not iterable

I somehow beleive that the following apache conf directives somehow create problem.

When tries to post html form data to the route endpoint
'/mailform' it sends it to and NOT at as it should have done.

They somehow interfere.

Here is the processes running in the webserver that somehow interfere.

WSGIDaemonProcess test user=nikos group=nikos home=/home/nikos/wsgi
WSGIScriptAlias /test /home/nikos/wsgi/ process-group=test

WSGIDaemonProcess www user=nikos group=nikos home=/home/nikos/wsgi
WSGIScriptAliasMatch / /home/nikos/wsgi/ process-group=www