Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Button "Share logs file" => Error. Error Talker Wrapper. #257

Open
Callemul opened this issue Aug 28, 2024 · 3 comments
Open

Button "Share logs file" => Error. Error Talker Wrapper. #257

Callemul opened this issue Aug 28, 2024 · 3 comments
Labels
bug Something isn't working consideration Awaiting a decision on implementation

Comments

@Callemul
Copy link

I don`t have folder /data/data/com.example.spez_bud(default folder when App is installed).

  • this is an emulator (Android API 30)
    I think this is why an error.

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Go to TalkerScreen Page
    Navigator.of(context).push( MaterialPageRoute( builder: (context) => TalkerScreen(talker: talker), ) );
  2. Click on three lines button (menu button), at the right corner
  3. Click on "Share logs file" Button
  4. Error

talker_flutter: ^4.4.0

E/flutter (11483): [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: PlatformException(Share failed, Failed to find configured root that contains /data/data/com.example.spez_bud/cache/share_plus/talker_logs_2024-08-28 21 23 53.935457.txt, java.lang.IllegalArgumentException: Failed to find configured root that contains /data/data/com.example.spez_bud/cache/share_plus/talker_logs_2024-08-28 21 23 53.935457.txt
E/flutter (11483): 	at androidx.core.content.FileProvider$SimplePathStrategy.getUriForFile(FileProvider.java:867)
E/flutter (11483): 	at androidx.core.content.FileProvider.getUriForFile(FileProvider.java:467)
E/flutter (11483): 	at dev.fluttercommunity.plus.share.Share.getUrisForPaths(Share.kt:188)
E/flutter (11483): 	at dev.fluttercommunity.plus.share.Share.shareFiles(Share.kt:96)
E/flutter (11483): 	at dev.fluttercommunity.plus.share.MethodCallHandler.onMethodCall(MethodCallHandler.kt:46)
E/flutter (11483): 	at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:267)
E/flutter (11483): 	at io.flutter.embedding.engine.dart.DartMessenger.invokeHandler(DartMessenger.java:292)
E/flutter (11483): 	at io.flutter.embedding.engine.dart.DartMessenger.lambda$dispatchMessageToQueue$0$io-flutter-embedding-engine-dart-DartMessenger(DartMessenger.java:319)
E/flutter (11483): 	at io.flutter.embedding.engine.dart.DartMessenger$$ExternalSyntheticLambda0.run(Unknown Source:12)
E/flutter (11483): 	at android.os.Handler.handleCallback(Handler.java:938)
E/flutter (11483): 	at android.os.Handler.dispatchMessage(Handler.java:99)
E/flutter (11483): 	at android.os.Looper.loop(Looper.java:223)
E/flutter (11483): 	at android.app.ActivityThread.main(ActivityThread.java:7656)
E/flutter (11483): 	at java.lang.reflect.Method.invoke(Native Method)
E/flutter (11483): 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592)
E/flutter (11483): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:947)
E/flutter (11483): , null)
E/flutter (11483): #0      StandardMethodCodec.decodeEnvelope (package:flutter/src/services/message_codecs.dart:648:7)
E/flutter (11483): #1      MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:334:18)
E/flutter (11483): <asynchronous suspension>
E/flutter (11483): #2      MethodChannelShare.shareXFiles (package:share_plus_platform_interface/method_channel/method_channel_share.dart:108:20)
E/flutter (11483): <asynchronous suspension>
E/flutter (11483): #3      downloadFile (package:talker_flutter/src/utils/download_logs/download_nonweb_logs.dart:13:3)
E/flutter (11483): <asynchronous suspension>
E/flutter (11483): #4      TalkerViewController.downloadLogsFile (package:talker_flutter/src/controller/talker_view_controller.dart:67:55)
E/flutter (11483): <asynchronous suspension>
E/flutter (11483): #5      _TalkerViewState._shareLogsInFile (package:talker_flutter/src/ui/talker_view.dart:215:5)
E/flutter (11483): <asynchronous suspension>
E/flutter (11483): 
@Frezyx
Copy link
Owner

Frezyx commented Nov 13, 2024

Hello @Callemul !
Please explain on which device did you try to perform this action and is the error being repeated now?

@Frezyx Frezyx added bug Something isn't working consideration Awaiting a decision on implementation labels Nov 13, 2024
@Callemul
Copy link
Author

Callemul commented Nov 13, 2024

Android Emulator (Android API 30) in Andoid Studio

@Callemul
Copy link
Author

sorry, the problem is not actualy now. Don`t need check "is it solved"... But Your library very useful for us in Terminal for us!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working consideration Awaiting a decision on implementation
Projects
None yet
Development

No branches or pull requests

2 participants