Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

is_alive() on ActorProxy may cause ActorDeadError #3

Closed
jodal opened this issue May 11, 2011 · 0 comments
Closed

is_alive() on ActorProxy may cause ActorDeadError #3

jodal opened this issue May 11, 2011 · 0 comments
Assignees
Labels

Comments

@jodal
Copy link
Owner

jodal commented May 11, 2011

Using Pykka 0.12.2.

  1. Get a proxy for a running actor.
  2. ActorRegistry.stop_all()
  3. Call proxy.actor_ref.is_alive() results in the following exception:
Traceback (most recent call last):
  File "/home/jodal/dev/mopidy/tests/frontends/mpris/root_interface_test.py", line 17, in tearDown
    if self.backend.actor_ref.is_alive():
  File "/usr/lib/pymodules/python2.6/pykka/proxy.py", line 81, in __getattr__
    self._update_attrs()
  File "/usr/lib/pymodules/python2.6/pykka/proxy.py", line 61, in _update_attrs
    {'command': 'pykka_get_attributes'})
  File "/usr/lib/pymodules/python2.6/pykka/actor.py", line 426, in send_request_reply
    self.send_one_way(message)
  File "/usr/lib/pymodules/python2.6/pykka/actor.py", line 394, in send_one_way
    raise _ActorDeadError('%s not found' % self)
ActorDeadError: DummyBackend (urn:uuid:0d3a1518-0d19-48ef-b691-b359f177bcda) not found
@ghost ghost assigned jodal May 11, 2011
@jodal jodal closed this as completed in 7141376 Jun 25, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant