orange3 icon indicating copy to clipboard operation
orange3 copied to clipboard

Orange 3.28 crashes at start-up on OS High Sierra

Open guiom2959 opened this issue 3 years ago • 5 comments

  • [ ] What's wrong?

Installed Orange 3.28 using last dmg available on my macbook pro 2010 using high sierra. unable to run it, crashes at start-up, doesn't even open a window crash report stack file linked.

  • [ ] How can we reproduce the problem?
  • [ ] What's your environment?
  • Operating system: Mac Os High Sierra
  • Orange version: 3.28
  • How you installed Orange: using dmg file crashReport.txt

guiom2959 avatar Apr 16 '21 21:04 guiom2959

The problem is probably that 3rd-party catboost library that is included in the dmg is compiled for a newer CPU architecture.

Can you try running

/Applications/Orange3.app/Contents/MacOS/pip uninstall catboost

in the Terminal and run again.

ales-erjavec avatar Apr 20 '21 07:04 ales-erjavec

Hi ALes, Thanks a lot. It does start now.

guiom2959 avatar Apr 20 '21 14:04 guiom2959

Thanks, @ales-erjavec, good find!

@VesnaT, catboost is an optional dependency, right? So apart from checking if catboot is installed, we should probably catch another exception that happens here. @ales-erjavec, do you remember which exception gets raised and when? At import?

markotoplak avatar Apr 23 '21 07:04 markotoplak

There is no exception to catch. The process aborts with a SIGILL signal at import.

ales-erjavec avatar Apr 23 '21 07:04 ales-erjavec

We discussed this at today's meeting. There's not much we can do about it, except for printing a warning to uninstall catboost if we detect the CPU architecture is too old.

janezd avatar Apr 30 '21 14:04 janezd