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

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

Comments

@jberry-suse
Copy link

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

1a92c8b

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

Blocks our CI as well https://travis-ci.org/openSUSE/osc-plugin-factory/jobs/332665417.

@jberry-suse

This comment has been minimized.

Copy link
Author

@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
@marcus-h

This comment has been minimized.

Copy link
Member

@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
Projects
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.