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

File transfer stuck midway during transfer #154

Open
pcvvelzen opened this issue Jul 27, 2020 · 3 comments
Open

File transfer stuck midway during transfer #154

pcvvelzen opened this issue Jul 27, 2020 · 3 comments
Labels
bug Something isn't working
Projects

Comments

@pcvvelzen
Copy link

pcvvelzen commented Jul 27, 2020

Describe the bug, Current Behavior and Context
When transferring files from my Mac to Android device (Xiaomi Note 6 Pro), OpenMTP gets stuck on transferring one specific file. This happens again after second attempt and seems to be related to some corruption within certain backed-up files.

The application interface is still usable but there is no way to skip to next file, or to cancel the transfer as a whole.

Expected behavior and Possible Solution
Because OpenMTP of course cannot guarantee the validity and reliability of the content being transferred through the app. A timeout of X seconds after being stuck on transferring one file would be expected, or a prompt which allows the user to skip file or cancel the whole transfer.

Steps to Reproduce (for bugs)
Unfortunately the issue appears to be hard to replicate and a combination of some corruption in data and external harddisk used.

  • Setup a symlink to a directory with a couple of dummy files
  • Start transfer from the symlink source destination machine to Android device through OpenMTP
  • Midway during transfer remove the symlink target

Your Environment
Include as many relevant details about the environment you experienced the bug in

  • Node version : v12.17.0
  • Version or Branch used : stable
  • Operating System and version Catalina 10.15.6
  • App Version OpenMTP-v2.4.4

Attachments
Unfortunately the directory with logs didn't contain any content:

$ ls -la ~/.io.ganeshrvel/openmtp/logs/
total 0
drwxr-xr-x  3 peter  staff   96 27 jul 13:29 .
drwxr-xr-x  4 peter  staff  128 27 jul 13:29 ..

$ cat ~/.io.ganeshrvel/openmtp/logs/OpenMTP-error-2020-07.log
# (empty output)

@pcvvelzen pcvvelzen added the bug Something isn't working label Jul 27, 2020
@ganeshrvel
Copy link
Owner

symlinks are tricky. In the next release of OpenMTP this issue should be fixed (at least temporarily)

@ganeshrvel ganeshrvel added this to To do in v3.0.0 via automation Nov 19, 2020
@ganeshrvel
Copy link
Owner

This should have been fixed by #181

Keeping this open until the stable release it out.

@ganeshrvel ganeshrvel moved this from To do to In progress in v3.0.0 Dec 5, 2020
@ganeshrvel
Copy link
Owner

@peterv1988

Could you download the latest community beta version of OpenMTP from https://drive.google.com/file/d/1wpSlkGWZKe4-nRYcdJaPVA3Y6kOBMTsO/view?usp=sharing and let me know whether your device is recognized?

Cheers

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
No open projects
v3.0.0
In progress
Development

No branches or pull requests

2 participants