Hi,

I don't know if this is a feature or a bug, but when I start the latest
0.11 branch as a non-root user I get the following error:

Traceback (most recent call last):
  File "/usr/bin/twistd", line 25, in ?
    run()
  File "/usr/lib/python2.4/site-packages/twisted/scripts/twistd.py", line 195, 
in run
    app.run(runApp, ServerOptions)
  File "/usr/lib/python2.4/site-packages/twisted/application/app.py", line 271, 
in run
    runApp(config)
  File "/usr/lib/python2.4/site-packages/twisted/scripts/twistd.py", line 186, 
in runApp
    startApplication(config, application)
  File "/usr/lib/python2.4/site-packages/twisted/scripts/twistd.py", line 171, 
in startApplication
    shedPrivileges(config['euid'], uid, gid)
  File "/usr/lib/python2.4/site-packages/twisted/scripts/twistd.py", line 138, 
in shedPrivileges
    switchUID(uid, gid, euid)
  File "/usr/lib/python2.4/site-packages/twisted/python/util.py", line 650, in 
switchUID
    setgid(gid)

Removing the uid and gid arguments for service.Application() in
PyMSNt.tac fixes the problem. Perhaps some check should be added to
check if twistd was started as a non-root user.

Best regards,
Lars
From [EMAIL PROTECTED]  Wed Nov  9 12:43:42 2005
From: [EMAIL PROTECTED] (Daniel Henninger)
Date: Wed Nov  9 12:43:48 2005
Subject: [py-transports] PyICQ-t and Unicode Status Messages
In-Reply-To: <[EMAIL PROTECTED]>
References: <[EMAIL PROTECTED]> <[EMAIL PROTECTED]>
Message-ID: <[EMAIL PROTECTED]>

Can you post this as a bug report on blathersource.org so I can keep  
track of it?  Thanks!  (or if you have already, then it's on my list   
at the moment I'm working on PyAIM and not doing anything with PyICQ)

Daniel

On Nov 9, 2005, at 12:18 AM, Vasili Sviridov wrote:

> Bump.
>
> Vasili Sviridov ?????:
>
>> Hello all,
>>
>> I'm having a following issue with the transport:
>>
>> Status message of contacts that have it in Russian is displayed  
>> incorrectly. It looks like an 8-bit Unicode interpretation. I  
>> remember having same issue with receiving messages in Russian a  
>> couple of releases ago. That's the only thing unfixed. Because  
>> user names, v-cards, and conversations decode Russian fine.
>>
>> Thanks a lot.
>>
>> _______________________________________________
>> py-transports mailing list
>> py-transports@blathersource.org
>> http://www.modevia.com/cgi-bin/mailman/listinfo/py-transports
>>
>
> _______________________________________________
> py-transports mailing list
> py-transports@blathersource.org
> http://www.modevia.com/cgi-bin/mailman/listinfo/py-transports
>
>

Reply via email to