KipgenNeo / youtube-upload

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

Progress bar not working #79

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
= Versions

youtube-upload:0.7.1
python:2.6.6
python-gdata:2.0.8-1.1

Have the "python-progressbar" package installed.
Start a upload.
The progress bar does not update.

Original issue reported on code.google.com by jacksmoo...@gmail.com on 13 Aug 2012 at 9:22

GoogleCodeExporter commented 9 years ago
Progress bar looks like this

0% | | ETA:  --:--:--   0.00 B/s

Original comment by jacksmoo...@gmail.com on 13 Aug 2012 at 9:22

GoogleCodeExporter commented 9 years ago
I just tested an upload, the progress bar works fine.

Start upload using a HTTP post: a.avi
100% |###############################################| Time: 0:00:06  15.76 kB/

python2 2.7.3-2
python2-progressbar 2.3-3

does the video get uploaded?

Original comment by tokland on 14 Aug 2012 at 5:09

GoogleCodeExporter commented 9 years ago
I uploaded the video using the Google API after that. Otherwise it worked fine.

Original comment by jacksmoo...@gmail.com on 14 Aug 2012 at 5:23

GoogleCodeExporter commented 9 years ago
I really don't know, try (if you can) with those python/pb versions, for now I 
close the issue, reopen if you have new info.

Original comment by tokland on 14 Aug 2012 at 5:26

GoogleCodeExporter commented 9 years ago
I am running Debian Squeeze python-progressbar version is 2.2-2

Original comment by jacksmoo...@gmail.com on 14 Aug 2012 at 5:28

GoogleCodeExporter commented 9 years ago
Uhmm, it could be that. Or a problem with curl that makes the upload to never 
start (so the bar keeps at its initial state). If you know some python you can 
throw some prints in the function "post" to see what's going on.

Original comment by tokland on 14 Aug 2012 at 5:31

GoogleCodeExporter commented 9 years ago
It uploads correctly. It's just the progressbar never updates. I will try some 
stuff at the print function now.

Original comment by jacksmoo...@gmail.com on 14 Aug 2012 at 5:33

GoogleCodeExporter commented 9 years ago
Added some prints I added one at the start of the function. It print's so 
that's good.

Original comment by jacksmoo...@gmail.com on 14 Aug 2012 at 5:35

GoogleCodeExporter commented 9 years ago
EDIT:
Sorry for grave-digging.
After upgrading some packages related to python the progress bar is fixed.

Original comment by jacksmoo...@gmail.com on 2 Sep 2012 at 7:46

GoogleCodeExporter commented 9 years ago
great, closing then

Original comment by tokland on 2 Sep 2012 at 7:50

GoogleCodeExporter commented 9 years ago

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