-
Notifications
You must be signed in to change notification settings - Fork 140
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
RPI: Remote web Inspector not working #549
Comments
@deeps8us The |
Same issue after setting WEBKIT_INSPECTOR_SERVER=0.0.0.0:9224 and also with Midori |
@deeps8us Which version of WPE WebKit are you using? It looks like you are using WpeLauncher. Is that so? Re-reading its code I see that it does not enable the developer extras, which is needed for the remote inspector to work — there is no call to |
It does make sense to enable the developer extras when the WEBKIT_INSPECTOR_SERVER environment variable has been set. Related issue: WebPlatformForEmbedded/WPEWebKit#549
@deeps8us this enabled by default when using the wpeframework based startup, default set on port 9888 |
hi @aperezdc we enabled "WKPreferencesSetDeveloperExtrasEnabled" in our launcher code, but it didn't worked for us. We are still facing same error "None found, make sure that you have set the developerExtrasEnabled preference property on your WebView" on browser. hi @albertd we tried on 9888 port as well but still observes the same behaviour. Is this WKPreferencesSetDeveloperExtrasEnabled needs to be enable from browser end?? (or) can we enable on platform directly. |
@Trinath402 which build config are you using and are you using safari / chrome? |
I'm running WPELauncher with the newer WPEWebkit (wpe-20170728), specifically: 371d4b0 and c04a067 and I don't have an inspector either. WPELauncher binds just fine to 9998, as
I have a warning when WPELauncher starts, but otherwise works fine, not sure if it's related.
If I follow this thread correctly, I'll need the patch from @aperezdc and that should be it, or is there anything else I need to be aware of when "downgrading" to WPELauncher? |
Please use the correct export: |
Thanks, that works indeed. |
Hi @albertd,
Please see the raw data in my attachment. Could you please let us what we are missing here. |
@Trinath402 It looks like the device where WPELauncher is running is missing the |
Thank you @aperezdc it's worked for me. After including this package in our image i am getting the response properly. |
Trying to use remote web inspector in rpi. But getting error.
westeros --renderer libwesteros_render_gl.so.0.0.0 --framerate 60 --display main0 &
export WEBKIT_INSPECTOR_SERVER=${WEBKIT_INSPECTOR_SERVER:-':::9224'}
/usr/bin/WPELauncher http:///wizardkit/ui/guide.html &
From browser: launch
http://<board_ip>:9224/
Getting the error:
Inspectable web views
None found, make sure that you have set the developerExtrasEnabled preference property on your WebView.
The text was updated successfully, but these errors were encountered: