Skip to content
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

Python Environment Issues #48

Closed
FxDvRV opened this issue Jun 2, 2021 · 84 comments
Closed

Python Environment Issues #48

FxDvRV opened this issue Jun 2, 2021 · 84 comments

Comments

@FxDvRV
Copy link

FxDvRV commented Jun 2, 2021

Hi, I am interested in using this bot but have no idea how to run it. Could I get some help with this? I have 0 experience in Python programming and don't know how to run the bot. I've configured the "Settings_Mudae.json" correctly (I think) but don't know how to run the .py file.

If someone could tell me how, it would be greatly appreciated :)

@vivinano
Copy link
Owner

vivinano commented Jun 2, 2021 via email

@FxDvRV
Copy link
Author

FxDvRV commented Jun 2, 2021

Just run the mudaeauto by double clicking it and having the dependencies which in this case is only “discum”

Sent from my iPhone
On Jun 2, 2021, at 5:43 AM, FxDvRV @.***> wrote:  Hi, I am interested in using this bot but have no idea how to run it. Could I get some help with this? I have 0 experience in Python programming and don't know how to run the bot. I've configured the "Settings_Mudae.json" correctly (I think) but don't know how to run the .py file. If someone could tell me how, it would be greatly appreciated :) — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.

Yeah I tried that, running "Discum_MudaeAutoBot.py" by double clicking it just flashes a command prompt on screen for a brief second then goes away and does nothing. Did I install Discum incorrectly?

@FxDvRV
Copy link
Author

FxDvRV commented Jun 2, 2021

Just run the mudaeauto by double clicking it and having the dependencies which in this case is only “discum”

Sent from my iPhone
On Jun 2, 2021, at 5:43 AM, FxDvRV @.***> wrote:  Hi, I am interested in using this bot but have no idea how to run it. Could I get some help with this? I have 0 experience in Python programming and don't know how to run the bot. I've configured the "Settings_Mudae.json" correctly (I think) but don't know how to run the .py file. If someone could tell me how, it would be greatly appreciated :) — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.

Okay after managing to take a screenshot of the command prompt that shows up for a split second, it reads:
image
This doesn't make any sense since that file is right there in the folder...

@vivinano
Copy link
Owner

vivinano commented Jun 2, 2021

uh can you take a picture of the folder ? and also I havent updated the release for a bit so that one is pretty outdated since i think the release version is back when I 1st moved from discord.py over to discum

@vivinano
Copy link
Owner

vivinano commented Jun 2, 2021

Published a new release not sure if that will fix the problem but it is the latest code changes

@FxDvRV
Copy link
Author

FxDvRV commented Jun 2, 2021

I downloaded the new release, and running the .py gives the same error
Here is a pic of the folder
image

@vivinano
Copy link
Owner

vivinano commented Jun 2, 2021

is it compressed in anyway ?

@FxDvRV
Copy link
Author

FxDvRV commented Jun 2, 2021

Nope, that was after extracting from the .zip file

@vivinano
Copy link
Owner

vivinano commented Jun 2, 2021

try running the MudaeAutoBot.py thru IDLE and see if there a new error ?

so right click > edit with idle > run on the top of IDLE

@FxDvRV
Copy link
Author

FxDvRV commented Jun 3, 2021

Alright, running it through IDLE with your instructions presents a new error
image

@vivinano
Copy link
Owner

vivinano commented Jun 3, 2021 via email

@vivinano
Copy link
Owner

vivinano commented Jun 3, 2021 via email

@FxDvRV
Copy link
Author

FxDvRV commented Jun 3, 2021

How do I install using the github method?
It's this right?
image
but how do I actually do it?

@vivinano
Copy link
Owner

vivinano commented Jun 3, 2021 via email

@FxDvRV
Copy link
Author

FxDvRV commented Jun 3, 2021

I followed the instructions...supposedly installed discum through git bash but the same error is coming up, did I still install it incorrectly again?
I got this as a result which makes it seem like I installed the newer version this time
image

@vivinano
Copy link
Owner

vivinano commented Jun 3, 2021

yeah that seems correct. and which error is popping up ?

the no discum module ?

@FxDvRV
Copy link
Author

FxDvRV commented Jun 3, 2021

yup, same error

@vivinano
Copy link
Owner

vivinano commented Jun 3, 2021

did u use pip ? or pip3

cause it matters deepening on which version of python you are using

@FxDvRV
Copy link
Author

FxDvRV commented Jun 3, 2021

If you mean how did I install it, I used git bash

@vivinano
Copy link
Owner

vivinano commented Jun 3, 2021

what was the command you typed in specially ? it will help me in determining the issue

@FxDvRV
Copy link
Author

FxDvRV commented Jun 3, 2021

image
I typed these in, individually

@vivinano
Copy link
Owner

vivinano commented Jun 3, 2021

do pip3 install .

also could you open up idle and run these 2 line of code and tell me the output
type these into idle and hit run
import sys
print(sys.exec_prefix)

@vivinano
Copy link
Owner

vivinano commented Jun 3, 2021

alright uh
do
import pip
pip.main(['install','git+https://github.com/Merubokkusu/Discord-S.C.U.M.git'])

in IDLE

@FxDvRV
Copy link
Author

FxDvRV commented Jun 3, 2021

Alright, it's just installing now.

