bob issueshttps://gitlab.idiap.ch/groups/bob/-/issues2022-06-03T15:08:51Zhttps://gitlab.idiap.ch/bob/bob.pad.face/-/issues/30No use of existing annotations in FaceCropAlign2022-06-03T15:08:51ZGuillaume HEUSCHNo use of existing annotations in FaceCropAlignIt looks like the FaceCropAlign class does not take advantage of existing annotations, and hence, face detection is ran no matter what ...It looks like the FaceCropAlign class does not take advantage of existing annotations, and hence, face detection is ran no matter what ...Guillaume HEUSCHGuillaume HEUSCHhttps://gitlab.idiap.ch/bob/bob.devtools/-/issues/24CONDA_BUILD_SYSROOT is incorrectly set on macOS2019-05-20T11:34:28ZAndré AnjosCONDA_BUILD_SYSROOT is incorrectly set on macOSIn my system (macOS Mojave - 10.14) and as well on the previous version (10.13), when I `conda activate` an environment containing `bob-devel` and installed compilers, the value of `${CONDA_BUILD_SYSROOT}` is not correctly set.
```sh
$ ...In my system (macOS Mojave - 10.14) and as well on the previous version (10.13), when I `conda activate` an environment containing `bob-devel` and installed compilers, the value of `${CONDA_BUILD_SYSROOT}` is not correctly set.
```sh
$ conda activate bug
(bug) $ echo $CONDA_BUILD_SYSROOT
/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk
```
Since in bob/bob.admin/gitlab/conda_build_config.yaml, the value of that variable points (correctly) to ``/opt/MacOSX10.9.sdk``, this should be same when you `conda activate` the environment. Somehow, this variable is not making to the environment, which breaks it for building binaries:
```sh
(bug) $ buildout
Creating directory '/Users/andre/Projects/bob/bob.learn.boosting/eggs'.
mr.developer: Creating missing sources dir /Users/andre/Projects/bob/bob.learn.boosting/src.
Creating directory '/Users/andre/Projects/bob/bob.learn.boosting/bin'.
Creating directory '/Users/andre/Projects/bob/bob.learn.boosting/parts'.
Creating directory '/Users/andre/Projects/bob/bob.learn.boosting/develop-eggs'.
Develop: '/Users/andre/Projects/bob/bob.learn.boosting/.'
bob.buildout.tools: taking requirement `setuptools' (40.2.0) from `/Users/andre/conda/envs/bug/lib/python3.6/site-packages'
bob.buildout.tools: taking requirement `scipy' (1.1.0) from `/Users/andre/conda/envs/bug/lib/python3.6/site-packages'
bob.buildout.tools: taking requirement `bob.extension' (3.1.1b0) from `/Users/andre/conda/envs/bug/lib/python3.6/site-packages'
bob.buildout.tools: taking requirement `bob.blitz' (2.0.17b0) from `/Users/andre/conda/envs/bug/lib/python3.6/site-packages'
bob.buildout.tools: taking requirement `bob.core' (2.2.2b0) from `/Users/andre/conda/envs/bug/lib/python3.6/site-packages'
bob.buildout.tools: taking requirement `bob.io.base' (3.0.5b0) from `/Users/andre/conda/envs/bug/lib/python3.6/site-packages'
running develop
running egg_info
creating bob.learn.boosting.egg-info
writing bob.learn.boosting.egg-info/PKG-INFO
writing dependency_links to bob.learn.boosting.egg-info/dependency_links.txt
writing entry points to bob.learn.boosting.egg-info/entry_points.txt
writing requirements to bob.learn.boosting.egg-info/requires.txt
writing top-level names to bob.learn.boosting.egg-info/top_level.txt
writing manifest file 'bob.learn.boosting.egg-info/SOURCES.txt'
reading manifest file 'bob.learn.boosting.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching 'bootstrap-buildout.py'
writing manifest file 'bob.learn.boosting.egg-info/SOURCES.txt'
running build_ext
Re-run cmake no build system arguments
-- The C compiler identification is Clang 4.0.1
-- The CXX compiler identification is Clang 4.0.1
-- Check for working C compiler: /Users/andre/conda/envs/bug/bin/x86_64-apple-darwin13.4.0-clang
-- Check for working C compiler: /Users/andre/conda/envs/bug/bin/x86_64-apple-darwin13.4.0-clang -- broken
CMake Error at /Users/andre/conda/envs/bug/share/cmake-3.12/Modules/CMakeTestCCompiler.cmake:52 (message):
The C compiler
"/Users/andre/conda/envs/bug/bin/x86_64-apple-darwin13.4.0-clang"
is not able to compile a simple test program.
It fails with the following output:
Change Dir: /Users/andre/Projects/bob/bob.learn.boosting/build/build_cmake/bob_learn_boosting/CMakeFiles/CMakeTmp
Run Build Command:"/usr/local/bin/gmake" "cmTC_f66b7/fast"
/usr/local/bin/gmake -f CMakeFiles/cmTC_f66b7.dir/build.make CMakeFiles/cmTC_f66b7.dir/build
gmake[1]: Entering directory '/Users/andre/Projects/bob/bob.learn.boosting/build/build_cmake/bob_learn_boosting/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_f66b7.dir/testCCompiler.c.o
/Users/andre/conda/envs/bug/bin/x86_64-apple-darwin13.4.0-clang -march=core2 -mtune=haswell -mssse3 -ftree-vectorize -fPIC -fPIE -fstack-protector-strong -O2 -pipe -isysroot /opt/MacOSX10.9.sdk -mmacosx-version-min=10.9 -o CMakeFiles/cmTC_f66b7.dir/testCCompiler.c.o -c /Users/andre/Projects/bob/bob.learn.boosting/build/build_cmake/bob_learn_boosting/CMakeFiles/CMakeTmp/testCCompiler.c
Linking C executable cmTC_f66b7
/Users/andre/conda/envs/bug/bin/cmake -E cmake_link_script CMakeFiles/cmTC_f66b7.dir/link.txt --verbose=1
/Users/andre/conda/envs/bug/bin/x86_64-apple-darwin13.4.0-clang -march=core2 -mtune=haswell -mssse3 -ftree-vectorize -fPIC -fPIE -fstack-protector-strong -O2 -pipe -isysroot /opt/MacOSX10.9.sdk -mmacosx-version-min=10.9 -Wl,-search_paths_first -Wl,-headerpad_max_install_names -Wl,-pie -Wl,-headerpad_max_install_names -Wl,-dead_strip_dylibs CMakeFiles/cmTC_f66b7.dir/testCCompiler.c.o -o cmTC_f66b7
ld: warning: ignoring file /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/lib/libSystem.tbd, file was built for unsupported file format ( 0x2D 0x2D 0x2D 0x20 0x21 0x74 0x61 0x70 0x69 0x2D 0x74 0x62 0x64 0x2D 0x76 0x33 ) which is not the architecture being linked (x86_64): /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/lib/libSystem.tbd
ld: dynamic main executables must link with libSystem.dylib for architecture x86_64
clang-4.0: error: linker command failed with exit code 1 (use -v to see invocation)
gmake[1]: *** [CMakeFiles/cmTC_f66b7.dir/build.make:87: cmTC_f66b7] Error 1
gmake[1]: Leaving directory '/Users/andre/Projects/bob/bob.learn.boosting/build/build_cmake/bob_learn_boosting/CMakeFiles/CMakeTmp'
gmake: *** [Makefile:121: cmTC_f66b7/fast] Error 2
CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt:4 (project)
-- Configuring incomplete, errors occurred!
See also "/Users/andre/Projects/bob/bob.learn.boosting/build/build_cmake/bob_learn_boosting/CMakeFiles/CMakeOutput.log".
See also "/Users/andre/Projects/bob/bob.learn.boosting/build/build_cmake/bob_learn_boosting/CMakeFiles/CMakeError.log".
error: Could not generate makefiles with CMake
While:
Installing.
Processing develop directory '/Users/andre/Projects/bob/bob.learn.boosting/.'.
An internal error occurred due to a bug in either zc.buildout or in a
recipe being used:
Traceback (most recent call last):
File "/Users/andre/conda/envs/bug/lib/python3.6/site-packages/zc/buildout/buildout.py", line 2128, in main
getattr(buildout, command)(args)
File "/Users/andre/conda/envs/bug/lib/python3.6/site-packages/zc/buildout/buildout.py", line 660, in install
installed_develop_eggs = self._develop()
File "/Users/andre/conda/envs/bug/lib/python3.6/site-packages/zc/buildout/buildout.py", line 903, in _develop
zc.buildout.easy_install.develop(setup, dest)
File "/Users/andre/conda/envs/bug/lib/python3.6/site-packages/bob/buildout/extension.py", line 213, in develop
zc.buildout.easy_install.call_subprocess(args)
File "/Users/andre/conda/envs/bug/lib/python3.6/site-packages/zc/buildout/easy_install.py", line 166, in call_subprocess
% repr(args)[1:-1])
Exception: Failed to run command:
'/Users/andre/conda/envs/bug/bin/python', '/var/folders/b3/7l98n3bd7dqc1stjmgxb9mbw0000gn/T/tmpyhmf1cbq', '-v', 'develop', '-mxN', '-d', '/Users/andre/Projects/bob/bob.learn.boosting/develop-eggs/tmpwt4h3ep6build'
```André AnjosAndré Anjoshttps://gitlab.idiap.ch/bob/bob.devtools/-/issues/23No such file or directory: 'lsof': 'lsof'2019-04-08T13:47:52ZTiago de Freitas PereiraNo such file or directory: 'lsof': 'lsof'This is breaking the nightlies
https://gitlab.idiap.ch/bob/bob.devtools/commit/af7cd1350b8239bd7c1fef82ace3688bf7e92b72
Check it out.
https://gitlab.idiap.ch/bob/bob.nightlies/-/jobs/162026
```
return _process_result(sub_ctx.com...This is breaking the nightlies
https://gitlab.idiap.ch/bob/bob.devtools/commit/af7cd1350b8239bd7c1fef82ace3688bf7e92b72
Check it out.
https://gitlab.idiap.ch/bob/bob.nightlies/-/jobs/162026
```
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/scratch/builds/bob/bob.nightlies/miniconda/lib/python3.7/site-packages/click/core.py", line 1137, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/scratch/builds/bob/bob.nightlies/miniconda/lib/python3.7/site-packages/click/core.py", line 956, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/scratch/builds/bob/bob.nightlies/miniconda/lib/python3.7/site-packages/click/core.py", line 555, in invoke
return callback(*args, **kwargs)
File "/scratch/builds/bob/bob.nightlies/miniconda/lib/python3.7/site-packages/bob/devtools/scripts/bdt.py", line 42, in _decorator
value = view_func(*args, **kwargs)
File "/scratch/builds/bob/bob.nightlies/miniconda/lib/python3.7/site-packages/click/decorators.py", line 17, in new_func
return f(get_current_context(), *args, **kwargs)
File "/scratch/builds/bob/bob.nightlies/miniconda/lib/python3.7/site-packages/bob/devtools/scripts/ci.py", line 512, in nightlies
current_open_files = open_files()
File "/scratch/builds/bob/bob.nightlies/miniconda/lib/python3.7/site-packages/bob/devtools/log.py", line 245, in open_files
procs = subprocess.check_output(['lsof', '-w', '-p', str(pid)])
File "/scratch/builds/bob/bob.nightlies/miniconda/lib/python3.7/subprocess.py", line 389, in check_output
**kwargs).stdout
File "/scratch/builds/bob/bob.nightlies/miniconda/lib/python3.7/subprocess.py", line 466, in run
with Popen(*popenargs, **kwargs) as process:
File "/scratch/builds/bob/bob.nightlies/miniconda/lib/python3.7/subprocess.py", line 769, in __init__
restore_signals, start_new_session)
File "/scratch/builds/bob/bob.nightlies/miniconda/lib/python3.7/subprocess.py", line 1516, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'lsof': 'lsof'
```
This is weird. This is supposed to be a linux standard command, no?André AnjosAndré Anjoshttps://gitlab.idiap.ch/bob/bob.pad.face/-/issues/29Purpose in MaskAttackPadDatabase2022-06-03T15:08:29ZGuillaume HEUSCHPurpose in MaskAttackPadDatabasethe purposes are not handled properly ... considered as a string instead of a listthe purposes are not handled properly ... considered as a string instead of a listGuillaume HEUSCHGuillaume HEUSCHhttps://gitlab.idiap.ch/bob/bob.io.video/-/issues/15Memory leak2020-02-14T16:15:23ZTiago de Freitas PereiraMemory leakHi,
For some obscure reason, the test `bob.io.video.test.test_memory_leak` fails on the macpro https://gitlab.idiap.ch/bob/bob.io.video/-/jobs/161805 , but not on the macmini https://gitlab.idiap.ch/bob/bob.io.video/-/jobs/161809
This ...Hi,
For some obscure reason, the test `bob.io.video.test.test_memory_leak` fails on the macpro https://gitlab.idiap.ch/bob/bob.io.video/-/jobs/161805 , but not on the macmini https://gitlab.idiap.ch/bob/bob.io.video/-/jobs/161809
This is blocking the nightlies https://gitlab.idiap.ch/bob/bob.nightlies/-/jobs/161781
Tiagohttps://gitlab.idiap.ch/bob/bob.devtools/-/issues/22Jinja2 'group' variable2019-04-03T14:07:30ZGuillaume HEUSCHJinja2 'group' variableHi @andre.anjos
This is more a question than an issue, but I was wondering how the 'group' Jinja variable in the ``conda/meta.yaml`` template is handled here (https://gitlab.idiap.ch/bob/bob.devtools/blob/master/bob/devtools/templates/...Hi @andre.anjos
This is more a question than an issue, but I was wondering how the 'group' Jinja variable in the ``conda/meta.yaml`` template is handled here (https://gitlab.idiap.ch/bob/bob.devtools/blob/master/bob/devtools/templates/conda/meta.yaml#L55).
I'm asking because it took me quite some time to figure out why the CI was failing ...André AnjosAndré Anjoshttps://gitlab.idiap.ch/bob/bob.pad.face/-/issues/28Unnecessary logger warning?2022-06-03T15:08:14ZAnjith GEORGEanjith.george@idiap.chUnnecessary logger warning?@heusch Do you actually need this warning?
`https://gitlab.idiap.ch/bob/bob.pad.face/blob/master/bob/pad/face/preprocessor/FaceCropAlign.py#L627`
It pops up every time when I have RGB image as input and I want grayscale as the output.@heusch Do you actually need this warning?
`https://gitlab.idiap.ch/bob/bob.pad.face/blob/master/bob/pad/face/preprocessor/FaceCropAlign.py#L627`
It pops up every time when I have RGB image as input and I want grayscale as the output.Guillaume HEUSCHGuillaume HEUSCHhttps://gitlab.idiap.ch/bob/bob.bio.face/-/issues/33Prevent cropping when left and right eye positions are swapped.2019-04-05T06:45:47ZAmir MOHAMMADIPrevent cropping when left and right eye positions are swapped.I have bitten by this several times. My annotations are wrong and faces get cropped upside down. I plan to change the FaceCrop class to raise an error by default and skip it only when the user specifies it. Please let me know of your tho...I have bitten by this several times. My annotations are wrong and faces get cropped upside down. I plan to change the FaceCrop class to raise an error by default and skip it only when the user specifies it. Please let me know of your thoughts.Amir MOHAMMADIAmir MOHAMMADIhttps://gitlab.idiap.ch/bob/docs/-/issues/7This package is not ported to the new CI infrastructure2019-05-23T14:46:56ZAmir MOHAMMADIThis package is not ported to the new CI infrastructureJob [#161045](https://gitlab.idiap.ch/bob/docs/-/jobs/161045) failed for 9ee7516a7d0adf0fdf666b5501814007f8ccc210:
Here is the log info:
```
(04:44:42.993) Error: KABOOOOOOOOOOOOOOOOOOOMMMMMMMMMMMMMMMMMMMMM!
(04:44:42.996) Error: Your bu...Job [#161045](https://gitlab.idiap.ch/bob/docs/-/jobs/161045) failed for 9ee7516a7d0adf0fdf666b5501814007f8ccc210:
Here is the log info:
```
(04:44:42.993) Error: KABOOOOOOOOOOOOOOOOOOOMMMMMMMMMMMMMMMMMMMMM!
(04:44:42.996) Error: Your build will fail just because you did not read your e-mails!
(04:44:43.000) Error: Here, let me take your hand... Type on your prompt:
(04:44:43.003) Error: $ cd mypackage
(04:44:43.005) Error: $ git checkout master
(04:44:43.008) Error: $ curl -o .gitlab-ci.yml https://gitlab.idiap.ch/bob/bob.devtools/blob/master/bob/devtools/templates/.gitlab-ci.yml
(04:44:43.011) Error: $ git commit -m '[ci] Updated CI - sorry for the trouble' .gitlab-ci.yml
(04:44:43.014) Error: $ git push
(04:44:43.016) Error:
(04:44:43.019) Error: Meanwhile, you'll have to live with this (shameful) failure...
(04:44:43.020) Error: Enjoy!
```https://gitlab.idiap.ch/bob/bob.devtools/-/issues/21Deployment stage fails in paper package2019-03-25T13:45:50ZAnjith GEORGEanjith.george@idiap.chDeployment stage fails in paper packageWhile trying to run the pipeline for my paper package, the deployment stage fails with the following error message
`INFO:bob.devtools.deploy@2019-03-22 20:14:55,559: [dav] /scratch/builds/bob/bob.paper.deep_pix_bis_pad.icb2019/sphinx -> ...While trying to run the pipeline for my paper package, the deployment stage fails with the following error message
`INFO:bob.devtools.deploy@2019-03-22 20:14:55,559: [dav] /scratch/builds/bob/bob.paper.deep_pix_bis_pad.icb2019/sphinx -> http://www.idiap.ch/private-upload/docs/bob/bob.paper.deep_pix_bis_pad.icb2019/master
Traceback (most recent call last):
File "/scratch/builds/bob/bob.paper.deep_pix_bis_pad.icb2019/miniconda/bin/bdt", line 11, in <module>
sys.exit(main())
File "/scratch/builds/bob/bob.paper.deep_pix_bis_pad.icb2019/miniconda/lib/python3.7/site-packages/click/core.py", line 764, in __call__
return self.main(*args, **kwargs)
File "/scratch/builds/bob/bob.paper.deep_pix_bis_pad.icb2019/miniconda/lib/python3.7/site-packages/click/core.py", line 717, in main
rv = self.invoke(ctx)
File "/scratch/builds/bob/bob.paper.deep_pix_bis_pad.icb2019/miniconda/lib/python3.7/site-packages/click/core.py", line 1137, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/scratch/builds/bob/bob.paper.deep_pix_bis_pad.icb2019/miniconda/lib/python3.7/site-packages/click/core.py", line 1137, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/scratch/builds/bob/bob.paper.deep_pix_bis_pad.icb2019/miniconda/lib/python3.7/site-packages/click/core.py", line 956, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/scratch/builds/bob/bob.paper.deep_pix_bis_pad.icb2019/miniconda/lib/python3.7/site-packages/click/core.py", line 555, in invoke
return callback(*args, **kwargs)
File "/scratch/builds/bob/bob.paper.deep_pix_bis_pad.icb2019/miniconda/lib/python3.7/site-packages/bob/devtools/scripts/bdt.py", line 42, in _decorator
value = view_func(*args, **kwargs)
File "/scratch/builds/bob/bob.paper.deep_pix_bis_pad.icb2019/miniconda/lib/python3.7/site-packages/bob/devtools/scripts/ci.py", line 136, in deploy
password=os.environ['DOCPASS'], dry_run=dry_run)
File "/scratch/builds/bob/bob.paper.deep_pix_bis_pad.icb2019/miniconda/lib/python3.7/site-packages/bob/devtools/deploy.py", line 136, in deploy_documentation
davclient.upload_directory(local_path=path, remote_path=remote_path)
File "/scratch/builds/bob/bob.paper.deep_pix_bis_pad.icb2019/miniconda/lib/python3.7/site-packages/bob/devtools/webdav3/client.py", line 450, in upload_directory
self.mkdir(remote_path)
File "/scratch/builds/bob/bob.paper.deep_pix_bis_pad.icb2019/miniconda/lib/python3.7/site-packages/bob/devtools/webdav3/client.py", line 72, in _wrapper
res = fn(self, *args, **kw)
File "/scratch/builds/bob/bob.paper.deep_pix_bis_pad.icb2019/miniconda/lib/python3.7/site-packages/bob/devtools/webdav3/client.py", line 294, in mkdir
raise RemoteParentNotFound(directory_urn.path())
bob.devtools.webdav3.exceptions.RemoteParentNotFound: Remote parent for: /docs/bob/bob.paper.deep_pix_bis_pad.icb2019/master/ not found
ERROR: Job failed: exit code 1`
Any solutions?André AnjosAndré Anjoshttps://gitlab.idiap.ch/bob/bob.pad.face/-/issues/27fix CASIA-SURF tests2019-03-20T12:37:41ZGuillaume HEUSCHfix CASIA-SURF testsGuillaume HEUSCHGuillaume HEUSCHhttps://gitlab.idiap.ch/bob/bob.pad.base/-/issues/30Nightlies broken2019-03-22T12:53:58ZTiago de Freitas PereiraNightlies brokenHi guys,
Nightlies are broken because of this one.
https://gitlab.idiap.ch/bob/bob.nightlies/-/jobs/160177
There's a test case with CASIA-SURF database that is failing.
Can someone check this?
ThanksHi guys,
Nightlies are broken because of this one.
https://gitlab.idiap.ch/bob/bob.nightlies/-/jobs/160177
There's a test case with CASIA-SURF database that is failing.
Can someone check this?
ThanksGuillaume HEUSCHGuillaume HEUSCHhttps://gitlab.idiap.ch/bob/nightlies/-/issues/45Job Failed #1600532019-03-18T09:46:42ZAmir MOHAMMADIJob Failed #160053Job [#160053](https://gitlab.idiap.ch/bob/bob.nightlies/-/jobs/160053) failed for c5475a21244e9c1b529290cca3922300cb01503e:
```
+ bob bio face_ongoing --help
Usage: bob bio [OPTIONS] COMMAND [ARGS]...
Try "bob bio -?" for help.
Error: N...Job [#160053](https://gitlab.idiap.ch/bob/bob.nightlies/-/jobs/160053) failed for c5475a21244e9c1b529290cca3922300cb01503e:
```
+ bob bio face_ongoing --help
Usage: bob bio [OPTIONS] COMMAND [ARGS]...
Try "bob bio -?" for help.
Error: No such command "face_ongoing".
```
This is due to our click upgrade. Please see bob.extension!98 for an accurate fixhttps://gitlab.idiap.ch/bob/bob.project.chalearn_pad/-/issues/1Update package2019-03-13T10:18:25ZGuillaume HEUSCHUpdate packageThis package should be updated with the following:
* [ ] A conda recipe (so that CI could be enabled)
* [ ] What is specific to the competition should be put in a branch (or some other place)
* [ ] Configuration for existing baseline...This package should be updated with the following:
* [ ] A conda recipe (so that CI could be enabled)
* [ ] What is specific to the competition should be put in a branch (or some other place)
* [ ] Configuration for existing baselines (in particular LBP+SVM and IQM+SVM) should be addedGuillaume HEUSCHGuillaume HEUSCHhttps://gitlab.idiap.ch/bob/bob.devtools/-/issues/20Action not to perform if the build should be skipped2019-03-13T14:42:22ZGuillaume HEUSCHAction not to perform if the build should be skippedApparently, if the build should be skipped, the recipe won't be retrieved, but there's no check here:
https://gitlab.idiap.ch/bob/bob.devtools/blob/master/bob/devtools/scripts/build.py#L142
Yielding the following error
```bash
Traceba...Apparently, if the build should be skipped, the recipe won't be retrieved, but there's no check here:
https://gitlab.idiap.ch/bob/bob.devtools/blob/master/bob/devtools/scripts/build.py#L142
Yielding the following error
```bash
Traceback (most recent call last):
File "/Users/gitlab/builds/b6d3167a/0/bob/bob.learn.pytorch/miniconda/bin/bdt", line 11, in <module>
sys.exit(main())
File "/Users/gitlab/builds/b6d3167a/0/bob/bob.learn.pytorch/miniconda/lib/python3.7/site-packages/click/core.py", line 764, in __call__
return self.main(*args, **kwargs)
File "/Users/gitlab/builds/b6d3167a/0/bob/bob.learn.pytorch/miniconda/lib/python3.7/site-packages/click/core.py", line 717, in main
rv = self.invoke(ctx)
File "/Users/gitlab/builds/b6d3167a/0/bob/bob.learn.pytorch/miniconda/lib/python3.7/site-packages/click/core.py", line 1137, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/Users/gitlab/builds/b6d3167a/0/bob/bob.learn.pytorch/miniconda/lib/python3.7/site-packages/click/core.py", line 1137, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/Users/gitlab/builds/b6d3167a/0/bob/bob.learn.pytorch/miniconda/lib/python3.7/site-packages/click/core.py", line 956, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/Users/gitlab/builds/b6d3167a/0/bob/bob.learn.pytorch/miniconda/lib/python3.7/site-packages/click/core.py", line 555, in invoke
return callback(*args, **kwargs)
File "/Users/gitlab/builds/b6d3167a/0/bob/bob.learn.pytorch/miniconda/lib/python3.7/site-packages/bob/devtools/scripts/bdt.py", line 42, in _decorator
value = view_func(*args, **kwargs)
File "/Users/gitlab/builds/b6d3167a/0/bob/bob.learn.pytorch/miniconda/lib/python3.7/site-packages/click/decorators.py", line 17, in new_func
return f(get_current_context(), *args, **kwargs)
File "/Users/gitlab/builds/b6d3167a/0/bob/bob.learn.pytorch/miniconda/lib/python3.7/site-packages/bob/devtools/scripts/ci.py", line 404, in build
ci=True,
File "/Users/gitlab/builds/b6d3167a/0/bob/bob.learn.pytorch/miniconda/lib/python3.7/site-packages/click/core.py", line 555, in invoke
return callback(*args, **kwargs)
File "/Users/gitlab/builds/b6d3167a/0/bob/bob.learn.pytorch/miniconda/lib/python3.7/site-packages/bob/devtools/scripts/bdt.py", line 42, in _decorator
value = view_func(*args, **kwargs)
File "/Users/gitlab/builds/b6d3167a/0/bob/bob.learn.pytorch/miniconda/lib/python3.7/site-packages/bob/devtools/scripts/build.py", line 142, in build
rendered_recipe = get_parsed_recipe(metadata)
File "/Users/gitlab/builds/b6d3167a/0/bob/bob.learn.pytorch/miniconda/lib/python3.7/site-packages/bob/devtools/build.py", line 174, in get_parsed_recipe
output = conda_build.api.output_yaml(metadata[0][0])
IndexError: list index out of range
```
Thanks !André AnjosAndré Anjoshttps://gitlab.idiap.ch/bob/bob.devtools/-/issues/19Make CI scripts more testable on the local command-line2019-12-20T14:52:08ZAndré AnjosMake CI scripts more testable on the local command-lineIt would be good that every environment variable required inside those commands is read from the command-line interface. That would give the chance for a user to test these recipes on their local installation before pushing changes.
Th...It would be good that every environment variable required inside those commands is read from the command-line interface. That would give the chance for a user to test these recipes on their local installation before pushing changes.
This replaces #18, which was only partially implemented (does not contain a fix to this issue).https://gitlab.idiap.ch/bob/bob.devtools/-/issues/18Should encapsulate scripts/ci better2019-03-04T07:46:19ZAndré AnjosShould encapsulate scripts/ci betterThere are a few things we could do to make the CI scripts better to test and functionality more re-usable:
1. It would be good that every environment variable required inside those commands is read from the command-line interface. That...There are a few things we could do to make the CI scripts better to test and functionality more re-usable:
1. It would be good that every environment variable required inside those commands is read from the command-line interface. That would give the chance for a user to test these recipes on their local installation before pushing changes
2. The deployment of artefacts (conda packages **and** documentation) could be better encapsulated into functions that are more re-usable. Then, apply DRY where it matters!André AnjosAndré Anjoshttps://gitlab.idiap.ch/bob/bob.devtools/-/issues/17CONDA_BUILD_SYSROOT is incorrectly set on macOS2019-04-12T13:02:35ZAndré AnjosCONDA_BUILD_SYSROOT is incorrectly set on macOSIn my system (macOS Mojave - 10.14) and as well on the previous version (10.13), when I `conda activate` an environment containing `bob-devel` and installed compilers, the value of `${CONDA_BUILD_SYSROOT}` is not correctly set.
```sh
$ ...In my system (macOS Mojave - 10.14) and as well on the previous version (10.13), when I `conda activate` an environment containing `bob-devel` and installed compilers, the value of `${CONDA_BUILD_SYSROOT}` is not correctly set.
```sh
$ conda activate bug
(bug) $ echo $CONDA_BUILD_SYSROOT
/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk
```
Since in bob/bob.admin/gitlab/conda_build_config.yaml, the value of that variable points (correctly) to ``/opt/MacOSX10.9.sdk``, this should be same when you `conda activate` the environment. Somehow, this variable is not making to the environment, which breaks it for building binaries:
```sh
(bug) $ buildout
Creating directory '/Users/andre/Projects/bob/bob.learn.boosting/eggs'.
mr.developer: Creating missing sources dir /Users/andre/Projects/bob/bob.learn.boosting/src.
Creating directory '/Users/andre/Projects/bob/bob.learn.boosting/bin'.
Creating directory '/Users/andre/Projects/bob/bob.learn.boosting/parts'.
Creating directory '/Users/andre/Projects/bob/bob.learn.boosting/develop-eggs'.
Develop: '/Users/andre/Projects/bob/bob.learn.boosting/.'
bob.buildout.tools: taking requirement `setuptools' (40.2.0) from `/Users/andre/conda/envs/bug/lib/python3.6/site-packages'
bob.buildout.tools: taking requirement `scipy' (1.1.0) from `/Users/andre/conda/envs/bug/lib/python3.6/site-packages'
bob.buildout.tools: taking requirement `bob.extension' (3.1.1b0) from `/Users/andre/conda/envs/bug/lib/python3.6/site-packages'
bob.buildout.tools: taking requirement `bob.blitz' (2.0.17b0) from `/Users/andre/conda/envs/bug/lib/python3.6/site-packages'
bob.buildout.tools: taking requirement `bob.core' (2.2.2b0) from `/Users/andre/conda/envs/bug/lib/python3.6/site-packages'
bob.buildout.tools: taking requirement `bob.io.base' (3.0.5b0) from `/Users/andre/conda/envs/bug/lib/python3.6/site-packages'
running develop
running egg_info
creating bob.learn.boosting.egg-info
writing bob.learn.boosting.egg-info/PKG-INFO
writing dependency_links to bob.learn.boosting.egg-info/dependency_links.txt
writing entry points to bob.learn.boosting.egg-info/entry_points.txt
writing requirements to bob.learn.boosting.egg-info/requires.txt
writing top-level names to bob.learn.boosting.egg-info/top_level.txt
writing manifest file 'bob.learn.boosting.egg-info/SOURCES.txt'
reading manifest file 'bob.learn.boosting.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching 'bootstrap-buildout.py'
writing manifest file 'bob.learn.boosting.egg-info/SOURCES.txt'
running build_ext
Re-run cmake no build system arguments
-- The C compiler identification is Clang 4.0.1
-- The CXX compiler identification is Clang 4.0.1
-- Check for working C compiler: /Users/andre/conda/envs/bug/bin/x86_64-apple-darwin13.4.0-clang
-- Check for working C compiler: /Users/andre/conda/envs/bug/bin/x86_64-apple-darwin13.4.0-clang -- broken
CMake Error at /Users/andre/conda/envs/bug/share/cmake-3.12/Modules/CMakeTestCCompiler.cmake:52 (message):
The C compiler
"/Users/andre/conda/envs/bug/bin/x86_64-apple-darwin13.4.0-clang"
is not able to compile a simple test program.
It fails with the following output:
Change Dir: /Users/andre/Projects/bob/bob.learn.boosting/build/build_cmake/bob_learn_boosting/CMakeFiles/CMakeTmp
Run Build Command:"/usr/local/bin/gmake" "cmTC_f66b7/fast"
/usr/local/bin/gmake -f CMakeFiles/cmTC_f66b7.dir/build.make CMakeFiles/cmTC_f66b7.dir/build
gmake[1]: Entering directory '/Users/andre/Projects/bob/bob.learn.boosting/build/build_cmake/bob_learn_boosting/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_f66b7.dir/testCCompiler.c.o
/Users/andre/conda/envs/bug/bin/x86_64-apple-darwin13.4.0-clang -march=core2 -mtune=haswell -mssse3 -ftree-vectorize -fPIC -fPIE -fstack-protector-strong -O2 -pipe -isysroot /opt/MacOSX10.9.sdk -mmacosx-version-min=10.9 -o CMakeFiles/cmTC_f66b7.dir/testCCompiler.c.o -c /Users/andre/Projects/bob/bob.learn.boosting/build/build_cmake/bob_learn_boosting/CMakeFiles/CMakeTmp/testCCompiler.c
Linking C executable cmTC_f66b7
/Users/andre/conda/envs/bug/bin/cmake -E cmake_link_script CMakeFiles/cmTC_f66b7.dir/link.txt --verbose=1
/Users/andre/conda/envs/bug/bin/x86_64-apple-darwin13.4.0-clang -march=core2 -mtune=haswell -mssse3 -ftree-vectorize -fPIC -fPIE -fstack-protector-strong -O2 -pipe -isysroot /opt/MacOSX10.9.sdk -mmacosx-version-min=10.9 -Wl,-search_paths_first -Wl,-headerpad_max_install_names -Wl,-pie -Wl,-headerpad_max_install_names -Wl,-dead_strip_dylibs CMakeFiles/cmTC_f66b7.dir/testCCompiler.c.o -o cmTC_f66b7
ld: warning: ignoring file /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/lib/libSystem.tbd, file was built for unsupported file format ( 0x2D 0x2D 0x2D 0x20 0x21 0x74 0x61 0x70 0x69 0x2D 0x74 0x62 0x64 0x2D 0x76 0x33 ) which is not the architecture being linked (x86_64): /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/lib/libSystem.tbd
ld: dynamic main executables must link with libSystem.dylib for architecture x86_64
clang-4.0: error: linker command failed with exit code 1 (use -v to see invocation)
gmake[1]: *** [CMakeFiles/cmTC_f66b7.dir/build.make:87: cmTC_f66b7] Error 1
gmake[1]: Leaving directory '/Users/andre/Projects/bob/bob.learn.boosting/build/build_cmake/bob_learn_boosting/CMakeFiles/CMakeTmp'
gmake: *** [Makefile:121: cmTC_f66b7/fast] Error 2
CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt:4 (project)
-- Configuring incomplete, errors occurred!
See also "/Users/andre/Projects/bob/bob.learn.boosting/build/build_cmake/bob_learn_boosting/CMakeFiles/CMakeOutput.log".
See also "/Users/andre/Projects/bob/bob.learn.boosting/build/build_cmake/bob_learn_boosting/CMakeFiles/CMakeError.log".
error: Could not generate makefiles with CMake
While:
Installing.
Processing develop directory '/Users/andre/Projects/bob/bob.learn.boosting/.'.
An internal error occurred due to a bug in either zc.buildout or in a
recipe being used:
Traceback (most recent call last):
File "/Users/andre/conda/envs/bug/lib/python3.6/site-packages/zc/buildout/buildout.py", line 2128, in main
getattr(buildout, command)(args)
File "/Users/andre/conda/envs/bug/lib/python3.6/site-packages/zc/buildout/buildout.py", line 660, in install
installed_develop_eggs = self._develop()
File "/Users/andre/conda/envs/bug/lib/python3.6/site-packages/zc/buildout/buildout.py", line 903, in _develop
zc.buildout.easy_install.develop(setup, dest)
File "/Users/andre/conda/envs/bug/lib/python3.6/site-packages/bob/buildout/extension.py", line 213, in develop
zc.buildout.easy_install.call_subprocess(args)
File "/Users/andre/conda/envs/bug/lib/python3.6/site-packages/zc/buildout/easy_install.py", line 166, in call_subprocess
% repr(args)[1:-1])
Exception: Failed to run command:
'/Users/andre/conda/envs/bug/bin/python', '/var/folders/b3/7l98n3bd7dqc1stjmgxb9mbw0000gn/T/tmpyhmf1cbq', '-v', 'develop', '-mxN', '-d', '/Users/andre/Projects/bob/bob.learn.boosting/develop-eggs/tmpwt4h3ep6build'
```https://gitlab.idiap.ch/bob/bob.devtools/-/issues/16[conda] environment activation/deactivation issue2019-03-01T03:42:05ZFlavio TARSETTI[conda] environment activation/deactivation issueWhen creating an environment with bob.devtools, it's not possible to exit the current environment.
Example to reproduce this issue with beat.editor v2:
```
conda create -n bdt -c https://www.idiap.ch/software/bob/conda
bob.devtools pyth...When creating an environment with bob.devtools, it's not possible to exit the current environment.
Example to reproduce this issue with beat.editor v2:
```
conda create -n bdt -c https://www.idiap.ch/software/bob/conda
bob.devtools python=3.6
conda activate bdt
bdt create -vv beateditor_v2
...
```
Proof of concept of this issue:
```
$ conda activate bdt
(bdt)$ python --version
Python 3.6.8 :: Anaconda, Inc.
(bdt)$ conda deactivate
$ conda activate beateditor_v2
(beateditor_v2) $ conda deactivate
(beateditor_v2) $ conda deactivate
(beateditor_v2) $
```
The problem comes from `<conda-root>/envs/<env-name>/.condarc` if the line `changeps1: false` is present. By deleting this line and going to a new terminal, it now becomes possible to activate and deactivate from the environment.André AnjosAndré Anjoshttps://gitlab.idiap.ch/bob/bob.extension/-/issues/71FAIL: bob.extension.test_click_helper.test_prefix_aliasing2019-03-14T07:54:20ZAmir MOHAMMADIFAIL: bob.extension.test_click_helper.test_prefix_aliasing```
======================================================================
FAIL: bob.extension.test_click_helper.test_prefix_aliasing
----------------------------------------------------------------------
Traceback (most recent call last...```
======================================================================
FAIL: bob.extension.test_click_helper.test_prefix_aliasing
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/gitlab/builds/b6d3167a/0/bob/bob.nightlies/miniconda/conda-bld/bob.extension_1551126299541/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placeho/lib/python3.6/site-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File "/Users/gitlab/builds/b6d3167a/0/bob/bob.nightlies/miniconda/conda-bld/bob.extension_1551126299541/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placeho/lib/python3.6/site-packages/bob/extension/test_click_helper.py", line 178, in test_prefix_aliasing
assert result.exit_code == 0, (result.exit_code, result.output)
AssertionError: (2, 'Usage: cli [OPTIONS] COMMAND [ARGS]...\nTry "cli --help" for help.\n\nError: No such command "test_a".\n')
```
This is due to upgrade of click from 6 to 7.Amir MOHAMMADIAmir MOHAMMADI