Skip to content

Carthage console tab-completion breaks when AsyncRequired raises from attributes #134

@srak289

Description

@srak289

For instance tab-completing
layout.Range.internet.machine.<TAB> -> does nothing

The following snippet shows determining which attribute is causing the error.

>>> errors = []
>>> for x in dir(layout.Range.internet.machine):
...     try:
...             a=getattr(layout.Range.internet.machine, x)
...     except Exception as e:
...             errors.append((str(e), x))
... 
>>> errors
[('Asynchronous dependency injected into non-asynchronous context Instantiating InjectionKey(SshKey) using <Injector base injector> for <Injector claimed by <Vm name:internet.range ip_address:192.168.63.224>>', 'ssh')]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions