mauimauer / portify

Transfers your Spotify playlists to Google Music: All Access
Apache License 2.0
315 stars 122 forks source link

spotify-web 1.2.0 - spotify-web/node_modules/protobufjs/ProtoBuf.js:1987 #106

Open claumartines opened 10 years ago

claumartines commented 10 years ago

I upgraded to the 1.2.0 version of spotify-web, now I have another error that leaves me no matter what.

Please can you help me?

Thanks and hugs


created playlist wedding(spotify:user:mel9953:playlist:28j68IybMS7qlYos1dzu7V) on google music fetch info about playlist in spotify gotPlaylistLength()

/Users/clau/Documents/portify-0.4-macosx/data/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 ProtoBuf.Reflect.Field.verifyValue (/Users/clau/Documents/portify-0.4-macosx/data/node_modules/spotify-web/node_modules/protobufjs/ProtoBuf.js:2321:27) at ProtoBuf.Reflect.Message.build.Message.add (/Users/clau/Documents/portify-0.4-macosx/data/node_modules/spotify-web/node_modules/protobufjs/ProtoBuf.js:1693:53) at ProtoBuf.Reflect.Message.decode (/Users/clau/Documents/portify-0.4-macosx/data/node_modules/spotify-web/node_modules/protobufjs/ProtoBuf.js:2137:29) at ProtoBuf.Reflect.Field.decode (/Users/clau/Documents/portify-0.4-macosx/data/node_modules/spotify-web/node_modules/protobufjs/ProtoBuf.js:2594:46) at ProtoBuf.Reflect.Message.decode (/Users/clau/Documents/portify-0.4-macosx/data/node_modules/spotify-web/node_modules/protobufjs/ProtoBuf.js:2137:51) at ProtoBuf.Reflect.Message.build.Message.decode (/Users/clau/Documents/portify-0.4-macosx/data/node_modules/spotify-web/node_modules/protobufjs/ProtoBuf.js:1982:41) at Function.protobufjs_parse_wrapper as parse at Spotify._parse (/Users/clau/Documents/portify-0.4-macosx/data/node_modules/spotify-web/lib/spotify.js:1285:20) at Spotify.sendProtobufRequest.parseData (/Users/clau/Documents/portify-0.4-macosx/data/node_modules/spotify-web/lib/spotify.js:589:18) at Spotify.sendProtobufRequest.parser (/Users/clau/Documents/portify-0.4-macosx/data/node_modules/spotify-web/lib/spotify.js:577:20) /Users/clau/Documents/portify-0.4-macosx/app.sh: line 4: 35545 Bus error: 10 $basedir/data/bin/node --harmony $basedir/data/app.js

JamesBelchamber commented 10 years ago

This is issue #95 - try the fixes yodiz provided there. I found this out by googling the error ;)