Open invmatt opened 9 years ago
I don't have a windows machine to test on, please let me know if you solve the issue.
Thanks,
Same issue on the mac too, here goes:
same issue!
Downloader App Started..
Same thing happens to mine, tried downgrading node via nvm to 0.10.36 but still no avail. Help?
Now it says illegal access on node 0.11.0.
Same issue with node 0.12.4 on Windows 8.1
I have the same issue on my mac. but I think it's a consequence of not having a premium account
Yes, that could be it - I have premium. On Fri, 19 Jun 2015 at 14:11 ashkanalinejad notifications@github.com wrote:
I have the same issue on my mac. but I think it's a consequence of not having a premium account
— Reply to this email directly or view it on GitHub https://github.com/qrpike/spotify-playlist-downloader/issues/6#issuecomment-113510290 .
@tristan1990 it only works on node v10. Have you been able to solve the issue?
Hey there,
Nice app btw. only im receiving an error when trying to download a link.
Downloader App Started..
- Getting Playlist Data
- Got Playlist: OLD SCHOOL HIP HOP
- Processing 100 Tracks
/usr/local/lib/node_modules/spotify-playlist-downloader/node_modules/spotify-web/node_modules/protobufjs/ProtoBuf.js:1987
throw(e);
^
Error: Illegal value for Message.Field .spotify.metadata.proto.Restriction.catalogue: 4 (not a valid enum value)
at [object Object].ProtoBuf.Reflect.Field.verifyValue (/usr/local/lib/node_modules/spotify-playlist-downloader/node_modules/spotify-web/node_modules/protobufjs/ProtoBuf.js:2321:27)
at [object Object].Message.add (/usr/local/lib/node_modules/spotify-playlist-downloader/node_modules/spotify-web/node_modules/protobufjs/ProtoBuf.js:1693:53)
at [object Object].ProtoBuf.Reflect.Message.decode (/usr/local/lib/node_modules/spotify-playlist-downloader/node_modules/spotify-web/node_modules/protobufjs/ProtoBuf.js:2137:29)
at [object Object].ProtoBuf.Reflect.Field.decode (/usr/local/lib/node_modules/spotify-playlist-downloader/node_modules/spotify-web/node_modules/protobufjs/ProtoBuf.js:2594:46)
at [object Object].ProtoBuf.Reflect.Message.decode (/usr/local/lib/node_modules/spotify-playlist-downloader/node_modules/spotify-web/node_modules/protobufjs/ProtoBuf.js:2137:51)
at Message.decode (/usr/local/lib/node_modules/spotify-playlist-downloader/node_modules/spotify-web/node_modules/protobufjs/ProtoBuf.js:1982:41)
at Function.protobufjs_parse_wrapper (/usr/local/lib/node_modules/spotify-playlist-downloader/node_modules/spotify-web/lib/schemas.js:98:39)
at Spotify._parse (/usr/local/lib/node_modules/spotify-playlist-downloader/node_modules/spotify-web/lib/spotify.js:1288:20)
at parseData (/usr/local/lib/node_modules/spotify-playlist-downloader/node_modules/spotify-web/lib/spotify.js:592:18)
at Spotify.<anonymous> (/usr/local/lib/node_modules/spotify-playlist-downloader/node_modules/spotify-web/lib/spotify.js:652:16)
at fn (/usr/local/lib/node_modules/spotify-playlist-downloader/node_modules/spotify-web/lib/spotify.js:396:10)
at Spotify._onmessage (/usr/local/lib/node_modules/spotify-playlist-downloader/node_modules/spotify-web/lib/spotify.js:412:5)
at WebSocket.emit (events.js:110:17)
at Receiver.self._receiver.ontext (/usr/local/lib/node_modules/spotify-playlist-downloader/node_modules/spotify-web/node_modules/ws/lib/WebSocket.js:682:10)
at Receiver.opcodes.1.finish (/usr/local/lib/node_modules/spotify-playlist-downloader/node_modules/spotify-web/node_modules/ws/lib/Receiver.js:391:14)
at Receiver.expectHandler (/usr/local/lib/node_modules/spotify-playlist-downloader/node_modules/spotify-web/node_modules/ws/lib/Receiver.js:378:31)
at Receiver.add (/usr/local/lib/node_modules/spotify-playlist-downloader/node_modules/spotify-web/node_modules/ws/lib/Receiver.js:87:24)
at TLSSocket.firstHandler (/usr/local/lib/node_modules/spotify-playlist-downloader/node_modules/spotify-web/node_modules/ws/lib/WebSocket.js:663:22)
at TLSSocket.emit (events.js:107:17)
at readableAddChunk (_stream_readable.js:163:16)
at TLSSocket.Readable.push (_stream_readable.js:126:10)
at TCP.onread (net.js:538:20)
Do you have any clueue? Thanks!
Im running on osx 10.10.3 btw with node v0.12.2
Ok solved it, you nee node v.0.10.0 just install https://www.npmjs.com/package/n install v.0.10.0 and go :)
Same error here. Changed to node v0.10.0 but it's still happening. Any other solution? Thanks!
@jperezr21 what os are you using, and what does node say when you do node -v
?
@reneweteling I'm on windows 7 and using nodist for managing node versions. I downloaded v0.10.0 and when I type node -v it says v0.10.0. Still, I thought it might be using another version, so I uninstalled the others, but the error is still there.
@jperezr21 hmmmm..... wel windows is an issue by default... me recommendation is to boot up a virtual box, install ubuntu and try it there in the terminal. Its a bit of a way around.... but thats probably your best bet. Good luck!
@jperezr21 try uninstalling everything related to node. You need to install the downloader with node 0.10.x if not your protobufjs will not work properly
I struggled with the same issue and here's the solution that I came with: uninstall node.js completely install 0.10.36 http://nodejs.org/dist/v0.10.36 make sure you have installed brew and ffmpeg
I got the same error, got work around by using 0.10.36~ Thanks!
Downloader App Started..
Gets the playlist data then produces this error: