limbra issueshttps://gitlab.in2p3.fr/limbra/limbra/-/issues2015-12-10T17:48:47+01:00https://gitlab.in2p3.fr/limbra/limbra/-/issues/56Install sencha cmd on the server2015-12-10T17:48:47+01:00LE GAC RenaudInstall sencha cmd on the server* This will be require to generate the compressed version of the private javascript library for track_publications.* This will be require to generate the compressed version of the private javascript library for track_publications.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/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 Renaud