You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Y ] I have included the Log Files. Refer here to get the log files
[Y ] I am including relevant screenshots and steps to reproduce the bug.
[ Y] I have looked for similar issues among all the former issues including closed ones.
What Operating system and version is LibrePhotos running on:
Android 10
What is the LibrePhotos Mobile app version:
1.0.1
Is your Librephotos Server accessible from Mobile Browser:
Yes
Description of issue:
Newly loading the application. It connects to freshly started server.
When opening the app, it asks for permission to access local data, I grant permission (have double checked this in Android permissions- it has access.
No photos load- just an error triangle, same no matter the filter used at the top.
Log shows it can see individual files and tries to load but always permission denied (see partial log below).
Also tried clicking 'Reset Local Images' but this seems to be inactive... if it is an active button, no feedback is given on screen to say it is working. (additional, i can see in the log it seems to be 'resetting')
2023-04-02T16:46:47.813Z [INFO] Fetching Category: Without Timestamp
2023-04-02T16:46:48.033Z [INFO] replaceFlatList
2023-04-02T16:46:52.457Z [INFO] Fetching Category: Public Photos
2023-04-02T16:46:53.577Z [INFO] Fetching Category: Hidden
2023-04-02T16:47:18.635Z [INFO] Fetching Category: Without Timestamp
2023-04-02T16:47:19.052Z [INFO] replaceFlatList
2023-04-02T16:47:20.225Z [INFO] Fetching Category: With Timestamp
2023-04-02T16:47:20.358Z [INFO] Loading local images
2023-04-02T16:47:20.358Z [INFO] 'Last fetch: ', 'Never'
2023-04-02T16:47:20.442Z [INFO] [Error: /storage/emulated/0/DCIM/Camera/RAW/IMG_20230401_204225.dng: open failed: EACCES (Permission denied)]
2023-04-02T16:47:20.443Z [INFO] Error loading local images: Cannot read property 'filter' of undefined
2023-04-02T16:47:20.443Z [INFO] {"type":"localImages/loadLocalImages/rejected","meta":{"requestId":"6wHSFiL56wsPVEyPqScB5","rejectedWithValue":false,"requestStatus":"rejected","aborted":false,"condition":false},"error":{"name":"TypeError","message":"Cannot read property 'filter' of undefined","stack":"TypeError: Cannot read property 'filter' of undefined\n at ?anon_0_ (address at index.android.bundle:1:1347569)\n at next (native)\n at asyncGeneratorStep (address at index.android.bundle:1:517136)\n at _next (address at index.android.bundle:1:517406)\n at tryCallOne (/root/react-native/ReactAndroid/hermes-engine/.cxx/MinSizeRel/6h116t3e/arm64-v8a/lib/InternalBytecode/InternalBytecode.js:53:16)\n at anonymous (/root/react-native/ReactAndroid/hermes-engine/.cxx/MinSizeRel/6h116t3e/arm64-v8a/lib/InternalBytecode/InternalBytecode.js:139:27)\n at apply (native)\n at anonymous (address at index.android.bundle:1:185138)\n at _callTimer (address at index.android.bundle:1:184087)\n at _callReactNativeMicrotasksPass (address at index.android.bundle:1:184251)\n at callReactNativeMicrotasks (address at index.android.bundle:1:186228)\n at __callReactNativeMicrotasks (address at index.android.bundle:1:86661)\n at anonymous (address at index.android.bundle:1:85754)\n at _guard (address at index.android.bundle:1:86502)\n at flushedQueue (address at index.android.bundle:1:85665)\n at invokeCallbackAndReturnFlushedQueue (address at index.android.bundle:1:85608)"}}
2023-04-02T16:47:40.439Z [INFO] Resetting local images
2023-04-02T16:48:29.936Z [INFO] 'AppState: ', 'background'
2023-04-02T16:50:27.345Z [INFO] 'AppState: ', 'active'
2023-04-02T16:50:57.885Z [INFO] 'AppState: ', 'background'
2023-04-02T16:51:00.969Z [INFO] 'AppState: ', 'active'
2023-04-02T16:51:01.444Z [INFO] 'navigateAndSimpleReset', 'Login', 0
2023-04-02T16:51:01.590Z [INFO] 'navigateAndSimpleReset', 'Main', 0
2023-04-02T16:51:01.751Z [INFO] Fetching Category: With Timestamp
2023-04-02T16:51:01.872Z [INFO] Loading local images
2023-04-02T16:51:01.872Z [INFO] 'Last fetch: ', 'Never'
2023-04-02T16:51:01.997Z [INFO] [Error: /storage/emulated/0/DCIM/Camera/IMG_20230401_204224.jpg: open failed: EACCES (Permission denied)]
2023-04-02T16:51:01.999Z [INFO] Error loading local images: Cannot read property 'filter' of undefined
2023-04-02T16:51:01.999Z [INFO] {"type":"localImages/loadLocalImages/rejected","meta":{"requestId":"OYwyWkTrFQkqoLBqjK1Dd","rejectedWithValue":false,"requestStatus":"rejected","aborted":false,"condition":false},"error":{"name":"TypeError","message":"Cannot read property 'filter' of undefined","stack":"TypeError: Cannot read property 'filter' of undefined\n at ?anon_0 (address at index.android.bundle:1:1347569)\n at next (native)\n at asyncGeneratorStep (address at index.android.bundle:1:517136)\n at _next (address at index.android.bundle:1:517406)\n at tryCallOne (/root/react-native/ReactAndroid/hermes-engine/.cxx/MinSizeRel/6h116t3e/arm64-v8a/lib/InternalBytecode/InternalBytecode.js:53:16)\n at anonymous (/root/react-native/ReactAndroid/hermes-engine/.cxx/MinSizeRel/6h116t3e/arm64-v8a/lib/InternalBytecode/InternalBytecode.js:139:27)\n at apply (native)\n at anonymous (address at index.android.bundle:1:185138)\n at _callTimer (address at index.android.bundle:1:184087)\n at _callReactNativeMicrotasksPass (address at index.android.bundle:1:184251)\n at callReactNativeMicrotasks (address at index.android.bundle:1:186228)\n at __callReactNativeMicrotasks (address at index.android.bundle:1:86661)\n at anonymous (address at index.android.bundle:1:85754)\n at _guard (address at index.android.bundle:1:86502)\n at flushedQueue (address at index.android.bundle:1:85665)\n at invokeCallbackAndReturnFlushedQueue (address at index.android.bundle:1:85608)"}}
2023-04-02T16:52:08.270Z [INFO] 'AppState: ', 'background'
2023-04-02T16:53:51.860Z [INFO] 'AppState: ', 'active'
2023-04-02T16:54:02.619Z [INFO] 'AppState: ', 'background'
2023-04-02T16:54:51.969Z [INFO] 'AppState: ', 'active'
2023-04-02T16:54:52.446Z [INFO] 'navigateAndSimpleReset', 'Login', 0
2023-04-02T16:54:52.593Z [INFO] 'navigateAndSimpleReset', 'Main', 0
2023-04-02T16:54:52.756Z [INFO] Fetching Category: With Timestamp
2023-04-02T16:54:52.880Z [INFO] Loading local images
2023-04-02T16:54:52.880Z [INFO] 'Last fetch: ', 'Never'
2023-04-02T16:54:53.015Z [INFO] [Error: /storage/emulated/0/DCIM/Camera/IMG_20230401_204221.jpg: open failed: EACCES (Permission denied)]
2023-04-02T16:54:53.016Z [INFO] Error loading local images: Cannot read property 'filter' of undefined
2023-04-02T16:54:53.016Z [INFO] {"type":"localImages/loadLocalImages/rejected","meta":{"requestId":"e4_zX2-96lNeacAVFlK9o","rejectedWithValue":false,"requestStatus":"rejected","aborted":false,"condition":false},"error":{"name":"TypeError","message":"Cannot read property 'filter' of undefined","stack":"TypeError: Cannot read property 'filter' of undefined\n at ?anon_0 (address at index.android.bundle:1:1347569)\n at next (native)\n at asyncGeneratorStep (address at index.android.bundle:1:517136)\n at _next (address at index.android.bundle:1:517406)\n at tryCallOne (/root/react-native/ReactAndroid/hermes-engine/.cxx/MinSizeRel/6h116t3e/arm64-v8a/lib/InternalBytecode/InternalBytecode.js:53:16)\n at anonymous (/root/react-native/ReactAndroid/hermes-engine/.cxx/MinSizeRel/6h116t3e/arm64-v8a/lib/InternalBytecode/InternalBytecode.js:139:27)\n at apply (native)\n at anonymous (address at index.android.bundle:1:185138)\n at _callTimer (address at index.android.bundle:1:184087)\n at _callReactNativeMicrotasksPass (address at index.android.bundle:1:184251)\n at callReactNativeMicrotasks (address at index.android.bundle:1:186228)\n at __callReactNativeMicrotasks (address at index.android.bundle:1:86661)\n at anonymous (address at index.android.bundle:1:85754)\n at __guard (address at index.android.bundle:1:86502)\n at flushedQueue (address at index.android.bundle:1:85665)\n at invokeCallbackAndReturnFlushedQueue (address at index.android.bundle:1:85608)"}}
2023-04-02T16:55:08.088Z [INFO] Fetching Category: Without Timestamp
2023-04-02T16:55:08.305Z [INFO] replaceFlatList
2023-04-02T16:55:08.829Z [INFO] Fetching Category: Recently Added
2023-04-02T16:55:09.173Z [INFO] 'Request Failed', { message: 'Request failed with status code 500',
data: '\n<!doctype html>\n\n\n <title>Server Error (500)</title>\n\n\n
Server Error (500)
\n\n\n',
status: 500 }
2023-04-02T16:55:09.619Z [INFO] Fetching Category: Favourites
2023-04-02T16:55:15.137Z [INFO] 'AppState: ', 'background'
2023-04-02T16:55:43.687Z [INFO] 'AppState: ', 'active'
2023-04-02T16:55:50.526Z [INFO] Resetting local images
2023-04-02T16:55:51.682Z [INFO] Resetting local images
2023-04-02T16:56:01.189Z [INFO] 'AppState: ', 'background'
2023-04-02T16:56:20.715Z [INFO] 'navigateAndSimpleReset', 'Login', 0
2023-04-02T16:56:20.836Z [INFO] 'navigateAndSimpleReset', 'Main', 0
2023-04-02T16:56:20.870Z [ERROR] TypeError: Invalid attempt to spread non-iterable instance.
In order to be iterable, non-array objects must have a Symbol.iterator method.
This error is located at:
in GalleryContainer
in StaticContainer
in EnsureSingleNavigator
in SceneView
in RCTView
in Unknown
in RCTView
in Unknown
in Background
in Screen
in RNSScreen
in AnimatedComponent
in AnimatedComponentWrapper
in Suspender
in Suspense
in Freeze
in DelayedFreeze
in InnerScreen
in Screen
in MaybeScreen
in RNSScreenContainer
in ScreenContainer
in MaybeScreenContainer
in RCTView
in Unknown
in SafeAreaProviderCompat
in BottomTabView
in PreventRemoveProvider
in NavigationContent
in Unknown
in BottomTabNavigator
in MainNavigator
in StaticContainer
in EnsureSingleNavigator
in SceneView
in RCTView
in Unknown
in RCTView
in Unknown
in RCTView
in Unknown
in CardSheet
in RCTView
in Unknown
in AnimatedComponent
in AnimatedComponentWrapper
in PanGestureHandler
in PanGestureHandler
in RCTView
in Unknown
in AnimatedComponent
in AnimatedComponentWrapper
in RCTView
in Unknown
in Card
in CardContainer
in RNSScreen
in AnimatedComponent
in AnimatedComponentWrapper
in Suspender
in Suspense
in Freeze
in DelayedFreeze
in InnerScreen
in Screen
in MaybeScreen
in RNSScreenContainer
in ScreenContainer
in MaybeScreenContainer
in RCTView
in Unknown
in Background
in CardStack
in RCTView
in Unknown
in SafeAreaProviderCompat
in RNGestureHandlerRootView
in GestureHandlerRootView
in StackView
in PreventRemoveProvider
in NavigationContent
in Unknown
in StackNavigator
in EnsureSingleNavigator
in BaseNavigationContainer
in ThemeProvider
in NavigationContainerInner
in RCTView
in Unknown
in ApplicationNavigator
in $29383e587d62412a$export$9f8ac96af4b1b2ae
in ToastProvider
in PortalProvider
in HybridProvider
in ResponsiveQueryProvider
in RNCSafeAreaProvider
in SafeAreaProvider
in NativeBaseConfigProviderProvider
in NativeBaseProvider
in PersistGate
in Provider
in App
in RCTView
in Unknown
in RCTView
in Unknown
in AppContainer, js engine: hermes
2023-04-02T16:56:44.853Z [INFO] 'AppState: ', 'active'
2023-04-02T16:56:45.340Z [INFO] 'navigateAndSimpleReset', 'Login', 0
2023-04-02T16:56:45.488Z [INFO] 'navigateAndSimpleReset', 'Main', 0
2023-04-02T16:56:45.648Z [INFO] Fetching Category: With Timestamp
2023-04-02T16:56:45.770Z [INFO] Loading local images
2023-04-02T16:56:45.770Z [INFO] 'Last fetch: ', 'Never'
2023-04-02T16:56:45.886Z [INFO] [Error: /storage/emulated/0/DCIM/Camera/RAW/IMG_20230401_204225.dng: open failed: EACCES (Permission denied)]
2023-04-02T16:56:45.888Z [INFO] Error loading local images: Cannot read property 'filter' of undefined
2023-04-02T16:56:45.889Z [INFO] {"type":"localImages/loadLocalImages/rejected","meta":{"requestId":"Nh7EMm2cM7IO_FBfZicN0","rejectedWithValue":false,"requestStatus":"rejected","aborted":false,"condition":false},"error":{"name":"TypeError","message":"Cannot read property 'filter' of undefined","stack":"TypeError: Cannot read property 'filter' of undefined\n at ?anon_0_ (address at index.android.bundle:1:1347569)\n at next (native)\n at asyncGeneratorStep (address at index.android.bundle:1:517136)\n at _next (address at index.android.bundle:1:517406)\n at tryCallOne (/root/react-native/ReactAndroid/hermes-engine/.cxx/MinSizeRel/6h116t3e/arm64-v8a/lib/InternalBytecode/InternalBytecode.js:53:16)\n at anonymous (/root/react-native/ReactAndroid/hermes-engine/.cxx/MinSizeRel/6h116t3e/arm64-v8a/lib/InternalBytecode/InternalBytecode.js:139:27)\n at apply (native)\n at anonymous (address at index.android.bundle:1:185138)\n at _callTimer (address at index.android.bundle:1:184087)\n at _callReactNativeMicrotasksPass (address at index.android.bundle:1:184251)\n at callReactNativeMicrotasks (address at index.android.bundle:1:186228)\n at __callReactNativeMicrotasks (address at index.android.bundle:1:86661)\n at anonymous (address at index.android.bundle:1:85754)\n at __guard (address at index.android.bundle:1:86502)\n at flushedQueue (address at index.android.bundle:1:85665)\n at invokeCallbackAndReturnFlushedQueue (address at index.android.bundle:1:85608)"}}
How can we reproduce it:
The text was updated successfully, but these errors were encountered:
🐛 Bug Report
What Operating system and version is LibrePhotos running on:
Android 10
What is the LibrePhotos Mobile app version:
1.0.1
Is your Librephotos Server accessible from Mobile Browser:
Yes
Description of issue:
Newly loading the application. It connects to freshly started server.
When opening the app, it asks for permission to access local data, I grant permission (have double checked this in Android permissions- it has access.
No photos load- just an error triangle, same no matter the filter used at the top.
Log shows it can see individual files and tries to load but always permission denied (see partial log below).
Also tried clicking 'Reset Local Images' but this seems to be inactive... if it is an active button, no feedback is given on screen to say it is working. (additional, i can see in the log it seems to be 'resetting')
How can we reproduce it:
The text was updated successfully, but these errors were encountered: