RedditVideoMakerBot icon indicating copy to clipboard operation
RedditVideoMakerBot copied to clipboard

I can't start the app

Open pontushenriksson opened this issue 4 years ago • 15 comments

I have everything updated, I downloaded everything from the requirements.txt and entered the Reddit info. I then restarted my PC but it still won't work. I have rich installed from requirements.txt but it says that it can't find a module named rich. How can I fix this? https://pasteboard.co/WAEiXmGjYKLH.png

pontushenriksson avatar Jun 04 '22 00:06 pontushenriksson

This happened to me when I was using Python 3.10, I solved it by using 3.8 (with PyCharm).

domizianooo avatar Jun 04 '22 00:06 domizianooo

ok I will try that out, thanks!

pontushenriksson avatar Jun 04 '22 00:06 pontushenriksson

I tried out pycharm with python 3.8 but that did unfortunately not fix the problem.

pontushenriksson avatar Jun 04 '22 01:06 pontushenriksson

same problem ill look into it, code is clear might be something with the paths

penacova44 avatar Jun 04 '22 05:06 penacova44

ok, thank you!

pontushenriksson avatar Jun 04 '22 11:06 pontushenriksson

Or if you don't want to set up PyCharm you can run the command pip install rich in any terminal. Just make sure that the directory is the right one.

LukaHietala avatar Jun 05 '22 20:06 LukaHietala

Or if you don't want to set up PyCharm you can run the command pip install rich in any terminal. Just make sure that the directory is the right one.

When I tried that it just said "Requirement already satisfied" on every field.

pontushenriksson avatar Jun 05 '22 21:06 pontushenriksson

I fixed that problem by using "python main.py" instead of "python3 main.py". Now I have this bug, it's probably because I have the wrong info in the .env file. What info do I enter and how should it look. https://pasteboard.co/u55un8kNkM4Q.png

pontushenriksson avatar Jun 06 '22 01:06 pontushenriksson

I fixed that problem by using "python main.py" instead of "python3 main.py". Now I have this bug, it's probably because I have the wrong info in the .env file. What info do I enter and how should it look. https://pasteboard.co/u55un8kNkM4Q.png

In the THEME you should put "light" or "dark" In the SUBREDDIT you should only put the last part (e.g. askReddit for r/askReddit)

Anyway, I think you have the old version, make sure to get the latest version of the app.

domizianooo avatar Jun 06 '22 12:06 domizianooo

this is perhaps due to the module not in the same path with the main.py, thus the script is not able to access it. This is not a program bug.

iaacornus avatar Jun 06 '22 12:06 iaacornus

this is perhaps due to the module not in the same path with the main.py, thus the script is not able to access it. This is not a program bug.

I did download the rich module in the root directory and that doesn't seem to be the issue unless I use the python3 main.py command.

Anyway, I think you have the old version, make sure to get the latest version of the app.

I have now updated to the newer version but I still can't start the app.

I tried many different ways to enter the subreddit and username but that didn't change the outcome.

updated

pontushenriksson avatar Jun 11 '22 15:06 pontushenriksson

praw exceptions suggest that you got a problem with either your .env file or the reddit bot you created.

iaacornus avatar Jun 12 '22 07:06 iaacornus

this is perhaps due to the module not in the same path with the main.py, thus the script is not able to access it. This is not a program bug.

I did download the rich module in the root directory and that doesn't seem to be the issue unless I use the python3 main.py command.

Anyway, I think you have the old version, make sure to get the latest version of the app.

I have now updated to the newer version but I still can't start the app.

I tried many different ways to enter the subreddit and username but that didn't change the outcome.

updated

You shouldn't have the r/ in the subreddit name

JasonLovesDoggo avatar Jun 12 '22 18:06 JasonLovesDoggo

You shouldn't have the r/ in the subreddit name

I did in fact try with r/, without the r/ and with the full link and I still got the exact same error

pontushenriksson avatar Jun 14 '22 14:06 pontushenriksson

Problem sorted in the discord server. Wrong password for the account

pontushenriksson avatar Jun 16 '22 00:06 pontushenriksson