limbra issueshttps://gitlab.in2p3.fr/limbra/limbra/-/issues2015-04-24T19:01:49+02:00https://gitlab.in2p3.fr/limbra/limbra/-/issues/1feature-close in build_version.py fails in error2015-04-24T19:01:49+02:00MEESSEN Christophefeature-close in build_version.py fails in errorWhen executing
$ ./build_version.py --close-feature
The following error is shown
Traceback (most recent call last):
File "./build_version.py", line 642, in <module>
close_feature()
File "./build...When executing
$ ./build_version.py --close-feature
The following error is shown
Traceback (most recent call last):
File "./build_version.py", line 642, in <module>
close_feature()
File "./build_version.py", line 185, in close_feature
rep = raw_input("Delete the locale branch %s [y/N]", branch)
TypeError: [raw_]input expected at most 1 arguments, got 2
MEESSEN ChristopheMEESSEN Christophehttps://gitlab.in2p3.fr/limbra/limbra/-/issues/4Fail to export list in PDF or TeX using Chrome2015-12-14T16:34:12+01:00LE GAC RenaudFail to export list in PDF or TeX using ChromeWhen using the Chrome browser, the list generation is working when the output format is HTML. However it failed when the output format is either PDF or TeX.
This bug is confirmed and can be reproduced in test environment.When using the Chrome browser, the list generation is working when the output format is HTML. However it failed when the output format is either PDF or TeX.
This bug is confirmed and can be reproduced in test environment.https://gitlab.in2p3.fr/limbra/limbra/-/issues/14Use of undefined variable in ProductionTools class2015-05-22T10:13:28+02:00MEESSEN ChristopheUse of undefined variable in ProductionTools class**This bug is in release 0.8.9 !!**
After a `git co production`, in modules/harvester_tools.py at line 484, the member variable y2 is used but has never been set.
It is the year value to use when `start_year` and `end_year` are n...**This bug is in release 0.8.9 !!**
After a `git co production`, in modules/harvester_tools.py at line 484, the member variable y2 is used but has never been set.
It is the year value to use when `start_year` and `end_year` are not defined.
LE GAC RenaudLE GAC Renaudhttps://gitlab.in2p3.fr/limbra/limbra/-/issues/15Use `import datetime` instead of `from datetime import datetime`2015-05-21T17:21:46+02:00MEESSEN ChristopheUse `import datetime` instead of `from datetime import datetime`According to this [web2py mailing list discussion](https://groups.google.com/d/msg/web2py/kCBXXqdC3Yo/eddPAepsq9MJ), use of `from datetime import datetime` conflicts with use of `import datetime` and calling `datetime.datetime.now()`. Th...According to this [web2py mailing list discussion](https://groups.google.com/d/msg/web2py/kCBXXqdC3Yo/eddPAepsq9MJ), use of `from datetime import datetime` conflicts with use of `import datetime` and calling `datetime.datetime.now()`. The problem shows up when using the scheduler.
To avoid such conflict, use of `from datetime import datetime` must be replaced by `import datetime`, and calls to `datetime.XXX` must be replace with calls to `datetime.datetime.XXX`.
The problem occurs when the name of the module is the same as the name of the import. It is a python problem.
MEESSEN ChristopheMEESSEN Christophehttps://gitlab.in2p3.fr/limbra/limbra/-/issues/19Errors while executing harvest_all2015-09-25T11:06:01+02:00MEESSEN ChristopheErrors while executing harvest_allWhile executing `harvest_all` using `web2py -d`, the following stacktraces were printed out on the console.
The Selector options were: 2014 -> 2015, no team, no project, mode:save in database, format:html
Bug present in production 0.8...While executing `harvest_all` using `web2py -d`, the following stacktraces were printed out on the console.
The Selector options were: 2014 -> 2015, no team, no project, mode:save in database, format:html
Bug present in production 0.8.10.
Traceback (most recent call last):
File "applications/track_publications/modules/harvest_tools.py", line 926, in process_url
self.decode_xml(xml)
File "applications/track_publications/modules/harvest_tools.py", line 973, in decode_xml
self.load_db(record)
File "applications/track_publications/modules/harvest_tools.py", line 1209, in load_db
year=year)
File "applications/track_publications/modules/harvest_tools.py", line 1108, in check_by_fields
year=year)
File "applications/track_publications/modules/plugin_dbui/helper.py", line 388, in get_id
row = table(query)
File "/home/meessen/mywap/web2py/gluon/dal.py", line 9124, in __call__
limitby=(0, 1), for_update=for_update, orderby=orderby, orderby_on_limitby=False).first()
File "/home/meessen/mywap/web2py/gluon/dal.py", line 10749, in select
return adapter.select(self.query, fields, attributes)
File "/home/meessen/mywap/web2py/gluon/dal.py", line 1868, in select
sql = self._select(query, fields, attributes)
File "/home/meessen/mywap/web2py/gluon/dal.py", line 1767, in _select
sql_w = ' WHERE ' + self.expand(query) if query else ''
File "/home/meessen/mywap/web2py/gluon/dal.py", line 1544, in expand
out = op(first, second, **optional_args)
File "/home/meessen/mywap/web2py/gluon/dal.py", line 1382, in AND
return '(%s AND %s)' % (self.expand(first), self.expand(second))
File "/home/meessen/mywap/web2py/gluon/dal.py", line 1544, in expand
out = op(first, second, **optional_args)
File "/home/meessen/mywap/web2py/gluon/dal.py", line 1382, in AND
return '(%s AND %s)' % (self.expand(first), self.expand(second))
File "/home/meessen/mywap/web2py/gluon/dal.py", line 1544, in expand
out = op(first, second, **optional_args)
File "/home/meessen/mywap/web2py/gluon/dal.py", line 1440, in EQ
self.expand(second, first.type))
File "/home/meessen/mywap/web2py/gluon/dal.py", line 1555, in expand
return str(self.represent(expression, field_type))
File "/home/meessen/mywap/web2py/gluon/dal.py", line 2005, in represent
return str(long(obj))
ValueError: invalid literal for long() with base 10: '|2014|2014|'
LE GAC RenaudLE GAC Renaudhttps://gitlab.in2p3.fr/limbra/limbra/-/issues/20Errors while executing harvest_all2015-06-26T16:53:07+02:00MEESSEN ChristopheErrors while executing harvest_allWhile executing `harvest_all` using `web2py -d`, the following stacktraces were printed out on the console.
The Selector options were: 2014 -> 2015, no team, no project, mode:save in database, format:html
Bug present in production 0.8...While executing `harvest_all` using `web2py -d`, the following stacktraces were printed out on the console.
The Selector options were: 2014 -> 2015, no team, no project, mode:save in database, format:html
Bug present in production 0.8.10.
Traceback (most recent call last):
File "applications/track_publications/modules/harvest_tools.py", line 926, in process_url
self.decode_xml(xml)
File "applications/track_publications/modules/harvest_tools.py", line 973, in decode_xml
self.load_db(record)
File "applications/track_publications/modules/harvest_tools.py", line 1442, in load_db
publication_url=record.paper_url(),
File "applications/track_publications/modules/invenio_tools.py", line 2210, in paper_url
elif 'y' not in el and el['u'].endswith(pdf):
AttributeError: 'list' object has no attribute 'endswith'
LE GAC RenaudLE GAC Renaudhttps://gitlab.in2p3.fr/limbra/limbra/-/issues/26Modify the filter author used in the list generation2015-07-15T12:39:55+02:00LE GAC RenaudModify the filter author used in the list generation* It is possible to generate a list selecting an author
* In the current implementation, the author is search in the `publications.authors` field.
* This is wrong since we can have homonyms. The author has to be search in `publications.a...* It is possible to generate a list selecting an author
* In the current implementation, the author is search in the `publications.authors` field.
* This is wrong since we can have homonyms. The author has to be search in `publications.authors_institute`.
To be done:
* [x] modify the line 113 of `modules/reporting_tools`https://gitlab.in2p3.fr/limbra/limbra/-/issues/28python exception running harvesters2015-08-24T11:17:34+02:00LE GAC Renaudpython exception running harvestersPython exception appears when running harvester:
* LHCb > articles > 2015 (dev + pro)
* LHCb > proceeding > 2015 (only pro)
The exception are the following:
* `list` object has no attribute `endswith` (http://cds.cern.ch/record/201...Python exception appears when running harvester:
* LHCb > articles > 2015 (dev + pro)
* LHCb > proceeding > 2015 (only pro)
The exception are the following:
* `list` object has no attribute `endswith` (http://cds.cern.ch/record/2014733)
* crash: asci codec can't decode byte 0xc3 in position 5 (http://cds.cern.ch/record/2011505, many others)
* the action 'edit and insert` failed and returns no error message and no form. At least a pop up window with internal error should appear.https://gitlab.in2p3.fr/limbra/limbra/-/issues/41Error when formatting author name2015-10-24T12:50:21+02:00LE GAC RenaudError when formatting author name* Errors detected by using the record http://inspirehep.net/record/1278588
* First author is duplicate.
* The author `Lees, J.P.` is formatted as `J. Lees` instead of `J.-P. Lees`
* The authors are not formatted when using the wizard ...* Errors detected by using the record http://inspirehep.net/record/1278588
* First author is duplicate.
* The author `Lees, J.P.` is formatted as `J. Lees` instead of `J.-P. Lees`
* The authors are not formatted when using the wizard `edit and insert`https://gitlab.in2p3.fr/limbra/limbra/-/issues/43Article reject with invalid page number2015-11-11T12:13:51+01:00LE GAC RenaudArticle reject with invalid page number* The ACL on https://cds.cern.ch/record/1753190 is a published article for Atlas
* It is rejected by the harvesters as **non published paper**.
* This is probably due the page number which are not defined in `773c` and not well formatt...* The ACL on https://cds.cern.ch/record/1753190 is a published article for Atlas
* It is rejected by the harvesters as **non published paper**.
* This is probably due the page number which are not defined in `773c` and not well formatted in `773o`: `75:158` instead of `75-158`.
* This case has to be fixed by the `CheckAndFix` class.https://gitlab.in2p3.fr/limbra/limbra/-/issues/46Fail to extract list in CSV2015-11-28T17:12:03+01:00LE GAC RenaudFail to extract list in CSV* CPPM → list CRAC / 2015
* LPC CAEN → liste AERES 2014-2015* CPPM → list CRAC / 2015
* LPC CAEN → liste AERES 2014-2015https://gitlab.in2p3.fr/limbra/limbra/-/issues/47Wrong behavhiour in dashboard and graphs2015-11-28T17:59:56+01:00LE GAC RenaudWrong behavhiour in dashboard and graphs* The number of publications per year in the dashboard is not fine for ``track_publications`` (some incline line) when running in the production environment (check the version of matplotlib and pandas)
* The number of publications for t...* The number of publications per year in the dashboard is not fine for ``track_publications`` (some incline line) when running in the production environment (check the version of matplotlib and pandas)
* The number of publications for the current year, is not fine for ``track_publications_lpc_caen``. There is no publications recorded in 2015. The ``x`` axis label is wrong. It shows number instead of time.
* Graph is not renderer at ``track_publications_lpc_caen`` (see https://forge.in2p3.fr/boards/167/topics/1364)
* Crash with ``track_publications_cppm``. Protect `do_empty` line 42 against `year_start = ""` (`year_start = int(year_start)`).https://gitlab.in2p3.fr/limbra/limbra/-/issues/48harvester select proceeding for which there is no author of my lab2015-11-25T16:05:45+01:00LE GAC Renaudharvester select proceeding for which there is no author of my lab* Bug is related to `RecordInst.name` returning empty string.
* Modify the `RecordInst.rex`:
```
if len(self.name()) == 0:
tpl = (self.identifier(), self.future_identifier())
else:
tpl = (s...* Bug is related to `RecordInst.name` returning empty string.
* Modify the `RecordInst.rex`:
```
if len(self.name()) == 0:
tpl = (self.identifier(), self.future_identifier())
else:
tpl = (self.identifier(), self.future_identifier(), self.name())
return r"|".join(tpl)
```https://gitlab.in2p3.fr/limbra/limbra/-/issues/50Duplicate entry in the database table controllers2015-11-26T19:01:09+01:00LE GAC RenaudDuplicate entry in the database table controllers* Found in the LAPP database
* The pair (`controller`, `category`) should be unique.
* Add a requirement* Found in the LAPP database
* The pair (`controller`, `category`) should be unique.
* Add a requirementhttps://gitlab.in2p3.fr/limbra/limbra/-/issues/51Failed to run the Atlas / article harvester2015-11-26T16:19:24+01:00LE GAC RenaudFailed to run the Atlas / article harvester* Happen in the LAPP applications.
* The harvester Atlas / article exists and it is correct.
* The relation between team and project is also correct.
* The harvester is reject with the error message `Pas de moissonneurs pour votre sél...* Happen in the LAPP applications.
* The harvester Atlas / article exists and it is correct.
* The relation between team and project is also correct.
* The harvester is reject with the error message `Pas de moissonneurs pour votre sélection !!!`
* In that database there is several teams : `Physique des particules`, `Neutrinos`, ...
* The execution is rejected because the harvester controller receives the wrong paramters: teams is `neutrino` while the project is `Atlas`. In the harvester selector, there is two possibilities for the `Atlas` project: `neutrino` and `physique des particules`. This is wrong !!!
* I suspect that something is wrong in the javascript class `ComboBoxSlave`...https://gitlab.in2p3.fr/limbra/limbra/-/issues/58Acrobat reader rejects pdf file generated by the graph report2015-12-10T20:11:06+01:00LE GAC RenaudAcrobat reader rejects pdf file generated by the graph report* pdf files are nicely interpreted by `okular`
* Fail with `acrobat reader` on window.
* Other cases ?* pdf files are nicely interpreted by `okular`
* Fail with `acrobat reader` on window.
* Other cases ?https://gitlab.in2p3.fr/limbra/limbra/-/issues/59Separate the treatment for COM and ACTI in duplicate_conference2016-01-11T15:54:46+01:00LE GAC RenaudSeparate the treatment for COM and ACTI in duplicate_conferencehttps://gitlab.in2p3.fr/limbra/limbra/-/issues/60Publications with invalid oai have been found2016-01-18T16:53:25+01:00LE GAC RenaudPublications with invalid oai have been found* For article in `cds.cern.ch` the origin field contains an invalid OAI: `http:///record/1744757`
* The wrong AOI can be reproduce using the wizard `edit and insert` running the release 0.9.5
* The explanation is the following:
* ...* For article in `cds.cern.ch` the origin field contains an invalid OAI: `http:///record/1744757`
* The wrong AOI can be reproduce using the wizard `edit and insert` running the release 0.9.5
* The explanation is the following:
* These record have been harvest at a time where the syntax was not verify for field `origin`
* There is a bug in the wizard `edit and insert` since the method to repair oai is not applied while it is done in the harvesterhttps://gitlab.in2p3.fr/limbra/limbra/-/issues/61Run on a docker image2016-02-23T12:37:06+01:00LE GAC RenaudRun on a docker image## Status
Several issues appears when running the current version on a docker image.
* [x] The application failed in `commom_settings` due to the use of specific local language
* [x] The building of the javascript library/documenta...## Status
Several issues appears when running the current version on a docker image.
* [x] The application failed in `commom_settings` due to the use of specific local language
* [x] The building of the javascript library/documentation failed since the sencha/jsduck command are not found
* [x] The documentation of the API is not corrected
* [x] Javascript file `Trp/wizard/Harvest.js` is not found. The `track_publication` javascript library is not created. FIX: by defining absolute path in `build_version.py`.
* [x] List extraction in `odt` failed. Return an empty message labelled `Attention`. After that the database connection is not working any more. FIX: by removing teh virtual X11 server, by using the libreoffice-headless version instead of libreoffice, and by creating a HOME directory luanchin libreoffice command
## Local language
* the issue is in the `common_settings.py` file:
```
locale.setlocale(locale.LC_ALL, "fr_FR.UTF-8")
```
* In the docker image, the only language installed is `en-en`
* Other languages are not need, since web2py provides internationalization mechanism based on:
```
T.force("fr-fr")
T.set_current_languages('en', 'en-en')
T.current_languages
T.accepted_language
```
* The first two lines are used before the call to `local.setlocale...`
* Therefore the use of `locale...` is indeed not needed.
* Review the code to remove it.
## jsduck / sencha
* The path of these commands are hardcoded in the script `build_version.py`
* FIX: Use the command `which` to find the path on the host
## Sphinx
* The generation of the API failed using sphinx while it is working for the user guide.
* The issue is when generating the tree describing method and function (see `generated` directory)
* FIX: by changing the path to `web2py` in `docs/api/conf.py`https://gitlab.in2p3.fr/limbra/limbra/-/issues/66No conference date for inspirehep/14478462018-04-27T15:02:17+02:00LE GAC RenaudNo conference date for inspirehep/1447846* The Record http://inspirehep.net/record/1447846 is a proceeding for the Antares Collaboration.
* Reject by harvester (no conference date)
* Same pattern of error when using "edit and insert"* The Record http://inspirehep.net/record/1447846 is a proceeding for the Antares Collaboration.
* Reject by harvester (no conference date)
* Same pattern of error when using "edit and insert"