Git Product home page Git Product logo

Comments (8)

stenyak avatar stenyak commented on July 30, 2024

I have not encountered this bug so far.
Could you please provide step-by-step instructions on how to reproduce this problem, so that I can debug it? Thanks!

from breakbot.

cybersyx avatar cybersyx commented on July 30, 2024

This error appear when one user try to query the bot on IRC

from breakbot.

cybersyx avatar cybersyx commented on July 30, 2024

And when i try to message the bot number directly form whatsapp i get this error:
2013-11-15 17:59:21.348983 EE catch_them_all.py:12: Exception in function onMessageReceived
2013-11-15 17:59:32.458083 EE catch_them_all.py:12:
Traceback (most recent call last):
File "/root/breakbot/catch_them_all.py", line 10, in wrapper
return function(_args, *_kwargs)
File "/root/breakbot/wa_bot.py", line 43, in onMessageReceived
messageContent = unicode(messageContent, "utf-8")
TypeError: decoding Unicode is not supported

2013-11-15 17:59:32.458083 EE catch_them_all.py:12: Exception in function onMessageReceived

from breakbot.

h1rule avatar h1rule commented on July 30, 2024

Still happens here too!

2014-01-28 13:35:37.129985 II bot.py:76: <<< IRC 1390912536929572: ven000m in #whatsapp_cantina_group said to None: A
2014-01-28 13:35:37.130125 EE catch_them_all.py:12:
Traceback (most recent call last):
File "/home/niko/spambots/0176/catch_them_all.py", line 10, in wrapper
return function(_args, *_kwargs)
File "./bot.py", line 89, in irc_msg_received
msg = "%s" %(message.get_nick(), message.msg)
TypeError: not all arguments converted during string formatting

2014-01-28 13:35:37.130125 EE catch_them_all.py:12: Exception in function irc_msg_received

from breakbot.

stenyak avatar stenyak commented on July 30, 2024

@capsload the error you are experiencing is not the one @cybersyx describes. Your problem is that you have modified the code and your modification is not working. You have removed the <%s> without also removing the corresponding parameter (in this specific case, you should remove message.get_nick()).

from breakbot.

stenyak avatar stenyak commented on July 30, 2024

@cybersyx I've fixed a problem with private IRC messages in 8fcb8c5, can you please pull the latest breakbot version and try again, and check if your problem persists? Thanks!

from breakbot.

cybersyx avatar cybersyx commented on July 30, 2024

@stenyak now work perfectly :) one last problem: when i try to send message from whatsapp directly to whatsapp number bot i get this:

2014-01-31 22:41:41.786789 EE catch_them_all.py:12:
Traceback (most recent call last):
File "/root/breakbot/catch_them_all.py", line 10, in wrapper
return function(_args, *_kwargs)
TypeError: onMessageReceived() takes exactly 7 arguments (8 given)

2014-01-31 22:41:41.786789 EE catch_them_all.py:12: Exception in function onMessageReceived

from breakbot.

stenyak avatar stenyak commented on July 30, 2024

@cybersyx this issue should have been fixed by 04f7810, so you shouldn't get that error anymore. Please check that, and if you encounter any further problems, pleas let me know!

from breakbot.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.