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

UI not updating for OBS install #1347

Closed
matthew-hagemann opened this issue Aug 24, 2023 · 1 comment
Closed

UI not updating for OBS install #1347

matthew-hagemann opened this issue Aug 24, 2023 · 1 comment
Labels
bug jira Sync with JIRA

Comments

@matthew-hagemann
Copy link
Collaborator

I tried to install OBS Studio and ran into problems with the app reflecting the current state of the installation.

It never updated past the install button being green. If I click it nothing happens. However, OBS did in fact install in the background. Clicking the button yielded a few errors:

Clicking install while it was actually installing in the background:

[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: SnapdException(kind: snap-change-conflict, message: snap "obs-studio" has "install-snap" change in progress)
#0      _SnapdErrorResponse.result (package:snapd/src/snapd_client.dart:1164)
#1      SnapdClient._postAsync (package:snapd/src/snapd_client.dart:1564)
<asynchronous suspension>
#2      SnapdClient.install (package:snapd/src/snapd_client.dart:1442)
<asynchronous suspension>
#3      SnapModel._snapAction (package:app_store/src/snapd/snap_model.dart:138)
<asynchronous suspension>
[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: SnapdException(kind: auth-cancelled, message: cancelled)
#0      _SnapdErrorResponse.result (package:snapd/src/snapd_client.dart:1164)
#1      SnapdClient._postAsync (package:snapd/src/snapd_client.dart:1564)
<asynchronous suspension>
#2      SnapdClient.remove (package:snapd/src/snapd_client.dart:1469)
<asynchronous suspension>
#3      SnapModel._snapAction (package:app_store/src/snapd/snap_model.dart:138)
<asynchronous suspension>

Clicking install now that it is installed yields:


[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: SnapdException(kind: snap-already-installed, message: snap "obs-studio" is already installed)
#0      _SnapdErrorResponse.result (package:snapd/src/snapd_client.dart:1164)
#1      SnapdClient._postAsync (package:snapd/src/snapd_client.dart:1564)
<asynchronous suspension>
#2      SnapdClient.install (package:snapd/src/snapd_client.dart:1442)
<asynchronous suspension>
#3      SnapModel._snapAction (package:app_store/src/snapd/snap_model.dart:138)
<asynchronous suspension>

Closing and opening the store now gives me the option to open/uninstall OBS.

@d-loose d-loose added the jira Sync with JIRA label Sep 5, 2023
@d-loose d-loose added the bug label Sep 21, 2023
@d-loose
Copy link
Member

d-loose commented Sep 26, 2023

#1396 introduced error dialogs for those cases

@d-loose d-loose closed this as completed Sep 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug jira Sync with JIRA
Projects
None yet
Development

No branches or pull requests

2 participants