Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CP module not showing #352

Open
sshaikh opened this issue Mar 11, 2014 · 12 comments
Open

CP module not showing #352

sshaikh opened this issue Mar 11, 2014 · 12 comments

Comments

@sshaikh
Copy link

sshaikh commented Mar 11, 2014

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
@gugahoi
Copy link
Collaborator

gugahoi commented Mar 14, 2014

Thats definitely a bug thanks for reporting. Could you tell me what those 3 movies are?

@sshaikh
Copy link
Author

sshaikh commented Mar 14, 2014

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.

@gugahoi
Copy link
Collaborator

gugahoi commented Mar 16, 2014

Thats a shame, I think there might be a character in the return response that is probably breaking things.

@Hellowlol
Copy link

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.

@Hellowlol
Copy link

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.

@sshaikh
Copy link
Author

sshaikh commented Mar 16, 2014

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?

@Hellowlol
Copy link

I dont know, they will prop fix it.Just dont hold your breath ;) Your good until next update atleast.

@sshaikh
Copy link
Author

sshaikh commented Mar 16, 2014

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?

@Hellowlol
Copy link

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.

@imro2
Copy link

imro2 commented Dec 19, 2014

"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.

@Hellowlol
Copy link

Thanks for getting this merged in cp, the same problem occurred randomly in htpc manager aswell

@Cyper-Madsen
Copy link

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 :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants