davidlinesq / googlecl

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

Extensions must be present and must be at least 2 characters long #431

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hello,

It affects docs but maybe other modules.

What steps will reproduce the problem?
1. touch /tmp/try
2. google docs upload --src /tmp/try --title 'try'
Traceback (most recent call last):
  File "/usr/bin/google", line 849, in <module>
    main()
  File "/usr/bin/google", line 835, in main
    run_once(options, args)
  File "/usr/bin/google", line 633, in run_once
    raise run_error
AttributeError: 'NoneType' object has no attribute 'upper'

1. touch /tmp/try.xx
2. google docs upload --src /tmp/try.xx --title 'try'
No supported filetype found for extension xx
Loading /tmp/try.xx
Upload success! Direct link: xxxxxxxxxxxxxxxxxxx

Versions?
GoogleCL 0.9.13
Gdata 2.0.14
Linux gentoo 3.0.0-gentoo #1 SMP PREEMPT 

locale
LANG=fr_FR.UTF-8
LC_CTYPE="fr_FR.UTF-8"
LC_NUMERIC="fr_FR.UTF-8"
LC_TIME="fr_FR.UTF-8"
LC_COLLATE="fr_FR.UTF-8"
LC_MONETARY="fr_FR.UTF-8"
LC_MESSAGES="fr_FR.UTF-8"
LC_PAPER="fr_FR.UTF-8"
LC_NAME="fr_FR.UTF-8"
LC_ADDRESS="fr_FR.UTF-8"
LC_TELEPHONE="fr_FR.UTF-8"
LC_MEASUREMENT="fr_FR.UTF-8"
LC_IDENTIFICATION="fr_FR.UTF-8"
LC_ALL=

Maybe linked to Issue 306

Best regards.

Amaury

Original issue reported on code.google.com by amaury.d...@gmail.com on 11 Oct 2011 at 6:10

GoogleCodeExporter commented 9 years ago

Original comment by szy...@endpoint.com on 29 Dec 2012 at 9:18