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

Processes only 1 file then exits without error #40

Open
CharlotteCross1998 opened this issue Sep 6, 2023 · 2 comments
Open

Processes only 1 file then exits without error #40

CharlotteCross1998 opened this issue Sep 6, 2023 · 2 comments

Comments

@CharlotteCross1998
Copy link

Output log:

--- Creating directory: <directory> ---
--- Finding supported media files (.jpeg, .jpg, .heic, .gif, .mp4, .png, .avi, .mov) ---
--- Scan complete, found: ---
0 files with extension .jpeg
15045 files with extension .jpg
0 files with extension .heic
5 files with extension .gif
2302 files with extension .mp4
19 files with extension .png
0 files with extension .avi
0 files with extension .mov
--- Processing media files ---
Copying file 0 of 17371:  <directory>/Takeout/Google Photos/Archive/<photo>.jpg -> <photo>.jpg

It ends there. No errors are in the error directory, a singular photo is copied but that's it.

@Huskyee
Copy link

Huskyee commented Nov 15, 2023

I'm not sure whether there is something to do with the OS.
When I used Windows 11 to run the program, everything went well.
However, I encountered the same problem as yours when I ran this program on my Synology NAS (DSM 7.2).

After testing for a while, I found the problem is in update-exif-metadata.ts, when it called exiftool.write(...), the program terminated unexpectedly.
So I reinstall the exiftool-vendored by
yarn add exiftool-vendored
Then I installed Perl on the system, and it finally worked.
Hope this can help you!

@Yooooomi
Copy link

Then I installed Perl on the system, and it finally worked.

I had the issue too. I ran the program inside a node:20-alpine container. All I was missing was Perl, installed it using apk add perl and everything went well.

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

3 participants