asl97 / ch.py-abandon Goto Github PK
View Code? Open in Web Editor NEWrewriting the project atm...
rewriting the project atm...
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.
blocking:
#1
Use Cases:
Checking if a problem affect the library
Testing if something is properly fix without needing to connect to chatango to test
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'
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.