-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Error when Docker Builing Cvat 2.4.2 #6764
Comments
Hi, @Lee4396 First of all, try the latest release 2.6.1. |
I am wondering if I switch to 2.6.1, will it be compatible with the the file system and database from an older version? because we have data stored already in AWS EFS and RDS, if I upgrade the server version, it wont cause any implantabilities right? |
Might have been fixed in #6592 |
Database will migrate to the newest version keeping existing data on container startup. |
for Python 3.11.8 make these changes in the following requirements files:
|
The following error happens when building version 2.4.1 and 2.4.2:
Collecting av==9.2.0
#19 79.79 Downloading av-9.2.0.tar.gz (2.4 MB)
#19 79.83 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.4/2.4 MB 71.2 MB/s eta 0:00:00
#19 80.21 Installing build dependencies: started
#19 85.26 Installing build dependencies: finished with status 'done'
#19 85.26 Getting requirements to build wheel: started
#19 88.45 Getting requirements to build wheel: finished with status 'error'
#19 88.46 error: subprocess-exited-with-error
#19 88.46
#19 88.46 × Getting requirements to build wheel did not run successfully.
#19 88.46 │ exit code: 1
#19 88.46 ╰─> [70 lines of output]
#19 88.46 Compiling av/_core.pyx because it changed.
#19 88.46 [1/1] Cythonizing av/_core.pyx
#19 88.46 Compiling av/buffer.pyx because it changed.
#19 88.46 [1/1] Cythonizing av/buffer.pyx
#19 88.46 Compiling av/bytesource.pyx because it changed.
#19 88.46 [1/1] Cythonizing av/bytesource.pyx
#19 88.46 Compiling av/descriptor.pyx because it changed.
#19 88.46 [1/1] Cythonizing av/descriptor.pyx
#19 88.46 Compiling av/dictionary.pyx because it changed.
#19 88.46 [1/1] Cythonizing av/dictionary.pyx
#19 88.46 Compiling av/enum.pyx because it changed.
#19 88.46 [1/1] Cythonizing av/enum.pyx
#19 88.46 Compiling av/error.pyx because it changed.
#19 88.46 [1/1] Cythonizing av/error.pyx
#19 88.46 Compiling av/format.pyx because it changed.
#19 88.46 [1/1] Cythonizing av/format.pyx
#19 88.46 Compiling av/frame.pyx because it changed.
#19 88.46 [1/1] Cythonizing av/frame.pyx
#19 88.46
#19 88.46 Error compiling Cython file:
#19 88.46 ------------------------------------------------------------
#19 88.46 ...
#19 88.46 cdef const char *log_context_name(void *ptr) nogil:
#19 88.46 cdef log_context obj = <log_context>ptr
#19 88.46 return obj.name
#19 88.46
#19 88.46 cdef lib.AVClass log_class
#19 88.46 log_class.item_name = log_context_name
#19 88.46 ^
#19 88.46 ------------------------------------------------------------
#19 88.46
#19 88.46 av/logging.pyx:216:22: Cannot assign type 'const char *(void *) except? NULL nogil' to 'const char ()(void *) noexcept nogil'. Exception values are incompatible. Suggest adding 'noexcept' to type 'const char *(void *) except? NULL nogil'.
#19 88.46
#19 88.46 Error compiling Cython file:
#19 88.46 ------------------------------------------------------------
#19 88.46 ...
#19 88.46
#19 88.46 # Start the magic!
#19 88.46 # We allow the user to fully disable the logging system as it will not play
#19 88.46 # nicely with subinterpreters due to FFmpeg-created threads.
#19 88.46 if os.environ.get('PYAV_LOGGING') != 'off':
#19 88.46 lib.av_log_set_callback(log_callback)
#19 88.46 ^
#19 88.46 ------------------------------------------------------------
#19 88.46
#19 88.46 av/logging.pyx:351:28: Cannot assign type 'void (void *, int, const char *, va_list) except * nogil' to 'av_log_callback'. Exception values are incompatible. Suggest adding 'noexcept' to type 'void (void *, int, const char *, va_list) except * nogil'.
#19 88.46 Compiling av/logging.pyx because it changed.
#19 88.46 [1/1] Cythonizing av/logging.pyx
#19 88.46 Traceback (most recent call last):
#19 88.46 File "/usr/lib/python3/dist-packages/pip/_vendor/pep517/in_process/_in_process.py", line 363, in
#19 88.46 main()
#19 88.46 File "/usr/lib/python3/dist-packages/pip/_vendor/pep517/in_process/_in_process.py", line 345, in main
#19 88.46 json_out['return_val'] = hook(**hook_input['kwargs'])
#19 88.46 File "/usr/lib/python3/dist-packages/pip/_vendor/pep517/in_process/_in_process.py", line 130, in get_requires_for_build_wheel
#19 88.46 return hook(config_settings)
#19 88.46 File "/usr/lib/python3/dist-packages/setuptools/build_meta.py", line 162, in get_requires_for_build_wheel
#19 88.46 return self._get_build_requires(
#19 88.46 File "/usr/lib/python3/dist-packages/setuptools/build_meta.py", line 143, in _get_build_requires
#19 88.46 self.run_setup()
#19 88.46 File "/usr/lib/python3/dist-packages/setuptools/build_meta.py", line 267, in run_setup
#19 88.46 super(_BuildMetaLegacyBackend,
#19 88.46 File "/usr/lib/python3/dist-packages/setuptools/build_meta.py", line 158, in run_setup
#19 88.46 exec(compile(code, file, 'exec'), locals())
#19 88.46 File "setup.py", line 157, in
#19 88.46 ext_modules += cythonize(
#19 88.46 File "/tmp/pip-build-env-tcb_ig11/overlay/local/lib/python3.10/dist-packages/Cython/Build/Dependencies.py", line 1134, in cythonize
#19 88.46 cythonize_one(*args)
#19 88.46 File "/tmp/pip-build-env-tcb_ig11/overlay/local/lib/python3.10/dist-packages/Cython/Build/Dependencies.py", line 1301, in cythonize_one
#19 88.46 raise CompileError(None, pyx_file)
#19 88.46 Cython.Compiler.Errors.CompileError: av/logging.pyx
#19 88.46 [end of output]
#19 88.46
#19 88.46 note: This error originates from a subprocess, and is likely not a problem with pip.
#19 88.46 error: subprocess-exited-with-error
#19 88.46
#19 88.46 × Getting requirements to build wheel did not run successfully.
#19 88.46 │ exit code: 1
#19 88.46 ╰─> See above for output.
#19 88.46
#19 88.46 note: This error originates from a subprocess, and is likely not a problem with pip.
executor failed running [/bin/sh -c DATUMARO_HEADLESS=1 python3 -m pip wheel --no-cache-dir -r /tmp/requirements/${DJANGO_CONFIGURATION}.txt -r /tmp/dataset_manifest/requirements.txt -w /tmp/wheelhouse]: exit code: 1
The text was updated successfully, but these errors were encountered: