wintermute123 / youtube-upload

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

progress bar is not showen #98

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
= Versions

youtube-upload:0.7.1
python:2.7
python-gdata:2.0.17

= Describe the steps (including the command you run) that will reproduce
the problem?

the video is being uploaded and no problems. But i can't see the progress bar. 
I downloaded the python prgressbar 2.3 and installed it using the command 
`python2.7 setup.py install` and installed correctly. I retried to upload the 
video and no progress bar is shown.

I am getting this result when I run the upload and no debug "Install 
python-progressbar to see a nice progress bar" as shown in the code and must 
appear if I dont have the progress bar module while the "Install pycurl to 
upload the video using HTTP" is being shown:

Install pycurl to upload the video using HTTP
Start upload using basic gdata API: 
file.mp4

I want to see the progress bar because it seems this script is taking more time 
than if upload it directly from the site?

Thanks for ur help

Original issue reported on code.google.com by test.for...@gmail.com on 12 Mar 2013 at 8:51

GoogleCodeExporter commented 8 years ago
I also tried the 0.7.2 Youtube_upload version and the same

Original comment by test.for...@gmail.com on 12 Mar 2013 at 8:52

GoogleCodeExporter commented 8 years ago
You also need pycurl to see the progressbar. Make sure this works:

$ python2 -c "import pycurl; import progressbar"

(Change "python2" as required)

Original comment by tokland on 12 Mar 2013 at 1:37

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
root@localhost pycurl-7.19.0]# python2.7 setup.py install
sh: curl-config: command not found
Traceback (most recent call last):
  File "setup.py", line 90, in <module>
    raise Exception, ("`%s' not found -- please install the libcurl development files" % CURL_CONFIG)
Exception: `curl-config' not found -- please install the libcurl development 
files

I spend lot of time searching how to install the dependency libcurl for the 
pycurl on centos 5.8 but no results.

I know it is not your role but can you help me

Original comment by test.for...@gmail.com on 12 Mar 2013 at 6:49

GoogleCodeExporter commented 8 years ago
I'd be glad to offer more help, but unfortunately I have zero experience with 
Centos (Debian, Ubuntu, Archlinux, there I could help). It says "please install 
the libcurl development files", I guess "yum install libcurl-devel" should do 
it, but I really don't know.

I found this:

http://stackoverflow.com/questions/2684224/installing-pycurl-on-centos

If you keep having problems try here:

http://www.centos.org/modules/newbb/index.php?cat=8

Good luck.

Original comment by tokland on 12 Mar 2013 at 7:37

GoogleCodeExporter commented 8 years ago

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