Your message dated Thu, 24 Feb 2011 11:50:28 +0000
with message-id <[email protected]>
and subject line Bug#583263: fixed in twisted-words 10.2.0-1
has caused the Debian Bug report #583263,
regarding pyaimt: Fix for 'exceptions.ValueError: too many values to unpack'
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
583263: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=583263
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: pyaimt
Version: 0.8.0.1-2
Severity: important
Tags: patch
AIM messages couldn't be sent (though receiving worked). We were seeing errors
like:
[2010-05-26 16:18:46] Traceback (most recent call last):
File "/usr/lib/python2.5/site-packages/twisted/python/log.py", line
84, in callWithLogger
return callWithContext({"system": lp}, func, *args, **kw)
File "/usr/lib/python2.5/site-packages/twisted/python/log.py", line
69, in callWithContext
return context.call({ILogContext: newCtx}, func, *args, **kw)
File "/usr/lib/python2.5/site-packages/twisted/python/context.py",
line 59, in callWithContext
return self.currentContext().callWithContext(ctx, func, *args, **kw)
File "/usr/lib/python2.5/site-packages/twisted/python/context.py",
line 37, in callWithContext
return func(*args,**kw)
--- <exception caught here> ---
File
"/usr/lib/python2.5/site-packages/twisted/internet/epollreactor.py", line 210,
in _doReadOrWrite
why = selectable.doRead()
File "/usr/lib/python2.5/site-packages/twisted/internet/tcp.py", line
460, in doRead
return self.protocol.dataReceived(data)
File
"/usr/lib/python2.5/site-packages/twisted/words/xish/xmlstream.py", line 75, in
dataReceived
self.stream.parse(data)
File "/usr/lib/python2.5/site-packages/twisted/words/xish/domish.py",
line 759, in parse
self.parser.Parse(buffer)
File "/usr/lib/python2.5/site-packages/twisted/words/xish/domish.py",
line 780, in _onStartElement
e = Element(qname, self.defaultNsStack[-1], attrs,
self.localPrefixes)
File "/usr/lib/python2.5/site-packages/twisted/words/xish/domish.py",
line 404, in __init__
self.uri, self.name = qname
exceptions.ValueError: too many values to unpack
I managed to 'fix' the problem, by changing line 762 of domish.py:
qname = name.split(" ")
to:
qname = name.replace(' ', ' ').split(" ")
Because we were seeing values of name like [note the double space]:
http://www.xmpp.org/extensions/xep-0084.html#ns-data data
which caused qname to contain more than 2 elements, later breaking the tuple
unpacking.
At this point I should warn: While this change fixed pyaimt for us I have no
understanding of the protocol and its entirely possible that my fix is totally
inappropriate.
-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)
Kernel: Linux 2.6.32-trunk-686-bigmem (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash
Versions of packages pyaimt depends on:
ii adduser 3.112 add and remove users and groups
ii lsb-base 3.2-23.1 Linux Standard Base 3.2 init scrip
ii python 2.5.2-3 An interactive high-level object-o
ii python-crypto 2.1.0-2 cryptographic algorithms and proto
ii python-openssl 0.10-1 Python wrapper around the OpenSSL
ii python-support 1.0.8 automated rebuilding support for P
ii python-twisted 10.0.0-3 Event-based framework for internet
ii python-twisted-web 10.0.0-1 An HTTP protocol implementation to
ii python-twisted-words 10.0.0-2 Chat and Instant Messaging
Versions of packages pyaimt recommends:
ii python-imaging 1.1.7-1+b1 Python Imaging Library
ii python-mysqldb 1.2.2-10+b1 A Python interface to MySQL
ii python-nevow 0.10.0-1 Web application templating system
Versions of packages pyaimt suggests:
ii ejabberd 2.1.3-1 distributed, fault-tolerant Jabber
-- Configuration Files:
/etc/pyaimt.conf.xml changed [not included]
-- no debconf information
--- End Message ---
--- Begin Message ---
Source: twisted-words
Source-Version: 10.2.0-1
We believe that the bug you reported is fixed in the latest version of
twisted-words, which is due to be installed in the Debian FTP archive:
python-twisted-words_10.2.0-1_all.deb
to main/t/twisted-words/python-twisted-words_10.2.0-1_all.deb
twisted-words_10.2.0-1.debian.tar.gz
to main/t/twisted-words/twisted-words_10.2.0-1.debian.tar.gz
twisted-words_10.2.0-1.dsc
to main/t/twisted-words/twisted-words_10.2.0-1.dsc
twisted-words_10.2.0.orig.tar.bz2
to main/t/twisted-words/twisted-words_10.2.0.orig.tar.bz2
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Matthias Klose <[email protected]> (supplier of updated twisted-words package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.8
Date: Thu, 24 Feb 2011 12:26:04 +0100
Source: twisted-words
Binary: python-twisted-words
Architecture: source all
Version: 10.2.0-1
Distribution: unstable
Urgency: low
Maintainer: Matthias Klose <[email protected]>
Changed-By: Matthias Klose <[email protected]>
Description:
python-twisted-words - Chat and Instant Messaging
Closes: 583263
Changes:
twisted-words (10.2.0-1) unstable; urgency=low
.
* New upstream release.
- Fix ValueError: too many values to unpack. Closes: #583263.
Checksums-Sha1:
e75b71af2b10c35831c12b36dd5971d5c5726605 1168 twisted-words_10.2.0-1.dsc
514673c7f6ed3cd633523dc2a12d96d113d95c48 180104
twisted-words_10.2.0.orig.tar.bz2
6b5d873720c33d085e292743fe336aa2225d2303 7729
twisted-words_10.2.0-1.debian.tar.gz
ea6be4e8c2f170bb81d8a728c107eac2dcc2915b 233636
python-twisted-words_10.2.0-1_all.deb
Checksums-Sha256:
8948ed5eec3541eccf46b371e4693ab65862321d63d4b4e71a3f853dcf50dafe 1168
twisted-words_10.2.0-1.dsc
aebd368c3d638208e28873c5b4262afc988e98fbb76076fb55c9d05388951ab5 180104
twisted-words_10.2.0.orig.tar.bz2
2efca385101f0db177bc044a1483b8a23b6c1671d414feb238e102db839d864a 7729
twisted-words_10.2.0-1.debian.tar.gz
75c5b25fa691d548defe3c815838bf3b3bad15ffe20971e3f437cae6d885c728 233636
python-twisted-words_10.2.0-1_all.deb
Files:
d795c00adc0a14220b48d856be738821 1168 python optional
twisted-words_10.2.0-1.dsc
9344d7d672e1d42ed683467cab53ee27 180104 python optional
twisted-words_10.2.0.orig.tar.bz2
ad83e47eefd718f64e96c567e2658160 7729 python optional
twisted-words_10.2.0-1.debian.tar.gz
388f7806a0f33569721bd73c64954629 233636 python optional
python-twisted-words_10.2.0-1_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
iEYEARECAAYFAk1mQ4cACgkQStlRaw+TLJyVYACgxijrJ5otn+D9bVYSANuCFFF9
SFwAni6SJfccgpeOMRW9ml+uixwjOAd1
=0XTR
-----END PGP SIGNATURE-----
--- End Message ---