/srv/irclogs.ubuntu.com/2013/01/28/#launchpad.txt

czajkowskiStevenK: wgrant any thoughts on this https://bugs.launchpad.net/launchpad/+bug/110554309:38
ubot5Launchpad bug 1105543 in Launchpad itself "attachment added within a comment is sometimes hidden" [Undecided,New]09:38
=== yofel_ is now known as yofel
bobweaverHello there I am trying to make a daily build recipe on launchpad and It keeps on failing but does not fail at all when I run local  it is saying that bzr is not loged in     https://launchpadlibrarian.net/129732948/buildlog.txt.gz        recipe is http://paste.ubuntu.com/1580322/ thanks for taking some time to look at this for me10:48
bobweavermitya57,  thanks again for pointing me in this direction. Any Idea as to what os going wrong with launchpad ?10:50
bobweavers|os|is10:51
mitya57bobweaver: I came here to wait for somebody else 's reply...10:52
bobweavercool thanks again though for pointing me this way :)10:53
czajkowskibobweaver: if yo could file a question that would be great thanks, https://answers.launchpad.net/launchpad-project/+addquestion10:55
bobweaverthanks czajkowski  I will do that10:55
mgzbobweaver: bug 91550511:00
ubot5bug 915505 in launchpad-buildd "0.4 recipes: bzr: ERROR: exceptions.AttributeError: 'cStringIO.StringI' object has no attribute 'split'" [Critical,Triaged] https://launchpad.net/bugs/91550511:00
bobweavershould I use version 3 ?11:00
mgzyou need to use an older version, and jump up and down so IS upgrade our stuff to the latest versions11:01
czajkowskimgz: got that RT number handy again ?11:01
czajkowskiI've just seached fo rit but I'm not on it11:01
czajkowskiso finding it hard to see in my RT folder11:01
mgzczajkowski: 4634511:02
bobweavermgz,  I replaces recipe with a 0.3 one and I think that it is going to build. thanks11:12
bobweavereveryone thanks I should say11:12
mgzbobweaver: ace11:13
bobweaverI talked to soon :/11:13
bobweaverwoops :  error: version number does not start with digit11:15
mgztyoped the recipe?11:15
bobweaver I can not use {debversion} ?11:15
bobweaver0.3 sorry11:15
bobweavermgz,  you where right syntax error11:18
bobweaverthanks again lol11:18
bobweaverdo you all know where I can find out info about packaging for armel ?11:19
bobweaverI know that my code that I wrote on top of Unity 2d will run on armel (Qt/Qml) so I would like to package for armel and also for ppc just like Ubuntu was doing11:20
mgzczajkowski: ^what's the new deal with getting access to arm builders?11:21
czajkowskia question is filed on LP11:22
czajkowskias long as the build takes less than 4 hours11:22
czajkowskiand no more than 10 builds a wweek we enable it11:22
bobweaver \o/ https://launchpadlibrarian.net/129754429/buildlog.txt.gz11:24
bobweaverthanks again you all are awesome !11:25
czajkowskihttps://dev.launchpad.net/CommunityARMBuilds11:27
=== czajkowski changed the topic of #launchpad to: Known issues:-. Help contact: czajkowski | Requesting ARM builds on projects - https://dev.launchpad.net/CommunityARMBuilds | Launchpad is an open source project: https://dev.launchpad.net/ | This channel is logged: http://irclogs.ubuntu.com/ | User Guide: https://help.launchpad.net/ | Support: https://answers.launchpad.net/launchpad
bobweaverthanks czajkowski  I will read all that over and get a better understanding and come back with a request11:29
xnoxbobweaver: note that above is for virtualised (qemu) arm(el|hf) builders. Thus, you won't get ppc.11:52
bobweaverthanks xnox  that is what I was thinking11:53
xnox;-)11:53
=== useall is now known as clon
=== clon is now known as useall
=== benji___ is now known as benji
=== slank_away is now known as slank
=== slank is now known as slank_away
=== slank_away is now known as slank
czajkowskiGwaihir: 740 pots into  BosnianUniverseTranslation trunk series  again :(16:30
Gwaihir:-/16:31
czajkowskihoping the auto thing will help get through some of them16:31
=== matsubara is now known as matsubara-lunch
=== deryck is now known as deryck[lunch]
=== Ursinha is now known as Ursinha-afk
=== czajkowski changed the topic of #launchpad to: Known issues:-. Help contact:-| Requesting ARM builds on projects - https://dev.launchpad.net/CommunityARMBuilds | Launchpad is an open source project: https://dev.launchpad.net/ | This channel is logged: http://irclogs.ubuntu.com/ | User Guide: https://help.launchpad.net/ | Support: https://answers.launchpad.net/launchpad
=== matsubara-lunch is now known as matsubara
=== deryck[lunch] is now known as deryck
=== Ursinha-afk is now known as Ursinha
shnatselHi! I'm back with more stupid launchpadlib questions!20:31
shnatselI can't seem to find a way to get a branch_merge_proposal object by some identifier, e.g. web link URL20:31
shnatselare there such methods at all?20:31
shnatselthere's some example code in https://answers.launchpad.net/launchpad/+question/193343 which lists merge proposals by team, API also allows listing them by branch or package. Is there any way to get a merge proposal object by some unique identifier?20:37
maxbshnatsel: What sort of id?21:03
maxbOr rather, id for what?21:04
shnatselmaxb: for the merge proposal; they're typically identified by branch and a numeric ID21:04
shnatselmaxb: my short-tem goal is to get the merge proposal object by its web URL21:05
shnatselthe best thing I've come up so far is parsing the web URL, splitting out the branch name, feeding it to branches.getByUniqueName() and bruteforcing web links in merge request array it returns21:06
maxb>>> lp.load("/~gz/hydrazine/ask_write_private_access_only_643610/+merge/78739")21:07
maxb<branch_merge_proposal at https://api.launchpad.net/1.0/~gz/hydrazine/ask_write_private_access_only_643610/+merge/78739>21:07
maxbworks for any API object for which you have a full object URL21:07
shnatselhttps://api.launchpad.net/1.0/~<author.name>/<project.name>/<branch.name>/+merge/<id>21:08
shnatselthis?21:08
shnatseloh, wow21:08
shnatselmaxb: thanks a lot!21:08
shnatselmaxb: you keep saving me man :D21:08
=== matsubara is now known as matsubara-afk
shnatselI keep getting "At least 2 queries/external actions issued in 0.05 seconds" errors from API :(23:09
shnatselHere's the code: http://pastebin.com/66wpnQsj23:09
shnatselI've added "sleep (1)" everywhere I could imagine23:09
shnatselit still happens23:10
shnatselthe code shouldn't output anything for this particular combination of input data, but it shouldn't exceed any API usage limits either23:11
=== slank is now known as slank_away
shnatsellooks like "if recipe.daily_build_archive == daily_ppa:" is the offending line, but I have no idea how to slow it down23:13
shnatselI've added a sleep everywhere now but it still happens! http://pastebin.com/Y1AB1gZ723:23
wgrantshnatsel: That's not an error message itself, just a part of the error page. What's the actual error message, or the full error page?23:24
shnatsel410 page gone23:25
wgrantAnd which statement is crashing?23:26
shnatselI have no idea, the backtrace has only internal launchpadlib items23:27
wgrantHmm?23:27
wgrantBacktraces don't work like that23:27
wgrantIt'll get back to your code eventually23:27
wgrantIt's probably the current_ppa = recipe.daily_build_archive line23:27
shnatselI actually used to have sane code before I insterted sleeps everywhere and sent everything to variables23:28
shnatsellet me see...23:28
wgrantTry replacing the current_ppa = and current_ppa_link = bits with 'current_ppa_link = recipe.daily_build_archive_link'23:28
shnatsel"if recipe.daily_build_archive == daily_ppa:" this seems to be causing it23:28
wgrantI suspect that 'recipe.daily_build_archive' is failing to load because the user that owns the archive is suspended, so you're not allowed to see them23:28
shnatselwgrant: oh, that makes sense23:28
wgrantSo compare the link before you dereference and it should work23:28
wgrant(lp:launchpad is a pathological case for this, because no recipes can sensibly exist for it, so any that do exist are probably created by spammers or otherwise unclever users, so their accounts are more likely to be suspended)23:29
shnatselI obtain the PPA with a launchpad.load(), how do I load just the link?23:29
wgrantObtaining daily_ppa that way is fine23:30
wgrantWhat's breaking is current_ppa23:30
wgrantWhat I'd do is check the link (recipe.daily_build_archive_link) before dereferencing it (recipe.daily_build_archive)23:30
wgrantIn fact you don't actually need to dereference it at all in this case -- you only care that the link matches the archive that you care about.23:31
shnatselthen I'll need a *link* to the daily PPA too, won't I?23:31
shnatselto compare them23:31
wgrantOh, yeah23:31
wgrantBut you have that already23:31
wgrantdaily_ppa_link23:31
wgrantFrom daily_ppa.self_link23:32
shnatselwgrant: it doesn't crash anymore! Thank you so much!23:33
wgrantshnatsel: Excellent.23:34
=== slank_away is now known as slank

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