Giter VIP home page Giter VIP logo

Comments (4)

Pack3tL0ss avatar Pack3tL0ss commented on June 16, 2024

Yes Buster is supported. but I did notice something in the Feb Buster Update broke the menu/python deps. On new installs now it install libffi-dev which fixed the issue on new image builds. It might need to be added for all / including Pis that are just upgrading.

Try sudo apt install libffi-dev, then re-try consolepi-upgrade. I won't be back in a place where I can test further till early next week.

from consolepi.

nintox avatar nintox commented on June 16, 2024

It did not work, still errors:
Tried on 2 pies so far.

Launching ConsolePi Serial Console Menu
Could not find platform independent libraries <prefix>
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
Fatal Python error: Py_Initialize: Unable to get the locale encoding
ImportError: No module named 'encodings'

Current thread 0x76f3d500 (most recent call first):
/etc/ConsolePi/src/consolepi-commands/consolepi-menu: linje 18:  8172 Avbrutt (SIGABRT)       sudo /etc/ConsolePi/src/consolepi-menu.py "${@}"
feb. 17 09:02:03 [INFO][Collect Pi Info] Raspberry Pi 3 Model B+ hw rev 1.3 1 GB (Mfg by Sony)
feb. 17 09:02:03 [INFO][Collect Pi Info] Raspbian 10.3 (Buster) running on BCM2835 Revision: a020d3
feb. 17 09:02:03 [INFO][Collect Pi Info] Linux lab-cp 4.19.102-v7+ #1295 SMP Thu Feb 6 15:43:59 GMT 2020 armv7l GNU/Linux
feb. 17 09:02:04 [INFO][Collect Pi Info] Raspbian with Desktop
feb. 17 09:02:04 [INFO][Collect Pi Info] Python 3 Version Python 3.7.3
feb. 17 09:02:04 [INFO][Update/Upgrade ConsolePi (apt)] Update Sources
feb. 17 09:02:04 [INFO][Update/Upgrade ConsolePi (apt)] Skipping Source Update - Already Updated today
feb. 17 09:02:04 [INFO][Update/Upgrade ConsolePi (apt)] Upgrading ConsolePi via apt. This may take a while
feb. 17 09:02:06 [INFO][Update/Upgrade ConsolePi (apt)] Upgrade Successful
feb. 17 09:02:06 [INFO][Update/Upgrade ConsolePi (apt)] Performing dist-upgrade
feb. 17 09:02:09 [INFO][Update/Upgrade ConsolePi (apt)] dist-upgrade Successful
feb. 17 09:02:09 [INFO][Update/Upgrade ConsolePi (apt)] Tidying up (autoremove)
feb. 17 09:02:11 [INFO][Update/Upgrade ConsolePi (apt)] Everything is tidy now
feb. 17 09:02:11 [INFO][Update/Upgrade ConsolePi (apt)] Installing git via apt
feb. 17 09:02:14 [INFO][Update/Upgrade ConsolePi (apt)] git install/upgraded Successful
feb. 17 09:02:14 [INFO][Update/Upgrade ConsolePi (apt)] Process Complete
feb. 17 09:02:14 [INFO][ConsolePi-Upgrade-Prep (create consolepi group)] all good pi user already belongs to consolepi group
feb. 17 09:02:14 [INFO][ConsolePi-Upgrade-Prep (check cache owned by consolepi group)] Cloud Cache ownership already OK
feb. 17 09:02:14 [INFO][ConsolePi-Upgrade-Prep (check group perms on ConsolePi dir)] ConsolePi dir group already OK
feb. 17 09:02:14 [INFO][git Clone/Update ConsolePi] Directory exists Updating ConsolePi via git
feb. 17 09:02:15 [INFO][git Clone/Update ConsolePi] ConsolePi update/pull Success
feb. 17 09:02:15 [INFO][Prepare/Check Python venv] Prepare/Check Python venv - Starting
feb. 17 09:02:15 [INFO][Prepare/Check Python venv] /etc/ConsolePi/venv directory already exists
feb. 17 09:02:15 [INFO][Prepare/Check Python venv] Upgrade pip
/tmp/ConsolePi: linje 176:  8103 Avbrutt (SIGABRT)       sudo ${consolepi_dir}venv/bin/python3 -m pip install --upgrade pip > /dev/null 2>> $log_file
feb. 17 09:02:15 [WARNING][Prepare/Check Python venv] WARNING - pip upgrade returned error
feb. 17 09:02:15 [INFO][Prepare/Check Python venv] pip install/upgrade ConsolePi requirements - This can take some time.
/tmp/ConsolePi: linje 176:  8118 Avbrutt (SIGABRT)       sudo ${consolepi_dir}venv/bin/python3 -m pip install --upgrade -r ${consolepi_dir}installer/${req_file} > /dev/null 2>> $log_file
feb. 17 09:02:15 [ERROR][Prepare/Check Python venv] Error - pip install/upgrade ConsolePi requirements
feb. 17 09:02:15 [ERROR][Prepare/Check Python venv] Last Error is fatal, script exiting Please review log /var/log/ConsolePi/install.log
feb. 17 09:02:03 [INFO][Collect Pi Info] Raspberry Pi 3 Model B+ hw rev 1.3 1 GB (Mfg by Sony)
feb. 17 09:02:03 [INFO][Collect Pi Info] Raspbian 10.3 (Buster) running on BCM2835 Revision: a020d3
feb. 17 09:02:03 [INFO][Collect Pi Info] Linux lab-cp 4.19.102-v7+ #1295 SMP Thu Feb 6 15:43:59 GMT 2020 armv7l GNU/Linux
feb. 17 09:02:04 [INFO][Collect Pi Info] Raspbian with Desktop
feb. 17 09:02:04 [INFO][Collect Pi Info] Python 3 Version Python 3.7.3
feb. 17 09:02:04 [INFO][Update/Upgrade ConsolePi (apt)] Update Sources
feb. 17 09:02:04 [INFO][Update/Upgrade ConsolePi (apt)] Skipping Source Update - Already Updated today
feb. 17 09:02:04 [INFO][Update/Upgrade ConsolePi (apt)] Upgrading ConsolePi via apt. This may take a while
feb. 17 09:02:06 [INFO][Update/Upgrade ConsolePi (apt)] Upgrade Successful
feb. 17 09:02:06 [INFO][Update/Upgrade ConsolePi (apt)] Performing dist-upgrade
feb. 17 09:02:09 [INFO][Update/Upgrade ConsolePi (apt)] dist-upgrade Successful
feb. 17 09:02:09 [INFO][Update/Upgrade ConsolePi (apt)] Tidying up (autoremove)
feb. 17 09:02:11 [INFO][Update/Upgrade ConsolePi (apt)] Everything is tidy now
feb. 17 09:02:11 [INFO][Update/Upgrade ConsolePi (apt)] Installing git via apt
feb. 17 09:02:14 [INFO][Update/Upgrade ConsolePi (apt)] git install/upgraded Successful
feb. 17 09:02:14 [INFO][Update/Upgrade ConsolePi (apt)] Process Complete
feb. 17 09:02:14 [INFO][ConsolePi-Upgrade-Prep (create consolepi group)] all good pi user already belongs to consolepi group
feb. 17 09:02:14 [INFO][ConsolePi-Upgrade-Prep (check cache owned by consolepi group)] Cloud Cache ownership already OK
feb. 17 09:02:14 [INFO][ConsolePi-Upgrade-Prep (check group perms on ConsolePi dir)] ConsolePi dir group already OK
feb. 17 09:02:14 [INFO][git Clone/Update ConsolePi] Directory exists Updating ConsolePi via git
feb. 17 09:02:15 [INFO][git Clone/Update ConsolePi] ConsolePi update/pull Success
feb. 17 09:02:15 [INFO][Prepare/Check Python venv] Prepare/Check Python venv - Starting
feb. 17 09:02:15 [INFO][Prepare/Check Python venv] /etc/ConsolePi/venv directory already exists
feb. 17 09:02:15 [INFO][Prepare/Check Python venv] Upgrade pip
Could not find platform independent libraries <prefix>
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
Fatal Python error: Py_Initialize: Unable to get the locale encoding
ImportError: No module named 'encodings'

Current thread 0x76f48500 (most recent call first):
feb. 17 09:02:15 [WARNING][Prepare/Check Python venv] WARNING - pip upgrade returned error
feb. 17 09:02:15 [INFO][Prepare/Check Python venv] pip install/upgrade ConsolePi requirements - This can take some time.
Could not find platform independent libraries <prefix>
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
Fatal Python error: Py_Initialize: Unable to get the locale encoding
ImportError: No module named 'encodings'

Current thread 0x76fe9500 (most recent call first):
feb. 17 09:02:15 [ERROR][Prepare/Check Python venv] Error - pip install/upgrade ConsolePi requirements

from consolepi.

Pack3tL0ss avatar Pack3tL0ss commented on June 16, 2024

I haven't been able to reproduce this yet, but I believe there is an issue...

I think the change in the Feb release is going to require the venv be re-created for upgrades:

sudo mv /etc/ConsolePi/venv ~/venv-bak
Then run ```consolepi-upgrade``` and it should re-create the venv from scratch

That would stash the existing python environment you could also just del the venv dir. Then consolepi-upgrade will re-create it.

Also there is a simplified backup menu consolepi-menu sh Clustering was disabled in that menu, it just shows what's connected directly and gives options to connect to those. Just so you're aware you can use that in a pinch if the menu fails for any reason.

from consolepi.

nintox avatar nintox commented on June 16, 2024

superb dude, that worked!
Thanks alot.

from consolepi.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.