anasAsh / googlecl

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

ImportError: No module named expat #227

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
hi there

i'm just start to use googlecl and it seems that everytime i run a command 
there would be the same error, except for the "help" command.

the error seems like this:

E:\googlecl\build\scripts-2.7>google docs list
Traceback (most recent call last):
  File "google", line 536, in <module>
    main()
  File "google", line 530, in main
    run_once(options, args)
  File "google", line 371, in run_once
    token_valid = client.IsTokenValid()
  File "googlecl\docs\service.pyo", line 256, in is_token_valid
  File "googlecl\service.pyo", line 257, in is_token_valid
  File "gdata\service.pyo", line 1077, in Get
  File "gdata\__init__.pyo", line 465, in GDataFeedFromString
  File "atom\__init__.pyo", line 93, in optional_warn_function
  File "atom\__init__.pyo", line 127, in CreateClassFromXMLString
  File "xml\etree\ElementTree.pyo", line 962, in XML
  File "xml\etree\ElementTree.pyo", line 1118, in __init__
ImportError: No module named expat; use SimpleXMLTreeBuilder instead

my OS is WinXP and i tried both googlecl0.9.8 for windows and googlecl0.9.8 
source( compiled by python2.7 fow windows ).

so ... anyone can help?

THANKS A LOT

Original issue reported on code.google.com by fnems....@gmail.com on 16 Jul 2010 at 3:15

GoogleCodeExporter commented 9 years ago
I would have expected the windows-specific one to work, but maybe it still 
pulls libraries from your Python installation...

We only tested with python 2.5 and 2.6, so try installing either of those. And 
please let me know if that solves the problem for the windows-specific package 
as well. Thanks!

Original comment by tom.h.mi...@gmail.com on 16 Jul 2010 at 12:02

GoogleCodeExporter commented 9 years ago
well, yea, i found out that i've made a mistake,

to use the compiled googlecl, i should type in a command like this:
  >python google XXX XXX

and when i type:
  E:\googlecl\build\scripts-2.7>google docs list
it was actually the googlecl for windows edition running, not the compiled one.
(because the compiled "google" file is still a script, instead of a PE file)

the compiled googlecl works fine with python 2.6

thank you for answering, tom.h.mi :-)

Original comment by fnems....@gmail.com on 16 Jul 2010 at 2:07

GoogleCodeExporter commented 9 years ago
Ahhhh, ok. I'll update interactive mode to prevent that kind of thing from 
happening.

Original comment by tom.h.mi...@gmail.com on 16 Jul 2010 at 2:20

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

Original comment by tom.h.mi...@gmail.com on 20 Jul 2010 at 3:20