maraschino
maraschino copied to clipboard
CP module not showing
http://ip:port/xhr/couchpotato returns a blank page (with the CP livery).
Logs show this:
Mar-11 22:13:36 :: INFO :: CouchPotato :: Fetching "wanted movies" list
Mar-11 22:13:38 :: INFO :: CouchPotato :: Fetching "wanted movies" list (DONE)
Mar-11 22:13:49 :: INFO :: CouchPotato :: Fetching "wanted movies" list
Adding
logger.log('CouchPotato :: Cochpotato object list%s' % couchpotato, 'DEBUG')
for x in couchpotato:
logger.log('CouchPotato :: Cochpotato object %s' % x, 'DEBUG')
results in:
Mar-11 23:53:04 :: DEBUG :: CouchPotato :: Cochpotato object {u'files': [], u'library_id': 64, u'releases': [{u'status_id': u'3', u'quality_id': u'6'}], u'status_id': 3, u'profile_id': 0, u'library': {u'info'
Mar-11 23:53:04 :: DEBUG :: CouchPotato :: Cochpotato object {u'files': [], u'library_id': 118, u'releases': [{u'status_id': u'3', u'quality_id': u'3'}], u'status_id': 3, u'profile_id': 0, u'library': {u'info
Mar-11 23:53:04 :: DEBUG :: CouchPotato :: Cochpotato object {u'files': [], u'library_id': 430, u'releases': [{u'status_id': u'2', u'quality_id': u'3'}, {u'status_id': u'3', u'quality_id': u'3'}], u'status_id
Thats definitely a bug thanks for reporting. Could you tell me what those 3 movies are?
I can't I'm afraid - that was actually a small section of the log - there are as many lines in there as I expect there to have been films in my library, ie all of them.
Thats a shame, I think there might be a character in the return response that is probably breaking things.
In your browser go to couchpotatourl/api/yourapikey1234/media.list And paste the response.
Den 16. mars 2014 kl. 04:30 skrev Gustavo Hoirisch [email protected]:
Thats a shame, I think there might be a character in the return response that is probably breaking things.
— Reply to this email directly or view it on GitHub.
Your can try to replace line 70 in couchpotato.py with data = json.JSONDecoder('UTF-8').decode(data) aswell
Sendt fra min iPhone
Den 14. mars 2014 kl. 13:28 skrev sshaikh [email protected]:
I can't I'm afraid - that was actually a small section of the log - there are as many lines in there as I expect there to have been films in my library, ie all of them.
— Reply to this email directly or view it on GitHub.
The response is huge but it's there and seems pretty reasonable. On the other hand the UTF-8 fix worked a treat and I can now see the widget. Will this go into the git?
I dont know, they will prop fix it.Just dont hold your breath ;) Your good until next update atleast.
Actaully I spoke too soon - the widget is still behaving a little weird (history doesn't work neither does "all").
I'm guessing still some codepage issue?
Ok, paste the content of the link on pastebin. Nvm that the content if huge ;)
Den 17. mars 2014 kl. 00:30 skrev sshaikh [email protected]:
Actaully I spoke too soon - the widget is still behaving a little weird (history doesn't work neither does "all").
I'm guessing still some codepage issue?
— Reply to this email directly or view it on GitHub.
"all" and history are partially problems on CP side. I submitted tickets there (RuudBurger/CouchPotatoServer#4337 and RuudBurger/CouchPotatoServer#4348). Maraschino side corrections are in my pull request.
Thanks for getting this merged in cp, the same problem occurred randomly in htpc manager aswell
just to give a little more information, i can't get CP to work in the normal webinterface but on the mobile one it works fine, if you need any log's just give a heads up then i will send them to you.
keep up the nice work.. love it :)