-
-
Notifications
You must be signed in to change notification settings - Fork 62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fatal action not deleted or renamed #33
Comments
Hi there. Here's a little backstory of the issue - if you're interested - otherwise, just go to the "solution" headline below Backstory The reason the line you refer to is commented out, is because it caused exactly that to happen; endless loops again. The theory was; if we don't delete it, but rather rename it, a file by the same name can be synced to your PC without trouble. The problem was; the Now, one solution I came up with, was making files It's also worth noting, that what you're describing ("... this makes IFTTT not actually update the dropbox file ...") doesn't happen for everyone. Some computers (mine included) just calls the file "Solution" Thanks for being alert and reporting bugs - helps the development a lot (even though this issue was known, better safe than sorry!) Closing since the solution is known - all I need is to find the time to update all the applets :) |
Very interesting, thanks for providing the details. I totally understand that a full solution will take time. Luckily I was able to use the IFTTT maker channel to create an applet that used a timestamp in the file name, like you mentioned, and it has been circumventing this bug perfectly. |
All the Google Drive applets have now been updated to feature a UNIX timestamp in the filename. Next up; Dropbox - this will take some time though. |
@peter-moran what assistant do you use? My computer doesn't seem to want the characters that the Google Assistant's |
I also used Google assistant and had the same problem at first. I had to use the https://platform.ifttt.com/maker/ which allows you to run a "filter" step, which let me format the time stamp to be numbers only. However, if you try this you will probably run into the issue that publishing a multi-step applet requires a paid account if you use the filter step. So you might need a different workaround. |
Google doesn't seem to be able to get that ingredient right... At first it was empty - didn't output anything. Was fixed 7 months ago, but now the format isn't allowed as a name. They're quite hard to get in touch with. Will see what I can do. |
I believe the main problem is that IFTTT now uses a date description that contains characters that are invalid on most file systems, eg I have noticed something interesting though, the files do still show up on the Dropbox website. They just don't get synched because the invalid file name. |
That is indeed interesting - didn't know that. Writing to Google right now, and will post in the IFTTT reddit forum. The ingredient "CreatedAt" is generated by Google, and IFTTT has nothing to do with the content. IFTTT won't be able to fix this, but a nice feature would be for Dropbox to get their own similar ingredients to fully allow unique file names. |
Reddit post urging IFTTT to make universal ingredients, such as UNIX timestamp for execution; https://www.reddit.com/r/ifttt/comments/ahypb7/universal_ingredients_for_all_services/ - support like upvotes or comments would help make it noticed. |
This version might fix it. Please try it :) From what I've gathered, this only happens in one instance; when When ACC starts, it clears the folder, so after All non-fatal actions are deleted imediately - even before execution. |
Hello! I've just discover ACC, so i tried the v1.2.1 and i have the same issue with sleep (Google assistant + Dropbox) ACC can't delete the file and the computer wakes up just after going to sleep. |
The delay is indeed not a very good fix, as ACC has no way of knowing how many files Dropbox has to sync, how long it'll take or when it's done. I'd like to avoid having this as a "fix", but if I don't find any other fix soon, it could be a temporary one. I'll keep investigating. |
I've tried contacting the Google Assistant team to ask them to either fix their IFTTT {{TriggeredAt}} ingredient, or add more - without luck so far. I'll try again on Monday through their support website livechat system. I urge everyone to help making them aware of this issue. Will update this issue once I know more. It still hasn't been possible to work out a fix for this in the software, and the dream scenario is still being able to call the files unique names. |
Any update on this issue or it's resolution? I'm still having the issue today. |
No news yet. Been super busy and haven't had much time to work on ACC. Will take a look this weekend. |
I've come to the conclusion with fellow developer and ACC-contributer Gamma1991, that there is no way to fix this issue IFTTT-wise, and probably not code-wise either at the moment. I've tried to get in touch with the Google Assistant team (specifically the ones that do the IFTTT-service intergration), but without luck so far. I've also tried contacting the IFTTT team, as a potential fix for this - that would most likely benifit a lot of developers using IFTTT - could be a global "ingredient" (IFTTT's 'variables' for applets), called If you wanna help, you can try and tweet at "@ActionsOnGoogle", which is probably the closest we get to the Google Assistant team, or somehow contact an IFTTT-developer (< harder than you'd think) Again, thanks for your patience... I really hope we find a good solution to this soon, but right now one hasn't presented itself just yet. |
I've thought of a potential fix that can be implemented in the software. Will test it the next few days - everyone who is experiencing this issue are very welcome in our Discord server, in the #testing channel, where I will be posting test builds that would require someone who experiences the issue (not me), to test it before I know if it works. Thanks. |
Here it is! Hope it fixes the issue (fingers crossed). Please test it and report back, that'd be very helpful. |
I can confirm this works. I sent the |
Fantastic - thanks for confirming. Closing this issue - a new release with the fix will be out soon :) |
I believe you have a bug where a "fatal action" file is not deleted or renamed. For me, this makes IFTTT not actually update the dropbox file, and thus the action is not played.
On the logs, I see:
"Action was fatal action - won't delete just yet - renaming"
In the code, I also see that the line for renaming the file is commented out.
AssistantComputerControl/AssistantComputerControl/actionChecker.cs
Line 230 in 80d49db
When I hack IFTTT to create a unique file name every time, the actions start working again.
The text was updated successfully, but these errors were encountered: