Your message dated Mon, 08 Sep 2014 21:26:39 +0000
with message-id <[email protected]>
and subject line Bug#751469: fixed in python-cobe 2.1.0-2
has caused the Debian Bug report #751469,
regarding python-cobe: cobe irc-client crashes as soon as someone says something
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.)
--
751469: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=751469
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: python-cobe
Version: 2.1.0-1
Severity: normal
Tags: patch
When running cobe irc-client, the bot connects fine, but as soon as
someone says something on the channel where cobe is as well, it crashes.
I've attached a patch that fixes the problem.
-- System Information:
Debian Release: jessie/sid
APT prefers testing
APT policy: (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 3.2.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=nl_NL.UTF-8, LC_CTYPE=nl_NL.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages python-cobe depends on:
ii libpython2.7-stdlib [python-argparse] 2.7.7~rc1-1
ii python 2.7.6-2
ii python-irc 8.5.3+dfsg-2
ii python-pkg-resources 3.6-1
ii python-stemmer 1.3.0+dfsg-1+b4
pn python:any <none>
python-cobe recommends no packages.
python-cobe suggests no packages.
-- no debconf information
Description: Fix the irc-client function.
Author: Guus Sliepen <[email protected]>
Last-Update: 2014-06-13
--- a/cobe/irc.py
+++ b/cobe/irc.py
@@ -63,9 +63,9 @@
self.connection.join(self.log_channel)
def on_pubmsg(self, conn, event):
- user = irc.client.NickMask(event.source()).nick
+ user = irc.client.NickMask(event.source).nick
- if event.target() == self.log_channel:
+ if event.target == self.log_channel:
# ignore input in the log channel
return
@@ -74,10 +74,10 @@
return
# only respond on channels
- if not irc.client.is_channel(event.target()):
+ if not irc.client.is_channel(event.target):
return
- msg = event.arguments()[0]
+ msg = event.arguments[0]
# strip pasted nicks from messages
msg = re.sub("<\S+>\s+", "", msg)
@@ -105,7 +105,7 @@
if to == self.nick:
reply = self.brain.reply(text).encode("utf-8")
- conn.privmsg(event.target(), "%s: %s" % (user, reply))
+ conn.privmsg(event.target, "%s: %s" % (user, reply))
class Runner:
--- End Message ---
--- Begin Message ---
Source: python-cobe
Source-Version: 2.1.0-2
We believe that the bug you reported is fixed in the latest version of
python-cobe, which is due to be installed in the Debian FTP archive.
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.
Daniele Tricoli <[email protected]> (supplier of updated python-cobe 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: SHA512
Format: 1.8
Date: Mon, 08 Sep 2014 11:13:19 +0200
Source: python-cobe
Binary: python-cobe
Architecture: source all
Version: 2.1.0-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Modules Team
<[email protected]>
Changed-By: Daniele Tricoli <[email protected]>
Description:
python-cobe - Markov chain based text generator library and chatbot
Closes: 751469
Changes:
python-cobe (2.1.0-2) unstable; urgency=medium
.
* debian/patches/04_fix-irc-client.patch
- Fix the irc-client function (Closes: #751469)
Thanks to Guus Sliepen for report and patch
Checksums-Sha1:
63b9fc5f5023f111d11462d9a2035c3fd3c2f89d 2039 python-cobe_2.1.0-2.dsc
b965105b6d44a4b3da6cbac75d087d27a7976a45 4620 python-cobe_2.1.0-2.debian.tar.xz
4b30dbfbe36f5528b2a458a9fc356fab94e26358 18164 python-cobe_2.1.0-2_all.deb
Checksums-Sha256:
44189bb5b9bbc9139eb7f9526c83e9e86eafc8da4ebf94574fda0cc3dba4a1e5 2039
python-cobe_2.1.0-2.dsc
b753981073dfa39e9e2c58f519596a1c9db069f6da847f0acbc2d879ae1632b5 4620
python-cobe_2.1.0-2.debian.tar.xz
da5fd29d026e7ee6cfe864ef2eaf33d428bd7824327c26c7d79a2cc999191d3d 18164
python-cobe_2.1.0-2_all.deb
Files:
5bc78b4aeb2fc776ac657ab1d0d8a88d 18164 python optional
python-cobe_2.1.0-2_all.deb
28fe84572da00ecbdb2e49a0b62fd806 2039 python optional python-cobe_2.1.0-2.dsc
642019c5deae6d8e777dc61a7ba04d9c 4620 python optional
python-cobe_2.1.0-2.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQIcBAEBCgAGBQJUDgzBAAoJEK728aKnRXZFtCkP/1x5rFbsifcHnSVkB11eUY/N
axkjseLsJ8uc72nEGlXb/tlY8iwGtyj5ljfyPDnFe6kv9ql6hcnJIDmwrga6ccIq
n/UgJHt4xEAqZd4079XYr33sdfHB7uXfWjOt0pY/7ASBO8fXB4rtQgALr86gZ5R4
gbPg2RDNjeRGewfxaFo949TGrazwNSWGvbZFi9vnfvlZCjZl8tNu0V9ArmiyB9Qe
+17r7o7X1tmc8O+86dP8YU8NPq/RC+z+VyDzg0uT5MqjK9St0aJI6bePMVOIPNR/
KAnIKxHJ3OHFs9DEo5rDcL13LtBKCPu8UxUF2ghha3dlhQlPZrh1KnTJBVqcdq05
iUgN4LxX73NVOcjJvkqSTeNWStwamq5R+0H9pVUrQ58JKZmf9BU2Uw+ayzePdmXC
AwRO666O4QbPsKXUYD75MgFoz8YAUyDiqJakKvFgNYbijIF5Ba9XnhXUa/9+4LKa
FG6lAKH7RaXMX9qhbumWbT7SwI+5rva583FhlVBP8d1vvviOwSTo3yeYVc4mwkIT
8bXpNr+/zBCGffgepSj8inxdknPemuKra9gRApzhAuR1GFwe8ZWn3cegTX9oPAM6
3tnJ7JNp8lYYa+ZfZq9wOKPg+brPa3FEKk89kKnMZ7XlKxb4BeEMP1xFPX+Z4pZ5
wrXJnAZZZOTptl1AQ9CD
=uzrq
-----END PGP SIGNATURE-----
--- End Message ---
_______________________________________________
Python-modules-team mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/python-modules-team