*** tpb has joined #timvideos | 00:00 | |
*** mithro- has joined #timvideos | 00:22 | |
*** hyades has quit IRC | 02:30 | |
Sewar | yay! cross compiling finally succeeded! | 03:14 |
---|---|---|
*** hyades has joined #timvideos | 03:22 | |
mithro | Sewar, awesome! | 03:22 |
Sewar | but static linking libcurl didn't work, maybe try it again later | 03:25 |
mithro | what does it fail with? | 03:25 |
mithro | static linking under windows is much easier then dynamically linking under windows as dlls are horrible | 03:26 |
*** CarlFK has left #timvideos | 03:27 | |
Sewar | let me try again | 03:27 |
mithro | Sewar, don't forget to record your build steps somewhere so people can reproduce them | 03:28 |
mithro | hyades, ping? | 03:28 |
Sewar | Makefile should take care of that right? | 03:29 |
hyades | mithro: sorry was sleeping | 03:29 |
mithro | hyades, no worries, don't execpt you to to up all the time | 03:29 |
hyades | https://s3.amazonaws.com/archive.travis-ci.org/jobs/10910234/log.txt | 03:29 |
mithro | Sewar, well - are you compiling libcurl ? | 03:29 |
Sewar | mithro: yes | 03:30 |
mithro | is that part of the makefile? | 03:30 |
Sewar | yes, it will compile it for the target os as part of the build | 03:30 |
mithro | Sewar, okay | 03:31 |
mithro | hyades, your wondering about the utf8 problem? | 03:31 |
hyades | that should be solvable, i think putting encoding format | 03:32 |
hyades | ? | 03:32 |
mithro | hyades, one of your files has something strange in it | 03:33 |
mithro | hyades, try running coveralls locally and see if you can reproduce it | 03:34 |
Sewar | https://dpaste.de/agHdG/ | 03:34 |
tpb | Title: dpaste.de: Snippet #238842 (at dpaste.de) | 03:34 |
Sewar | mithro: what am I missing? .exe still looks for .dll | 03:34 |
mithro | the following line is the problem "/home/sewar/curl-7.32.0/output/bin/curl-config --libs" | 03:35 |
mithro | you need | 03:36 |
mithro | --static-libs | 03:36 |
mithro | (assuming your compiling statically :) | 03:36 |
Sewar | WOW | 03:36 |
*** hyades has quit IRC | 03:37 | |
Sewar | now it works :) | 03:37 |
mithro | Sewar, \o/ | 03:37 |
mithro | Sewar, so I'm not sure how you'd do it, but do you have tests for your code? | 03:40 |
mithro | Something like c-unit might work | 03:40 |
mithro | wine is then useful for running the tests :) | 03:40 |
Sewar | mithro: noted | 03:42 |
*** hyades has joined #timvideos | 03:43 | |
mithro | Sewar / hyades: I'm going to be away pretty much all of next week | 03:56 |
mithro | and have limited access from tomorrow | 03:58 |
hyades | mithro, how do I detect the error in this file, its huge! | 03:58 |
hyades | \n{u\'url\': u\'\', u\'message\': u\'Build processing error.\', u\'error\': True}\n | 03:59 |
mithro | hyades, do a repr of coverage value in /usr/local/lib/python2.7/dist-packages/coveralls/report.py 11 | 03:59 |
*** hyades has quit IRC | 04:07 | |
mithro | Sewar, you still about? | 04:09 |
Sewar | mithro: thanks for letting us know, I'm sure CarlFK and iiie will offer great help | 04:10 |
mithro | Sewar, I recommend you change the way you are working | 04:10 |
mithro | Sewar, Don't push directly to timvideos/edid.tv | 04:10 |
mithro | Sewar, instead push to your own fork | 04:10 |
mithro | and when your build is green / happy send a pull request to timvideos/edid.tv | 04:11 |
mithro | then if travis still thinks it's green, merge the pull request | 04:11 |
Sewar | mithro: Sure, that makes sense | 04:11 |
mithro | that way you won't keep spaming me with failure messages ;) | 04:11 |
Sewar | hehe | 04:12 |
mithro | Sewar, and as you can do things like rebasing, squash commits, etc | 04:12 |
mithro | Sewar, have you an iiie agreed on what will be considered a "successful completion of GSoC" | 04:14 |
Sewar | well, I think I'm pretty close to the main goals of the project, but we should discuss this in next meeting | 04:16 |
mithro | Sewar, btw it would be nice to have auto-deploy from repository to the website | 04:17 |
Sewar | yeah, when I shift to triple travis builds, auto-deploy should be no problem | 04:18 |
mithro | Sewar, great! | 04:19 |
mithro | triple travis builds? | 04:19 |
Sewar | first at my repo, second as pull request, third at timvideos repo, which is great actually | 04:20 |
mithro | okay, I understand | 04:21 |
*** hyades has joined #timvideos | 05:27 | |
hyades | mithro-: mithro ping | 06:06 |
*** mithro- has quit IRC | 06:08 | |
*** mithro- has joined #timvideos | 06:08 | |
hyades | mithro-: ping | 06:09 |
mithro- | hyades, pongs | 06:09 |
mithro- | I'm in a meeting now | 06:09 |
mithro- | but will be around later | 06:09 |
hyades | k :) | 06:09 |
*** mithro- has quit IRC | 06:36 | |
*** mithro- has joined #timvideos | 06:37 | |
mithro | hyades, about now | 07:38 |
*** mithro- has quit IRC | 07:40 | |
hyades | mithro: yes, what about the repr stuff? | 08:10 |
mithro | so the issue is in the coverage dictionary it is trying to turn into json | 08:14 |
hyades | even if there is a strange character. how do I avoid it? All these files are generated at runtime | 08:18 |
mithro | hyades, once we figure out what is causing it | 08:21 |
mithro | hyades, we can figure out how to prevent it | 08:21 |
hyades | another thing related to the build matrix | 08:22 |
hyades | everytime a make a row to the matrix, it starts a separate build | 08:23 |
hyades | s/a/i | 08:23 |
mithro | hyades, that is correct | 08:23 |
mithro | hyades, actually | 08:23 |
mithro | the matrix actually acts like a matrix | 08:24 |
mithro | but matrix under env is different | 08:24 |
mithro | http://about.travis-ci.org/docs/user/build-configuration/#The-Build-Matrix | 08:24 |
tpb | <http://ln-s.net/+obm> (at about.travis-ci.org) | 08:24 |
hyades | can i make it something like, reach a particular state, and then go into 4 states from that state | 08:25 |
mithro | hyades, no, sadly not | 08:26 |
hyades | coz I dont want to repeat the build procedure since its very heavy | 08:26 |
hyades | oh | 08:26 |
mithro | hyades, so I recommend doing the build on your own precise machine | 08:26 |
mithro | hyades, tar it up and put it on google drive | 08:26 |
mithro | hyades, then just download and extract it | 08:26 |
mithro | hyades, but you don't want to do that for everything - just the parts that don't matter | 08:27 |
hyades | i dont have it on precise yet, will build it soon | 08:27 |
mithro | hyades, btw I have given you the ability to manipulate the gst-switch repo | 08:30 |
mithro | in timvideos | 08:30 |
mithro | https://github.com/timvideos/gst-switch | 08:30 |
tpb | Title: timvideos/gst-switch · GitHub (at github.com) | 08:30 |
hyades | okay, I will look into this a bit later :) | 08:30 |
hyades | mithro: https://github.com/eddyxu/cpp-coveralls/issues/6 | 08:31 |
tpb | <http://ln-s.net/-tc7> (at github.com) | 08:31 |
mithro | hyades, good find | 08:32 |
hyades | well, all the c files have ASCII format | 08:35 |
mithro | how do you know they are all ASCII format? | 08:39 |
mithro | you mean the output of file? | 08:39 |
hyades | http://paste.ubuntu.com/6058147/ | 08:41 |
tpb | Title: Ubuntu Pastebin (at paste.ubuntu.com) | 08:41 |
hyades | http://paste.ubuntu.com/6058145/ | 08:41 |
tpb | Title: Ubuntu Pastebin (at paste.ubuntu.com) | 08:41 |
hyades | encoding of all files in my directory http://paste.ubuntu.com/6058151/ | 08:44 |
tpb | Title: Ubuntu Pastebin (at paste.ubuntu.com) | 08:44 |
mithro | hyades, file just looks at a subset of the file to determine the encoding | 09:06 |
hyades | hm | 09:07 |
mithro | if a single file is 99% ASCII and has 1 or 2 characters which are non-ascii it is unlikely that file will discover them | 09:07 |
hyades | should i patch it with encode(utf, ignore) ?? | 09:08 |
mithro | hyades, no | 09:08 |
mithro | hyades, we should find the file which has the invalid bytecode | 09:08 |
hyades | i am unable to replicate this exception in my machine | 09:11 |
mithro | 233 E9 é | 09:11 |
hyades | hm | 09:14 |
mithro | hyades, if you could output coverage value using repr we could figure out where it is coming from | 09:16 |
hyades | should I do this on travis? | 09:16 |
hyades | there is probably no such character in my local copy | 09:17 |
mithro | hyades, possibly | 09:18 |
mithro | hyades, the fact that gsocketinputstream.c.gcov is a UTF-8 Unicode Text rather then ASCII is concerning | 09:19 |
mithro | but I don't want to jump to conclusions yet | 09:20 |
hyades | okay yes, this file has some problem | 09:21 |
hyades | http://pastebin.com/BsC7Bxzb | 09:23 |
tpb | Title: [Python] >>> f = open('gsocketinputstream.c.gcov') >>> a = f.read() >>> a ' -: - Pastebin.com (at pastebin.com) | 09:23 |
mithro | a.find(u'0xe9') is not going to work | 09:25 |
mithro | you want | 09:25 |
mithro | a.find('\xe9') is not going to work | 09:25 |
hyades | http://paste.ubuntu.com/6058297/ | 09:32 |
tpb | Title: Ubuntu Pastebin (at paste.ubuntu.com) | 09:32 |
hyades | maybe those copyright characters | 09:32 |
mithro | hyades, as I said I don't want to jump to conclusions | 09:33 |
mithro | hyades, so lets get that coverage dictionary printed first | 09:33 |
hyades | on my machine or travis? | 09:34 |
mithro | hyades, you said you couldn't reproduce the error | 09:36 |
mithro | hyades, so what use is it going to be on your machine? | 09:37 |
hyades | just a repr(coverage) is good? | 09:42 |
mithro | hyades, up to you | 09:51 |
mithro | you might want to output more information | 09:52 |
hyades | you can have some coffee, it will take around half an hour :) | 09:52 |
hyades | but I think that coverage of only selective files whose output files have been generated should be taken, instead of all. | 09:54 |
hyades | for files like gsocketinputstream.c coverage is not required | 09:55 |
hyades | mithro: https://api.travis-ci.org/jobs/10928061/log.txt?deansi=true | 11:35 |
tpb | <http://ln-s.net/-tf-> (at api.travis-ci.org) | 11:35 |
hyades | the repr(coverage) | 11:35 |
mithro | The log length has exceeded the limit of 4 Megabytes (this usually means that test suite is raising the same exception over and over). | 11:37 |
mithro | hyades, no e9 in the limited output we have | 11:40 |
mithro | hyades, you'll probably have to output it to a file locally then use wget/curl to spit it somewhere | 11:40 |
hyades | ok | 11:48 |
mithro | home time for me | 11:59 |
mithro | gnight | 11:59 |
hyades | mithro: even if the char is found what to do? | 11:59 |
*** hyades has quit IRC | 12:21 | |
*** hyades has joined #timvideos | 12:54 | |
hyades | mithro: http://paste.ubuntu.com/6058926/plain/ | 15:23 |
tpb | Title: OpenID transaction in progress (at paste.ubuntu.com) | 15:23 |
hyades | mithro: indeed these characters are present | 15:34 |
*** hyades has quit IRC | 16:34 | |
*** hyades has joined #timvideos | 18:13 | |
*** hyades has quit IRC | 18:18 | |
*** hyades has joined #timvideos | 18:51 | |
hyades | mithro, I was trying to build in precise. I get that TypeError on my VM also | 18:54 |
hyades | def function(*args, **kwargs): | 18:54 |
hyades | > return info.invoke(*args, **kwargs) | 18:54 |
hyades | E TypeError: Argument 1 does not allow None as a value | 18:54 |
hyades | things are different here :/ | 18:55 |
hyades | quantal no issues | 18:57 |
*** hyades_ has joined #timvideos | 19:56 | |
*** hyades has quit IRC | 19:59 | |
*** hyades_ has quit IRC | 20:28 | |
*** hyades has joined #timvideos | 20:32 | |
*** CarlFK has joined #timvideos | 21:12 | |
hyades | CarlFK: the precise one was different from quantal one. A patch solved it. :) | 21:35 |
CarlFK | which one was erroring ? | 21:37 |
*** parx has joined #timvideos | 21:38 | |
hyades | precise | 21:39 |
CarlFK | and you were developing with quantal? | 21:40 |
hyades | yes | 21:40 |
CarlFK | I figured it was something like that | 21:40 |
CarlFK | can't you run the tests under quantal? | 21:41 |
hyades | Precise doesn't allow bus names to be None | 21:41 |
hyades | sadly travis has precise systems | 21:41 |
hyades | anyways, I put some values in bus name, and it worked. | 21:42 |
*** iiie0 has joined #timvideos | 21:53 | |
*** CarlFK has quit IRC | 22:56 | |
*** iiie0 has quit IRC | 23:51 |
Generated by irclog2html.py 2.12.1 by Marius Gedminas - find it at mg.pov.lt!