limbra issueshttps://gitlab.in2p3.fr/limbra/limbra/-/issues2015-07-15T12:39:55+02:00https://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/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/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/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/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/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/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 Christophe