aplteam / Launchy

Gui for running selected versions of Dyalog APL with specific parameters
MIT License
1 stars 0 forks source link

4.5.1.77 Error - Cannot find python file?? #10

Closed bpbecker closed 5 years ago

bpbecker commented 5 years ago

I downloaded and unzipped into AppData\Local\Programs\Launchy\ RIDE 4.0 and 4.1 are installed. Clicking the Launchy icon results in the following error...

_20181221153103

Version: Windows 16.0.34173.0 W Runtime
⎕WSID:
⎕IO: 1
⎕ML: 1
⎕WA: 267753208
⎕TNUMS: 0
Category:
EM: Could not read file: C:/Users/brian/AppData/Local/Programs/Dyalog/../Python/Python36-32/Scripts/resources/app/_/version
HelpURL:
EN: 22
ENX: 0
InternalLocation: quadsignal.c 174
Message:
OSError: 0 0
Current Dir: C:\Users\brian\AppData\Local\Programs\Launchy
Command line: "C:\Users\brian\AppData\Local\Programs\Launchy\Launchy.exe"

Stack:

#.HandleError.Process[22]
#.Launchy.Find_RIDE_Versions[13]
#.Launchy.CreateGlobals[15]
#.Launchy.Init2[3]
#.Launchy.Run[16]

Error Message:

Could not read file: C:/Users/brian/AppData/Local/Programs/Dyalog/../Python/Python36-32/Scripts/resources/app/_/version
Find_RIDE_Versions[13] versionNos←U.ReadUtf8File¨versionFiles
                      ∧
aplteam commented 5 years ago

Hello Brian

You must have a line in your INI file that tells Launchy to look for Ride in a folder

path2ride = C:/Users/brian/AppData/Local/Programs/Dyalog/../Python/ Python36-32/Scripts/resources/app/

which looks a bit funny because of thePython part. Anyway, that's not the problem I guess. The real problem is that you most likely have older versions of Ride installed which Launchy does not support. If such older installations are around then Launchy crashed because it made some invalid assumptions.

I've created a new release for Launchy that should fix this problem. As a side effect the loading time got significantly faster.

Please give it a try and tell me whether is works for you or not: I want to know before I release a new version.

Merry Christmas and Happy New Year!

Kai

P.S.: Please rename Launchy.piz to Launchy.zip

On Fri, 21 Dec 2018 at 21:09, Brian Becker notifications@github.com wrote:

I downloaded and unzipped into AppData\Local\Programs\Launchy RIDE 4.0 and 4.1 are installed. Clicking the Launchy icon results in the following error... 20181221153103 Version: Windows 16.0.34173.0 W Runtime ⎕WSID: ⎕IO: 1 ⎕ML: 1 ⎕WA: 267753208 ⎕TNUMS: 0 Category: EM: Could not read file: C:/Users/brian/AppData/Local/Programs/Dyalog/../Python/Python36-32/Scripts/resources/app//version HelpURL: EN: 22 ENX: 0 InternalLocation: quadsignal.c 174 Message: OSError: 0 0 Current Dir: C:\Users\brian\AppData\Local\Programs\Launchy Command line: "C:\Users\brian\AppData\Local\Programs\Launchy\Launchy.exe"

Stack:

.HandleError.Process[22]

.Launchy.Find_RIDE_Versions[13]

.Launchy.CreateGlobals[15]

.Launchy.Init2[3]

.Launchy.Run[16]

Error Message:

Could not read file: C:/Users/brian/AppData/Local/Programs/Dyalog/../Python/Python36-32/Scripts/resources/app/_/version

Find_RIDE_Versions[13] versionNos←U.ReadUtf8File¨versionFiles

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/aplteam/Launchy/issues/10, or mute the thread https://github.com/notifications/unsubscribe-auth/APt0nXvJ5nUj2icS9iiQ_6bzDEfDU2unks5u7U3ugaJpZM4ZfGFI .

bpbecker commented 5 years ago

Hi Kai,

I cannot see the release, the latest one I can see is 4.5.1.77 (saved Sep 26).

You either need to make me a collaborator or publish the release you made for me to see it.

I didn't have anything in my .INI file other than what's in the repository. I only changed the name by removing the .RemoveMe extension.

A very Merry and Blessed Christmas and Happy New Year to you as well!

/Brian

From: APL Team Ltd notifications@github.com Sent: Saturday, December 22, 2018 7:32 AM To: aplteam/Launchy Launchy@noreply.github.com Cc: Brian Becker brian@dyalog.com; Author author@noreply.github.com Subject: Re: [aplteam/Launchy] 4.5.1.77 Error - Cannot find python file?? (#10)

Hello Brian

You must have a line in your INI file that tells Launchy to look for Ride in a folder

path2ride = C:/Users/brian/AppData/Local/Programs/Dyalog/../Python/ Python36-32/Scripts/resources/app/

which looks a bit funny because of thePython part. Anyway, that's not the problem I guess. The real problem is that you most likely have older versions of Ride installed which Launchy does not support. If such older installations are around then Launchy crashed because it made some invalid assumptions.

I've created a new release for Launchy that should fix this problem. As a side effect the loading time got significantly faster.

Please give it a try and tell me whether is works for you or not: I want to know before I release a new version.

Merry Christmas and Happy New Year!

Kai

P.S.: Please rename Launchy.piz to Launchy.zip

On Fri, 21 Dec 2018 at 21:09, Brian Becker <notifications@github.com mailto:notifications@github.com > wrote:

I downloaded and unzipped into AppData\Local\Programs\Launchy RIDE 4.0 and 4.1 are installed. Clicking the Launchy icon results in the following error... 20181221153103 Version: Windows 16.0.34173.0 W Runtime ⎕WSID: ⎕IO: 1 ⎕ML: 1 ⎕WA: 267753208 ⎕TNUMS: 0 Category: EM: Could not read file: C:/Users/brian/AppData/Local/Programs/Dyalog/../Python/Python36-32/Scripts/resources/app//version HelpURL: EN: 22 ENX: 0 InternalLocation: quadsignal.c 174 Message: OSError: 0 0 Current Dir: C:\Users\brian\AppData\Local\Programs\Launchy Command line: "C:\Users\brian\AppData\Local\Programs\Launchy\Launchy.exe"

Stack:

.HandleError.Process[22]

.Launchy.Find_RIDE_Versions[13]

.Launchy.CreateGlobals[15]

.Launchy.Init2[3]

.Launchy.Run[16]

Error Message:

Could not read file: C:/Users/brian/AppData/Local/Programs/Dyalog/../Python/Python36-32/Scripts/resources/app/_/version

Find_RIDE_Versions[13] versionNos←U.ReadUtf8File¨versionFiles

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/aplteam/Launchy/issues/10, or mute the thread https://github.com/notifications/unsubscribe-auth/APt0nXvJ5nUj2icS9iiQ_6bzDEfDU2unks5u7U3ugaJpZM4ZfGFI .

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/aplteam/Launchy/issues/10#issuecomment-449566844 , or mute the thread https://github.com/notifications/unsubscribe-auth/AD9iuwhZx5iZjG_eWo8lHJFqRNn8rm_-ks5u7iZFgaJpZM4ZfGFI . https://github.com/notifications/beacon/AD9iu8SPS3bC-BvQnuPowa8Hc6_N5yoBks5u7iZFgaJpZM4ZfGFI.gif

aplteam commented 5 years ago

The INI file's default is

C:\Users[you]\AppData\Local\Programs\Dyalog

when [you] is replaced by "brian". How that can end up being the path mentioned in the error snapshot is a mystery to me.

But anyway, I have not created a release on GitHub but attached to the email. Maybe that got lost in transit, so I will now create a draft release on GitHub.