Comments (14)
Looks like it cannot find Phyton.
root@misc-public:~/sync/oauth2# ./oauth2_google.py
-bash: ./oauth2_google.py: /usr/bin/python: bad interpreter: No such file or directory
root@misc-public:~/sync/oauth2#
apt install python
And now showing:
I'll try again tomorrow running the whole thing.
from imapsync.
Do you have
https://imapsync.lamiral.info/oauth2/oauth2_gmail/oauth2_google.py
in the same directory?
from imapsync.
Yes, just did a whole clone of the IMAPSYNC from github as well.
from imapsync.
It's one of those shell mysteries...
What gives
/root/sync/oauth2/oauth2_google.py
from imapsync.
@gilleslamiral I've started to try it this morning when I generate with:
./oauth2_google.py [email protected] --client_id=6395189-hbl1cs6k98a2aum.apps.googleusercontent.com --client_secret=GOCSL_sEckDXEFx --generate_oauth2_token
And i copy and past the URL your script gives me i get this error in google:
Where can I find the right guide on how to test this, so that we do not need to enable 2FA when doing a migration and creating App Passwords.
We do Many M365 Migrations that works great but Google is a pain (at the moment :-D )
from imapsync.
The script to run is ./generate_gmail_token
not ./oauth2_google.py
from imapsync.
than i get this error on Google:
so i only ran: ./generate_gmail_token [email protected]
from imapsync.
You may use an old release.
Update with:
https://imapsync.lamiral.info/oauth2/oauth2_gmail/
from imapsync.
@gilleslamiral Still having the same issue just tried again:
The Advanced button that is stated in your Documentation is not available as you can see.
from imapsync.
Do you use generate_gmail_token
release 1.12?
gilles@petite:~/public_html/imapsync/oauth2/oauth2_gmail 11$ more generate_gmail_token
#!/bin/sh
# $Id: generate_gmail_token,v 1.12 2023/05/31 09:31:42 gilles Exp gilles $
https://imapsync.lamiral.info/oauth2/oauth2_gmail/generate_gmail_token
from imapsync.
Yes I do, downloaded from the link you provided:
from imapsync.
Ok
I don't have this reject when I use it, I just have warnings I can accept
from imapsync.
Related Issues (20)
- sync to many subfolder HOT 9
- NO [CANNOT] APPEND Contains Deleted flag HOT 4
- Question: Deleting what was not synced only from host1 HOT 2
- parsing headers of folder It can take time for huge folders. Be patient. HOT 12
- Changelog version 2.269 HOT 8
- identify the message HOT 1
- delete2folders does not delete folders that are excluded, because they are present on host1 HOT 4
- Zimbra and "NO LIST failed" was:Folder at the same level than INBOX HOT 11
- Mac version after 2.200 not working with error "Attempt to reload DynaLoader.pm aborted." HOT 6
- Docker: Internal server error HOT 6
- Question: Is there a better way to do unit test HOT 10
- Imapsync webserver and Debian 12 HOT 1
- could not be fetched: socket closed while reading data from server (4x) The most frequent error is ERR_Host1_FETCH. HOT 3
- After losing network connection, imapsync appears to not be able to sync ~2000 missed emails. HOT 3
- imapsync parallel command HOT 5
- mapsync Ended by a signal TERM HOT 1
- Handling slashes "/" in folder names HOT 6
- Install on M1 via brew HOT 1
- Syncing Imap Sync from Imap account to Mail Plus ? HOT 24
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from imapsync.