Open evanh1122 opened 3 years ago
I'm seeing the same behavior on a rpi3b+ Using python3.8 as required. Seems like a platform-specific issue with scrypt
There are a ton of issues with rpi, and a few people working on fixing them. In theory, it should just work, but it doesn't. I would advise not using them for now, or set it up somewhere else while you troubleshoot.
if you issue sudo dmesg
[10532.145334] Out of memory: Killed process 25209 (python3) total-vm:1091068kB, anon-rss:506912kB, file-rss:16kB, shmem-rss:0kB, UID:1000 pgtables:526kB oom_score_adj:0
looks like there isn't enough memory to spawn this process. anyone more familiar with raspberry pi can chime in on how to get past this memory limitation?
UPDATE after increasing swap file size to 2gb: https://pimylifeup.com/raspberry-pi-swap-file/
pi@raspberrypi:~ $ cat /proc/swaps Filename Type Size Used Priority /var/swap file 2097148 1021440 -2
the bot is working on raspberry pi. It is extremely slow to startup since it has to use the slow microsd swap file but other than that once it started it appears to be working just fine
@TaiPhamD This worked for me on a Pi 3B+. This probably means the pi 4 with more RAM out of box should not have this error.
I was running into the same issue. Increased the swapfile size and now instead of the "killed" message it just stays hung up and freezes. Followed the steps that OP did. Raspberry Pi 3B+ with fresh raspbian lite install (tried this whole process about 4-5 times now.) Works fine on OSX so I'm not sure what's broken here.
Describe the bug I tried installing the bot on Raspbian today, and when running it for the first time, it created a new credential file. However, after adding a password to the credential file, it says "Killed" and then stops the operation. I've never tried older versions on Raspbian so I'm unsure if this is a bug or my own issue.
To Reproduce Steps to reproduce the behavior:
Expected behavior I've tried this new update on Windows and it works perfectly fine. After entering the password for the new credential file, it says "Credentials safely stored," and continues to amazon.com and everything works perfectly fine.
Screenshots https://imgur.com/a/gWUKtlm
Desktop (please complete the following information):
Additional context I've followed all the steps on listed on github for Raspberry Pi as well as this document: https://docs.google.com/document/d/1VUxXhATZ8sZOJxdh3AIY6OGqwLRmrAcPikKZAwphIE8/edit