Code Monkey home page Code Monkey logo

Comments (41)

Santinieve avatar Santinieve commented on August 16, 2024 2

@pavelkomarov
Hello, I was trying to export some playlists but on a couple of them ** I received an error message**
"Couldn't export "RS". Encountered TypeError: Cannot read properties of null (reading 'artists'). Please let us know.

I would like to know how I can fix it such that I can export the playlist. It would be useful if there was an option for "Skip song" perhaps? And for it to add a message of what song it skipped so the User is aware / OR: What song is causing the problem so that I can temporarily remove it.
Screen Shot 2021-09-08 at 15 46 10

from exportify.

donniesticks avatar donniesticks commented on August 16, 2024 1

Excuse my base explanation as I'm just a user...
I don't know if this is helpful, but I came here last night because I was getting a "features[i] is undefined" error. After some trial and error to no avail, I used the watsonbox version and it worked w/no modifications to the playlist. Given that watsonbox doesn't pull local file lines, I noticed that one local artist in my playlist was listed and had a release date of "null". She has an album coming out this Friday, which means she's in the Spotify db and it pulled her album.
I deleted her song from the playlist, then came back to this Exportify and tried it again, and didn't get an error.

from exportify.

shape55 avatar shape55 commented on August 16, 2024

Following up from your last comment on #6, I had no idea the Export All option was supposed to export the playlists only on that page. Afaik, on the other forks it was supposed to export all playlists, but I never got it to work b/c I always had more than 50, and therefore always got the rate-limiting error.

So I tried exporting all 20 on the first page, and you were correct. The 19th one, which is my Local Files Playlist, won't export even though it exports fine on the other 3 Exportify forks I linked. And it also gives me the "undefined exportify.js:260:29" error. If I try Export All on the 2nd page it works and downloads a zip with those 20 playlists.

from exportify.

pavelkomarov avatar pavelkomarov commented on August 16, 2024

Post a link to the Local Files playlist so I can follow it and try to export it

from exportify.

shape55 avatar shape55 commented on August 16, 2024

Yes, forgot :) spotify:playlist:6Ti1vmdDtuXWNHtkUDKIni

from exportify.

pavelkomarov avatar pavelkomarov commented on August 16, 2024

Update: The app now uses a try/catch construction to avoid crashing on problematic playlists (though it still can't export them) and let the user know what's going on.

from exportify.

shape55 avatar shape55 commented on August 16, 2024

I tested it out again and the Export Group is able to bypass the problematic Local Files Playlist. It now gives me this error at the top:

Couldn't export Local Files Playlist. Encountered TypeError: features[i] is undefined.

However, there was one playlist that did not export to the zip file the first time I tried, yet it was able to export fine by itself. When I tried Export Group again though it included this one in the zip file. This is it here: spotify:playlist:2Zp7lFi6zoWRldxMfXOHRp

from exportify.

pavelkomarov avatar pavelkomarov commented on August 16, 2024

You sure about that? There should be absolutely no difference between how a playlist behaves when it's exported alone vs as part of a group, because the group functionality just loops through the list and calls the same function that gets called when you hit the export button for a particular list. for loop near line 169

from exportify.

shape55 avatar shape55 commented on August 16, 2024

Yes, for sure – I actually still have the original zip file if you want me to upload it or take a screenshot. There are 18 items in that first one, and 19 in the 2nd zip I exported, but there should have been 19 for both based on what you're saying.

from exportify.

shape55 avatar shape55 commented on August 16, 2024

There are 2 different errors.

These 2 return the "undefined" error. Could these be due to some tracks being greyed out (missing) from the playlists?
spotify:playlist:2Zp7lFi6zoWRldxMfXOHRp (default Local Files Playlist, reported above)
spotify:playlist:38VEWhMUWGLO7JRLU6K64k (a user-created local files playlist)

These 2 return the "song.track is null" error:
spotify:playlist:53eljwwaQQhi93Zbet44si (reported in the 1st comment above)
spotify:playlist:37i9dQZF1DXdbXrPNafg9d

The first 2 w/ the undefined errors export fine using watsonbox's fork, but the second 2 do not.

from exportify.

ethanmarston avatar ethanmarston commented on August 16, 2024

https://open.spotify.com/playlist/2wZoUNmmQKTCFlULmDYJMw?si=aWkA9x7dR8iXFYt22brqlw
Reviving this thread for sum help πŸ‘

from exportify.

pavelkomarov avatar pavelkomarov commented on August 16, 2024

Did my try-catch catch the error at least?

from exportify.

pavelkomarov avatar pavelkomarov commented on August 16, 2024

That's some really useful detective work! I'm not positive I'm going to fix my version any time soon, because watsonbox's reappearance and subsequent coding tear resulted in probably a more mature version than this one. But thank you all the same.

from exportify.

dub4u avatar dub4u commented on August 16, 2024

Getting TypeError: song.track is null on spotify:playlist:3GwtY1dcep9iJ2ZcKC97XW

from exportify.

ianlevesque avatar ianlevesque commented on August 16, 2024

Couldn't export Daily Drive with id 37i9dQZF1EfH7lWo5rmJIa. Encountered TypeError: Cannot read property 'id' of null.
Couldn't export The Beatles Abbey Road Experience with id 37i9dQZF1DX82uM9F4qTjN. Encountered TypeError: Cannot read property 'id' of null.
Couldn't export Alfred Playlist with id 0Kii4SxELdIAuYeB2p13R4. Encountered TypeError: Cannot read property 'forEach' of undefined.
Couldn't export Alprazolam with id 7cWr2cw0QJL7z5tVMWCTSQ. Encountered TypeError: Cannot read property 'forEach' of undefined.
Couldn't export Beach House Essentials with id 2h8QQ2fHE20S4RADHXSIcZ. Encountered TypeError: Cannot read property 'forEach' of undefined.
Couldn't export Ben Gibbard Essentials with id 43IXUXaDvWUhODYkqjQNl6. Encountered TypeError: Cannot read property 'forEach' of undefined.
Couldn't export Best of Guild Wars 2 with id 1LHeOo4ZGUCfv0DdKeeKws. Encountered TypeError: Cannot read property 'forEach' of undefined.
Couldn't export blink-182 Essentials with id 25PDAnEdqFBuQguAQcb0LS. Encountered TypeError: Cannot read property 'forEach' of undefined.
Couldn't export Caffeine with id 4RxKt2ae2yzjNfZvgtAYlY. Encountered TypeError: Cannot read property 'forEach' of undefined.
Couldn't export Caffeine 2 with id 6gRXHQavZe7jgT4xGNlGVI. Encountered TypeError: Cannot read property 'forEach' of undefined.
Couldn't export Frozen with id 0OOiFhDSAPszVlYtPGT3lj. Encountered TypeError: Cannot read property 'forEach' of undefined.
Couldn't export Good Music from Strange Places with id 4ceZHSVXD4XILFaBY16dQa. Encountered TypeError: Cannot read property 'forEach' of undefined.
Couldn't export Green Day Essentials with id 07Hki8EkQQgUoSSSUoxNvf. Encountered TypeError: Cannot read property 'forEach' of undefined.
Couldn't export Green Day: Next Steps with id 70jNiEYl8VtWCMJCz8xWoj. Encountered TypeError: Cannot read property 'forEach' of undefined.
Couldn't export Indie Hits: 2009 with id 2XaVieihNScBrfsEJRNKhY. Encountered TypeError: Cannot read property 'forEach' of undefined.
Couldn't export Inspired by Stereolab with id 7b4LMEWCtoWv24WbnQZKaP. Encountered TypeError: Cannot read property 'forEach' of undefined.
Couldn't export Inspired by The Postal Service with id 40hQZJx6E7ALkCdRYUkBzK. Encountered TypeError: Cannot read property 'forEach' of undefined.
Couldn't export Killer Codas with id 3jfwvEg5UgZAZH6Uw2OyRp. Encountered TypeError: Cannot read property 'forEach' of undefined.
Couldn't export Kurt Vile Essentials with id 1FgVft3ikldeuHBXUCYaQW. Encountered TypeError: Cannot read property 'forEach' of undefined.
Couldn't export Matt and Kim Essentials with id 2XkojLBas0aMmRIlxx409I. Encountered TypeError: Cannot read property 'forEach' of undefined.
Couldn't export Matt Pond PA Essentials with id 4Rz0ewlQn0vI9ZB43CHdRv. Encountered TypeError: Cannot read property 'forEach' of undefined.
Couldn't export Motivation with id 3CdDBoUv51HHZnnioNiJ1b. Encountered TypeError: Cannot read property 'forEach' of undefined.
Couldn't export Recent & Nifty with id 10xGC3nnhm1FKlxw67VQPR. Encountered TypeError: Cannot read property 'forEach' of undefined.
Couldn't export Rilo Kiley Essentials with id 7t0wFmOxYO6nvYovlptfkT. Encountered TypeError: Cannot read property 'forEach' of undefined.
Couldn't export Stars Essentials with id 79UZMlXJo3bB5k54j4RbyP. Encountered TypeError: Cannot read property 'forEach' of undefined.
Couldn't export Stereolab Essentials with id 03ZZEOrzp54Qi3RfTtQUIy. Encountered TypeError: Cannot read property 'forEach' of undefined.
Couldn't export Sufjan Stevens Essentials with id 4UrFwxmPHpC0I7BkxURBgz. Encountered TypeError: Cannot read property 'forEach' of undefined.
Couldn't export Tame Impala Essentials with id 5s0oILbBofre0lYpqj7pMe. Encountered TypeError: Cannot read property 'forEach' of undefined.
Couldn't export The Ataris Essentials with id 0v7gksQ6KLzE7c1HV2z3Mm. Encountered TypeError: Cannot read property 'forEach' of undefined.
Couldn't export The Flaming Lips Essentials with id 7Lk3iNWydJKr0T7dX9zJjo. Encountered TypeError: Cannot read property 'forEach' of undefined.
Couldn't export Today's Indie Rock with id 6i0odq4TBebbZ6VnUGYeTf. Encountered TypeError: Cannot read property 'forEach' of undefined.
Couldn't export Untitled with id 4ReM9XfY4BhrBjTwdwenda. Encountered TypeError: Cannot read property 'forEach' of undefined.
Couldn't export Weezer Essentials with id 4HNskNnaS5atdPu2OWrLOR. Encountered TypeError: Cannot read property 'forEach' of undefined.

from exportify.

ottopiramuthu avatar ottopiramuthu commented on August 16, 2024

spotify:playlist:16vLzPaeE4tV2y3dRykdoI crashes with error: TypeError: song.track is null

from exportify.

Birblord2087 avatar Birblord2087 commented on August 16, 2024

Hiya, I'm experiencing this error:

"Couldn't export My Playlist #16. Encountered TypeError: Cannot read properties of undefined (reading 'forEach'). "

My playlist is https://open.spotify.com/playlist/0Y1UOzHss5Aq4nAr7Em4Ic and contains a number of local files. I'd be grateful if you could look into this, thank you!

from exportify.

twigithub avatar twigithub commented on August 16, 2024

Please post the URIs or links for playlists that just cause the button to spin forever, indicating a crash, in this thread. There are many ways things could potentially go wrong, so I foresee getting a lot of mileage out of this one.

Hi,

These 4 playlists have an error, only in the website "exportify.net" though. On the site https://watsonbox.github.io/exportify I could download them.
https://open.spotify.com/playlist/23NiBEEweVr0qrHeVQcAqa?si=ea0a2f3b379e457f
https://open.spotify.com/playlist/4u9kLNy8b5BtUNIfj46y2s?si=21af20b55135416a
https://open.spotify.com/playlist/4PQCx1gtjMy16vTuxLGYEe?si=7ecda828a2f14090
https://open.spotify.com/playlist/1gRXPhsufV2w6EAdrjuwQe?si=c350f6bb1bb346f7

"Sas Ipod" and "Flip" both have only local files, and the local files are actually not even on my device (pc). The other two playlists I am not sure about if they have some local files or no local files.
1e rang

Couldn't export 1e rang. Encountered TypeError: Cannot read properties of null (reading 'id'). Please let us know.
Couldn't export Check: alle Rangplaylist folder nummers 4 jan. Encountered TypeError: Cannot read properties of null (reading 'id').
Couldn't export Sas ipod. Encountered TypeError: Cannot read properties of undefined (reading 'forEach').
Couldn't export Flip. Encountered TypeError: Cannot read properties of undefined (reading 'forEach').

from exportify.

TerremotoDePorta avatar TerremotoDePorta commented on August 16, 2024

Hello.

I get an error when export this playlist:
https://open.spotify.com/playlist/7Ibetk6QYkFBGP8JHaGp4p

Error is "Couldn't export Funbox Karaoke. Encountered TypeError: artist is null."

from exportify.

Caveman-Trinity avatar Caveman-Trinity commented on August 16, 2024

Couldn't export What Is the Meaning Of Life. Encountered TypeError: Cannot read properties of undefined (reading 'forEach'). Please let us know.

https://open.spotify.com/playlist/6hGHjnycbhFetS57W60k4f?si=4ab646032b55499f

from exportify.

vynra avatar vynra commented on August 16, 2024

Couldn't export misfits 2.0 with id 37i9dQZF1DXciq74vrQmM8. Encountered TypeError: Cannot read properties of null (reading 'artists').

https://open.spotify.com/playlist/37i9dQZF1DXciq74vrQmM8?si=293198ddc2c14fe6

from exportify.

vynra avatar vynra commented on August 16, 2024

Couldn't export I'm with the banned with id 37i9dQZF1DX4W90hOiKcOs. Encountered TypeError: Cannot read properties of null (reading 'artists').

https://open.spotify.com/playlist/37i9dQZF1DX4W90hOiKcOs?si=874a952d65254311

from exportify.

theprof196 avatar theprof196 commented on August 16, 2024

Experiencing the same issue in August 2022 with Playlist 4kozevtq66HcRWf6Mlz4Vu
Couldn't export πŸ‘πŸ»All Liked. Encountered TypeError: Cannot read properties of null (reading 'artists'). Please [let us know](https://github.com/pavelkomarov/exportify/issues/10).

from exportify.

eitansch avatar eitansch commented on August 16, 2024

Hi, happened to me when trying to export playlist mwfbnqunze7bplijy0tcbugo5. I get:
Couldn't export Hebrew Best. Encountered TypeError: Cannot read properties of null (reading 'id'). Please [let us know](https://github.com/pavelkomarov/exportify/issues/10).

from exportify.

AquaWo1f avatar AquaWo1f commented on August 16, 2024

from exportify.

pavelkomarov avatar pavelkomarov commented on August 16, 2024

I'm sorry I've been so missing, guys. This hasn't been a priority to fix, but it seems like there are some pretty common issues. It looks like I need better null checking. If anyone can dig in and open a PR to solve the problem, I'd be grateful. In the mean time, Watsonbox's version may work for you. He was the original creator of a tool like this; I recoded it as my own, simpler, pared-down version because his was broken at the time. He later reappeared and overhauled his version.

from exportify.

rami-daoud avatar rami-daoud commented on August 16, 2024

I have same issue https://open.spotify.com/playlist/6RJnq7s597ar0dqIC8RwzK?si=4b71540db2954426
cannot export. artist is null

from exportify.

pavelkomarov avatar pavelkomarov commented on August 16, 2024

Thanks. I sat down to work on this a couple weekends ago but only got as far as updating the repo to use github actions to deploy instead of travis.ci. I was able to successfully redeploy, but I redeployed the same exact version. Still have to add null checking to the javascript.

from exportify.

flawedgun avatar flawedgun commented on August 16, 2024

Getting an error: Couldn't export blank 192. Encountered TypeError: Cannot read properties of null (reading 'id'). Please let us know.

Playlist is: https://open.spotify.com/playlist/60fc9l7NZJqKvIucIhvxya

from exportify.

ellwal avatar ellwal commented on August 16, 2024

Error: Couldn't export IV. Hopeless. Encountered TypeError: Cannot read properties of null (reading 'forEach'). Please let us know.
Playlist: https://open.spotify.com/playlist/0XwsaAOnntcJxjWXHu64ag

EDIT - Also got the same error for this playlist today: https://open.spotify.com/playlist/4YiIOrLiwU6YO3EZ1yCLbO
Interestingly, that same playlist exported with no problem just a few days ago. I can take a look and see what songs have been added since then, if that helps isolate the issue.

from exportify.

paperlips avatar paperlips commented on August 16, 2024

Encountered TypeError: Cannot read properties of null (reading 'id').

Playlist https://open.spotify.com/playlist/19mgUlKqP2M6SOpaQWM6Fw?si=119bd5789ced4c55

from exportify.

MLpranav avatar MLpranav commented on August 16, 2024

Couldn't export Smartest Episodes of 2022 with id 37i9dQZF1DWVqY4F2OrvQx.

Encountered TypeError: Cannot read properties of null (reading 'artists').

from exportify.

XBagon avatar XBagon commented on August 16, 2024

just printing out the song.tracks which are null, helped fixing my playlist. Because the songs still have the added_at timestamps, I could determine which range of songs to remove, also I could add them right back and it still fixed my playlist. Then I just clicked export. So maybe the website could output the added_at and the indices of the failed songs or just console.error them to help out a bit.

from exportify.

kamaulindhardt avatar kamaulindhardt commented on August 16, 2024

Hi authors to Exportify,

First of all, thank you for this fantastic technology. I love it. Unfortunately, I am encountering errors on a few of my playlists when exporting them.

  • Couldn't export new south african house music 2023 with id 6QiyDqm7VTGRzLPpp1SNMj. Encountered TypeError: null is not an object (evaluating 'song.track.artists').
  • Couldn't export πŸ”Ž β›©πŸ¦‰Focus (Study Chill) . Encountered TypeError: null is not an object (evaluating 'song.track.artists')
  • Couldn't export ChilletreetπŸƒπŸŒ². Encountered TypeError: null is not an object (evaluating 'song.track.artists').
  • Couldn't export Manu Fica with id 2KJdrbwqxj8ffEq1Fe1cAh. Encountered TypeError: null is not an object (evaluating 'artist.id')
  • Couldn't export Spilled Ink with id 37i9dQZF1DWSTeI2WWFaia. Encountered TypeError: null is not an object (evaluating 'song.track.artists').
  • Couldn't export Chilled R&B with id 37i9dQZF1DX2UgsUIg75Vg. Encountered TypeError: null is not an object (evaluating 'song.track.artists').

Other than those mentioned above the rest of my 299 playlists where successfully exported to csv. Thank you!

from exportify.

flikites avatar flikites commented on August 16, 2024

Couldn't export lofi summer haze. Encountered TypeError: Cannot read properties of null (reading 'artists').

This is the playlist: https://open.spotify.com/playlist/37i9dQZF1DX8NMUtC3b3gL

and also the same error with this playlist: https://open.spotify.com/playlist/37i9dQZF1DWURfu7Lk3xJ1

from exportify.

johnsrude avatar johnsrude commented on August 16, 2024

Couldn't export Classical New Releases with id 37i9dQZF1DWV0gynK7G6pD. Encountered TypeError: Cannot read properties of null (reading 'artists').

from exportify.

RainOrigami avatar RainOrigami commented on August 16, 2024

https://open.spotify.com/playlist/17JJ2oOKjsfxa5G82Ikk3m
causes
TypeError: Cannot read properties of null (reading 'id').

from exportify.

hito2hito avatar hito2hito commented on August 16, 2024

https://open.spotify.com/playlist/37i9dQZF1DX4OR8pnFkwhR
causes
Couldn't export RADAR: Early Noise . Encountered TypeError: Cannot read properties of null (reading 'artists').
😭

from exportify.

hsuit avatar hsuit commented on August 16, 2024

I received the error TypeError: null is not an object (evaluating 'artist.id') and resolved it by removing two podcast episodes (for tracks that aren't on Spotify) from my playlist.

from exportify.

WinterFollowsSpring avatar WinterFollowsSpring commented on August 16, 2024

https://open.spotify.com/playlist/0kFjwH3BRkcUoMwhs0NAaF crashes with TypeError: song.track is null

from exportify.

ctindel avatar ctindel commented on August 16, 2024

https://open.spotify.com/playlist/780h58Q1YGBrAOGrSY8OoM crashes with Encountered TypeError: Cannot read properties of null (reading 'id').

from exportify.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.