-
Notifications
You must be signed in to change notification settings - Fork 49
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
Trouble getting going on Windows #5
Comments
Hi Gareth, |
|
Could you try adding the following to line 120 of Specification.py (just inside
|
Thanks for quick response, Andrew. That doesn't seem to work for me, but I'll try debugging more tomorrow! |
OK, after a merry dance trying to understand why that URLError was occurring in that code, we found it wasn't happening there at all. It's coming from ramlfications.parse right up front... See jdiegodcp/ramlfications#111. |
Well that's a pain! I wonder how hard that would be to resolve. |
I've just hacked ramlfications/loader.py to work (= get on to the next problem).
|
Does adding the following at the top of Specification.py after the imports solve the problem?
|
I don't think so. Is the RAMLLoader being constructed on the fly so that the above doesn't have any effect on the loader instance actually used? |
Ah, no, I see. I just needed to tweak your workaround like so:
Great. |
Yes, was just about to say that. more haste less speed needed on my part. I'll refactor this into a slightly more sensible place. |
I have switched from the RiedelCommunications repo, successfully pip installed the additional dependencies (gitpython, netifaces, ramlfication), and started up test-nmos.py OK. I can see it's fetched the IS-04 specs etc.
Trying to execute first test, "IS-04 Node API", I get error in the browser and console:
Since it has successfully downloaded resource_core.json and the other schema files, I assume this is about resolving the first '$ref' it processes, presumably in schemas/node.json?
Any ideas?
The text was updated successfully, but these errors were encountered: