Agora-Flutter-SDK icon indicating copy to clipboard operation
Agora-Flutter-SDK copied to clipboard

Window build - agora-iris.log error with permission denied

Open ThangD opened this issue 3 years ago • 9 comments

Describe the bug Permission denied of logging when build the installer of window

To Reproduce Steps to reproduce the behavior:

  1. Create window build with: flutter pub run msix:create
  2. Installing the build on window
  3. The error of permission denied as image attached image

ThangD avatar Jul 26 '22 03:07 ThangD

Thanks for reporting, may I ask is it causing crashes?

littleGnAl avatar Jul 26 '22 06:07 littleGnAl

Yes, it is crashing with the logs above.

ThangD avatar Jul 26 '22 08:07 ThangD

@littleGnAl Could you please help to look into this issue soon, i am still waiting for releasing the window app. Thank you so much.

ThangD avatar Aug 11 '22 02:08 ThangD

I am so sorry that I have no experience publishing the Windows app, but I just wonder why the AgoraRtcScreenSharing.exe has been executed directly.

littleGnAl avatar Aug 11 '22 16:08 littleGnAl

@littleGnAl The error occurs because we do NOT have permission for iris-logger on the WorkSpace folder when installing. Could we change this logs to others path? Thank you.

ThangD avatar Aug 17 '22 02:08 ThangD

@littleGnAl Could you pls help on this one?

ThangD avatar Aug 27 '22 04:08 ThangD

Sorry for the late response, we are working on this fix.

littleGnAl avatar Aug 29 '22 08:08 littleGnAl

After a little dig into the msix package, the AppxManifest.xml file will be created by default, and the Executable value will be set the first .exe file name https://github.com/YehudaKremer/msix/blob/f003af4ead7f536259a44985232412d45ce37714/lib/src/configuration.dart#L250, it will be set to AgoraRtcScreenSharing.exe in this case.

So if you are not using the screen sharing feature, you can chagne the Executable value to the actual .exe file name should be worked for this case. image

and maybe this link is helpful https://github.com/YehudaKremer/msix/issues/120

littleGnAl avatar Sep 02 '22 10:09 littleGnAl

@littleGnAl Thank so much for your information, the app is using the Share Screen feature.

ThangD avatar Sep 05 '22 08:09 ThangD

This should be fixed on agora_rtc_engine: ^6.0.0.

littleGnAl avatar Oct 20 '22 07:10 littleGnAl

Without additional information, we are unfortunately not sure how to resolve this issue. We are therefore reluctantly going to close this bug for now. If you find this problem please file a new issue with the same description, what happens, logs and the output. All system setups can be slightly different so it's always better to open new issues and reference the related ones. Thanks for your contribution.

github-actions[bot] avatar Nov 10 '22 08:11 github-actions[bot]

This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please raise a new issue.

github-actions[bot] avatar Apr 28 '23 09:04 github-actions[bot]