-
Notifications
You must be signed in to change notification settings - Fork 1
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 module named src.app #1
Comments
Hi, The project is still in a very early stage, I am still trying to figure out the project structure and configurations. The app cannot be executed as is, you need to install it with pip, then execute it with its name (fw-fanctrl-gui), or the command Could you also describe the steps you did to execute it? |
By the way, who was ChangjingZhang? |
He is already blocked and github removed the commends |
If I replace But now I get QIODevice::read (QFile, "resources/ui/main/main.ui"): device not open
Designer: An error has occurred while reading the UI file at line 1, column 0: Premature end of document.
Traceback (most recent call last):
File "/nix/store/hps2jabva0rq38wm2g56bpa51zvwfqwz-python3.12-fw-fanctrl-gui-26-08-2024/bin/.fw-fanctrl-gui-wrapped", line 9, in <module>
sys.exit(main())
^^^^^^
File "/nix/store/hps2jabva0rq38wm2g56bpa51zvwfqwz-python3.12-fw-fanctrl-gui-26-08-2024/lib/python3.12/site-packages/src/__main__.py", line 4, in main
start()
File "/nix/store/hps2jabva0rq38wm2g56bpa51zvwfqwz-python3.12-fw-fanctrl-gui-26-08-2024/lib/python3.12/site-packages/src/index.py", line 30, in start
window = main(args, app, fanctrlService)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/nix/store/hps2jabva0rq38wm2g56bpa51zvwfqwz-python3.12-fw-fanctrl-gui-26-08-2024/lib/python3.12/site-packages/src/app/MainWindow.py", line 170, in main
window = MainWindow(icon, fanctrlService)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/nix/store/hps2jabva0rq38wm2g56bpa51zvwfqwz-python3.12-fw-fanctrl-gui-26-08-2024/lib/python3.12/site-packages/src/app/MainWindow.py", line 16, in __init__
self.ui = QtUiTools.QUiLoader().load("resources/ui/main/main.ui")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
RuntimeError: Unable to open/read ui device I think its because the |
If I execute the build in the folder where the |
Thanks, maybe I missed something... I will check that later on, I do not have much time these days 😅 I am also thinking of using PyInstaller to make a one click install without worring about Python version and virtualenv. |
Nice. If the nix build work I would love too add the gui as experimental feature to the fw-fanctrl nix flake. Would this ne bine for you? |
I appreciate the intention, but
I will try to have it working properly on all platforms by Tuesday if you want to try it. |
Approval granted! Nice job :) |
Thanks a lot, This is a project I can work on without my main pc at hand during this one-month absence, I will do my best to work on it when I find some time :) It is also an opportunity to work with the standard pip installation (as described in TamtamHero/fw-fanctrl#73) and get it right before implementing it in the core project. Have a nice day! |
(ps. I may not be available during normal hours due to time zones and working hours, If you contact me, I will answer as soon as I can) |
Some news on this front? |
Hi @Svenum , how are you doing? |
I am doing good. That sound great. I really looking into this project. |
Hi,
I saw this project and would try it on nix, but if I execute it I got this error:
Have you any idea?
The text was updated successfully, but these errors were encountered: