Have you figured out how to reduce the amount that is written to the
log files?

At the moment I have a rm /var/log/pymsnt.log.?? in a daily cron job
to try and keep down the amount of data that is stored - before this
the logs grew to several hundred megs before I noticed!

On 1/1/06, James Bunton <[EMAIL PROTECTED]> wrote:
> Hi all.
>
> Just thought I'd let you know. svn://delx.cjb.net/pymsnt/trunk has
> preliminary file transfer support.
>
> You should be able to receive files with jabber:x:oob and
> jabber:iq:oob. That means, at worst you will get a clickable link to
> download the file.
> Sending is not yet supported. socks5 bytestreams are not yet supported.
>
> They will be coming, in that order :)
>
> Could people please help me test things. I'm looking for regressions in
> particular. A lot of code has been completely rewritten. So things like
> groupchat, clientcaps, avatars and even ordinary messaging still need a
> bit of edge-case testing.
>
> It all seems to work for me right now, but I wouldn't recommend this
> for a production server.
>
> Also, could I have some feedback on how people are going with the
> installation of PyMSNt? Any suggestions on how to improve things would
> be greatly appreciated.
>
> Finally. I'm away from home now, so I'm only connected by dialup, and
> only occasionally at that. So please forgive any long response time.
>
> svn co svn://delx.cjb.net/pymsnt/trunk
>
> Enjoy! :)
>
> ---
>
> James
>
> _______________________________________________
> py-transports mailing list
> [email protected]
> http://www.modevia.com/cgi-bin/mailman/listinfo/py-transports
>


--
- Norman Rasmussen
 - Email: [EMAIL PROTECTED]
 - Home page: http://norman.rasmussen.co.za/
From [EMAIL PROTECTED]  Sun Jan  1 12:42:34 2006
From: [EMAIL PROTECTED] (Norman Rasmussen)
Date: Sun Jan  1 12:42:38 2006
Subject: [py-transports] Preliminary file transfer!
In-Reply-To: <[EMAIL PROTECTED]>
References: <[EMAIL PROTECTED]>
        <[EMAIL PROTECTED]>
Message-ID: <[EMAIL PROTECTED]>

FYI: I had a little panic when I couldn't find the 0.11 branch.  I
assume most of the code is now in the trunk.

Some debugging gems:

2006/01/01 14:33 SAST [XmlStream,client] Traceback (most recent call last):
     File "/usr/lib/python2.3/site-packages/twisted/internet/pollreactor.py",
line 144, in doPoll
       log.callWithLogger(selectable, _drdw, selectable, fd, event,
POLLIN, POLLOUT, log)
     File "/usr/lib/python2.3/site-packages/twisted/python/log.py",
line 56, in callWithLogger
       return callWithContext({"system": lp}, func, *args, **kw)
     File "/usr/lib/python2.3/site-packages/twisted/python/log.py",
line 41, in callWithContext
       return context.call({ILogContext: newCtx}, func, *args, **kw)
     File "/usr/lib/python2.3/site-packages/twisted/python/context.py",
line 31, in callWithContext
       return func(*args,**kw)
   --- <exception caught here> ---
     File "/usr/lib/python2.3/site-packages/twisted/internet/pollreactor.py",
line 160, in _doReadOrWrite
       why = selectable.doRead()
     File "/usr/lib/python2.3/site-packages/twisted/internet/tcp.py",
line 351, in doRead
       return self.protocol.dataReceived(data)
     File "/usr/lib/python2.3/site-packages/twisted/xish/xmlstream.py",
line 145, in dataReceived
       self.stream.parse(buf)
     File "/usr/lib/python2.3/site-packages/twisted/xish/domish.py",
line 600, in parse
       self.parser.Parse(buffer)
     File "/usr/lib/python2.3/site-packages/twisted/xish/domish.py",
line 638, in _onEndElement
       self.ElementEvent(self.currElem)
     File "/usr/lib/python2.3/site-packages/twisted/xish/xmlstream.py",
line 166, in onElement
       self.dispatch(element)
     File "/usr/lib/python2.3/site-packages/twisted/xish/utility.py",
line 233, in dispatch
       callbacklist.callback(object)
     File "/usr/lib/python2.3/site-packages/twisted/xish/utility.py",
