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

No such file or directory: '/opt/venv/lib/python3.7/site-packages/hm_pyhelper/gateway_mfr' #213

Open
ash-vd opened this issue Nov 29, 2022 · 1 comment

Comments

@ash-vd
Copy link

ash-vd commented Nov 29, 2022

Added the latest version to my docker-compose, but it throws this error after pairing with the app. I inspected the container using dive and the gateway_mfr folder indeed isn't there.

[DEBUG] - gatewayconfig.gatewayconfig_app - (gatewayconfig_app.py).__init__ -- /opt/gatewayconfig/gatewayconfig_app.py:(40) - Read eth0 mac address XX:XX:XX:XX:XX:XX and wlan0 XX:XX:XX:XX:XX:XX

[ERROR] - hm_pyhelper.miner_param - (miner_param.py).get_gateway_mfr_version -- /opt/venv/lib/python3.7/site-packages/hm_pyhelper/miner_param.py:(87) - Exception occurred on running gateway_mfr --version: [Errno 2] No such file or directory: '/opt/venv/lib/python3.7/site-packages/hm_pyhelper/gateway_mfr': '/opt/venv/lib/python3.7/site-packages/hm_pyhelper/gateway_mfr'
Traceback (most recent call last):
  File "/opt/venv/lib/python3.7/site-packages/hm_pyhelper/miner_param.py", line 83, in get_gateway_mfr_version
    check=True
  File "/usr/lib/python3.7/subprocess.py", line 472, in run
    with Popen(*popenargs, **kwargs) as process:
  File "/opt/venv/lib/python3.7/site-packages/sentry_sdk/integrations/stdlib.py", line 193, in sentry_patched_popen_init
    rv = old_popen_init(self, *a, **kw)  # type: ignore
  File "/usr/lib/python3.7/subprocess.py", line 775, in __init__
    restore_signals, start_new_session)
  File "/usr/lib/python3.7/subprocess.py", line 1522, in _execute_child
    raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: '/opt/venv/lib/python3.7/site-packages/hm_pyhelper/gateway_mfr': '/opt/venv/lib/python3.7/site-packages/hm_pyhelper/gateway_mfr'
2022-11-29 10:04:17,798 - [ERROR] - gatewayconfig.gatewayconfig_shared_state - (gatewayconfig_shared_state.py).load_public_key -- /opt/gatewayconfig/gatewayconfig_shared_state.py:(42) - Unable to read public key.
Traceback (most recent call last):
  File "/opt/venv/lib/python3.7/site-packages/hm_pyhelper/miner_param.py", line 83, in get_gateway_mfr_version
    check=True
  File "/usr/lib/python3.7/subprocess.py", line 472, in run
    with Popen(*popenargs, **kwargs) as process:
  File "/opt/venv/lib/python3.7/site-packages/sentry_sdk/integrations/stdlib.py", line 193, in sentry_patched_popen_init
    rv = old_popen_init(self, *a, **kw)  # type: ignore
  File "/usr/lib/python3.7/subprocess.py", line 775, in __init__
    restore_signals, start_new_session)
  File "/usr/lib/python3.7/subprocess.py", line 1522, in _execute_child
    raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: '/opt/venv/lib/python3.7/site-packages/hm_pyhelper/gateway_mfr': '/opt/venv/lib/python3.7/site-packages/hm_pyhelper/gateway_mfr'
@shawaj
Copy link
Member

shawaj commented Jan 5, 2023

@NebraLtd/developers could you take a look and see if we can reproduce this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants