Kitware / tangelo

A simple, quick, powerful web framework
http:/tangelohub.org/tangelo/
Apache License 2.0
185 stars 35 forks source link

easy_install --prefix doesn't work #499

Closed mathstuf closed 9 years ago

mathstuf commented 9 years ago

Installs performed with easy_install into a prefix fail at runtime:

easy_install --prefix=$HOME/misc/root/tangelo tangelo

with:

[02/Mar/2015:17:04:46] TANGELO No configuration file specified - using command line args and defaults
[02/Mar/2015:17:04:46] TANGELO Access authentication enabled
[02/Mar/2015:17:04:46] TANGELO Sessions enabled
[02/Mar/2015:17:04:46] TANGELO Hostname: localhost
[02/Mar/2015:17:04:46] TANGELO Port: 8080
[02/Mar/2015:17:04:46] TANGELO Privilege drop enabled (if necessary)
[02/Mar/2015:17:04:46] TANGELO  User: nobody
[02/Mar/2015:17:04:46] TANGELO  Group: nobody
[02/Mar/2015:17:04:46] TANGELO HTTPS disabled
[02/Mar/2015:17:04:46] TANGELO Looking for default web content path in /home/boeckb/misc/root/tangelo/lib/share/tangelo/web
[02/Mar/2015:17:04:46] TANGELO could not find default web root directory

install log:

Searching for tangelo
Reading https://pypi.python.org/simple/tangelo/
Best match: tangelo 0.8.1
Downloading https://pypi.python.org/packages/source/t/tangelo/tangelo-0.8.1.tar.gz#md5=6ef8a6f4381861f8781abd24fdbec9a9
Processing tangelo-0.8.1.tar.gz
Writing /tmp/easy_install-Hc_JNM/tangelo-0.8.1/setup.cfg
Running tangelo-0.8.1/setup.py -q bdist_egg --dist-dir /tmp/easy_install-Hc_JNM/tangelo-0.8.1/egg-dist-tmp-A6u3o3
zip_safe flag not set; analyzing archive contents...
tangelo.__main__: module references __file__
Adding tangelo 0.8.1 to easy-install.pth file
Installing tangelo script to /home/boeckb/misc/root/tangelo/bin
Installing tangelo-passwd script to /home/boeckb/misc/root/tangelo/bin

Installed /home/boeckb/misc/root/tangelo/lib/python2.7/site-packages/tangelo-0.8.1-py2.7.egg
Processing dependencies for tangelo
Searching for ws4py==0.3.2
Reading https://pypi.python.org/simple/ws4py/
Reading http://www.defuze.org/oss/ws4py/
Reading https://github.com/Lawouach/WebSocket-for-Python
Reading https://pypi.python.org/pypi/ws4py
Best match: ws4py 0.3.2
Downloading https://pypi.python.org/packages/source/w/ws4py/ws4py-0.3.2.zip#md5=f8baa22ada496785ddbf98b7f1b1175b
Processing ws4py-0.3.2.zip
Writing /tmp/easy_install-h3pIo9/ws4py-0.3.2/setup.cfg
Running ws4py-0.3.2/setup.py -q bdist_egg --dist-dir /tmp/easy_install-h3pIo9/ws4py-0.3.2/egg-dist-tmp-KlHnQE
zip_safe flag not set; analyzing archive contents...
Adding ws4py 0.3.2 to easy-install.pth file

