Skip to content

Instantly share code, notes, and snippets.

@celediel
Created June 11, 2011 20:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save celediel/1020916 to your computer and use it in GitHub Desktop.
Save celediel/1020916 to your computer and use it in GitHub Desktop.
pyborg error
(git)-[master] % python pyborg-irc.py
Reading dictionary...
Connecting to server...
['#botfight']
hi #nick
Unhandled exception in thread started by
Traceback (most recent call last):
File "/home/bread/Documents/src/pyborg-1up/pyborg-1.1.2/pyborg.py", line 341, in process_msg
self.learn(body)
File "/home/bread/Documents/src/pyborg-1up/pyborg-1.1.2/pyborg.py", line 1090, in learn
for part in body.split('. '): learn_line(self, part, num_context) #Iterate cleanly THANKS nosklo on #python!
File "/home/bread/Documents/src/pyborg-1up/pyborg-1.1.2/pyborg.py", line 1077, in learn_line
self.words[words[x]] = [ struct.pack("iH", hashval, x) ]
struct.error: 'i' format requires -2147483648 <= number <= 2147483647
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment