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

Cannot open artist pages #1137

Closed
1 of 2 tasks
AniAdamPashut opened this issue Jan 24, 2024 · 4 comments
Closed
1 of 2 tasks

Cannot open artist pages #1137

AniAdamPashut opened this issue Jan 24, 2024 · 4 comments
Labels
bug Something isn't working duplicate This issue or pull request already exists

Comments

@AniAdamPashut
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

search a song, open an album, whatever that let's you click an artist to listen more songs that they created.
tried local and global artists.
got same message: "type 'double' is not subtype of type 'int?' in type cast"

Expected Behavior

Show the artist main page
list songs whatever.

Steps to reproduce

  • open the app
  • search for a song, open an album whatever
  • click below the song name for an artist page (this also happens when directly searching for the artist)
  • error shown

Operating System

Arch Linux (from yay)

Spotube version

3.4.0-2

Installation source

Arch User Repository (AUR)

Additional information

might be when calculating some meta data about the artists

Self grab

  • I'm ready to work on this issue!
@AniAdamPashut AniAdamPashut added the bug Something isn't working label Jan 24, 2024
@AniAdamPashut
Copy link
Author

After a quick check this also happen on windows.

@paolog1994
Copy link

This also happen on ubuntu, see below for log:

============================== CATCHER 2 LOG ==============================

------- DEVICE INFO -------
name: Ubuntu
version: 23.10 (Mantic Minotaur)
id: ubuntu
idLike: [debian]
versionCodename: mantic
versionId: 23.10
prettyName: Ubuntu 23.10
buildId: null
variant: null
variantId: null
------- APP INFO -------
environment: release
version: 3.4.0
appName: spotube
buildNumber: 27
packageName: spotube
---------- ERROR ----------
type 'double' is not a subtype of type 'int?' in type cast
------- STACK TRACE -------
#0 _$FollowersFromJson (package:spotify/src/models/_models.g.dart:513)
#1 new Followers.fromJson (package:spotify/src/models/followers.dart:12)
#2 _$ArtistFromJson (package:spotify/src/models/_models.g.dart:345)
#3 new Artist.fromJson (package:spotify/src/models/artist.dart:11)
#4 EndpointBase._list. (package:spotify/src/endpoints/endpoint_base.dart:60)
#5 MappedIterable.elementAt (dart:_internal/iterable.dart:385)
#6 ArtistPageRelatedArtists.build. (package:spotube/pages/artist/section/related_artists.dart:43)
#7 SliverChildBuilderDelegate.build (package:flutter/src/widgets/scroll_delegate.dart:490)
#8 SliverMultiBoxAdaptorElement._build (package:flutter/src/widgets/sliver.dart:829)
#9 SliverMultiBoxAdaptorElement.createChild. (package:flutter/src/widgets/sliver.dart:843)
#10 BuildOwner.buildScope (package:flutter/src/widgets/framework.dart:2835)
#11 SliverMultiBoxAdaptorElement.createChild (package:flutter/src/widgets/sliver.dart:835)
#12 RenderSliverMultiBoxAdaptor._createOrObtainChild. (package:flutter/src/rendering/sliver_multi_box_adaptor.dart:349)
#13 RenderObject.invokeLayoutCallback. (package:flutter/src/rendering/object.dart:2657)
#14 PipelineOwner._enableMutationsToDirtySubtrees (package:flutter/src/rendering/object.dart:1071)
#15 RenderObject.invokeLayoutCallback (package:flutter/src/rendering/object.dart:2657)
#16 RenderSliverMultiBoxAdaptor._createOrObtainChild (package:flutter/src/rendering/sliver_multi_box_adaptor.dart:338)
#17 RenderSliverMultiBoxAdaptor.addInitialChild (package:flutter/src/rendering/sliver_multi_box_adaptor.dart:424)
#18 RenderSliverGrid.performLayout (package:flutter/src/rendering/sliver_grid.dart:615)
#19 RenderObject.layout (package:flutter/src/rendering/object.dart:2546)
#20 RenderSliverEdgeInsetsPadding.performLayout (package:flutter/src/rendering/sliver_padding.dart:139)
#21 RenderSliverPadding.performLayout (package:flutter/src/rendering/sliver_padding.dart:361)
#22 RenderObject.layout (package:flutter/src/rendering/object.dart:2546)
#23 RenderSliverEdgeInsetsPadding.performLayout (package:flutter/src/rendering/sliver_padding.dart:139)
#24 RenderSliverPadding.performLayout (package:flutter/src/rendering/sliver_padding.dart:361)
#25 RenderObject.layout (package:flutter/src/rendering/object.dart:2546)
#26 RenderViewportBase.layoutChildSequence (package:flutter/src/rendering/viewport.dart:601)
#27 RenderViewport._attemptLayout (package:flutter/src/rendering/viewport.dart:1554)
#28 RenderViewport.performLayout (package:flutter/src/rendering/viewport.dart:1463)
#29 RenderObject._layoutWithoutResize (package:flutter/src/rendering/object.dart:2385)
#30 PipelineOwner.flushLayout (package:flutter/src/rendering/object.dart:1025)
#31 PipelineOwner.flushLayout (package:flutter/src/rendering/object.dart:1038)
#32 RendererBinding.drawFrame (package:flutter/src/rendering/binding.dart:591)
#33 WidgetsBinding.drawFrame (package:flutter/src/widgets/binding.dart:986)
#34 RendererBinding._handlePersistentFrameCallback (package:flutter/src/rendering/binding.dart:457)
#35 SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:1325)
#36 SchedulerBinding.handleDrawFrame (package:flutter/src/scheduler/binding.dart:1255)
#37 SchedulerBinding._handleDrawFrame (package:flutter/src/scheduler/binding.dart:1113)
#38 _invoke (dart:ui/hooks.dart:312)
#39 PlatformDispatcher._drawFrame (dart:ui/platform_dispatcher.dart:383)
#40 _drawFrame (dart:ui/hooks.dart:283)
------- CUSTOM INFO -------

@KRTirtho
Copy link
Owner

Duplicate of #1018

@KRTirtho KRTirtho marked this as a duplicate of #1018 Jan 24, 2024
@KRTirtho KRTirtho added the duplicate This issue or pull request already exists label Jan 24, 2024
@m1v1
Copy link

m1v1 commented Mar 5, 2024

Ditto on Mac OS Sonoma.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

4 participants