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

Loading semantics, please wait... #24

Open
woldtwerk opened this issue Jun 18, 2019 · 7 comments
Open

Loading semantics, please wait... #24

woldtwerk opened this issue Jun 18, 2019 · 7 comments

Comments

@woldtwerk
Copy link

Fill the blanks is running just fine. I can modify settings and content in the .json and js files.
I can't get the editor working though. All I get is "Loading semantics, please wait..."
Am I missing something?

@icc
Copy link
Member

icc commented Jun 18, 2019

Try opening your browser console(Ctrl+Shift+J in Chrome/Firefox) and look for any errors.

@woldtwerk
Copy link
Author

Uncaught SyntaxError: Unexpected token u in JSON at position 0
at JSON.parse ()
at Object.success (h5peditor.js:72)
at c (jquery.js:2)
at Object.fireWith [as resolveWith] (jquery.js:2)
at k (jquery.js:4)
at XMLHttpRequest.r (jquery.js:4)

I got some undefined strings there. Those can't be parsed. E.g. libraryData.language

@icc
Copy link
Member

icc commented Jun 18, 2019

There appears to be an error in one of the translation files. What language are you using?

@woldtwerk
Copy link
Author

woldtwerk commented Jun 18, 2019

Well, the interface is in english. I didn't set it to english anywhere though. I did not see or got asked to set any language.

I tried adding: "language": "und" to the server.json file, but it had no impact

@JuStTheDev
Copy link
Contributor

Hi,
since (in that case Blanks) has a minor version 12 which has two digits. That leads to h5peditor.js not handling the libraryFromString correctly, because the regExp is demanding a single digit as minor version.

@JuStTheDev
Copy link
Contributor

Hi Frode,
@icc as vou can see, I made a PR for handling multi-digit-versioned Libraries correctly.

@woldtwerk
Copy link
Author

The fix by @Juliansss works for me.

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