Open GoogleCodeExporter opened 9 years ago
What version of Python are you using? Sounds like it doesn't like the "with"
statement. Only versions 2.5 - 2.7 are supported.
Original comment by tom.h.mi...@gmail.com
on 18 Mar 2011 at 12:44
Ok, I've installed it and for some reason I cant get the actuall program to run
via python26 instead of python. < That's how I installed it (python26 setup.py
install).
[root@infinity ~]# google youtube post --category Entertainment --tags "air
crash investigation full free hd hdtv 720p 1080p real aerocrash money earn
online gift prize widescreen airport car definition hack landing vertigo HDTV
x264 manchester runway disaster british airtours flight 28M" --summary "TBE (to
be edited)" --title "Air Crash Investigation - Manchester Runway Disaster -
British Airtours Flight 28M - 720p HDTV"
~/humza/distribution/lost_for_filenames.mp4
Traceback (most recent call last):
File "/usr/bin/google", line 839, in <module>
main()
File "/usr/bin/google", line 825, in main
run_once(options, args)
File "/usr/bin/google", line 530, in run_once
options.config)
File "/usr/bin/google", line 366, in import_service
service_module = import_at_runtime('googlecl.' + service + '.service')
File "/usr/bin/google", line 323, in import_at_runtime
return __import__(module, globals(), fromlist=['0'])
File "/usr/lib/python2.6/site-packages/googlecl/youtube/service.py", line 20, in <module>
import gdata.youtube
ImportError: No module named gdata.youtube
[root@infinity ~]#
Original comment by aerocr...@infinitymedia.org.uk
on 18 Mar 2011 at 9:25
You also need to install the gdata library from here:
http://code.google.com/p/gdata-python-client/downloads/list
Then, assuming you're using googlecl 0.9.13, you'll have to make the directory
~/.local/share/googlecl (see Issue 352). Then you should be good to go!
Original comment by tom.h.mi...@gmail.com
on 19 Mar 2011 at 2:30
I think i have installed googlecl.
Original comment by aerocr...@infinitymedia.org.uk
on 19 Mar 2011 at 2:31
Ok, so I've got it working but there is another error:
[root@infinity gdata-2.0.14]# cd
[root@infinity ~]# google youtube post --category Entertainment --tags "air
crash investigation full free hd hdtv 720p 1080p real aerocrash money earn
online gift prize widescreen airport car definition hack landing vertigo HDTV
x264 manchester runway disaster british airtours flight 28M" --summary "TBE (to
be edited)" --title "Air Crash Investigation - Manchester Runway Disaster -
British Airtours Flight 28M - 720p HDTV"
~/humza/distribution/lost_for_filenames.mp4
Please specify user: aerocrasher
Traceback (most recent call last):
File "/usr/bin/google", line 839, in <module>
main()
File "/usr/bin/google", line 825, in main
run_once(options, args)
File "/usr/bin/google", line 572, in run_once
googlecl.write_devkey(options.devkey)
File "/usr/lib/python2.6/site-packages/googlecl/__init__.py", line 266, in write_devkey
with open(key_path, 'w') as key_file:
IOError: [Errno 2] No such file or directory:
'/root/.local/share/googlecl/yt_devkey'
Original comment by aerocr...@infinitymedia.org.uk
on 19 Mar 2011 at 5:00
Did you make the directory "~/.local/share/googlecl"? In your case, that would
be "/root/.local/share/googlecl"
As a side note, it's considered bad practice to run something like GoogleCL as
root / superuser. I would recommend using GoogleCL from a different user
account.
Original comment by tom.h.mi...@gmail.com
on 19 Mar 2011 at 5:34
Ok, ill try, and why shouldnt i use the root account?
Original comment by aerocr...@infinitymedia.org.uk
on 19 Mar 2011 at 5:35
I keep running in to dead ends: I am stuck, a video will describe a bit better:
http://www.youtube.com/watch?v=R8QSgV5Ds9Y
Original comment by aerocr...@infinitymedia.org.uk
on 20 Mar 2011 at 4:47
[deleted comment]
I think some of the services require an encrypted connection. Can you upgrade
your browser, or use one with SSL support?
Or, it looks like you're SSH'ing into another machine. You should be able to
obtain an authentication token from one machine, then transfer it to another.
Google should still honor that token.
Original comment by tom.h.mi...@gmail.com
on 1 Apr 2011 at 1:42
I had to mkdir ~/.local/share/googlecl
Sounds like this should be done automatically. If I fork and patch, would you
take the pull request?
Original comment by wer...@beroux.com
on 11 Sep 2014 at 7:20
Original issue reported on code.google.com by
aerocr...@infinitymedia.org.uk
on 17 Mar 2011 at 9:18