TwitchDropsMiner icon indicating copy to clipboard operation
TwitchDropsMiner copied to clipboard

ERROR: Exception in task

Open IRhoAias opened this issue 1 year ago • 9 comments

04:38:35: Watching: EXTREMEBREAKER1 04:38:35: ERROR: Exception in task 04:38:35: Traceback (most recent call last): 04:38:35: File "utils.py", line 139, in wrapper 04:38:35: File "twitch.py", line 1046, in _watch_loop 04:38:35: File "channel.py", line 387, in send_watch 04:38:35: File "channel.py", line 237, in get_spade_url 04:38:35: exceptions.MinerException: Error while spade_url extraction: step #1

this happened to me on thursday and i ignored it but i realized that i didn't farm anything. now i am worried because i can't do it manually due to work i leave the error and a picture of the same error in case it is necessary. image

IRhoAias avatar Apr 27 '24 07:04 IRhoAias

04:38:35: Watching: EXTREMEBREAKER1 04:38:35: ERROR: Exception in task 04:38:35: Traceback (most recent call last): 04:38:35: File "utils.py", line 139, in wrapper 04:38:35: File "twitch.py", line 1046, in _watch_loop 04:38:35: File "channel.py", line 387, in send_watch 04:38:35: File "channel.py", line 237, in get_spade_url 04:38:35: exceptions.MinerException: Error while spade_url extraction: step #1 Sri This is the error

IRhoAias avatar Apr 27 '24 07:04 IRhoAias

Hello o/

The error signifies the internal watch loop dying on a spade URL extraction step. Without a functional watch loop, no watch events will be sent to Twitch to advance the drops, and the only way to recover from this is to restart the application.

The error itself could be a one-off occurrence, so I'm more or less waiting for more reports first. For now, just restart to get it fixed.

DevilXD avatar Apr 27 '24 09:04 DevilXD

in my particular case I always get the same error and deleting cookies.jar does not fix the error. image

IRhoAias avatar Apr 27 '24 22:04 IRhoAias

Alright, well, I'll look into the potential cause of this further.

DevilXD avatar Apr 27 '24 22:04 DevilXD

I've looked into it, and I'm unable to reproduce this on my end. I've checked these three affected channels: "EXTREMEBREAKER1", "w0n23" and "LVTHalo", all of them resolving properly.

This may or may not be something Twitch is currently testing, and only a limited subset of users will be affected by. Either way, I'm unable to diagnose the issue for now.

DevilXD avatar Apr 28 '24 11:04 DevilXD

@EmiMathesi Putting your cookies file into public internet gives anyone who takes it unlimited access to your Twitch account. Your account may have already been compromised, so I'd suggest you to quickly change your password, hopefully while you still can. I've removed the file link from your comment.

I've never asked, nor will use, anyone else's cookies file to diagnose the issue, because I definitely don't want to access somebody else's account, specifically from my own IP address and location. If I can't diagnose this issue now, then we all just need to wait until I'm able to. That's all.

DevilXD avatar Apr 28 '24 19:04 DevilXD

I had a similar issue. I was able to work around it by changing the regex r'src="(https://static\.twitchcdn\.net/config/settings\.[0-9a-f]{32}\.js)"' to r'src="(https://assets\.twitch\.tv/config/settings\.[0-9a-f]{32}\.js)"'

in channel.py since it seems the link changed at least for some users.

mgbeck002 avatar Apr 29 '24 19:04 mgbeck002

Interesting. I've implemented this finding in https://github.com/DevilXD/TwitchDropsMiner/commit/ab76491ecc26c6527da3aa5ccaefdc9a563fdfd8, please give it a try and see if it helped resolve this issue.

DevilXD avatar Apr 30 '24 08:04 DevilXD

Interesting. I've implemented this finding in ab76491, please give it a try and see if it helped resolve this issue.

That worked for me.

mgbeck002 avatar May 13 '24 03:05 mgbeck002

I'm assuming this is fixed now then.

DevilXD avatar May 13 '24 17:05 DevilXD