Skip to content
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

ACC stopped working - Alexa + IFTTT + GDrive OK #117

Closed
timothe opened this issue Oct 18, 2021 · 11 comments
Closed

ACC stopped working - Alexa + IFTTT + GDrive OK #117

timothe opened this issue Oct 18, 2021 · 11 comments

Comments

@timothe
Copy link

timothe commented Oct 18, 2021

ACC runs on my computer, Alexa + IFTTT creates the file on Google Drive. The right folder is set up in the settings.
But ACC leaves the file(s) as they are and do not perform any action.
Log enclosed, but does not say much.
I also setup the ACC folder in GDrive as "offline".
log.txt
It seemed to work till a few months back. Maybe when I switched to the updated version of Google Drive?
Any idea?

@AlbertMN
Copy link
Owner

Many report that ACC doesn't work with the new Google Drive. I for one got it working fine.

Could you try downloading the new test-version linked to here; #115, and run it after your PC (and Google Drive) is up and running? See if that helps and let me know.

@timothe
Copy link
Author

timothe commented Oct 19, 2021

Unfortunately that didn't help. ACC is up to date with the beta version, the txt files appear but ACC doesn't react. I re-defined the path to be sure, also I restarted ACC after everything was up and running.
Although I realise ACC might start before Google Drive at startup. Would that be the issue?

@AlbertMN
Copy link
Owner

The link to #115 above isn't a beta version, so please try and download the version from the link, and start up ACC after the start of Google Drive.

@timothe
Copy link
Author

timothe commented Oct 19, 2021

I think I got the right one.
image

@AlbertMN
Copy link
Owner

That's the one, built last week - try closing ACC and starting it again after GDrive is properly set up. If it works, I have a fix and can make GDrive work again.

@timothe
Copy link
Author

timothe commented Oct 19, 2021

Same result. ACC just sits there, without performing any action.
image

@AlbertMN
Copy link
Owner

Damn... Can you send the ACC log here?

@timothe
Copy link
Author

timothe commented Oct 19, 2021

log.txt
That's the latest

@AlbertMN
Copy link
Owner

Yeah, don't see anything sadly. Well, R.I.P ACC Google Drive support ⚰️.

Sadly doesn't seem like theres' much I can do about it from a code-perspective, open to suggestions and PR's, but don't have the time to look further into it personally.

@timothe
Copy link
Author

timothe commented Oct 19, 2021

;(

@timothe
Copy link
Author

timothe commented Oct 20, 2021

I believe it boils down to monitoring external drives, mounted/dismounted at will. I'm not a .NET developer so can't really say or offer a PR, but it looks like it's the root cause. The funny thing is that it cleans the directory at startup, so it does have access to it.
I see you're using FileSystemWatcher with the basic methods. My noob ass would look at this, this, this, this to see if there's anything interesting using your current method (polling instead of using the usual methods?), or this to explore another way of using it, or use the GDrive API here, or maybe another workaround such as this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants