beat issueshttps://gitlab.idiap.ch/groups/beat/-/issues2015-05-04T21:08:36Zhttps://gitlab.idiap.ch/beat/beat.web/-/issues/122Creation of *public* algorithm/library/plotter from the admin page causes 500...2015-05-04T21:08:36ZLaurent EL SHAFEYCreation of *public* algorithm/library/plotter from the admin page causes 500 errorWhen using the admin page, the creation of algorithm/library/plotter leads to an internal error 500, when sharing is set to public.
There is no problem when the sharing attribute is set to private.When using the admin page, the creation of algorithm/library/plotter leads to an internal error 500, when sharing is set to public.
There is no problem when the sharing attribute is set to private.Tutorial for the FG2015 Conferencehttps://gitlab.idiap.ch/beat/beat.web/-/issues/123Adding a short description of an algorithm with more than 100 characters gene...2015-05-06T17:16:59ZLaurent EL SHAFEYAdding a short description of an algorithm with more than 100 characters generates a 500 errorWhen adding a short description of an algorithm with more than 100 characters, it currently generates a 500 internal error.
The expected behavior would be to warn the user that the description is too long.When adding a short description of an algorithm with more than 100 characters, it currently generates a 500 internal error.
The expected behavior would be to warn the user that the description is too long.Tutorial for the FG2015 ConferenceSamuel GAISTSamuel GAISThttps://gitlab.idiap.ch/beat/beat.web/-/issues/124Cannot update description of algorithm parameters2015-05-07T06:43:34ZLaurent EL SHAFEYCannot update description of algorithm parametersIt is currently not possible to update the description of algorithm parameters through the web interface.It is currently not possible to update the description of algorithm parameters through the web interface.Tutorial for the FG2015 ConferencePhilip ABBETPhilip ABBEThttps://gitlab.idiap.ch/beat/beat.web/-/issues/125Cannot update toolchain description2015-05-05T12:11:47ZLaurent EL SHAFEYCannot update toolchain descriptionIt is currently not possible to update a toolchain (short/long) description.
When clicking on the save button, nothing happens and the user is stuck with the edition form.
It is currently not possible to update a toolchain (short/long) description.
When clicking on the save button, nothing happens and the user is stuck with the edition form.
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 Conferencehttps://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/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/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/131When creating a new version of an algorithm, outputs might disappear2015-05-06T14:26:22ZManuel GüntherWhen creating a new version of an algorithm, outputs might disappearI lately tried to create a new version of the algorithm:
https://www.beat-eu.org/platform/algorithms/tutorial/lbphs_features/2
This algorithm comes with two inputs and one output, which are correctly displayed in the last version (2).
...I lately tried to create a new version of the algorithm:
https://www.beat-eu.org/platform/algorithms/tutorial/lbphs_features/2
This algorithm comes with two inputs and one output, which are correctly displayed in the last version (2).
When I now try to create a new version (3) of the algorithm, the output disappears.
Saving the new version of the algorithm is not possible any more, so it seems to be a consistent issue.
Also, reloading the page doesn't help.
I hope that you can reproduce the issue. The algorithm is public.
Cheers, ManuelPhilip ABBETPhilip ABBEThttps://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/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/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/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/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/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/138Global algorithm parameters are not removed properly2015-05-12T17:12:18ZLaurent EL SHAFEYGlobal algorithm parameters are not removed properlyIf:
1. I fork an experiment that uses a given algorithm (e.g. tutorial/pca/1),
2. Replace this algorithm (e.g. by tutorial/pca/2)
(3. This algorithm is not used by any other block of the experiment)
Then:
I am unable to run this e...If:
1. I fork an experiment that uses a given algorithm (e.g. tutorial/pca/1),
2. Replace this algorithm (e.g. by tutorial/pca/2)
(3. This algorithm is not used by any other block of the experiment)
Then:
I am unable to run this experiment, and I get the following alert message:
(...) The experiment isn't valid, since (...) globals: found parameter section for algorithm `tutorial/pca/1' which is not used anywhere in the experiment.
API DocumentationPhilip ABBETPhilip ABBEThttps://gitlab.idiap.ch/beat/beat.web/-/issues/139Parameter choices of type string are not displayed correctly in an experiment...2015-05-06T09:40:37ZManuel GüntherParameter choices of type string are not displayed correctly in an experiment designI have an algorithm, which takes as parameter a string, which can be selected from a list.
The list is correctly displayed in the algorithm page, but when I try to design and run an experiment, each letter is displayed individually, inc...I have an algorithm, which takes as parameter a string, which can be selected from a list.
The list is correctly displayed in the algorithm page, but when I try to design and run an experiment, each letter is displayed individually, including the ``[``, ``]`` and ``,`` characters.
As a consequence, I cannot run the experiment, but I rather get the error message:
```
"Traceback (most recent call last):\n File \"/remote/sw/beat.web/src/beat.web/beat/web/experiments/models.py\", line 131, in create_experiment\n experiment.save()\n File \"/remote/sw/beat.web/src/beat.web/beat/web/experiments/models.py\", line 291, in save\n raise SyntaxError(message % '\\n * '.join(errors))\nSyntaxError: The experiment isn't valid, due to the following errors:\n * /globals/siebenkopf/GaborGraphSimilarity/10/gabor_jet_similarity: cannot convert value `[' to required type: value for `gabor_jet_similarity' ('[') must be one of `['ScalarProduct', 'Canberra', 'Disparity', 'PhaseDiff', 'PhaseDiffPlusCanberra']'\n"
```
Enjoy debugging!
ManuelPhilip 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/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/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 SHAFEY