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

Commit causes crash: The 'build-jobs' config option should be an integer #372

jberry-suse opened this issue Jan 24, 2018 · 2 comments


Copy link

@jberry-suse jberry-suse commented Jan 24, 2018


Traceback (most recent call last):
  File "./", line 41, in <module>
    r =
  File "/home/jberry/osc/osc/", line 61, in run
    return prg.main(argv)
  File "/home/jberry/osc/osc/", line 336, in main
  File "/home/jberry/osc/osc/", line 138, in postoptparse
    override_verbose = self.options.verbose)
  File "/home/jberry/osc/osc/", line 856, in get_config
    config[opt] = meth('general', opt)
  File "/usr/lib64/python2.7/", line 359, in getint
    return self._get(section, int, option)
  File "/usr/lib64/python2.7/", line 356, in _get
    return conv(self.get(section, option))
  File "/usr/lib64/python2.7/", line 623, in get
    return self._interpolate(section, option, value, d)
  File "/usr/lib64/python2.7/", line 691, in _interpolate
    self._interpolate_some(option, L, rawval, section, vars, 1)
  File "/usr/lib64/python2.7/", line 700, in _interpolate_some
    p = rest.find("%")
AttributeError: 'int' object has no attribute 'find

Blocks our CI as well


This comment has been minimized.

Copy link

@jberry-suse jberry-suse commented Jan 24, 2018

Would likely be a good idea to add a test that just invoked osc directly to pick up any initialization errors.

@marcus-h marcus-h closed this in d0213c6 Jan 24, 2018

This comment has been minimized.

Copy link

@marcus-h marcus-h commented Jan 24, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.