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

invidious type 'null; bug linux flatpak #2121

Open
2 tasks done
s-b-repo opened this issue Dec 9, 2024 · 2 comments
Open
2 tasks done

invidious type 'null; bug linux flatpak #2121

s-b-repo opened this issue Dec 9, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@s-b-repo
Copy link

s-b-repo commented Dec 9, 2024

Is there an existing issue for this? (Please read the description)

  • I have searched the existing issues

Current Behavior

type 'null' is not a subtype of string in type cast

Expected Behavior

select instance

Steps to reproduce

changed source

Logs

Logs [2024-12-09 12:46:55.749039]--------------------- org.freedesktop.systemd1.NoSuchUnit: Unit dbus-org.freedesktop.Avahi.service not found. #0 DBusClient._callMethod (package:dbus/src/dbus_client.dart:1149) #1 DBusClient.callMethod (package:dbus/src/dbus_client.dart:621) #2 AvahiServer.callGetVersionString (package:bonsoir_linux/src/avahi/server.dart:95) #3 AvahiBonsoirDiscovery._isModernAvahi (package:bonsoir_linux/src/actions/discovery/discovery.dart:323) #4 AvahiBonsoirDiscovery.ready (package:bonsoir_linux/src/actions/discovery/discovery.dart:49) #5 ConnectClientsNotifier.build (package:spotube/provider/connect/clients.dart:37) #6 FutureHandlerProviderElementMixin.handleFuture.. (package:riverpod/src/async_notifier/base.dart:355)

[2024-12-09 12:46:55.929334]---------------------
PathNotFoundException: Cannot open file, path = '/home/kali/.var/app/com.github.KRTirtho.Spotube/config/dconf/user' (OS Error: No such file or directory, errno = 2)
#0 _checkForErrorResponse (dart:io/common.dart:55)
#1 _File.open. (dart:io/file_impl.dart:381)
#2 _rootRunUnary (dart:async/zone.dart:1407)

#3 _File.readAsBytes. (dart:io/file_impl.dart:562)

#4 GVariantDatabase._loadRootTable (package:gsettings/src/gvariant_database.dart:30)

#5 GVariantDatabase.lookup (package:gsettings/src/gvariant_database.dart:20)

#6 DConfClient.read (package:gsettings/src/dconf_client.dart:82)

#7 GSettingsDConfBackend.get (package:gsettings/src/gsettings_dconf_backend.dart:23)

#8 GSettings.get (package:gsettings/src/gsettings.dart:124)

#9 getTheme (package:titlebar_buttons/src/get_theme.dart:12)

#10 _RawDecoratedTitlebarButtonState.initState. (package:titlebar_buttons/src/decorated_button.dart:156)


[2024-12-09 12:47:00.209076]---------------------
PathNotFoundException: Cannot open file, path = '/home/kali/.var/app/com.github.KRTirtho.Spotube/config/dconf/user' (OS Error: No such file or directory, errno = 2)
#0 _checkForErrorResponse (dart:io/common.dart:55)
#1 _File.open. (dart:io/file_impl.dart:381)
#2 _rootRunUnary (dart:async/zone.dart:1407)

#3 _File.readAsBytes. (dart:io/file_impl.dart:562)

#4 GVariantDatabase._loadRootTable (package:gsettings/src/gvariant_database.dart:30)

#5 GVariantDatabase.lookup (package:gsettings/src/gvariant_database.dart:20)

#6 DConfClient.read (package:gsettings/src/dconf_client.dart:82)

#7 GSettingsDConfBackend.get (package:gsettings/src/gsettings_dconf_backend.dart:23)

#8 GSettings.get (package:gsettings/src/gsettings.dart:124)

#9 getTheme (package:titlebar_buttons/src/get_theme.dart:12)

#10 _RawDecoratedTitlebarButtonState.initState. (package:titlebar_buttons/src/decorated_button.dart:156)


[2024-12-09 12:47:11.335018]---------------------
type 'Null' is not a subtype of type 'String' in type cast
#0 _$$InvidiousMonitorImplFromJson (package:invidious/src/models/model.g.dart:493)
#1 new _$InvidiousMonitorImpl.fromJson (package:invidious/src/models/model.freezed.dart:5728)
#2 _$InvidiousMonitorFromJson (package:invidious/src/models/model.freezed.dart:5309)
#3 new InvidiousMonitor.fromJson (package:invidious/src/models/responses/instance.dart:128)
#4 _$$InvidiousInstanceDetailsImplFromJson (package:invidious/src/models/model.g.dart:361)
#5 new _$InvidiousInstanceDetailsImpl.fromJson (package:invidious/src/models/model.freezed.dart:4092)
#6 _$InvidiousInstanceDetailsFromJson (package:invidious/src/models/model.freezed.dart:3858)
#7 new InvidiousInstanceDetails.fromJson (package:invidious/src/models/responses/instance.dart:28)
#8 _$$InvidiousInstanceResponseImplFromJson (package:invidious/src/models/model.g.dart:336)
#9 new _$InvidiousInstanceResponseImpl.fromJson (package:invidious/src/models/model.freezed.dart:3792)
#10 _$InvidiousInstanceResponseFromJson (package:invidious/src/models/model.freezed.dart:3668)
#11 new InvidiousInstanceResponse.fromJson (package:invidious/src/models/responses/instance.dart:11)
#12 InstancesEndpoint.instances. (package:invidious/src/endpoints/instances.dart:13)
#13 MappedIterable.elementAt (dart:_internal/iterable.dart:385)
#14 ListIterator.moveNext (dart:_internal/iterable.dart:354)
#15 new _GrowableList._ofEfficientLengthIterable (dart:core-patch/growable_array.dart:189)
#16 new _GrowableList.of (dart:core-patch/growable_array.dart:150)
#17 new List.of (dart:core-patch/array_patch.dart:39)
#18 ListIterable.toList (dart:_internal/iterable.dart:224)
#19 InstancesEndpoint.instances (package:invidious/src/endpoints/instances.dart:17)

