| Issue 137: | Error when requesting entity time. (A possible problem with encoding.) | |
| 1 person starred this issue and may be notified of changes. | Back to list |
The following steps will reproduce the problem.
1. Request the time of the transport with a stanza that looks like this
<iq id='18'
to='icq.server.ru'
type='get'
xml:lang='ru'>
<query xmlns='jabber:iq:time'/>
</iq>
The transport should respond with a stanza like this:
<iq from='icq.server.ru'
id='18'
type='result'
to='user@server.ru/Work'>
<query xmlns='jabber:iq:time'>
<utc>20080407T18:01:46</utc>
<tz>Северная Центр. Азия (лето)</tz>
<display>Mon Apr 07 18:01:46 2008</display>
</query>
</iq>
... but it does not respond at all.
I'm using
pyicqt 0.8b - SVN r0
Python 2.5/win32, Twisted 2.5.0
Microsoft Windows 2000 SP4 Russian
Please provide any additional information below.
I replaced the line
tz.addContent(str(time.tzname[1]))
with the following
tz.addContent("Timezone not available.")
in the file src\services\EntityTime.py
and it partially solved the problem.
Nov 8, 2008
<iq id='18' to='icq.server.ru' type='get' xml:lang='ru'> <query xmlns='urn:xmpp:time'/> </iq> This request should works
Status:
Fixed
|
Owner: r000nster
Labels: Milestone-0.8.1b