Skip to content

Sembast always throws exception on my device. #189

Closed
@yulingtianxia

Description

@yulingtianxia
  • Devide: iPhone X
  • branch: release/1.0.22
[VERBOSE-2:ui_dart_state.cc(148)] Unhandled Exception: FileSystemException: Creation failed, path = '/var/mobile/Containers/Data/Application/01AC6EA2-A9A0-4E17-9AB2-80E7F4145F8D/Documents+' (OS Error: Operation not permitted, errno = 1)
#0      _wrap.<anonymous closure> 
package:sembast/…/io/file_system_io.dart:100
#1      _rootRunUnary  (dart:async/zone.dart:1132:38)
#2      _CustomZone.runUnary  (dart:async/zone.dart:1029:19)
#3      _FutureListener.handleError  (dart:async/future_impl.dart:144:20)
#4      Future._propagateToListeners.handleError  (dart:async/future_impl.dart:651:47)
#5      Future._propagateToListeners  (dart:async/future_impl.dart:672:24)
#6      Future._completeWithValue  (dart:async/future_impl.dart:483:5)
#7      Future._asyncComplete.<anonymous closure>  (dart:async/future_impl.dart:513:7)
#8      _rootRun  (dart:async/zone.dart:1124:13)
#9      _CustomZone.run  (dart:async/zone.dart:1021:19)
#10     _CustomZone.runGuarded  (dart:async/zone.dart:923:7)
#11     _CustomZone.bindCallbackGuarded.<anonymous closure>  (dart:async/zone.dart:963:23)
#12     _microtaskLoop  (dart:async/schedule_microtask.dart:41:21)
#13     _startMicrotaskLoop  (dart:async/schedule_microtask.dart:50:5)

Note the path "Documents+", I think this cause the exception.
Simulator works fine.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions