tech-pkg archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Issue with python27 & mailman
Hi,
I haven't created a PR because I don't yet have enough information. I'm 
still running lists using mailman which still uses python27.
I updated mailman today to mailman-2.1.35 because of the fixed CVEs. 
Everything with email seems to work, but I tried the web interface and saw 
it didn't work.
I then switched back to mailman-2.1.34 and I still see the same issue, 
which makes me wonder if the issue is related to the recent python27 
updates. I don't use the web interface often, so I can't say whether it 
has worked since the python27 update.
Would someone who knows python be able to point me in the right direction 
here? No idea what "_QS_SEPARATOR_CONFIG_FILENAME" is, nor where it would 
be defined, nor can I find it.
List server name has been genericized below.
Is this related to i18n issues?
Thanks,
John Klos
Oct 27 18:40:51 2021 admin(21761): 
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
admin(21761): [----- Mailman Version: 2.1.35 -----]
admin(21761): [----- Traceback ------]
admin(21761): Traceback (most recent call last):
admin(21761):   File "/usr/local/lib/mailman/scripts/driver", line 117, in run_main
admin(21761):     main()
admin(21761):   File "/usr/local/lib/mailman/Mailman/Cgi/listinfo.py", line 60, in main
admin(21761):     cgidata = cgi.FieldStorage()
admin(21761):   File "/usr/local/lib/python2.7/cgi.py", line 515, in __init__
admin(21761):     self.read_urlencoded()
admin(21761):   File "/usr/local/lib/python2.7/cgi.py", line 621, in read_urlencoded
admin(21761):     self.separator)
admin(21761):   File "/usr/local/lib/python2.7/urlparse.py", line 466, in parse_qsl
admin(21761):     file = open(_QS_SEPARATOR_CONFIG_FILENAME)
admin(21761): NameError: global name '_QS_SEPARATOR_CONFIG_FILENAME' is not defined
admin(21761): [----- Python Information -----]
admin(21761): sys.version     =   2.7.18 (default, Oct 23 2021, 04:05:54)[GCC 10.3.0]
admin(21761): sys.executable  =   /usr/local/bin/python2.7
admin(21761): sys.prefix      =   /usr/local
admin(21761): sys.exec_prefix =   /usr/local
admin(21761): sys.path        =   ['/usr/local/lib/mailman/pythonlib', 
'/usr/local/lib/mailman', '/usr/local/lib/mailman/scripts', 
'/usr/local/lib/python27.zip', '/usr/local/lib/python2.7', 
'/usr/local/lib/python2.7/plat-netbsd9', 
'/usr/local/lib/python2.7/lib-tk', '/usr/local/lib/python2.7/lib-old', 
'/usr/local/lib/python2.7/lib-dynload', 
'/usr/local/lib/python2.7/site-packages', 
'/usr/local/lib/python2.7/dist-packages', 
'/usr/local/lib/python2.7/site-packages', '/usr/local/lib/site-python']
admin(21761): sys.platform    =   netbsd9
admin(21761): [----- Environment Variables -----]
admin(21761):   CONTENT_LENGTH: 0
admin(21761):   SERVER_NAME: lists.server.org
admin(21761):   REMOTE_ADDR: 69.162.124.227
admin(21761):   PYTHONPATH: /usr/local/lib/mailman
admin(21761):   REMOTE_PORT: 49766
admin(21761):   REQUEST_SCHEME: http
admin(21761):   SCRIPT_NAME: /mailman/listinfo.cgi
admin(21761):   REQUEST_METHOD: HEAD
admin(21761):   HTTP_HOST: lists.server.org
admin(21761):   PATH_INFO: /server-chat
admin(21761):   SERVER_PORT: 80
admin(21761):   SERVER_PROTOCOL: HTTP/1.1
admin(21761):   QUERY_STRING:
admin(21761):   REQUEST_URI: /mailman/listinfo.cgi/server-chat
admin(21761):   DOCUMENT_ROOT: /usr/local/lib/mailman
Home |
Main Index |
Thread Index |
Old Index