Page 1 of 1

porteus settings centre broken? (solved)

Posted: 24 Mar 2024, 14:18
by cuttyshark
Hi, I recently installed porteus 5.01 on usb stick. Works very good and fast, thanks.
The only thing I did was create some modules and placed them in the modules directory, they are activated and work fine.
But in a way I broke the porteus settings centre I think, it doesn't start and when I start it from the command line I get this error:


porteus-settings-centre
Traceback (most recent call last):
File "/usr/bin/porteus-settings-centre", line 7, in <module>
import gi
ImportError: No module named gi

however if I boot with the entry: 'always fresh' the porteus setting centre works as it should.
Any solution for this?

porteus settings centre broken?

Posted: 24 Mar 2024, 15:43
by i3slkiller
:hi:

Hmm, it looks like a /usr/bin/python symlink leading to python3 is replaced by some module with symlink leading to python2 executable? :hmmm:

Do this (as root):

Code: Select all

ln -sf python3 /usr/bin/python

porteus settings centre broken?

Posted: 24 Mar 2024, 15:52
by Blaze
Hi cuttyshark,
I don't have this issue
Image

porteus settings centre broken?

Posted: 24 Mar 2024, 16:34
by Ed_P
Blaze wrote:
24 Mar 2024, 15:52
I don't have this issue
Nor I.
Image

porteus settings centre broken? (solved)

Posted: 24 Mar 2024, 21:12
by cuttyshark
Thanks i3slkiller, that was the solution, tested after that all the modules I installed and they still all work fine :good: