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

Search with a "Filter by" of "Debian packages" not working in "snap-store" version "0+git.97116aa" Rev. 1134 #1685

Closed
ricmarques opened this issue Jun 3, 2024 · 3 comments · Fixed by #1686
Labels
jira Sync with JIRA

Comments

@ricmarques
Copy link

ricmarques commented Jun 3, 2024

Ubuntu MATE 24.04 LTS ("Noble Numbat") was released with the following "App Center" version:

snap-store
Version: 0+git.1419621
Rev: 1124

In that version of "App Center" / "snap-store", if I open "App Center" and do a Search for, let's say, "gparted" in the top "Search for apps" textbox, the search initially returns "No results found for "gparted"" because the "Filter by" dropdown list defaults to the option "Snap packages". However, if I change the "Filter by" selected option to "Debian packages", then the search results area correctly shows the "GParted Partition Editor" box.

Now, the problem happens if "App Center" gets (automatically) updated to the following version:

snap-store
Version: 0+git.97116aa
Rev: 1134

In that version of "snap-store", the same search for "gparted" then incorrectly returns "No results found for "gparted"" even if we change "Filter by" dropdown list selected option to "Debian packages".

Is this a known issue / bug?

@d-loose
Copy link
Member

d-loose commented Jun 4, 2024

Thanks for the report - I suspect you see something like this when running snap-store from the terminal:

[ERROR:flutter/runtime/dart_isolate.cc(1107)] Unhandled exception:
FormatException: Unknown url type 'vcs-browser'

A fix for this is underway canonical/appstream.dart#30

@ricmarques
Copy link
Author

Hi, @d-loose (Dennis Loose) 🙂

You wrote:

Thanks for the report - I suspect you see something like this when running snap-store from the terminal:

[ERROR:flutter/runtime/dart_isolate.cc(1107)] Unhandled exception:
FormatException: Unknown url type 'vcs-browser'

A fix for this is underway canonical/appstream.dart#30

Thank you very much for your very quick and encouraging reply 🙂 I confirm that, when I run snap-store from the terminal, I get the errors you've mentioned in your reply (and some additional errors):

ricmarques@ubumate2404vm:~/Desktop$ snap-store
Gtk-Message: 23:14:21.313: Failed to load module "appmenu-gtk-module"
Gtk-Message: 23:14:21.315: Not loading module "atk-bridge": The functionality is provided by GTK natively. Please try to not load it.

(snap-store:2874): Gtk-WARNING **: 23:14:21.344: GTK+ module /snap/snap-store/1134/gnome-platform/usr/lib/gtk-2.0/modules/libcanberra-gtk-module.so cannot be loaded.
GTK+ 2.x symbols detected. Using GTK+ 2.x and GTK+ 3 in the same process is not supported.
Gtk-Message: 23:14:21.344: Failed to load module "canberra-gtk-module"

(snap-store:2874): IBUS-WARNING **: 23:14:21.433: Failed to mkdir /home/ricmarques/snap/snap-store/1134/.config/ibus/bus: Not a directory
flutter: INFO snap-store: Logging to /home/ricmarques/snap/snap-store/1134/.local/share/snap-store/snap-store.log
[ERROR:flutter/runtime/dart_isolate.cc(1107)] Unhandled exception:
FormatException: Unknown url type 'vcs-browser'
#0      _parseUrlType (package:appstream/src/collection.dart:931)
#1      new AppstreamCollection.fromYaml (package:appstream/src/collection.dart:490)
#2      AppstreamPool._loadYamlCollectionInIsolate (package:appstream/src/pool.dart:94)
<asynchronous suspension>

** (snap-store:2874): WARNING **: 23:14:47.228: atk-bridge: get_device_events_reply: unknown signature
`

@d-loose
Copy link
Member

d-loose commented Jun 5, 2024

Thanks for confirming!
We plan to release an update with a few bug fixes at the end of the week

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
jira Sync with JIRA
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants