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

Bug: hdmiCecController.py fails to be included when core is used in ut-raft #127

Open
Ulrond opened this issue Dec 2, 2024 · 0 comments · May be fixed by #115
Open

Bug: hdmiCecController.py fails to be included when core is used in ut-raft #127

Ulrond opened this issue Dec 2, 2024 · 0 comments · May be fixed by #115
Labels
bug Something isn't working Create_Jira

Comments

@Ulrond
Copy link
Collaborator

Ulrond commented Dec 2, 2024

bug in hdmCECController.py

import sys
MY_PATH = path.realpath(__file__)
MY_DIR = path.dirname(MY_PATH)
sys.path.append(path.join(MY_DIR,'/../../'))
from framework.core.logModule import logModule

from hdmicecModules import CECClientController, MonitoringType

needs to be

from framework.core.hdmicecModules import CECClientController, MonitoringType

it assumes that you've added hdmicecModules into the current path which you have not in this file.

or

sys.path.append(path.join(MY_DIR,'/../')) - would be required
@Ulrond Ulrond added the bug Something isn't working label Dec 2, 2024
@TB-1993 TB-1993 linked a pull request Dec 6, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Create_Jira
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant