Traceback (most recent call last):
File "/home/progval/packages/lib/python2.7/site-packages/supybot/callbacks.py", line 1265, in _callCommand
self.callCommand(command, irc, msg, *args, **kwargs)
File "/home/progval/packages/lib/python2.7/site-packages/supybot/utils/python.py", line 86, in g
f(self, *args, **kwargs)
File "/home/progval/packages/lib/python2.7/site-packages/supybot/plugins/Web/plugin.py", line 77, in callCommand
super(Web, self).callCommand(command, irc, msg, *args, **kwargs)
File "/home/progval/packages/lib/python2.7/site-packages/supybot/utils/python.py", line 86, in g
f(self, *args, **kwargs)
File "/home/progval/packages/lib/python2.7/site-packages/supybot/callbacks.py", line 1246, in callCommand
method(irc, msg, *args, **kwargs)
File "/home/progval/packages/lib/python2.7/site-packages/supybot/commands.py", line 1054, in newf
f(self, irc, msg, args, *state.args, **state.kwargs)
File "/home/progval/packages/lib/python2.7/site-packages/supybot/plugins/Web/plugin.py", line 203, in title
title = utils.web.htmlToText(parser.title.strip())
File "/home/progval/packages/lib/python2.7/site-packages/supybot/utils/web.py", line 199, in htmlToText
u.feed(s)
File "/usr/lib/python2.7/dist-packages/chardet/universaldetector.py", line 115, in feed
if prober.feed(aBuf) == constants.eFoundIt:
File "/usr/lib/python2.7/dist-packages/chardet/charsetgroupprober.py", line 59, in feed
st = prober.feed(aBuf)
File "/usr/lib/python2.7/dist-packages/chardet/sjisprober.py", line 67, in feed
self._mContextAnalyzer.feed(self._mLastChar[2 - charLen :], charLen)
File "/usr/lib/python2.7/dist-packages/chardet/jpcntx.py", line 145, in feed
order, charLen = self.get_order(aBuf[i:i+2])
File "/usr/lib/python2.7/dist-packages/chardet/jpcntx.py", line 176, in get_order
if ((aStr[0] >= '\x81') and (aStr[0] <= '\x9F')) or \
UnicodeDecodeError: 'ascii' codec can't decode byte 0x81 in position 0: ordinal not in range(128)
With this stack:
Frame _callCommand in /home/progval/packages/lib/python2.7/site-packages/supybot/callbacks.py at line 1282
args = ([],)
e = UnicodeDecodeError('ascii', '\x81', 0, 1, 'ordinal not in range(128)')
name = 'title'
self = <Web Web <Web.plugin.Web object at 0x3d18650>>
cap = False
command = ['web', 'title']
kwargs = {}
msg = IrcMsg(prefix="ProgVal!progval@pdpc/supporter/student/progval", command="PRIVMSG", args=('#supybot-fr', 'Limnoria: web title http://www.debian.org/index.fr.html'))
irc = <supybot.callbacks.NestedCommandsIrcProxy object at 0x410cc90>
Frame g in /home/progval/packages/lib/python2.7/site-packages/supybot/utils/python.py at line 88
lock = <_RLock owner=None count=0>
self = <Web Web <Web.plugin.Web object at 0x3d18650>>
args = (['web', 'title'], <supybot.callbacks.NestedCommandsIrcProxy object at 0x410cc90>, IrcMsg(prefix="ProgVal!progval@pdpc/supporter/student/progval", command="PRIVMSG", args=('#supybot-fr', 'Limnoria: web title http://www.debian.org/index.fr.html')), [])
f = <function callCommand at 0x3cee7d0>
kwargs = {}
Frame callCommand in /home/progval/packages/lib/python2.7/site-packages/supybot/plugins/Web/plugin.py at line 79
self = <Web Web <Web.plugin.Web object at 0x3d18650>>
args = ([],)
command = ['web', 'title']
kwargs = {}
msg = IrcMsg(prefix="ProgVal!progval@pdpc/supporter/student/progval", command="PRIVMSG", args=('#supybot-fr', 'Limnoria: web title http://www.debian.org/index.fr.html'))
irc = <supybot.callbacks.NestedCommandsIrcProxy object at 0x410cc90>
Frame g in /home/progval/packages/lib/python2.7/site-packages/supybot/utils/python.py at line 88
lock = <_RLock owner=None count=0>
self = <Web Web <Web.plugin.Web object at 0x3d18650>>
args = (['web', 'title'], <supybot.callbacks.NestedCommandsIrcProxy object at 0x410cc90>, IrcMsg(prefix="ProgVal!progval@pdpc/supporter/student/progval", command="PRIVMSG", args=('#supybot-fr', 'Limnoria: web title http://www.debian.org/index.fr.html')), [])
f = <function callCommand at 0x240f140>
kwargs = {}
Frame callCommand in /home/progval/packages/lib/python2.7/site-packages/supybot/callbacks.py at line 1246
self = <Web Web <Web.plugin.Web object at 0x3d18650>>
args = ([],)
command = ['web', 'title']
kwargs = {}
msg = IrcMsg(prefix="ProgVal!progval@pdpc/supporter/student/progval", command="PRIVMSG", args=('#supybot-fr', 'Limnoria: web title http://www.debian.org/index.fr.html'))
irc = <supybot.callbacks.NestedCommandsIrcProxy object at 0x410cc90>
method = <bound method Web.title of <Web Web <Web.plugin.Web object at 0x3d18650>>>
Frame newf in /home/progval/packages/lib/python2.7/site-packages/supybot/commands.py at line 1063
f = <function title at 0x3d19758>
specList = [<getopts for {'no-filter': ''}>, <context for httpUrl>]
self = <Web Web <Web.plugin.Web object at 0x3d18650>>
args = []
state = State(args=[[], 'http://www.debian.org/index.fr.html'], kwargs={}, channel=None)
kwargs = {}
msg = IrcMsg(prefix="ProgVal!progval@pdpc/supporter/student/progval", command="PRIVMSG", args=('#supybot-fr', 'Limnoria: web title http://www.debian.org/index.fr.html'))
irc = <supybot.callbacks.NestedCommandsIrcProxy object at 0x410cc90>
spec = <supybot.commands.Spec object at 0x3d18f10>
Frame title in /home/progval/packages/lib/python2.7/site-packages/supybot/plugins/Web/plugin.py at line 203
args = []
url = 'http://www.debian.org/index.fr.html'
text = u'<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">\n<html lang="fr">\n<head>\n <meta http-equiv="Content-Type" content="text/html; charset=utf-8">\n <title>Debian -- Le syst\xe8me d\'exploitation universel </title>\n <link rev="made" href="mailto:webmaster@debian.org">\n <meta name="Description" content="Debian est un syst\xe8me d\'exploitation et une distribution de logiciels libres. Elle est d\xe9velopp\xe9e et mise \xe0 jour gr\xe2ce au travail de nombreux utilisateurs qui offrent leur temps et leurs efforts.">\n <meta name="Generator" content="WML 2.0.12 (16-Apr-2008)">\n <meta name="Modified" content="2013-06-11 20:16:59">\n <meta name="viewport" content="width=device-width">\n <meta name="mobileoptimized" content="300">\n <meta name="HandheldFriendly" content="true">\n<link rel="alternate" type="application/rss+xml"\n title="Actualit\xe9s Debian" href="News/news">\n<link rel="alternate" type="application/rss+xml"\n title="Nouvelles du projet Debian" href="News/weekly/dwn">\n<link rel="alternate" type="application/rss+xml"\n title="Annonces de s\xe9curit\xe9 Debian (titres seuls)" href="security/dsa">\n<link rel="alternate" type="application/rss+xml"\n title="Annonces de s\xe9curit\xe9 Debian (r\xe9sum\xe9s)" href="security/dsa-long">\n<link href="./debhome.css" rel="stylesheet" type="text/css">\n <link href="./debian-fr.css" rel="stylesheet" type="text/css" media="all">\n <link rel="shortcut icon" href="favicon.ico">\n <meta name="Keywords" content="debian, GNU, linux, unix, open source, libre, DFSG">\n<link rel="search" type="application/opensearchdescription+xml" title="Recherche sur le site web Debian" href="./search.fr.xml">\n</head>\n<body>\n<div id="header">\n <div id="upperheader">\n <div id="logo">\n <a href="./" title="Accueil Debian"><img src="./Pics/openlogo-50.png" alt="Debian"></a>\n </div> <!-- end logo -->\n\t<div id="searchbox">\n\t\t<form name="p" method="get" action="http://search.debian.org/cgi-bin/omega">\n\t\t<p>\n<input type="hidden" name="DB" value="fr">\n\t\t\t<input name="P" value="" size="27">\n\t\t\t<input type="submit" value="Recherche">\n\t\t</p>\n\t\t</form>\n\t</div> <!-- end sitetools -->\n </div> <!-- end upperheader -->\n<!--UdmComment-->\n<div id="navbar">\n<p class="hidecss"><a href="#content">Sauter le menu</a></p>\n<ul>\n <li><a href="intro/about">\xc0 propos de Debian</a></li>\n <li><a href="distrib/">Obtenir Debian</a></li>\n <li><a href="./support">Assistance</a></li>\n <li><a href="./devel/">Le coin du d\xe9veloppeur</a></li>\n</ul>\n</div> <!-- end navbar -->\n\t<p id="breadcrumbs"> </p>\n</div> <!-- end header -->\n<!--/UdmComment-->\n<div id="content">\n<span class="download"><a\nhref="http://cdimage.debian.org/debian-cd/7.0.0/multi-arch/iso-cd/debian-7.0.0-amd64-i386-netinst.iso">T\xe9l\xe9charger Debian\xa07.0<em>(installation par le r\xe9seau, PC 32 et 64\xa0bits)</em></a> </span>\n<div id="splash" style="text-align: center;">\n <h1>Debian</h1>\n</div>\n<div id="intro">\n<p><a href="http://www.debian.org/">Debian</a> est un syst\xe8me d\'exploitation\n<a href="intro/free">libre</a> pour votre ordinateur. Un syst\xe8me d\'exploitation\nest la suite des programmes de base et des utilitaires qui permettent \xe0 un\nordinateur de fonctionner.\n</p>\n<p>Debian est bien plus qu\'un simple syst\xe8me d\'exploitation :\nil contient plus de 37500\n<a href="distrib/packages">paquets</a> ; les paquets sont des composants\nlogiciels pr\xe9compil\xe9s con\xe7us pour s\'installer facilement sur votre machine.\n<a href="intro/about">Suite...</a>\n</div>\n<div id="hometoc">\n<!--UdmComment-->\n<ul id="hometoc-cola">\n <li><a href="intro/about">\xc0 propos de Debian</a>\n <ul>\n <li><a href="./social_contract">Notre contrat social</a></li>\n <li><a href="./intro/free">Logiciel libre</a></li>\n <li><a href="./partners/">Partenaires</a></li>\n <li><a href="./donations">Dons</a></li>\n <li><a href="./contact">Nous contacter</a></li>\n </ul>\n </li>\n <li><a href="./intro/help">Aider Debian</a></li>\n</ul>\n<ul id="hometoc-colb">\n <li><a href="distrib/">Obtenir Debian</a>\n <ul>\n <li><a href="distrib/netinst'
self = <Web Web <Web.plugin.Web object at 0x3d18650>>
parser = <Web.plugin.Title instance at 0x4111d88>
optlist = []
msg = IrcMsg(prefix="ProgVal!progval@pdpc/supporter/student/progval", command="PRIVMSG", args=('#supybot-fr', 'Limnoria: web title http://www.debian.org/index.fr.html'))
irc = <supybot.callbacks.NestedCommandsIrcProxy object at 0x410cc90>
size = 4096
Frame htmlToText in /home/progval/packages/lib/python2.7/site-packages/supybot/utils/web.py at line 199
chardet = <module 'chardet' from '/usr/lib/python2.7/dist-packages/chardet/__init__.pyc'>
tagReplace = ' '
u = <chardet.universaldetector.UniversalDetector instance at 0x4111a28>
s = u"Debian -- Le syst\xe8me d'exploitation universel"
Frame feed in /usr/lib/python2.7/dist-packages/chardet/universaldetector.py at line 115
aBuf = u"Debian -- Le syst\xe8me d'exploitation universel"
aLen = 45
self = <chardet.universaldetector.UniversalDetector instance at 0x4111a28>
prober = <chardet.mbcsgroupprober.MBCSGroupProber instance at 0x4111170>
Frame feed in /usr/lib/python2.7/dist-packages/chardet/charsetgroupprober.py at line 59
aBuf = u"Debian -- Le syst\xe8me d'exploitation universel"
self = <chardet.mbcsgroupprober.MBCSGroupProber instance at 0x4111170>
prober = <chardet.sjisprober.SJISProber instance at 0x4115320>
st = 2
Frame feed in /usr/lib/python2.7/dist-packages/chardet/sjisprober.py at line 67
aBuf = u"Debian -- Le syst\xe8me d'exploitation universel"
i = 0
self = <chardet.sjisprober.SJISProber instance at 0x4115320>
aLen = 45
charLen = 1
codingState = 0
Frame feed in /usr/lib/python2.7/dist-packages/chardet/jpcntx.py at line 145
i = 0
aBuf = [u'D']
aLen = 1
self = <chardet.jpcntx.SJISContextAnalysis instance at 0x41153f8>
Frame get_order in /usr/lib/python2.7/dist-packages/chardet/jpcntx.py at line 176
aStr = [u'D']
self = <chardet.jpcntx.SJISContextAnalysis instance at 0x41153f8>
Hi,
When trying to guess encoding for http://www.debian.org/index.fr.html , I guess this traceback:
With this stack:
Regards, Valentin