[MacPorts] #42754: Missing Redis dependency

MacPorts noreply at macports.org
Fri Mar 7 06:18:07 PST 2014


#42754: Missing Redis dependency
----------------------------+--------------------------------
 Reporter:  eric.lebigot@…  |      Owner:  macports-tickets@…
     Type:  defect          |     Status:  new
 Priority:  Normal          |  Milestone:
Component:  ports           |    Version:  2.2.1
 Keywords:  redis bokeh     |       Port:  py27-bokeh
----------------------------+--------------------------------
 Bokeh is missing a dependency on the "redis" port. In fact, running bokeh-
 server-2.7 (provided by py27-bokeh) yields the error in the PS. Installing
 the redis port fixes this.

 If this is an optional dependency, it would be nice to get either a nicer
 error message, or at the very least some instructions about the fact that
 redis should be installed if the Bokeh server is needed (or did I miss
 this in the install messages?).

 PS: Here is the error message:
 {{{
 % bokeh-server-2.7
 Traceback (most recent call last):
   File "/opt/local/bin/bokeh-server-2.7", line 74, in <module>
     main()
   File "/opt/local/bin/bokeh-server-2.7", line 71, in main
     start.start_app(verbose=args.verbose)
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages/bokeh/server/start.py", line 110, in start_app
     start_services()
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages/bokeh/server/start.py", line 98, in start_services
     save=redis_save
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages/bokeh/server/services.py", line 84, in start_redis
     stdin=subprocess.PIPE
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages/bokeh/server/services.py", line 29, in __init__
     raise OSError(error.errno, "unable to execute: %s" % " ".join(args))
 OSError: [Errno 2] unable to execute: redis-server -
 Exception KeyError: KeyError(4325027184,) in <module 'threading' from
 '/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/threading.pyc'>
 ignored
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/42754>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list