-
Notifications
You must be signed in to change notification settings - Fork 23
Raspberry pi problems #49
Comments
Hi, I am not sure if the library I am using for automatic download takes ARM arch into account.
It should work |
Wow that was a fast answer. Ok nevermind. Found the place where I need to change it in the main.py.
Installed chromium: |
Update: Selenium realy doesn't like to be run as root so running it with the pi user works! There is only a slight problem left. When running it in headless mode, the login fails Running it with the browser visible does work. |
I'm glad you got it working. Just a note, the bot is completely untested on raspi/ARM and you are probably the first one to try. EDIT: If you save two screenshots they need to have different names |
Running farmer inside Raspberry Pi gave my quite a headache. I settled to running it in docker-composed config, where browser and farmer run in separate containers. Check my fork if you are interesed. |
Thanks, I will try that. I see that you added the 'remote' option as browser. Should I use this? And I guess you did test it with firefox right? |
Unfortunately not :( By the way if you manage to install docker on your device I extended README.md with detailed instructions. |
Added link to your repo to Readme. Thanks for solving that! |
No problem :) Glad I could help. Thank you for creating farmer for us, lazy people :) |
@kacperkr90 Never mind, got it. But I have another error. This is my log: https://i.imgur.com/gsodtHC.png strange thing is, that everything after the "INFO next check" was posted at 18:13. But the next check should have been on 18:06. Any Ideas to that error? EDIT: Could be because my RAM and SWP was full. EDIT2: I still have some errors. I got it to work for a few hours and now it started to throw errors. Here is my log: https://pastebin.com/raw/snyRAJqp |
Hey, I enabled issues on my fork, so if you have any other problems you can create discussion there :) Anyway, I see that you are using the old version of the code. Yesterday I reverted changes related to switching to Twitch provider (Now I see that OVERRIDES are easier and simpler solution). To update composed config do the following:
EDIT: I'll remove printing password in log, it was done for debugging purposes.
|
I get this error when trying to start the script:
Running on Raspbian Bullseye with Python 3.10
The text was updated successfully, but these errors were encountered: