question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Optimus manager crashes when system upgrades to python 3.9

See original GitHub issue

After system upgrade, on Arch optimus manager crashes, so any GUI is not working. I needed to reinstall optimus-manager to get it working again. Its becouse Arch upgraded to python 3.9 and optimus manager doesnt know it, and looks at 3.8 libraries.

Im sharing this becouse there can by other issues with this problem, when only whots needed is reintall. Maybe push a update to avoid that? Also journalctl -xe, or dmesg didnt show anything related to this. a bit strange. But the status of services says the problem.

journalctl -u optimus-manager -xe:

gru 02 21:38:27 ArchSzybet python3[855]: /usr/bin/python3: Error while finding module specification for 'optimus_manager.hooks.post_da> gru 02 21:38:27 ArchSzybet systemd[1]: optimus-manager.service: Control process exited, code=exited, status=1/FAILURE ░░ Subject: Proces jednostki zakończył działanie ░░ Defined-By: systemd ░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel ░░ ░░ Proces ExecStopPost= należący do jednostki optimus-manager.service zakończył działanie. ░░ ░░ Kod wyjścia procesu: „exited”, jego stan wyjścia: 1.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:30 (8 by maintainers)

github_iconTop GitHub Comments

10reactions
rharish101commented, Dec 2, 2020

Please rebuild the package from the AUR. It will then use Python 3.9 instead of Python 3.8. I faced this same error, and rebuilding the package fixed it.

Credits: LIN_X42’s comment on the AUR page for optimus-manager.

3reactions
kevindirectcommented, Dec 3, 2020

I had to chroot into my system, disable lightdm, and update the system to be able to get xorg working properly. Once I could log into a graphical session, I reinstalled optimus manager, cleaned up stale system config files (optimus-manager --clean) and then enabled lightdm again. This worked for me.

Read more comments on GitHub >

github_iconTop Results From Across the Web

[Testing Update] 2020-12-07 - BREAKAGE EXPECTED
Hello community, Another testing branch update with some usual updates for ... Optimus manager crashes when system upgrades to python 3.9.
Read more >
Don't forget to recompile optimus-manager AUR after ...
The solutions to these: Rebuild the AUR package. Update your system fully. The other reasons The other, less frequent reasons, are The package ......
Read more >
Anyone else suddenly getting 200+ packages to update?
I did a system update yesterday, rebooted, and my system was stuck on a flashing black screen when trying to boot into EndeavourOS....
Read more >
[SOLVED] LightDM - started showing blackscreen after update
I suspect it was caused by the nvidia driver update but I wasn't able ... to the python 3.9 upgrade you need to...
Read more >
Bug listing with status RESOLVED with resolution TEST ...
... "Packet CD writing with the gaming-sources kernel freezes the whole system. ... Bug:47597 - "Upgrading python-2.2 to python-2.3 breaks portage" ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found