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/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/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 Renaud