gnome-shell-google-calendar
gnome-shell-google-calendar copied to clipboard
Error logging in as 'None'
whenever I run this it fails as such:
./gnome-shell-google-calendar.py Logging in as 'None'... Error logging in as 'None' 'None' may not be a GNOME online account. A list of existing accounts is below. If you do not see a list of accounts, then you first need to add one. For more information, see http://library.gnome.org/users/gnome-help/stable/accounts.html Please choose the Account: [[my gmail account]] You have entered an invalid account number. Please enter an integer. Logging in as 'None'... Error logging in as 'None' 'None' may not be a GNOME online account. A list of existing accounts is below. If you do not see a list of accounts, then you first need to add one. For more information, see http://library.gnome.org/users/gnome-help/stable/accounts.html Please choose the Account:
First, you do not have a GNOME online account, as none are listed. You first need to add one.
Second, after you add one, you need to select the account using an integer, not the account name.
Once you create a GNOME online account, this should all make sense. Suggestions on how to improve the text are welcome.
See https://github.com/vintitres/gnome-shell-google-calendar/pull/32 for example output with GNOME online accounts listed, similar to what you are dealing with.
See http://library.gnome.org/users/gnome-help/stable/accounts.html to add a GNOME online account.
You can try adding [email protected], worked for me.
Hi,
I am getting the exact same error message, and I have already setup a GNOME online account... any more ideas?
Thanks
Matt
Check modifying the script adding what i said in my last comment , works ok for me
regards
shippma, what version of gnome are you using? There may be a bug related to 3.8. See issue #39.
It's posible , i'm using 3.4
Regards,
2013/5/6 Jared Silva [email protected]
shippma, what version of gnome are you using? There may be a bug related to 3.8. See issue #39https://github.com/vintitres/gnome-shell-google-calendar/issues/39 .
— Reply to this email directly or view it on GitHubhttps://github.com/vintitres/gnome-shell-google-calendar/issues/35#issuecomment-17464387 .
Hi,
Thanks for getting back so quickly, apologies in advance for not responding till now, I only get weekends to play i'm afraid!
Right, firstly to rodrigolopezguerra, thanks for your response, although I do actually code for a living (and so have a reasonable understanding of some languages and general programming structures) I haven't used Python before and am just dipping my toes in. As a result I'm not entirely sure where to add the line with my e-mail address that you suggest. If you could include a little more detail as to the file to add it to and the location within the file that would be great. ATM I am assuming you are talking about the main gnome-shell-google-calendar.py file, or config.py files. I have tried adding my account to various areas of these files, especially after the #login comment near the end of gnome-shell-google-calendar.py, but with no success!
To jayr0d, I am using gnome 3.4.2
Thanks for your help
Matt
You should not need to modify any of the files. account is a command line argument you can pass to the script.
Are you seeing your email address listed as an account? It should be account 0. If it is having trouble authorizing and asking, are you entering 0 to chose the account?
You can also remove the account and recreate it and see if it works. Terminal output might be more helpful at that point.
Thanks, just tried removing and recreating the online account and now it all works, without adding any extra arguments etc. It never fails to amaze me how often resetting, or in this case deleting and re-creating dependancies, whatever form they are in, seems to work and how often people (and myself in this case) fail to try it!
Thanks guys!
Well, ideally, you should not have to! Glad you got it going.
Hi ,
Yes exactly . What i did was add the .py to the start up of the system , and pass my email as argument. After that all my other emails are added auto. Yes , i read that resseting fixed some times , but didn't worke for me .
Regards,
2013/5/11 Jared Silva [email protected]
Well, ideally, you should not have to! Glad you got it going.
— Reply to this email directly or view it on GitHubhttps://github.com/vintitres/gnome-shell-google-calendar/issues/35#issuecomment-17759424 .