Rovango / cefpython

Automatically exported from code.google.com/p/cefpython
0 stars 0 forks source link

CEFPython3 Linux error #75

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Run wxpython.py

What is the expected output? What do you see instead?

The example page is expected, instead I get an empty window.

What version of the product are you using? On what operating system?

cefpython3-27.1-ubuntu1204-64bit-portable.zip
Unbuntu 12.10 64bit

Please provide any additional information below.

May be related to http://www.magpcss.org/ceforum/viewtopic.php?f=6&t=10787, but 
from that post, it appears you were able to fix that problem.

Not sure where to start debugging this- here is the console output:

cefpython: ------------------------------------------------------------
cefpython: Initialize() called
cefpython: CefExecuteProcess(): exitCode = -1
cefpython: CefInitialize()
[0727/120811:ERROR:zygote_host_impl_linux.cc(146)] Running without the SUID 
sandbox! See 
https://code.google.com/p/chromium/wiki/LinuxSUIDSandboxDevelopment for more 
information on developing with the sandbox on.
LaunchProcess: failed to execvp:
/media/james/FreeAgent Drive1/Projects/py_vgt/code/gui/subprocess
[0727/120811:INFO:gpu_info_collector_linux.cc(78)] NVCtrl extension does not 
exist.
wx.version=2.8.12.1 (gtk2-unicode)
Fontconfig warning: "/etc/fonts/conf.d/69-language-selector-ja-jp.conf", line 
141: Having multiple values in <test> isn't supported and may not works as 
expected
Fontconfig warning: "/etc/fonts/conf.d/69-language-selector-zh-tw.conf", line 
79: Having multiple values in <test> isn't supported and may not works as 
expected
Fontconfig warning: "/etc/fonts/conf.d/90-fonts-nanum.conf", line 9: Having 
multiple values in <test> isn't supported and may not works as expected
Fontconfig warning: "/etc/fonts/conf.d/90-fonts-nanum.conf", line 22: Having 
multiple <family> in <alias> isn't supported and may not works as expected
Fontconfig warning: "/etc/fonts/conf.d/90-fonts-nanum.conf", line 22: Having 
multiple <family> in <alias> isn't supported and may not works as expected
Fontconfig warning: "/etc/fonts/conf.d/90-fonts-nanum.conf", line 22: Having 
multiple <family> in <alias> isn't supported and may not works as expected
Fontconfig warning: "/etc/fonts/conf.d/90-fonts-nanum.conf", line 26: Having 
multiple <family> in <alias> isn't supported and may not works as expected
Fontconfig warning: "/etc/fonts/conf.d/90-fonts-nanum.conf", line 31: Having 
multiple values in <test> isn't supported and may not works as expected
Fontconfig warning: "/etc/fonts/conf.d/90-fonts-nanum.conf", line 40: Having 
multiple values in <test> isn't supported and may not works as expected
cefpython: WindowUtils::IsWindowHandle() not implemented!
cefpython: CreateBrowserSync() called
cefpython: navigateUrl: 
file:///media/james/FreeAgent%20Drive1/Projects/py_vgt/code/gui/wxpython.html
cefpython: CefBrowser::CreateBrowserSync()
cefpython: CefBrowser::CreateBrowserSync() succeeded
cefpython: GetPyBrowser(): creating new PyBrowser, browserId=1
cefpython: SendProcessMessage(): message=DoJavascriptBindings, arguments size=1
[0727/120811:ERROR:child_process_launcher.cc(326)] Failed to launch child 
process
cefpython: CefBrowserHost::ParentWindowWillClose()

(.:4911): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't 
believe we're it's parent.

(.:4911): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't 
believe we're it's parent.

Thanks!

Original issue reported on code.google.com by jlv@ensigntech.com on 27 Jul 2013 at 5:31

GoogleCodeExporter commented 8 years ago
The "cefpython3-27.1-ubuntu1204-64bit-portable.zip" release is intended for
Ubuntu 12.04 only. Please make a build for Ubuntu 12.10 and let me know if
the problem still exists. The instructions for building are on the BuildOnLinux
wiki page.

Original comment by czarek.t...@gmail.com on 27 Jul 2013 at 5:48

GoogleCodeExporter commented 8 years ago
I took a look at the logs again. The real error that caused an empty window
was that it couldn't launch the renderer process, it failed launching the
"subprocess" executable. I see that you're using the portable version. After
extracting it, you need to chmod the subprocess executable. Here is the error
from the logs:

    [0727/120811:ERROR:child_process_launcher.cc(326)] Failed to launch child process

After a second thought, I think that it should run fine on Ubuntu 12.10.

I've added such a note on the Download_CEF3_Linux wiki page:

    If you've downloaded portable zip, then you need to chmod the subprocess executable, otherwise you will see an empty window with an error in logs saying that it failed to launch child process.

Original comment by czarek.t...@gmail.com on 25 Dec 2013 at 9:41

GoogleCodeExporter commented 8 years ago
Project will move to Github. Find this issue at the new address (soon): 
https://github.com/cztomczak/cefpython/issues/75

Original comment by czarek.t...@gmail.com on 24 Aug 2015 at 6:32