Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: run ubuntu-bug when error page is shown #770

Draft
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

d-loose
Copy link
Member

@d-loose d-loose commented Jun 14, 2024

There are some issues with the classic snap environment when trying to run ubuntu-bug:

ubuntu@ubuntu:~$ snap run --shell ubuntu-desktop-bootstrap
ubuntu@ubuntu:~$ ubuntu-bug ubuntu-desktop-bootstrap
Cannot start: /lib/x86_64-linux-gnu/libgirepository-1.0.so.1: undefined symbol: g_once_init_leave_pointer

After adding libgirepository-1.0.so.1 to the stage-packages I get the following instead:

ubuntu@ubuntu:~$ snap run --shell ubuntu-desktop-bootstrap
ubuntu@ubuntu:~$ ubuntu-bug ubuntu-desktop-bootstrap
Cannot start: /usr/lib/python3/dist-packages/gi/_gi.cpython-312-x86_64-linux-gnu.so: undefined symbol: g_assertion_message_cmpint

I’ve tried staging python3-gi as well, but couldn’t resolve it yet.

Not sure how deep that rabbit hole goes.

UDENG-3172

@@ -14,6 +14,7 @@ class LocalePage extends ConsumerWidget with ProvisioningPage {
Future<bool> load(BuildContext context, WidgetRef ref) async {
final model = ref.read(localeModelProvider);
await model.init();
throw Exception('Test Error');
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For testing purposes this exception is thrown when the language selection page is loaded.

@d-loose d-loose force-pushed the error-page-apport branch from 614edb9 to 230a4f8 Compare June 18, 2024 15:39
@d-loose d-loose force-pushed the error-page-apport branch 2 times, most recently from 1215fe5 to 1fd0a73 Compare June 19, 2024 10:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant