biolab / orange3

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

Orange crashes when browsing for file #4486

Closed ferlocar closed 4 years ago

ferlocar commented 4 years ago

Describe the bug

When I try to search for a file using the File widget by clicking on the folder option, Orange crashes (i.e., suddenly closes).

To Reproduce

  1. Open Orange
  2. Add a File widget.
  3. Click on the folder icon.
  4. Orange crashes.

Orange version: Orange - 3.24

Expected behavior Be able to search and load a file (e.g., a csv file) without Orange suddenly closing.

Screenshots I tried running Orange from the command line, this is the output message that I get in the command line after Orange crashes:

ERROR:orangecanvas.help.provider:An error occurred while fetching help inventory 'PyQt5.QtCore.QUrl('https://docs.orange.biolab.si/3/visual-programming/')'
Segmentation fault: 11
logout
Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.

[Process completed]

Operating system: macOS Catalina 10.15.3

Additional context This is pretty much the same issue described in here: https://github.com/biolab/orange3/issues/4146

markotoplak commented 4 years ago

Are you using the official .dmg packages or did you install Orange in some other way? If so, how did you do it?

ferlocar commented 4 years ago

I'm using the official .dmg packages.

ferlocar commented 4 years ago

By the way, the problem started after I upgraded from version 3.23 to version 3.24.

markotoplak commented 4 years ago

@ferlocar, could you try executing /Applications/Orange3.app/Contents/MacOS/pip install pyqt5~=5.9.0 in the terminal and then restarting Orange? Here I am assuming that you copied Orange to Applications.

Also, what is the language on your system? Does your username contain and non-latin characters? What does pwd in a freshly open terminal show you?

ferlocar commented 4 years ago

We tried what you mentioned. This is the output: image

The language of the system is English, and the username does not contain any non-latin characters. The pwd command shows the following: /Users/tuanhaoly

Just to clarify, this is an issue that a student of mine is having in his laptop. I'm teaching a data mining course using Orange, and that's why I posted this issue in his behalf. I will provide him the link to this issue so that you and him can troubleshoot the error together. We really appreciate your help on this.

markotoplak commented 4 years ago

@ferlocar, thank you. I asked you to execute /Applications/Orange3.app/Contents/MacOS/pip install pyqt5~=5.9.0 (with the full path, starting from /Applications). That command would replace a library from within the Orange app that was installed from dmg. Then you could try running Orange again.

janezd commented 4 years ago

We can't reproduce this, so we're closing the issue for now. If other users encounter something similar, we'll reopen.