On 05/11/2006, at 8:13 AM, Frank Hart wrote:
On Sat, Nov 04, 2006 at 05:56:00PM +0100, Frank Hart wrote:
Another thing is that the logfile remains empty while the permissions
are good and I set the debugLevel to 2.
Ok, setting the loglevel to 3 helps a lot:
[2006-11-04 22:02:44] INFO :: [EMAIL PROTECTED] :: ::
sendPresence ::
Session :: {'status': u'', 'show': None, 'self': 'instance', 'fro':
'[EMAIL PROTECTED]
/msn', 'avatarHash': 'a1d811a13be469cd2ad4fb5b101bbfc348b33926',
'ptype': None, 'priority': None, 'to': u'[EMAIL PROTECTED]',
'nickname': u'simone', 'payload': [<twisted.words.xish
.domish.Element object at 0x2aaaaadfd250>]}
[2006-11-04 22:03:15] INFO :: :: Avatar not found. ::
getAvatarData ::
AvatarCache :: {'self': 'instance', 'key':
u'a1957315eb614f854f43c295a6a787f01f411227', 'filename': u'/var/lib
/pymsnt/avatars/a19/a1957315eb614f854f43c295a6a787f01f411227'}
[2006-11-04 22:03:15] INFO :: [EMAIL PROTECTED] :: Fetching
avatar. ::
doVCardUpdate :: Session :: {'self': 'instance', 'vCardReceived':
<function vCardReceived at 0x2b13475d4cf8>,
'errback': <function errback at 0x2b13475d4c80>}
So the directory is created and somehow pymsnt knows that in dir
/var/lib/pymsnt/avatars/a19/ there must be a file
a1957315eb614f854f43c295a6a787f01f411227 but there isn't.
I changed the permissions to 777 to make sure the problem isn't
permissions related.
I also removed python-imaging and indeed, if I start the daemon
from the
console I get a message that only png's are to be shown.
Then all you need to do is install the correct python-imaging library.
If you're using the Debian default version of Python, then
apt-get install python-imaging
Otherwise
apt-get install python2.X-imaging
Where X is likely either 3 or 4
---
James
_______________________________________________
py-transports mailing list
py-transports@blathersource.org
http://www.modevia.com/cgi-bin/mailman/listinfo/py-transports