grano icon indicating copy to clipboard operation
grano copied to clipboard

Grano working from repository ?

Open leondelpech opened this issue 9 years ago • 7 comments

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

leondelpech avatar Sep 21 '14 13:09 leondelpech

What were the steps you took to install grano?

pip install grano or by the steps listed at http://granoproject.org/docs/install/ ?

e6 avatar Nov 25 '14 19:11 e6

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?

nightsh avatar Dec 13 '14 15:12 nightsh

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 avatar Dec 14 '14 07:12 pudo

@pudo yes I did, I'll try to look into the source code in a few moments ;-)

nightsh avatar Dec 14 '14 09:12 nightsh

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.

nightsh avatar Dec 14 '14 10:12 nightsh

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.

pudo avatar Dec 14 '14 10:12 pudo

nightsh, can you detail the steps you took to solve your problem? A pull to the README would be great.

e6 avatar Dec 15 '14 15:12 e6