On 10/1/21 11:38 AM, Odhiambo Washington wrote:
When I try to access the web UI, I get this strange error:

[Fri Oct 01 21:39:52.732148 2021] [cgi:error] [pid 7164] [client
197.232.81.246:1025] AH01215:   File "/usr/local/mailman2/scripts/driver",
line 112: /usr/local/mailman2/cgi-bin/admin
[Fri Oct 01 21:39:52.732207 2021] [cgi:error] [pid 7164] [client
197.232.81.246:1025] AH01215:     print 'Status: 405 Method not allowed':
/usr/local/mailman2/cgi-bin/admin
[Fri Oct 01 21:39:52.732217 2021] [cgi:error] [pid 7164] [client
197.232.81.246:1025] AH01215:           ^: /usr/local/mailman2/cgi-bin/admin
[Fri Oct 01 21:39:52.732269 2021] [cgi:error] [pid 7164] [client
197.232.81.246:1025] AH01215: SyntaxError: Missing parentheses in call to
'print'. Did you mean print('Status: 405 Method not allowed')?:
/usr/local/mailman2/cgi-bin/admin
[Fri Oct 01 21:39:52.733570 2021] [cgi:error] [pid 7164] [client
197.232.81.246:1025] End of script output before headers: admin

I am a bit perplexed.


The driver script is being invoked with python3 rather than python2.

What does the command `python` invoke?

What options did you give to configure?

--
Mark Sapiro <[email protected]>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan
------------------------------------------------------
Mailman-Users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/mailman-users.python.org/
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: https://www.mail-archive.com/[email protected]/
   https://mail.python.org/archives/list/[email protected]/

Reply via email to