[Mailman-Users] Fwd: Uncaught runner exception

Lothar Schilling ls at proasyl.de
Fri Mar 15 07:27:23 EDT 2019


Am 14.03.2019 um 18:55 schrieb Mark Sapiro:
> On 3/14/19 2:39 AM, Lothar Schilling wrote:
>>  Am 12.03.2019 um 23:47 schrieb Mark Sapiro:
>>> What is the path to the Python interpreter that Mailman is using?
>> /usr/bin/python
>> /usr/bin/python -V: Python 2.6.6
>
> What is the python command in the result of
>
> ps -fwwA|grep ArchRunner
/usr/bin/python /usr/lib/mailman/bin/qrunner --runner=ArchRunner:0:1 -s

>
>>> What do you get if in that Python you do
>>>
>>> import string
>>> lowercase
> As noted in other replies, this should have been 'string.lowercase'.
>
>
>>> string
> ...
>> string
>> <module 'string' from '/usr/lib64/python2.6/string.pyc'>
>
> Get the python command from the 'ps' result above. run that full path
> and then do
>
>>>> import string
>>>> string.lowercase
>>>> string
> I am expecting (hoping actually because it's the only explanation I can
> see) that the result of 'string.lowercase' will be longer than 26
> characters and will contain non-ascii. Then the result of 'string' will
> point to the string.py(c) that this comes from.
Sadly not:

import string
string.lowercase
    'abcdefghijklmnopqrstuvwxyz'
string  
    <module 'string' from 'string.pyc'>



More information about the Mailman-Users mailing list