beat.cmdline issueshttps://gitlab.idiap.ch/beat/beat.cmdline/-/issues2018-04-13T08:03:56Zhttps://gitlab.idiap.ch/beat/beat.cmdline/-/issues/7[experiments] Add command to checksum data and indexes2018-04-13T08:03:56ZAndré Anjos[experiments] Add command to checksum data and indexesOn ``xp caches``.On ``xp caches``.BTAS TutorialAndré AnjosAndré Anjoshttps://gitlab.idiap.ch/beat/beat.cmdline/-/issues/6Pulling a database fails with a token error2018-04-13T08:03:56ZLaurent EL SHAFEYPulling a database fails with a token errorIt's seems that a regular user can't pull databases anymore.
```
$ ./bin/beat --prefix=prefix db pull
retrieving `databases/atnt/1'...
failed to retrieve database from `https://www.beat-eu.org/platform/' with secret token, reason: ...It's seems that a regular user can't pull databases anymore.
```
$ ./bin/beat --prefix=prefix db pull
retrieving `databases/atnt/1'...
failed to retrieve database from `https://www.beat-eu.org/platform/' with secret token, reason: Forbidden
retrieving `databases/banca/1'...
failed to retrieve database from `https://www.beat-eu.org/platform/' with secret token, reason: Forbidden
retrieving `databases/casme2/1'...
failed to retrieve database from `https://www.beat-eu.org/platform/' with secret token, reason: Forbidden
retrieving `databases/cbsr_nir_vis_2/1'...
failed to retrieve database from `https://www.beat-eu.org/platform/' with secret token, reason: Forbidden
retrieving `databases/cpqd/1'...
failed to retrieve database from `https://www.beat-eu.org/platform/' with secret token, reason: Forbidden
retrieving `databases/mnist/1'...
failed to retrieve database from `https://www.beat-eu.org/platform/' with secret token, reason: Forbidden
retrieving `databases/mobio/1'...
failed to retrieve database from `https://www.beat-eu.org/platform/' with secret token, reason: Forbidden
retrieving `databases/replay/1'...
failed to retrieve database from `https://www.beat-eu.org/platform/' with secret token, reason: Forbidden
retrieving `databases/utfvp/1'...
failed to retrieve database from `https://www.beat-eu.org/platform/' with secret token, reason: Forbidden
retrieving `databases/voxforge/1'...
failed to retrieve database from `https://www.beat-eu.org/platform/' with secret token, reason: Forbidden
retrieving `databases/xm2vts/1'...
failed to retrieve database from `https://www.beat-eu.org/platform/' with secret token, reason: Forbidden
```
This also occurs when pulling an experiment, which will try to pull the database used.BTAS Tutorialhttps://gitlab.idiap.ch/beat/beat.cmdline/-/issues/5Database view is not working properly2018-04-13T08:03:56ZLaurent EL SHAFEYDatabase view is not working properlyWhen trying to view a dataset,
```
./bin/beat --prefix web_dynamic_data db view banca/1/Mc/dev_probes
```
I sometimes get this kind of errors:
```
Traceback (most recent call last):
File "./bin/beat", line 33, in <module>
...When trying to view a dataset,
```
./bin/beat --prefix web_dynamic_data db view banca/1/Mc/dev_probes
```
I sometimes get this kind of errors:
```
Traceback (most recent call last):
File "./bin/beat", line 33, in <module>
sys.exit(beat.cmdline.scripts.beat.main())
File "/remote/idiap.svm/user.active/lelshafey/work/beat_platform/beat.core/src/beat.cmdline/beat/cmdline/scripts/beat.py", line 160, in main
return module.process(args)
File "/remote/idiap.svm/user.active/lelshafey/work/beat_platform/beat.core/src/beat.cmdline/beat/cmdline/databases.py", line 402, in process
return view_output(args['config'], args['<set_name>'])
File "/remote/idiap.svm/user.active/lelshafey/work/beat_platform/beat.core/src/beat.cmdline/beat/cmdline/databases.py", line 355, in view_output
json_data[name] = common.stringify(value)
TypeError: 'str' object does not support item assignment
```
BTAS TutorialLaurent EL SHAFEYLaurent EL SHAFEYhttps://gitlab.idiap.ch/beat/beat.cmdline/-/issues/4Pulling an experiment does not pull any experiment but only related toolchain...2018-04-13T08:03:56ZLaurent EL SHAFEYPulling an experiment does not pull any experiment but only related toolchains/dataformats/algorithmsThis looks like API-change related.This looks like API-change related.BTAS Tutorialhttps://gitlab.idiap.ch/beat/beat.cmdline/-/issues/3Data (algorithms, dataformats, etc.) pulling crashes when non-ascii character...2018-04-13T08:03:57ZLaurent EL SHAFEYData (algorithms, dataformats, etc.) pulling crashes when non-ascii characters are present in a fieldHere is an example:
```bash
lelshafey@futurix08:/idiap/user/lelshafey/work/beat_platform/beat.cmdline$ ./bin/beat algo pull
retrieving `algorithms/siebenkopf/GaborGraphSimilarity/12'...
Traceback (most recent call last):
File "....Here is an example:
```bash
lelshafey@futurix08:/idiap/user/lelshafey/work/beat_platform/beat.cmdline$ ./bin/beat algo pull
retrieving `algorithms/siebenkopf/GaborGraphSimilarity/12'...
Traceback (most recent call last):
File "./bin/beat", line 21, in <module>
sys.exit(beat.cmdline.scripts.beat.main())
File "/remote/idiap.svm/user.active/lelshafey/work/beat_platform/beat.cmdline/beat/cmdline/scripts/beat.py", line 160, in main
return module.process(args)
File "/remote/idiap.svm/user.active/lelshafey/work/beat_platform/beat.cmdline/beat/cmdline/algorithms.py", line 144, in process
args['--force'], 0, {}, {})
File "/remote/idiap.svm/user.active/lelshafey/work/beat_platform/beat.cmdline/beat/cmdline/algorithms.py", line 105, in pull
['declaration', 'code', 'description'], force, indentation)
File "/remote/idiap.svm/user.active/lelshafey/work/beat_platform/beat.cmdline/beat/cmdline/common.py", line 612, in pull
storage.save(**data)
File "/remote/idiap.svm/user.active/lelshafey/work/beat_platform/beat.cmdline/src/beat.core/beat/core/utils.py", line 262, in save
if description: self.doc.save(description)
File "/remote/idiap.svm/user.active/lelshafey/work/beat_platform/beat.cmdline/src/beat.core/beat/core/utils.py", line 129, in save
with open(self.path, mode) as f: f.write(contents)
UnicodeEncodeError: 'ascii' codec can't encode character u'\xfc' in position 622: ordinal not in range(128)
```
This may be a problem with beat.core.BTAS TutorialLaurent EL SHAFEYLaurent EL SHAFEYhttps://gitlab.idiap.ch/beat/beat.cmdline/-/issues/2Data (algorithms, dataformats, etc.) listing and pulling is not working any more2018-04-13T08:03:57ZLaurent EL SHAFEYData (algorithms, dataformats, etc.) listing and pulling is not working any moreData (algorithms, dataformats, etc.) listing and pulling is not working any more. The corresponding tests are failing as well.Data (algorithms, dataformats, etc.) listing and pulling is not working any more. The corresponding tests are failing as well.BTAS TutorialLaurent EL SHAFEYLaurent EL SHAFEYhttps://gitlab.idiap.ch/beat/beat.cmdline/-/issues/1Database indexing and database view are not working anymore2018-04-13T08:03:57ZTiago de Freitas PereiraDatabase indexing and database view are not working anymoreWhen running the `beat` command line utility to perform one of the following operations (indexing or viewing database content), the script crashes with such an error:
```python
./bin/beat --prefix=work db view atnt/1/idiap/train
Tra...When running the `beat` command line utility to perform one of the following operations (indexing or viewing database content), the script crashes with such an error:
```python
./bin/beat --prefix=work db view atnt/1/idiap/train
Traceback (most recent call last):
File "./bin/beat", line 34, in <module>
sys.exit(beat.cmdline.scripts.beat.main())
File "/remote/idiap.svm/user.active/tpereira/BEAT/beat.core/src/beat.cmdline/beat/cmdline/scripts/beat.py", line 160, in main
return module.process(args)
File "/remote/idiap.svm/user.active/tpereira/BEAT/beat.core/src/beat.cmdline/beat/cmdline/databases.py", line 400, in process
return view_output(args['config'], args['<set_name>'])
File "/remote/idiap.svm/user.active/tpereira/BEAT/beat.core/src/beat.cmdline/beat/cmdline/databases.py", line 330, in view_output
input_group = view.input_group(exclude_outputs=excluded_outputs)
File "/remote/idiap.svm/user.active/tpereira/BEAT/beat.core/beat/core/database.py", line 146, in input_group
for output in self.outputs:
TypeError: 'NoneType' object is not iterable
```BTAS Tutorial