Code Monkey home page Code Monkey logo

ch.py-abandon's People

Contributors

asl97 avatar belldandu avatar dani87 avatar donboricua avatar joestaines avatar nhammond129 avatar piks avatar pystub avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

ch.py-abandon's Issues

Unable to change name and font color using setter functions

The setNameColor and setFontColor functions do not work in commits b6acba1 and 9d23426 (haven't tried anything earlier than those).

Changing the default colors in the library itself works, but using the functions seems to do nothing.

I've looked myself but I'm at a loss as to what's wrong.

These functions do work in Nullspeaker's ch.py, perhaps looking back can help.

I hope this can be fixed soon as it seems to be the most promising, active, and stable of the chatango libraries out there.

Thank you.

Bug reproduction tools

  • Logging of raw data and bot function call in debug mode
  • Replaying raw data

Use Cases:
Checking if a problem affect the library
Testing if something is properly fix without needing to connect to chatango to test

Exception in thread recv_worker

EDIT: I received the same error again and this time I know for sure I'm using commit d05b7cb.

The following shows in the error log I keep:

Traceback (most recent call last):
  File "/home/phil/bots/rg.py", line 3242, in <module>
    Ragu.easy_start(lGroups, sUsername, sPassword, False)
  File "/home/phil/bots/ch/roommanager.py", line 772, in easy_start
    self.main()
  File "/home/phil/bots/ch/roommanager.py", line 717, in main
    con._feed(data)
  File "/home/phil/bots/ch/room.py", line 233, in _feed
    self._process(food)
  File "/home/phil/bots/ch/room.py", line 247, in _process
    getattr(self, func)(args)
  File "/home/phil/bots/ch/room.py", line 456, in _rcmd_participant
    participant=(args[0], self, args[1])
  File "/home/phil/bots/ch/user.py", line 53, in __init__
    self.update(**kw)
  File "/home/phil/bots/ch/user.py", line 60, in update
    getattr(self, "_h_" + attr)(val)
  File "/home/phil/bots/ch/user.py", line 82, in _h_participant
    self.user._sids[val[1]].remove(val[2])
KeyError: '137709040'

(original post below)

I've received this error twice now, using commit 7b31aa4.

Exception in thread recv_worker:
  Traceback (most recent call last):
    File "/usr/local/lib/python3.5/threading.py", line 914, in _bootstrap_inner
      self.run()
    File "/usr/local/lib/python3.5/threading.py", line 862, in run
      self._target(*self._args, **self._kwargs)
    File "/home/phil/bots/ch/roommanager.py", line 733, in recv_worker
      con._feed(data)
    File "/home/phil/bots/ch/room.py", line 223, in _feed
      self._process(food)
    File "/home/phil/bots/ch/room.py", line 237, in _process
      getattr(self, func)(args)
   File "/home/phil/bots/ch/room.py", line 447, in _rcmd_participant
      participant=(args[0], self, args[1])
   File "/home/phil/bots/ch/user.py", line 36, in User
      user.update(**kw)
    File "/home/phil/bots/ch/user.py", line 72, in update
      getattr(self, "_h_" + attr)(val)
    File "/home/phil/bots/ch/user.py", line 94, in _h_participant
      self._sids[val[1]].remove(val[2])
KeyError: '83968368'

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.