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

Breaks after adding clientID, clientSecret #2

Closed
skjo0c opened this issue Jan 14, 2022 · 4 comments
Closed

Breaks after adding clientID, clientSecret #2

skjo0c opened this issue Jan 14, 2022 · 4 comments
Labels
bug Something isn't working

Comments

@skjo0c
Copy link

skjo0c commented Jan 14, 2022

After adding clientID, clientSecret. Application redirects us to this page.

OS: Ubuntu Budgie 21.10

image

@KRTirtho
Copy link
Owner

Can you try launching it via terminal & submit all the logs here?

@skjo0c
Copy link
Author

skjo0c commented Jan 14, 2022

@KRTirtho

** (spotube:292552): CRITICAL **: 13:22:15.507: size_t fl_value_get_length(FlValue *): assertion 'self->type == FL_VALUE_TYPE_UINT8_LIST || self->type == FL_VALUE_TYPE_INT32_LIST || self->type == FL_VALUE_TYPE_INT64_LIST || self->type == FL_VALUE_TYPE_FLOAT32_LIST || self->type == FL_VALUE_TYPE_FLOAT_LIST || self->type == FL_VALUE_TYPE_LIST || self->type == FL_VALUE_TYPE_MAP' failed

** (spotube:292552): CRITICAL **: 13:22:15.508: size_t fl_value_get_length(FlValue *): assertion 'self->type == FL_VALUE_TYPE_UINT8_LIST || self->type == FL_VALUE_TYPE_INT32_LIST || self->type == FL_VALUE_TYPE_INT64_LIST || self->type == FL_VALUE_TYPE_FLOAT32_LIST || self->type == FL_VALUE_TYPE_FLOAT_LIST || self->type == FL_VALUE_TYPE_LIST || self->type == FL_VALUE_TYPE_MAP' failed

** (spotube:292552): CRITICAL **: 13:22:15.508: size_t fl_value_get_length(FlValue *): assertion 'self->type == FL_VALUE_TYPE_UINT8_LIST || self->type == FL_VALUE_TYPE_INT32_LIST || self->type == FL_VALUE_TYPE_INT64_LIST || self->type == FL_VALUE_TYPE_FLOAT32_LIST || self->type == FL_VALUE_TYPE_FLOAT_LIST || self->type == FL_VALUE_TYPE_LIST || self->type == FL_VALUE_TYPE_MAP' failed

** (spotube:292552): CRITICAL **: 13:22:15.508: size_t fl_value_get_length(FlValue *): assertion 'self->type == FL_VALUE_TYPE_UINT8_LIST || self->type == FL_VALUE_TYPE_INT32_LIST || self->type == FL_VALUE_TYPE_INT64_LIST || self->type == FL_VALUE_TYPE_FLOAT32_LIST || self->type == FL_VALUE_TYPE_FLOAT_LIST || self->type == FL_VALUE_TYPE_LIST || self->type == FL_VALUE_TYPE_MAP' failed
flutter: Bad state: No element
flutter: #0 _GrowableList.last (dart:core-patch/growable_array.dart:344)
flutter: #1 _HomeState.build.. (package:spotube/components/Home.dart:188)
flutter: #2 _FutureBuilderState.build (package:flutter/src/widgets/async.dart:615)
flutter: #3 StatefulElement.build (package:flutter/src/widgets/framework.dart:4705)
flutter: #4 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4588)
flutter: #5 StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:4763)
flutter: #6 Element.rebuild (package:flutter/src/widgets/framework.dart:4311)
flutter: #7 BuildOwner.buildScope (package:flutter/src/widgets/framework.dart:2578)
flutter: #8 WidgetsBinding.drawFrame (package:flutter/src/widgets/binding.dart:882)
flutter: #9 RendererBinding._handlePersistentFrameCallback (package:flutter/src/rendering/binding.dart:363)
flutter: #10 SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:1145)
flutter: #11 SchedulerBinding.handleDrawFrame (package:flutter/src/scheduler/binding.dart:1082)
flutter: #12 SchedulerBinding._handleDrawFrame (package:flutter/src/scheduler/binding.dart:996)
flutter: #16 _invoke (dart:ui/hooks.dart:150)
flutter: #17 PlatformDispatcher._drawFrame (dart:ui/platform_dispatcher.dart:270)
flutter: #18 _drawFrame (dart:ui/hooks.dart:114)
flutter: (elided 3 frames from dart:async)

@KRTirtho
Copy link
Owner

Found the issue. It's my mistake actually to not give proper attention to user section of the app😅

It's happening because you don't have a profile-pic/avatar in your Spotify account. So it's setting null to url of the Image.url. I'll fix this ASAP

For a workaround you can add a profile picture in your Spotify account

@KRTirtho
Copy link
Owner

@skjo0c Now it's fixed in v1.0.1

@M0rtiferr M0rtiferr mentioned this issue Jan 22, 2022
@KRTirtho KRTirtho added this to Needs triage in Sayonara Bugs via automation Jan 23, 2022
@KRTirtho KRTirtho added the bug Something isn't working label Jan 23, 2022
@KRTirtho KRTirtho moved this from Needs triage to Closed in Sayonara Bugs Jan 23, 2022
@TheLesbianCollector TheLesbianCollector mentioned this issue Jul 19, 2023
1 task
@BlorisL BlorisL mentioned this issue Jan 26, 2024
2 tasks
@chen-junl chen-junl mentioned this issue Jan 26, 2024
2 tasks
@Soyasi Soyasi mentioned this issue Jan 28, 2024
2 tasks
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
No open projects
Development

No branches or pull requests

2 participants