Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unicode handling #53

Open
tacvbo opened this issue Jan 2, 2016 · 1 comment
Open

Unicode handling #53

tacvbo opened this issue Jan 2, 2016 · 1 comment

Comments

@tacvbo
Copy link

tacvbo commented Jan 2, 2016

Using 0.4.0_pre20151011

Having issues trying to sync files with unicode in their name. In this case, an accent í.

sync "./Arquitectura/Proyecto Ejecutivo/DWG/Telefonía (Unicode Encoding Conflict).dwg" deleted in remote. deleting local
sync "./Arquitectura/Proyecto Ejecutivo/DWG/Telefonía.dwg" created in remote. creating local
HTTP GET "https://doc-10-b0-docs.googleusercontent.com/docs/securesc/q6nssdfasdfasdfpiod/349asdfasdpfr5r6tcv0n1jgs5bcu7d787/1451721602342300/2342342342/14058976363759233566/0BwxDczasdfSHKWlOjaKADSDLnc?h=234242423423&e=download&gd=true"
HTTP response 200
exception: /var/tmpfs/portage/net-misc/grive-0.4.0_pre20151011/work/grive-0.4.0_pre20151011/libgrive/src/util/OS.cc(81): Throw in function void gr::os::SetFileTime(const string&, const gr::DateTime&)
Dynamic exception type: boost::exception_detail::clone_implgr::os::Error
[gr::expt::BacktraceTag*] = #0 0x489a8c grive gr::Exception::Exception()
#1 0x483051 grive gr::os::Error::Error()
#2 0x482b7c grive gr::os::SetFileTime(std::string const&, gr::DateTime const&)
#3 0x4944df grive gr::Syncer::Download(gr::Resource*, boost::filesystem::path const&)
#4 0x458fa1 grive gr::Resource::SyncSelf(gr::Syncer*, gr::Val const&)
#5 0x4594db grive gr::Resource::Sync(gr::Syncer*, gr::DateTime&, gr::Val const&)
#6 0x4595f0 grive gr::Resource::Sync(gr::Syncer*, gr::DateTime&, gr::Val const&)
#7 0x4595f0 grive gr::Resource::Sync(gr::Syncer*, gr::DateTime&, gr::Val const&)
#8 0x4595f0 grive gr::Resource::Sync(gr::Syncer*, gr::DateTime&, gr::Val const&)
#9 0x4595f0 grive gr::Resource::Sync(gr::Syncer*, gr::DateTime&, gr::Val const&)
#10 0x4404c8 grive gr::State::Sync(gr::Syncer*, gr::Val const&)
#11 0x45bfe0 grive gr::Drive::Update()
#12 0x432665 grive Main(int, char**)
#13 0x4306cb grive main
#14 0x7f512830c6a5 /lib64/libc.so.6 __libc_start_main
#15 0x4313e9 grive _start

2, "No such file or directory"[boost::errinfo_file_name__] = ./Arquitectura/Proyecto Ejecutivo/DWG/Telefonía.dwg
[boost::errinfo_api_function__] = utimes

@vitalif
Copy link
Owner

vitalif commented Jan 3, 2016

The exception means the file was downloaded, but grive couldn't find it after downloading i.e. it was downloaded with the different name. What name does the downloaded file have instead of ./Arquitectura/Proyecto Ejecutivo/DWG/Telefonía.dwg in your case?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants