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

Insufficient documentation #53

Open
akanimax opened this issue Sep 18, 2017 · 8 comments
Open

Insufficient documentation #53

akanimax opened this issue Sep 18, 2017 · 8 comments

Comments

@akanimax
Copy link

I am facing some issues in understanding the api usage since I couldn't find enough examples. Besides the existing examples are unfortunately not very clear. It would be a great help if successful users of this framework could provide links to their projects.

@mounaTay
Copy link

mounaTay commented Nov 7, 2017

@akanimax were you able to start an app with quepy??
it keeps raising " File "/usr/local/bin/quepy", line 77
print "Error: folder '{}' already exists".format(folder)"

@akanimax
Copy link
Author

akanimax commented Nov 8, 2017

@mounaTay yes I am able to start the quepy app. Could you please send the complete stack trace of the error you obtained, we will be better able to debug the error. From what I perceive, Your error is perhaps related to the setting up of the parser, tagger and the default corpus of nltk. Please go through the installation instructions (link here -> http://quepy.readthedocs.io/en/latest/installation.html#set-up-the-pos-tagger and try again.

@mounaTay
Copy link

mounaTay commented Nov 8, 2017

thanks, the installation was not done effectively, however now when i'm starting an app, i'm missing the parsing.py and settings.py files from the directory's tree
image
image

@akanimax
Copy link
Author

akanimax commented Nov 8, 2017

@mounaTay I think I had the same problem too (If I remember correctly, but it was quite similar to this). The way I solved it was by creating a virtualEnv local to my project and installed quepy on that virtualenv. Not sure why, but for some reason installing quepy in the global python env causes errors like these.
Perhaps @rafacarrascosa would be better able to help here.

@mounaTay
Copy link

mounaTay commented Nov 8, 2017

I've tried that but still not working for me

@mounaTay
Copy link

mounaTay commented Nov 8, 2017

I had to copy an existing settings.py file to make it work

@akanimax
Copy link
Author

akanimax commented Nov 9, 2017

@mounaTay well, that's a bit odd. But, I am glad that solved your problem.
cheers!

@brazierd
Copy link

brazierd commented Oct 9, 2018

I had this problem too, I found that /usr/local/lib/python2.7/dist-packages/quepy-0.2-py2.7.egg/ was a zip archive not a directory. So I installed unzip (sudo apt install unzip) and then replaced the archive with its contents, if you see what I mean - then there was a directory /usr/local/lib/python2.7/dist-packages/quepy-0.2-py2.7.egg/ where the startapp expected to find the settings.py. Seemed to work but perhaps it would be safer to remove quepy entirely, install unzip and then reinstall quepy.

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