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

Grano working from repository ? #77

Open
leondelpech opened this issue Sep 21, 2014 · 7 comments
Open

Grano working from repository ? #77

leondelpech opened this issue Sep 21, 2014 · 7 comments

Comments

@leondelpech
Copy link

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

@ericjze
Copy link

ericjze commented Nov 25, 2014

What were the steps you took to install grano?

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

@nightsh
Copy link

nightsh commented Dec 13, 2014

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?

@pudo
Copy link

pudo commented Dec 14, 2014

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?

@nightsh
Copy link

nightsh commented Dec 14, 2014

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

@nightsh
Copy link

nightsh commented Dec 14, 2014

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.

@pudo
Copy link

pudo commented Dec 14, 2014

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
#77 (comment).

@ericjze
Copy link

ericjze commented Dec 15, 2014

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

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

4 participants