Mne tiež nejde prihlásiť, teda keď si dám poslať nové heslo, vypíše mi, že taký účet neexistuje a keď sa chcem zase zaregistrovať pod tým istým nickom, vypíše, že je obsadený. :'-(
Příspěvky odeslané z IP adresy 82.119.232.–
pali6
anonym
Skús použiť funkciu send namiesto sendall
Stiahol som python 2.4, a tiez nejde. Vypisuje:
{'name': '423675686', 'caps': [], 'sessionLength': 1L, 'warning': 0, 'onSince':
1201376706L, 'icqIPaddy': '82.119.232.30', 'flags': ['aim'], 'icqRandom': '\x00\
x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\
x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'}
([<twisted.words.protocols.oscar.SSIGroup instance at 0x011DDAD0>], [], [], None
, None, 1201376688L, 7)
<OSCARUser 456113948, flags ['trial', 'aim', 'away'], online for 130 minutes, ca
ps ['sendfile', 'sendlist', ('unknown', '\tF\x13DL\x7f\x11\xd1\x82"DEST\x00\x00'
), ('unknown', '\tF\x13IL\x7f\x11\xd1\x82"DEST\x00\x00'), ('unknown', '\tF\x13LL
\x7f\x11\xd1\x82"DEST\x00\x00'), ('unknown', '\tF\x13NL\x7f\x11\xd1\x82"DEST\x00
\x00')]>
a ked na to icq cislo kde je prihlaseny python nieco napisem tak vypise chybove hlsenie:
456113948 [('test', 'iso-8859-1')] []
Traceback (most recent call last):
File "C:\Python24\lib\site-packages\twisted\python\log.py", line 48, in callWi
thLogger
return callWithContext({"system": lp}, func, *args, **kw)
File "C:\Python24\lib\site-packages\twisted\python\log.py", line 33, in callWi
thContext
return context.call({ILogContext: newCtx}, func, *args, **kw)
File "C:\Python24\lib\site-packages\twisted\python\context.py", line 59, in ca
llWithContext
return self.currentContext().callWithContext(ctx, func, *args, **kw)
File "C:\Python24\lib\site-packages\twisted\python\context.py", line 37, in ca
llWithContext
return func(*args,**kw)
--- <exception caught here> ---
File "C:\Python24\lib\site-packages\twisted\internet\selectreactor.py", line 1
39, in _doReadOrWrite
why = getattr(selectable, method)()
File "C:\Python24\lib\site-packages\twisted\internet\tcp.py", line 362, in doR
ead
return self.protocol.dataReceived(data)
File "C:\Python24\lib\site-packages\twisted\words\protocols\oscar.py", line 28
5, in dataReceived
state=func(flap)
File "C:\Python24\lib\site-packages\twisted\words\protocols\oscar.py", line 36
8, in oscar_Data
func(snac[2:])
File "C:\Python24\lib\site-packages\twisted\words\protocols\oscar.py", line 59
0, in oscar_04_07
self.receiveMessage(user, multiparts, flags)
File "C:\Documents and Settings\Administrator.PM\Moje dokumenty\oscardemo.py",
line 56, in receiveMessage
self.sendMessage(user.name, multiparts, wantAck = 1, autoResponse = (self.aw
ayMessage!=None)).addCallback( \
File "C:\Python24\lib\site-packages\twisted\words\protocols\oscar.py", line 82
4, in sendMessage
part[0] = part[0].encode('iso-8859-1')
exceptions.TypeError: object does not support item assignment