Can't connect to Irc-hispano.org
Status: Beta
Brought to you by:
irvazquez
File "/usr/lib/python2.1/site-packages/pyirclib.py", line 166, in login
returnmsg = self.getmessage()
File "/usr/lib/python2.1/site-packages/pyirclib.py", line 405, in getmessage
self.servercmd("PONG :%s" % buffer[6:])
File "/usr/lib/python2.1/site-packages/pyirclib.py", line 206, in servercmd
if self.send(command+"\n") != 0:
File "/usr/lib/python2.1/site-packages/pyirclib.py", line 156, in send
except socket.error(errno, errstr):
NameError: global name 'errno' is not defined
Connecting to any server on irc-hispano.org network.
Logged In: YES
user_id=1116385
Im working on this problem (Im not creator of this lib).
And I Think that error got to do with :
1. No IDENT is installed in this library, if this is the problem, I
think I got a fix for it very soon
2. irc-hispano.org talks a different "language" than for
expample irc.dal.net (The lib is working here). If this is
correct, the whole library needs a rewrite to fit with the
quakenet.org or hispano.org
Logged In: YES
user_id=1116385
First, I have to apoligize to ivazquez for "spamming" your
project :P.
Second, Iv'e found a way to connect to servers that requries
a IDENT to run besides the Bot. I will rewrite the code to a
cleaner one (haha :P), and may be I submit the code here or
in a new project.
The bad news, is that this does NOT svolve the .org servers
problem. To me it seems like it crashes on connect, so maybe
you have to use another socket ? Im no pro in pyirclib, but I
try to help :)
Logged In: NO
I get the same issue with quakenet.org, Python 2.5.
Traceback (most recent call last):
File "client.py", line 8, in <module>
irc.login('pyirclib',username = 'pyirclib')
File "/usr/lib/python2.5/site-packages/pyirclib.py", line 166, in login
returnmsg = self.getmessage()
File "/usr/lib/python2.5/site-packages/pyirclib.py", line 405, in getmessage
self.servercmd("PONG :%s" % buffer[6:])
File "/usr/lib/python2.5/site-packages/pyirclib.py", line 206, in servercmd
if self.send(command+"\n") != 0:
File "/usr/lib/python2.5/site-packages/pyirclib.py", line 156, in send
except socket.error(errno, errstr):
NameError: global name 'errno' is not defined