migscabral / gdatacopier

Automatically exported from code.google.com/p/gdatacopier
0 stars 0 forks source link

Presentations: file extension not defined #25

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. have at least one presentation in your google docs
2. export all file types

What is the expected output? What do you see instead?
expected: export of presentation
result:
Traceback (most recent call last):
  File "./gdatacopier-2.0/gcp.py", line 417, in <module>
    main()
  File "./gdatacopier-2.0/gcp.py", line 413, in main
    parse_user_input()          # Check to see we have the right options or exit
  File "./gdatacopier-2.0/gcp.py", line 395, in parse_user_input
    export_documents(document_source, document_target, options)
  File "./gdatacopier-2.0/gcp.py", line 205, in export_documents
    sanatize_filename(entry.title.text.encode('UTF-8')) + "." + export_extension
TypeError: cannot concatenate 'str' and 'NoneType' objects

What version of the product are you using? On what operating system?
2.0 beta 1
Snow Leopard 10.6.1

Please provide any additional information below.

Original issue reported on code.google.com by gerd.cas...@googlemail.com on 20 Sep 2009 at 8:51

GoogleCodeExporter commented 9 years ago
As a workaround I downloaded filetypes seperately.

downloading sheets with extension ods produces the same error. Extension pdf is 
a workaround.

Original comment by gerd.cas...@googlemail.com on 20 Sep 2009 at 9:12

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
I believe this is because the check for an invalid file name was before the 
construction of the export file name. I 
have fixed this in the currently subversion commit and this will make it to 
beta2.

Original comment by devraj on 20 Sep 2009 at 11:08

GoogleCodeExporter commented 9 years ago
Please note that this issue might be effecting this feature as well

Original comment by devraj on 21 Sep 2009 at 12:43

GoogleCodeExporter commented 9 years ago
Pushed into subversion for next release

Original comment by devraj on 22 Sep 2009 at 11:33