butterproject / butter-desktop

All the free parts of Popcorn Time
http://butterproject.org/
GNU Affero General Public License v3.0
4.29k stars 1.09k forks source link

Settings / Shuffle - buttons does not work #19

Closed hovmeister closed 7 years ago

hovmeister commented 9 years ago
>> [29091:1024/035842:INFO:CONSOLE(21)] ""%c[%cERROR%c] TypeError: Cannot read property 'authenticated' of null" "color: black;" "color: red;" "color: black;" "TypeError: Cannot read property 'authenticated' of null\n    at eval (eval at \u003Canonymous\u003E (app://host/src/app/vendor/underscore/underscore.js:1454:20), \u003Canonymous\u003E:272:23)\n    at template (app://host/src/app/vendor/underscore/underscore.js:1461:21)\n    at Object.Marionette.Renderer.render (app://host/src/app/vendor/marionette/lib/backbone.marionette.js:1655:14)\n    at Marionette.ItemView.Marionette.View.extend._renderTemplate (app://host/src/app/vendor/marionette/lib/backbone.marionette.js:2117:38)\n    at Marionette.ItemView.Marionette.View.extend.render (app://host/src/app/vendor/marionette/lib/backbone.marionette.js:2085:12)\n    at Marionette.Region.Marionette.Object.extend._renderView (app://host/src/app/vendor/marionette/lib/backbone.marionette.js:1210:12)\n    at Marionette.Region.Marionette.Object.extend.show (app://host/src/app/vendor/marionette/lib/backbone.marionette.js:1138:14)\n    at Backbone.Marionette.LayoutView.extend.showSettings (app://host/src/app/lib/views/main_window.js:419:27)\n    at triggerEvents (app://host/src/app/vendor/backbone/backbone.js:368:57)\n    at triggerApi (app://host/src/app/vendor/backbone/backbone.js:356:19)"", source: app://host/src/app/app.js (21)
>> [29091:1024/035842:INFO:CONSOLE(272)] "Uncaught TypeError: Cannot read property 'authenticated' of null", source: app://host/src/app/index.html (272)

This message gets produced for each click on the settings button.

Running on Manjaro Linux 64bit (arch). Cloned master branch, installed / built / ran according to quickstart method.

I get a simmilar message when pressing the shuffle button.

Let me know if you want some logs or for me to try something else, i'm not that technical, but will help with what i can :)

douglascamata commented 9 years ago

Someone's working on a fix at #25

xaiki commented 9 years ago

merged #25 please confirm it fixed your issue.

hovmeister commented 9 years ago
>> [9812:1025/000750:INFO:CONSOLE(21)] ""%c[%cERROR%c] couldn't find provider" "color: black;" "color: red;" "color: black;" "Yts"", source: app://host/src/app/app.js (21)
>> [9812:1025/000750:INFO:CONSOLE(21)] ""%c[%cERROR%c] TypeError: Cannot read property 'random' of null" "color: black;" "color: red;" "color: black;" "TypeError: Cannot read property 'random' of null\n    at App.View.FilterBar.Backbone.Marionette.ItemView.extend.randomMovie (app://host/src/app/lib/views/browser/filter_bar.js:445:37)\n    at HTMLDivElement.jQuery.event.dispatch (app://host/src/app/vendor/jquery/dist/jquery.js:4435:9)\n    at HTMLDivElement.elemData.handle (app://host/src/app/vendor/jquery/dist/jquery.js:4121:28)"", source: app://host/src/app/app.js (21)
>> [9812:1025/000750:INFO:CONSOLE(445)] "Uncaught TypeError: Cannot read property 'random' of null", source: app://host/src/app/lib/views/browser/filter_bar.js (445)

settings now works, shuffle gives the error above, with spinning "loading"-circles endlessly.... Pushing any other buttons resumes normal operation

MrAdder commented 9 years ago

Shuffle/Random at this time will not work as the API that we are using does not have this enabled I will work on getting this feature to work in a different way that it does currently.

hovmeister commented 9 years ago

Ok :)

Should I then close this issue or leave it open?

MrAdder commented 9 years ago

Leave it open for now :) So its here for refrence

hovmeister commented 9 years ago

No longer gives endless loop, but displays Error loading data, please try again later

>> [6171:1027/162428:INFO:CONSOLE(16)] ""[%cWARNING%c] Vodo API endpoint '%s' failed." "color: orange;" "color: black;" "http://butter.vodo.net/popcorn"", source: app://host/src/app/app.js (16)
MrAdder commented 9 years ago

This we are aware of and working on fixing

xaiki commented 8 years ago

@MrAdder the vodo api can randomize, but it won't because it has ... 14 elements... but you have a local db you can just implement a random there.

vankasteelj commented 7 years ago

@xaiki is it fixed?

xaiki commented 7 years ago

should be...

xaiki commented 7 years ago

confirmed fixed