-
Notifications
You must be signed in to change notification settings - Fork 881
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
On Windows 10 UI does not render, executable is running though #769
Comments
|
Hi 1 i Tried will no avail unfortunately.. building from source btw seems the same issue when building and running from cmd line without installing
thanks for you help and suggestions really would like this working with my hackrf ;-) Regards and Greetings, |
Just tested latest master in a Windows 10 VM and it works fine there. Maybe this is some
voodoo? |
hi
Tried running as admin for both installation and running for the regular and debug version. No difference really weird this. Reinstalled my whole php toolchain still no difference. This is an interesting problem 😁
Greetings
Leo
Verstuurd vanaf mijn iPhone
… Op 23 apr. 2020 om 18:22 heeft Johannes Pohl ***@***.***> het volgende geschreven:
Just tested latest master in a Windows 10 VM and it works fine there. Maybe this is some "Run as administrator" / "Windows Defender" voodoo?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
Are you able to run a simple hello world PyQt5 script like the following? # https://pythonprogramminglanguage.com/pyqt5-hello-world/
import sys
from PyQt5 import QtCore, QtWidgets
from PyQt5.QtWidgets import QMainWindow, QLabel, QGridLayout, QWidget
from PyQt5.QtCore import QSize
class HelloWindow(QMainWindow):
def __init__(self):
QMainWindow.__init__(self)
self.setMinimumSize(QSize(640, 480))
self.setWindowTitle("Hello world - pythonprogramminglanguage.com")
centralWidget = QWidget(self)
self.setCentralWidget(centralWidget)
gridLayout = QGridLayout(self)
centralWidget.setLayout(gridLayout)
title = QLabel("Hello World from PyQt", self)
title.setAlignment(QtCore.Qt.AlignCenter)
gridLayout.addWidget(title, 0, 0)
if __name__ == "__main__":
app = QtWidgets.QApplication(sys.argv)
mainWin = HelloWindow()
mainWin.show()
sys.exit( app.exec_() ) |
hi
Will try that later tonight and let you know
Greetz
Leo
Verstuurd vanaf mijn iPhone
… Op 23 apr. 2020 om 18:35 heeft Johannes Pohl ***@***.***> het volgende geschreven:
Are you able to run a simple hello world PyQt5 script like the following?
# https://pythonprogramminglanguage.com/pyqt5-hello-world/
import sys
from PyQt5 import QtCore, QtWidgets
from PyQt5.QtWidgets import QMainWindow, QLabel, QGridLayout, QWidget
from PyQt5.QtCore import QSize
class HelloWindow(QMainWindow):
def __init__(self):
QMainWindow.__init__(self)
self.setMinimumSize(QSize(640, 480))
self.setWindowTitle("Hello world - pythonprogramminglanguage.com")
centralWidget = QWidget(self)
self.setCentralWidget(centralWidget)
gridLayout = QGridLayout(self)
centralWidget.setLayout(gridLayout)
title = QLabel("Hello World from PyQt", self)
title.setAlignment(QtCore.Qt.AlignCenter)
gridLayout.addWidget(title, 0, 0)
if __name__ == "__main__":
app = QtWidgets.QApplication(sys.argv)
mainWin = HelloWindow()
mainWin.show()
sys.exit( app.exec_() )
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
Hi, Nope same problem not showing the window, its getting weirder... greetings, |
Ok, so there seems to be problem with your PyQt installation. Please run this:
and see if it helps. |
Hi, No still nothing, i did however still have a php2.7 installatation on my pc which i just removed. Also uninstalled and reinstalled pyqt5 but still nope.. damn. Maybe some stuff from 2.7 stayed behind somewhere? greetings, |
That is probably unrelated, as a Python3 process will not use any libs from Python2 (except there is some weird naming convention on Windows). Having said that, I am running out of ideas what could cause this behaviour. On Linux you could strace the application. I just saw there is also an strace for cygwin, so you could install cygwin and try. Nevertheless, this appears to be a problem with PyQt5 itself as the hello world example is also not working. Therefore, you may be better off asking the PyQt5 developers for help. |
Hi Johannes
Thanks for all your help I will ask in the qt5 forum and post an update here.
Greetings
Leo
Verstuurd vanaf mijn iPhone
… Op 23 apr. 2020 om 22:26 heeft Johannes Pohl ***@***.***> het volgende geschreven:
That is probably unrelated, as a Python3 process will not use any libs from Python2 (except there is some weird naming convention on Windows).
Having said that, I am running out of ideas what could cause this behaviour. On Linux you could strace the application. I just saw there is also an strace for cygwin, so you could install cygwin and install that. However, this appears to be a problem with PyQt5 itself as the hello world example is also not working. Therefore, you may be better off asking there for help.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
Hi Johannes,
Not even qt creator 4.12.0 runs on my machine.. something seriously wrong with anything Qt on this laptop..
Regards,
Leo
Van: Johannes Pohl <[email protected]>
Verzonden: Thursday, 23 April 2020 22:27
Aan: jopohl/urh <[email protected]>
CC: MrBambix <[email protected]>; Author <[email protected]>
Onderwerp: Re: [jopohl/urh] On Windows 10 UI does not render, executable is running though (#769)
That is probably unrelated, as a Python3 process will not use any libs from Python2 (except there is some weird naming convention on Windows).
Having said that, I am running out of ideas what could cause this behaviour. On Linux you could strace the application. I just saw there is also an strace for cygwin <https://cygwin.com/cygwin-ug-net/strace.html> , so you could install cygwin and install that. However, this appears to be a problem with PyQt5 itself as the hello world example is also not working. Therefore, you may be better off asking there for help.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub <#769 (comment)> , or unsubscribe <https://github.com/notifications/unsubscribe-auth/AEMALRNPO2PMNGKNW433V33ROCQANANCNFSM4MO4VXFQ> . <https://github.com/notifications/beacon/AEMALRLB4OGXERB4YEESNBDROCQANA5CNFSM4MO4VXF2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOETP5F4A.gif>
|
It appears so! Did you get some reply in the Qt forums? |
Hi Johannes,
After a great session on the #pyqt IRC channel it was discovered that it is a bug in the QT release currently in URH. When we rolled it back all started working just fine.
So now URH is running here with Qt5Core 5.14.10
Regards
Leo
Van: Johannes Pohl <[email protected]>
Verzonden: Thursday, 23 April 2020 22:27
Aan: jopohl/urh <[email protected]>
CC: MrBambix <[email protected]>; Author <[email protected]>
Onderwerp: Re: [jopohl/urh] On Windows 10 UI does not render, executable is running though (#769)
That is probably unrelated, as a Python3 process will not use any libs from Python2 (except there is some weird naming convention on Windows).
Having said that, I am running out of ideas what could cause this behaviour. On Linux you could strace the application. I just saw there is also an strace for cygwin <https://cygwin.com/cygwin-ug-net/strace.html> , so you could install cygwin and install that. However, this appears to be a problem with PyQt5 itself as the hello world example is also not working. Therefore, you may be better off asking there for help.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub <#769 (comment)> , or unsubscribe <https://github.com/notifications/unsubscribe-auth/AEMALRNPO2PMNGKNW433V33ROCQANANCNFSM4MO4VXFQ> . <https://github.com/notifications/beacon/AEMALRLB4OGXERB4YEESNBDROCQANA5CNFSM4MO4VXF2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOETP5F4A.gif>
|
Mhh so PyQt5 5.14.2 is completely bugged (i.e. not usable) on Windows 10? Is there an official bug report about it? |
Hi Johannes
Yes it is. No not yet they didn't have the time to get a full debug running on my laptop.
They said maybe the will log the issue regardless.
Maybe you can work together with them on the freenode #pyqt IRC channel.
Greetings
Leo
Verstuurd vanaf mijn iPhone
… Op 25 apr. 2020 om 18:37 heeft Johannes Pohl ***@***.***> het volgende geschreven:
Mhh so PyQt5 5.14.2 is bugged on Windows 10, thats interesting. Is there an official bug report about it?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
I was interested whether this is a general problem on Windows 10 or not. However, in my VM I cannot reproduce this behaviour so I will not exclude PyQt5.12 from URH dependencies in general. I will close here and I am glad your problem is solved! |
Expected Behavior
Upon on clicking the shortcut on the desktop the program should open its main window.
Actual Behavior
Actually the Main program window is not showing but proces explorer shows the .exe running
Steps To Reproduce
Screenshots
Platform Specifications
Windows 10
The text was updated successfully, but these errors were encountered: