make update problem

Neal Becker ndbecker2 at gmail.com
Fri Sep 19 12:26:17 UTC 2008


Neal Becker wrote:

> When editor opens, all I do is add a line:
> type=E
> 
> which seems to be what the comments in the template call for, then:
> 
> make update
> Traceback (most recent call last):
>   File "/usr/bin/bodhi", line 313, in <module>
>     main()
>   File "/usr/bin/bodhi", line 134, in main
>     updates = bodhi.parse_file(input_file=opts.input_file)
>   File "/usr/lib/python2.5/site-packages/fedora/client/bodhi.py", line
>   268, in parse_file
>     config.readfp(template_file)
>   File "/usr/lib/python2.5/site-packages/iniparse/compat.py", line 106, in
>   readfp
>     self.data.readfp(fp)
>   File "/usr/lib/python2.5/site-packages/iniparse/ini.py", line 501, in
>   readfp
>     raise MissingSectionHeaderError(fname, linecount, line)
> ConfigParser.MissingSectionHeaderError: File contains no section headers.
> file: bodhi.template, line: 6
> 'type=E\n'
> 
If I try this:
---------------------
[ igraph-0.5-14.fc9 ]
type=E
--------------------

Then I get:
call last):
  File "/usr/bin/bodhi", line 313, in <module>
    main()
  File "/usr/bin/bodhi", line 134, in main
    updates = bodhi.parse_file(input_file=opts.input_file)
  File "/usr/lib/python2.5/site-packages/fedora/client/bodhi.py", line 280, in parse_file
    update['stable_karma'] = config.getint(section, 'stable_karma')
  File "/usr/lib/python2.5/site-packages/iniparse/compat.py", line 128, in getint
    return int(self.get(section, option))
  File "/usr/lib/python2.5/site-packages/iniparse/compat.py", line 224, in get
    return self._interpolate(section, option, value, d)
  File "/usr/lib/python2.5/site-packages/iniparse/compat.py", line 232, in _interpolate
    if "%(" in value:
TypeError: argument of type 'int' is not iterable





More information about the fedora-devel-list mailing list