mingsongli / acycle

Acycle: Time-series analysis software for research and education
https://acycle.org/
78 stars 25 forks source link

Acycle stand-alone version for Windows crashes #21

Open mingsongli opened 4 years ago

mingsongli commented 4 years ago

Background: Acycle standalone version for Windows + MatLab Runtime

Forwarded Description:

I have been using acycle a lot today and one hour ago I had this message:

Undefined function or variable 'matlabrc'

So I deleted everything and reinstalled it all. It worked for about 10 minutes and then again it doesn't work.

I receive an error message:

Warning: Can't find the resource file 'toolbox\local\hgrc.m' needed by 'c:Program File\... ?\hg.dll'
- Undefined function or variable 'matlabrc'
- Undefined function or variable 'ctfroot' 
- Error in runtimeInitializationChecks (line 23)
- Undefined function or variable 'ctfroot'

I tried to deinstall and reinstall Matlab Runtime and Acycle, even that won't work.

I am not able to install Acycle it anymore (the process of the installation starts and finishes quickly but then the program doesn't start).

mingsongli commented 4 years ago

Please try this way:

There is a possible solution to the problem.

https://www.mathworks.com/matlabcentral/answers/437462-why-am-i-not-able-to-execute-my-standalone-application-on-only-certain-end-user-machines

Please delete the CTF extraction folder and re-run Acycle.

C:\Users\[username]\AppData\Local\Temp\[username]\mcrCache[version]

For example,

C:\Users\sji\AppData\Local\Temp\sji\mcrCache9.4\

Please change 'sji' to your user name.

If you cannot find the above path on your machine:

  1. The "AppData" folder is a hidden folder. Here is the tip about "View hidden files and folders in Windows 10". https://support.microsoft.com/en-us/help/4028316/windows-view-hidden-files-and-folders-in-windows-10.

  2. An alternative way to see it is to type the following code in the address bar of the File Explorer directly: C:\Users\sji\AppData\Local\Temp\sji\ Please change sji to your user name before the above solution 2.

Please write to me ( limingsonglms {at} gmail.com ) if these solutions don't help.