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

doesn't support the latest python version #650

Open
snehccurry opened this issue Sep 25, 2022 · 29 comments
Open

doesn't support the latest python version #650

snehccurry opened this issue Sep 25, 2022 · 29 comments

Comments

@snehccurry
Copy link

I know it requires effort, I don't want to bother you @cztomczak but I do need it for a greater project, --_-/- take your time, but please if possible give us the support for python 3.10

@xevilstar
Copy link

got the same problem please help

@ghost
Copy link

ghost commented Nov 1, 2022

me too

@xevilstar
Copy link

xevilstar commented Nov 4, 2022 via email

@kletel
Copy link

kletel commented Nov 4, 2022

@kletel if you could do an unofficial for the latest version .... I could use it the latest version is 3.10.8 pip3 install cefpython3-for-python-3.8.10-unofficial ERROR: Could not find a version that satisfies the requirement cefpython3-for-python-3.8.10-unofficial (from versions: none) ERROR: No matching distribution found for cefpython3-for-python-3.8.10-unofficial @.:~# python3 --version Python 3.10.8

On Fri, Nov 4, 2022 at 9:57 AM kletel @.
> wrote: You could use my unofficial version : https://pypi.org/project/cefpython3-for-python-3.8.10-unofficial/ https://pypi.org/project/cefpython3-for-python-3.9.6-unofficial/ https://pypi.org/project/cefpython3-v66.1-for-python-3.10.2-unofficial/ — Reply to this email directly, view it on GitHub <#650 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAKTHVI3OFLLD4HLEJHJNFLWGTFYTANCNFSM6AAAAAAQVIZHTE . You are receiving this because you commented.Message ID: @.***>

Unfortunately I don't have time to do it without retribution, I already respond to you by email

@kletel
Copy link

kletel commented Nov 4, 2022

I can give you the link to build it for yourself : https://github.com/cztomczak/cefpython/blob/master/docs/Build-instructions.md
It's what I used to create the unofficial version.

@xevilstar
Copy link

xevilstar commented Nov 4, 2022 via email

@kletel
Copy link

kletel commented Nov 4, 2022

I never tried but we can try

@xevilstar
Copy link

xevilstar commented Nov 4, 2022

I tried to build it but it fails for example python-dev is now
Package python-dev is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
python2-dev:i386 python2:i386 python-dev-is-python3 python2-dev python2
I tried with python-dev-is-python3
tried to switch to the latest version known which is
git checkout cefpython66
nada niet no cigar

cython3 --version
Cython version 0.29.32

pip install --upgrade -r ../tools/requirements.txt
Collecting Cython==0.28.4
Using cached Cython-0.28.4.tar.gz (1.9 MB)
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error

× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [52 lines of output]
Unable to find pgen, not compiling formal grammar.
running egg_info
creating /tmp/pip-pip-egg-info-ietjdtfd/Cython.egg-info
writing /tmp/pip-pip-egg-info-ietjdtfd/Cython.egg-info/PKG-INFO
writing dependency_links to /tmp/pip-pip-egg-info-ietjdtfd/Cython.egg-info/dependency_links.txt
writing entry points to /tmp/pip-pip-egg-info-ietjdtfd/Cython.egg-info/entry_points.txt
writing top-level names to /tmp/pip-pip-egg-info-ietjdtfd/Cython.egg-info/top_level.txt
writing manifest file '/tmp/pip-pip-egg-info-ietjdtfd/Cython.egg-info/SOURCES.txt'
INFO: Disabling color, you really want to install colorlog.
Disabling color, you really want to install colorlog.
Traceback (most recent call last):
File "", line 2, in
File "", line 34, in
File "/tmp/pip-install-f0jtpw7a/cython_248901f3799e4699b53c014c20b59d6f/setup.py", line 227, in
setup(
File "/usr/lib/python3/dist-packages/setuptools/init.py", line 87, in setup
return distutils.core.setup(**attrs)
File "/usr/lib/python3/dist-packages/setuptools/_distutils/core.py", line 185, in setup
return run_commands(dist)
File "/usr/lib/python3/dist-packages/setuptools/_distutils/core.py", line 201, in run_commands
dist.run_commands()
File "/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py", line 968, in run_commands
self.run_command(cmd)
File "/usr/lib/python3/dist-packages/setuptools/dist.py", line 1217, in run_command
super().run_command(command)
File "/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py", line 987, in run_command
cmd_obj.run()
File "/usr/lib/python3/dist-packages/setuptools/command/egg_info.py", line 308, in run
self.find_sources()
File "/usr/lib/python3/dist-packages/setuptools/command/egg_info.py", line 316, in find_sources
mm.run()
File "/usr/lib/python3/dist-packages/setuptools/command/egg_info.py", line 560, in run
self.add_defaults()
File "/usr/lib/python3/dist-packages/setuptools/command/egg_info.py", line 597, in add_defaults
sdist.add_defaults(self)
File "/usr/lib/python3/dist-packages/setuptools/command/sdist.py", line 106, in add_defaults
super().add_defaults()
File "/usr/lib/python3/dist-packages/setuptools/_distutils/command/sdist.py", line 252, in add_defaults
self._add_defaults_ext()
File "/usr/lib/python3/dist-packages/setuptools/_distutils/command/sdist.py", line 336, in _add_defaults_ext
build_ext = self.get_finalized_command('build_ext')
File "/usr/lib/python3/dist-packages/setuptools/_distutils/cmd.py", line 306, in get_finalized_command
cmd_obj.ensure_finalized()
File "/usr/lib/python3/dist-packages/setuptools/_distutils/cmd.py", line 109, in ensure_finalized
self.finalize_options()
File "/tmp/pip-install-f0jtpw7a/cython_248901f3799e4699b53c014c20b59d6f/Cython/Distutils/build_ext.py", line 20, in finalize_options
self.distribution.ext_modules[:] = cythonize(
File "/tmp/pip-install-f0jtpw7a/cython_248901f3799e4699b53c014c20b59d6f/Cython/Build/Dependencies.py", line 890, in cythonize
module_list, module_metadata = create_extension_list(
File "/tmp/pip-install-f0jtpw7a/cython_248901f3799e4699b53c014c20b59d6f/Cython/Build/Dependencies.py", line 719, in create_extension_list
elif isinstance(patterns, basestring) or not isinstance(patterns, collections.Iterable):
AttributeError: module 'collections' has no attribute 'Iterable'
[end of output]

@kletel
Copy link

kletel commented Nov 4, 2022

try with my version but you need to change the code also, check my repo and the modifications I did for the other versions

@kletel
Copy link

kletel commented Nov 4, 2022

check and compare this branch : https://github.com/kletel/cefpython/tree/cefpython3-v66.1-for-python-3.10.2-unofficial
and add what it need for the new version

@xevilstar
Copy link

plus I cannot get a working cef
https://www.spotify.com/it/opensource/cefbuilds/index.html/ is 404
I got cefpython_binary_66.0_linux64
../tools/automate.py --build-cef
../tools/automate.py: line 82:
Prepares CEF binaries and libraries for work with the build.py tool.

Option 1 is to build CEF from sources with the CEF Python patches applied
using the --build-cef flag. Building CEF from sources is supported only
on 64-bit systems. 32-bit is also built on 64-bit using cross-compiling.
Note that building CEF from sources was last tested with v56 on Linux
and with v50 on Windows, so if there are issues report them on the Forum.

Option 2 is to use CEF binaries from Spotify Automated Builds using
the --prebuilt-cef flag. In such case check the cefpython/src/version/
directory to know which version of CEF to download from Spotify:
http://opensource.spotify.com/cefbuilds/index.html
Download and extract it so that for example you have such a directory:
cefpython/build/cef_binary_3.2883.1553.g80bd606_windows32/ .

This tool generates CEF binaries and libraries that are ready for work
with cefpython, with the build.py script. When automate.py tool completes
job you should see a new subdirectory in the build/ directory, for example:
cefpython/build/cef55_3.2883.1553.g80bd606_win32/ .

Usage:
automate.py (--prebuilt-cef | --build-cef | --make-distrib)
[--x86 X86]
[--fast-build FAST_BUILD]
[--force-chromium-update FORCE_CHROMIUM_UPDATE]
[--no-cef-update NO_CEF_UPDATE]
[--cef-git-url URL] [--cef-branch BRANCH] [--cef-commit COMMIT]
[--build-dir BUILD_DIR] [--cef-build-dir CEF_BUILD_DIR]
[--ninja-jobs JOBS] [--gyp-generators GENERATORS]
[--gyp-msvs-version MSVS]
[--use-system-freetype USE_SYSTEM_FREETYPE]
[--use-gtk3 USE_GTK3]
[--use-ccache USE_CCACHE]
[--proprietary-codecs PROPRIETARY_CODECS]
[--no-depot-tools-update NO_DEPOT_TOOLS_UPDATE]
automate.py (-h | --help) [type -h to show full description for options]

Options:
-h --help Show this help message.
--prebuilt-cef Whether to use prebuilt CEF binaries. Prebuilt
binaries for Linux are built on Ubuntu.
--build-cef Whether to build CEF from sources with the
cefpython patches applied.
--make-distrib Re-make CEF distribution (cef/binary_distrib/)
after CEF was already built.
--x86 Build (or make distrib) for 32-bit CEF on
64-bit system.
--fast-build Fast build with is_official_build=False
--force-chromium-update Force Chromium update (gclient sync etc).
--no-cef-update Do not update CEF sources (by default both cef/
directories are deleted on every run).
--cef-git-url= Git URL to clone CEF from, defaults to upstream
--cef-branch= CEF branch. Defaults to CHROME_VERSION_BUILD from
src/version/cef_version_{platform}.h.
--cef-commit= CEF revision. Defaults to CEF_COMMIT_HASH from
src/version/cef_version_{platform}.h.
--build-dir= Build directory.
--cef-build-dir= CEF build directory. By default same
as --build-dir.
--ninja-jobs= How many CEF jobs to run in parallel. By default
sets to CPU threads * 2. If you need to perform
other tasks on computer and it is slowed down
by the build then decrease the number of ninja
jobs.
--gyp-generators= Set GYP_GENERATORS [default: ninja].
--gyp-msvs-version= Set GYP_MSVS_VERSION.
--use-system-freetype Use system Freetype library on Linux (Issue #402)
--use-gtk3 Link CEF with GTK 3 libraries (Issue #446)
--use-ccache Use ccache for faster (re)builds
--proprietary-codecs Enable proprietary codecs such as H264 and AAC,
licensing restrictions may apply.
--no-depot-tools-update Do not update depot_tools/ directory. When
building old unsupported versions of Chromium
you want to manually checkout an old version
of depot tools from the time of the release.

: File name too long
../tools/automate.py: line 84: from: command not found

import-im6.q16: attempt to perform an operation not allowed by the security policy PS' @ error/constitute.c/IsCoderAuthorized/421. import-im6.q16: attempt to perform an operation not allowed by the security policy PS' @ error/constitute.c/IsCoderAuthorized/421.
import-im6.q16: attempt to perform an operation not allowed by the security policy PS' @ error/constitute.c/IsCoderAuthorized/421. import-im6.q16: attempt to perform an operation not allowed by the security policy PS' @ error/constitute.c/IsCoderAuthorized/421.
import-im6.q16: attempt to perform an operation not allowed by the security policy PS' @ error/constitute.c/IsCoderAuthorized/421. import-im6.q16: attempt to perform an operation not allowed by the security policy PS' @ error/constitute.c/IsCoderAuthorized/421.
import-im6.q16: attempt to perform an operation not allowed by the security policy PS' @ error/constitute.c/IsCoderAuthorized/421. import-im6.q16: attempt to perform an operation not allowed by the security policy PS' @ error/constitute.c/IsCoderAuthorized/421.
import-im6.q16: attempt to perform an operation not allowed by the security policy PS' @ error/constitute.c/IsCoderAuthorized/421. ^C^C^C^C../tools/automate.py: line 95: from: command not found ../tools/automate.py: line 96: from: command not found ../tools/automate.py: line 99: CEF_UPSTREAM_GIT_URL: command not found ../tools/automate.py: line 100: RUNTIME_MT: command not found ../tools/automate.py: line 101: RUNTIME_MD: command not found ../tools/automate.py: line 104: syntax error near unexpected token ('
../tools/automate.py: line 104: class Options(object):' root@ghost:/usr/src/cefpython/build# ls build_cefpython cefpython_binary_66.0_linux64 docopt glob os platform shlex shutil stat subprocess sys root@ghost:/usr/src/cefpython/build# python ../tools/build.py 66.0 [build.py] Parse command line arguments [build.py] VERSION=66.0 [build.py] Python version: 3.10.8 64bit [build.py] Python executable: /usr/bin/python [build.py] PYVERSION = 310 [build.py] OS_POSTFIX2 = linux64 [build.py] Check Cython version [build.py] Cython version: 0.29.32 [build.py] Check directories [build.py] ERROR: Couldn't find CEF prebuilt binaries and libraries: 'build/cef66_3.3359.1774.gd49d25f_linux64/'. Download it from GitHub released tagged eg. 'vXX-upstream or download CEF binaries from Spotify Automated Builds and then runautomate.py --prebuilt-cef.

@xevilstar
Copy link

plus i fell into this

pypa/setuptools#2028

@xevilstar
Copy link

plus

git clone https://github.com/kletel/cefpython/tree/cefpython3-v66.1-for-python-3.10.2-unofficial
Cloning into 'cefpython3-v66.1-for-python-3.10.2-unofficial'...
fatal: repository 'https://github.com/kletel/cefpython/tree/cefpython3-v66.1-for-python-3.10.2-unofficial/' not found

@xevilstar
Copy link

plus ...

git checkout cefpython3-v66.1-for-python-3.10.2-unofficial 
branch 'cefpython3-v66.1-for-python-3.10.2-unofficial' set up to track 'origin/cefpython3-v66.1-for-python-3.10.2-unofficial'.
Switched to a new branch 'cefpython3-v66.1-for-python-3.10.2-unofficial'
root@ghost:/usr/src/cefpython# mkdir build/
cd build/
root@ghost:/usr/src/cefpython/build# pip install --upgrade -r ../tools/requirements.txt
Collecting Cython==0.29.21
  Downloading Cython-0.29.21-py2.py3-none-any.whl (974 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 974.2/974.2 kB 9.9 MB/s eta 0:00:00
Requirement already satisfied: docopt>=0.6.2 in /usr/local/lib/python3.10/dist-packages (from -r ../tools/requirements.txt (line 2)) (0.6.2)
Requirement already satisfied: setuptools in /usr/lib/python3/dist-packages (from -r ../tools/requirements.txt (line 3)) (65.5.0)
Requirement already satisfied: wheel in /usr/local/lib/python3.10/dist-packages (from -r ../tools/requirements.txt (line 4)) (0.38.1)
Requirement already satisfied: Pillow in /usr/local/lib/python3.10/dist-packages (from -r ../tools/requirements.txt (line 5)) (9.3.0)
Installing collected packages: Cython
  Attempting uninstall: Cython
    Found existing installation: Cython 0.29.32
    Not uninstalling cython at /usr/lib/python3/dist-packages, outside environment /usr
    Can't uninstall 'Cython'. No files were found to uninstall.
Successfully installed Cython-0.29.21
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
root@ghost:/usr/src/cefpython/build# cython
cython     cython3    cythonize  
root@ghost:/usr/src/cefpython/build# cython3 --version
Cython version 0.29.21
root@ghost:/usr/src/cefpython/build# nano ../tools/requirements.txt
root@ghost:/usr/src/cefpython/build# pip install --upgrade -r ../tools/requirements.txt
Requirement already satisfied: Cython==0.29.21 in /usr/local/lib/python3.10/dist-packages (from -r ../tools/requirements.txt (line 1)) (0.29.21)
Requirement already satisfied: docopt>=0.6.2 in /usr/local/lib/python3.10/dist-packages (from -r ../tools/requirements.txt (line 2)) (0.6.2)
Requirement already satisfied: setuptools in /usr/lib/python3/dist-packages (from -r ../tools/requirements.txt (line 3)) (65.5.0)
Requirement already satisfied: wheel in /usr/local/lib/python3.10/dist-packages (from -r ../tools/requirements.txt (line 4)) (0.38.1)
Requirement already satisfied: Pillow in /usr/local/lib/python3.10/dist-packages (from -r ../tools/requirements.txt (line 5)) (9.3.0)
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
root@ghost:/usr/src/cefpython/build# python ../tools/build.py 66.1
[build.py] Parse command line arguments
[build.py] VERSION=66.1
[build.py] Python version: 3.10.8 64bit
[build.py] Python executable: /usr/bin/python
[build.py] PYVERSION = 310
[build.py] OS_POSTFIX2 = linux64
[build.py] Check Cython version
[build.py] Cython version: 0.29.21
[build.py] Check directories
[build.py] ERROR: Couldn't find CEF prebuilt binaries and libraries: 'build/cef66_3.3359.1774.gd49d25f_linux64/'. Download it from GitHub released tagged eg. 'vXX-upstream` or download CEF binaries from Spotify Automated Builds and then run`automate.py --prebuilt-cef`.

@xevilstar
Copy link

xevilstar commented Nov 4, 2022

@kletel
Copy link

kletel commented Nov 4, 2022

you will succeed

@xevilstar
Copy link

ARRRRRRRRRRRRRGHHHHHHHHJHD:SA:LJ:

[run_examples.py] SUMMARY:
OK hello_world.py
OK tutorial.py
OK screenshot.py
OK tkinter_.py
ERROR wxpython.py
ERROR gtk3.py
PASS gtk2.py
PASS qt.py pyqt4 (Issue #452)
PASS qt.py pyqt5
PASS qt.py pyside (Issue #452)
[run_examples.py] ERRORS(2) while running examples. Passed: 4.
[build.py] ERROR while running examples

@xevilstar
Copy link

how can I tell it to search for pyqt6 ?

@kletel
Copy link

kletel commented Nov 4, 2022

I don't know I do not use pyqt

@xevilstar
Copy link

apt-get install python3-pyqt6
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
python3-pyqt6 is already the newest version (6.4.0-1).
python3-pyqt6 set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 76 not upgraded.

@xevilstar
Copy link

then why it gives me that error ?

@xevilstar
Copy link

more exactly

[tkinter_.py] Main loop exited
[1104/152908.664414:ERROR:gl_context_glx.cc(227)] Couldn't make context current with X drawable.
[1104/152908.664539:ERROR:gl_context_glx.cc(252)] glXMakeCurrent failed in ReleaseCurrent
[1104/152908.664554:ERROR:gles2_cmd_decoder.cc(4553)]   GLES2DecoderImpl: Context lost during MakeCurrent.
[1104/152908.665673:ERROR:gles2_cmd_decoder.cc(4548)]   GLES2DecoderImpl: Trying to make lost context current.
[1104/152908.666833:ERROR:gl_bindings_autogen_gl.cc(12009)] Trying to call glClientWaitSync without current GL context
[1104/152908.670564:ERROR:gl_bindings_autogen_gl.cc(12009)] Trying to call glDeleteSync without current GL context
[1104/152908.670658:ERROR:gl_bindings_autogen_gl.cc(12009)] Trying to call glDeleteTextures without current GL context
[1104/152908.670724:ERROR:gl_bindings_autogen_gl.cc(12009)] Trying to call glDeleteSync without current GL context
[1104/152908.670822:ERROR:gl_bindings_autogen_gl.cc(12009)] Trying to call glDeleteTextures without current GL context
[1104/152908.670873:ERROR:gl_bindings_autogen_gl.cc(12009)] Trying to call glDeleteSync without current GL context
[1104/152908.670950:ERROR:gl_bindings_autogen_gl.cc(12009)] Trying to call glDeleteTextures without current GL context
[1104/152908.670998:ERROR:gl_bindings_autogen_gl.cc(12009)] Trying to call glDeleteSync without current GL context
[1104/152908.671229:ERROR:gl_context_glx.cc(227)] Couldn't make context current with X drawable.
[1104/152908.671310:ERROR:gl_context_glx.cc(252)] glXMakeCurrent failed in ReleaseCurrent
[1104/152908.675396:ERROR:gl_context_glx.cc(252)] glXMakeCurrent failed in ReleaseCurrent
[1104/152908.675581:ERROR:gl_bindings_autogen_gl.cc(12009)] Trying to call glDeleteTextures without current GL context
[1104/152908.675641:ERROR:gl_bindings_autogen_gl.cc(12009)] Trying to call glDeleteSync without current GL context
[1104/152908.676461:ERROR:gl_bindings_autogen_gl.cc(12009)] Trying to call glDeleteTextures without current GL context
[1104/152908.676509:ERROR:gl_bindings_autogen_gl.cc(12009)] Trying to call glDeleteSync without current GL context
[1104/152908.676574:ERROR:gl_bindings_autogen_gl.cc(12009)] Trying to call glDeleteTextures without current GL context
[1104/152908.676616:ERROR:gl_bindings_autogen_gl.cc(12009)] Trying to call glDeleteSync without current GL context
[1104/152908.676678:ERROR:gl_bindings_autogen_gl.cc(12009)] Trying to call glDeleteTextures without current GL context
[1104/152908.676719:ERROR:gl_bindings_autogen_gl.cc(12009)] Trying to call glDeleteSync without current GL context
[1104/152908.676781:ERROR:gl_bindings_autogen_gl.cc(12009)] Trying to call glDeleteTextures without current GL context
[1104/152908.676821:ERROR:gl_bindings_autogen_gl.cc(12009)] Trying to call glDeleteSync without current GL context
[1104/152908.676882:ERROR:gl_bindings_autogen_gl.cc(12009)] Trying to call glDeleteTextures without current GL context
[1104/152908.676916:ERROR:gl_bindings_autogen_gl.cc(12009)] Trying to call glDeleteSync without current GL context
[1104/152908.676977:ERROR:gl_bindings_autogen_gl.cc(12009)] Trying to call glDeleteTextures without current GL context
[1104/152908.677011:ERROR:gl_bindings_autogen_gl.cc(12009)] Trying to call glDeleteSync without current GL context
[1104/152908.677072:ERROR:gl_bindings_autogen_gl.cc(12009)] Trying to call glDeleteTextures without current GL context
[1104/152908.677107:ERROR:gl_bindings_autogen_gl.cc(12009)] Trying to call glDeleteSync without current GL context
[1104/152908.677167:ERROR:gl_bindings_autogen_gl.cc(12009)] Trying to call glDeleteTextures without current GL context
[1104/152908.858184:ERROR:gl_bindings_autogen_gl.cc(12009)] Trying to call glDeleteProgram without current GL context
[1104/152908.858258:ERROR:gl_bindings_autogen_gl.cc(12009)] Trying to call glDeleteTextures without current GL context
[1104/152908.858272:ERROR:gl_bindings_autogen_gl.cc(12009)] Trying to call glDeleteFramebuffersEXT without current GL context
[1104/152908.858283:ERROR:gl_bindings_autogen_gl.cc(12009)] Trying to call glDeleteVertexArraysOES without current GL context
[1104/152908.858295:ERROR:gl_bindings_autogen_gl.cc(12009)] Trying to call glDeleteVertexArraysOES without current GL context
[1104/152908.858308:ERROR:gl_bindings_autogen_gl.cc(12009)] Trying to call glDeleteFramebuffersEXT without current GL context
[1104/152908.858327:ERROR:gl_bindings_autogen_gl.cc(12009)] Trying to call glDeleteBuffersARB without current GL context
[1104/152908.858347:ERROR:gl_bindings_autogen_gl.cc(12009)] Trying to call glGetError without current GL context
[1104/152908.858403:ERROR:gl_bindings_autogen_gl.cc(12009)] Trying to call glGetError without current GL context
[1104/152908.858428:ERROR:gl_bindings_autogen_gl.cc(12009)] Trying to call glGetError without current GL context
[1104/152908.858444:ERROR:gl_bindings_autogen_gl.cc(12009)] Trying to call glDeleteTextures without current GL context
[1104/152908.858457:ERROR:gl_bindings_autogen_gl.cc(12009)] Trying to call glGetError without current GL context
[1104/152908.858467:ERROR:gl_bindings_autogen_gl.cc(12009)] Trying to call glGetError without current GL context
[1104/152908.858477:ERROR:gl_bindings_autogen_gl.cc(12009)] Trying to call glGetError without current GL context
[1104/152908.858489:ERROR:gl_bindings_autogen_gl.cc(12009)] Trying to call glGetError without current GL context
[1104/152908.858498:ERROR:gl_bindings_autogen_gl.cc(12009)] Trying to call glGetError without current GL context
[1104/152908.858506:ERROR:gl_bindings_autogen_gl.cc(12009)] Trying to call glGetError without current GL context
[1104/152908.858518:ERROR:gl_bindings_autogen_gl.cc(12009)] Trying to call glGetError without current GL context
[1104/152908.858528:ERROR:gl_bindings_autogen_gl.cc(12009)] Trying to call glGetError without current GL context
[1104/152908.858536:ERROR:gl_bindings_autogen_gl.cc(12009)] Trying to call glDeleteTextures without current GL context
[1104/152908.858543:ERROR:gl_bindings_autogen_gl.cc(12009)] Trying to call glGetError without current GL context
[1104/152908.858552:ERROR:gl_bindings_autogen_gl.cc(12009)] Trying to call glDeleteVertexArraysOES without current GL context
[1104/152908.858563:ERROR:gl_bindings_autogen_gl.cc(12009)] Trying to call glDeleteTextures without current GL context
[1104/152908.858771:ERROR:gl_context_glx.cc(252)] glXMakeCurrent failed in ReleaseCurrent
[run_examples.py] SUMMARY:
  OK    hello_world.py
  OK    tutorial.py
  OK    screenshot.py
  OK    tkinter_.py
  ERROR wxpython.py
  ERROR gtk3.py
  PASS  gtk2.py
  PASS  qt.py pyqt4 (Issue #452)
  PASS  qt.py pyqt5
  PASS  qt.py pyside (Issue #452)

@xevilstar
Copy link

 glxgears -info    
Running synchronized to the vertical refresh.  The framerate should be
approximately the same as the monitor refresh rate.
GL_RENDERER   = NVIDIA GeForce RTX 3070 Laptop GPU/PCIe/SSE2
GL_VERSION    = 4.6.0 NVIDIA 520.61.05
GL_VENDOR     = NVIDIA Corporation
GL_EXTENSIONS = GL_AMD_multi_draw_indirect GL_AMD_seamless_cubemap_per_texture GL_AMD_vertex_shader_viewport_index GL_AMD_vertex_shader_layer GL_ARB_arrays_of_arrays GL_ARB_base_instance GL_ARB_bindless_texture GL_ARB_blend_func_extended GL_ARB_buffer_storage GL_ARB_clear_buffer_object GL_ARB_clear_texture GL_ARB_clip_control GL_ARB_color_buffer_float GL_ARB_compatibility GL_ARB_compressed_texture_pixel_storage GL_ARB_conservative_depth GL_ARB_compute_shader GL_ARB_compute_variable_group_size GL_ARB_conditional_render_inverted GL_ARB_copy_buffer GL_ARB_copy_image GL_ARB_cull_distance GL_ARB_debug_output GL_ARB_depth_buffer_float GL_ARB_depth_clamp GL_ARB_depth_texture GL_ARB_derivative_control GL_ARB_direct_state_access GL_ARB_draw_buffers GL_ARB_draw_buffers_blend GL_ARB_draw_indirect GL_ARB_draw_elements_base_vertex GL_ARB_draw_instanced GL_ARB_enhanced_layouts GL_ARB_ES2_compatibility GL_ARB_ES3_compatibility GL_ARB_ES3_1_compatibility GL_ARB_ES3_2_compatibility GL_ARB_explicit_attrib_location GL_ARB_explicit_uniform_location GL_ARB_fragment_coord_conventions GL_ARB_fragment_layer_viewport GL_ARB_fragment_program GL_ARB_fragment_program_shadow GL_ARB_fragment_shader GL_ARB_fragment_shader_interlock GL_ARB_framebuffer_no_attachments GL_ARB_framebuffer_object GL_ARB_framebuffer_sRGB GL_ARB_geometry_shader4 GL_ARB_get_program_binary GL_ARB_get_texture_sub_image GL_ARB_gl_spirv GL_ARB_gpu_shader5 GL_ARB_gpu_shader_fp64 GL_ARB_gpu_shader_int64 GL_ARB_half_float_pixel GL_ARB_half_float_vertex GL_ARB_imaging GL_ARB_indirect_parameters GL_ARB_instanced_arrays GL_ARB_internalformat_query GL_ARB_internalformat_query2 GL_ARB_invalidate_subdata GL_ARB_map_buffer_alignment GL_ARB_map_buffer_range GL_ARB_multi_bind GL_ARB_multi_draw_indirect GL_ARB_multisample GL_ARB_multitexture GL_ARB_occlusion_query GL_ARB_occlusion_query2 GL_ARB_parallel_shader_compile GL_ARB_pipeline_statistics_query GL_ARB_pixel_buffer_object GL_ARB_point_parameters GL_ARB_point_sprite GL_ARB_polygon_offset_clamp GL_ARB_post_depth_coverage GL_ARB_program_interface_query GL_ARB_provoking_vertex GL_ARB_query_buffer_object GL_ARB_robust_buffer_access_behavior GL_ARB_robustness GL_ARB_sample_locations GL_ARB_sample_shading GL_ARB_sampler_objects GL_ARB_seamless_cube_map GL_ARB_seamless_cubemap_per_texture GL_ARB_separate_shader_objects GL_ARB_shader_atomic_counter_ops GL_ARB_shader_atomic_counters GL_ARB_shader_ballot GL_ARB_shader_bit_encoding GL_ARB_shader_clock GL_ARB_shader_draw_parameters GL_ARB_shader_group_vote GL_ARB_shader_image_load_store GL_ARB_shader_image_size GL_ARB_shader_objects GL_ARB_shader_precision GL_ARB_shader_storage_buffer_object GL_ARB_shader_subroutine GL_ARB_shader_texture_image_samples GL_ARB_shader_texture_lod GL_ARB_shading_language_100 GL_ARB_shader_viewport_layer_array GL_ARB_shading_language_420pack GL_ARB_shading_language_include GL_ARB_shading_language_packing GL_ARB_shadow GL_ARB_sparse_buffer GL_ARB_sparse_texture GL_ARB_sparse_texture2 GL_ARB_sparse_texture_clamp GL_ARB_spirv_extensions GL_ARB_stencil_texturing GL_ARB_sync GL_ARB_tessellation_shader GL_ARB_texture_barrier GL_ARB_texture_border_clamp GL_ARB_texture_buffer_object GL_ARB_texture_buffer_object_rgb32 GL_ARB_texture_buffer_range GL_ARB_texture_compression GL_ARB_texture_compression_bptc GL_ARB_texture_compression_rgtc GL_ARB_texture_cube_map GL_ARB_texture_cube_map_array GL_ARB_texture_env_add GL_ARB_texture_env_combine GL_ARB_texture_env_crossbar GL_ARB_texture_env_dot3 GL_ARB_texture_filter_anisotropic GL_ARB_texture_filter_minmax GL_ARB_texture_float GL_ARB_texture_gather GL_ARB_texture_mirror_clamp_to_edge GL_ARB_texture_mirrored_repeat GL_ARB_texture_multisample GL_ARB_texture_non_power_of_two GL_ARB_texture_query_levels GL_ARB_texture_query_lod GL_ARB_texture_rectangle GL_ARB_texture_rg GL_ARB_texture_rgb10_a2ui GL_ARB_texture_stencil8 GL_ARB_texture_storage GL_ARB_texture_storage_multisample GL_ARB_texture_swizzle GL_ARB_texture_view GL_ARB_timer_query GL_ARB_transform_feedback2 GL_ARB_transform_feedback3 GL_ARB_transform_feedback_instanced GL_ARB_transform_feedback_overflow_query GL_ARB_transpose_matrix GL_ARB_uniform_buffer_object GL_ARB_vertex_array_bgra GL_ARB_vertex_array_object GL_ARB_vertex_attrib_64bit GL_ARB_vertex_attrib_binding GL_ARB_vertex_buffer_object GL_ARB_vertex_program GL_ARB_vertex_shader GL_ARB_vertex_type_10f_11f_11f_rev GL_ARB_vertex_type_2_10_10_10_rev GL_ARB_viewport_array GL_ARB_window_pos GL_ATI_draw_buffers GL_ATI_texture_float GL_ATI_texture_mirror_once GL_S3_s3tc GL_EXT_texture_env_add GL_EXT_abgr GL_EXT_bgra GL_EXT_bindable_uniform GL_EXT_blend_color GL_EXT_blend_equation_separate GL_EXT_blend_func_separate GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_compiled_vertex_array GL_EXT_Cg_shader GL_EXT_depth_bounds_test GL_EXT_direct_state_access GL_EXT_draw_buffers2 GL_EXT_draw_instanced GL_EXT_draw_range_elements GL_EXT_fog_coord GL_EXT_framebuffer_blit GL_EXT_framebuffer_multisample GL_EXTX_framebuffer_mixed_formats GL_EXT_framebuffer_multisample_blit_scaled GL_EXT_framebuffer_object GL_EXT_framebuffer_sRGB GL_EXT_geometry_shader4 GL_EXT_gpu_program_parameters GL_EXT_gpu_shader4 GL_EXT_multi_draw_arrays GL_EXT_multiview_texture_multisample GL_EXT_multiview_timer_query GL_EXT_packed_depth_stencil GL_EXT_packed_float GL_EXT_packed_pixels GL_EXT_pixel_buffer_object GL_EXT_point_parameters GL_EXT_polygon_offset_clamp GL_EXT_post_depth_coverage GL_EXT_provoking_vertex GL_EXT_raster_multisample GL_EXT_rescale_normal GL_EXT_secondary_color GL_EXT_separate_shader_objects GL_EXT_separate_specular_color GL_EXT_shader_image_load_formatted GL_EXT_shader_image_load_store GL_EXT_shader_integer_mix GL_EXT_shadow_funcs GL_EXT_sparse_texture2 GL_EXT_stencil_two_side GL_EXT_stencil_wrap GL_EXT_texture3D GL_EXT_texture_array GL_EXT_texture_buffer_object GL_EXT_texture_compression_dxt1 GL_EXT_texture_compression_latc GL_EXT_texture_compression_rgtc GL_EXT_texture_compression_s3tc GL_EXT_texture_cube_map GL_EXT_texture_edge_clamp GL_EXT_texture_env_combine GL_EXT_texture_env_dot3 GL_EXT_texture_filter_anisotropic GL_EXT_texture_filter_minmax GL_EXT_texture_integer GL_EXT_texture_lod GL_EXT_texture_lod_bias GL_EXT_texture_mirror_clamp GL_EXT_texture_object GL_EXT_texture_shadow_lod GL_EXT_texture_shared_exponent GL_EXT_texture_sRGB GL_EXT_texture_sRGB_R8 GL_EXT_texture_sRGB_decode GL_EXT_texture_storage GL_EXT_texture_swizzle GL_EXT_timer_query GL_EXT_transform_feedback2 GL_EXT_vertex_array GL_EXT_vertex_array_bgra GL_EXT_vertex_attrib_64bit GL_EXT_window_rectangles GL_EXT_x11_sync_object GL_EXT_import_sync_object GL_NV_robustness_video_memory_purge GL_IBM_rasterpos_clip GL_IBM_texture_mirrored_repeat GL_KHR_context_flush_control GL_KHR_debug GL_EXT_memory_object GL_EXT_memory_object_fd GL_NV_memory_object_sparse GL_KHR_parallel_shader_compile GL_KHR_no_error GL_KHR_robust_buffer_access_behavior GL_KHR_robustness GL_EXT_semaphore GL_EXT_semaphore_fd GL_NV_timeline_semaphore GL_KHR_shader_subgroup GL_KTX_buffer_region GL_NV_alpha_to_coverage_dither_control GL_NV_bindless_multi_draw_indirect GL_NV_bindless_multi_draw_indirect_count GL_NV_bindless_texture GL_NV_blend_equation_advanced GL_NV_blend_equation_advanced_coherent GL_NVX_blend_equation_advanced_multi_draw_buffers GL_NV_blend_minmax_factor GL_NV_blend_square GL_NV_clip_space_w_scaling GL_NV_command_list GL_NV_compute_program5 GL_NV_compute_shader_derivatives GL_NV_conditional_render GL_NV_conservative_raster GL_NV_conservative_raster_dilate GL_NV_conservative_raster_pre_snap GL_NV_conservative_raster_pre_snap_triangles GL_NV_conservative_raster_underestimation GL_NV_copy_depth_to_color GL_NV_copy_image GL_NV_depth_buffer_float GL_NV_depth_clamp GL_NV_draw_texture GL_NV_draw_vulkan_image GL_NV_ES1_1_compatibility GL_NV_ES3_1_compatibility GL_NV_explicit_multisample GL_NV_feature_query GL_NV_fence GL_NV_fill_rectangle GL_NV_float_buffer GL_NV_fog_distance GL_NV_fragment_coverage_to_color GL_NV_fragment_program GL_NV_fragment_program_option GL_NV_fragment_program2 GL_NV_fragment_shader_barycentric GL_NV_fragment_shader_interlock GL_NV_framebuffer_mixed_samples GL_NV_framebuffer_multisample_coverage GL_NV_geometry_shader4 GL_NV_geometry_shader_passthrough GL_NV_gpu_program4 GL_NV_internalformat_sample_query GL_NV_gpu_program4_1 GL_NV_gpu_program5 GL_NV_gpu_program5_mem_extended GL_NV_gpu_program_fp64 GL_NV_gpu_shader5 GL_NV_half_float GL_NV_light_max_exponent GL_NV_memory_attachment GL_NV_mesh_shader GL_NV_multisample_coverage GL_NV_multisample_filter_hint GL_NV_occlusion_query GL_NV_packed_depth_stencil GL_NV_parameter_buffer_object GL_NV_parameter_buffer_object2 GL_NV_path_rendering GL_NV_path_rendering_shared_edge GL_NV_pixel_data_range GL_NV_point_sprite GL_NV_primitive_restart GL_NV_primitive_shading_rate GL_NV_query_resource GL_NV_query_resource_tag GL_NV_register_combiners GL_NV_register_combiners2 GL_NV_representative_fragment_test GL_NV_sample_locations GL_NV_sample_mask_override_coverage GL_NV_scissor_exclusive GL_NV_shader_atomic_counters GL_NV_shader_atomic_float GL_NV_shader_atomic_float64 GL_NV_shader_atomic_fp16_vector GL_NV_shader_atomic_int64 GL_NV_shader_buffer_load GL_NV_shader_storage_buffer_object GL_NV_shader_subgroup_partitioned GL_NV_shader_texture_footprint GL_NV_shading_rate_image GL_NV_stereo_view_rendering GL_NV_texgen_reflection GL_NV_texture_barrier GL_NV_texture_compression_vtc GL_NV_texture_dirty_tile_map GL_NV_texture_env_combine4 GL_NV_texture_multisample GL_NV_texture_rectangle GL_NV_texture_rectangle_compressed GL_NV_texture_shader GL_NV_texture_shader2 GL_NV_texture_shader3 GL_NV_transform_feedback GL_NV_transform_feedback2 GL_NV_uniform_buffer_unified_memory GL_NV_vdpau_interop GL_NV_vdpau_interop2 GL_NV_vertex_array_range GL_NV_vertex_array_range2 GL_NV_vertex_attrib_integer_64bit GL_NV_vertex_buffer_unified_memory GL_NV_vertex_program GL_NV_vertex_program1_1 GL_NV_vertex_program2 GL_NV_vertex_program2_option GL_NV_vertex_program3 GL_NV_viewport_array2 GL_NV_viewport_swizzle GL_NVX_conditional_render GL_NV_gpu_multicast GL_NVX_progress_fence GL_NVX_gpu_memory_info GL_NVX_nvenc_interop GL_NV_shader_thread_group GL_NV_shader_thread_shuffle GL_KHR_blend_equation_advanced GL_KHR_blend_equation_advanced_coherent GL_OVR_multiview GL_OVR_multiview2 GL_SGIS_generate_mipmap GL_SGIS_texture_lod GL_SGIX_depth_texture GL_SGIX_shadow GL_SUN_slice_accum 
VisualID 39, 0x27

@kletel
Copy link

kletel commented Nov 4, 2022

stop post all your debug console commands please

@xevilstar
Copy link

xevilstar commented Nov 4, 2022

the solution was running python ../tools/build.py --unittests 66.1 instead of python ../tools/build.py 66.1

@kletel
Copy link

kletel commented Nov 4, 2022

If you succeed to built it you can now maintain it and create the build for the others :) well done

@xevilstar
Copy link

it misses something like make install.... I had to copy everything in the /usr/lib/python/cefpython
plus it misses a debian subdir to build a deb

@kletel
Copy link

kletel commented Nov 4, 2022

create it and submit 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

3 participants