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

Stuck at this won't take long screen with version 2.1.1 #59

Closed
MacXxs opened this issue Sep 21, 2017 · 21 comments
Closed

Stuck at this won't take long screen with version 2.1.1 #59

MacXxs opened this issue Sep 21, 2017 · 21 comments

Comments

@MacXxs
Copy link

MacXxs commented Sep 21, 2017

So, ya the title is self explenatory. I just installed the latest version, selected my cemu.exe version 1.9.1 and my games folder and I'm stuck at this screen.

@mrjvs
Copy link
Collaborator

mrjvs commented Sep 21, 2017

Please give more information. try to press "p" and show us the errors.

@MacXxs
Copy link
Author

MacXxs commented Sep 21, 2017

Thank you for your quick response, this is the only error I could find.
https://gyazo.com/fba001bfc9774c677cf71b2c4d3f9f53

@mrjvs
Copy link
Collaborator

mrjvs commented Sep 21, 2017

Hmm, that is weird. Please try the latest source version. Source is always newest version possible. Installation instructions are in the readme: https://github.com/RedDuckss/CemUI/blob/master/README.md

@MacXxs
Copy link
Author

MacXxs commented Sep 21, 2017

Okey, thank you, I'll give it a try

@MacXxs
Copy link
Author

MacXxs commented Sep 21, 2017

I did what you told me and i get this error: https://gyazo.com/521e580b5a8fca5d7ef6fd65c390594f

@mrjvs
Copy link
Collaborator

mrjvs commented Sep 21, 2017

Weird, I have notified redducks (the backend dev) of this.

@MacXxs
Copy link
Author

MacXxs commented Sep 21, 2017

Thank you

@jonbarrow
Copy link
Owner

I think I’ve found the cause for the error being thrown but as for the cause of the error I’m a bit stumped. Based on the line number, the error occurs while getting the Suggested section. The endpoint seems to have returned HTML instead of JSON, and CemUI wasn’t designed to handle that. It assumes all responses are JSON, and treats them as such, and I accidentally put the error checking after the JSON parsing.

But as to why it returned HTML, I have no idea, since the endpoint itself is designed to only respond with JSON.

jonbarrow added a commit that referenced this issue Sep 21, 2017
@jonbarrow
Copy link
Owner

@MacXxs Please try the latest dev version, as I have pushed out an update that moves the error checking to before the JSON parsing (like it should have been originally) and also added some logging to log what the API actually returns. Please run the dev version and screenshot the command prompt log, and send it here as a reply.

@MacXxs
Copy link
Author

MacXxs commented Sep 21, 2017

Okey, thank you for your response!!! At the moment i set foot at home i'll try it.

@MacXxs
Copy link
Author

MacXxs commented Sep 22, 2017

Sorry for the delay, I was working. I've redownloaded the latest dev version and now I get this error: https://gyazo.com/b4b84bddce8cc3973034ac3c149ceb5c
This is the command prompt: https://gyazo.com/aa38040afc20f639077f48eaff9ed833
Thanks for your attention!

jonbarrow added a commit that referenced this issue Sep 22, 2017
@jonbarrow
Copy link
Owner

@MacXxs My apologies, I added the logging to the wrong line. I just pushed a tiny update that just moves the logging to the correct line. Try now? You should still get an error, but it should be properly logged in the command prompt now.

@MacXxs
Copy link
Author

MacXxs commented Sep 22, 2017

Okey no problem!!

@MacXxs
Copy link
Author

MacXxs commented Sep 22, 2017

This is what i get: https://gyazo.com/f36c3deb16a777ad18afb0561ff7e644

@jonbarrow
Copy link
Owner

jonbarrow commented Sep 22, 2017

Ahh okay. Now I see. This was caused by an oversight of mine. That API endpoint expects a list of genres, and I did not account for cases where no genres are given.

What games do you currently have? Even with a single game, it should still be pulling genres from it. The only time I can see where there would be no genres is if there are no games.

@MacXxs
Copy link
Author

MacXxs commented Sep 22, 2017

The Legend of Zelda - Breath of The WIld

@jonbarrow
Copy link
Owner

Folder structure? Could be in the wrong structure and CemUI is ignoring it because of that, causing there to be no valid games stored.

You can find an example of the proper folder structure here #45

@MacXxs
Copy link
Author

MacXxs commented Sep 22, 2017

@jonbarrow
Copy link
Owner

Yupp, your issue is the exact same issue as #45. I posted a fix for it in that thread.

@MacXxs
Copy link
Author

MacXxs commented Sep 22, 2017

Okey, thank you!

@jonbarrow
Copy link
Owner

Assuming fixed and closing

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

3 participants