bob issueshttps://gitlab.idiap.ch/groups/bob/-/issues2021-10-29T19:43:58Zhttps://gitlab.idiap.ch/bob/bob.bio.face/-/issues/65Citation [WLW04] is not referenced.2021-10-29T19:43:58ZAmir MOHAMMADICitation [WLW04] is not referenced.```
Warning, treated as error:
/scratch/builds/bob/nightlies/src/bob/bob.bio.face/doc/references.rst:15:Citation [WLW04] is not referenced.
```
from https://gitlab.idiap.ch/bob/nightlies/-/jobs/247694```
Warning, treated as error:
/scratch/builds/bob/nightlies/src/bob/bob.bio.face/doc/references.rst:15:Citation [WLW04] is not referenced.
```
from https://gitlab.idiap.ch/bob/nightlies/-/jobs/247694Conda-forge migrationAmir MOHAMMADIAmir MOHAMMADIhttps://gitlab.idiap.ch/bob/bob.devtools/-/issues/86Developing without buildout2022-03-04T16:07:21ZAmir MOHAMMADIDeveloping without buildoutHere are some ideas/tips of developing without buildout:
* [ ] `pip install --no-build-isolation` makes pip installations of our Bob packages inside a conda environment cleaner, and is probably required if we have a C++ package.
* [ ] ...Here are some ideas/tips of developing without buildout:
* [ ] `pip install --no-build-isolation` makes pip installations of our Bob packages inside a conda environment cleaner, and is probably required if we have a C++ package.
* [ ] `pip install --no-dependencies` is also an option that we want to use when installing a Bob package inside a conda environment because dependencies are supposed to come from conda.
pip supports a config file per environment (in the root folder of the conda environment, see its location with `pip config debug`), I wonder if we should add:
```ini
[global]
verbose = 1
[install]
no-build-isolation = false # false means: pip install --no-build-isolation
no-dependencies = true # true means: pip install --no-dependencies
```
when creating an env with `bdt create`. However, this would affect all pip installations which is not what we want ...Amir MOHAMMADIAmir MOHAMMADIhttps://gitlab.idiap.ch/bob/bob.pipelines/-/issues/36Job Failed #2473682021-10-18T15:42:20ZAmir MOHAMMADIJob Failed #247368Job [#247368](https://gitlab.idiap.ch/bob/bob.pipelines/-/jobs/247368) failed for 3dab034b96d96a9f95435639b9c892171fb50ac4:
```
+ sphinx-build -aEW /scratch/builds/bob/bob.pipelines/conda/../doc /scratch/builds/bob/bob.pipelines/conda/....Job [#247368](https://gitlab.idiap.ch/bob/bob.pipelines/-/jobs/247368) failed for 3dab034b96d96a9f95435639b9c892171fb50ac4:
```
+ sphinx-build -aEW /scratch/builds/bob/bob.pipelines/conda/../doc /scratch/builds/bob/bob.pipelines/conda/../sphinx
Running Sphinx v4.2.0
Adding intersphinx source for `python': https://docs.python.org/3.8/
Adding intersphinx source for `numpy': https://numpy.org/doc/1.21/
Adding intersphinx source for `setuptools': https://setuptools.readthedocs.io/en/latest/
Adding intersphinx source for `scikit-learn': https://scikit-learn.org/stable/
Adding intersphinx source for `dask': https://docs.dask.org/en/latest/
Adding intersphinx source for `dask-jobqueue': https://jobqueue.dask.org/en/latest/
Adding intersphinx source for `distributed': https://distributed.dask.org/en/latest/
Adding intersphinx source for `xarray': https://xarray.pydata.org/en/stable/
Found documentation for bob.extension on http://www.idiap.ch/software/bob/docs/bob/bob.extension/master/; adding intersphinx source
Found documentation for bob.io.base on http://www.idiap.ch/software/bob/docs/bob/bob.io.base/master/; adding intersphinx source
Found documentation for bob.db.base on http://www.idiap.ch/software/bob/docs/bob/bob.db.base/master/; adding intersphinx source
[autosummary] generating autosummary for: checkpoint.rst, dask.rst, index.rst, py_api.rst, sample.rst, xarray.rst
loading intersphinx inventory from https://docs.python.org/3.8/objects.inv...
loading intersphinx inventory from https://numpy.org/doc/1.21/objects.inv...
loading intersphinx inventory from https://setuptools.readthedocs.io/en/latest/objects.inv...
loading intersphinx inventory from https://scikit-learn.org/stable/objects.inv...
loading intersphinx inventory from https://docs.dask.org/en/latest/objects.inv...
loading intersphinx inventory from https://jobqueue.dask.org/en/latest/objects.inv...
loading intersphinx inventory from https://distributed.dask.org/en/latest/objects.inv...
loading intersphinx inventory from https://xarray.pydata.org/en/stable/objects.inv...
loading intersphinx inventory from http://www.idiap.ch/software/bob/docs/bob/bob.extension/master/objects.inv...
loading intersphinx inventory from http://www.idiap.ch/software/bob/docs/bob/bob.io.base/master/objects.inv...
loading intersphinx inventory from http://www.idiap.ch/software/bob/docs/bob/bob.db.base/master/objects.inv...
intersphinx inventory has moved: https://setuptools.readthedocs.io/en/latest/objects.inv -> https://setuptools.pypa.io/en/latest/objects.inv
building [mo]: all of 0 po files
building [html]: all source files
updating environment: [new config] 6 added, 0 changed, 0 removed
reading sources... [ 16%] checkpoint
reading sources... [ 33%] dask
reading sources... [ 50%] index
reading sources... [ 66%] py_api
reading sources... [ 83%] sample
reading sources... [100%] xarray
looking for now-outdated files... none found
pickling environment... done
checking consistency... done
preparing documents... done
writing output... [ 16%] checkpoint
writing output... [ 33%] dask
writing output... [ 50%] index
writing output... [ 66%] py_api
writing output... [ 83%] sample
writing output... [100%] xarray
Warning, treated as error:
/scratch/builds/bob/bob.pipelines/doc/dask.rst:101:unknown document: dask:setup/adaptive
```Conda-forge migrationAmir MOHAMMADIAmir MOHAMMADIhttps://gitlab.idiap.ch/bob/bob.bio.video/-/issues/21ERROR: bob.bio.video.test.test_databases.test_new_youtube2021-10-29T15:34:57ZAmir MOHAMMADIERROR: bob.bio.video.test.test_databases.test_new_youtubeSee: https://gitlab.idiap.ch/bob/nightlies/-/jobs/247320
```
======================================================================
ERROR: bob.bio.video.test.test_databases.test_new_youtube
-----------------------------------------------...See: https://gitlab.idiap.ch/bob/nightlies/-/jobs/247320
```
======================================================================
ERROR: bob.bio.video.test.test_databases.test_new_youtube
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/gitlab/builds/f6f95b82/0/bob/nightlies/miniconda/conda-bld/bob.bio.video_1634557881182/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold/lib/python3.8/site-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File "/Users/gitlab/builds/f6f95b82/0/bob/nightlies/miniconda/conda-bld/bob.bio.video_1634557881182/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold/lib/python3.8/site-packages/bob/bio/video/test/test_databases.py", line 14, in test_new_youtube
references = database.references()
File "/Users/gitlab/builds/f6f95b82/0/bob/nightlies/miniconda/conda-bld/bob.bio.video_1634557881182/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold/lib/python3.8/site-packages/bob/bio/video/database/youtube.py", line 269, in references
sampleset = self._make_sample_set(reference_id, suject_id, sample_path)
File "/Users/gitlab/builds/f6f95b82/0/bob/nightlies/miniconda/conda-bld/bob.bio.video_1634557881182/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold/lib/python3.8/site-packages/bob/bio/video/database/youtube.py", line 185, in _make_sample_set
path = os.path.join(self.original_directory, sample_path)
File "/Users/gitlab/builds/f6f95b82/0/bob/nightlies/miniconda/conda-bld/bob.bio.video_1634557881182/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold/lib/python3.8/posixpath.py", line 76, in join
a = os.fspath(a)
TypeError: expected str, bytes or os.PathLike object, not NoneType
-------------------- >> begin captured logging << --------------------
bob.bio.video.database.youtube: WARNING: Invalid or non existant `original_directory`: f{original_directory}.Please, do `bob config set bob.bio.face.lfw.directory PATH` to set the LFW data directory.
bob.extension.download: INFO: Downloading ./bob_data/datasets/youtube_protocols/youtube_protocols-6962cd2e.tar.gz
bob.extension.download: WARNING: Could not download from the https://www.idiap.ch/software/bob/databases/latest/youtube_protocols-6962cd2e.tar.gz url
Traceback (most recent call last):
File "/Users/gitlab/builds/f6f95b82/0/bob/nightlies/miniconda/conda-bld/bob.bio.video_1634557881182/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold/lib/python3.8/urllib/request.py", line 1354, in do_open
h.request(req.get_method(), req.selector, req.data, headers,
File "/Users/gitlab/builds/f6f95b82/0/bob/nightlies/miniconda/conda-bld/bob.bio.video_1634557881182/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold/lib/python3.8/http/client.py", line 1256, in request
self._send_request(method, url, body, headers, encode_chunked)
File "/Users/gitlab/builds/f6f95b82/0/bob/nightlies/miniconda/conda-bld/bob.bio.video_1634557881182/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold/lib/python3.8/http/client.py", line 1302, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "/Users/gitlab/builds/f6f95b82/0/bob/nightlies/miniconda/conda-bld/bob.bio.video_1634557881182/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold/lib/python3.8/http/client.py", line 1251, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "/Users/gitlab/builds/f6f95b82/0/bob/nightlies/miniconda/conda-bld/bob.bio.video_1634557881182/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold/lib/python3.8/http/client.py", line 1011, in _send_output
self.send(msg)
File "/Users/gitlab/builds/f6f95b82/0/bob/nightlies/miniconda/conda-bld/bob.bio.video_1634557881182/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold/lib/python3.8/http/client.py", line 951, in send
self.connect()
File "/Users/gitlab/builds/f6f95b82/0/bob/nightlies/miniconda/conda-bld/bob.bio.video_1634557881182/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold/lib/python3.8/http/client.py", line 1425, in connect
self.sock = self._context.wrap_socket(self.sock,
File "/Users/gitlab/builds/f6f95b82/0/bob/nightlies/miniconda/conda-bld/bob.bio.video_1634557881182/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold/lib/python3.8/ssl.py", line 500, in wrap_socket
return self.sslsocket_class._create(
File "/Users/gitlab/builds/f6f95b82/0/bob/nightlies/miniconda/conda-bld/bob.bio.video_1634557881182/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold/lib/python3.8/ssl.py", line 1040, in _create
self.do_handshake()
File "/Users/gitlab/builds/f6f95b82/0/bob/nightlies/miniconda/conda-bld/bob.bio.video_1634557881182/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold/lib/python3.8/ssl.py", line 1309, in do_handshake
self._sslobj.do_handshake()
ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: Hostname mismatch, certificate is not valid for 'www.idiap.ch'. (_ssl.c:1131)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/gitlab/builds/f6f95b82/0/bob/nightlies/miniconda/conda-bld/bob.bio.video_1634557881182/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold/lib/python3.8/site-packages/bob/extension/download.py", line 116, in download_file_from_possible_urls
download_file(url, out_file)
File "/Users/gitlab/builds/f6f95b82/0/bob/nightlies/miniconda/conda-bld/bob.bio.video_1634557881182/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold/lib/python3.8/site-packages/bob/extension/download.py", line 93, in download_file
with urlopen(url) as response:
File "/Users/gitlab/builds/f6f95b82/0/bob/nightlies/miniconda/conda-bld/bob.bio.video_1634557881182/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold/lib/python3.8/urllib/request.py", line 222, in urlopen
return opener.open(url, data, timeout)
File "/Users/gitlab/builds/f6f95b82/0/bob/nightlies/miniconda/conda-bld/bob.bio.video_1634557881182/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold/lib/python3.8/urllib/request.py", line 525, in open
response = self._open(req, data)
File "/Users/gitlab/builds/f6f95b82/0/bob/nightlies/miniconda/conda-bld/bob.bio.video_1634557881182/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold/lib/python3.8/urllib/request.py", line 542, in _open
result = self._call_chain(self.handle_open, protocol, protocol +
File "/Users/gitlab/builds/f6f95b82/0/bob/nightlies/miniconda/conda-bld/bob.bio.video_1634557881182/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold/lib/python3.8/urllib/request.py", line 502, in _call_chain
result = func(*args)
File "/Users/gitlab/builds/f6f95b82/0/bob/nightlies/miniconda/conda-bld/bob.bio.video_1634557881182/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold/lib/python3.8/urllib/request.py", line 1397, in https_open
return self.do_open(http.client.HTTPSConnection, req,
File "/Users/gitlab/builds/f6f95b82/0/bob/nightlies/miniconda/conda-bld/bob.bio.video_1634557881182/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold/lib/python3.8/urllib/request.py", line 1357, in do_open
raise URLError(err)
urllib.error.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: Hostname mismatch, certificate is not valid for 'www.idiap.ch'. (_ssl.c:1131)>
bob.extension.download: INFO: Untar/gzip in ./bob_data/datasets/youtube_protocols/youtube_protocols-6962cd2e.tar.gz
```Conda-forge migrationAmir MOHAMMADIAmir MOHAMMADIhttps://gitlab.idiap.ch/bob/bob.devtools/-/issues/85pytorch=1.8.0 crashes python on Linux CI with "libgcc_s.so.1 must be installe...2022-03-03T17:37:00ZAndré Anjospytorch=1.8.0 crashes python on Linux CI with "libgcc_s.so.1 must be installed for pthread_cancel to work"An effect of this can be seen at: https://gitlab.idiap.ch/bob/bob.ip.binseg/-/jobs/247142/raw, where the job literally crashes during a simple 'sphinx-build'.
This is not reproducible on my own Idiap VM, but I managed to reproduce it co...An effect of this can be seen at: https://gitlab.idiap.ch/bob/bob.ip.binseg/-/jobs/247142/raw, where the job literally crashes during a simple 'sphinx-build'.
This is not reproducible on my own Idiap VM, but I managed to reproduce it consistently on the Docker image we use for the CI builds. I tested the same setup with pytorch=1.9.1 and, with that version, the crashes are gone.
I'm thus requesting we consider the (urgent) upgrade of pytorch to version 1.9.1. Without this, I'm afraid we won't be able to fix bob.ip.binseg builds on Linux.Amir MOHAMMADIAmir MOHAMMADIhttps://gitlab.idiap.ch/bob/bob.bio.face/-/issues/64Tests are failing after bob.ip.base modifications2021-10-29T19:43:58ZAmir MOHAMMADITests are failing after bob.ip.base modificationshttps://gitlab.idiap.ch/bob/bob.bio.face/-/jobs/247103
```
=================================== FAILURES ===================================
___________________________________ test_SQI ___________________________________
def test_SQ...https://gitlab.idiap.ch/bob/bob.bio.face/-/jobs/247103
```
=================================== FAILURES ===================================
___________________________________ test_SQI ___________________________________
def test_SQI():
face_cropper = bob.bio.face.preprocessor.FaceCrop(
cropped_image_size=(CROPPED_IMAGE_HEIGHT, CROPPED_IMAGE_WIDTH),
cropped_positions={'leye': LEFT_EYE_POS, 'reye': RIGHT_EYE_POS}
)
> preprocessor = bob.bio.face.preprocessor.SelfQuotientImage(
face_cropper = face_cropper
)
../_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placeho/lib/python3.8/site-packages/bob/bio/face/test/test_picklability.py:100:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
../_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placeho/lib/python3.8/site-packages/bob/bio/face/preprocessor/SelfQuotientImage.py:62: in __init__
self._init_non_pickables()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = SelfQuotientImage(face_cropper=FaceCrop(cropped_image_size=(80, 64),
cropped_positions={'leye': (16, 48),
'reye': (16, 15)}))
def _init_non_pickables(self):
> self.self_quotient = bob.ip.base.SelfQuotientImage(
size_min=self.size, sigma=self.sigma
)
E AttributeError: module 'bob.ip.base' has no attribute 'SelfQuotientImage'
../_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placeho/lib/python3.8/site-packages/bob/bio/face/preprocessor/SelfQuotientImage.py:65: AttributeError
___________________________________ test_sqi ___________________________________
def test_sqi():
# read input
image, annotation = _image(), _annotation()
face_cropper = bob.bio.face.preprocessor.FaceCrop(
cropped_image_size=(CROPPED_IMAGE_HEIGHT, CROPPED_IMAGE_WIDTH),
cropped_positions={'leye': LEFT_EYE_POS, 'reye': RIGHT_EYE_POS}
)
> preprocessor = bob.bio.face.preprocessor.SelfQuotientImage(
face_cropper = face_cropper
)
../_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placeho/lib/python3.8/site-packages/bob/bio/face/test/test_preprocessors.py:310:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
../_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placeho/lib/python3.8/site-packages/bob/bio/face/preprocessor/SelfQuotientImage.py:62: in __init__
self._init_non_pickables()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = SelfQuotientImage(face_cropper=FaceCrop(cropped_image_size=(80, 64),
cropped_positions={'leye': (16, 48),
'reye': (16, 15)}))
def _init_non_pickables(self):
> self.self_quotient = bob.ip.base.SelfQuotientImage(
size_min=self.size, sigma=self.sigma
)
E AttributeError: module 'bob.ip.base' has no attribute 'SelfQuotientImage'
../_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placeho/lib/python3.8/site-packages/bob/bio/face/preprocessor/SelfQuotientImage.py:65: AttributeError
```Conda-forge migrationTiago de Freitas PereiraTiago de Freitas Pereirahttps://gitlab.idiap.ch/bob/bob.io.video/-/issues/18AssertionError: distortion(frame[29]) 85.0335 > 80 allowed for format `avi' a...2021-10-29T15:34:56ZAmir MOHAMMADIAssertionError: distortion(frame[29]) 85.0335 > 80 allowed for format `avi' and codec `libx264'```
FAIL: bob.io.video.test_codec.test_noise_format_mp4_codec_mpeg4
----------------------------------------------------------------------
Traceback (most recent call last):
File "/scratch/builds/bob/nightlies/miniconda/conda-bld/bob....```
FAIL: bob.io.video.test_codec.test_noise_format_mp4_codec_mpeg4
----------------------------------------------------------------------
Traceback (most recent call last):
File "/scratch/builds/bob/nightlies/miniconda/conda-bld/bob.io.video_1634154089695/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placeh/lib/python3.8/site-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File "/scratch/builds/bob/nightlies/miniconda/conda-bld/bob.io.video_1634154089695/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placeh/lib/python3.8/site-packages/bob/io/video/test_codec.py", line 47, in check_format_codec
assert rdist <= maxdist, "distortion(frame[%d]) %g > %g allowed for format `%s' and codec `%s'" % (k, rdist, maxdist, format, codec)
AssertionError: distortion(frame[29]) 85.0335 > 80 allowed for format `avi' and codec `libx264'
```
see https://gitlab.idiap.ch/bob/nightlies/-/jobs/246975Conda-forge migrationAmir MOHAMMADIAmir MOHAMMADIhttps://gitlab.idiap.ch/bob/bob.devtools/-/issues/84Python-only CI pipeline is required2021-10-29T15:34:56ZAmir MOHAMMADIPython-only CI pipeline is requiredSome packages like bob/bob.buildout> don't need conda and it's easier to maintain using pip only.
Looking at https://github.com/pypa/ would help.
related: https://gitlab.idiap.ch/bob/bob.buildout/-/issues/28Some packages like bob/bob.buildout> don't need conda and it's easier to maintain using pip only.
Looking at https://github.com/pypa/ would help.
related: https://gitlab.idiap.ch/bob/bob.buildout/-/issues/28Conda-forge migrationAndré AnjosAndré Anjoshttps://gitlab.idiap.ch/bob/bob.extension/-/issues/81bob.extension 6.1.0 pip package is broken2022-03-01T12:48:18ZAmir MOHAMMADIbob.extension 6.1.0 pip package is brokenAmir MOHAMMADIAmir MOHAMMADIhttps://gitlab.idiap.ch/bob/bob.devtools/-/issues/83[suggestion] Change CI template include style2022-11-17T17:35:27ZSamuel GAIST[suggestion] Change CI template include styleCurrently the `.gitlab-ci.yml` template for all bob packages contains either one or two lines like the following:
```
include: 'https://gitlab.idiap.ch/bob/bob.devtools/raw/master/bob/devtools/data/gitlab-ci/single-package.yaml'
```
Th...Currently the `.gitlab-ci.yml` template for all bob packages contains either one or two lines like the following:
```
include: 'https://gitlab.idiap.ch/bob/bob.devtools/raw/master/bob/devtools/data/gitlab-ci/single-package.yaml'
```
This has several drawbacks:
1) The server address is hardcoded
2) If there are incompatible changes to be done, there's no really easy way to test them without breaking a lot of packages
3) If one needs to keep using an old version of that file to be able to continue building it's not really clear how to proceed
For these reasons, I suggest to change the template as well as the bob packages `.gitlab-ci.yml` to the following.
```
include:
- project: 'bob/bob.devtools'
ref: master
file: '/bob/devtools/data/gitlab-ci/single-package.yaml'
```
This removes the server address so if there's a need to move stuff around, then there will be way less problems.
It also allows to retrieve the file from different branches if required in an easy fashion. For example if there's a massive change to the infrastructure, it allows to do that without breaking everything that is currently working.
The ref value can also be `$CI_DEFAULT_BRANCH` provided that the projects follow the same naming convention. It will thus allow to properly move from using master to main as default branch name.André AnjosAndré Anjoshttps://gitlab.idiap.ch/bob/bob.devtools/-/issues/82The Docker image used for Linux builds breaks beat/beat.editor> build2021-10-29T15:34:56ZSamuel GAISTThe Docker image used for Linux builds breaks beat/beat.editor> buildThe bob scripts used to use the `docker.idiap.ch/bob/docker-images/c3i-linux-64` Docker image. This image provided the required OpenGL related packages needed by beat/beat.editor>.
This is not the case anymore with the latest changes th...The bob scripts used to use the `docker.idiap.ch/bob/docker-images/c3i-linux-64` Docker image. This image provided the required OpenGL related packages needed by beat/beat.editor>.
This is not the case anymore with the latest changes that happened with the change to `quay.io/condaforge/linux-anvil-cos7-x86_64`.
See for example: https://gitlab.idiap.ch/beat/beat.editor/-/jobs/246701Amir MOHAMMADIAmir MOHAMMADIhttps://gitlab.idiap.ch/bob/bob.ip.stereo/-/issues/5Camera pair unclear convention for extrinsic parameters2021-10-07T14:42:55ZVincent POLLETCamera pair unclear convention for extrinsic parametersCameraPair expects the extrinsic parameters to be relative to the left camera:
https://gitlab.idiap.ch/bob/bob.ip.stereo/-/blob/master/bob/ip/stereo/camera.py#L86
This should be at least documented, but best refactored to be generic.CameraPair expects the extrinsic parameters to be relative to the left camera:
https://gitlab.idiap.ch/bob/bob.ip.stereo/-/blob/master/bob/ip/stereo/camera.py#L86
This should be at least documented, but best refactored to be generic.Vincent POLLETVincent POLLEThttps://gitlab.idiap.ch/bob/bob.devtools/-/issues/81pytorch=1.8.0 and torchvision=0.10.1 cannot be installed under a Linux build ...2021-10-06T13:07:29ZAndré Anjospytorch=1.8.0 and torchvision=0.10.1 cannot be installed under a Linux build on the CIFor some reason, the versions of pytorch and torchvision current in `conda_build_config.yaml` cannot be installed alongside the remainder of the packages, at least for bob.ip.binseg:
- https://gitlab.idiap.ch/bob/bob.ip.binseg/-/jobs/24...For some reason, the versions of pytorch and torchvision current in `conda_build_config.yaml` cannot be installed alongside the remainder of the packages, at least for bob.ip.binseg:
- https://gitlab.idiap.ch/bob/bob.ip.binseg/-/jobs/246120
It states:
```
The reported errors are:
Encountered problems while solving:
- nothing provides __glibc >=2.17,<3.0.a0 needed by torchvision-0.10.1-py36cuda102hd220d44_0_cuda
- nothing provides __glibc >=2.17,<3.0.a0 needed by pytorch-1.8.0-cpu_py36h2d15a6b_1
```
Which is weird, because it is a python=3.8 build!André AnjosAndré Anjoshttps://gitlab.idiap.ch/bob/bob.ip.facedetect/-/issues/11*** glibc detected *** python: free(): invalid pointer: 0x00007f9e2eaf2840 ***2021-10-14T15:55:59ZAmir MOHAMMADI*** glibc detected *** python: free(): invalid pointer: 0x00007f9e2eaf2840 ***```
+ nosetests --with-coverage --cover-package=bob.ip.facedetect -sv bob.ip.facedetect
bob.ip.facedetect.tests.test_cpp.test_bbx ... ok
bob.ip.facedetect.tests.test_cpp.test_mirror ... ok
bob.ip.facedetect.tests.test_cpp.test_pruning .....```
+ nosetests --with-coverage --cover-package=bob.ip.facedetect -sv bob.ip.facedetect
bob.ip.facedetect.tests.test_cpp.test_bbx ... ok
bob.ip.facedetect.tests.test_cpp.test_mirror ... ok
bob.ip.facedetect.tests.test_cpp.test_pruning ... ok
bob.ip.facedetect.tests.test_features.test01_single_LBP ... ok
bob.ip.facedetect.tests.test_features.test02_multiple_LBP ... ok
MTCNN should annotate one face correctly. ... *** glibc detected *** python: free(): invalid pointer: 0x00007f9e2eaf2840 ***
======= Backtrace: =========
/lib64/libc.so.6(+0x75e5e)[0x7f9e38400e5e]
/lib64/libc.so.6(+0x78cad)[0x7f9e38403cad]
lib/python3.8/site-packages/bob/core/../../../../libblitz.so.0(_ZNSt6locale5_ImplD1Ev+0x3a)[0x7f9e2ea91812]
lib/python3.8/site-packages/bob/core/../../../../libstdc++.so.6(+0xb925a)[0x7f9e2e8ee25a]
lib/python3.8/site-packages/tensorflow/python/_pywrap_tensorflow_internal.so(_ZN10tensorflow22python_op_gen_internal17AttrValueToPythonERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS_9AttrValueES8_+0x28f)[0x7f9cd54b0a6f]
lib/python3.8/site-packages/tensorflow/python/_pywrap_tensorflow_internal.so(+0x245b911)[0x7f9cd54ac911]
lib/python3.8/site-packages/tensorflow/python/_pywrap_tensorflow_internal.so(+0x245d471)[0x7f9cd54ae471]
lib/python3.8/site-packages/tensorflow/python/_pywrap_tensorflow_internal.so(_ZN10tensorflow17GetPythonWrappersB5cxx11EPKcm+0x113)[0x7f9cd54aeaf3]
lib/python3.8/site-packages/tensorflow/python/framework/_pywrap_python_op_gen.so(+0xbe09)[0x7f9d9db06e09]
lib/python3.8/site-packages/tensorflow/python/framework/_pywrap_python_op_gen.so(+0x13834)[0x7f9d9db0e834]
python(PyCFunction_Call+0x54)[0x55cd1186bc64]
python(_PyObject_MakeTpCall+0x31e)[0x55cd1187b0fe]
python(+0x184665)[0x55cd118c4665]
python(_PyEval_EvalFrameDefault+0x6088)[0x55cd11912498]
python(_PyFunction_Vectorcall+0x1a6)[0x55cd118f01b6]
python(+0x13b5f4)[0x55cd1187b5f4]
python(+0x184640)[0x55cd118c4640]
python(_PyEval_EvalFrameDefault+0x6088)[0x55cd11912498]
python(_PyEval_EvalCodeWithName+0x2c3)[0x55cd118eefa3]
python(PyEval_EvalCodeEx+0x39)[0x55cd118f0009]
python(PyEval_EvalCode+0x1b)[0x55cd11993cfb]
python(+0x27348e)[0x55cd119b348e]
python(+0x128b2b)[0x55cd11868b2b]
python(PyVectorcall_Call+0x6e)[0x55cd1186bb6e]
python(_PyEval_EvalFrameDefault+0x5cd9)[0x55cd119120e9]
python(_PyEval_EvalCodeWithName+0x2c3)[0x55cd118eefa3]
python(_PyFunction_Vectorcall+0x378)[0x55cd118f0388]
python(+0x13b5f4)[0x55cd1187b5f4]
python(+0x184640)[0x55cd118c4640]
python(_PyEval_EvalFrameDefault+0x6088)[0x55cd11912498]
python(_PyFunction_Vectorcall+0x1a6)[0x55cd118f01b6]
python(+0x13b5f4)[0x55cd1187b5f4]
python(+0x184640)[0x55cd118c4640]
python(_PyEval_EvalFrameDefault+0x5dd4)[0x55cd119121e4]
python(_PyFunction_Vectorcall+0x1a6)[0x55cd118f01b6]
python(+0x13b5f4)[0x55cd1187b5f4]
python(+0x184640)[0x55cd118c4640]
python(_PyEval_EvalFrameDefault+0x59d4)[0x55cd11911de4]
python(_PyFunction_Vectorcall+0x1a6)[0x55cd118f01b6]
python(+0x13b5f4)[0x55cd1187b5f4]
python(+0x184640)[0x55cd118c4640]
python(_PyEval_EvalFrameDefault+0x59d4)[0x55cd11911de4]
python(_PyFunction_Vectorcall+0x1a6)[0x55cd118f01b6]
python(+0x13e380)[0x55cd1187e380]
python(_PyObject_CallMethodIdObjArgs+0x25f)[0x55cd118f96cf]
python(PyImport_ImportModuleLevelObject+0x7e9)[0x55cd1184ff09]
python(+0x1d4088)[0x55cd11914088]
python(PyCFunction_Call+0x54)[0x55cd1186bc64]
python(_PyEval_EvalFrameDefault+0x5cd9)[0x55cd119120e9]
python(_PyEval_EvalCodeWithName+0x2c3)[0x55cd118eefa3]
python(_PyFunction_Vectorcall+0x378)[0x55cd118f0388]
python(+0x13b5f4)[0x55cd1187b5f4]
python(+0x184640)[0x55cd118c4640]
python(_PyEval_EvalFrameDefault+0x59d4)[0x55cd11911de4]
python(_PyEval_EvalCodeWithName+0x2c3)[0x55cd118eefa3]
python(_PyFunction_Vectorcall+0x378)[0x55cd118f0388]
python(+0x13e380)[0x55cd1187e380]
python(_PyObject_CallMethodIdObjArgs+0x25f)[0x55cd118f96cf]
python(PyImport_ImportModuleLevelObject+0x91c)[0x55cd1185003c]
python(_PyEval_EvalFrameDefault+0x30ff)[0x55cd1190f50f]
python(_PyEval_EvalCodeWithName+0x2c3)[0x55cd118eefa3]
python(PyEval_EvalCodeEx+0x39)[0x55cd118f0009]
python(PyEval_EvalCode+0x1b)[0x55cd11993cfb]
```
see https://gitlab.idiap.ch/bob/bob.ip.facedetect/-/jobs/246036/rawConda-forge migrationhttps://gitlab.idiap.ch/bob/bob.io.audio/-/issues/8conda-forge sox package does not have run_exports2021-10-06T12:59:37ZAmir MOHAMMADIconda-forge sox package does not have run_exportsbeing fixed in https://github.com/conda-forge/sox-feedstock/pull/20being fixed in https://github.com/conda-forge/sox-feedstock/pull/20Conda-forge migrationAmir MOHAMMADIAmir MOHAMMADIhttps://gitlab.idiap.ch/bob/bob.devtools/-/issues/80Switch to mamba and mambabuild2021-10-29T15:34:56ZAmir MOHAMMADISwitch to mamba and mambabuildBecause SpeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeedBecause SpeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeedConda-forge migrationAmir MOHAMMADIAmir MOHAMMADIhttps://gitlab.idiap.ch/bob/bob.extension/-/issues/80boost python is not found with conda-forge packages2021-10-29T15:34:56ZAmir MOHAMMADIboost python is not found with conda-forge packageshttps://gitlab.idiap.ch/bob/bob.extension/-/jobs/245641
```
======================================================================
ERROR: bob.extension.test_boost.test_boost_python_modules
------------------------------------------------...https://gitlab.idiap.ch/bob/bob.extension/-/jobs/245641
```
======================================================================
ERROR: bob.extension.test_boost.test_boost_python_modules
----------------------------------------------------------------------
Traceback (most recent call last):
File "/scratch/builds/bob/bob.extension/miniconda/conda-bld/bob.extension_1633333747012/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_p/lib/python3.8/site-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File "/scratch/builds/bob/bob.extension/miniconda/conda-bld/bob.extension_1633333747012/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_p/lib/python3.8/site-packages/bob/extension/test_boost.py", line 31, in test_boost_python_modules
directories, libname = b.libconfig(['python'])
File "/scratch/builds/bob/bob.extension/miniconda/conda-bld/bob.extension_1633333747012/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_p/lib/python3.8/site-packages/bob/extension/boost.py", line 173, in libconfig
raise RuntimeError("cannot find required boost module `%s' - make sure boost is installed on `%s' and that this module is named %s on the filesystem" % (module, prefix, ' or '.join(modnames)))
RuntimeError: cannot find required boost module `python' - make sure boost is installed on `/scratch/builds/bob/bob.extension/miniconda/conda-bld/bob.extension_1633333747012/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_p' and that this module is named boost_python-mt-py38 or boost_python-py38 or boost_python-mt or boost_python on the filesystem
======================================================================
ERROR: bob.extension.test_boost.test_boost_multiple_modules
----------------------------------------------------------------------
Traceback (most recent call last):
File "/scratch/builds/bob/bob.extension/miniconda/conda-bld/bob.extension_1633333747012/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_p/lib/python3.8/site-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File "/scratch/builds/bob/bob.extension/miniconda/conda-bld/bob.extension_1633333747012/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_p/lib/python3.8/site-packages/bob/extension/test_boost.py", line 40, in test_boost_multiple_modules
directories, libname = b.libconfig(['python', 'system'])
File "/scratch/builds/bob/bob.extension/miniconda/conda-bld/bob.extension_1633333747012/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_p/lib/python3.8/site-packages/bob/extension/boost.py", line 173, in libconfig
raise RuntimeError("cannot find required boost module `%s' - make sure boost is installed on `%s' and that this module is named %s on the filesystem" % (module, prefix, ' or '.join(modnames)))
RuntimeError: cannot find required boost module `python' - make sure boost is installed on `/scratch/builds/bob/bob.extension/miniconda/conda-bld/bob.extension_1633333747012/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_p' and that this module is named boost_python-mt-py38 or boost_python-py38 or boost_python-mt or boost_python on the filesystem
======================================================================
ERROR: bob.extension.test_boost.test_common_prefix
----------------------------------------------------------------------
Traceback (most recent call last):
File "/scratch/builds/bob/bob.extension/miniconda/conda-bld/bob.extension_1633333747012/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_p/lib/python3.8/site-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File "/scratch/builds/bob/bob.extension/miniconda/conda-bld/bob.extension_1633333747012/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_p/lib/python3.8/site-packages/bob/extension/test_boost.py", line 51, in test_common_prefix
directories, libname = b.libconfig(['python', 'system'])
File "/scratch/builds/bob/bob.extension/miniconda/conda-bld/bob.extension_1633333747012/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_p/lib/python3.8/site-packages/bob/extension/boost.py", line 173, in libconfig
raise RuntimeError("cannot find required boost module `%s' - make sure boost is installed on `%s' and that this module is named %s on the filesystem" % (module, prefix, ' or '.join(modnames)))
RuntimeError: cannot find required boost module `python' - make sure boost is installed on `/scratch/builds/bob/bob.extension/miniconda/conda-bld/bob.extension_1633333747012/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_p' and that this module is named boost_python-mt-py38 or boost_python-py38 or boost_python-mt or boost_python on the filesystem
```Conda-forge migrationhttps://gitlab.idiap.ch/bob/bob/-/issues/270Problem installing bob with conda2021-10-04T11:50:41ZGreg BurmanProblem installing bob with condaI've tried installing bob using the install instructions provided: https://www.idiap.ch/software/bob/docs/bob/docs/stable/install.html
However, when I run the `conda create` command under step 3) I get the following error:
```
$ conda ...I've tried installing bob using the install instructions provided: https://www.idiap.ch/software/bob/docs/bob/docs/stable/install.html
However, when I run the `conda create` command under step 3) I get the following error:
```
$ conda create --name bob_env1 --override-channels -c https://www.idiap.ch/software/bob/conda -c defaults python=3 bob.io.image bob.bio.face
Collecting package metadata (current_repodata.json): done
Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: /
Found conflicts! Looking for incompatible packages.
This can take several minutes. Press CTRL-C to abort.
failed
UnsatisfiableError: The following specifications were found to be incompatible with each other:
Output in format: Requested package -> Available versions
Package bob.io.image conflicts for:
bob.bio.face -> bob.io.image[version='>=2.4.1,<3.0a0|>=2.4.2,<3.0a0|>=2.4.3,<3.0a0|>=2.4.4,<3.0a0|>=2.4.5,<3.0a0|>=2.4.6,<3.0a0|>=2.5.0,<3.0a0']
bob.io.image
Package python conflicts for:
python=3
bob.bio.face -> python[version='>=2.7,<2.8.0a0|>=3.6,<3.7.0a0|>=3.7,<3.8.0a0|>=3.8,<3.9.0a0']
bob.bio.face -> matplotlib[version='>=3.3.2,<4.0a0'] -> python[version='>=3.5,<3.6.0a0|>=3.9,<3.10.0a0']
Package _libgcc_mutex conflicts for:
python=3 -> libgcc-ng[version='>=7.5.0'] -> _libgcc_mutex[version='*|0.1',build=main]
bob.io.image -> libgcc-ng[version='>=7.3.0'] -> _libgcc_mutex[version='*|0.1',build=main]The following specifications were found to be incompatible with your system:
- feature:/linux-64::__glibc==2.33=0
- feature:|@/linux-64::__glibc==2.33=0
- python=3 -> libgcc-ng[version='>=7.5.0'] -> __glibc[version='>=2.17']
Your installed version is: 2.33
```
It looks like there are several package conflicts for `bob.io.image` and `bob.bio.face`.
I have successfully managed to install bob using the Installation instructions several times before, so this issue seems to be pretty new.Conda-forge migrationhttps://gitlab.idiap.ch/bob/bob.devtools/-/issues/79Using docutils>=0.17 unformats bulleted lists2021-10-01T13:45:27ZAndré AnjosUsing docutils>=0.17 unformats bulleted listsAs reported on this SO thread (https://stackoverflow.com/questions/67542699/readthedocs-sphinx-not-rendering-bullet-list-from-rst-file), there seems to be a problem with docutils 0.17. Our conda-build-config does not specify it, so the ...As reported on this SO thread (https://stackoverflow.com/questions/67542699/readthedocs-sphinx-not-rendering-bullet-list-from-rst-file), there seems to be a problem with docutils 0.17. Our conda-build-config does not specify it, so the latest (0.17.1) gets installed. Unfortunately, that is still broken.
@bob: this is affecting all sphinx documentation generated on the nightlies.https://gitlab.idiap.ch/bob/bob.ip.gabor/-/issues/6bob.ip.gabor in pure python2024-01-15T14:27:24ZTiago de Freitas Pereirabob.ip.gabor in pure pythonHi,
To make it easier the maintenance in the long run of Bob, we would like to get rid of all C++ packages.
By getting rid, we meant by either porting it to pure python (https://gitlab.idiap.ch/bob/bob.measure/-/merge_requests/100 , htt...Hi,
To make it easier the maintenance in the long run of Bob, we would like to get rid of all C++ packages.
By getting rid, we meant by either porting it to pure python (https://gitlab.idiap.ch/bob/bob.measure/-/merge_requests/100 , https://gitlab.idiap.ch/bob/bob.learn.linear/-/merge_requests/15 , https://gitlab.idiap.ch/bob/bob.learn.em/-/merge_requests/40) or archiving it (https://gitlab.idiap.ch/bob/bob.learn.mlp/-/issues/11 , https://gitlab.idiap.ch/bob/bob.learn.libsvm/-/issues/12 )
@mguenther, since you are the father of this package; worth the effort to port the gabor framework to pure python (for the sake of keeping our history)? Do you know any other library that does the job that `bob.ip.gabor` does?
Thanks