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

Can't create new playlist #690

Closed
1 task done
Domipoke opened this issue Sep 2, 2023 · 1 comment · Fixed by #708
Closed
1 task done

Can't create new playlist #690

Domipoke opened this issue Sep 2, 2023 · 1 comment · Fixed by #708
Labels
bug Something isn't working

Comments

@Domipoke
Copy link

Domipoke commented Sep 2, 2023

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

------- DEVICE INFO -------
id: TP1A.220624.014
board: viva
bootloader: unknown
brand: Redmi
device: viva
display: TP1A.220624.014
fingerprint: Redmi/viva_eea/viva:13/TP1A.220624.014/V14.0.1.0.TGDEUXM:user/release-keys
hardware: mt6781
host: pangu-build-component-system-85668-krq9n-225d4-f7p35
isPhysicalDevice: true
manufacturer: Xiaomi
model: 2201116TG
product: viva_eea
tags: release-keys
type: user
versionBaseOs:
versionCodename: REL
versionIncremental: V14.0.1.0.TGDEUXM
versionPreviewSdk: 0
versionRelease: 13
versionSdk: 33
versionSecurityPatch: 2023-04-01
------- APP INFO -------
environment: release
version: 3.1.1
appName: Spotube
buildNumber: 23
packageName: oss.krtirtho.spotube
---------- ERROR ----------
RangeError (index): Invalid value: Not in inclusive range 0..50: 51
------- STACK TRACE -------
#0 List.[] (dart:core-patch/growable_array.dart:264)
#1 DiffUtils.levEditDistance (package:fuzzywuzzy/diffutils/diff_utils.dart:600)
#2 DiffUtils.getRatio (package:fuzzywuzzy/diffutils/diff_utils.dart:732)
#3 SimpleRatio.apply (package:fuzzywuzzy/ratios/simple_ratio.dart:7)
#4 ratio (package:fuzzywuzzy/fuzzywuzzy.dart:14)
#5 WeightedRatio.apply (package:fuzzywuzzy/algorithms/weighted_ratio.dart:26)
#6 weightedRatio (package:fuzzywuzzy/fuzzywuzzy.dart:60)
#7 UserPlaylists.build.. (package:spotube/components/library/user_playlists.dart:65)
#8 MappedIterable.elementAt (dart:_internal/iterable.dart:375)
#9 ListIterator.moveNext (dart:_internal/iterable.dart:344)
#10 new _GrowableList._ofEfficientLengthIterable (dart:core-patch/growable_array.dart:189)
#11 new _GrowableList.of (dart:core-patch/growable_array.dart:150)
#12 new List.of (dart:core-patch/array_patch.dart:47)
#13 IterableExtension.sorted (package:collection/src/iterable_extensions.dart:59)
#14 UserPlaylists.build. (package:spotube/components/library/user_playlists.dart:66)
#15 _MemoizedHookState.value (package:flutter_hooks/src/primitives.dart:82)
#16 _MemoizedHookState.build (package:flutter_hooks/src/primitives.dart)
#17 HookElement._use (package:flutter_hooks/src/framework.dart:484)
#18 Hook.use (package:flutter_hooks/src/framework.dart:139)
#19 use (package:flutter_hooks/src/framework.dart:18)
#20 useMemoized (package:flutter_hooks/src/primitives.dart:61)
#21 UserPlaylists.build (package:spotube/components/library/user_playlists.dart:53)
#22 _ConsumerState.build (package:flutter_riverpod/src/consumer.dart:477)
#23 StatefulElement.build (package:flutter/src/widgets/framework.dart:5198)
#24 ConsumerStatefulElement.build (package:flutter_riverpod/src/consumer.dart:538)
#25 HookElement.build (package:flutter_hooks/src/framework.dart:436)
#26 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5086)
#27 StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5251)
#28 Element.rebuild (package:flutter/src/widgets/framework.dart:4805)
#29 BuildOwner.buildScope (package:flutter/src/widgets/framework.dart:2780)
#30 WidgetsBinding.drawFrame (package:flutter/src/widgets/binding.dart:903)
#31 RendererBinding._handlePersistentFrameCallback (package:flutter/src/rendering/binding.dart:358)
#32 SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:1284)
#33 SchedulerBinding.handleDrawFrame (package:flutter/src/scheduler/binding.dart:1214)
#34 SchedulerBinding._handleDrawFrame (package:flutter/src/scheduler/binding.dart:1072)
#35 _invoke (dart:ui/hooks.dart:142)
#36 PlatformDispatcher._drawFrame (dart:ui/platform_dispatcher.dart:359)
#37 _drawFrame (dart:ui/hooks.dart:112)
------- CUSTOM INFO -------

Expected Behavior

Creare a playlist

Steps to reproduce

Clicked on + button to create new playlist and nothing happens

Operating System

Android

Spotube version

V3.1.1

Installation source

Website (spotube.netlify.app) or (spotube.krtirtho.dev), F-Droid (Android)

Additional information

No response

@Domipoke Domipoke added the bug Something isn't working label Sep 2, 2023
@Domipoke
Copy link
Author

Domipoke commented Sep 2, 2023

Update: I close app and open it again and playlist was created but if I want to create a new one I have to create - > close app - > open again

@KRTirtho KRTirtho linked a pull request Sep 10, 2023 that will close this issue
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
Status: Deployed
Development

Successfully merging a pull request may close this issue.

2 participants