biolab / orange3

🍊 :bar_chart: :bulb: Orange: Interactive data analysis
https://orangedatamining.com
Other
4.85k stars 1.01k forks source link

Cannot open on Mac os Big Sur (Mac os 11.0) #4878

Closed Richard195666 closed 3 years ago

Richard195666 commented 4 years ago

Bug reports that do not sufficiently describe a bug are not helpful and will most likely be ignored.

Richard195666 commented 4 years ago

Quasar cannot open on Mac os Big Sur, it won't come out anything with high cpu use.

Richard195666 commented 4 years ago

I tried to upgrade my Xcode to beta version as well to fix itl but Quasar still didn't work.

markotoplak commented 4 years ago

@Richard195666, I see you are working with Quasar. We try to keep installers for Orange and Quasar equivalents, but could you please also try running vanilla Orange (download dmg from https://orange.biolab.si/download/#macos)?

I do not have any Big Sur installs available to test currently. Do you get any error messages?

Richard195666 commented 4 years ago

@Richard195666, I see you are working with Quasar. We try to keep installers for Orange and Quasar equivalents, but could you please also try running vanilla Orange (download dmg from https://orange.biolab.si/download/#macos)?

I do not have any Big Sur installs available to test currently. Do you get any error messages?

Hi, I just tried Orange as you said, the same issue happened again. This is error report, hope it is useful. image

Richard195666 commented 4 years ago

Error Report.txt This is full error report, hope it is useful.

Richard195666 commented 4 years ago

@Richard195666, I see you are working with Quasar. We try to keep installers for Orange and Quasar equivalents, but could you please also try running vanilla Orange (download dmg from https://orange.biolab.si/download/#macos)?

I do not have any Big Sur installs available to test currently. Do you get any error messages?

https://github.com/biolab/orange3/files/4874176/Error.Report.txt This is full error report, hope it is useful.

markotoplak commented 4 years ago

@Richard195666, thank you. There seems to be a problem with some UI library that Orange uses.

To update that library to the newest version, could you try running /Applications/Orange3.app/Contents/MacOS/pip install pyqt5==5.15 pyqtwebengine==5.15? Or, for Quasar, /Applications/Quasar.app/Contents/MacOS/pip install pyqt5==5.15 pyqtwebengine==5.15.

If this does not solve your problem, then we will have to wait for new releases.

Richard195666 commented 4 years ago

@Richard195666, thank you. There seems to be a problem with some UI library that Orange uses.

To update that library to the newest version, could you try running /Applications/Orange3.app/Contents/MacOS/pip install pyqt5==5.15 pyqtwebengine==5.15? Or, for Quasar, /Applications/Quasar.app/Contents/MacOS/pip install pyqt5==5.15 pyqtwebengine==5.15.

If this does not solve your problem, then we will have to wait for new releases.

Hi Thanks for your reply. I already tried as you said, but sadly still not working.

ales-erjavec commented 4 years ago

Can you try starting orange by running

/Applications/Orange3.app/Contents/MacOS/Orange --no-splash
Richard195666 commented 4 years ago

Can you try starting orange by running

/Applications/Orange3.app/Contents/MacOS/Orange --no-splash

Hi, thanks for your reply. I tried it but there is nothing coming out but high CPU using by Orange.

Richard195666 commented 4 years ago

Error report on Mac os Big sur beta 2.txt Since this bug still not solved yet and mac os big sur beta2 is released, I updated to beta 2 to try can it works. Unfortunately still cannot open. This is the full error report from beta 2. Thanks.

ales-erjavec commented 4 years ago

Can you please also try:

Richard195666 commented 4 years ago

Can you please also try:

  • A) Run

    plutil -insert NSRequiresAquaSystemAppearance -bool YES /Applications/Orange3.app/Contents/Frameworks/Python.framework/Resources/Python.app/Contents/Info.plist

    and then try opening orange again

  • B) Run:

    /Applications/Orange3.app/Contents/MacOS/pip install pyqt5-sip==4.19.19 pyqt5==5.12.1 pyqtwebengine==5.12.1

    and then try opening orange again

Hi Thanks very much! You are amazing! It's still not working after I tried A. However, it works now after I tried B as well! Thanks again! Best wishes

Richard195666 commented 4 years ago

Can you please also try:

  • A) Run

    plutil -insert NSRequiresAquaSystemAppearance -bool YES /Applications/Orange3.app/Contents/Frameworks/Python.framework/Resources/Python.app/Contents/Info.plist

    and then try opening orange again

  • B) Run:

    /Applications/Orange3.app/Contents/MacOS/pip install pyqt5-sip==4.19.19 pyqt5==5.12.1 pyqtwebengine==5.12.1

    and then try opening orange again

