Op vrijdag 29 juli 2005 14:20, schreef Daniel Henninger: <snip> > > btw: I heard there now also is an open standard for translations (not > > only used in open source). Maybe this one is even better (I don't know). > > AFAIR support for that standard is being implemented in Kbabel. > > Don't suppose you have an URL about this to you? =) I'd be interested in > seeing what it is! I've been seeing gettext around since the "dawn of > time". ;D
http://www.oasis-open.org/committees/tc_home.php?wg_abbrev=xliff http://xliff-tools.freedesktop.org/wiki/ -- Mvg, Sander Devrieze. xmpp:[EMAIL PROTECTED] ( http://jabber.tk/ ) From [EMAIL PROTECTED] Fri Jul 29 14:18:48 2005 From: [EMAIL PROTECTED] (Gonzalo Barrio) Date: Fri Jul 29 14:19:09 2005 Subject: [py-transports] Epoll Reactor not working (at least for me) In-Reply-To: <[EMAIL PROTECTED]> References: <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> Message-ID: <[EMAIL PROTECTED]> Unfortunaly, yes it has, Py_BEGIN_ALLOW_THREADS; numEvents = epoll_wait(epfd, events, maxevents, timeout); Py_END_ALLOW_THREADS; This is python version: Python 2.3.5 (#2, Jun 19 2005, 13:28:00) [GCC 3.3.6 (Debian 1:3.3.6-6)] on linux2 Type "help", "copyright", "credits" or "license" for more information. This is twisted version: ii python2.3-twisted 2.0.1-3 Event-based framework for internet applications ii python2.3-twisted-bin 2.0.1-3 Event-based framework for internet applications And this is zope interface version: ii python2.3-zopeinterface 3.0.1-1 Python library for API definitions through interfaces Also I am using the lastest PyMSNt avatars branch. (I make a cvs up yesterday) I want to help but I can't find any clue on this. I paste you down a backtrace of PyMSNt when is waiting for something about epoll: 0xb7f4e679 in epoll_wait () from /lib/tls/libc.so.6 (gdb) bt #0 0xb7f4e679 in epoll_wait () from /lib/tls/libc.so.6 #1 0xb7ae9e8a in meth_epoll_wait (self=0x0, args=0xfffffffc) at epollc.c:63 #2 0x080fde9a in PyCFunction_Call () #3 0x080ab854 in PyEval_CallObjectWithKeywords () #4 0x080a9c0e in Py_MakePendingCalls () #5 0x080aa79c in PyEval_EvalCodeEx () #6 0x080ab909 in PyEval_CallObjectWithKeywords () #7 0x080ab74c in PyEval_CallObjectWithKeywords () #8 0x080a9c0e in Py_MakePendingCalls () #9 0x080aa79c in PyEval_EvalCodeEx () #10 0x080ab909 in PyEval_CallObjectWithKeywords () #11 0x080ab74c in PyEval_CallObjectWithKeywords () #12 0x080a9c0e in Py_MakePendingCalls () #13 0x080ab98d in PyEval_CallObjectWithKeywords () #14 0x080ab74c in PyEval_CallObjectWithKeywords () #15 0x080a9c0e in Py_MakePendingCalls () #16 0x080aa79c in PyEval_EvalCodeEx () #17 0x080ab909 in PyEval_CallObjectWithKeywords () #18 0x080ab74c in PyEval_CallObjectWithKeywords () #19 0x080a9c0e in Py_MakePendingCalls () #20 0x080aa79c in PyEval_EvalCodeEx () #21 0x080acf99 in PyEval_EvalCode () #22 0x080d90fb in PyRun_FileExFlags () #23 0x080d887f in PyRun_SimpleFileExFlags () #24 0x08054eb5 in Py_Main () #25 0x08054a0b in main () Thanks James Gonzalo. James Bunton wrote: > :( > > Still not working eh? Yeah, epoll-0.4 is the latest version. > I'm using kernel 2.6.8, but it shouldn't make any difference. > What Python version are you using? > > Can you double-check that the epollc.c file you're compiling has these > lines in it: > Py_BEGIN_ALLOW_THREADS; > ..... > Py_END_ALLOW_THREADS; > > Because I had exactly the problem you describe until I added those lines. > > --- > > James > > > > On 29/07/2005, at 8:31 AM, Gonzalo Barrio wrote: > >> I forgot to mention, I'm using the epoll-0.4 the last stable ? >> >> Thanks >> >> Gonzalo. >> >> >> Gonzalo Barrio wrote: >> >>> I have no luck at all with the epoll reactor. >>> I have 2.6.10-1-k7 kernel on a Debian Sarge installation, I compiled my >>> own epoll.so reactor and done the move stuff. >>> Seems to be working but never login, and finally throw a timeout. >>> This is the log: >>> >>> >>> 07/28/05 - 19:04:45 - Discovery: Iq received >>> "[EMAIL PROTECTED]/Psi" "aad7a". Looking for handler >>> 07/28/05 - 19:04:48 - Discovery: Iq received >>> "[EMAIL PROTECTED]/Psi" "aad8a". Looking for handler >>> 07/28/05 - 19:04:49 - Discovery: Iq received >>> "[EMAIL PROTECTED]/Psi" "aad9a". Looking for handler >>> 07/28/05 - 19:04:49 - Discovery: Unknown Iq request >>> "[EMAIL PROTECTED]/Psi" "aad9a" >>> "http://jabber.org/protocol/disco#info" >>> 07/28/05 - 19:04:50 - Discovery: Iq received >>> "[EMAIL PROTECTED]/Psi" "aadaa". Looking for handler >>> 07/28/05 - 19:04:50 - Discovery: Unknown Iq request >>> "[EMAIL PROTECTED]/Psi" "aadaa" >>> "http://jabber.org/protocol/disco#items" >>> 07/28/05 - 19:04:50 - Discovery: Iq received >>> "[EMAIL PROTECTED]/Psi" "aadba". Looking for handler >>> 07/28/05 - 19:04:50 - Discovery: Unknown Iq request >>> "[EMAIL PROTECTED]/Psi" "aadba" "jabber:iq:browse" >>> 07/28/05 - 19:04:50 - Discovery: Iq received >>> "[EMAIL PROTECTED]/Psi" "aadca". Looking for handler >>> 07/28/05 - 19:04:50 - Discovery: Unknown Iq request >>> "[EMAIL PROTECTED]/Psi" "aadca" "jabber:iq:agents" >>> 07/28/05 - 19:04:56 - Discovery: Iq received >>> "[EMAIL PROTECTED]/Psi" "aadda". Looking for handler >>> 07/28/05 - 19:04:56 - Discovery: Unknown Iq request >>> "[EMAIL PROTECTED]/Psi" "aadda" >>> "http://jabber.org/protocol/disco#info" >>> 07/28/05 - 19:04:56 - Discovery: Iq received >>> "[EMAIL PROTECTED]/Psi" "aadea". Looking for handler >>> 07/28/05 - 19:04:56 - Discovery: Unknown Iq request >>> "[EMAIL PROTECTED]/Psi" "aadea" >>> "http://jabber.org/protocol/disco#items" >>> 07/28/05 - 19:04:56 - Discovery: Iq received >>> "[EMAIL PROTECTED]/Psi" "aadfa". Looking for handler >>> 07/28/05 - 19:04:56 - Discovery: Unknown Iq request >>> "[EMAIL PROTECTED]/Psi" "aadfa" "jabber:iq:browse" >>> 07/28/05 - 19:04:56 - Discovery: Iq received >>> "[EMAIL PROTECTED]/Psi" "aae0a". Looking for handler >>> 07/28/05 - 19:04:56 - Discovery: Unknown Iq request >>> "[EMAIL PROTECTED]/Psi" "aae0a" "jabber:iq:agents" >>> 07/28/05 - 19:05:35 - Discovery: Iq received >>> "[EMAIL PROTECTED]/Psi" "aae3a". Looking for handler >>> 07/28/05 - 19:05:35 - Discovery: Handler found "jabber:iq:register" >>> "<bound method RegisterManager.incomingRegisterIq of <register.Register >>> Manager instance at 0xb776c9ec>>" >>> 07/28/05 - 19:05:35 - RegisterManager: In-band registration type "get" >>> received >>> 07/28/05 - 19:05:35 - RegisterManager: sendRegistrationFields() for >>> "[EMAIL PROTECTED]/Psi" "aae3a" >>> 07/28/05 - 19:05:35 - RegisterManager: >>> getRegInfo("[EMAIL PROTECTED]") >>> 07/28/05 - 19:05:35 - RegisterManager: >>> getRegInfo("[EMAIL PROTECTED]") - not registered! >>> 07/28/05 - 19:06:01 - Discovery: Iq received >>> "[EMAIL PROTECTED]/Psi" "aae4a". Looking for handler >>> 07/28/05 - 19:06:01 - Discovery: Handler found "jabber:iq:register" >>> "<bound method RegisterManager.incomingRegisterIq of <register.Register >>> Manager instance at 0xb776c9ec>>" >>> 07/28/05 - 19:06:01 - RegisterManager: In-band registration type "set" >>> received >>> 07/28/05 - 19:06:01 - RegisterManager: updateRegistration() for >>> "[EMAIL PROTECTED]/Psi" "aae4a" >>> 07/28/05 - 19:06:01 - RegisterManager: Valid registration data was >>> received. Attempting to update XDB >>> 07/28/05 - 19:06:01 - RegisterManager: >>> setRegInfo("[EMAIL PROTECTED]", "[EMAIL PROTECTED]", >>> "xxxxxxxx") >>> 07/28/05 - 19:06:01 - RegisterManager: Updated XDB successfully >>> 07/28/05 - 19:06:01 - RegisterManager: Sent off a result Iq >>> 07/28/05 - 19:06:02 - PyTransport: Sending unavailable presence to >>> non-logged in user "[EMAIL PROTECTED]" >>> 07/28/05 - 19:06:02 - PyTransport: Attempting to create a new session >>> "[EMAIL PROTECTED]" >>> 07/28/05 - 19:06:02 - session: makeSession("[EMAIL PROTECTED]") >>> 07/28/05 - 19:06:02 - RegisterManager: >>> getRegInfo("[EMAIL PROTECTED]") >>> 07/28/05 - 19:06:02 - Username: "[EMAIL PROTECTED]" - >>> Password:"xxxxxxxx" >>> 07/28/05 - 19:06:02 - RegisterManager: >>> getRegInfo("[EMAIL PROTECTED]") - returning reg info >>> "[EMAIL PROTECTED]" "xxxxxxxx"! >>> 07/28/05 - 19:06:02 - User: [EMAIL PROTECTED] - JabberConnection >>> constructed >>> 07/28/05 - 19:06:02 - Session: Creating new session >>> "[EMAIL PROTECTED]" >>> 07/28/05 - 19:06:02 - MSNConnection: "[EMAIL PROTECTED]" initialised >>> 07/28/05 - 19:06:02 - MSNConnection: "[EMAIL PROTECTED]" created >>> 07/28/05 - 19:06:02 - LegacyConnection: "[EMAIL PROTECTED]" - >>> created >>> 07/28/05 - 19:06:02 - ContactList: "[EMAIL PROTECTED]" creating >>> 07/28/05 - 19:06:02 - Session [EMAIL PROTECTED] - Fetching >>> user's vCard >>> 07/28/05 - 19:06:02 - Session: New session created >>> "[EMAIL PROTECTED]" "[EMAIL PROTECTED]" "xxxxxxxx" >>> 07/28/05 - 19:06:02 - PyTransport: New session created >>> "[EMAIL PROTECTED]" >>> 07/28/05 - 19:06:02 - User: [EMAIL PROTECTED] - JabberConnection >>> parsed presence packet "[EMAIL PROTECTED]" "Psi" "5" "None" "Non >>> e" "" >>> 07/28/05 - 19:06:02 - Session [EMAIL PROTECTED] - resource "Psi" >>> has come online >>> 07/28/05 - 19:06:02 - ContactList: "[EMAIL PROTECTED]" resent >>> lists >>> 07/28/05 - 19:06:02 - Session [EMAIL PROTECTED] - resource "Psi" >>> setting "None" "None" "5" >>> 07/28/05 - 19:06:02 - Session [EMAIL PROTECTED] - highest active >>> resource is "Psi" at 5 >>> 07/28/05 - 19:06:02 - Session [EMAIL PROTECTED] - updating status >>> on legacy service, resource Psi >>> 07/28/05 - 19:06:02 - User: [EMAIL PROTECTED] - JabberConnection >>> parsed subscription presence packet "msn.hq.novamens.com" "subscribed >>> " >>> 07/28/05 - 19:06:02 - Discovery: Iq received "[EMAIL PROTECTED]" >>> "5". Doing callback. >>> 07/28/05 - 19:06:02 - Session [EMAIL PROTECTED] - Got user's vCard >>> 07/28/05 - 19:06:36 - Discovery: Iq received "hq.novamens.com" "6". >>> Doing callback. >>> 07/28/05 - 19:07:06 - NotificationClient: "[EMAIL PROTECTED]" lost >>> connection with MSN servers >>> 07/28/05 - 19:07:07 - MSNConnection: "[EMAIL PROTECTED]" destroyed >>> 07/28/05 - 19:07:07 - MSNConnection: "[EMAIL PROTECTED]" initialised >>> 07/28/05 - 19:07:22 - User: [EMAIL PROTECTED] - JabberConnection >>> parsed presence packet "[EMAIL PROTECTED]" "Psi" "0" "None" "Non >>> e" "" >>> 07/28/05 - 19:07:22 - Session [EMAIL PROTECTED] - resource "Psi" >>> setting "None" "None" "0" >>> 07/28/05 - 19:07:22 - Session [EMAIL PROTECTED] - highest active >>> resource is "Psi" at 0 >>> 07/28/05 - 19:07:22 - Session [EMAIL PROTECTED] - updating status >>> on legacy service, resource Psi >>> 07/28/05 - 19:08:13 - NotificationClient: "[EMAIL PROTECTED]" lost >>> connection with MSN servers >>> 07/28/05 - 19:08:15 - MSNConnection: "[EMAIL PROTECTED]" destroyed >>> 07/28/05 - 19:08:15 - MSNConnection: "[EMAIL PROTECTED]" initialised >>> 07/28/05 - 19:08:36 - Discovery: Iq received "hq.novamens.com" "7". >>> Doing callback. >>> 07/28/05 - 19:09:24 - NotificationClient: "[EMAIL PROTECTED]" lost >>> connection with MSN servers >>> 07/28/05 - 19:09:28 - MSNConnection: "[EMAIL PROTECTED]" destroyed >>> 07/28/05 - 19:09:28 - MSNConnection: "[EMAIL PROTECTED]" initialised >>> 07/28/05 - 19:10:34 - NotificationClient: "[EMAIL PROTECTED]" lost >>> connection with MSN servers >>> 07/28/05 - 19:10:36 - Discovery: Iq received "hq.novamens.com" "8". >>> Doing callback. >>> 07/28/05 - 19:10:42 - MSNConnection: "[EMAIL PROTECTED]" destroyed >>> 07/28/05 - 19:10:42 - MSNConnection: "[EMAIL PROTECTED]" initialised >>> 07/28/05 - 19:11:51 - NotificationClient: "[EMAIL PROTECTED]" lost >>> connection with MSN servers >>> 07/28/05 - 19:12:07 - MSNConnection: "[EMAIL PROTECTED]" destroyed >>> 07/28/05 - 19:12:07 - MSNConnection: "[EMAIL PROTECTED]" initialised >>> 07/28/05 - 19:13:08 - Discovery: Iq received "hq.novamens.com" "9". >>> Doing callback. >>> 07/28/05 - 19:13:16 - NotificationClient: "[EMAIL PROTECTED]" lost >>> connection with MSN servers >>> 07/28/05 - 19:13:16 - LegacyConnection: "[EMAIL PROTECTED]" - >>> connectionLost("<legacy.glue.LegacyConnection instance at 0xb778f40c>") >>> 07/28/05 - 19:13:16 - User: [EMAIL PROTECTED] - JabberConnection >>> sending message "[EMAIL PROTECTED]" "msn.hq.novamens.com" "Desco >>> nexi n de los servidores MSN: Error" "None" >>> 07/28/05 - 19:13:16 - jabw: Sending a Jabber message >>> "[EMAIL PROTECTED]" "msn.hq.novamens.com" "Desconexi n de los >>> servidores MSN: Err >>> or" "None" >>> 07/28/05 - 19:13:16 - Session: Removing "[EMAIL PROTECTED]" >>> 07/28/05 - 19:13:16 - User: [EMAIL PROTECTED] - JabberConnection >>> sending presence "[EMAIL PROTECTED]""msn.hq.novamens.com" "None" >>> "" "None" "unavailable" "False" "None" >>> 07/28/05 - 19:13:16 - LegacyConnection: "[EMAIL PROTECTED]" - >>> being >>> deleted >>> 07/28/05 - 19:13:16 - MSNConnection: "[EMAIL PROTECTED]" destroyed >>> 07/28/05 - 19:13:16 - ContactList: "[EMAIL PROTECTED]" removed >>> 07/28/05 - 19:13:16 - Session: Completed removal >>> "[EMAIL PROTECTED]" >>> 07/28/05 - 19:14:36 - Discovery: Iq received "hq.novamens.com" "11". >>> Doing callback. >>> 07/28/05 - 19:16:23 - PyTransport: Service shutting down >>> >>> >>> I shut down the server when I gave up. >>> >>> _______________________________________________ >>> 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 >> > > _______________________________________________ > py-transports mailing list > py-transports@blathersource.org > http://www.modevia.com/cgi-bin/mailman/listinfo/py-transports >