biolab / orange3

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

Windows Portable release bug: Open File with orange-canvas.exe #6827

Open Norsusan opened 3 months ago

Norsusan commented 3 months ago

With the new version of Orange3 3.37.0 (Portable) we cannot open the files .ows with "Open with" orange-canvas.exe.

image

What would be the new exe to open the .ows files using Windows "Open With"?

How can we reproduce the problem?

What's your environment?

markotoplak commented 3 months ago

Did it work with previous version of the portable release and stopped when you upgraded or it never worked?

We did change the way the portable installer was made in the meanwhile because the old version had some (other) problems, mainly with add-on installations. But this looks as our error because I see references to orange3-installers\build\build\ in your error message.

ales-erjavec commented 3 months ago

Did it work with previous version of the portable release and stopped when you upgraded or it never worked?

AFAIK this never worked. The Scripts\orange-canvas.exe is created by pip during the creation of the installer and only works from the build directory.

Norsusan commented 3 months ago

Yes it worked with previous versions of the portable releases.

From: AleΕ‘ Erjavec @.> Sent: June 11, 2024 5:19 AM To: biolab/orange3 @.> Cc: Norsusan @.>; Author @.> Subject: Re: [biolab/orange3] Windows Portable release bug: Open File with orange-canvas.exe (Issue #6827)

Did it work with previous version of the portable release and stopped when you upgraded or it never worked?

AFAIK this never worked. The Scripts\orange-canvas.exe is created by pip during the creation of the installer and only works from the build directory.

β€” Reply to this email directly, view it on GitHub https://github.com/biolab/orange3/issues/6827#issuecomment-2160213977 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AHCZ6UHFXBK7YT64AHZVYZTZG26HJAVCNFSM6AAAAABJCOPFLOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNRQGIYTGOJXG4 . You are receiving this because you authored the thread. https://github.com/notifications/beacon/AHCZ6UDX5DYI6V6YO3MIW43ZG26HJA5CNFSM6AAAAABJCOPFLOWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTUAYI75S.gif Message ID: @. @.> >

Norsusan commented 3 months ago

It worked with previous versions of portable Orange3.

I think it has to do with the fact that in the new version, orange-canvas.exe cannot find python.exe.

From: Marko Toplak @.> Sent: June 11, 2024 4:01 AM To: biolab/orange3 @.> Cc: Norsusan @.>; Author @.> Subject: Re: [biolab/orange3] Open File with orange-canvas.exe (Issue #6827)

Did you somehow set the "open with" shortcut beforehand, because I am quite sure that it does not get registered automatically for the portable release. If so, what precisely did you do? Did it work with previous version of the portable release and stopped when you upgraded or it never worked?

We did change the way the portable installer was made in the meanwhile because the old version had some (other) problems, mainly with add-on installations. But this looks as our error because I see references to orange3-installers\build\build\ in your error message.

β€” Reply to this email directly, https://github.com/biolab/orange3/issues/6827#issuecomment-2160052180 view it on GitHub, or https://github.com/notifications/unsubscribe-auth/AHCZ6UAB2M3H4RQ2HA77ABTZG2VC7AVCNFSM6AAAAABJCOPFLOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNRQGA2TEMJYGA unsubscribe. You are receiving this because you authored the thread. https://github.com/notifications/beacon/AHCZ6UFDZGQ2GMCOVM3KXNTZG2VC7A5CNFSM6AAAAABJCOPFLOWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTUAX7D5I.gif Message ID: < @.> @.>

Norsusan commented 3 months ago

I meant to say orange-canvas cannot find pythonw.exe

From: Marko Toplak @.> Sent: June 11, 2024 4:01 AM To: biolab/orange3 @.> Cc: Norsusan @.>; Author @.> Subject: Re: [biolab/orange3] Open File with orange-canvas.exe (Issue #6827)

Did you somehow set the "open with" shortcut beforehand, because I am quite sure that it does not get registered automatically for the portable release. If so, what precisely did you do? Did it work with previous version of the portable release and stopped when you upgraded or it never worked?

We did change the way the portable installer was made in the meanwhile because the old version had some (other) problems, mainly with add-on installations. But this looks as our error because I see references to orange3-installers\build\build\ in your error message.

β€” Reply to this email directly, view it on GitHub https://github.com/biolab/orange3/issues/6827#issuecomment-2160052180 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AHCZ6UAB2M3H4RQ2HA77ABTZG2VC7AVCNFSM6AAAAABJCOPFLOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNRQGA2TEMJYGA . You are receiving this because you authored the thread. https://github.com/notifications/beacon/AHCZ6UFDZGQ2GMCOVM3KXNTZG2VC7A5CNFSM6AAAAABJCOPFLOWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTUAX7D5I.gif Message ID: @. @.> >

Norsusan commented 3 months ago

Previously started Orange3 Portable with:

C:\Users\norma\Documents\Orange3\Orange\Scripts\orange-canvas.exe

With latest version of Orange3 Portable:

C:\Windows\system32\cmd.exe "C:/msys64/C start C:/Users/norma/Documents/Orange3/Orange/pythonw.exe -Psm Orange.canvas"

Note reference to pythonw.exe so Orange-canvas can start

From: Marko Toplak @.> Sent: June 11, 2024 4:01 AM To: biolab/orange3 @.> Cc: Norsusan @.>; Author @.> Subject: Re: [biolab/orange3] Open File with orange-canvas.exe (Issue #6827)

Did you somehow set the "open with" shortcut beforehand, because I am quite sure that it does not get registered automatically for the portable release. If so, what precisely did you do? Did it work with previous version of the portable release and stopped when you upgraded or it never worked?

We did change the way the portable installer was made in the meanwhile because the old version had some (other) problems, mainly with add-on installations. But this looks as our error because I see references to orange3-installers\build\build\ in your error message.

β€” Reply to this email directly, view it on GitHub https://github.com/biolab/orange3/issues/6827#issuecomment-2160052180 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AHCZ6UAB2M3H4RQ2HA77ABTZG2VC7AVCNFSM6AAAAABJCOPFLOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNRQGA2TEMJYGA . You are receiving this because you authored the thread. https://github.com/notifications/beacon/AHCZ6UFDZGQ2GMCOVM3KXNTZG2VC7A5CNFSM6AAAAABJCOPFLOWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTUAX7D5I.gif Message ID: @. @.> >