khjde1207 / tesseract_ocr

Tesseract OCR for flutter
BSD 3-Clause "New" or "Revised" License
62 stars 31 forks source link

Error returned from daemon: Error Domain=com.apple.accounts Code=7 "(null) #36

Open YaTo3 opened 11 months ago

YaTo3 commented 11 months ago

Hello. I use you example code. And get an error, when press "+" button and select an image from gallery

2023-07-31 14:19:21.559019+0200 Runner[3517:171569] [core] "Error returned from daemon: Error Domain=com.apple.accounts Code=7 "(null)"" 2023-07-31 14:19:21.663818+0200 Runner[3517:171151] -[flutter_tesseract_ocr.SwiftFlutterTesseractOcrPlugin handleMethodCall:result:]: unrecognized selector sent to instance 0x2814ef480

RubanRaguraj commented 11 months ago

Error Message for mac ios:-

[core] "Error returned from daemon: Error Domain=com.apple.accounts Code=7 "(null)"" [PAAccessLogger] Failed to log access with error: access=<PATCCAccess 0x2820a1ae0> accessor:<<PAApplication 0x2820a2210 identifierType:auditToken identifier:{pid:655, version:1816}>> identifier:858B32E1-AC9F-4A2B-A9D6-9BD18695C94A kind:intervalEvent timestampAdjustment:0 visibilityState:0 assetIdentifierCount:0 tccService:kTCCServicePhotos, error=Error Domain=NSCocoaErrorDomain Code=4097 "connection to service with pid 230 named com.apple.privacyaccountingd" UserInfo={NSDebugDescription=connection to service with pid 230 named com.apple.privacyaccountingd} ℹ️-[TSDBLogger db_save] Log committed [GETX] CLOSE DIALOG 826183865 Error Domain=NSCocoaErrorDomain Code=513 "You don’t have permission to save the file “tessdata” in the folder “Dev ieXchange”." UserInfo={NSFilePath=/private/var/containers/Bundle/Application/378508D2-3E45-4576-B171-41242A021A9B/Runner.app/tessdata, NSUnderlyingError=0x280cc6b50 {Error Domain=NSPOSIXErrorDomain Code=1 "Operation not permitted"}} Error opening data file /private/var/containers/Bundle/Application/378508D2-3E45-4576-B171-41242A021A9B/Runner.app/tessdata/eng.traineddata

image

Same issue will be appearing me give me a solution for that.

Plugin :- flutter_tesseract_ocr: ^0.4.23

My credential:- Flutter (Channel stable, 2.10.3, on macOS 13.3 22E252 darwin-arm, locale en-IN) [!] Android toolchain - develop for Android devices (Android SDK version 34.0.0) ✗ Android license status unknown. Run flutter doctor --android-licenses to accept the SDK licenses. See https://flutter.dev/docs/get-started/install/macos#android-setup for more details. [✓] Xcode - develop for iOS and macOS (Xcode 14.2) [✓] Chrome - develop for the web [✓] Android Studio (version 2021.1) [✓] VS Code (version 1.75.0) [✓] Connected device (2 available) [✓] HTTP Host Availability

khjde1207 commented 10 months ago

https://github.com/khjde1207/tesseract_ocr/issues/16 Can't this solve it?