-
-
Notifications
You must be signed in to change notification settings - Fork 51
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
KeyError: 'user' #137
Comments
Seems your discord token might have changed so check that |
no I believe it's an issue with discum because I just got the error as well. let me know if it is still working on your end |
It could be an issue with discum. It currently is working for me personally When I ran it when the issue first arose. If it was installed thru pypi then it's an older version of discum Which should be installed thru their GitHub repo |
could I know what version of discum you're using? what specifically is working for you? discum or mudaeautobot? discum is personally still working for me on other scripts still but it's specifically this line this is the output that I'm getting |
I'm currently on discum 1.3.1 |
i'm getting the same issue, have tried 1.3.1 from github releases, 1.4.0 from github releases, and latest from pypi |
is it failing on 1.3.1 also for you? |
yep |
okay viewing the discum repo there has been a captcha added that i think is messing with the key error. |
thanks |
if discum doesn't work, you can use discord.py-self, it's well maintained |
moving there would have a lot of overhead, but yeah that's an option |
yeah I originally was on discord.py before the self bot portion of code was deprecated and I personally wouldn't like to overhaul the code again. Also in terms of development the same guy who works on discum works on discord.py-self so I'm sure he is figuring out a fix |
still awaiting a reply but haven't received anything on my end. anyone else figured out a solution while we wait ? |
anything yet? |
No the dev over there has been busy. But did report a few solutions over on his repo
…Sent from my iPhone
On Mar 13, 2022, at 1:52 AM, Epik ***@***.***> wrote:
anything yet?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.
|
there isn't a way to just remove the broken section? |
The user is to verify that user has successfully logged in and that user has been set
…Sent from my iPhone
On Mar 28, 2022, at 4:19 PM, ChocoTonic ***@***.***> wrote:
there isn't a way to just remove the broken section?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.
|
Can you be more specific about what you changed or did differently? |
Just now started receiving this last night, been using it for probably 2 weeks straight with no errors and changes were only made to wish characters. I changed the token as It renewed. Put it inside the quotation marks. no weird spacing or any error. I also went to discum and updated it as I saw changes made this month. Still no luck. Edit - Still broken even switching from python 3.10.4 to 3.7 and uninstalling/reinstalling discum. Hope to get a fix soon :( |
How was this fixed? |
Think they were just referencing you to this page instead of having two open. Not fixed yet |
After trying to fix it, i see it can work perfectly fine on alt accounts but not my main account. I have reset my token by changing my password, doing a lot of things. No luck.. Maybe discord has some sort of shadowbans?? I'm not sure why my main account no longer works with this bot. @MujurID maybe its something to do with servers?? do you think that for this bot? |
But that can't be. The same user token works on another discum program that I made. |
Very odd then. My discord token purely does not work anymore, changing it and making sure its 100% correct (like refreshing multiple times, changing passwords) Me then deciding to use it on an alt account that only has 3 servers with its token worked.. But yeah who knows. You're right too its not the bot perse. It's just discum. |
@vivinano - Confirmed I just fixed it by getting rid of mostly all my servers I don't need anymore. I do not know what server specifically made it work and I know this makes zero sense as the problem is based on the user and discum but @MujurID 's solution does work (for me). Might have to do with a certain string as they mention certain servers/channels may have characters that conflict? No clue. |
how can I identify which servers I'm in are hubs? @kleborgn |
The icon is blue with a student hat. If you right-click on it, it says "Leave the hub" instead of "Leave the server". |
I see. I don't have any hubs, but I am in large servers and it does not work for me |
Check on a new alt account. I still am running the bot on two accounts with no issues since the fix I said worked. Just try leaving servers you do not need anymore. Hubs aren't the only cause |
Tried all the fixes above, even tried the thing @MujurID suggested, nothing seems to make the bot function. |
That because this isn't a keyword user error and falls within the invalid settings error |
I had solved this problem by leaving some servers, but now it's back and I have no idea what happened or who I should look for to get this error out =\ |
Normal Syntax doesn't work but, installing latest Discum + copying all Mudae $settings in the Channeldata folder has started the bot and made it use slash commands. So better than nothing. |
I'm having the same error. In my case it's a specific server that for some reason triggers the error. I tried on an alt account and as expected, the bot runs fine until I join the server. Tried making a dummy server similar to it, to pinpoint exactly what causes it, but I couldn't find the culprit. Attempted to add an exception in /discum/gateway/start/parse.py for this specific server ID but I couldn't get it to work. I cannot leave this server, so any help would be appreciated. |
The developer for discum should be back not sure how long he was going on break but might have to contact him |
The dev of discum should be back from hiatus so can some one confirm if this has been resolved |
Found a way to temporary fix this without deleting any channels, for my case. Discum 1.4.1 |
Just got this issue and was able to fix it by leaving a server that just started using the new forum feature on discord. |
I think this looks pretty valid as a fix I would love to test it but I haven't ran into the issue myself I would recommend anyone having the issue to try this fix as it doesn't seem to be to big of a change to functionality @tranbtho98 if you get enough successful results I think you could report your finding to the discum developer and it will help him implement the code in his library |
this is a different issue not regarding user issue this is an issue with discum which I made a bug fixes in their latest version of their repo. but if it still not working the newer code version of my code has resolved this issue Plesae do not use this issue to report other issues that are not involving USER issue thank you |
So is this keyword error going to be fixed or not? Has it been sorted out |
Thank you very much, that's the only way to solve it |
this does not work for me |
This fork of discum fixed it for me: https://github.com/ericz/Discord-S.C.U.M |
which fork exactly? @kleborgn |
Look like the only change I see is a different capability code with self.auth |
so is it fixed now? |
Ive pushed a attempted update to try to fix user issue but needs more settings. |
I'm trying to pinpoint the issue and thought I might ask about it here. The bot runs on Replit without any issues but it suddenly stopped working. After restarting it gives the following error:
![errrore](https://user-images.githubusercontent.com/85286463/153757213-8023088a-a268-4951-aa16-d42902354c0a.PNG)
The text was updated successfully, but these errors were encountered: