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

running ./app.py after clean install displays an error #96

Open
surfac3 opened this issue Apr 16, 2024 · 5 comments
Open

running ./app.py after clean install displays an error #96

surfac3 opened this issue Apr 16, 2024 · 5 comments

Comments

@surfac3
Copy link
Contributor

surfac3 commented Apr 16, 2024

When ATM is setup and ./app.py is run for the first time after config.ini is setup, the console returns:
telegram-cloud-photo-size-4-5832649915812135563-y

Display test runs with positive results. I am running waveshare2in13v3 display

Steps to reproduce
a) clean SD image etched
b) go trough update and upgrade
c) runn ./app.py to setup config.ini
d) setup config.ini
e) run ./app.py once more and it wont run

I am not sure why console displays blink error.

@surfac3 surfac3 changed the title running ./app.py after clean install display an error running ./app.py after clean install displays an error Apr 16, 2024
@surfac3
Copy link
Contributor Author

surfac3 commented Apr 16, 2024

Could it be somehow connected to this?

telegram-cloud-photo-size-4-5832649915812135573-y

its the output of sudo apt update && sudo apt upgrade

@openoms
Copy link
Contributor

openoms commented Apr 16, 2024

that update error is because of the ancient image.
Python needs to be min 3.6 for that printf line to work.

Check your:

python --version

I recommend using a new image based on Debian Bullseye or Buster at least.

@surfac3
Copy link
Contributor Author

surfac3 commented Apr 16, 2024

Right that very well may be...however i was able to find a workaround and that was using this:
https://github.com/AxelHamburch/LightningATM/blob/doc_lnbits_funding/docs/guide/we_need_your_help.md

Which is when lnbits was just implemented and this worked for me and ATM is functional

It seems to me that the steps in installation described in the master Readme arent leading to fuctioning ATM.

@AxelHamburch
Copy link
Contributor

This branch is obsolete. The Blink wallet came after the implementation of the LNbits wallet. I would only use the current version.
Screenshot_20240416-172510_Chrome

@surfac3
Copy link
Contributor Author

surfac3 commented Apr 17, 2024

Yes it is obselete. However it works with the old image which is described in the readme to use when setting up. So either there needs to be a new image tested and change the readme to the new image or the instructions need to change to lets say this older PR which works with the old image - sadly this would negate the Blink implementation so id think its easier to use the new image. I can test out the new image when i will build new ATM

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