line 37, in callback
       methodwrapper(*args, **kwargs)
     File "/usr/lib/python2.3/site-packages/twisted/xish/utility.py",
line 21, in __call__
       self.method(*nargs, **nkwargs)
     File "/home/norman/src/svn/PyMSNt.trunk/src/disco.py", line 134, in onIq
       self.nodes[to][node][0](el)
     File "/home/norman/src/svn/PyMSNt.trunk/src/misciq.py", line 132,
in incomingIq
       froj = jid.intern(fro)
   exceptions.AttributeError: 'module' object has no attribute 'intern'

and I also get quite a few of these:

2006/01/01 14:33 SAST [XmlStream,client] WARN ::  :: Dropping IQ
because of stringprep error :: onIq :: <disco.ServerDiscovery instance
at 0xb76fc44c> :: {'el': <twisted.xish.domish.Element object at
0xb76d4b6c>, 'e': <exceptions.AttributeError instance at 0xb76d49ec>,
'fro': u'darkskies.za.net', 'self': <disco.ServerDiscovery instance at
0xb76fc44c>, 'iqType': u'get', 'ulang': None, 'to':
u'msn.jabber.darkskies.za.net', 'ID': u'mydhc4mg'}

these two errors basically mean that I can't even log in :-(

the startup info is:

2006/01/01 14:32 SAST [-] twistd 2.0.1 (/usr/bin/python2.3 2.3.5) starting up
2006/01/01 14:32 SAST [-] reactor class:
twisted.internet.pollreactor.PollReactor
2006/01/01 14:32 SAST [-] Loading /etc/PyMSNt.tac...
2006/01/01 14:32 SAST [-] Trying to import XML DOM
2006/01/01 14:32 SAST [-] Checking Twisted version...
2006/01/01 14:32 SAST [-] Using Twisted >= 2.0, Words < 0.3, Twisted DOM

Do I need to upgrade anything?

On 1/1/06, Norman Rasmussen <[EMAIL PROTECTED]> wrote:
> Have you figured out how to reduce the amount that is written to the
> log files?
>
> At the moment I have a rm /var/log/pymsnt.log.?? in a daily cron job
> to try and keep down the amount of data that is stored - before this
> the logs grew to several hundred megs before I noticed!
>
> On 1/1/06, James Bunton <[EMAIL PROTECTED]> wrote:
> > Hi all.
> >
> > Just thought I'd let you know. svn://delx.cjb.net/pymsnt/trunk has
> > preliminary file transfer support.
> >
> > You should be able to receive files with jabber:x:oob and
> > jabber:iq:oob. That means, at worst you will get a clickable link to
> > download the file.
> > Sending is not yet supported. socks5 bytestreams are not yet supported.
> >
> > They will be coming, in that order :)
> >
> > Could people please help me test things. I'm looking for regressions in
> > particular. A lot of code has been completely rewritten. So things like
> > groupchat, clientcaps, avatars and even ordinary messaging still need a
> > bit of edge-case testing.
> >
> > It all seems to work for me right now, but I wouldn't recommend this
> > for a production server.
> >
> > Also, could I have some feedback on how people are going with the
> > installation of PyMSNt? Any suggestions on how to improve things would
> > be greatly appreciated.
> >
> > Finally. I'm away from home now, so I'm only connected by dialup, and
> > only occasionally at that. So please forgive any long response time.
> >
> > svn co svn://delx.cjb.net/pymsnt/trunk
> >
> > Enjoy! :)
> >
> > ---
> >
> > James
> >
> > _______________________________________________
> > py-transports mailing list
> > [email protected]
> > http://www.modevia.com/cgi-bin/mailman/listinfo/py-transports
> >
>
>
> --
> - Norman Rasmussen
>  - Email: [EMAIL PROTECTED]
>  - Home page: http://norman.rasmussen.co.za/
>


--
- Norman Rasmussen
 - Email: [EMAIL PROTECTED]
 - Home page: http://norman.rasmussen.co.za/
From [EMAIL PROTECTED]  Sun Jan  1 13:26:26 2006
From: [EMAIL PROTECTED] (Norman Rasmussen)
Date: Sun Jan  1 13:26:31 2006
Subject: [py-transports] Problem Blocking contacts in PyMSNt avatars
        version
