Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

better handling NoSectionError in db/sqla/session #641

Closed
vingar opened this issue Feb 12, 2018 · 0 comments
Closed

better handling NoSectionError in db/sqla/session #641

vingar opened this issue Feb 12, 2018 · 0 comments
Assignees
Milestone

Comments

@vingar
Copy link
Contributor

vingar commented Feb 12, 2018

Motivation

File "/home/docs/checkouts/readthedocs.org/user_builds/rucio-blueprint/envs/latest/local/lib/python2.7/site-packages/rucio-1.14.8-py2.7.egg/rucio/db/sqla/session.py", line 51, in
DEFAULT_SCHEMA_NAME = config_get(DATABASE_SECTION, 'schema')
File "/home/docs/checkouts/readthedocs.org/user_builds/rucio-blueprint/envs/latest/local/lib/python2.7/site-packages/rucio-1.14.8-py2.7.egg/rucio/common/config.py", line 32, in config_get
return __CONFIG.get(section, option)
File "/usr/lib/python2.7/ConfigParser.py", line 607, in get
raise NoSectionError(section)
NoSectionError: No section: 'database'
Modification

@vingar vingar added this to the 1.14.10 milestone Feb 12, 2018
@vingar vingar self-assigned this Feb 12, 2018
bari12 added a commit that referenced this issue Feb 16, 2018
…onError_in_db_sqla_session

core: better handling NoSectionError in db/sqla/session #641
bari12 added a commit that referenced this issue Feb 16, 2018
…onError_in_db_sqla_session

core: better handling NoSectionError in db/sqla/session #641
@bari12 bari12 closed this as completed in b020368 Feb 16, 2018
@bari12 bari12 modified the milestones: 1.14.12, 1.15.0 Feb 26, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants