-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TypeError: 'NoneType' object is not subscriptable - Received this error (working fine prior to reboot) #118
Comments
me too |
Same Issue here, was working just fine yesterday. |
I also got call back errors, but mine look different from that? I've redacted sensitive info (sensitive to me at least)... 07:56:43: Fatal error encountered: |
Had the same issue, but it seems to working properly again after a fresh install (just removed settings, cookies and cache) and removing Rust from the priority list. Not sure if actually related or just a coincidence. |
The current Rust drops are causing the issue. I too just removed Rust from the list, and it works just fine, I add Rust in, and I get the error above. Hopefully this gives @Windows200000 somewhere to start and sort the bug out. |
I'm having the same Issue, someone had this Issue on the original Project from DevilXD aswell, and Devil said this is an Issue on twitch's Side that he cannot fix. |
|
However, the "Inventory" page is still working, I can use it to know the twitch drop sequence. |
This error started today before i update to the latest version, so I think this is from twitch not the codes. |
I know why it happen issue, because some streamer in RUST category return |
I have data from today. I suggest we need to add check if "broadcaster" in data.
|
Twitch seems to be changing a bunch of stuff lately.... I had this error, but unfortunately I only got it once and not again after restarting in debug mode. Thanks for all your amazing work figuring out it's rust, I'll look into this asap since it seems like a pretty serious issue. |
Mine is now working just fine, and I changed nothing other than updating to the current version. Important to note that the error is what prompted me to update. It seems... as always... with the Rust Drops, FacePunch likes to pick people to have drops, then they (the people picked) will do whatever they can to NOT play Rust, which is where I think this error is coming in. The program sees the streamer live that is supposed to have drops but they're playing or doing something else so they don't have to distrubite drops. So maybe the program needs to check and see if a streamer is live that has drops, BUT they're not playing the required game, it skips them and moves on to the next person. Obviously it should return to the skipped person when they begin playing the required game for drops. |
Mine is even farming the drop in question without issues... |
That shouldn't be an issue, people stream all kind of things, especially in the open drops, and it works, it seems more like Facepunch changing the drop (they have an official API unlike us :,), afaik ). Also you might be right, I would just expect that during the years of TDM being a thing, this would've come up already. |
Same Issue, need fix it for farm Rust items |
Have you checked my message earlier, sometimes Twitch give forbidden data |
I've been having the same TypeError issue, up until somewhere between now and two hours ago. After restarting this final time however, it seems to be working fine |
So, from looking at the code and from what I can gather here, especially from @Nazar1ky this issue was likely a Twitch bug. It would probably be best to just ignore this. Something like this:
|
The miner works again. |
its working now |
Since this works rn, I want to implement this properly. I think this should be reported without any debug logging and the part of the code where this issue happens didn't currently have access to |
The error is back, and to fix it, i added rust to the excluded list, and it's working now. |
The best I could do to "emulate" this thing was:
The fix is in 7709943: TwitchDropsMiner-updated/twitch.py Lines 1748 to 1756 in 7709943
Inside the GUI, even without any additional logging enabled, it will look like this: Please run the latest in-dev. If I can confirm, that someone got the above log message "in the wild", I'll close this as completed. |
been testing out the latest version 58b9035 it seemed to error out, but recovered and carried on. |
@PatrickJnr TBH time travel is kinda over my head, but according to the comment it's just trying to do something now, that is actually already done in the future, so I guess it's fine? |
@PatrickJnr Just noticed, it looks like you didn't get the |
In any case @Windows200000 I'll keep you posted for any other errors |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Ah my bad! |
I don't get the message, am I just wait it? |
@zelda0079 Well, twitch has to return an invalid thing. This message should be printed whenever the miner would previously crash. So we are waiting on Twitch screwing up again. Since it happened, then didn't for a while, and then did again, I'm hoping for it to happen once more, so I can confirm the fix. |
Any idea what this error might be caused by? I tried doing a fresh run (no settings.json, just the EXE) and got the same result.
07:23:21: Fatal error encountered:
07:23:21:
07:23:21: Traceback (most recent call last):
07:23:21: File "main.py", line 160, in main
07:23:21: File "twitch.py", line 772, in run
07:23:21: File "twitch.py", line 923, in _run
07:23:21: File "twitch.py", line 1749, in get_live_streams
07:23:21: File "twitch.py", line 1750, in
07:23:21: File "channel.py", line 116, in from_directory
07:23:21: TypeError: 'NoneType' object is not subscriptable
07:23:21:
07:23:21: Exiting...
07:23:21:
07:23:21: Application Terminated.
07:23:21: Close the window to exit the application.
The text was updated successfully, but these errors were encountered: