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

Make nextion.py compatible with python3 #748

Open
DevSHIBBY opened this issue Jun 4, 2022 · 4 comments
Open

Make nextion.py compatible with python3 #748

DevSHIBBY opened this issue Jun 4, 2022 · 4 comments

Comments

@DevSHIBBY
Copy link

DevSHIBBY commented Jun 4, 2022

Hi everyone,

I'm almost done setting up MMDVM on a fresh Raspbian bullseye installation.
This distro has no support for python2 and it's impossible to get python-serial from apt-get:
Package python-serial is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or is only available from another source

E: Package 'python-serial' has no installation candidate

Could it be possible to update or create another version that fully supports python3 please?

The other issue with "print" function was easy to overcome though.

@exxecute
Copy link

u can use pyserial lib

@RandomEngineer
Copy link

Did you get this working in Python3?
I couldn't convert it from version 2 myself.

@DevSHIBBY
Copy link
Author

Hi RandomEngineer,

I finally gave up porting nextion.py to python3 due to lack of time. The reason that led me to try a recent version of MMDVMHost was frequent connection losses to the DAPNET server, but I've found a quick and dirty workaround that consists of restarting the DAPNETGateway service periodically, using crontab.
I'm still interested in a python3 version of nextion.py though.

@DevSHIBBY
Copy link
Author

Maybe this could help: https://pypi.org/project/GPS-clock/
Search for nextion.py on that page.

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