dkm/python-vimeo — Issue #2: ConfigParser.NoSectionError: No section: 'appli'
Author: markon
Created: 2011-10-12 10:00:57+00:00
State: open

If you try to run vimeo-uploadv2.py, you'll get this error :

Traceback (most recent call last):
File "vimeo-uploadv2.py", line 128, in
main(sys.argv)
File "vimeo-uploadv2.py", line 64, in main
vconfig = vimeo.config.VimeoConfig(options)
File "C:\Marco\Documenti\API\vimeo\config.py", line 43, in __init__
self.set("appli", "consumer_key", options.key)
File "C:\Python27\lib\ConfigParser.py", line 388, in set
raise NoSectionError(section)
ConfigParser.NoSectionError: No section: 'appli'

To fix it, add these two lines in the file vimeo/config.py, before than "if options.key":
self.add_section("appli")
self.add_section("auth")

:)