mawaqit / android-tv-app

Prayer times App for Android TV
https://mawaqit.net
Other
38 stars 16 forks source link

FileSystemException: FileSystemException: writeFrom failed, path = '/data/user/0/com.mawaqit.androidtv/app_flutter/dio... #982

Closed sentry-io[bot] closed 6 months ago

sentry-io[bot] commented 9 months ago

Sentry Issue: ANDROIDTV-12

OSError: OS Error: No space left on device, errno = 28
FileSystemException: FileSystemException: writeFrom failed, path = '/data/user/0/com.mawaqit.androidtv/app_flutter/dio_cache.hive' (OS Error: No space left on device, errno = 28)
  File "storage_backend_vm.dart", line 132, in StorageBackendVm.writeFrames.<fn>
  File "lazy_box_impl.dart", line 63, in LazyBoxImpl.putAll
  File "dio_cache_interceptor.dart", line 211, in DioCacheInterceptor._saveResponse
  File "dio_cache_interceptor.dart", line 93, in DioCacheInterceptor.onResponse
...
(6 additional frame(s) were not displayed)
ibrahim-zehhaf-mawaqit commented 9 months ago

we need to handle this exception Show an info message on the screen to inform the user that there is no more storage space to save data so the offline mode can't work correctly and the user experience will be degraded

ibrahim-zehhaf-mawaqit commented 9 months ago

This is related to this https://github.com/orgs/mawaqit/projects/16?pane=issue&itemId=38897238