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
[Edge] Exception when running as admin #361
Comments
This error is ahem double Dutch to me. Are you getting the same error with
the provided flask example if you try to freeze it on your computer?
|
When it's freezed and we run it as administrator on my or other computers. |
Can you test it with the just released 3.0.2? |
I've been experiencing the same problem, and it doesn't seem like 3.0.2 has solved it for me unfortunately:
|
Isolating the problem would help solve the issue. Googling revealed that the problem seems to occur when running under admin EdgeHTML is buggy as af, so I would not hold my breathe that this will get fixed at any point. |
a) Yes, it occurs with the Flask example I can live with not being able to run it as admin though (and it does work fine otherwise), I just thought I'd share that I had experienced it too. Sorry for not providing more details originally, and again if this isn't enough to be helpful. |
Yes I can confirm
Flask app fails
I start it, it start running and after 10-15sec it fails
Exact same code, exact same way of running does work as non admin
Op di 20 aug. 2019 om 14:26 schreef Jo Ruby P <notifications@github.com>:
… a) Yes, it occurs with the Flask example
b) I run main,py in the Flask example, the server starts and is accessible
for 15 seconds after which the error occurs.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#361?email_source=notifications&email_token=AD2LO2BUEXGGRJMYUCHNQ4LQFPPIRA5CNFSM4II5YE7KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4WDINY#issuecomment-522990647>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AD2LO2FDMOJSXIWKM54KHH3QFPPIRANCNFSM4II5YE7A>
.
|
Works as non-admin, fails as admin throwing this exception here. |
I'm getting the same exception when running as admin, when running unelevated it works just fine. |
I have updated the documentation Closing this issue now |
is there a fix for this issue?? |
|
my work requires me to have admin priviledges to write information |
Use Chromium or CEF. Instructions for installing Chromium can be found here. |
Updated installation guide. https://pywebview.flowrl.com/guide/installation.html |
It's working for me ! Thanks! |
You should really try to fix this issue, it's really dumb. |
Python version: 3.7
Pyinstaller version: Git dev version
Pywebview version: latest
OS: windows 10 and windows 8 64 bit
Issue: When running the builded exe as administrator the exe fails and complains about missing RPC calls. Unbuilded version or non administrator running version don't give this issue.
Verified on 3 systems.
Why I report this issue here?
There are issues who point to toolkit/webview
Onverwerkte uitzondering: Python.Runtime.PythonException: Exception : Kan RPC niet uitvoeren. (Uitzondering van HRESULT: 0x800706BE) bij System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() bij System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) bij Microsoft.Toolkit.Win32.UI.Controls.Interop.WinRT.WebViewControlProcess.<CreateWebViewControlHostAsync>d__16.MoveNext() --- Einde van stacktracering vanaf vorige locatie waar uitzondering is opgetreden --- bij System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() bij System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) bij Microsoft.Toolkit.Forms.UI.Controls.WebViewControlProcessExtensions.CreateWebViewControlHost(WebViewControlProcess process, IntPtr hostWindowHandle, Rectangle bounds) bij Microsoft.Toolkit.Forms.UI.Controls.WebView.Initialize() bij Microsoft.Toolkit.Forms.UI.Controls.WebView.System.ComponentModel.ISupportInitialize.EndInit() bij Python.Runtime.Dispatcher.Dispatch(ArrayList args) bij System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) bij System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) bij System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) bij System.Threading.ThreadHelper.ThreadStart()
Am I willing to support this:
Potentially if I can get pywebview stable working with my app I am willing to donate or look into helping solve issues. For now I am trying this as experimental to check if it runs more stable then PyFlaDesk
The text was updated successfully, but these errors were encountered: