grano
grano copied to clipboard
Grano working from repository ?
Hi,
I was wondering, does Grano actually work for other users ? I have been trying to get it operational with no luck. Getting a 404 error for the app and spent days trying to fix but with now luck.
Deployed, Mac and Ubuntu with no luck both same error.
{"status": 404, "message": "The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.", "name": "Not Found"}
What were the steps you took to install grano?
pip install grano or by the steps listed at http://granoproject.org/docs/install/ ?
Hey there, I have exactly the same problem, after following the steps in http://granoproject.org/docs/install/.
FWIW, I have a bunch of warnings when trying to execute loader.py
:
(env)grano@wasp:~/grano/demo/demo_python$ python ./loader.py
INFO:grano.plugins:Enabled: bidi_create, bidi_refresh, degrees, levenshtein
INFO:grano.plugins:Available: bidi_create, bidi_refresh, degrees, levenshtein
WARNING:grano.logic.loader:Validation error: {'schema': 'Missing'}
WARNING:grano.logic.loader:Validation error: {'schema': 'Missing'}
WARNING:grano.logic.loader:Validation error: {'schema': 'Missing'}
WARNING:grano.logic.loader:Validation error: {'schema': 'Missing'}
WARNING:grano.logic.loader:Validation error: {'schema': 'Missing'}
WARNING:grano.logic.loader:Validation error: {'schema': 'Missing'}
WARNING:grano.logic.loader:Validation error: {'source': 'Missing', 'target': 'Missing', 'schema': 'Missing'}
[the same warnings, repeated 19 times]
And the server startup as follows:
(env)grano@wasp:~/grano/demo/demo_python$ grano runserver
INFO:grano.plugins:Enabled: bidi_create, bidi_refresh, degrees, levenshtein
INFO:grano.plugins:Available: bidi_create, bidi_refresh, degrees, levenshtein
INFO:werkzeug: * Running on http://0.0.0.0:5000/
INFO:werkzeug: * Restarting with reloader
INFO:grano.plugins:Enabled: bidi_create, bidi_refresh, degrees, levenshtein
INFO:grano.plugins:Available: bidi_create, bidi_refresh, degrees, levenshtein
INFO:werkzeug:127.0.0.1 - - [13/Dec/2014 10:29:23] "GET / HTTP/1.1" 404 -
Any thoughts / additional information I can provide?
I think there are two issues here.
@leondelpech - did you install grano ui? If you didn't then the home page of grano is actually a 404, all functionality is at /api/1
.
@nightsh did you import the schema file before you ran the loader?
@pudo yes I did, I'll try to look into the source code in a few moments ;-)
Edit: fixed it, it was a grano-ui problem after all. Maybe updating the README file to include some basic info about the UI will fix this misunderstanding? I think people generally expect grano to also serve a frontend by default.
Anyway, I think this issue can be closed now. It's clearly based on a (possibly) common misconception about how grano works.
You're absolutely right. Do you want to suggest a pull to the README?
On Sun, Dec 14, 2014 at 12:19 PM, Victor Nițu [email protected] wrote:
Edit: fixed it, it was a grano-ui problem after all. Maybe updating the README file to include some basic info about the UI will fix this misunderstanding? I think people generally expect grano to also serve a frontend by default.
Anyway, I think this issue can be closed now. It's clearly based on a (possibly) common misconception about how grano works.
— Reply to this email directly or view it on GitHub https://github.com/granoproject/grano/issues/77#issuecomment-66908558.
nightsh, can you detail the steps you took to solve your problem? A pull to the README would be great.