bernigaud / googlecl

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

blogger post works from command line but breaks from interactive mode #19

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
$ google blogger post --tags "GoogleCL, awesome" --title "Test Post" "I'm
posting from the command line"
Please specify blog: myblog
$ google
> post --title "deleteme" "please delete"    
Traceback (most recent call last):
  File "/usr/bin/google", line 306, in <module>
    main()
  File "/usr/bin/google", line 292, in main
    run_interactive(parser)
  File "/usr/bin/google", line 138, in run_interactive
    run_once(options, args)
  File "/usr/bin/google", line 171, in run_once
    globals(), locals(), -1)
ImportError: No module named post.service

Original issue reported on code.google.com by credenti...@gmail.com on 6 Jun 2010 at 2:59

GoogleCodeExporter commented 9 years ago
The problem is it's looking for a service called post - it doesn't set it to 
blogger 
automatically. I'll add a better error message.

Original comment by tom.h.mi...@gmail.com on 7 Jun 2010 at 7:23

GoogleCodeExporter commented 9 years ago
r152 adds a try block that prints the available services when a service module 
is not imported.

Original comment by tom.h.mi...@gmail.com on 7 Jun 2010 at 7:55