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

Help #3

Open
Haglerd opened this issue Aug 22, 2021 · 6 comments
Open

Help #3

Haglerd opened this issue Aug 22, 2021 · 6 comments

Comments

@Haglerd
Copy link

Haglerd commented Aug 22, 2021

I'm lost. I been trying to figure this out for weeks. How the heck do I get it to run lesson mode. I tried just commenting out the flag in the code to make it set lessons to true, but then it errored out. I think it might be a bug on the lessons because it would open the lessons, but not start the lesson. I looked at all the documentation, but none of it helps. I tried the "usage" command, but it gets me no where. No matter where I type it in. I'm on windows 10.
`
Python 3.9.6
Type "help", "copyright", "credits" or "license" for more information.

$ python auto-lingo.py
File "", line 1
$ python auto-lingo.py
^
SyntaxError: invalid syntax

`

I'd just like to complete some of the lessons. So that I can get more stories :)!

@Kubvv
Copy link
Contributor

Kubvv commented Aug 24, 2021

Hello,
What exactly happens after you launch the bot in learn mode? Does it click on the skill it wants to complete (after which you should see a menu with 2 buttons - practice and tips) and then stops or it just stops right after it logins in? If it is the former, then it's probably caused by the fact that duolingo recently changed the html tag of some elements from to , which causes the crash. We will be fixing that soon. Also if there are any crash reports in the terminal you can send it here so we can look into it. If you want us to recreate the bug you can also mention which course are you taking, since majority of tests are performed on spanish and german courses. Note that the learn bot does not work properly if you are learining a language using a non english language (learnig spanish from english is fine for example, but spanish from portuguese not so much).

@Haglerd
Copy link
Author

Haglerd commented Aug 24, 2021

Well, I haven’t been able to successfully launch the bot in learn mode from windows. That the problem. I’m not sure what command to run and how.

If I edit the code to set the learn flag to true by default instead of stories. Then run it by double clicking the main file it will open and do as you said. It gets to the pop up and then just sits there. It never clicks practice to start the lesson. I guess I’ll wait until the changes and then give it another shot at that point. Once I get some time I’ll try and Google how to run the python commands on windows because, I’m not sure why it isn’t running for me. I’m pretty positive I’ve ran them before with no problems.

drknzz pushed a commit that referenced this issue Aug 31, 2021
feat(settings): added deviation setting
@Haglerd
Copy link
Author

Haglerd commented Dec 26, 2021

Isn’t that just the regular run command? How does that help?

Repository owner deleted a comment from EKHH Dec 26, 2021
@Krymancer
Copy link
Contributor

I think you runned python then tried in the python PLI, you have toi type the command in your system consonle, in your case i think its windows so try open cmd go to the repository folder then run python auto-lingo.py rebember that you also need the chromedriver

@Dummydud3
Copy link

if your running it from cmd.exe use py python auto-lingo.py

@ArthurFFGuedes
Copy link

I'm not able to run the command as well, I have chromedriver and everything

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

5 participants