[00:08] FullFlannelJacke: tell me the build's link [02:44] I am at a loss as to how to package a python script [02:45] can anyone help? [02:45] FullFlannelJacke, pick an existing python script that's similar and copy from that [02:45] I dont know of any [02:50] FullFlannelJacke, try using bzr then [02:50] as an example [02:51] FullFlannelJacke: #ubuntu-packaging is a good place to get help, don't know how many people are around right now [02:51] packaging for Ubtunu is frustratingly difficult..It is actually harder to package my script than to write it. [02:52] FullFlannelJacke: maybe that's why there's a channel dedicated to it? [02:53] Yeah. I think Ubuntu needs to overhaul its packaging system. other distros are so much easier [03:03] I can't branch my code, does anyone have any clue why? bzr branch lp:~nigelbabu/ubuntu-review-overview/report-debian [03:04] nigelb: what error do you get? [03:04] bzr: ERROR: Not a branch: "bzr+ssh://bazaar.launchpad.net/~nigelbabu/ubuntu-review-overview/trunk/". [03:04] I recently changed the owner of the trunk to the team instead of me,which started the whole problem [03:05] Hmm, sounds like the stacked-on information in your branch is out-of-date. [03:05] er, how do I fix that? [03:07] Perhaps "bzr reconfigure lp:~nigelbabu/ubuntu-review-overview/report-debian --stacked-on=..." [03:07] Or edit sftp://bazaar.launchpad.net/~nigelbabu/ubuntu-review-overview/report-debian/.bzr/branch/branch.conf by hand :/ [03:07] spiv: copy paste from that? what does the last bit do? [03:08] Er, you'd need to replace the "..." with the new location of the trunk [03:09] /~ubuntu-reviewers/ubuntu-review-overview/trunk I think? [03:09] yes, ah! That makes sense :) [03:11] spiv: the bzr reconfigure failed :( [03:11] same error [03:11] nigelb: https://bugs.edge.launchpad.net/launchpad-code/+bug/377519 is the relevant bug, btw [03:11] Launchpad bug 377519 in Launchpad Bazaar Integration "Stacked on location breaks if the stacked upon branch is renamed (affected: 3, heat: 3)" [High,Triaged] [03:12] spiv: so, is there a fix for me? delete and push aagain? [03:13] nigelb: that's a possibility, but the workaround in comment #1 on that bug should work [03:13] I'll try, I don't understand parts of it, I'll ask when I get there [03:15] nigelb: sounds good. [03:16] spiv: err, question 1, how do I connect to the thing? sftp sftp://bazaar.launchpad.net/~nigelbabu/ubuntu-review-overview/report-debian/.bzr/branch/ doesn't work [03:18] nigelb: try sftp://nigelbabu@bazaar.launchpad.net/... [03:19] spiv: ssh: Could not resolve hostname bazaar.launchpad.net/~nigelbabu: Name or service not known [03:19] ssh: Could not resolve hostname bazaar.launchpad.net/: Name or service not known [03:20] ! [03:20] Oh, hmm, which program are you using? [03:20] I think that URL should work ok with lftp, and maybe even nautilus [03:21] I'm just using terminal [03:21] If you're using the 'sftp' command, it's a bit less friendly. [03:22] You'd need to do something like "sftp nigelbabu@bazaar.launchpad.net" and then "get ~nigelbabu/ubuntu-review-overview/report-debian/.bzr/branch/branch.conf", I think. [03:22] lemme try [03:22] If you install lftp, it's also a terminal command, but it's much easier. [03:24] ok, so get-ing that file [03:24] I assume from the branch that you're using Ubuntu... are you using the GNOME desktop? [03:25] yes [03:25] If so you should just be able to open a nautilus window, hit Ctrl+L to enter a location, and use sftp://bazaar.launchpad.net/~nigelbabu/ubuntu-review-overview/report-debian/.bzr/branch/ [03:25] err nautilius cannot handle such rquests :( [03:25] "Nautilus cannot handle this kind of location." - to be exact [03:25] Oh :( [03:25] Oh, hmm, [03:26] Try adding the username as before (nigelbabu@) [03:26] * nigelb hugs spiv [03:26] that worked [03:27] nigelb: hooray :) [03:28] Now I think if you edit branch.conf to have /~ubuntu-reviewers/ubuntu-review-overview/trunk as the stacked-on value that should work. [03:28] I did the editing [03:29] Ok, now to do the second part. [03:29] maxb says something about going to python interpreter [03:29] how do I do "open the branch, write-lock it, unlock it" [03:29] I have no knowledge of bzrlib, is there documentation somwehre? [03:30] The simplest way would be to push to the branch. [03:31] Yay! [03:31] oh, wait, same problem [03:31] no, something different [03:31] http://paste.ubuntu.com/445856/ [03:34] spiv: can you help me do that python thing, looks like that needs to be done :( [03:35] That's very weird. [03:35] I don't think the Python think will help with that, but I'm looking now [03:35] ok :) [03:36] I shall run out and be back in 2 minutes [03:37] nigelb: http://paste.ubuntu.com/445857/ is a Python script to do that [03:37] (I'll add it to the bug now) [03:43] spiv: yay, thank you! [03:46] spiv: the argument must be the sftp url? [03:47] oh, I figured it out eventually :) [03:48] nigelb: or the lp: URL [03:49] No one is in ubuntu-packaging. Can someone here help me? [03:49] FullFlannelJacke: what is it about? [03:50] need to package a python script I wrote and nothing i try works [03:50] have read all the guides [03:50] well, #ubuntu-packaging is the place that does that. #lauchpad is only about launchpad related stuff [03:51] well I plan on uoloading it to my PPA [03:51] and no one is ever in #ubuntu-packaging [03:51] still, we can't help you here regarding that. Remember its the weekend, lots of people might be away [03:51] You might want to try tomorrow [03:51] spiv: well, I did something exceedingly stupid [03:52] spiv: on the first rename of the stacked-on, I made a mistake [03:52] now, I correct it, but touch-branch.py throws out errorrs [03:53] nigelb: pastebin? [03:54] http://paste.ubuntu.com/445860/ [03:56] Wow [03:56] Ok, so the immediate issue is you have a typo in your branch.conf [03:57] Delete the second line [03:58] There's a secondary issue that the server really shouldn't be giving you a traceback like that! [03:58] I know what's going on with the secondary issue, I'll file a bug about that. [04:07] spiv: you have another issue. Its not me adding line 2 "trunk" [04:07] its launchpad or bazaar or something else doing it [04:08] Oh wow, very exciting. [04:08] every time I run the script, it fails, gives me the error and there is trunk in that file [04:10] I wonder if it is caused by a trailing newline? :/ [04:11] nigelb: ok, how about this [04:11] I removed the trailing newline every time :( [04:12] :( [04:12] Can I just remove the stacked on location? [04:12] or delete the branch and push again? [04:13] nigelb: actually [04:13] nigelb: rename the branch, rather than delete [04:13] nigelb: so we can diagnose it detail later [04:14] spiv: just push to new location you mean? [04:14] nigelb: but yes, quickest fix at this point would be push again [04:14] okay :) [04:14] nigelb: I mean, use the web UI to rename to branch to e.g. report-debian-broken [04:14] And then just "bzr push" [04:14] AHH, ok [04:15] Ok, I need to go have lunch right now :) [04:15] Thanks for your patience! [04:15] thanks for helping out :) [05:57] hi guys [05:58] wondering if anyone had time to help out with https://answers.launchpad.net/malone/+question/112064 [05:58] thank you [06:01] johnbrondum: for a box of krispy kreme donuts delivered to canberra? hell yes! Need to do a school run, but post that, I'll run on the staging DB (only out of date by a few days max) and get back to you. Good enough? [06:01] nigelb: I've filed about your bug(s) [06:01] Launchpad bug 590628 in Launchpad Bazaar Integration "put of branch.conf followed by bzr lock/unlock causes traceback from server, corrupts branch.conf (affected: 1, heat: 6)" [Undecided,New] [06:19] spiv: thats a fun one === MTecknology is now known as MTeck-ricer [08:59] Hi, is this the right place to ask questions about building packages in PPA? [09:01] Mavrik-: this would be the place to ask about the build system or using the PPA, for help with packaging #ubuntu-motu would be a better place [09:02] tsimpson, thanks, will ask there [09:29] 80% of the i386 ppa builders are still down? [09:29] directhex: It's being worked on [09:36] pretty slow indeed. my package is still waiting to built after 4 days :-/ [09:36] luckily it doesn't have too many users [09:41] hello! I keep getting tmeouts from https://code.launchpad.net/software-center - is there a way to workaround this? I want to see what branches changed over the weekend basicly [09:55] I reported bug against gcc-4.5 and got (Error ID: OOPS-1619G619) - do I have to retype whole bug report? [09:55] https://lp-oops.canonical.com/oops.py/?oopsid=1619G619 [09:56] and why simple "Back" does not work for it? Bugzilla, trac, redmine, mantis allow to return to filled form. [10:03] anyone/ [10:11] mvo: it seems to be timing out due to lots of bug-branch links, or maybe just being slow getting the info about them. [10:12] mvo: not that knowing that helps you. I don't know of a way around that I'm afriad. [10:13] james_w: thanks. its a bit frustrating but I will try to find a way to get a overview of the branch changes in some other way [10:13] mvo: you could try the API [10:15] mvo: the page just loaded, slowly, for me [10:15] mvo: so maybe retrying will help [10:15] It worked for me earlier. Doesn't any more. [10:17] mvo: http://paste.ubuntu.com/445983/ [10:20] james_w: cool! do you have the code for this for me too? I will put it into my ~/bin [10:21] mwhudson: thanks, now I got it too, I did reload a couple of times before and it did not work. but I'm happy that its there now [10:22] mvo: http://paste.ubuntu.com/445985/ [10:22] probably want to add a sort in there [10:28] thanks james_w [10:40] Would OOPS-1619EA592 related to the OOPS above [10:40] https://lp-oops.canonical.com/oops.py/?oopsid=1619EA592 [10:48] ok it worked that time no OOPS [11:29] btw - is there a way to grab oops contents? lp-oops site asks for login/pass [11:30] LP becames pain in the ass when oops happens as whole bug report needs to be written again [11:53] hrw: Canonical employees can fetch oops content for you. They are restricted in case they contain private information [11:55] maxb: I got access to my oops but it is really tool for LP devs not for normal people. [11:55] yes, indeed [12:14] Hi there, people. How do I delete a project? [12:15] It's not possible to outright delete a project, I don't think [12:16] An admin will consider hiding it from the UI if there is no community interaction with it [12:17] maxb: There is simply NO community interaction with the project. Then, what is the step? Whom should I contact? [12:17] https://launchpad.net/launchpad/+addquestion [12:17] maxb: On launchpad or launchpad-registry? [12:17] I don't think it matters much === salgado-lunch is now known as salgado === MTeck-ricer is now known as MTecknology === matsubara is now known as matsubara-lunch [15:38] abentley: good morning! I have an import finished and I think I am ready to make my first lp recipe, does anything work yet? [15:38] jcastro, no [15:40] foiled again! [15:40] abentley: I just started to see the bits of UI on edge so I got excited [15:40] jcastro, they will be disabled again soon. [15:41] what is a lp recipe? [15:41] https://wiki.ubuntu.com/DailyBuilds/GettingStarted [15:41] maco: ^ [15:44] neat [16:09] nigelb: Did you get your branch stacking woes sorted in the end? [16:09] maxb: I renamed the old branch as -broken and pushed again [16:09] that works, I guess :-) [16:09] so the broken one is still there for figuring out what went wrong [16:10] if you want me to help triage the problem or help further in anyway, feel free to let me know :) === Ursinha is now known as Ursinha-lunch [16:39] \o/ PPA builders are fixed === matsubara-lunch is now known as matsubara === beuno is now known as beuno-lunch === yofel_ is now known as yofel === deryck is now known as deryck[lunch] [18:12] https://bugs.launchpad.net/ubuntu/ times out :( === beuno-lunch is now known as beuno === Ursinha-lunch is now known as Ursinha === deryck[lunch] is now known as deryck [19:42] hey lovely folks - I have a borked branch on launchpad - looks like a stacking issue (base branch got upgraded without the child or vice-versa) [19:42] lp:~maria-captains/maria/maria-5.1-optimizer-trace [20:01] hello, question about a ppa for a java application [20:01] this kind of packages always will fail when launchpad try to build it [20:02] it's there a way to not tell launchpad to not build it? [20:03] Don't upload it? [20:03] If you don't want Launchpad to build it, why are you uploading it? [20:06] soren: ? [20:06] Can you be more specific? [20:06] soren: because is a java application? [20:07] because is a jar file? [20:07] and from where does the jar file come from? [20:08] geser: a scala application called sbt [20:09] jfalvarez: If you don't want Launchpad to build it... Why do you upload it? [20:09] soren: build java> [20:09] ? [20:09] jfalvarez: who builds the jar file? [20:09] jfalvarez: I give up. [20:10] geser: the people who made sbt [20:11] geser: it's that relevant? [20:11] jfalvarez: yes [20:12] because your source package should contain the .java files and build the .jar file yourself. that way you know that the .jar file matches the code in the .java files and that you can build the .jar file if you need to patch the .java files (e.g. fix a bug) [20:13] geser: hum, you are right [20:13] so the orig file should have the source code instead of the jar [20:13] already compiled [20:13] right? [20:14] yes [20:16] jfalvarez: If the appliaction's license permits it, you could just ship the jars in a package without worrying about the source. [20:16] The requirement to build from source in Ubuntu and Debian is a policy matter. [20:17] ..and licensing, in many cases. [20:19] soren: new bsd license, you mean I can create a deb package and upload it to launchpad? [20:20] jfalvarez: I don't know if you can. It's possible to do it regardless of the license. === matsubara is now known as matsubara-afk [20:54] hihi. does anyone know if its possible to get the attachments marked as patches on a bug. +patches seems to work on a project level. I see LP does seperate attachments from patches in the ui... [20:56] stefanlsd: i'm pretty sure there's a "This attachment is a patch" checkbox [20:57] stefanlsd: edit the attachment and you should be able to mark it as a patch [20:58] sorry, was speaking about launchpadlib api specifically. i see bug_attachment type may be able to help === nhandler_ is now known as nhandler [22:04] hey guys - anybody around who can help me fix a branch? [22:08] th [22:10] no progress on i386 ppa builders? [22:10] directhex: they were working before [22:11] micahg, i'm showing 10/14 as disabled [22:11] maybe it's the recipe based builds? [22:11] directhex: yes, they were working a while ago [22:11] makes a change for someone who isn't me to break things [22:17] thumper: sup d00d [22:17] mtaylor: chasing crashes, you? [22:17] thumper: same... actually chasing deadlocks - slightly more annoying [22:25] mtaylor: yeah, deadlocks are the bane of multithreaded programming [22:51] Hi all, I uploaded a package to a PPA and realized I had forgotten something so I deleted the package from the PPA [22:52] It seems that a build is still pending. When is it safe to reupload the package (with the same version number)? === Ursinha is now known as Ursinha-afk [23:36] what would explode if amd64 builders were able to run binary-indep too, not just i386 builders? given the amd64 builders tend to spend a lot more time idle, it might help the frequent backlog issues [23:45] directhex: bug 158004 [23:45] Launchpad bug 158004 in Soyuz "Arch independent packages are only built on i386 (affected: 1, heat: 40)" [Low,Triaged] https://launchpad.net/bugs/158004 [23:49] micahg, so "probably nothing, but nobody's coded it" [23:49] directhex: sounds like it :) [23:49] directhex: No, there were some details. [23:50] jpds, not in that bug or its duplicates. are there further resources?