beat.web issueshttps://gitlab.idiap.ch/beat/beat.web/-/issues2015-05-07T08:51:20Zhttps://gitlab.idiap.ch/beat/beat.web/-/issues/158The sentence "Public for specific users..." is not sensical2015-05-07T08:51:20ZAndré AnjosThe sentence "Public for specific users..." is not sensicalMaybe we could modify it to "Shared with specific users..." instead.Maybe we could modify it to "Shared with specific users..." instead.Tutorial for the FG2015 ConferenceSamuel GAISTSamuel GAISThttps://gitlab.idiap.ch/beat/beat.web/-/issues/156Saved search is not displayed2015-05-07T10:08:10ZAndré AnjosSaved search is not displayedIf I click (from the user micro-site, Databases panel), on this query for the AT&T database:
https://www.beat-eu.org/platform/search/?query=db:atnt%20type:results
And I save this search, with its default name, and then I go back to...If I click (from the user micro-site, Databases panel), on this query for the AT&T database:
https://www.beat-eu.org/platform/search/?query=db:atnt%20type:results
And I save this search, with its default name, and then I go back to the micro-site, "Searches" panel and click on the saved search, I cannot see it properly.Tutorial for the FG2015 ConferenceFlavio TARSETTIFlavio TARSETTIhttps://gitlab.idiap.ch/beat/beat.web/-/issues/151Can request attestation for experiment that I don't own2015-05-07T07:22:55ZAndré AnjosCan request attestation for experiment that I don't ownThe button to request an attestation still shows up even if the experiment is not yours.
Reproduce:
Following this link (while you're not user "siebenkopf"): https://www.beat-eu.org/platform/experiments/siebenkopf/siebenkopf/FaceRe...The button to request an attestation still shows up even if the experiment is not yours.
Reproduce:
Following this link (while you're not user "siebenkopf"): https://www.beat-eu.org/platform/experiments/siebenkopf/siebenkopf/FaceRec-WithOut-Training/2/Banca_P-PhaseDiff/Tutorial for the FG2015 ConferenceSamuel GAISTSamuel GAISThttps://gitlab.idiap.ch/beat/beat.web/-/issues/150Doc strings on search save are required, but not displayed2015-05-07T07:40:08ZAndré AnjosDoc strings on search save are required, but not displayedWe have an issue with documentation strings on searches. Here is what happens:
1. The user must provide a short description **and** a long description while saving
2. At the user micro-site, these are not displayed
This is what sh...We have an issue with documentation strings on searches. Here is what happens:
1. The user must provide a short description **and** a long description while saving
2. At the user micro-site, these are not displayed
This is what should happen:
1. The user *may* provide a short description and/or a long description.
2. The short description should be displayed at the user micro-site like for other objects.Tutorial for the FG2015 ConferenceFlavio TARSETTIFlavio TARSETTIhttps://gitlab.idiap.ch/beat/beat.web/-/issues/148Cannot return plot output in an analyzer2015-05-06T15:07:33ZManuel GüntherCannot return plot output in an analyzerWhen creating a new version of an analyzer as:
https://www.beat-eu.org/platform/algorithms/siebenkopf/ROC/14/
I cannot select the output used for plotting, but only ``float32``, ``int32``, ``bool`` and ``string`` can be selected.When creating a new version of an analyzer as:
https://www.beat-eu.org/platform/algorithms/siebenkopf/ROC/14/
I cannot select the output used for plotting, but only ``float32``, ``int32``, ``bool`` and ``string`` can be selected.Tutorial for the FG2015 ConferencePhilip ABBETPhilip ABBEThttps://gitlab.idiap.ch/beat/beat.web/-/issues/147When documenting data formats, the location of the .rst file is shown2015-05-06T15:14:33ZManuel GüntherWhen documenting data formats, the location of the .rst file is shownI recently added documentation for a data format:
https://www.beat-eu.org/platform/dataformats/siebenkopf/jet/1
After saving the long description, the location of the .rst file is shown, instead of its (parsed) content.
Note: When...I recently added documentation for a data format:
https://www.beat-eu.org/platform/dataformats/siebenkopf/jet/1
After saving the long description, the location of the .rst file is shown, instead of its (parsed) content.
Note: When I click on ``edit``, the correct .rst file is opened again.Tutorial for the FG2015 ConferenceLaurent EL SHAFEYLaurent EL SHAFEYhttps://gitlab.idiap.ch/beat/beat.web/-/issues/144Cancel button of experiment2015-05-06T12:26:39ZManuel GüntherCancel button of experimentWhen I want to cancel an experiment, and I click on the ``Cancel`` button, a window pops up, where I have the two choices: ``Yes, cancel it`` and ``Cancel``. So, which button do I use to cancel the experiment? From the text written on th...When I want to cancel an experiment, and I click on the ``Cancel`` button, a window pops up, where I have the two choices: ``Yes, cancel it`` and ``Cancel``. So, which button do I use to cancel the experiment? From the text written on the buttons, both do cancel the experiment.
Maybe we should rename the ``Cancel`` button in the pop-up window to something different, such as ``No, continue experiment``?Tutorial for the FG2015 ConferenceLaurent EL SHAFEYLaurent EL SHAFEYhttps://gitlab.idiap.ch/beat/beat.web/-/issues/142Invalid error message in validation of environments2015-05-06T11:24:09ZLaurent EL SHAFEYInvalid error message in validation of environmentsDuring the validation of an environment, the following 500 internal error may happen:
Internal Server Error: /platform/admin/experiments/experiment/562/
Traceback (most recent call last):
File "/remote/sw/beat.env.deploy/usr/lib/p...During the validation of an environment, the following 500 internal error may happen:
Internal Server Error: /platform/admin/experiments/experiment/562/
Traceback (most recent call last):
File "/remote/sw/beat.env.deploy/usr/lib/python2.7/site-packages/django/core/handlers/base.py", line 111, in get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/remote/sw/beat.env.deploy/usr/lib/python2.7/site-packages/django/contrib/admin/options.py", line 583, in wrapper
return self.admin_site.admin_view(view)(*args, **kwargs)
File "/remote/sw/beat.env.deploy/usr/lib/python2.7/site-packages/django/utils/decorators.py", line 105, in _wrapped_view
response = view_func(request, *args, **kwargs)
File "/remote/sw/beat.env.deploy/usr/lib/python2.7/site-packages/django/views/decorators/cache.py", line 52, in _wrapped_view_func
response = view_func(request, *args, **kwargs)
File "/remote/sw/beat.env.deploy/usr/lib/python2.7/site-packages/django/contrib/admin/sites.py", line 206, in inner
return view(request, *args, **kwargs)
File "/remote/sw/beat.env.deploy/usr/lib/python2.7/site-packages/django/contrib/admin/options.py", line 1456, in change_view
return self.changeform_view(request, object_id, form_url, extra_context)
File "/remote/sw/beat.env.deploy/usr/lib/python2.7/site-packages/django/utils/decorators.py", line 29, in _wrapper
return bound_func(*args, **kwargs)
File "/remote/sw/beat.env.deploy/usr/lib/python2.7/site-packages/django/utils/decorators.py", line 105, in _wrapped_view
response = view_func(request, *args, **kwargs)
File "/remote/sw/beat.env.deploy/usr/lib/python2.7/site-packages/django/utils/decorators.py", line 25, in bound_func
return func.__get__(self, type(self))(*args2, **kwargs2)
File "/remote/sw/beat.env.deploy/usr/lib/python2.7/site-packages/django/db/transaction.py", line 394, in inner
return func(*args, **kwargs)
File "/remote/sw/beat.env.deploy/usr/lib/python2.7/site-packages/django/contrib/admin/options.py", line 1396, in changeform_view
if form.is_valid():
File "/remote/sw/beat.env.deploy/usr/lib/python2.7/site-packages/django/forms/forms.py", line 162, in is_valid
return self.is_bound and not bool(self.errors)
File "/remote/sw/beat.env.deploy/usr/lib/python2.7/site-packages/django/forms/forms.py", line 154, in errors
self.full_clean()
File "/remote/sw/beat.env.deploy/usr/lib/python2.7/site-packages/django/forms/forms.py", line 353, in full_clean
self._clean_fields()
File "/remote/sw/beat.env.deploy/usr/lib/python2.7/site-packages/django/forms/forms.py", line 371, in _clean_fields
value = getattr(self, 'clean_%s' % name)()
File "/remote/sw/beat.web/src/beat.web/beat/web/experiments/admin.py", line 66, in clean_file
self.cleaned_data['toolchain'].json())
File "/remote/sw/beat.web/src/beat.web/beat/web/experiments/models.py", line 88, in validate_experiment
return xp, xp.errors + validate_environments(xp)
File "/remote/sw/beat.web/src/beat.web/beat/web/experiments/models.py", line 63, in validate_environments
errors.append("The combination of queue '%s' with environment '%s (%s)' in the global experiment configuration does not exist" % (q, env_name, env_version))
UnboundLocalError: local variable 'q' referenced before assignmentTutorial for the FG2015 ConferenceLaurent EL SHAFEYLaurent EL SHAFEYhttps://gitlab.idiap.ch/beat/beat.web/-/issues/141Public dataformats listed while sharing an experiment with a private algorithm 2015-05-06T11:41:03ZLaurent EL SHAFEYPublic dataformats listed while sharing an experiment with a private algorithm While turning an experiment public, few dataformats are listed in the sharing preferences, while there are public.
I think this is not expected.
More specifically, these dataformats are the ones used by a private algorithm, whose sha...While turning an experiment public, few dataformats are listed in the sharing preferences, while there are public.
I think this is not expected.
More specifically, these dataformats are the ones used by a private algorithm, whose sharing preferences are going to change, when the experiment become public.
In addition, I've noticed an inconsistency in the following two methods of the Experiment class in beat/web/experiments/models.py
* __share_dataformats
line 211: errors.extend(needed_format.is_accessible(users=users, teams=teams))
* __share_algorithms
line 238: errors.extend(needed_algorithm.is_accessible(False))
The method is_accessible() being common to both classes, the False argument is surprising. It is defined in beat/web/commons/models.py
155 def is_accessible(self, users=None, teams=None):
To reproduce the problem.
1. Create a new (private) version of an existing public algorithm
2. Run an algorithm with this private version of the algorithm
3. Try to make the experiment publicTutorial for the FG2015 ConferencePhilip ABBETPhilip ABBEThttps://gitlab.idiap.ch/beat/beat.web/-/issues/140Turning a private experiment into public does not seem to work2015-05-06T10:22:16ZLaurent EL SHAFEYTurning a private experiment into public does not seem to workWhen trying to make an experiment public, it currently causes a 500 internal error:
File "/remote/sw/beat.env.deploy/usr/lib/python2.7/site-packages/django/views/generic/base.py", line 69, in view
return self.dispatch(request, ...When trying to make an experiment public, it currently causes a 500 internal error:
File "/remote/sw/beat.env.deploy/usr/lib/python2.7/site-packages/django/views/generic/base.py", line 69, in view
return self.dispatch(request, *args, **kwargs)
File "/remote/sw/beat.env.deploy/usr/lib/python2.7/site-packages/rest_framework/views.py", line 452, in dispatch
response = self.handle_exception(exc)
File "/remote/sw/beat.env.deploy/usr/lib/python2.7/site-packages/rest_framework/views.py", line 449, in dispatch
response = handler(request, *args, **kwargs)
File "/remote/sw/beat.web/src/beat.web/beat/web/experiments/api.py", line 689, in post
experiment.share(users=users, teams=teams, algorithms_infos=algorithms_infos)
File "/remote/sw/beat.web/src/beat.web/beat/web/experiments/models.py", line 358, in share
self.__share_algorithms(users=users, teams=teams, algorithms_infos=algorithms_infos)
File "/remote/sw/beat.web/src/beat.web/beat/web/experiments/models.py", line 243, in __share_algorithms
if algorithms_infos.has_key(algorithm.fullname()):
AttributeError: 'NoneType' object has no attribute 'has_key'Tutorial for the FG2015 ConferenceLaurent EL SHAFEYLaurent EL SHAFEYhttps://gitlab.idiap.ch/beat/beat.web/-/issues/137Algorithm parameters with 'choice' are not displayed properly in the experime...2015-05-06T11:32:02ZLaurent EL SHAFEYAlgorithm parameters with 'choice' are not displayed properly in the experiment setup pageAlgorithm parameters with 'choice' are not displayed properly in the experiment setup page.
To reproduce this bug, just create an experiment with the toolchain "tpereira/full_isv/2/".
Then for one of the cropping block, select the al...Algorithm parameters with 'choice' are not displayed properly in the experiment setup page.
To reproduce this bug, just create an experiment with the toolchain "tpereira/full_isv/2/".
Then for one of the cropping block, select the algorithm "tpereira/periocular_crop/3"
The "color" menu list then displays much more options than what it should.Tutorial for the FG2015 ConferencePhilip ABBETPhilip ABBEThttps://gitlab.idiap.ch/beat/beat.web/-/issues/136Link on algorithm name leads to an error2015-05-05T20:17:41ZAndré AnjosLink on algorithm name leads to an errorIf you load this public algorithm page:
https://www.beat-eu.org/platform/algorithms/elie_khoury/cepstral/1/
And then, right on the top, click on the word saying "cepstral", an error page will be produced.
The issue is that the f...If you load this public algorithm page:
https://www.beat-eu.org/platform/algorithms/elie_khoury/cepstral/1/
And then, right on the top, click on the word saying "cepstral", an error page will be produced.
The issue is that the formed URL is not legal. It must include the version number as well.Tutorial for the FG2015 ConferenceSamuel GAISTSamuel GAISThttps://gitlab.idiap.ch/beat/beat.web/-/issues/135Diff view not working (at least for) Algorithms2015-05-05T19:15:09ZAndré AnjosDiff view not working (at least for) AlgorithmsTo reproduce, click on the [compare] button in any algorithm with at least two versions.To reproduce, click on the [compare] button in any algorithm with at least two versions.Tutorial for the FG2015 ConferenceSamuel GAISTSamuel GAISThttps://gitlab.idiap.ch/beat/beat.web/-/issues/134Search page alerts with a 404 for a given experiment (when plotting)2015-05-05T17:43:45ZAndré AnjosSearch page alerts with a 404 for a given experiment (when plotting)The search results page is getting a 404 error when looking up data for an experiment in which the author name and the toolchain author names match.
This is because of this "simplification" we used to have, in which an experiment full...The search results page is getting a 404 error when looking up data for an experiment in which the author name and the toolchain author names match.
This is because of this "simplification" we used to have, in which an experiment full name could be shortened if the author name of the experiment matched the author name of the toolchain. So, this used to work:
```text
<url>/experiments/<user>/<toolchain>/<number>/<label>
```
Basically, that meant our code had to have this branching all the time: does it contain 4 or 5 bits? To avoid this and simplify the code everywhere, since a few commits, the 4-tiered version was deprecated. Experiments should be referred by their full name (i.e., the 5-tiered thingy):
```text
<url>/experiments/<experiment-user>/<toolchain-user>/<toolchain-name>/<toolchain-version>/<label>
```
Somewhere in the search, this simplification is still being done and, therefore the 404.
@flavio.tarsetti: Could you please remove all instances of this?Tutorial for the FG2015 ConferenceFlavio TARSETTIFlavio TARSETTIhttps://gitlab.idiap.ch/beat/beat.web/-/issues/133Database label are incorrect in experiment page2015-05-06T14:27:22ZAndré AnjosDatabase label are incorrect in experiment pageThe labels of the datasets used in the experiment page (user micro-site) are not consistent with what is actually used on the related experiment. For example, check your user micro-site (on the production platform), for the public experi...The labels of the datasets used in the experiment page (user micro-site) are not consistent with what is actually used on the related experiment. For example, check your user micro-site (on the production platform), for the public experiment: /tutorial/tutorial/full_lbphs/1/atnt-lbphs/, the displayed dataset on the user micro-site is "banca.Md", where this experiment clearly uses "atnt.idiap". If you click on it, the experiment display page shows the right configuration.
This must be an issue with the javascript parsing on the experiment list page.Tutorial for the FG2015 ConferenceLaurent EL SHAFEYLaurent EL SHAFEYhttps://gitlab.idiap.ch/beat/beat.web/-/issues/132In the experiment display page, toolchain naming is not consistent2015-05-05T19:22:59ZAndré AnjosIn the experiment display page, toolchain naming is not consistentIt is better now with the full name of the experiment being show. A little optimisation is required though:
<user> / "<maybe-another-user>/<toolchain-name>/<toolchain-version>" / <label>
<user> - Points to the user micro-site
"<ma...It is better now with the full name of the experiment being show. A little optimisation is required though:
<user> / "<maybe-another-user>/<toolchain-name>/<toolchain-version>" / <label>
<user> - Points to the user micro-site
"<maybe-another-user>/<toolchain-name>/<toolchain-version>" - Points to the toolchain
<label> - Points to self.
Could you please do it like so? Thanks, ATutorial for the FG2015 ConferenceSamuel GAISTSamuel GAISThttps://gitlab.idiap.ch/beat/beat.web/-/issues/130"Mine" not working on the experiment page2015-05-05T20:55:17ZLaurent EL SHAFEY"Mine" not working on the experiment pageOn the experiment page, there are buttons to filter the results, such as 'public', 'private' and 'mine'.
Considering the 'sharing' related buttons, the 'mine' button does not work as expected, since no experiments are then displayed.On the experiment page, there are buttons to filter the results, such as 'public', 'private' and 'mine'.
Considering the 'sharing' related buttons, the 'mine' button does not work as expected, since no experiments are then displayed.Tutorial for the FG2015 ConferenceSamuel GAISTSamuel GAISThttps://gitlab.idiap.ch/beat/beat.web/-/issues/129[search] Cannot search for "tutorial/postperf/1" uniquely2015-05-05T19:04:58ZAndré Anjos[search] Cannot search for "tutorial/postperf/1" uniquelyIf the user types a full string for an object, it should be an exact match, otherwise, how could we filter for it?If the user types a full string for an object, it should be an exact match, otherwise, how could we filter for it?Tutorial for the FG2015 ConferenceLaurent EL SHAFEYLaurent EL SHAFEYhttps://gitlab.idiap.ch/beat/beat.web/-/issues/127Algorithm description cannot be edited properly2015-05-05T11:02:38ZLaurent EL SHAFEYAlgorithm description cannot be edited properlyLet's consider the algorithm [tutorial/cropping_rgb/3/](https://www.beat-eu.org/platform/algorithms/tutorial/cropping_rgb/3/).
This algorithm has both a short and long descriptions (as shown by clicking on `more`).
However, if we pre...Let's consider the algorithm [tutorial/cropping_rgb/3/](https://www.beat-eu.org/platform/algorithms/tutorial/cropping_rgb/3/).
This algorithm has both a short and long descriptions (as shown by clicking on `more`).
However, if we press on edit, the long description field will be filled with a filename `http://www.beat-eu.org/platform/api/algorithms/tutorial/cropping_rgb/3/fe/30/tutorial/cropping_rgb/3.rst` instead of the real content of the long description.Tutorial for the FG2015 Conferencehttps://gitlab.idiap.ch/beat/beat.web/-/issues/126Special (accented) characters in toolchain/algorithm description causes error2015-05-05T11:03:36ZLaurent EL SHAFEYSpecial (accented) characters in toolchain/algorithm description causes errorI've noticed the following problem with special (accented) characters. When they are used in a toolchain/algorithm description, installing these contributions will just work fine. However, when I try to load the toolchain/algorithm page,...I've noticed the following problem with special (accented) characters. When they are used in a toolchain/algorithm description, installing these contributions will just work fine. However, when I try to load the toolchain/algorithm page, the page cannot be loaded properly, and the following error occured:
```
Subject: [BEAT] ERROR (EXTERNAL IP): Internal Server Error:
/api/algorithms/user/
From: no-reply@beat-project.eu
To: E-MAIL ADDRESS
Date: Tue, 05 May 2015 09:33:03 -0000
Message-ID: <20150505093303.27891.45893@futurix08.idiap.ch>
Internal Server Error: /api/algorithms/user/
Traceback (most recent call last):
File "/idiap/project/beat/beat.env.develop/usr/lib/python2.7/site-packages/django/core/handlers/base.py", line 137, in get_response
response = response.render()
File "/idiap/project/beat/beat.env.develop/usr/lib/python2.7/site-packages/django/template/response.py", line 103, in render
self.content = self.rendered_content
File "/idiap/project/beat/beat.env.develop/usr/lib/python2.7/site-packages/rest_framework/response.py", line 59, in rendered_content
ret = renderer.render(self.data, media_type, context)
File "/idiap/project/beat/beat.env.develop/usr/lib/python2.7/site-packages/rest_framework/renderers.py", line 99, in render
separators=separators
File "/idiap/project/beat/beat.env.develop/usr/lib/python2.7/json/__init__.py", line 250, in dumps
sort_keys=sort_keys, **kw).encode(obj)
File "/idiap/project/beat/beat.env.develop/usr/lib/python2.7/json/encoder.py", line 210, in encode
return ''.join(chunks)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 546: ordinal not in range(128)
```Tutorial for the FG2015 Conference