biolab / orange3

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

Add-Ons do not show up #5775

Closed DUTOrange closed 2 years ago

DUTOrange commented 2 years ago

What's wrong?

My workflow included frequent itemsets but when I open, it shows: image It then installs and demands that I restart the application. After it restarts, the association widgets are not to be found in workflow or in widget bar. image I often get an error message: image

Thanks

How can we reproduce the problem?

Use older version of Orange and create a workflow with frequent rules and itemset. Save workflow Upgrade Orange when prompted Open saved workflow. Should inform you that it needs to install associate add-ins. If you choose add-in, it will download add-in and then ask to restart. After restarting, widgets do not show on canvas or on widget bar.

What's your environment?

ajdapretnar commented 2 years ago

Would you mind pasting here the entire error message? Thanks!

DUTOrange commented 2 years ago

When I open a workflow with a frequent itemset (created in an earlier version) and then try to add on the Associate Add-In, it gives me an error message

Stack Trace: Traceback (most recent call last): File "C:\Program Files\Orangev3\lib\site-packages\orangewidget\workflow\mainwindow.py", line 230, in closeEvent super().closeEvent(event) File "C:\Program Files\Orangev3\lib\site-packages\orangecanvas\application\canvasmain.py", line 2256, in closeEvent document.usageStatistics().close() File "C:\Program Files\Orangev3\lib\site-packages\orangecanvas\document\usagestatistics.py", line 441, in close UsageStatistics.statistics_sessions.remove(self) ValueError: list.remove(x): x not in list

Local Variables: OrderedDict([('self', <orangecanvas.document.usagestatistics.UsageStatistics object at 0x000001566EB5CB20>)]) I hope this helps

Cheers, Rich Millham


From: Ajda @.> Sent: January 12, 2022 10:15 AM To: biolab/orange3 @.> Cc: DUTOrange @.>; Author @.> Subject: Re: [biolab/orange3] Add-Ons do not show up (Issue #5775)

Would you mind pasting here the entire error message? Thanks!

— Reply to this email directly, view it on GitHubhttps://github.com/biolab/orange3/issues/5775#issuecomment-1010758320, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AXIF55CH4FL7GGX3IKNTSBLUVU2A3ANCNFSM5LW6QQAA. Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub. You are receiving this because you authored the thread.Message ID: @.***>

markotoplak commented 2 years ago

Thanks for the report. These seem like two separate issues.

I tried installing Associate onto a fresh Orange 3.31.0 installation (from the .exe installer from the webpage) and Associate installed fine for me.

What confuses me is that you report a similar setup. Could you perhaps open the Orange command prompt and try manual install: conda install orange3-associate. Does it report any errors?

Then, run orange with orange-canvas -l4. What is the output to a terminal? Thanks!

DUTOrange commented 2 years ago

Hi. I had version 3.14.0 installed apparently (an old version which was called when I tried to open Orange). I downloaded (or rather it asked me to upgrade) to 3.31. The add-ons now work. Each upgrade will install in a new folder, as you know. Incidentally, how do you open the Orange command prompt. I went into the Orange folder and there is a file called "Orange Command prompt" but it is a .bat file which, of course, does not allow me to enter any commands. "Could you perhaps open the Orange command prompt and try manual install: conda install orange3-associate. " Thanks Marko.

Cheers, Rich Millham


From: Marko Toplak @.> Sent: January 12, 2022 5:05 PM To: biolab/orange3 @.> Cc: DUTOrange @.>; Author @.> Subject: Re: [biolab/orange3] Add-Ons do not show up (Issue #5775)

Thanks for the report. These seem like two separate issues.

I tried installing Associate onto a fresh Orange 3.31.0 installation (from the .exe installer from the webpage) and Associate installed fine for me.

What confuses me is that you report a similar setup. Could you perhaps open the Orange command prompt and try manual install: conda install orange3-associate. Does it report any errors?

Then, run orange with orange-canvas -l4. What is the output to a terminal? Thanks!

— Reply to this email directly, view it on GitHubhttps://github.com/biolab/orange3/issues/5775#issuecomment-1011137579, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AXIF55BCVXC7UIOFF6SBAVTUVWKCDANCNFSM5LW6QQAA. Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub. You are receiving this because you authored the thread.Message ID: @.***>

markotoplak commented 2 years ago

Aha, OK, so it was a more complicated situation, I understand these might fail - it is very hard to handle them all.

No need to debug further if you indeed solved your problem. But for the future, Orange installs a shortcut into your start menu called "Orange Command Prompt", which opens a Windows terminal (cmd.exe) with Orange's python environment activated.

DUTOrange commented 2 years ago

Thank you, Janez.

Cheers, Rich Millham


From: Janez Demšar @.> Sent: January 14, 2022 10:47 AM To: biolab/orange3 @.> Cc: DUTOrange @.>; Author @.> Subject: Re: [biolab/orange3] Add-Ons do not show up (Issue #5775)

Closed #5775https://github.com/biolab/orange3/issues/5775.

— Reply to this email directly, view it on GitHubhttps://github.com/biolab/orange3/issues/5775#event-5893260801, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AXIF55BFOJS2I6FEFYY4523UV7PL3ANCNFSM5LW6QQAA. Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub. You are receiving this because you authored the thread.Message ID: @.***>