Installed /home/boeckb/misc/root/tangelo/lib/python2.7/site-packages/ws4py-0.3.2-py2.7.egg
Searching for cherrypy==3.2.4
Reading https://pypi.python.org/simple/cherrypy/
Reading http://download.cherrypy.org/cherrypy/2.2.1/
Reading http://download.cherrypy.org/cherrypy/2.3.0/
Reading http://download.cherrypy.org/cherrypy/3.0.0/
Reading http://download.cherrypy.org/cherrypy/3.0.1/
Reading http://download.cherrypy.org/cherrypy/3.0.2/
Reading http://download.cherrypy.org/cherrypy/3.0.3/
Reading http://download.cherrypy.org/cherrypy/3.0.4/
Reading http://download.cherrypy.org/cherrypy/3.0RC1/
Reading http://download.cherrypy.org/cherrypy/3.1.0/
Reading http://download.cherrypy.org/cherrypy/3.1.0beta3/
Reading http://download.cherrypy.org/cherrypy/3.1.0rc1/
Reading http://download.cherrypy.org/cherrypy/3.1.1/
Reading http://download.cherrypy.org/cherrypy/3.1.2/
Reading http://download.cherrypy.org/cherrypy/3.1beta/
Reading http://download.cherrypy.org/cherrypy/3.2.0/
Reading http://download.cherrypy.org/cherrypy/3.2.2/
Reading http://download.cherrypy.org/cherrypy/3.2.3/
Reading http://sourceforge.net/project/showfiles.php?group_id=56099
Reading http://trac.cherrypy.org/cgi-bin/trac.cgi/wiki/CherryPyDownload
Reading http://www.cherrypy.org
Best match: CherryPy 3.2.4
Downloading https://pypi.python.org/packages/source/C/CherryPy/CherryPy-3.2.4.zip#md5=c536caebc207731a0fba378818f841be
Processing CherryPy-3.2.4.zip
Writing /tmp/easy_install-67PDQe/CherryPy-3.2.4/setup.cfg
Running CherryPy-3.2.4/setup.py -q bdist_egg --dist-dir /tmp/easy_install-67PDQe/CherryPy-3.2.4/egg-dist-tmp-lScXl4
zip_safe flag not set; analyzing archive contents...
cherrypy._cptree: module references __file__
cherrypy._cpmodpy: module references __file__
cherrypy.lib.profiler: module references __file__
cherrypy.lib.gctools: module MAY be using inspect.getframeinfo
cherrypy.lib.cpstats: module references __file__
cherrypy.lib.covercp: module references __file__
cherrypy.tutorial.tut10_http_errors: module references __file__
cherrypy.tutorial.tut09_files: module references __file__
cherrypy.tutorial.tut08_generators_and_yield: module references __file__
cherrypy.tutorial.tut07_sessions: module references __file__
cherrypy.tutorial.tut06_default_method: module references __file__
cherrypy.tutorial.tut05_derived_objects: module references __file__
cherrypy.tutorial.tut04_complex_site: module references __file__
cherrypy.tutorial.tut03_get_and_post: module references __file__
cherrypy.tutorial.tut02_expose_methods: module references __file__
cherrypy.tutorial.tut01_helloworld: module references __file__
cherrypy.test.test_wsgiapps: module references __file__
cherrypy.test.test_virtualhost: module references __file__
cherrypy.test.test_static: module references __file__
cherrypy.test.test_states: module references __file__
cherrypy.test.test_session: module references __file__
cherrypy.test.test_routes: module references __file__
cherrypy.test.test_request_obj: module references __file__
cherrypy.test.test_misc_tools: module references __file__
cherrypy.test.test_logging: module references __file__
cherrypy.test.test_core: module references __file__
cherrypy.test.test_config_server: module references __file__
cherrypy.test.test_config: module references __file__
cherrypy.test.test_caching: module references __file__
cherrypy.test.modwsgi: module references __file__
cherrypy.test.modpy: module references __file__
cherrypy.test.modfcgid: module references __file__
cherrypy.test.modfastcgi: module references __file__
cherrypy.test.helper: module references __file__
cherrypy.test.checkerdemo: module references __file__
cherrypy.test.benchmark: module references __file__
cherrypy.process.plugins: module references __file__
cherrypy.scaffold.__init__: module references __file__
Adding CherryPy 3.2.4 to easy-install.pth file
Installing cherryd script to /home/boeckb/misc/root/tangelo/bin

Installed /home/boeckb/misc/root/tangelo/lib/python2.7/site-packages/CherryPy-3.2.4-py2.7.egg
Finished processing dependencies for tangelo
waxlamp commented 9 years ago

Thanks @mathstuf - will get to this very soon.

waxlamp commented 9 years ago

AFAICT, this bug doesn't occur on the development branch. We could therefore solve the problem by cutting a 0.9 release (and then have @mathstuf try installing and running it). @jeffbaumes, ok with you?

jeffbaumes commented 9 years ago

Cut away!

waxlamp commented 9 years ago

v0.9 is out (including updated documentation at RTD).

@mathstuf, do you mind trying your easy_install once more to see if the bug is fixed? I will wait to see if it is before I announce to the mailing list (in case I have to perform a 0.9.1 right away).

waxlamp commented 9 years ago

v0.9 fixes this issue, as confirmed by @mathstuf.