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

The system cannot move the file to a different disk drive #259

Closed
labba opened this issue Oct 24, 2023 · 1 comment
Closed

The system cannot move the file to a different disk drive #259

labba opened this issue Oct 24, 2023 · 1 comment

Comments

@labba
Copy link

labba commented Oct 24, 2023

i have the take out on one disk and wanted the output to another disk drive, while trying to execute the gpth-windoza.exe v3.4.3, i gotten the following exception:

Finding albums (this may take some time, dont worry :) ...
Moving photos to output folder : ........................................ 0/30033  Unhandled exception:


FileSystemException: Cannot rename file to 'D:\out\ALL_PHOTOS\2017\12\IMG-20171218-WA0009.jpg', path = 'C:\Users\user\Downloads\achi\in\takeout-20231022T182402Z-001\Takeout\Google Photos\Photos from 2017\IMG-20171218-WA0009.jpg' (OS Error: The system cannot move the file to a different disk drive.
, errno = 17)
#0      _checkForErrorResponse (dart:io/common.dart:55)
#1      _File.rename.<anonymous closure> (dart:io/file_impl.dart:335)
<asynchronous suspension>
#2      moveFiles.moveFile (package:gpth/moving.dart:135)
<asynchronous suspension>
#3      moveFiles (package:gpth/moving.dart:140)
<asynchronous suspension>
#4      main.<anonymous closure> (file:///d:/a/googlephotostakeouthelper/googlephotostakeouthelper/bin/gpth.dart:373)
<asynchronous suspension>

i saw this issue and solution reported on stackoverflow.com: https://stackoverflow.com/questions/21116510/python-oserror-winerror-17-the-system-cannot-move-the-file-to-a-different-d

hope this help.

@TheLastGimbus
Copy link
Owner

Duplicate of #251

See my response there: #251 (comment)

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