salimoha / googlecl

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

IOError: [Errno 21] Is a directory: './config' (patch attached) #252

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. mkdir config
2. google

What is the expected output?
googlecl help page

What do you see instead?
Traceback (most recent call last):
  File "/usr/bin/google", line 636, in <module>
    main()
  File "/usr/bin/google", line 622, in main
    if not googlecl.load_preferences(options.config):
  File "/usr/lib/python2.6/site-packages/googlecl/__init__.py", line 250, in load_preferences
    with open(path, 'w') as config_file:
IOError: [Errno 21] Is a directory: '/home/matthew/config'

What version of the product are you using?
372

On what operating system?
Arch Linux
$ uname -a
Linux laptop 2.6.34-ARCH #1 SMP PREEMPT Wed Aug 4 14:27:43 CEST 2010 i686 
Intel(R) Core(TM)2 Duo CPU T6500 @ 2.10GHz GenuineIntel GNU/Linux

What version of gdata-python-client (aka python-gdata)?
2.0.10

Please provide any additional information below.
Fix for this bug is attached.

Original issue reported on code.google.com by mjbauer95 on 11 Aug 2010 at 7:03

Attachments:

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r389.

Original comment by tom.h.mi...@gmail.com on 28 Aug 2010 at 6:45