Queries on contribtuing and a few errors

42 views
Skip to first unread message

Kumar Prasun

unread,
Dec 13, 2016, 5:56:08 AM12/13/16
to Quepy
Hey everybody,
I'm a beginner to open source projects but am interested in contributing for quepy. I've made a small pull request to fix a few typos in the tutorial doc (PR #38).


While going through the installation example ( and a slight confusion regarding quepy.py and quepy), I encountered the following error while trying to run -

$ quepy startapp dbpedia


  ...
 
  File "/home/testsubjector/code/github_python/quepy/env/local/lib/python2.7/site-packages/quepy-0.2-py2.7.egg/EGG-INFO/scripts/quepy", line 261, in <module>
   
  File "/home/testsubjector/code/github_python/quepy/env/local/lib/python2.7/site-packages/quepy-0.2-py2.7.egg/EGG-INFO/scripts/quepy", line 115, in startapp
   
IOError: [Errno 20] Not a directory: '/home/testsubjector/code/github_python/quepy/env/local/lib/python2.7/site-packages/quepy-0.2-py2.7.egg/quepy/settings.py'


I worked around the problem by extracting setting.py manually, but I want to know the origin of the problem.


Also, while trying to run the example (the Tom Cruise one), I got the following error

Resource u'taggers/averaged_perceptron_tagger/averaged_perceptron_tagger.pickle' not found.  Please use the NLTK Downloader to obtain the resource:  >>> nltk.download()

Replacing  the resource maxent_treebank_pos_tagger in the nltk folder with averaged_perceptron_tagger fixed the issue. Apparently this has do with perceptron tagger becoming the default POS tagger from NLTK ver3.2 ( https://github.com/nltk/nltk/pull/1143 ).  I think this change should also be reflected in the quepy code.

Kumar Prasun

unread,
Dec 19, 2016, 7:27:15 AM12/19/16
to Quepy
So I've made another commit to my PR,
changing
quepy.py startapp dbpedia
to
quepy startapp dbpedia

I would like to have some feedback and a bit of guide, on how to proceed to any other changes in the project.

Regards,
Kumar Prasun

Message has been deleted

abhishek valsn

unread,
Feb 5, 2017, 1:58:29 AM2/5/17
to Quepy
Screenshot from 2017-02-05 12-27-23.png
Reply all
Reply to author
Forward
0 new messages