Opened 6 years ago

Closed 5 years ago

#42754 closed defect (fixed)

Missing Redis dependency

Reported by: eric.lebigot@… Owned by: stromnov (Andrew Stromnov)
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: Cc: petrrr
Port: py-bokeh

Description

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

Change History (3)

comment:1 Changed 6 years ago by mf2k (Frank Schima)

Cc: stromnov@… openmaintainer@… removed
Keywords: redis bokeh removed
Owner: changed from macports-tickets@… to stromnov@…
Port: py-bokeh added; py27-bokeh removed

Please do not Cc openmaintainer@… because it is not a valid email address.

comment:2 Changed 6 years ago by petrrr

Cc: Peter.Danecek@… added

Cc Me!

comment:3 Changed 5 years ago by petrrr

Resolution: fixed
Status: newclosed

This was fixed in r117695, closing.

Note: See TracTickets for help on using tickets.