Quasar can be fixed by using the same method as well. Thanks!

janezd commented 4 years ago

@ales-erjavec, @markotoplak, do we need to do something, or is it a PyQt problem and we wait (and close the issue)?

ales-erjavec commented 4 years ago

@Richard195666 Can you try this https://dev.azure.com/ales-erjavec/_apis/resources/Containers/9021780/macOS%20dmg%20installer?itemPath=macOS%20dmg%20installer%2Forange3%2Fdist%2FOrange3-3.27.0.dev0%2B6193d32-Python3.7.6.dmg

Note that it is unsigned so you will have to right click on the application icon and click open (or whichever way is the current gatekepper bypas on big sur).

@janezd I think we should keep it open.

maciejsiega commented 4 years ago

Hello guys - latest beta and I am still unabled to run PyQt5 apps :/ I even updated yesterday Python to 3.9 version however, no change - the language itself works as I have tried to print "TEST" value every some time in code and it seems to be executable but windows don't want to show up. Same code compiled on Windows work fine

educbraga commented 3 years ago

Hi! I think sharing this could help solve the problem. I was with the same issue here on the Big Sur public release (11.0.1). Doing only B fix the issue.

Can you please also try:

  • A) Run

    plutil -insert NSRequiresAquaSystemAppearance -bool YES /Applications/Orange3.app/Contents/Frameworks/Python.framework/Resources/Python.app/Contents/Info.plist

    and then try opening orange again

  • B) Run:

    /Applications/Orange3.app/Contents/MacOS/pip install pyqt5-sip==4.19.19 pyqt5==5.12.1 pyqtwebengine==5.12.1

    and then try opening orange again

rowlandpettit commented 3 years ago

Can you please also try:

  • A) Run

    plutil -insert NSRequiresAquaSystemAppearance -bool YES /Applications/Orange3.app/Contents/Frameworks/Python.framework/Resources/Python.app/Contents/Info.plist

    and then try opening orange again

  • B) Run:

    /Applications/Orange3.app/Contents/MacOS/pip install pyqt5-sip==4.19.19 pyqt5==5.12.1 pyqtwebengine==5.12.1

    and then try opening orange again

Quasar can be fixed by using the same method as well. Thanks!

/Applications/Orange3.app/Contents/MacOS/pip install pyqt5-sip==4.19.19 pyqt5==5.12.1 pyqtwebengine==5.12.1

Worked for me too!

markotoplak commented 3 years ago

I have tried building a new release with the new release of PyQt 5.12.3, which was released this Saturday: https://dev.azure.com/ales-erjavec/orange3-installers/_build/results?buildId=72&view=artifacts&type=publishedArtifacts . However, @JakaKokosar reports that still does not work. But when he replaced PyQt in app with 5.12.2, it started working again. Then, he tried reinstalling 5.12.3. It failed again: it got stuck at INFO:__main__:Running widget discovery process..

So it seems that PyQt5 5.12.2 works in the app and 5.12.3 is not. But @JakaKokosar also reports that 5.12.3 works fine in his dev environment. @ales-erjavec, any ideas why that would happen?

I also noticed some traffic on PyQt mailing list about Big Sur (in)compatibility, but I am not sure how related these are: https://www.riverbankcomputing.com/pipermail/pyqt/2020-November/043391.html

ales-erjavec commented 3 years ago

Can you please download and test this build: https://dev.azure.com/ales-erjavec/orange3-installers/_build/results?buildId=74&view=artifacts&type=publishedArtifacts

markotoplak commented 3 years ago

@ales-erjavec, that worked for @JakaKokosar. It there anything else to do or can I just that code, add a pin to 3.27.1, build, sign it (and notarize it) and put it on download page?

ales-erjavec commented 3 years ago

No. Pin pyqt5 and pyqtwebengine to 5.12.1 in the build instead.

markotoplak commented 3 years ago

A new MacOS package that seems to work on Big Sur is now available at https://orange.biolab.si/download

gerardojuan commented 3 years ago

A new MacOS package that seems to work on Big Sur is now available at https://orange.biolab.si/download

Yes, confirmed, it works for me. (I had the same issue as above before.)