LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 05-24-2022, 09:26 AM   #1
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,215

Rep: Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849
Installed guefi, it fails to run, 'No module named gi' load error.


I'm a compelte noob when it comes to anything python.

I wanted to try and use efibootmgr with a gui, and found the guefi package on SBo. Installed without any problems.

For the record, this is Slackware 15.0 64 bit fully updated.

I checked the pre-req's and I seem to have the requirements, as stated on the github page. They are:

Code:
A GNU/Linux PC running a UEFI firmware
Python >= 3.9
GTK+3 >= 3.24.x
efibootmgr 17
I did some duckduckgoing, and come across lots of things to try, so many I don't know where to start. The advise seems to vary from distro to distro.

Could some one give me some advice on what makes sense on Python on Slackware 15.0 please? I don't want to just try anything I find that amy have worked on another distro.

This is the output I get on Slackware.

Code:
root@duelie:~# guefi
Traceback (most recent call last):
  File "/usr/sbin/guefi", line 6, in <module>
    import gi
ImportError: No module named gi
Thanks in advance.
 
Old 05-24-2022, 09:55 AM   #2
pghvlaans
Member
 
Registered: Jan 2021
Distribution: Slackware64 {15.0,-current}, FreeBSD, stuff on QEMU
Posts: 451

Rep: Reputation: 363Reputation: 363Reputation: 363Reputation: 363
It looks like version 0.1.3 is incompatible, but 0.2.0 just came out a few days ago, and it seems to work.

The upgraded package is already in the SBo ready queue, but if you don't want to wait, you could also sed all the 0.1.3 to 0.2.0, download the tarball and install that way.
 
2 members found this post helpful.
Old 05-24-2022, 10:30 AM   #3
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,215

Original Poster
Rep: Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849
Thank-you for your quick response. I will have to wait for 0.2.0 to appear on SBo, I have no idea on how to 'sed 0.1.3 to 0.2.0'.
 
Old 05-24-2022, 10:33 AM   #4
pghvlaans
Member
 
Registered: Jan 2021
Distribution: Slackware64 {15.0,-current}, FreeBSD, stuff on QEMU
Posts: 451

Rep: Reputation: 363Reputation: 363Reputation: 363Reputation: 363
Go to the dedicated directory with the SlackBuild's files, and run
Code:
sed -i 's|0.1.3|0.2.0|g' *
 
2 members found this post helpful.
Old 05-24-2022, 01:32 PM   #5
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,215

Original Poster
Rep: Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849
Thank-you for your input. The sed command worked. I was able to build version 0.2.0 and have upgraded the installed package.

So, my reported problem is solved.

Now, for more fun, I have 3 HD's in my system. If I run guefi on sda, it works. If I run it on my nvme drive, it starts up, and reports my efi partition is not mounted, and aborts. I will have to open another thread, and see if there is some way to run this gui front end on a multi drive system.

I did look at the help for efibootmgr, and saw the default is sda. I suspect there needs to be a way to tell guefi on start up to run on another disk.
 
  


Reply

Tags
guefi, python



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
rt61pci kernel module fails to load in -current "Invalid module format" Interject Slackware 6 03-20-2010 01:48 AM
(bind) named: couldn't open pid file '/var/run/named/named.pid' - any help? samengr Linux - Server 6 04-01-2009 06:22 AM
file /var/lib/named/var/named/reverse/named.zero failed: file not found Toadman Linux - Software 15 03-18-2009 07:01 PM
"ImportError: No module named gobject", Exaile fails to run. Python problem. kummiliim Linux - Software 1 12-11-2008 01:12 PM
chown -R named:named /var/named crash the system? joangopan Fedora 2 09-09-2007 02:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:08 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration