KipgenNeo / youtube-upload

Automatically exported from code.google.com/p/youtube-upload
1 stars 0 forks source link

Exception when there's no description provided #137

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
= Versions

youtube-upload: 0.7.2
python: 2.7.6
python-gdata: 2.0.18

= Describe the steps (including the command you run) that will reproduce
the problem?

Don't specify a -d parameter

Traceback (most recent call last):
  File "/usr/bin/youtube-upload", line 512, in <module>
    sys.exit(catch_exceptions(EXIT_CODES, main, sys.argv[1:]))
  File "/usr/bin/youtube-upload", line 111, in catch_exceptions
    fun(*args, **kwargs)
  File "/usr/bin/youtube-upload", line 509, in main
    run_main(parser, options, args)
  File "/usr/bin/youtube-upload", line 444, in run_main
    url = upload_video(youtube, options, video_path, len(args), index)
  File "/usr/bin/youtube-upload", line 337, in upload_video
    description = to_utf8(options.description).decode("string-escape")
AttributeError: 'NoneType' object has no attribute 'decode'

Original issue reported on code.google.com by neik...@gmail.com on 3 Mar 2014 at 10:23

GoogleCodeExporter commented 9 years ago
This is fixed in 0.7.3

Original comment by tokland on 3 Mar 2014 at 4:07

GoogleCodeExporter commented 9 years ago

Original comment by tokland on 13 May 2014 at 8:32