dkm / python-vimeo

Python module for using Vimeo's API v2
http://www.kataplop.net/pub/projets/python
58 stars 10 forks source link

ConfigParser.NoSectionError: No section: 'appli' #2

Closed markon closed 13 years ago

markon commented 13 years ago

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")

:)

dkm commented 13 years ago

thanks, fixed in fa728c5de0bdf6f3fbde0556ddf2f7e5c40ede31 !