/srv/irclogs.ubuntu.com/2014/11/10/#ubuntu-autopilot.txt

=== Guest6771 is now known as balloons
veebersbarry: ping, following up my email :-)19:42
barryveebers: hi.  the problem is that pybootchartgui is i think unmaintained and has no effective test suite.  i really don't know much about the code, so my fix was just a bandaid to get it past the given sample data.  if you have other sample data that it's crashing on, i can try to take a look, but i'd need that sample data19:58
barryi see comment #819:59
veebersbarry: Ah I see. I have the sample data here, would you like me to email it to you?19:59
* veebers looks19:59
veebersbarry: ack19:59
barryveebers: i'll see what i can do about that failure20:00
veebersbarry: have emailed the data, let me know if you get it (~8MB should get through, right? :-))20:04
barryveebers: maybe ;)  can you attach it to LP: #1381177?20:05
ubot5Launchpad bug 1381177 in pybootchartgui (Ubuntu) "pybootchartgui raises IndexError" [Critical,Fix released] https://launchpad.net/bugs/138117720:05
veebersbarry: that's a much better idea, doing that now20:05
barryveebers: looks like the email got through20:12
veebersbarry: ah cool, sorry was checking that there wasn't any private data in that data file before attaching20:16
barryveebers: no worries, i see the crash.  this is probably going to be a onsie-twosie type fix.  e.g. you give me data it crashes on, i tried to fix it knowing so little about the code, rinse, repeat ;)20:18
veebersbarry: heh, hopefully we get lucky and this is the one time20:18
barryveebers: yeah.  this code is ancient, obscurely written, etc.20:20
veebersoh . . . I see :-P20:21
barryveebers: http://paste.ubuntu.com/8925948/20:23
barryveebers: do you want to test this before i upload to vivid?20:32
* veebers look20:45
veeberss20:45
veebersbarry: sure, I'll pull the branch and build itn ow20:46
veebersbarry: d'oh, now I get this error: http://pastebin.ubuntu.com/8926432/20:54
veebersbarry: it looks like that parse code is called a couple of times?21:00
barryveebers: maybe.  i just ran it like so:21:02
barrypython pybootchartgui.py ../bootchart.tgz21:02
barryhaven't seen that latest pastebin bug21:03
barrycan you tell me how you got it?  i wonder if this isn't just a losing battle21:05
barryveebers: https://code.google.com/p/pybootchartgui/21:05
barryveebers: https://github.com/mmeeks/bootchart21:05
veebersbarry: sorry I thought that I had shared the command I use: http://pastebin.ubuntu.com/8926726/21:07
barryveebers: let me try that in a chroot with the patched package21:08
barryveebers: that command with the posted patch wfm21:15
veebersbarry: let me try again21:16
veebersbarry: Actually I'm still running utopic and just built the package locally, but that shouldn't be an issue. . . .right?21:17
barryveebers: shouldn't be, since there's not much changed since then, but i am testing it in a vivid chroot21:17
barryveebers: i can give you a deb if that's helpful21:17
veebersbarry: I might as well try that, yes please21:18
veebers(make sure we're testing the same thign21:18
veebers)21:18
barryveebers: dget http://barry.warsaw.us/debian/pybootchartgui_0+r141-0ubuntu5_amd64.changes21:21
barry 21:21
barrythen install the .deb21:21
veebers barry ack, thanks21:21
veebersbarry: ok, installing that deb worked for me (although I get 'False' printed out, but meh). I must have screwed something up when I built from scratch21:27
veebersbarry: also, thanks for those other links, it looks like there will be work items coming up to transition to the newer stuff21:29
barryveebers: cool.  yeah, no idea what that False is but i see it too.  if this works for you, i'll upload this to vivid and we'll wait for the next failure ;)21:32
veebersbarry: heh, awesome, thanks21:32
thomiveebers: just curious, do you know why we need the gui module at all?21:35
thomiI mean, we never display the actual gui graph anywhere, right?21:35
thomior do we scrape it for the data points or something?21:36
veebersthomi: Um, that's a good question. Perhaps nuclearbob can weigh in here. I'm not sure, I just know there is this bug21:36
thomifair nuff21:36
nuclearbobthomi veebers: I don't know, actually.  If there's a non-gui tool to generate those data points, that would probably be better.  The tests themselves haven't really be examined in a while, mostly just the way they're run21:37

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