Re: make update problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux