Skip to content

Instantly share code, notes, and snippets.

<lykos> From https://github.com/lykoss/lykos
<lykos> b4c5fc4..dbb80a9 master -> origin/master
<lykos> d0e21ec..e1d4216 data-types-refactor -> origin/data-types-refactor
<lykos> botconfig.py.example | 2 ++
<lykos> oyoyo/client.py | 3 ++-
<lykos> src/handler.py | 10 +++++-----
<lykos> src/settings.py | 2 ++
<lykos> 4 files changed, 11 insertions(+), 6 deletions(-)
[2015-07-29 07:10:51+0000] <--- receive lirikan.id.as.kampungchat.org motd (lykos, - ------------------------- Administrator -----------------------------------------)
[2015-07-29 07:10:51+0000] <--- receive lirikan.id.as.kampungchat.org motd (lykos, -)
[2015-07-29 07:10:51+0000] <--- receive lirikan.id.as.kampungchat.org motd (lykos, - o Server Admin: sdx)
[2015-07-29 07:10:51+0000] <--- receive lirikan.id.as.kampungchat.org motd (lykos, -)
[2015-07-29 07:10:51+0000] <--- receive lirikan.id.as.kampungchat.org motd (lykos, - ---------------------------------------------------------------------------------)
[2015-07-29 07:10:51+0000] <--- receive lirikan.id.as.kampungchat.org motd (lykos, -)
[2015-07-29 07:10:51+0000] <--- receive lirikan.id.as.kampungchat.org endofmotd (lykos, End of message of the day.)
[2015-07-29 07:10:51+0000] Traceback (most recent call last):
File "/home/mon/lykos/src/handler.py", line 96, in unhandled
fn.func(cli, prefix, *largs)
mon@bitcoinshell ~/lykos $ while sleep 5; do ./wolfbot.py --verbose; done
[2015-08-05 16:33:41+0000] Loading Werewolf IRC bot
[2015-08-05 16:33:41+0000] connecting to irc.tengkorak.org:6697
[2015-08-05 16:33:43+0000] Error: [Errno 8] _ssl.c:392: EOF occurred in violation of protocol
[2015-08-05 16:33:43+0000] Error: [Errno 106] Transport endpoint is already connected
[2015-08-05 16:33:43+0000] Error: [Errno 106] Transport endpoint is already connected
[2015-08-05 16:33:44+0000] Error: [Errno 106] Transport endpoint is already connected
[2015-08-05 16:33:44+0000] ---> send 'CAP LS 302'
[2015-08-05 16:33:44+0000] ---> send 'PASS lycos:b0tpass'
[2015-08-05 16:33:44+0000] ---> send 'NICK lycos'
mon@bassamazzam:~/CloudBot$ python3.4 -m cloudbot
Traceback (most recent call last):
File "/usr/lib/python3.4/runpy.py", line 170, in _run_module_as_main
"__main__", mod_spec)
File "/usr/lib/python3.4/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/home/mon/CloudBot/cloudbot/__main__.py", line 19, in <module>
from cloudbot.bot import CloudBot
File "/home/mon/CloudBot/cloudbot/bot.py", line 8, in <module>
from sqlalchemy import create_engine
mon@robdrake:~/memebot$ ruby bot.rb
/usr/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require': cannot load such file -- cinch (LoadError)
from /usr/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require'
from bot.rb:1:in `<main>'
--------------------------------------------------------------------------------------------------------------------
mon@robdrake:~/memebot$ ruby --version
ruby 2.2.3p173 (2015-08-18 revision 51636) [x86_64-linux-gnu]
# The channels array will be automatically edited by the bot during run-time.
# I recommend only editing it when the bot is offline
channels: "##openbots"
imgur:
client_id: "6430ac971cd3854"
command_prefix: "!"
irc:
server: "chat.freenode.net"
port: "6666"
ssl:
mon@robdrake:~/memebot$ ruby bot.rb
/usr/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require': cannot load such file -- cinch (LoadError)
from /usr/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require'
from bot.rb:1:in `<main>'
mon@robdrake:~/memebot$ ruby bot.rb
/usr/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require': cannot load such file -- RMagick (LoadError)
from /usr/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require'
from /home/mon/memebot/lib/memegen.rb:2:in `<top (required)>'
from bot.rb:2:in `require_relative'
from bot.rb:2:in `<main>'
mon@robdrake:~$ gem install bundler
Fetching: bundler-1.10.6.gem (100%)
ERROR: While executing gem ... (Gem::FilePermissionError)
You don't have write permissions for the /var/lib/gems/2.2.0 directory.
mon@robdrake:~$ gem install --user-install bundler
WARNING: You don't have /home/mon/.gem/ruby/2.2.0/bin in your PATH,
gem executables will not run.
Successfully installed bundler-1.10.6
Parsing documentation for bundler-1.10.6
Installing ri documentation for bundler-1.10.6
Done installing documentation for bundler after 8 seconds
1 gem installed