Can't use glade2script on 20.04 (glade2script-python3 error)

Bug #1865378 reported by Jānis Kangarooo
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Boot-Info
Fix Released
Wishlist
Unassigned
Boot-Repair
Fix Released
Wishlist
Unassigned
glade2script
Fix Released
High
Unassigned

Bug Description

Trying to run boot-repair (or boot-info) in 20.04 daily, I get error:

VirtualBox:~$ boot-repair
Traceback (most recent call last):
  File "/usr/bin/glade2script-python3", line 49, in <module>
    from ConfigParser import ConfigParser
ModuleNotFoundError: No module named 'ConfigParser'

********************* INFORMATION FROM DEVS****************
This is due to the fact that glade2script uses Python2, which has been removed from 20.04.
So now we need to upgrade /usr/bin/glade2script to Python3... which may take weeks/months. Hopefully someone can help.

Meanwhile, you can still use latest version of Boot-Repair PPA from a 18.04 or 19.10 live session, or from a Boot-Repair-Disk. Even if 20.04 is installed on your computer.

Revision history for this message
Jānis Kangarooo (kangarooo) wrote :
YannUbuntu (yannubuntu)
summary: - Cant install glade2script on 20.04
+ Can't use glade2script on 20.04
description: updated
Changed in glade2script:
status: New → Triaged
importance: Undecided → Wishlist
YannUbuntu (yannubuntu)
Changed in boot-info:
status: New → Triaged
Changed in boot-repair:
status: New → Triaged
Changed in boot-info:
importance: Undecided → Wishlist
Changed in boot-repair:
importance: Undecided → Wishlist
summary: - Can't use glade2script on 20.04
+ Can't use glade2script on 20.04 (glade2script-python3 error)
Revision history for this message
YannUbuntu (yannubuntu) wrote :

Fixed on 4ppa74, by using Python2 from Universe.

summary: - Can't use glade2script on 20.04 (glade2script-python3 error)
+ Can't use glade2script-python3
Changed in glade2script:
importance: Wishlist → High
summary: - Can't use glade2script-python3
+ Can't use glade2script on 20.04 (glade2script-python3 error)
Changed in glade2script:
status: Triaged → Fix Committed
Changed in boot-repair:
status: Triaged → Fix Committed
Changed in boot-info:
status: Triaged → Fix Committed
Revision history for this message
Mantas Kriaučiūnas (mantas) wrote :

It would be nice to port glade2script to python3 instead of using old, not supported python2
Currently I can't include boot-repair into new Baltix GNU/Linux 20.04 operating system, because this is only software, which uses old python2

Revision history for this message
YannUbuntu (yannubuntu) wrote :

hi Mantas, I need help to port it to Python3, see https://blueprints.launchpad.net/glade2script/+spec/g2s-python3

Revision history for this message
Marius Gedminas (mgedmin) wrote :

I'm willing to help with the Python 3 port. Where can I find the git repository with the latest source code please?

Revision history for this message
YannUbuntu (yannubuntu) wrote :

hi Marius, thx for that. There is no git. The latest source code is available at https://launchpad.net/~yannubuntu/+archive/ubuntu/boot-repair/+packages . I also added some advice at https://blueprints.launchpad.net/glade2script/+spec/g2s-python3

Revision history for this message
YannUbuntu (yannubuntu) wrote :

FYI, Glade2script has been ported to Python3 ( glade2script-3.2.4~ppa23 ), so no need for Universe workaround any more.

Changed in glade2script:
status: Fix Committed → Fix Released
Changed in boot-repair:
status: Fix Committed → Fix Released
Changed in boot-info:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related blueprints

Remote bug watches

Bug watches keep track of this bug in other bug trackers.