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

ModuleNotFoundError when looking up in conn.modules #516

Closed
sergei-sh opened this issue Nov 20, 2022 · 0 comments
Closed

ModuleNotFoundError when looking up in conn.modules #516

sergei-sh opened this issue Nov 20, 2022 · 0 comments
Assignees
Labels
Bug Confirmed bug Done The issue discussion is exhausted and is closed w/ comment

Comments

@sergei-sh
Copy link

Desired: no error on the server side
Actual: see
screenshot

Environment
  • rpyc version
    5.0.1
  • python version
    3.8
  • operating system
    Server: win-10-x64
    Client: debian (5.10)
Minimal example

Server:

        server = ThreadedServer(SlaveService,
                                hostname=args.host,
                                port=args.port,
                                protocol_config={'sync_request_timeout': 600})
        server.start()

Client:

    if 'test_name' in conn.modules:
        pass

    if abs_name in conn.modules:
        pass
@comrumino comrumino self-assigned this Nov 26, 2022
@comrumino comrumino added Bug Confirmed bug Done The issue discussion is exhausted and is closed w/ comment labels Nov 26, 2022
comrumino added a commit that referenced this issue Nov 26, 2022
…xceptions using importlib (also replaced __import__ w/ importlib.import_module)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Confirmed bug Done The issue discussion is exhausted and is closed w/ comment
Projects
None yet
Development

No branches or pull requests

2 participants