/srv/irclogs.ubuntu.com/2011/08/16/#launchpad-yellow.txt

gary_posterhalloo.12:27
bacgary_poster: welcome back12:27
gary_posterbac benji danilos gmb, call in 3 if I get my act together fast enough.  if not fast enough, will be a hair late.12:27
gary_posterthanks bac.  I'm mostly unscathed. :-)12:28
gmbOk12:28
danilosgary_poster, hey, welcome back12:30
gary_posterthanks danilos :-)12:30
* gary_poster *almost* ready12:31
gary_posterbac, benji, not on skype?12:33
bacoops12:33
bacready12:34
danilosgary_poster, btw, changing storm_cache_size to 1000 from 100 for development did "fix" the problem for me (in that everything gets pre-loaded)12:42
danilosI don't like this solution though, so I'll look into fetching everything with a single query instead12:43
gary_posterdanilos, huh.  Is that a normal config setting?  You could look at production configs, of course.  I wonder if it would generally improve our performance without too much of a cost.12:43
danilosgary_poster, I just looked, it doesn't seem to be set anywhere in production configs, so I need to confirm what's the default12:44
danilosgary_poster, oh, default for non-dev is 10k, so I am likely good, so I'll just keep the code as-is12:45
gary_posterah ok danilos.12:45
* gmb -> lunch12:51
* danilos -> food13:23
gary_poster...ok, mail successfully dealt with/deleted...13:40
gary_posteron to trying to do something useful13:40
gary_posterdanilos, cron is complaining:15:20
gary_poster2011-08-16 14:04:21 WARNING Found 2 competing templates with translation domain 'messages': "openerp-messages in OpenERP Web Client trunk"; "viewcalendar-messages in OpenERP Web Client trunk".15:20
gary_posterDo we need to do anything about that, or ask anything to be done?15:20
danilosgary_poster, we should probably let openerp maintainers know about it so they can fix it (not sure anything is broken, and if it's not, we should make those messages log on DEBUG/INFO level)15:22
gary_posterdanilos, ack.  I guess I'll try to contact them with that.15:23
gary_postergmb, question for you.  I was trying to dupe https://bugs.qastaging.launchpad.net/ubuntu/+source/afflib/+bug/230350 locally.  I made bugtasks with sourcepackage targets but it doesn't look the same.  I can take a screenshot if that helps.15:25
_mup_Bug #230350: Missing Debian Maintainer field <Ubuntu:Invalid> <afflib (Ubuntu):Fix Released by saivann> <alac-decoder (Ubuntu):Fix Released by warp10> <axiom (Ubuntu):Invalid> <beneath-a-steel-sky (Ubuntu):Fix Released> <bibletime-i18n (Ubuntu):Fix Released by txwikinger> <binkd (Ubuntu):Fix Released> <bzr-builddeb (Ubuntu):Won't Fix> <capisuite (Ubuntu):Invalid> <chinput (Ubuntu):Fix Released by warp10> <chmsee (Ubuntu):Fix Released> <ciso15:25
gmbgary_poster: looking...15:26
gary_posterthx15:26
gmbgary_poster: Okay. Can you screenshot your version please?15:31
gary_postersure15:31
* danilos -> out, tty tomorrow15:32
gary_postergmb, I cannot get https://devpad.canonical.com/~gary/ to not give me a forbidden error :-(15:37
gary_posterhttps://devpad.canonical.com/~gary/sshot.png should be it15:37
gmbgary_poster: Is the file in your public_html directory?15:37
gary_posterit is on carob (devpad) in my public_html dir15:37
gmbHrm.15:37
* gmb scps instead.15:38
gary_posterk15:38
gmbgary_poster: I get permission denied when I try to ls /home/gary/public_html15:39
gmbgary_poster: Your ~ is chmodded to 70015:39
gary_postergmb, changed...15:40
gary_postergmb https://devpad.canonical.com/~gary/sshot.png works15:40
gary_posterthanks gmb15:40
gmbYep15:40
gmbnp :).15:41
gmbdev-op baby steps.15:41
gmbAnyway...15:41
gary_poster:-)15:41
gmbgary_poster: So, it looks like in your version the package tasks are tied to a distroseries as well as the package.15:42
gary_postergmb, http://pastebin.ubuntu.com/667420/ is what I did fwiw15:42
gary_posterah ok15:42
gary_posterso if I remove that part then it might work15:42
gmbgary_poster: Yes, I thikn so.15:42
gary_posterI thought I needed that or else it would be making a new distroseries each time15:42
gary_posterok thanks gmb!15:43
gmbgary_poster: Well, that might be the case15:43
gmb(The joy of factories015:43
gary_poster:-)15:43
gmbgary_poster: I think you need to unset the distroseries of the packages after they're created (if you can do that; I don't know)15:44
gmbmakeSourcePackage() requires a distroseries if you don't want to create umpteen of them, as you suspected.15:44
gary_postergmb, heh, ok, thaks.  but in terms of rendering time, what I've done includes all of the "hard" rendering things from that original bug, *plus* the distroseries, right?15:45
gmbYes.15:45
gary_posterOK.  I'm having a hard time duping the remaining problem.15:45
gmbgary_poster: What's the remaining problem? Do you mean that you can't get it to ake as long as it does on production or is there something separate?15:48
gary_postergmb, yeah, I can't get it to take as long as in production.  Admittedly, there's 150 comments on the real bug, and I'm not trying to fix that.  However, if you look at an oops on qastaging, there is still a four second Python-only (no SQL) break when rendering the page (of course, the whole page takes 27 seconds on qastaging)15:51
gmbHrm.15:51
bacgary_poster: i'm looking for a bug.  speak up if you have one you'd like me to look at18:07
gary_posterbac, find a squishy one.18:08
bacbenji: is this related to the bug you're working on: https://bugs.launchpad.net/launchpad/+bug/82721018:09
_mup_Bug #827210: JSONDecodeError in +check-links page <oops> <Launchpad itself:Triaged> < https://launchpad.net/bugs/827210 >18:09
* benji looks18:10
bacbenji: you caused the oops18:10
bacs/caused/were driving at the time of/18:10
bacergh18:10
benjibac: heh, yeah that will be fixed when my branch lands18:11
bacwant me to dupe it?18:11
benjithat'd be great18:11
benjiwhile figuring out just how deep this went I wondered if I'd be causing any new bugs to be filed; now I know :)18:11
bacbenji: you may want to mention it to diogo so he doesn't file bugs while looking at OOPS18:12
benjithanks, will do18:12
bachey gary_poster, i just fixed bug 826846 ... but now i'm having questions20:03
_mup_Bug #826846: AttributeError: 'NoneType' object has no attribute 'split' adding a ssh key <oops> <Launchpad itself:In Progress by bac> < https://launchpad.net/bugs/826846 >20:03
bacthe fix was simple, make the model code defensive in case it gets a value of None20:03
gary_posterbac, ok.  I saw the mp fly by20:03
bacbut, i'm confused b/c the data are fetched from the form and should have been u'' not None20:04
bacNone implies the key didn't exist in the form data20:04
gary_posterbac, webservice? (random guessing)20:05
bacnope20:05
bacnot according to the oops20:05
bacuser agent was midori ... so a bit of an odd ball, but i tested with midori and couldn't replicate20:06
gary_posterbac, spoofing/constructing a form?20:06
bacanyway, i've fixed this particular bug, but may not be a good idea in general.20:06
gary_posterform reply, I mean20:07

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