Coder Social home page Coder Social logo

Problem with "spaced file" about grive HOT 10 CLOSED

grive avatar grive commented on July 21, 2024
Problem with "spaced file"

from grive.

Comments (10)

match065 avatar match065 commented on July 21, 2024

Thanks for reporting.

Which version are you using now? Is it the v0.0.4 or the latest code from git?

from grive.

mmornati avatar mmornati commented on July 21, 2024

I downloaded the latest git code (branch master using https://github.com/match065/grive/tarball/master)

from grive.

match065 avatar match065 commented on July 21, 2024

Can you please try again with the latest code? I committed something which may help.

from grive.

mmornati avatar mmornati commented on July 21, 2024

No, always problem on files. Could be anything different than spacing?

./grive
HTTP POST "https://accounts.google.com/o/oauth2/token" with "refresh_token=xxx&client_id=xxx.apps.googleusercontent.com&client_secret=xxx&grant_type=refresh_token"
HTTP response 200
HTTP GET "https://docs.google.com/feeds/default/private/full/-/folder?max-results=10&showroot=true"
HTTP response 200
can't find folder "." ("")
HTTP GET "https://docs.google.com/feeds/default/private/full?showfolders=true&showroot=true"
HTTP response 200
file "grive-0.0.4.x64.gz" parent doesn't exist, ignored
Downloading ./WORK/Oxylane/delta/RUN / CRASH Procedures RNS.doc
exception: Throw location unknown (consider using BOOST_THROW_EXCEPTION)
Dynamic exception type: gr::http::Error
std::exception::what: cannot open file ./WORK/Oxylane/delta/RUN / CRASH Procedures RNS.doc for writing
[gr::expt::MsgTag*] = cannot open file ./WORK/Oxylane/delta/RUN / CRASH Procedures RNS.doc for writing

from grive.

match065 avatar match065 commented on July 21, 2024

Added code to dump error number and message of the fopen() error.

from grive.

match065 avatar match065 commented on July 21, 2024

Can you please try again with the latest code?

from grive.

mmornati avatar mmornati commented on July 21, 2024

Same error (??)
I can naturally, rename the file, but if you want to test it and fix the problem I can leave it this way ;)
It seems that file start with a "space" char... I think you can test it creating a file like the one in the test, on your space.

./grive
HTTP POST "https://accounts.google.com/o/oauth2/token" with "refresh_token=xxx&client_id=xxx.apps.googleusercontent.com&client_secret=xxx&grant_type=refresh_token"
HTTP response 200
HTTP GET "https://docs.google.com/feeds/default/private/full/-/folder?max-results=10&showroot=true"
HTTP response 200
can't find folder "." ("")
HTTP GET "https://docs.google.com/feeds/default/private/full?showfolders=true&showroot=true"
HTTP response 200
file "grive-0.0.4.x64.gz" parent doesn't exist, ignored
Downloading ./WORK/Oxylane/delta/DRP_BatchConsole_v2-00.doc
HTTP GET "https://doc-0c-1g-docs.googleusercontent.com/docs/securesc/eccb9i2ntfhatk78pf10592v35bicjvp/7uug9s43mjtc5l1h7t4k0on4da2dl378/1337090400000/04997088312931080823/05090217592002565984/105cmhifRgUnfguombTv_MUXeVq9n2jgHVrCDn5QPcVKb7ZY3fT9Hw-t0pH8B?h=16653014193614665626&e=download&gd=true"
HTTP response 200
Downloading ./WORK/Oxylane/delta/RUN / CRASH Procedures RNS.doc
exception: /home/mmornati/projects/grive/libgrive/src/util/StdioFile.cc(46): Throw in function gr::StdioFile::StdioFile(const string&, const char_)
Dynamic exception type: boost::exception_detail::clone_implgr::StdioFile::Error
std::exception::what: std::exception
[boost::errinfo_errno__] = 2, "No such file or directory"
[boost::errinfo_file_name__] = ./WORK/Oxylane/delta/RUN / CRASH Procedures RNS.doc
[boost::errinfo_api_function__] = fopen
[boost::errinfo_file_open_mode_*] = wb

from grive.

match065 avatar match065 commented on July 21, 2024

Thanks.

The error is "No such file or directory". It means that grive cannot create the directory for the file. Can you please check if the directory "./WORK/Oxylane/delta/RUN /" is created by grive?

Actually I tried to use exactly the same path (./WORK/Oxylane/delta/RUN / CRASH Procedures RNS.doc) in my drive to test it, but grive is able to create the directory and the file correctly.

from grive.

match065 avatar match065 commented on July 21, 2024

Please don't rename the file and let the problem be reproducible so I can fix it.

Your help on this is very important for me to improve grive.

I take it very seriously on bug fixes and the quality of grive.

Thanks a lot!

from grive.

nestal avatar nestal commented on July 21, 2024

Any update on the problem on the latest code? Many bugs have been fixed and maybe this one got fixed too.

Can anyone check again?

from grive.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.