In-Reply-To: <[EMAIL PROTECTED]>
References: <[EMAIL PROTECTED]>
        <[EMAIL PROTECTED]>
Message-ID: <[EMAIL PROTECTED]>

I'm starting to get presence request spam :-(  I hit the 'deny' button
in Psi which send the presence unsubscribed, but each time I log back
in the auth request appears again.  (0.11 branch)

I've also tried accepting the auth, then removing the contact from my
list, but that didn't seem to help either.  Is this pymsnt can help
block, or does it need to happen on the MSN side?

> On 19/10/2005, at 5:02 AM, Carlos Guzman wrote:
> > To block a user form msn, i send a <presence to
> > [EMAIL PROTECTED]" type="unsubscribed"/> packet, everithing
> > works fine and in msn the jabber conctact apperas as disconected in
> > xxx list, however


--
- Norman Rasmussen
 - Email: [EMAIL PROTECTED]
 - Home page: http://norman.rasmussen.co.za/
From [EMAIL PROTECTED]  Sun Jan  1 13:44:07 2006
From: [EMAIL PROTECTED] (Stian B. Barmen)
Date: Sun Jan  1 13:44:18 2006
Subject: [py-transports] Preliminary file transfer!
In-Reply-To: <[EMAIL PROTECTED]>
References: <[EMAIL PROTECTED]>
Message-ID: <[EMAIL PROTECTED]>

Skipped content of type multipart/alternative-------------- next part 
--------------
A non-text attachment was scrubbed...
Name: smiley-3.png
Type: image/png
Size: 819 bytes
Desc: not available
Url : 
http://modevia.com/pipermail/py-transports/attachments/20060101/23af10d6/smiley-3-0001.png
From [EMAIL PROTECTED]  Sun Jan  1 13:56:34 2006
From: [EMAIL PROTECTED] (Daniel Henninger)
Date: Sun Jan  1 13:56:46 2006
Subject: [py-transports] PyICQt privacy problems
In-Reply-To: <[EMAIL PROTECTED]>
References: <[EMAIL PROTECTED]>
Message-ID: <[EMAIL PROTECTED]>

Howdy!  I do have an active feature request for this functionality:
http://www.blathersource.org/features_view.php?projid=pyicq-t&featid=29

I wonder why I haven't gotten any additional spam?  =/  Your buddy  
list actually stores your permission settings for folk who aren't on  
your list and such, so theoretically if you had it set in real ICQ,  
it should carry over to PyICQ.  Of course, that doesn't sound like  
that's what's happening with you.  Another thing is, "web presence".   
PyICQ has this turned on, "period", right now.  (this is what makes  
it so someone can go to icq.com and see if you are logged in or not)   
I'm told this can cause more spam, but then again why am I not seeing  
it?

Anyway, long story short, I will be providing this functionality but  
I do not yet have a timeframe.  I haven't really had much time at all  
to work on pyicq over the holidays here.  Just started on some bug  
fixes last night.  =D

I'll probably have to implement this, btw, via ad-hoc commands in  
some way.  =/  I'm not real sure what other way there is.  Aside from  
ad-hoc commands, can anyone think of a better way to do "user config  
options"?  Well, I guess I could pass an x-forms based registration  
form back during register with more options, but that would rapidly  
become unwieldy.  Besides, I wouldn't have the user's "current  
settings" at that point.  (ie, I wouldn't know what their information  
looks like on the ICQ side of the world)  I think ad-hoc commands are  
probably the way to go.

Daniel

On Jan 1, 2006, at 3:48 AM, Arnaud Ab?lard wrote:

> Hello and Happy New Year!
>
> ever since i first subscribed to ICQ (it was sometimes during their  
> first year of service) i always set up my clients to refuse msgs  
> from ppl who aren't in my contact list.
>
> Since i've been using jabber & pyICQt to log on ICQ, i've been  
> spammed by ppl who aren't in my message list for some reason.
>
> It would be nice to have a way to refuse messages from ppl who  
> aren't in  your roster.. even if it's a system wide setting.
>
>
>
> Arnaud
> _______________________________________________
> py-transports mailing list
> [email protected]
> http://www.modevia.com/cgi-bin/mailman/listinfo/py-transports
>
>

Reply via email to