Closed toxtodo closed 1 year ago
Just remove lines 53-59:
matrix=Matrix(
username="twitch_miner", # Matrix username (without homeserver)
password="...", # Matrix password
homeserver="matrix.org", # Matrix homeserver
room_id="..." # Room ID
events=[Events.STREAMER_ONLINE, Events.STREAMER_OFFLINE, Events.BET_LOSE], # Only these events will be sent to the chat
)
And I advise you not to use the example.py file directly. It just shows every feature that is available. It's better to create your customized run.py with the parts that you actually use.
@toxtodo Please respond whether my solution helped you or not.
Oh, there is indeed a missing comma. But still you should not include Matrix settings in your config if you don't use it.
@rdavydov thank you! there was the same problem, and after deleting the lines, everything worked
@toxtodo Please respond whether my solution helped you or not.
Sorry, couldn't reply right away. Yes, indeed after removing the matrix strings the application worked, only now I'm getting annoying flood messages about a new HTTPS connection. Should I create a new question?
@toxtodo What messages?
And now I think I need to add a default values check before invoking the Matrix notifications functions. Like: if default values, then skip. So this issue is not fixed completely.
rdavydov i am trying to install script but i keep running into issues, i installed fixes but now i have issues. can you tell me where I can clone the most updated version with no issues atleast?
rdavydov i am trying to install script but i keep running into issues, i installed fixes but now i have issues. can you tell me where I can clone the most updated version with no issues atleast?
git clone https://github.com/rdavydov/Twitch-Channel-Points-Miner-v2.git
@toxtodo What messages?
Describe the bug
I get an error that says there is a syntax error in the code in the "example.py" file on line 57. The error indicates that the problem is due to a missing comma and the "room_id" argument.
Steps to reproduce
Expected behavior
I want a stable and working application like before the Matrix innovation
Operating system
Windows 10
Python version
3.11.4
Miner version
1.8.2
Other relevant software versions
No response
Logs
I understand that there should be logging, but it doesn't appear with console_level=logging.DEBUG or console_level=logging.info. Instead, I can write what appears when I open this application in "Git bash here":
$ python example.py File "D:\Twitch-Channel-Points-Miner-v2-master\example.py", line 57 room_id=". room ID SyntaxError: invalid syntax. Perhaps you forgot a comma?
Additional context
No response