Running shortcuts to programs in read & execute only location throws ERROR: Failed to open file
TomsonBoylett opened this issue · 10 comments
I created a batch file called test.bat with the following contents in C:\Program Files:
ECHO here
PAUSE
-
Create a shortcut to it in %userprofile%\Documents\AssistantComputerControl\shortcuts
I called my shortcut test.lnk -
Create an action in IFTTT which writes the following content:
open:test.lnk
Here is the full log:
2020-08-31 20:57:45.0011|DEBUG|AssistantComputerControl.MainProgram|File is in use, retrying
2020-08-31 20:57:45.0683|DEBUG|AssistantComputerControl.MainProgram|Processing file...
2020-08-31 20:57:45.0683|DEBUG|AssistantComputerControl.MainProgram| - Read complete, content: open:test.lnk
2020-08-31 20:57:45.0683|DEBUG|AssistantComputerControl.MainProgram|
[ -- DOING ACTION(S) -- ]
2020-08-31 20:57:45.0683|DEBUG|AssistantComputerControl.MainProgram| - F:\Dropbox\a Tomson\AssistantComputerControl\computerAction.txt UID; REMOVED
2020-08-31 20:57:45.0683|DEBUG|AssistantComputerControl.MainProgram| - File exists, checking the content...
2020-08-31 20:57:45.0683|DEBUG|AssistantComputerControl.MainProgram|
[EXECUTING ACTION]
2020-08-31 20:57:45.0683|DEBUG|AssistantComputerControl.MainProgram| - Applet has not specified a computer name, this computer has no computer name BUT it's a 'default computer' - executing
2020-08-31 20:57:45.0683|DEBUG|AssistantComputerControl.MainProgram| - Action: open
2020-08-31 20:57:45.0683|DEBUG|AssistantComputerControl.MainProgram| - Parameter: test.lnk
2020-08-31 20:57:45.0683|DEBUG|AssistantComputerControl.MainProgram| - Full line: open:test.lnk
2020-08-31 20:57:45.0683|DEBUG|AssistantComputerControl.MainProgram|C:\Users\Tomson\Documents\AssistantComputerControl\shortcuts\test.lnk
2020-08-31 20:57:45.0933|DEBUG|AssistantComputerControl.MainProgram|Failed to open file; The system cannot find the file specified
2020-08-31 20:57:45.0933|DEBUG|AssistantComputerControl.MainProgram|ERROR: Failed to open file (C:\Users\Tomson\Documents\AssistantComputerControl\shortcuts\test.lnk)
2020-08-31 20:57:45.0933|DEBUG|AssistantComputerControl.MainProgram|Non-fatal action. Starting cleanup service.
2020-08-31 20:57:45.0933|DEBUG|AssistantComputerControl.MainProgram|[ERROR]: Failed to open file (C:\Users\Tomson\Documents\AssistantComputerControl\shortcuts\test.lnk)
2020-08-31 20:57:45.0933|DEBUG|AssistantComputerControl.MainProgram|[CLEANUP] Service started
2020-08-31 20:57:45.0933|DEBUG|AssistantComputerControl.MainProgram|[ -- DONE -- ]
2020-08-31 20:57:45.2481|DEBUG|AssistantComputerControl.MainProgram|File doesn't exist (anymore).
2020-08-31 20:57:46.2552|DEBUG|AssistantComputerControl.MainProgram|[CLEANUP] Successful
2020-08-31 20:57:51.2703|DEBUG|AssistantComputerControl.MainProgram|[CLEANUP] Running extra cleanup (followup)
2020-08-31 20:58:16.2755|DEBUG|AssistantComputerControl.MainProgram|[CLEANUP] Running extra cleanup (followup)
Sorry for the super late reply. This issue might be fixed in the new version. If not, I can't recreate it and will need a more specific case. In that case; just reopen the issue.
still not fixed
try creating google chrome shortcuts and opening them
@zimivanende new version isn't released yet, so still "probably fixed"
@zimivanende new version isn't released yet, so still "probably fixed"
any idea when? just downloaded it today and was setting it up
@zimivanende it's probably gonna be a while. I have just about 0 time to develop this project right now sadly.
very sad indeed. so much potential. Not being able to open a program makes it unusable
If your only use for ACC is opening something, and it's not possible, then yeah that's a big issue. You're welcome to contribute to the project if you want it sped up.
yes would like to contribute. I'll try to figure out how it all ties together soon.
Will make sure to push the latest changes I have made when I get home, so the codebase is up to date. This issue should be fixed, but the issue is that the new update is very big, and introduces "action mods", allowing everyone to make their own actions with any programming language they choose. What's left on this is testing, especially for Python action mods, and I have to make a whole "ACC marketplace" section of the website, where you can make an account, sign up using Google, allow upload of files, voting, comment, profile & approval system. So the main workload is on the web part right now, and of just preparing a release that has to work on all the over 100.000 machines running this program is quite the work testing-wise :S
Will try and find time ASAP, but my company just launched our services world-wide, so time for stuff like this is a luxury.