Code Monkey home page Code Monkey logo

Comments (5)

g2flyer avatar g2flyer commented on August 12, 2024

Further observation: when the rename fails i often (always?) see following error message from go-mtpfs ...
2013/11/13 11:33:25 basenameRename failed: RetCode 5218
2013/11/13 11:33:56 AndroidGetPartialObject64 failed: GeneralError
... and the problem seems that the source file is actually truncated before the move! (put differently, it seems the move/rename problem seems to be related that the preceeding write failed to complete)

BTW: this was running head of code (commit bb3f0c2 for go-mtpfs / bc17f6b7a8988d9233968501a32fddc15f617a20 for go-fuse)

from go-mtpfs.

g2flyer avatar g2flyer commented on August 12, 2024

there are other errors i get from basenameRename failures, e.g., RetCode 9278. But again the problems seems to have happened before: the source file seems to exist from a directory perspective, e.g., it is visible with ls but also catting it results in Input/output error and AndroidGetPartialObject64 visible in the go-mtpfs output. Also interesting is that go-mtpfs wrote ``182227 bytes in 45.091926ms: 4 mb/s'' but ls -l shows the file size as 182228!! maybe some off-by-one error?

from go-mtpfs.

divVerent avatar divVerent commented on August 12, 2024

To me it seems like not all file extensions are supported. I also can't e.g. see .db or .dat files stored on the Android device.

This is consistent with other mtpfs implementations, so MTP may be at fault here.

My personal workaround is to append .txt to file extensions. Apparently this seems safe, as Android does no CRLF transformation of that or the like. Hope it stays that way.

from go-mtpfs.

JanisE avatar JanisE commented on August 12, 2024

I've encountered the incorrect handling of the timezone, too. My locale time currently is GMT+03:00. When I copy ($ nemo --version: nemo 2.2.4) a file from a go-mtpfs-mounted folder, the copy gets a modification time 3 hours later than that of the original file.

from go-mtpfs.

hanwen avatar hanwen commented on August 12, 2024

closing due to age.

from go-mtpfs.

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.