@vivinano
Copy link
Owner

vivinano commented Jun 3, 2021

let me know how its running

@FxDvRV
Copy link
Author

FxDvRV commented Jun 3, 2021

Alright, this is the completed message
image

@vivinano
Copy link
Owner

vivinano commented Jun 3, 2021

try to run the bot now ?

I was informed by an anonymous source that you have 2 installs of the same python version which is the reason issues are happening

@FxDvRV
Copy link
Author

FxDvRV commented Jun 3, 2021

Running the bot now still gives the same error

@FxDvRV
Copy link
Author

FxDvRV commented Jun 3, 2021

And about the multiple python installs, I can only see one in control panel's list of installed programs, how do I fix it?

@vivinano
Copy link
Owner

vivinano commented Jun 3, 2021

well I guess uninstall the control panel version and see if u still got python

@condorsail
Copy link
Contributor

Yep, both of them.

@FxDvRV
Copy link
Author

FxDvRV commented Jun 3, 2021

Okay...looks good so far.
image

@condorsail
Copy link
Contributor

Run the script? I suspect you'll get a JSON error, but that's a separate issue we can resolve.

@vivinano vivinano changed the title How do I run the bot? How do I run the bot? / Python Eviroment Issues Jun 3, 2021
@vivinano vivinano changed the title How do I run the bot? / Python Eviroment Issues Python Environment Issues Jun 3, 2021
@FxDvRV
Copy link
Author

FxDvRV commented Jun 3, 2021

image
Running with IDLE gives this error

@vivinano
Copy link
Owner

vivinano commented Jun 3, 2021

alright yeah as stated by @condorsail you would get this issue if you may please post a screen of the setting_mudae.json

keeping it mind not to post the token so remove that before posting a screengrab

@condorsail
Copy link
Contributor

condorsail commented Jun 3, 2021

remove lines 3,4,5,6,7:

"channel_id": 835070762482008087,83570790952681474
"multichannel":[
 835070762482008087,
 83570790952681474
],

and replace with:

"channel_ids":[
 835070762482008087,
 83570790952681474
],

Then try it. (Check to make sure I got the channel IDs correct too)

@vivinano
Copy link
Owner

vivinano commented Jun 3, 2021

remove the comma next to Honkai impact 3rd fellow honkai player lol

@FxDvRV
Copy link
Author

FxDvRV commented Jun 3, 2021

Hahaha that was just the default config, I haven't properly done all the wishes/series setup yet.

@FxDvRV
Copy link
Author

FxDvRV commented Jun 3, 2021

image
(after removing the comma)

@vivinano
Copy link
Owner

vivinano commented Jun 3, 2021

so it getting to the point uh it might be the issue with traffic since search is a intensive thing try to find a moment where the server isnt active to run it

afterwards it should get a persistant file

@FxDvRV
Copy link
Author

FxDvRV commented Jun 3, 2021

Alright, it has found the $settings for one of the channels, not both of the ones in the .json file though.

@vivinano
Copy link
Owner

vivinano commented Jun 3, 2021

run again im unsure what is going on i just assume that the search message function is causing issues i might have to ask the dev of discum about it

@FxDvRV
Copy link
Author

FxDvRV commented Jun 3, 2021

Oh, it seems to be working perfectly now. (The rolling feature at least) Rolled all rolls in both servers. Is there a way to test whether or not the claim function works?

@FxDvRV FxDvRV closed this as completed Jun 3, 2021
@FxDvRV
Copy link
Author

FxDvRV commented Jun 3, 2021

Ah that was a misclick on the closing >.>

@FxDvRV FxDvRV reopened this Jun 3, 2021
@vivinano
Copy link
Owner

vivinano commented Jun 3, 2021

testing claim claim for kak value is probably the easiest by setting it to like a low amount like 10 it will attempt to claim the 1st thing to pop up

@FxDvRV
Copy link
Author

FxDvRV commented Jun 3, 2021

Alright, yep it worked perfectly. Thank you both very much for spending such a large amount of time helping me out with this.

@vivinano
Copy link
Owner

vivinano commented Jun 3, 2021

It what we are here for so now if anything you can help the next person out its a cycle of helping

@FxDvRV
Copy link
Author

FxDvRV commented Jun 3, 2021

Yeah honestly thanks a lot for the persistence. It took this many back and forths
image
but you guys still stuck around, so thanks!

@FxDvRV
Copy link
Author

FxDvRV commented Jun 3, 2021

Oh, a question. What's the likelihood of being banned for using this?

@vivinano
Copy link
Owner

vivinano commented Jun 3, 2021

Haven't gotten banned for it myself and others users haven't been banned but it is a risk to take I can not answer that for you

@FxDvRV
Copy link
Author

FxDvRV commented Jun 3, 2021

How long have you been using it for? And yeah ofc i understand the risks and stuff and you're not eligible and stuffs

@vivinano
Copy link
Owner

vivinano commented Jun 3, 2021

maybe since a month or 2 before me releasing this bot publicly till now

@FxDvRV
Copy link
Author

FxDvRV commented Jun 3, 2021

Alright as long as I don't do anything stupid it'll probably be good then, again thanks for all the help I really appreciate it.

@FxDvRV FxDvRV closed this as completed Jun 3, 2021
This was referenced Jun 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants