orange3 icon indicating copy to clipboard operation
orange3 copied to clipboard

Prediction widget crashes in at least two different ways

Open HoutanSadeghi opened this issue 1 year ago • 1 comments

What's wrong? Linear regression on Mac crashes. I have no issues with classification or clustering. However, as soon as I connect select column 1 to prediction the system crashes. I have forwarded the error messages too. I repeated exactly the same on my wife’s windows pc and works perfectly. File is just columns with headers x,y, z and 12 instances. File 1 used for prediction is a couple of instances taken from File and used ? For target. This way I made sure I had no transposition errors on column headers. Furthermore I selected the features to skip and keep for both File and File 1 as well as as using select columns for both training and prediction. In windows using the same workflow and data you get the results no issues. Orange 3.36.2 Apple M2 Pro 16 GB Mac OS Sonoma 14.1.1 447 GB storage available

Thank you By the way I love Orange Regards Houtan

How can we reproduce the problem? b5198b1a-2f3d-42a0-9ce2-7df54a7abb10 2c23fd88-a225-47a1-9162-5e5eecb391b5 0922dc41-a4e1-4ceb-a0ca-0fea037699b1

What's your environment?

  • Operating system:
  • Orange version:
  • How you installed Orange:

HoutanSadeghi avatar Dec 11 '23 12:12 HoutanSadeghi

Thanks for reporting this. I found a matching error report on our server:

handleNewSignals",
        "    self._update_prediction_delegate()",
        "  File \"/Applications/Orange.app/Contents/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/Orange/widgets/evaluate/owpredictions.py\", line 686, in _update_prediction_delegate",
        "    tooltip_probs = self.class_var.values",
        "AttributeError: 'ContinuousVariable' object has no attribute 'values'",
        ""
    ],
    "Timestamp": "2023-12-11T11:40:31.037447",
    "Version": "3.36.2",
    "Widget Module": "Orange.widgets.evaluate.owpredictions:368",
    "Widget Name": "Predictions",
    "Widget Scheme": "Orange.widgets.evaluate.owpredictions/3.36.2/Orange.widgets.evaluate.owpredictions:686/2023-12-11T11:40:31.037447.ows",
    "Widget Scheme Url": "Orange.widgets.evaluate.owpredictions/3.36.2/Orange.widgets.evaluate.owpredictions:686/2023-12-11T11:40:31.037447.ows"
}

From https://service.biolab.si/errors/Orange.widgets.evaluate.owpredictions/3.36.2/Orange.widgets.evaluate.owpredictions%3A686/2023-12-11T11%3A40%3A31.037447.txt (this is an internal resource)

Sometimes we also get similar error about NoneType (https://service.biolab.si/errors/Orange.widgets.evaluate.owpredictions/3.36.1/Orange.widgets.evaluate.owpredictions%3A681/2023-12-10T09%3A11%3A24.048133.txt)

And then there is another about .columnCount: https://service.biolab.si/errors/Orange.widgets.evaluate.owpredictions/3.36.1/Orange.widgets.evaluate.owpredictions%3A893/2023-11-24T04%3A54%3A37.064474.txt

markotoplak avatar Dec 11 '23 13:12 markotoplak