Menu

#4 Can't connect to Irc-hispano.org

open
nobody
None
5
2002-09-05
2002-09-05
Anonymous
No

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.

Discussion

  • MaC-GyVer

    MaC-GyVer - 2004-09-05

    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

     
  • MaC-GyVer

    MaC-GyVer - 2004-09-05

    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 :)

     
  • Nobody/Anonymous

    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

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.