Hello,
I'm trying to run the latest svn of PyMSNt and am expirencing the following
error immediatly on startup:
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
205, in run
app.run(runApp, ServerOptions)
File "/usr/lib/python2.4/site-packages/twisted/application/app.py", line
275, in run
runApp(config)
File "/usr/lib/python2.4/site-packages/twisted/scripts/twistd.py", line
193, in runApp
config['nodaemon'])
File "/usr/lib/python2.4/site-packages/twisted/scripts/twistd.py", line
112, in startLogging
logFile = app.getLogFile(logfilename or 'twistd.log')
File "/usr/lib/python2.4/site-packages/twisted/application/app.py", line
305, in getLogFile
os.path.dirname(logPath))
File "/usr/lib/python2.4/site-packages/twisted/python/logfile.py", line
95, in __init__
BaseLogFile.__init__(self, name, directory, defaultMode)
File "/usr/lib/python2.4/site-packages/twisted/python/logfile.py", line
26, in __init__
assert os.path.isdir(self.directory)
AssertionError
The last release verison of PyMSNt works fine and all the twisted versions
look up to date. Any suggestions on where to look?
Thanks,
Chad Jannusch
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://modevia.com/pipermail/py-transports/attachments/20060124/abbb57cb/attachment.html
From [EMAIL PROTECTED] Tue Jan 24 22:57:46 2006
From: [EMAIL PROTECTED] (Norman Rasmussen)
Date: Tue Jan 24 22:57:54 2006
Subject: [py-transports] Problems starting PyMSNt svn
In-Reply-To: <[EMAIL PROTECTED]>
References: <[EMAIL PROTECTED]>
Message-ID: <[EMAIL PROTECTED]>
looks like it can't start logging.
On 1/25/06, Chad Jannusch <[EMAIL PROTECTED]> wrote:
> Hello,
> I'm trying to run the latest svn of PyMSNt and am expirencing the following
> error immediatly on startup:
>
> 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 205, in run
> app.run(runApp, ServerOptions)
> File
> "/usr/lib/python2.4/site-packages/twisted/application/app.py",
> line 275, in run
> runApp(config)
> File
> "/usr/lib/python2.4/site-packages/twisted/scripts/twistd.py",
> line 193, in runApp
> config['nodaemon'])
> File
> "/usr/lib/python2.4/site-packages/twisted/scripts/twistd.py",
> line 112, in startLogging
> logFile = app.getLogFile(logfilename or 'twistd.log')
> File
> "/usr/lib/python2.4/site-packages/twisted/application/app.py",
> line 305, in getLogFile
> os.path.dirname(logPath))
> File
> "/usr/lib/python2.4/site-packages/twisted/python/logfile.py",
> line 95, in __init__
> BaseLogFile.__init__(self, name, directory, defaultMode)
> File
> "/usr/lib/python2.4/site-packages/twisted/python/logfile.py",
> line 26, in __init__
> assert os.path.isdir(self.directory)
> AssertionError
>
> The last release verison of PyMSNt works fine and all the twisted versions
> look up to date. Any suggestions on where to look?
>
> Thanks,
> Chad Jannusch
>
> _______________________________________________
> 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] Tue Jan 24 23:05:08 2006
From: [EMAIL PROTECTED] (Chad Jannusch)
Date: Tue Jan 24 23:05:14 2006
Subject: [py-transports] Problems starting PyMSNt svn
In-Reply-To: <[EMAIL PROTECTED]>
References: <[EMAIL PROTECTED]>
<[EMAIL PROTECTED]>
Message-ID: <[EMAIL PROTECTED]>
Yeah I thought that too so I disabled logging in the config file and double
checked the directory permissions and I still recieve the same error.
--Chad Jannusch
On 1/24/06, Norman Rasmussen <[EMAIL PROTECTED]> wrote:
>
> looks like it can't start logging.
>
> On 1/25/06, Chad Jannusch <[EMAIL PROTECTED]> wrote:
> > Hello,
> > I'm trying to run the latest svn of PyMSNt and am expirencing the
> following
> > error immediatly on startup:
> >
> > 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 205, in run
> > app.run(runApp, ServerOptions)
> > File
> > "/usr/lib/python2.4/site-packages/twisted/application/app.py",
> > line 275, in run
> > runApp(config)
> > File
> > "/usr/lib/python2.4/site-packages/twisted/scripts/twistd.py",
> > line 193, in runApp
> > config['nodaemon'])
> > File
> > "/usr/lib/python2.4/site-packages/twisted/scripts/twistd.py",
> > line 112, in startLogging
> > logFile = app.getLogFile(logfilename or 'twistd.log')
> > File
> > "/usr/lib/python2.4/site-packages/twisted/application/app.py",
> > line 305, in getLogFile
> > os.path.dirname(logPath))
> > File
> > "/usr/lib/python2.4/site-packages/twisted/python/logfile.py",
> > line 95, in __init__
> > BaseLogFile.__init__(self, name, directory, defaultMode)
> > File
> > "/usr/lib/python2.4/site-packages/twisted/python/logfile.py",
> > line 26, in __init__
> > assert os.path.isdir(self.directory)
> > AssertionError
> >
> > The last release verison of PyMSNt works fine and all the twisted
> versions
> > look up to date. Any suggestions on where to look?
> >
> > Thanks,
> > Chad Jannusch
> >
> > _______________________________________________
> > 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/
> _______________________________________________
> py-transports mailing list
> [email protected]
> http://www.modevia.com/cgi-bin/mailman/listinfo/py-transports
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://modevia.com/pipermail/py-transports/attachments/20060124/39bfbd6b/attachment.htm
From [EMAIL PROTECTED] Tue Jan 24 23:07:24 2006
From: [EMAIL PROTECTED] (Lars T. Mikkelsen)
Date: Tue Jan 24 23:07:36 2006
Subject: [py-transports] Problems starting PyMSNt svn
In-Reply-To: <[EMAIL PROTECTED]>
References: <[EMAIL PROTECTED]>
Message-ID: <[EMAIL PROTECTED]>
On Tue, Jan 24, 2006 at 04:50:03PM -0600, Chad Jannusch wrote:
> The last release verison of PyMSNt works fine and all the twisted versions
> look up to date. Any suggestions on where to look?
James made some major changes in SVN today, so the latest version
doesn't use twistd anymore. You have to start the transport with:
./PyMSNt.py
Also, be sure to check out the new configuration options in
config-example.xml.
Best regards,
Lars
From [EMAIL PROTECTED] Tue Jan 24 23:07:52 2006
From: [EMAIL PROTECTED] (Julien Bouquillon)
Date: Tue Jan 24 23:07:50 2006
Subject: [py-transports] PyMSNt - unable to reconnect until restart
Message-ID: <[EMAIL PROTECTED]>
Hi all,
I've encountered a strange problem on my official PyMSNt 0.10.3
Some users, after disconnection, cannot reconnect the gateway until
i restart it. They use differents clients : Gaim, Gajim or Pandion
does somebody have already seen this ? i've seen nothing on the
list... maybe that hasardous disconnections are not properly handled ?
in the following code from session.py :can somebody explain me why
unknown resource presences are not treated ?
class Session(jabw.JabberConnection):
(...)
def handleResourcePresence(self, source, resource, to, tor,
priority, ptype, show, status):
* if ptype and ptype != "unavailable": return # Ignore
presence errors, probes, etc*
if to.find('@') > 0: return # Ignore presence packets
sent to users
existing = self.resourceList.has_key(resource)
if ptype == "unavailable":
if existing:
LogEvent(INFO, self.jabberID, "Resource
gone offline.")
self.resourceOffline(resource)
* else:
return # I don't know the resource, and
they're leaving, so it's all good
----> HERE, WHY NOT trigger
resourceOffline() even if it is an unavailable resource ?
*another question on this subject : when a user don't disconnect
properly (network down for example), the jabber server sends an
unavailable presence to PyMSNt, no ?*
*thank for any help
Julien