Grive / grive

an open source Linux client for Google Drive
http://www.lbreda.com/grive/start
GNU General Public License v2.0
1.59k stars 378 forks source link

Thrown error (149) #332

Closed kurdtpage closed 6 years ago

kurdtpage commented 8 years ago

I am using Linux Mint 17.1 (Cinnamon 2.4.8). Using a NTFS hard drive (that I also use with Windows) mounted to /media/shaun/Dee. This folder is successfully synced with the usual Google Drive sync program in Windows, the folder is about 60GB total. Command line history:

shaun@mint ~ $ sudo apt-get install grive
[sudo] password for shaun:
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following extra packages will be installed:
  libboost-filesystem1.54.0 libboost-program-options1.54.0
The following NEW packages will be installed:
  grive libboost-filesystem1.54.0 libboost-program-options1.54.0
0 upgraded, 3 newly installed, 0 to remove and 77 not upgraded.
Need to get 300 kB of archives.
After this operation, 1,255 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libboost-filesystem1.54.0 amd64 1.54.0-4ubuntu3.1 [34.2 kB]
Get:2 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libboost-program-options1.54.0 amd64 1.54.0-4ubuntu3.1 [115 kB]
Get:3 http://archive.ubuntu.com/ubuntu/ trusty/universe grive amd64 0.2.0-1.1 [150 kB]
Fetched 300 kB in 3s (98.8 kB/s)
Selecting previously unselected package libboost-filesystem1.54.0:amd64.
(Reading database ... 163047 files and directories currently installed.)
Preparing to unpack .../libboost-filesystem1.54.0_1.54.0-4ubuntu3.1_amd64.deb ...
Unpacking libboost-filesystem1.54.0:amd64 (1.54.0-4ubuntu3.1) ...
Selecting previously unselected package libboost-program-options1.54.0:amd64.
Preparing to unpack .../libboost-program-options1.54.0_1.54.0-4ubuntu3.1_amd64.deb ...
Unpacking libboost-program-options1.54.0:amd64 (1.54.0-4ubuntu3.1) ...
Selecting previously unselected package grive.
Preparing to unpack .../grive_0.2.0-1.1_amd64.deb ...
Unpacking grive (0.2.0-1.1) ...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Setting up libboost-filesystem1.54.0:amd64 (1.54.0-4ubuntu3.1) ...
Setting up libboost-program-options1.54.0:amd64 (1.54.0-4ubuntu3.1) ...
Setting up grive (0.2.0-1.1) ...
Processing triggers for libc-bin (2.19-0ubuntu6.9) ...
shaun@mint ~ $ cd /media/shaun/Dee/Cloud
shaun@mint /media/shaun/Dee/Cloud $ grive
grive: Symbol `json_tokener_errors' has different size in shared object, consider re-linking
Please run grive with the "-a" option if this is the first time you're accessing your Google Drive!
shaun@mint /media/shaun/Dee/Cloud $ grive -a
grive: Symbol `json_tokener_errors' has different size in shared object, consider re-linking
-----------------------
Please go to this URL and get an authentication code:

https://accounts.google.com/o/oauth2/auth?scope=https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fuserinfo.email+https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fuserinfo.profile+https%3A%2F%2Fdocs.google.com%2Ffeeds%2F+https%3A%2F%2Fdocs.googleusercontent.com%2F+https%3A%2F%2Fspreadsheets.google.com%2Ffeeds%2F&redirect_uri=urn:ietf:wg:oauth:2.0:oob&response_type=code&client_id=22314510474.apps.googleusercontent.com

-----------------------
Please input the authentication code here: 
4/GyLoWE_BpveW7ajWugEx30bdPG_KyJB7uKY01dccVCB
Reading local directories
Synchronizing folders
exception: /build/buildd/grive-0.2.0/libgrive/src/http/CurlAgent.cc(149): Throw in function long int gr::http::CurlAgent::ExecCurl(const string&, gr::http::Receivable*, const gr::http::Header&)
Dynamic exception type: boost::exception_detail::clone_impl<gr::http::Error>
std::exception::what: std::exception
[gr::expt::MsgTag*] = 
[gr::http::CurlCodeTag*] = 0
[gr::http::HttpResponseTag*] = 400
[gr::http::UrlTag*] = https://docs.google.com/feeds/default/private/full/-/folder?max-results=50&showroot=true
[gr::http::HeaderTag*] = Authorization: Bearer ya29.Ci8mAyc7jsR2bMeYjft1a50Lxn5iOC9cL1M5t5-jFsnm88N1lPqaWyDzMk-cpFPkmg
GData-Version: 3.0
estomagado commented 6 years ago

GRIVE NO LONGER MAINTAINED PLEASE USE GRIVE2

Grive is DEPRECATED. Please refer to the newest fork Grive2.

Grive2 is here: https://github.com/vitalif/grive2