lucasdavila86 / googlecl

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

ImportError: No module named gdata.service on upload to YT #98

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.install google cl (tar ball)
2.run: google youtube post --category Education 
sweethome3dsetyourpreferences.ogv.flv 

3.

What is the expected output? What do you see instead?
upload .flv to youtube

What version of the product are you using? On what operating system?

[user@tc4400 Desktop]$ uname -r
2.6.32.14-127.fc12.i686
[user@tc4400 Desktop]$ rpm -qa *python
cracklib-python-2.8.13-6.i686
setools-libs-python-3.3.6-4.fc12.i686
libvirt-python-0.7.1-16.fc12.i686
libuser-python-0.56.13-1.fc12.i686
policycoreutils-python-2.0.82-4.fc12.i686
python-2.6.2-4.fc12.i686
newt-python-0.52.11-1.fc12.i686
libproxy-python-0.2.3-12.fc12.i686
abrt-addon-python-1.0.9-2.fc12.i686
dbus-python-0.83.0-6.fc12.i686
diveintopython-5.4-16.fc12.noarch
libxml2-python-2.7.6-2.fc12.i686
gtk-vnc-python-0.3.10-3.fc12.i686
gstreamer-python-0.10.16-1.fc12.i686
xulrunner-python-1.9.1.9-1.fc12.i686
libbdevid-python-6.0.93-1.fc12.i686
libsemanage-python-2.0.45-1.fc12.i686
xapian-bindings-python-1.0.20-1.fc12.i686
audit-libs-python-2.0.4-1.fc12.i686
notify-python-0.1.1-8.fc12.i686
rpm-python-4.7.2-1.fc12.i686
hippo-canvas-python-0.3.0-6.fc12.i686
libselinux-python-2.0.90-5.fc12.i686
at-spi-python-1.28.1-1.fc12.i686
[user@tc4400 Desktop]$ rpm -qa *google
[user@tc4400 Desktop]$ rpm -qa google*

Please provide any additional information below.
[user@tc4400 Desktop]$ google youtube post --category Education 
sweethome3dsetyourpreferences.ogv.flv 
Traceback (most recent call last):
  File "/usr/bin/google", line 448, in <module>
    main()
  File "/usr/bin/google", line 426, in main
    parser = setup_parser()
  File "/usr/bin/google", line 364, in setup_parser
    globals(), locals(), -1)
  File "/usr/lib/python2.6/site-packages/googlecl/picasa/service.py", line 25, in <module>
    import googlecl.service
  File "/usr/lib/python2.6/site-packages/googlecl/service.py", line 20, in <module>
    import gdata.service
ImportError: No module named gdata.service

Original issue reported on code.google.com by dennisgd...@gmail.com on 20 Jun 2010 at 8:04

GoogleCodeExporter commented 9 years ago
You also need the gdata Python libraries.

I prefer to use pip (or easy_install) to install Python packages from PyPI:
$ pip install pythoncl gdata

It would probably be useful for pythoncl's setup.py to have a line like
    install_requires = ['gdata']

Original comment by F...@gmx.net on 20 Jun 2010 at 8:35

GoogleCodeExporter commented 9 years ago
Yes, the install_requires line went missing, but has been patched. Sorry for 
the confusion.

I'll mark this Fixed, since the install_requires line for setup.py is now in 
the repository.

Original comment by tom.h.mi...@gmail.com on 22 Jun 2010 at 4:56

GoogleCodeExporter commented 9 years ago
I'm getting the same error and I don't see an install_required line in my 
setup.py

googlecl-0.9.7$ sudo grep install_required *
googlecl-0.9.7$

Doing the homedir install works.

Original comment by l...@google.com on 22 Jun 2010 at 9:49