Closed aterrel closed 9 years ago
Hi @aterrel I saw this last night as well, however I cannot reproduce with master branch. After checking out a fresh copy of the codebase and following the instructions in the README, I get a clean, successful build
...
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 9.123 s
[INFO] Finished at: 2015-01-10T08:58:41-08:00
[INFO] Final Memory: 10M/265M
[INFO] ------------------------------------------------------------------------
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'install_requires'
warnings.warn(msg)
running install
running build
running build_py
copying nutchpy/java_libs/seqreader-app-1.0-SNAPSHOT-jar-with-dependencies.jar -> build/lib/nutchpy/java_libs
running install_lib
creating /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/nutchpy
copying build/lib/nutchpy/__init__.py -> /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/nutchpy
creating /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/nutchpy/ex_data
copying build/lib/nutchpy/ex_data/crawl_fetch_data -> /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/nutchpy/ex_data
copying build/lib/nutchpy/ex_data/crawldb_data -> /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/nutchpy/ex_data
copying build/lib/nutchpy/ex_data/linkdb_data -> /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/nutchpy/ex_data
creating /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/nutchpy/java_libs
copying build/lib/nutchpy/java_libs/seqreader-app-1.0-SNAPSHOT-jar-with-dependencies.jar -> /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/nutchpy/java_libs
copying build/lib/nutchpy/JVM.py -> /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/nutchpy
copying build/lib/nutchpy/readers.py -> /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/nutchpy
byte-compiling /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/nutchpy/__init__.py to __init__.pyc
byte-compiling /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/nutchpy/JVM.py to JVM.pyc
byte-compiling /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/nutchpy/readers.py to readers.pyc
running install_egg_info
Writing /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/nutchpy-0.1-py2.7.egg-info
Additionally, I would comment that the proposed fix posted by Shadi Saleh suggests that the source and target Javac should be pinned to 1.5, this is not correct. The README for Nutchpy explicitly states JDK1.6+, meaning that at a minimum the maven-compiler-plugin config, if included, should be pinned to 1.6.
I don't see anything wrong with Nutchpy as it stands. It would be very useful to see someone else make an attempt to install from scratch. Thanks
I think this isn't an error anymore.
Bug report from Shadi Saleh propatrio@gmail.com
When installing, the following errors occur
But things worked when adding
nutchpy/seqreader-app/pom.xml