Tuesday, 2015-01-20

*** tpb has joined #timvideos00:00
*** tija has joined #timvideos00:53
* CarlFK rages at youtube lack of error handling 00:56
CarlFKLeeS: did you write a youtube uploader?00:59
CarlFKsomeone did, wondering how they handle this:00:59
techman83I wrote one, but it's rudimentary and in perl01:00
techman83and requires a monkey patched version of LWP::Authen::Oauth201:00
tpbTitle: veyepar/youtube_v3_uploader.py at master · CarlFK/veyepar · GitHub (at github.com)01:00
CarlFK  return build(YOUTUBE_API_SERVICE_NAME, YOUTUBE_API_VERSION,                                    http=credentials.authorize(httplib2.Http()))01:01
techman83(now that I'm a maintainer for LWP::Authen::Oauth2 I should fix that)01:01
CarlFKwhich calls into some code supplied by google (I guess)01:01
CarlFK  File "/usr/lib/python2.7/httplib.py", line 1033, in getresponse01:01
CarlFK    raise ResponseNotReady()01:01
*** tvCommitBot has joined #timvideos01:02
tvCommitBot[gst-switch] mithro closed pull request #171: Fix lint - indentation (master...indent_fix) http://git.io/8_Mw3w01:02
*** tvCommitBot has left #timvideos01:02
tpbTitle: Ubuntu Pastebin (at paste.ubuntu.com)01:02
CarlFKtechman83: how did you handle ... ummm... stuff like that?01:03
techman83Still absorbing my coffee01:03
techman83But I didn't actually hit anything like that01:04
tpbTitle: http - Python httplib ResponseNotReady - Stack Overflow (at stackoverflow.com)01:04
techman83Being a rudimentary script, I uploaded each file independently01:05
techman83just a did a for loop in each directory01:05
mithroCarlFK / xfxf: can I send an email to Patrick saying he can have his machine back?01:06
CarlFKmithro: sec.. let me get this file uploaded.  should take under 5 min01:08
CarlFKtechman83: did you ever see errors that you wern't sure what to do about, so just try again and it works?01:09
CarlFKthat's what I bump into.  not sure how a program should deal with them01:09
techman83Well I created the video first, with meta data - so on success you get an id, then I did a chunked upload against that01:13
techman83but any failures I deleted and re-did them01:13
CarlFKdeleted by hand using the web UI?01:16
techman83yeah, ugly I know. But it was 1 or 2 at the time, wasn't worth expending the effort to work out what the issue was.01:16
techman83In recent uploads I didn't see any issues at all01:17
techman83Uploaded ~500 historic videos with no problems late last year01:17
CarlFKweird.  any idea why the problem went away?01:18
techman83probably something I was doing wrong initially01:19
techman83Certainly not rate limiting, I was sitting on the back of a 10G link :P01:23
CarlFKwere all on the 10g, or just the historic that didn't error?01:25
CarlFKmy guess is unstable connection hiccups cause the error.  whatever that means ;)01:26
techman83I've not pondered how to do it better yet01:27
CarlFKI know of two kinds of problems01:28
CarlFK1. something that needs to be fixed before it won't error, like invalid chars in the title, or title too long01:29
techman83Ahh, I have logic for handling long titles01:30
CarlFK2. connection problems (or whatever) that can be retried and it will prolly work01:30
CarlFKmithro: Upload:  12% |||||                                   | Time: 0:00:41   1.62 MB/s01:31
CarlFKthen peter can have his box01:31
CarlFKtechman83: how confidant are you that you have covered all of the cases? ;)01:31
CarlFKcuz I keep discovering new ones, like > and < are not allowed.01:32
techman83Not very :P01:32
CarlFKso looping will fix the connection problems, but not the "invalid title" like stuff.01:32
CarlFKI am guessing it can be sorted out, but ... its hard01:33
techman83Since really their edge cases, I'd likely build some sort of upload queue01:35
techman83and have a failed queue01:35
CarlFKso if something errors once, it gets held up till a human looks at it?01:37
techman83Well to start with, but you wouldn't want it retrying too many times without human interaction01:38
techman83Code around the common issues01:38
techman83Wonder if they ever fixed the license bug in the API01:39
CarlFKthat sounds familiar01:40
CarlFKmithro: progress is progressing, but the ETA is going in the other direction: Upload:  65% ||||||||||||||||||||||||||              | Time: 0:02:05   2.75 MB/s01:41
CarlFKmithro: peter can have his box back01:54
mithroPeter or patrick?02:01
CarlFKum.. who's ever box it is02:11
tijamithro: how much did your small monitors cost you (I guess they are 7 inch)?02:48
mithrotija: about $80 USD02:48
tijamithro: and from where did you buy them?02:49
mithrotija: Deal Extreme02:49
*** hyades has joined #timvideos03:16
mithroMaZderMind / LeeS: now we need to figure out why "make integration" fails on travis sometimes....03:58
LeeSYay fun for us04:12
*** Niharika has joined #timvideos05:09
CarlFKhttp://youtu.be/S2iJB4KRJac  1h of empty lectern, then someone shows up.05:20
tpbTitle: Open Hardware Miniconf - YouTube (at youtu.be)05:20
CarlFKlol @ "You can just do upside-down floor division:"     http://stackoverflow.com/questions/14822184/is-there-a-ceiling-equivalent-of-operator-in-python05:23
tpbTitle: Is there a ceiling equivalent of // operator in Python? - Stack Overflow (at stackoverflow.com)05:23
*** tija has quit IRC06:53
*** hyades has quit IRC07:25
*** f15h has joined #timvideos08:07
*** LeeS has quit IRC08:12
*** slomo has joined #timvideos08:13
*** slomo has joined #timvideos08:13
*** LeeS has joined #timvideos08:18
*** f15h has quit IRC08:23
*** Niharika has quit IRC08:33
*** tvCommitBot has joined #timvideos09:13
tvCommitBot[gst-switch] leesdolphin opened pull request #174: Added Python 3 support (master...python-3-support) http://git.io/h1o47Q09:13
*** tvCommitBot has left #timvideos09:13
*** Niharika has joined #timvideos09:42
*** Niharika has quit IRC09:47
MaZderMindCarlFK: re yt-uploader - we're using this (it couples into our recording tracking system but should be fairly readable: https://github.com/voc/scripts/blob/master/c3tt-publishing/youtube_client.py10:59
tpbTitle: scripts/youtube_client.py at master · voc/scripts · GitHub (at github.com)10:59
MaZderMindwe also have this to link to conference organisators, so they can authorize us to push videos to their channel without us doing much: https://github.com/voc/youtube-oauth10:59
tpbTitle: voc/youtube-oauth · GitHub (at github.com)10:59
MaZderMinddeleting on re-release was a issue for us, too, this year :)11:01
MaZderMindmithro: I'll write down my DBus findings/problems soon, just wanted to be sure that I'm not just holding it wrong.11:23
MaZderMindAlso I have a possible fix that I want to test before discussing if we want it11:23
MaZderMindre travis: I'll have a look but it's the first time I'm working with travis, too11:23
LeeSRE: travis - I have taken the build environment and tried to build gst-switch using it and it runs fine. So I'm thinking it's the fact that Travis runs it in a VM. So I'm just installing a VM to try it.11:25
LeeSEither that or it is some horrible race condition and I just want to cry11:26
*** Niharika has joined #timvideos11:32
thaytanLeeS, in a VM you may not have an Xv port11:36
thaytanthe UI uses that for display11:36
MaZderMindyou're talking about https://travis-ci.org/timvideos/gst-switch/jobs/47472775 ?11:38
tpbTitle: Travis CI - Free Hosted Continuous Integration Platform for the Open Source Community (at travis-ci.org)11:38
MaZderMindthat looks like the srv is not (fast enough?) opening its preview-ports for given sources11:38
LeeSI am talking about that log; it looks like that could with be the point11:41
*** Niharika has quit IRC11:41
*** f15h has joined #timvideos11:43
*** Niharika has joined #timvideos12:17
*** Niharika has quit IRC12:22
*** slomo_ has joined #timvideos12:25
*** slomo_ has joined #timvideos12:25
*** f15h has quit IRC12:28
*** slomo has quit IRC12:29
*** Niharika has joined #timvideos12:32
*** diadara has joined #timvideos13:03
LeeSSo the GStreamer outputs do not appear inline; they are read from the logs. Do you know if there would be a way to tell the server to output to stdout or stderr13:06
LeeSMaZderMind: I think you are right; I've got the debug inline in this build(https://travis-ci.org/leesdolphin/gst-switch/jobs/47646486#L1532) and it looks like video on port 3004 is not starting until after we run the checks.14:55
tpbTitle: Travis CI - Free Hosted Continuous Integration Platform for the Open Source Community (at travis-ci.org)14:55
LeeSMaybe we should wait 1 or 2 seconds before checking it.14:55
LeeSping mithro14:56
*** slomo_ has quit IRC15:08
*** slomo has joined #timvideos15:08
*** slomo has joined #timvideos15:08
*** Niharika has quit IRC15:14
*** tariq786 has quit IRC15:41
*** tariq786 has joined #timvideos15:42
*** Niharika has joined #timvideos15:46
*** slomo_ has joined #timvideos16:32
*** slomo_ has joined #timvideos16:32
*** slomo_ has joined #timvideos16:33
*** slomo_ has joined #timvideos16:33
*** slomo_ has quit IRC17:01
*** slomo has quit IRC18:29
*** Niharika has quit IRC18:35
*** slomo has joined #timvideos18:39
*** slomo has joined #timvideos18:39
*** puck has quit IRC20:35
*** puck has joined #timvideos20:44
*** slomo has quit IRC21:16
*** diadara has quit IRC22:06
*** puck has quit IRC23:14
*** puck has joined #timvideos23:18
mithroLeeS / MaZderMind: I'm back at work and will doing a coding sprint there, so my time is going to be limited23:18
mithroMaZderMind: a temporary work around for the dbus issue is to just poll rather than get notified23:19
*** puck has quit IRC23:21
*** puck has joined #timvideos23:21
MaZderMindmithro: yes, sure, bit I want to make things better - not worse :) And also if I change it later, I have to rewrite the polling-code as well23:23
MaZderMindLeeS: can you add this sleep and we'll see how/if travis changes its behaviour?23:24
mithroMaZderMind: sometimes an imperfect solution is better then a perfect one :)23:40

Generated by irclog2html.py 2.13.1 by Marius Gedminas - find it at mg.pov.lt!