Comments (11)
Grive is using 'me' in readers
search condition to list syncable resources. The idea was exactly to allow syncing of shared files/directories...
So, we must find an appropriate search condition to sync "My Drive"...
The documentation is here https://developers.google.com/drive/web/search-parameters
There is a "sharedWithMe" condition - can you test it here, will it show your company files? https://developers.google.com/drive/v2/reference/files/list (there is an "api tester" in the end of the page - just enter "sharedWithMe" into "q" field and click execute)
from grive2.
I have some files that are shared with me and they are shown by entering into https://developers.google.com/drive/v2/reference/files/list sharedWithMe but they are not synced by grive2. These files are stored under a subdirectory.
from grive2.
Is there something I can add to "my drive" like that? Maybe you can create a public folder and I'll try to add to "my drive" and debug the sync with grive?
from grive2.
I have created a public empty folder in my drive for testing:
https://drive.google.com/folderview?id=0B3Hv-zV2q5IcQ05uMnA4RVM0UzA&usp=sharing
I can sync my own folder using grive2 but not the ones that have been shared with me. When I type grive2 -s
I can see my shared folders in google drive but they are not downloaded.
from grive2.
ok, now please add a file there...
from grive2.
I have uploaded a file to the folder now.
from grive2.
Hm... I suspect that "me in readers" condition is not needed at all. I've removed it in the master branch, this allowed grive to download your file. Please update and try if everything is ok now.
from grive2.
I have compiled the code with this patch and the unauthorized error when I sync is:
Failed to refresh auth token: HTTP 401, body: {
"error" : "unauthorized_client"
}
and when I input the new code for authentication:
exception: /home/miguel/Source/grive2/libgrive/src/protocol/OAuth2.cc(116): Throw in function void gr::OAuth2::Refresh()
Dynamic exception type: boost::exception_detail::clone_impl<gr::OAuth2::AuthFailed>
[gr::expt::BacktraceTag*] = #0 0x545c20 :0 gr::Exception::Exception()
#1 0x529261 :0 gr::OAuth2::AuthFailed::AuthFailed()
#2 0x528ee0 :0 gr::OAuth2::Refresh()
#3 0x527d08 :0 gr::OAuth2::OAuth2(gr::http::Agent*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)
#4 0x4e1e5d :0 Main(int, char**)
#5 0x4e252f :0 main
#6 0x7fbe94e6f610 /usr/lib/libc.so.6 __libc_start_main
#7 0x4e0bf9 :0 _start
from grive2.
O_o I don't think the change could have caused such error...
from grive2.
I went from v0.3 to the master branch, the error is not related with this ticket.
from grive2.
The change in 9841635 fixed the issue for me. Thank you!
from grive2.
Related Issues (20)
- Update the installation procedure for Ubuntu HOT 1
- OAUTH keeps failing after a couple of weeks
- Run grive --auth with xdg registered browser
- Release HOT 1
- Google depricates "OAuth out-of-band (OOB) flow" HOT 6
- error: 'unique_ptr' in namespace 'std' does not name a template type HOT 1
- Can no longer authorize using client_id and client_secret HOT 5
- Stucked in 'Reading the remote files list' HOT 2
- HTTP 401 issue using own OAuth2 client HOT 1
- Unable to ignore .git/ files and node_modules HOT 2
- CMake error according to policy CMP0004 HOT 5
- Issue with initial sync HOT 2
- authenticate the OAuth2 HOT 4
- Feature : an easy way to install on Linux (flatpak, snap,PPA) HOT 9
- Produce a static binary HOT 3
- Error 403
- CurlAgent Error HOT 1
- Request failed due to auth token expired: 401
- .griveignore not working
- Can't find sync services status with systemctl HOT 11
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 grive2.