Open jannis3005 opened 2 years ago
File.vue:161 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'fileid')
at File.vue:161:1
at u (runtime.js:63:40)
at Generator._invoke (runtime.js:294:22)
at Generator.next (runtime.js:119:21)
at f (File.vue?vue&type=template&id=3470e4e4&scoped=true&:1:1)
at o (File.vue?vue&type=template&id=3470e4e4&scoped=true&:1:1)
at File.vue?vue&type=template&id=3470e4e4&scoped=true&:1:1
at new Promise (<anonymous>)
at File.vue?vue&type=template&id=3470e4e4&scoped=true&:1:1
Undefined FIle ID @artonge ? :thinking:
Also above:
vue.runtime.esm.js:3019 TypeError: Cannot read properties of undefined (reading 'width')
at o.mapFileToItem (FilesListViewer.vue:235:1)
at Array.map (<anonymous>)
at FilesListViewer.vue:184:1
at Array.flatMap (<anonymous>)
at o.sectionsToItems (FilesListViewer.vue:175:1)
at e.get (vue.runtime.esm.js:3415:33)
at e.evaluate (vue.runtime.esm.js:3516:27)
at o.sectionsToItems (vue.runtime.esm.js:5492:25)
at o.items (FilesListViewer.vue:214:1)
at e.get (vue.runtime.esm.js:3415:33)
And
20vue.runtime.esm.js:3019 TypeError: Cannot read properties of undefined (reading 'source')
at o.<anonymous> (File.vue?vue&type=template&id=3470e4e4&scoped=true&:1:247)
at e._render (vue.runtime.esm.js:2654:28)
at o.r (vue.runtime.esm.js:3844:27)
at e.get (vue.runtime.esm.js:3415:33)
at new e (vue.runtime.esm.js:3405:51)
at e (vue.runtime.esm.js:3861:5)
at Kn.$mount (vue.runtime.esm.js:8727:12)
at init (vue.runtime.esm.js:4375:19)
at vue.runtime.esm.js:6522:17
at f (vue.runtime.esm.js:6476:13)
Looks like we have an undefined file in the data flow, but never seen that. Make me think of your concern here: https://github.com/nextcloud/photos/pull/1341
@jannis3005 can you tell us if you have use .nomedia
files to exclude folders ?
@artonge yes i do apparently. i never (knowingly) created it, but there was one with 0bytes in size. I deleted it and the error is now gone.
@artonge yes i do apparently. i never (knowingly) created it, but there was one with 0bytes in size. I deleted it and the error is now gone.
Good that the error is gone for you, be let's keep this issue open as it should not happen.
Could you confirm that a folder with no content besides a .nomedia
file broke the album view ?
it's not a folder with no contents, but with no media files. the file was located in the root folder of my files. could also reproduce this exact behaviour with another user on my instance
there were several other files and folders besides the .nomedia file (odt, md)
Thanks for clarifying @jannis3005 I see to issue now :)
I'm facing the same issue after upgrade to NC Hub 3 with Photos 2.0 app. If this is cause by 0 Byte files, I have no idea how to find them.
Describe the bug When opening the Photos App, it loads for a second and then says: Invalid date Invalid date.
To Reproduce Steps to reproduce the behavior:
Expected behavior I'd expect to see a list of my photos.
Screenshots
Desktop (please complete the following information):
Browser log
Additional context I guess the tags disappear, because there are "no photos" - So same issue.