rdavydov / Twitch-Channel-Points-Miner-v2

A simple script that will watch a stream for you and earn the channel points.
GNU General Public License v3.0
1.1k stars 324 forks source link

Client IRC error #318

Open Orbernau opened 11 months ago

Orbernau commented 11 months ago

Describe the bug

When starting the script it starts correctly but after a while it spits the following "ERROR - TwitchChannelPointsMiner.classes.Chat - [start]: Exception raised: object 'ClientIRC' does not have attribute 'reactor'. Thread is active: True" and it consumes all the cpu and I can't read anything. In my pc with windows it does not give this error but in the VPS it gives error.

Steps to reproduce

  1. Start the script with python3
  2. wait

Expected behavior

wait for me to start spamming the message

Operating system

Ubuntu 23.04

Python version

3.11.2

Miner version

1.8.3

Other relevant software versions

No response

Logs

Additional context

No response

rdavydov commented 10 months ago

Something is wrong with your VPS then.

or

wait for me to start spamming the message

What do you mean? You've modified the miner to spam something with the irc module? This project's purpose is not spam, no consultation about this aspect would be provided.

qs-arno commented 2 months ago

For what it's worth...I was having this same problem and I couldn't say specifically why this solved it, but what solved it for me on Ubuntu 22.04 LTS was uninstalling the system python3-irc package and running this instead:

pip3 install --user irc

I haven't really looked further into it, but I'm guessing the version in PIP is newer than the system package.

@rdavydov : Just a note about what @Orbernau said...in this case the term "spamming" is referring to how the script is hammering the console with this error message (when I was getting it, it was printing hundreds of times per second before I hit Ctrl-c to stop the script). It's not meant to imply that the script's being used to send unsolicited traffic.