Skip to content
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

Chromium 100+ support #652

Open
josephernest opened this issue Jan 10, 2023 · 7 comments
Open

Chromium 100+ support #652

josephernest opened this issue Jan 10, 2023 · 7 comments

Comments

@josephernest
Copy link

The current version pip install cefpython3 only uses Chromium 66.

How to update to the latest stable Chromium (higher than version 100)?

@laulugs
Copy link

laulugs commented Jan 11, 2023

i had the same problem,please help with it .

@llcc01
Copy link

llcc01 commented Jan 25, 2023

The current version pip install cefpython3 only uses Chromium 66.

How to update to the latest stable Chromium (higher than version 100)?

I have changed API to fit Chromium 108. You can try my unofficial version. https://github.com/llcc01/cefpython

@laulugs
Copy link

laulugs commented Jan 28, 2023

The current version pip install cefpython3 only uses Chromium 66.
How to update to the latest stable Chromium (higher than version 100)?

I have changed API to fit Chromium 108. You can try my unofficial version. https://github.com/llcc01/cefpython

Thank you!

@ltavoletti
Copy link

ltavoletti commented Mar 9, 2023

The current version pip install cefpython3 only uses Chromium 66.
How to update to the latest stable Chromium (higher than version 100)?

I have changed API to fit Chromium 108. You can try my unofficial version. https://github.com/llcc01/cefpython

Hi @llcc01 a build for mac is also planned?

@llcc01
Copy link

llcc01 commented Mar 9, 2023

The current version pip install cefpython3 only uses Chromium 66.
How to update to the latest stable Chromium (higher than version 100)?

I have changed API to fit Chromium 108. You can try my unofficial version. https://github.com/llcc01/cefpython

Hi @llcc01 a build for mac is also planned?

Sorry, I have never tried any on mac. Maybe someone can do it.

@shakraw
Copy link

shakraw commented Mar 15, 2023

Hi all,
I created an unofficial version making some tries on top of @llcc01's fork to make it works on MacOS.
You can find it here: https://github.com/shakraw/cefpython

It compiles on both Windows/Mac.
On Windows I'm able to use it to browse sites but I see some issues I need to investigate further.
On Mac it compiles and builds the wheel package, but it doesn't pass the unit tests.

The output from the unit tests is as follow:

test_unittest1 (unittest_test.Test) ... ok
test_unittest2 (unittest_test.Test) ... ok
test_unittest3 (unittest_test.Test) ... ok

----------------------------------------------------------------------
Ran 3 tests in 0.001s

OK
test_isolated1 (isolated_test.IsolatedTest1) ... ok
test_isolated2 (isolated_test.IsolatedTest1) ... ok

----------------------------------------------------------------------
Ran 2 tests in 0.000s

OK
test_isolated3 (isolated_test.IsolatedTest2) ... ok

----------------------------------------------------------------------
Ran 1 test in 0.000s

OK
test_main (main_test.MainTest_IsolatedTest)
Main entry point. All the code must run inside one ... test_osr (osr_test.OsrTest_IsolatedTest)
Main entry point. All the code must run inside one ... ----------------------------------------------------------------------
[_test_runner.py] CEF Python -unknown-
[_test_runner.py] Python 3.7.9 64bit
[_test_runner.py] Ran 8 tests in total
[_test_runner.py] FAILED (errors=1)

Checking the error on the failed test I see it gives a SEGFAULT very soon in the Initialize call in src/string_utils.pyx line 125 :

    # Using cefString.FromASCII() will result in DCHECK failures
    # when a non-ascii character is encountered.
    cefString.FromString(cppString)  # <-- SEGFAULT here

I'm not a c/c++ dev... anyone can help on this?

@lolouthefox
Copy link

The current version pip install cefpython3 only uses Chromium 66.
How to update to the latest stable Chromium (higher than version 100)?

I have changed API to fit Chromium 108. You can try my unofficial version. https://github.com/llcc01/cefpython

Awesome but how do we install it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants