8000 Unexpected error Cannot read properties of undefined (reading 'FileModifyDate') · Issue #370 · thumbsup/thumbsup · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Unexpected error Cannot read properties of undefined (reading 'FileModifyDate') #370

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

Open
inhahe opened this issue Jun 12, 2024 · 7 comments
Labels
bug Existing bug

Comments

@inhahe
Copy link
inhahe commented Jun 12, 2024

Bug description

Steps to reproduce

2024-06-12T01:07:52.643Z thumbsup:warn dcraw (https://www.cybercom.net/~dcoffin/dcraw/) is not installed. You will not be able to process RAW photos.
2024-06-12T01:15:10.240Z thumbsup:error TypeError: Cannot read properties of undefined (reading 'FileModifyDate')
2024-06-12T01:15:10.240Z thumbsup:error     at Stream.<anonymous> (/usr/local/lib/node_modules/thumbsup/src/components/index/index.js:86:45)
2024-06-12T01:15:10.240Z thumbsup:error     at Stream.emit (node:events:512:28)
2024-06-12T01:15:10.240Z thumbsup:error     at stream.write (/usr/local/lib/node_modules/thumbsup/node_modules/event-stream/index.js:61:10)
2024-06-12T01:15:10.240Z thumbsup:error     at Stream.ondata (node:internal/streams/legacy:20:31)
2024-06-12T01:15:10.240Z thumbsup:error     at Stream.emit (node:events:512:28)
2024-06-12T01:15:10.240Z thumbsup:error     at Stream.reemit (/usr/local/lib/node_modules/thumbsup/node_modules/duplexer/index.js:70:25)
2024-06-12T01:15:10.240Z thumbsup:error     at Stream.emit (node:events:512:28)
2024-06-12T01:15:10.240Z thumbsup:error     at drain (/usr/local/lib/node_modules/thumbsup/node_modules/through/index.js:36:16)
2024-06-12T01:15:10.240Z thumbsup:error     at stream.queue.stream.push (/usr/local/lib/node_modules/thumbsup/node_modules/through/index.js:45:5)
2024-06-12T01:15:10.240Z thumbsup:error     at parser.onValue (/usr/local/lib/node_modules/thumbsup/node_modules/JSONStream/index.js:118:16)

This is on Ubuntu on WSL2 on Windows 11.

@inhahe inhahe added the bug Existing bug label Jun 12, 2024
@inhahe
Copy link
Author
inhahe commented Jun 12, 2024

I'm running it with --log trace right now..

@inhahe
Copy link
Author
inhahe commented Jun 12, 2024

I couldn't tell from --log trace which file it crashed on or which directory it was in.

@inhahe
Copy link
Author
inhahe commented Jun 12, 2024

But I can tell you it was reading a Windows directory under /mnt.

@inhahe
Copy link
Author
inhahe commented Jun 12, 2024

I just got the same error on Mint Cinnamon (again reading a Windows directory, this time shared by VirtualBox)

@inhahe
Copy link
Author
inhahe commented Jun 12, 2024

I just copied the Windows directory to a Linux directory and ran thumbsup on that and still got the error.

@inhahe
Copy link
Author
inhahe commented Jun 12, 2024

I tried find ./picsdir -type f -exec touch -m {} + to change the last modified date of every file in the directory and re-ran thumbsup, and I still got the error.

@inhahe
Copy link
Author
inhahe commented Jun 12, 2024

I just ran detox on all the files, and now I don't get that error. I just realized that I've already reported this error before and it was mostly fixed but apparently there's a corner case in this directory structure.

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

No branches or pull requests

1 participant
0