"Bradford R. Bowman" writes:
- I am writing an init script for PyAIMt, and having a difficult
- time getting it to run as user jabber.  The process is readily
- started when owned by root, however.  Is there a preference?  Am
- I opening myself up to trouble if I run that process as root?

        What sort of errors are you getting when you try running
as the jabber user?

        Does the jabber user own the spool directory? 

        The configuration files?

        Running as root gives the program far too many
priviledges, and you're giving the software an extreme amount of
trust.

        I am successfully running PyAIMt as the jabberd user on
my servers, so there's nothing in the software that's causing
the problem.

--
Eric Schnoebelen                [EMAIL PROTECTED]               
http://www.cirr.com
    One of the symptoms of an approaching nervous breakdown is the belief
        that one's work is terribly important.  -- Bertrand Russell
From [EMAIL PROTECTED]  Wed Jul 19 01:02:44 2006
From: [EMAIL PROTECTED] (James Bunton)
Date: Wed Jul 19 01:03:12 2006
Subject: [py-transports] AttributeError exception in 0.9.5
In-Reply-To: <[EMAIL PROTECTED]>
References: <[EMAIL PROTECTED]>
        <[EMAIL PROTECTED]>
Message-ID: <[EMAIL PROTECTED]>

On 19/07/2006, at 1:10 AM, David E Freitas wrote:

> Hi,
>
> PyMSNt 0.11
> Twisted 1.3
> Python 2.4
>
> Still get this exception a lot:
>
> File "/usr/local/pymsnt-20060717/src/tlib/domish.py", line 90, in  
> serialize
>           write(" %s:%s='%s'" % (self.getPrefix(k[0]), k[1], escapeToXml(v,
> 1)).encode("utf-8"))
>       exceptions.AttributeError: 'tuple' object has no attribute 'encode'
>

Oops. I misdiagnosed that before :P

Fixed now. Thanks.

---

James

Reply via email to