-
Notifications
You must be signed in to change notification settings - Fork 20
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
Qudi modifies system path variable #12
Comments
You did not show the actual error here, can you post that? |
The only place where the path could differ from the qudi process is here |
Thanks for pointing it out. I put the error message under the 'log
output' section now, sorry.
…On 2/7/22 12:58, Jan Binder wrote:
You did not show the actual error here, can you post that?
—
Reply to this email directly, view it on GitHub
<#12 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACVMTINXMTWTZ6IJPJHWDODUZ6XXPANCNFSM5NXGQBOA>.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Python sys.path is not really $PATH.
We should also switch back to QtUiTools.loadUiType() instead of implementing UI compilation ourselves. |
Gladly... if this works now. My last attempt was over a year ago. A problem that will still remain however is having custom/promoted widgets in the |
After trying commands like 'ls' etc. which also did not work I figured out that the path could not really be the cause The question is now if this change would break something on other platforms Another thing which works is |
Has been resolved by merging PR #18. |
Version
v1.0.1
What is affected by the bug?
I tried using different versions of Pyside2 5.15.2.1 / 5.15.2 / 5.15.1 to no avail.
Just running pyside2-uic "some-gui-module.ui" runs without error.
As @kay-jahnke pointed out it seems like the environment qudi runs in
does not have access to "pyside2-uic".
Yet in the same terminal qudi is started from and in the same environment pyside2-uic can
be run from the command line.
This shows the output when run sys.path within qudi:
![image](https://user-images.githubusercontent.com/11192737/152781163-3bb00f6d-09d9-4776-b9b3-a253cc47327d.png)
![image](https://user-images.githubusercontent.com/11192737/152781253-acd78c65-5de3-417a-90b3-11b7d4a68412.png)
![image](https://user-images.githubusercontent.com/11192737/152781577-3e4acbdc-d561-4985-8ff9-ba818c729b40.png)
The output where pyside2-uic resides
This is when run in the ipython console
It seems like qudi is modifying the path variable, which I am not sure how to fix at the moment.
When does the bug occur?
Trying to load Gui modules with a "*.ui" file.
How do we replicate the issue?
Seems to occur only on Linux.
Expected behavior
Create a uic file.
Relevant log output
Exception during activation:
Additional Comments
No response
Contact Details
wgolff@googlemail.com
The text was updated successfully, but these errors were encountered: