Skip to content

AttributeError in signal API breaks local mode #5013

@rueberger

Description

@rueberger

System information

  • OS Platform and Distribution: ubuntu 16.04
  • Ray installed from: binary
  • Ray version: 0.7.0
  • Python version: 3.5.2
  • Exact command to reproduce: run signal tests in local mode

Describe the problem

Using ray.experimental.signal.send in local_mode results in:


~/.local/lib/python3.5/site-packages/ray/experimental/signal.py in send(signal)
     73 
     74     encoded_signal = ray.utils.binary_to_hex(cloudpickle.dumps(signal))
---> 75     ray.worker.global_worker.redis_client.execute_command(
     76         "XADD " + source_key + " * signal " + encoded_signal)
     77 

AttributeError: 'Worker' object has no attribute 'redis_client'

Metadata

Metadata

Assignees

Labels

P3Issue moderate in impact or severity

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions