2022-08-23 23:24:00 |
Jeremy Bícha |
bug |
|
|
added bug |
2023-04-12 03:40:05 |
Mantas Kriaučiūnas |
bug |
|
|
added subscriber Mantas Kriaučiūnas |
2023-04-12 03:40:14 |
Mantas Kriaučiūnas |
bug |
|
|
added subscriber Baltix GNU/Linux system developers |
2023-04-12 03:41:16 |
Mantas Kriaučiūnas |
summary |
Port ubiquity to libsoup3 |
Port ubiquity to libsoup3 - ubiquity crashes if gir1.2-soup-3.0 is installed in live system |
|
2023-04-12 03:46:56 |
Mantas Kriaučiūnas |
bug task added |
|
ubiquity (Baltix) |
|
2023-04-12 03:47:27 |
Mantas Kriaučiūnas |
ubiquity (Baltix): importance |
Undecided |
Critical |
|
2023-09-02 18:13:32 |
Mantas Kriaučiūnas |
ubiquity (Baltix): status |
New |
Confirmed |
|
2023-09-02 18:17:42 |
Mantas Kriaučiūnas |
description |
libsoup3 is a new major API-incompatible release of libsoup. We want to remove libsoup2.4 from main. Even if we drop ubiquity from main, we want to remove libsoup2.4 from Ubuntu completely (Fedora for instance hopes to do this by late 2023.)
Therefore, ubiquity needs to switch to the newer library.
Prerequisites
-------------
You'll need libtimezonemap 0.4.6-4 from Debian Experimental.
Update debian/control to require that version.
Update debian/control and ubiquity/frontend/gtk_ui.py to use the 4.1 API of webkit2gtk instead of 4.0. Fortunately, there are no other changes required: the 4.1 API is the same as 4.0 except we're using libsoup3.
And update debian/control to use gir1.2-soup-3.0 instead of 2.4
There's another file d-i/update-control which should have its package versions updated too.
Error
-----
libsoup is only directly used briefly in ubi-timezone.py.
Traceback (most recent call last):
File "/usr/lib/ubiquity/plugins/ubi-timezone.py", line 112, in changed
self.geoname_session = Soup.SessionAsync()
File "/usr/lib/python3/dist-packages/gi/module.py", line 123, in __getattr__
raise AttributeError("%r object has no attribute %r" % (
AttributeError: 'gi.repository.Soup' object has no attribute 'SessionAsync'
libsoup3 has dropped the SessionAsync methods. The documentation suggests that we should use GLib.MainLoop instead. Some of the examples I've seen also use dbus.mainloop.glib to help with using the glib loop.
Documentation
-------------
- https://libsoup.org/libsoup-3.0/client-basic.html
- https://libsoup.org/libsoup-3.0/migrating-from-libsoup-2.html
- https://gitlab.gnome.org/GNOME/libsoup/-/issues/218 |
libsoup3 is a new major API-incompatible release of libsoup. We want to remove libsoup2.4 from main. Even if we drop ubiquity from main, we want to remove libsoup2.4 from Ubuntu completely (Fedora for instance hopes to do this by late 2023.)
Therefore, ubiquity needs to switch to the newer library.
Prerequisites
-------------
You'll need libtimezonemap 0.4.6-4 or newer - already in Ubuntu 23.10 (Mantic).
Update debian/control to require that version.
Update debian/control and ubiquity/frontend/gtk_ui.py to use the 4.1 API of webkit2gtk instead of 4.0. Fortunately, there are no other changes required: the 4.1 API is the same as 4.0 except we're using libsoup3.
And update debian/control to use gir1.2-soup-3.0 instead of 2.4
There's another file d-i/update-control which should have its package versions updated too.
Error
-----
libsoup is only directly used briefly in ubi-timezone.py.
Traceback (most recent call last):
File "/usr/lib/ubiquity/plugins/ubi-timezone.py", line 112, in changed
self.geoname_session = Soup.SessionAsync()
File "/usr/lib/python3/dist-packages/gi/module.py", line 123, in __getattr__
raise AttributeError("%r object has no attribute %r" % (
AttributeError: 'gi.repository.Soup' object has no attribute 'SessionAsync'
libsoup3 has dropped the SessionAsync methods. The documentation suggests that we should use GLib.MainLoop instead. Some of the examples I've seen also use dbus.mainloop.glib to help with using the glib loop.
Documentation
-------------
- https://libsoup.org/libsoup-3.0/client-basic.html
- https://libsoup.org/libsoup-3.0/migrating-from-libsoup-2.html
- https://gitlab.gnome.org/GNOME/libsoup/-/issues/218 |
|
2023-09-21 09:02:31 |
Nathan Teodosio |
attachment added |
|
ubiquity-soup.diff https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/1987454/+attachment/5702597/+files/ubiquity-soup.diff |
|
2023-09-21 12:16:37 |
Ubuntu Foundations Team Bug Bot |
tags |
|
patch |
|
2023-09-21 12:16:41 |
Ubuntu Foundations Team Bug Bot |
bug |
|
|
added subscriber Ubuntu Sponsors |
2023-09-21 13:18:36 |
Jeremy Bícha |
description |
libsoup3 is a new major API-incompatible release of libsoup. We want to remove libsoup2.4 from main. Even if we drop ubiquity from main, we want to remove libsoup2.4 from Ubuntu completely (Fedora for instance hopes to do this by late 2023.)
Therefore, ubiquity needs to switch to the newer library.
Prerequisites
-------------
You'll need libtimezonemap 0.4.6-4 or newer - already in Ubuntu 23.10 (Mantic).
Update debian/control to require that version.
Update debian/control and ubiquity/frontend/gtk_ui.py to use the 4.1 API of webkit2gtk instead of 4.0. Fortunately, there are no other changes required: the 4.1 API is the same as 4.0 except we're using libsoup3.
And update debian/control to use gir1.2-soup-3.0 instead of 2.4
There's another file d-i/update-control which should have its package versions updated too.
Error
-----
libsoup is only directly used briefly in ubi-timezone.py.
Traceback (most recent call last):
File "/usr/lib/ubiquity/plugins/ubi-timezone.py", line 112, in changed
self.geoname_session = Soup.SessionAsync()
File "/usr/lib/python3/dist-packages/gi/module.py", line 123, in __getattr__
raise AttributeError("%r object has no attribute %r" % (
AttributeError: 'gi.repository.Soup' object has no attribute 'SessionAsync'
libsoup3 has dropped the SessionAsync methods. The documentation suggests that we should use GLib.MainLoop instead. Some of the examples I've seen also use dbus.mainloop.glib to help with using the glib loop.
Documentation
-------------
- https://libsoup.org/libsoup-3.0/client-basic.html
- https://libsoup.org/libsoup-3.0/migrating-from-libsoup-2.html
- https://gitlab.gnome.org/GNOME/libsoup/-/issues/218 |
libsoup3 is a new major API-incompatible release of libsoup. We want to remove libsoup2.4 from main. Even if we drop ubiquity from main, we want to remove libsoup2.4 from Ubuntu completely (Fedora for instance hopes to do this by late 2023.)
Therefore, ubiquity needs to switch to the newer library.
Prerequisites
-------------
You'll need libtimezonemap ported to libsoup3 (this was done in Debian Experimental but reverted because it was "broken")
Update debian/control to require that version.
Update debian/control and ubiquity/frontend/gtk_ui.py to use the 4.1 API of webkit2gtk instead of 4.0. Fortunately, there are no other changes required: the 4.1 API is the same as 4.0 except we're using libsoup3.
And update debian/control to use gir1.2-soup-3.0 instead of 2.4
There's another file d-i/update-control which should have its package versions updated too.
Error
-----
libsoup is only directly used briefly in ubi-timezone.py.
Traceback (most recent call last):
File "/usr/lib/ubiquity/plugins/ubi-timezone.py", line 112, in changed
self.geoname_session = Soup.SessionAsync()
File "/usr/lib/python3/dist-packages/gi/module.py", line 123, in __getattr__
raise AttributeError("%r object has no attribute %r" % (
AttributeError: 'gi.repository.Soup' object has no attribute 'SessionAsync'
libsoup3 has dropped the SessionAsync methods. The documentation suggests that we should use GLib.MainLoop instead. Some of the examples I've seen also use dbus.mainloop.glib to help with using the glib loop.
Documentation
-------------
- https://libsoup.org/libsoup-3.0/client-basic.html
- https://libsoup.org/libsoup-3.0/migrating-from-libsoup-2.html
- https://gitlab.gnome.org/GNOME/libsoup/-/issues/218 |
|
2023-09-21 13:19:48 |
Jeremy Bícha |
bug watch added |
|
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1037940 |
|
2023-09-22 18:10:02 |
Brian Murray |
removed subscriber Ubuntu Sponsors |
|
|
|
2024-04-14 13:37:29 |
Dave Jones |
merge proposal linked |
|
https://code.launchpad.net/~waveform/ubiquity/+git/ubiquity/+merge/464248 |
|
2024-04-15 01:00:31 |
Launchpad Janitor |
ubiquity (Ubuntu): status |
Triaged |
Fix Released |
|