#20 invidiousInstancesProvider. (package:spotube/provider/audio_player/sources/invidious_instances_provider.dart:7)

#21 FutureHandlerProviderElementMixin.handleFuture.. (package:riverpod/src/async_notifier/base.dart:355)


[2024-12-09 12:50:14.580748]---------------------
PathNotFoundException: Cannot open file, path = '/home/kali/.var/app/com.github.KRTirtho.Spotube/config/dconf/user' (OS Error: No such file or directory, errno = 2)
#0 _checkForErrorResponse (dart:io/common.dart:55)
#1 _File.open. (dart:io/file_impl.dart:381)
#2 _rootRunUnary (dart:async/zone.dart:1407)

#3 _File.readAsBytes. (dart:io/file_impl.dart:562)

#4 GVariantDatabase._loadRootTable (package:gsettings/src/gvariant_database.dart:30)

#5 GVariantDatabase.lookup (package:gsettings/src/gvariant_database.dart:20)

#6 DConfClient.read (package:gsettings/src/dconf_client.dart:82)

#7 GSettingsDConfBackend.get (package:gsettings/src/gsettings_dconf_backend.dart:23)

#8 GSettings.get (package:gsettings/src/gsettings.dart:124)

#9 getTheme (package:titlebar_buttons/src/get_theme.dart:12)

#10 _RawDecoratedTitlebarButtonState.initState. (package:titlebar_buttons/src/decorated_button.dart:156)


[2024-12-09 12:50:17.181295]---------------------
PathNotFoundException: Cannot open file, path = '/home/kali/.var/app/com.github.KRTirtho.Spotube/config/dconf/user' (OS Error: No such file or directory, errno = 2)
#0 _checkForErrorResponse (dart:io/common.dart:55)
#1 _File.open. (dart:io/file_impl.dart:381)
#2 _rootRunUnary (dart:async/zone.dart:1407)

#3 _File.readAsBytes. (dart:io/file_impl.dart:562)

#4 GVariantDatabase._loadRootTable (package:gsettings/src/gvariant_database.dart:30)

#5 GVariantDatabase.lookup (package:gsettings/src/gvariant_database.dart:20)

#6 DConfClient.read (package:gsettings/src/dconf_client.dart:82)

#7 GSettingsDConfBackend.get (package:gsettings/src/gsettings_dconf_backend.dart:23)

#8 GSettings.get (package:gsettings/src/gsettings.dart:124)

#9 getTheme (package:titlebar_buttons/src/get_theme.dart:12)

#10 _RawDecoratedTitlebarButtonState.initState. (package:titlebar_buttons/src/decorated_button.dart:156)


[2024-12-09 12:50:19.863650]---------------------
PathNotFoundException: Cannot open file, path = '/home/kali/.var/app/com.github.KRTirtho.Spotube/config/dconf/user' (OS Error: No such file or directory, errno = 2)
#0 _checkForErrorResponse (dart:io/common.dart:55)
#1 _File.open. (dart:io/file_impl.dart:381)
#2 _rootRunUnary (dart:async/zone.dart:1407)

#3 _File.readAsBytes. (dart:io/file_impl.dart:562)

#4 GVariantDatabase._loadRootTable (package:gsettings/src/gvariant_database.dart:30)

#5 GVariantDatabase.lookup (package:gsettings/src/gvariant_database.dart:20)

#6 DConfClient.read (package:gsettings/src/dconf_client.dart:82)

#7 GSettingsDConfBackend.get (package:gsettings/src/gsettings_dconf_backend.dart:23)

#8 GSettings.get (package:gsettings/src/gsettings.dart:124)

#9 getTheme (package:titlebar_buttons/src/get_theme.dart:12)

#10 _RawDecoratedTitlebarButtonState.initState. (package:titlebar_buttons/src/decorated_button.dart:156)


[2024-12-09 12:50:19.864025]---------------------
PathNotFoundException: Cannot open file, path = '/home/kali/.var/app/com.github.KRTirtho.Spotube/config/dconf/user' (OS Error: No such file or directory, errno = 2)
#0 _checkForErrorResponse (dart:io/common.dart:55)
#1 _File.open. (dart:io/file_impl.dart:381)
#2 _rootRunUnary (dart:async/zone.dart:1407)

#3 _File.readAsBytes. (dart:io/file_impl.dart:562)

#4 GVariantDatabase._loadRootTable (package:gsettings/src/gvariant_database.dart:30)

#5 GVariantDatabase.lookup (package:gsettings/src/gvariant_database.dart:20)

#6 DConfClient.read (package:gsettings/src/dconf_client.dart:82)

#7 GSettingsDConfBackend.get (package:gsettings/src/gsettings_dconf_backend.dart:23)

#8 GSettings.get (package:gsettings/src/gsettings.dart:124)

#9 getTheme (package:titlebar_buttons/src/get_theme.dart:12)

#10 _RawDecoratedTitlebarButtonState.initState. (package:titlebar_buttons/src/decorated_button.dart:156)


Operating System

linux

Spotube version

latest

Installation source

Flathub (Flatpak)

Additional information

nothing

Self grab

  • I'm ready to work on this issue!
@s-b-repo s-b-repo added the bug Something isn't working label Dec 9, 2024
@CodingByMe
Copy link

Also on Windows 10

@Anjolao
Copy link

Anjolao commented Dec 16, 2024

The invidious instances is all having errors.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants