astubenbord / paperless-mobile

An (almost) fully fledged mobile paperless client.
GNU General Public License v3.0
728 stars 37 forks source link

Stuck on 'Restoring Session' #436

Open ScubyG opened 4 months ago

ScubyG commented 4 months ago

What happened?

When closing the app and reopening it, the Restoring Session screen continously displays with the spinner

Steps to reproduce

  1. Open app
  2. Close app
  3. Reopen app

Log output from the app

---BEGIN ERROR---
S.delegate failed to load unsupported locale "en_GB". This is likely an issue with the localizations generation tool. Please file an issue on GitHub with a reproducible sample app and the gen-l10n configuration that was used.
---END ERROR---
---BEGIN STACKTRACE---
#0      lookupS (package:paperless_mobile/generated/l10n/app_localizations.dart:2566)
#1      _SDelegate.load (package:paperless_mobile/generated/l10n/app_localizations.dart:2537)
#2      AuthenticationCubit.restoreSession (package:paperless_mobile/features/login/cubit/authentication_cubit.dart:283)
#3      _GoRouterShellState.initState.<anonymous closure> (package:paperless_mobile/main.dart:272)
#4      SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:1325)
#5      SchedulerBinding.handleDrawFrame (package:flutter/src/scheduler/binding.dart:1264)
#6      SchedulerBinding.scheduleWarmUpFrame.<anonymous closure> (package:flutter/src/scheduler/binding.dart:978)
#7      _rootRun (dart:async/zone.dart:1391)
#8      _CustomZone.run (dart:async/zone.dart:1301)
#9      _CustomZone.runGuarded (dart:async/zone.dart:1209)
#10     _CustomZone.bindCallbackGuarded.<anonymous closure> (dart:async/zone.dart:1249)
#11     _rootRun (dart:async/zone.dart:1399)
#12     _CustomZone.run (dart:async/zone.dart:1301)
#13     _CustomZone.bindCallback.<anonymous closure> (dart:async/zone.dart:1233)
#14     Timer._createTimer.<anonymous closure> (dart:async-patch/timer_patch.dart:18)
#15     _Timer._runTimers (dart:isolate-patch/timer_impl.dart:398)
#16     _Timer._handleMessage (dart:isolate-patch/timer_impl.dart:429)
#17     _RawReceivePort._handleMessage (dart:isolate-patch/isolate_patch.dart:184)

---END STACKTRACE---
2024-07-10 10:41:39.026 INFO    --- [                         ] -                          : Setting refresh rate to 120.00000762939453

Screenshots

Screenshot_20240710-105123

Paperless-ng*x Version

2.10.2

Paperless-Mobile Version

3.2.1

Device

Pixel 6 Pro

Operating System Version

GrapheneOS

Device Locale

En_GB

Selected Locale

English (UK)

Additional Context

No response

DSchougaard commented 2 months ago

Any updates on this?