nice tool, but i do net it running so far.
What did ido so far:
- Installation of .NET 4.5
- Logging into Google and enabling Drive API
- Configuration of XML with Client ID, Secret and UID of my google account in keepass
When i try to sync i get an error message:
Precondition failed.: !string.IsNullOrEmpty(this.ClientIdentifier)
Any ideas what could be the reason?
Thanks.
Last edit: cma123 2012-11-16
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I use the portable version so PreferUserConfiguration is false for me. It looks like you are using the installed version. Maybe it's looking somewhere else for the config entries?
Last edit: Danyal 2012-11-16
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The plugin uses Google API to connect to Google services - in this case, the Google Drive service. For extra security measures, these services require more than just your Google account credentials: Client ID, Client Secret, and Google account username/password.
So you will need to login using your Google account here https://code.google.com/apis/console. From there you will be able to generate a Client Id and Client Secret for Installed applications and also turn on the Drive API service.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello Danyal
First thank you for your work on this! I hope I can get it working.
I have turned on Drive API and gotten client ID and Secret(for installed application)
In the KeePass.config.xml file for the GoogleSyncKeePassUID value I put my gmail username im using for keepass?
When I try to sync it says "Value Does Not Fall Within Expected Range"
and from one of the other posts am I to understand that I have to download google api dll's?
Thank you in advance for your time and attention...
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
nice tool, but i do net it running so far.
What did ido so far:
- Installation of .NET 4.5
- Logging into Google and enabling Drive API
- Configuration of XML with Client ID, Secret and UID of my google account in keepass
When i try to sync i get an error message:
Precondition failed.: !string.IsNullOrEmpty(this.ClientIdentifier)
Any ideas what could be the reason?
Thanks.
Last edit: cma123 2012-11-16
If you modified it while KeePass was running, those settings are not read. In fact, if you were to exit KeePass, it will clear all your entries.
Only way for it to read your entries is to modify config file before starting the application.
Ok, i checked it:
I modified the config and start keepass again.
But i get the same error.
my config looks similar like this:
Last edit: cma123 2012-11-16
Hi cma123,
Are you using the latest version (1.1.x)?
If you are, you might want to see how KeePass uses Configuration files.
http://keepass.info/help/base/configuration.html
I use the portable version so PreferUserConfiguration is false for me. It looks like you are using the installed version. Maybe it's looking somewhere else for the config entries?
Last edit: Danyal 2012-11-16
I have a more basic problem: What does this mean?
"Log into https://code.google.com/apis/console to generate a Client Id and Client Secret."
Hello Kurt,
The plugin uses Google API to connect to Google services - in this case, the Google Drive service. For extra security measures, these services require more than just your Google account credentials: Client ID, Client Secret, and Google account username/password.
So you will need to login using your Google account here https://code.google.com/apis/console. From there you will be able to generate a Client Id and Client Secret for Installed applications and also turn on the Drive API service.
Hi Danyal,
Thanks!
In deed, i have the installed version.
I needed to create the KeePass Config in the Local folder.
Then it is loaded correctly.
But GoogleSync wants to sync a database from the program folder and not from my user folder.
Now i use the portalbe version and have the database in the program folder.
Now it works for me!
Thanks for your help!
Hello Danyal
First thank you for your work on this! I hope I can get it working.
I have turned on Drive API and gotten client ID and Secret(for installed application)
In the KeePass.config.xml file for the GoogleSyncKeePassUID value I put my gmail username im using for keepass?
When I try to sync it says "Value Does Not Fall Within Expected Range"
and from one of the other posts am I to understand that I have to download google api dll's?
Thank you in advance for your time and attention...
Please see previous post on this issue: https://sourceforge.net/p/kp-googlesync/discussion/general/thread/74287b41/#7a5e
I have also added detailed steps in Support section