KipgenNeo / youtube-upload

Automatically exported from code.google.com/p/youtube-upload
1 stars 0 forks source link

Can't use Python 2.6 or 'pycurl' in Plesk 8.6 #65

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Describe the steps that will reproduce the problem?

1. Enter command, options and path to video
2. Error returned: "Install pycurl to upload the video using HTTP
<br>Start upload using basic gdata API: TEST_mr_bean_christmas.mp4"
3.

Versions:

youtube-upload: 0.7

python:         2.4.3 but was able to install 2.6.5 but is listed as python26

python-gdata:   2.0.11

Please provide any additional information you deem to be useful:

I am using this on a VPS Plesk 8.6 CentOS 5.5. The application is not accessing 
python 2.6 (python26) natively but will break Plesk 8.6 if used. I am not very 
good at programming but where would I code to change the calls from 'python' to 
'python26' within youtube-upload?

Additionally, 'pycurl' is named 'python-pycurl'. I would need the placement to 
change the call for this, too.

Original issue reported on code.google.com by brucewol...@gmail.com on 27 Dec 2011 at 7:58

GoogleCodeExporter commented 9 years ago
I reinstalled youtube-upload using 'python26'. 
Seems that it will use python 2.6 now, yes?

>>>Now, how to get 'pycurl' to point to 'python-pycurl' as that is the CentOS 
package name. 

Here is the install flow using 'python26':

youtube-upload]# python26 setup.py install
running install
running build
running build_py
running build_scripts
running install_lib
running install_scripts
changing mode of /usr/bin/youtube-upload to 755
running install_egg_info
Removing /usr/lib/python2.6/site-packages/youtube_upload-0.7-py2.6.egg-info
Writing /usr/lib/python2.6/site-packages/youtube_upload-0.7-py2.6.egg-info

Original comment by brucewol...@gmail.com on 27 Dec 2011 at 8:23

GoogleCodeExporter commented 9 years ago
yes, it should work in any python 2.6. Does it work now?

Original comment by tokland on 27 Dec 2011 at 1:37

GoogleCodeExporter commented 9 years ago
Thanx. How can I tell if it is accessing 2.6? Is it coded to point to it if it 
exists under 'python26'?

Also, what about 'pycurl' so I can get the progress bar working? In CentOS 5.5, 
it's listed as 'python-pycurl' but I don't think it's compiled under that name. 
In any case it is installed and is not being recognized.
Thanx for the quick reply.

Original comment by brucewol...@gmail.com on 27 Dec 2011 at 7:13

GoogleCodeExporter commented 9 years ago
to know what python are you using, youtube-upload points to /usr/bin/python2, 
so: /usr/bin/python2 --version

pycurl: I have zero experience with CentOS. Check in google:

http://www.google.es/search?sourceid=chrome&ie=UTF-8&q=CentOS+pycurl

Original comment by tokland on 27 Dec 2011 at 11:14

GoogleCodeExporter commented 9 years ago

Original comment by tokland on 13 May 2014 at 2:55