Hello Invenio team,

I decided to fetch the latest master from git (there were a few changes during the last few days regarding author handling and i wanted to check them out), and followed the usual procedure. I noted that there were a few changes/additions in the Makefile regarding the database since my last fetch/build, so I applied these line by line. So far, so good. But when i tried to run update-config-py, i got a warning about CFG_BATCHUPLOADER_WEB_ROBOT_AGENT that had to be renamed to CFG_BATCHUPLOADER_WEB_ROBOT_AGENTS (fixed it), and then the following error:

# inveniocfg --update-config-py
>>> Going to update config.py...
Traceback (most recent call last):
  File "/opt/invenio/bin/inveniocfg", line 33, in <module>
    main()
File "/usr/lib64/python2.6/site-packages/invenio/inveniocfg.py", line 1320, in main
    cli_cmd_update_config_py(conf)
File "/usr/lib64/python2.6/site-packages/invenio/inveniocfg.py", line 259, in cli_cmd_update_config_py
    line_out = convert_conf_option(option, conf.get(section, option))
File "/usr/lib64/python2.6/site-packages/invenio/inveniocfg.py", line 146, in convert_conf_option
    option_value = option_value[1:-1]
TypeError: 'int' object is unsubscriptable

Is this a bug, or is it related to my variables in the invenio-local.conf?

Best regards,
Theodoros

Reply via email to