Questions tagged [cefpython]

CEF Python is an open source project founded by Czarek Tomczak in 2012 to provide python bindings for the Chromium Embedded Framework

82 questions
2
votes
1 answer

How to call MessageLoopWork in cefpython?

I made a simple offscreen renderer with cefpython. I used cefpython.MessageLoop() but I would like to execute a javascript function with browser.GetFocusedFrame().ExecuteFunctionwhich must be called from main UI thread. Is there a way to set a…
arthur.sw
  • 11,052
  • 9
  • 47
  • 104
2
votes
0 answers

Cefpython script compiled to exe fails to run

I used cx_Freeze to compile a cefpython3 script to the running application. It runs but fails with the following debug information: [1127/050154:FATAL:content_main_runner.cc(720)] Check failed: base::i18n::InitializeICU(). This is my setup…
2
votes
1 answer

wxPython and CEF Python 3

Looking at the example file in CEF Python 3 on Windows. When running the Python example scripts, it opens a debug window in the Windows command prompt. I want to know how not to show this? Just to state the obvious: DEBUG = True -- Does not make a…
Harry
  • 13,091
  • 29
  • 107
  • 167
2
votes
0 answers

Compiling exe with py2exe and including cefpython

Im trying to compile my project for windows. Im on windows 2008 32 bit. It compiles with no issues but when I try and open the EXE it says it cannot import cefpython_27. The problem is from this file in cefpython in site-packages: (init.py) import…
Harry
  • 13,091
  • 29
  • 107
  • 167
1
vote
0 answers

cefPython pyinstaller build ERROR: icu_util.cc(133) Invalid file descriptor to ICU data received

I have a problem with build my project on - windows 11 - python 3.9.13 - pyinstaller 5.7.0 - wxpython 4.2.0 - cefpython 66.1 everythings are 64bit and no problem "python BuildTest.py". it works. no error. But... For share my program. after build as…
JH Bok
  • 11
  • 1
1
vote
0 answers

SendMouseWheelEvent does not work on subsequent page loads

I'm trying to use SendMouseWheelEvent to pass mouse scrolls into the browser, but it is only working on the first page load. Any subsequent pageloads after that, it does not work, unless the browser is interferred with actual mouse scroll. I've…
Flora42
  • 21
  • 5
1
vote
1 answer

cefpython3 with an offline plotly chart

I'm looking for an example of embedding an offline plotly chart within cefpython3. It's my understanding that cefpython3 is built for projects just like this. However, I haven't had any success identifying an example using plotly - which would be…
like2think
  • 142
  • 2
  • 15
1
vote
1 answer

How do i get cefpython3 on Raspberry pi 3 A+

Trying to get cefpython3 installed on raspberry pi 3 A+, but I'm getting a little bit lost in all of the download / build directions. simply using pip install cefpython3=66.0 doesnt seem to cut it. I am new to linux so some of the commands i feel…
Fernando
  • 109
  • 1
  • 8
1
vote
0 answers

How do I make a cefpython Kivy widget

I am trying to embed a browser using cefpython3 within my kivy application - I don't need a ton of functionality (I just need the browser to run some javascript for me). I downloaded the cefpython3 repo and got the hello_world.py to work, and now I…
Fernando
  • 109
  • 1
  • 8
1
vote
4 answers

failed to create executable with pyinstaller and cefpython on Linux (Invalid file descriptor to ICU data)

I have some simple cefpython code opening a url and am trying to create a stand alone executable with pyinstaller: I copied files from https://github.com/cztomczak/cefpython/tree/master/examples/pyinstaller to a a directry named pyinstaller I made…
gelonida
  • 5,327
  • 2
  • 23
  • 41
1
vote
1 answer

PyGTK, PyGObject and Pgi in python3

In https://github.com/cztomczak/cefpython/blob/master/src/linux/binaries_64bit/kivy_.py, pygtk and gtk are used. (Note that the source code is tested in Linux only, and I am using Windows) When I tried to pip install pygtk, there was an…
user13080049
1
vote
2 answers

cefpython3 block UI on windows with tkinter

I'm making an application with tkinter in python 3.7.8. I have to show a map so I use Folium to generate it and cefpython3 to show it (as it generates as a html with javascript) It works wonderful on Linux, but when I try to test it on Windows 10,…
1
vote
0 answers

Connecting to CefPython instance with Selenium

After an exhaustive amount of Googling, I'm at a loss as to how to connect to a CefPython (Chrome Embedded Framework) browser instance using Selenium. I see two possible ways of going about this: Use Selenium to launch a CefPython instance…
1
vote
0 answers

CEFpython3 Hang at MessageLoop on Mac

I have create a package using CEFPython and it works perfectly on Windows machines. However, when used on Mac machines, the script just hang at MessageLoop() with or without opening a completely white window. I'm using CEFpython3 (version…
lxiangyun93
  • 77
  • 1
  • 7
1
vote
1 answer

Writing Python pip-able package: How to access files in the package?

I'm trying to develop a visualization package based on CEFpython technology, so the function has to access an html file. So the structure of the package is basically: viz_tool --> init.py --> main.py --> index.html and in the main.py file, I defined…
lxiangyun93
  • 77
  • 1
  • 7