/srv/irclogs.ubuntu.com/2010/06/07/#launchpad.txt

BlackZFullFlannelJacke: tell me the build's link00:08
FullFlannelJackeI am at a loss as to how to package a python script02:44
FullFlannelJackecan anyone help?02:45
poolieFullFlannelJacke, pick an existing python script that's similar and copy from that02:45
FullFlannelJackeI dont know of any02:45
poolieFullFlannelJacke, try using bzr then02:50
poolieas an example02:50
micahgFullFlannelJacke: #ubuntu-packaging is a good place to get help, don't know how many people are around right now02:51
FullFlannelJackepackaging for Ubtunu is frustratingly difficult..It is actually harder to package my script than to write it.02:51
micahgFullFlannelJacke: maybe that's why there's a channel dedicated to it?02:52
FullFlannelJackeYeah.  I think Ubuntu needs to overhaul its packaging system.  other distros are so much easier02:53
nigelbI can't branch my code, does anyone have any clue why? bzr branch lp:~nigelbabu/ubuntu-review-overview/report-debian03:03
spivnigelb: what error do you get?03:04
nigelbbzr: ERROR: Not a branch: "bzr+ssh://bazaar.launchpad.net/~nigelbabu/ubuntu-review-overview/trunk/".03:04
nigelbI recently changed the owner of the trunk to the team instead of me,which started the whole problem03:04
spivHmm, sounds like the stacked-on information in your branch is out-of-date.03:05
nigelber, how do I fix that?03:05
spivPerhaps "bzr reconfigure lp:~nigelbabu/ubuntu-review-overview/report-debian --stacked-on=..."03:07
spivOr edit sftp://bazaar.launchpad.net/~nigelbabu/ubuntu-review-overview/report-debian/.bzr/branch/branch.conf by hand :/03:07
nigelbspiv: copy paste from that? what does the last bit do?03:07
spivEr, you'd need to replace the "..." with the new location of the trunk03:08
spiv/~ubuntu-reviewers/ubuntu-review-overview/trunk I think?03:09
nigelbyes, ah! That makes sense :)03:09
nigelbspiv: the bzr reconfigure failed :(03:11
nigelbsame error03:11
spivnigelb: https://bugs.edge.launchpad.net/launchpad-code/+bug/377519 is the relevant bug, btw03:11
ubot5Launchpad bug 377519 in Launchpad Bazaar Integration "Stacked on location breaks if the stacked upon branch is renamed (affected: 3, heat: 3)" [High,Triaged]03:11
nigelbspiv: so, is there a fix for me? delete and push aagain?03:12
spivnigelb: that's a possibility, but the workaround in comment #1 on that bug should work03:13
nigelbI'll try, I don't understand parts of it, I'll ask when I get there03:13
spivnigelb: sounds good.03:15
nigelbspiv: 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 work03:16
spivnigelb: try sftp://nigelbabu@bazaar.launchpad.net/...03:18
nigelbspiv: ssh: Could not resolve hostname bazaar.launchpad.net/~nigelbabu: Name or service not known03:19
nigelbssh: Could not resolve hostname bazaar.launchpad.net/: Name or service not known03:19
spiv!03:20
spivOh, hmm, which program are you using?03:20
spivI think that URL should work ok with lftp, and maybe even nautilus03:20
nigelbI'm just using terminal03:21
spivIf you're using the 'sftp' command, it's a bit less friendly.03:21
spivYou'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
nigelblemme try03:22
spivIf you install lftp, it's also a terminal command, but it's much easier.03:22
nigelbok, so get-ing that file03:24
spivI assume from the branch that you're using Ubuntu... are you using the GNOME desktop?03:24
nigelbyes03:25
spivIf 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
nigelberr nautilius cannot handle such rquests :(03:25
nigelb"Nautilus cannot handle this kind of location." - to be exact03:25
spivOh :(03:25
spivOh, hmm,03:25
spivTry adding the username as before (nigelbabu@)03:26
* nigelb hugs spiv 03:26
nigelbthat worked03:26
spivnigelb: hooray :)03:27
spivNow 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
nigelbI did the editing03:28
spivOk, now to do the second part.03:29
nigelbmaxb says something about going to python interpreter03:29
nigelbhow do I do "open the branch, write-lock it, unlock it"03:29
nigelbI have no knowledge of bzrlib, is there documentation somwehre?03:29
spivThe simplest way would be to push to the branch.03:30
nigelbYay!03:31
nigelboh, wait, same problem03:31
nigelbno, something different03:31
nigelbhttp://paste.ubuntu.com/445856/03:31
nigelbspiv: can you help me do that python thing, looks like that needs to be done :(03:34
spivThat's very weird.03:35
spivI don't think the Python think will help with that, but I'm looking now03:35
nigelbok :)03:35
nigelbI shall run out and be back in 2 minutes03:36
spivnigelb: http://paste.ubuntu.com/445857/ is a Python script to do that03:37
spiv(I'll add it to the bug now)03:37
nigelbspiv: yay, thank you!03:43
nigelbspiv: the argument must be the sftp url?03:46
nigelboh, I figured it out eventually :)03:47
spivnigelb: or the lp: URL03:48
FullFlannelJackeNo one is in ubuntu-packaging.  Can someone here help me?03:49
nigelbFullFlannelJacke: what is it about?03:49
FullFlannelJackeneed to package a python script I wrote and nothing i try works03:50
FullFlannelJackehave read all the guides03:50
nigelbwell, #ubuntu-packaging is the place that does that.  #lauchpad is only about launchpad related stuff03:50
FullFlannelJackewell I plan on uoloading it to my PPA03:51
FullFlannelJackeand no one is ever in #ubuntu-packaging03:51
nigelbstill, we can't help you here regarding that.  Remember its the weekend, lots of people might be away03:51
nigelbYou might want to try tomorrow03:51
nigelbspiv: well, I did something exceedingly stupid03:51
nigelbspiv: on the first rename of the stacked-on, I made a mistake03:52
nigelbnow, I correct it, but touch-branch.py throws out errorrs03:52
spivnigelb: pastebin?03:53
nigelbhttp://paste.ubuntu.com/445860/03:54
spivWow03:56
spivOk, so the immediate issue is you have a typo in your branch.conf03:56
spivDelete the second line03:57
spivThere's a secondary issue that the server really shouldn't be giving you a traceback like that!03:58
spivI know what's going on with the secondary issue, I'll file a bug about that.03:58
nigelbspiv: you have another issue.  Its not me adding line 2 "trunk"04:07
nigelbits launchpad or bazaar or something else doing it04:07
spivOh wow, very exciting.04:08
nigelbevery time I run the script, it fails, gives me the error and there is trunk in that file04:08
spivI wonder if it is caused by a trailing newline? :/04:10
spivnigelb: ok, how about this04:11
nigelbI removed the trailing newline every time :(04:11
spiv:(04:12
nigelbCan I just remove the stacked on location?04:12
nigelbor delete the branch and push again?04:12
spivnigelb: actually04:13
spivnigelb: rename the branch, rather than delete04:13
spivnigelb: so we can diagnose it detail later04:13
nigelbspiv: just push to new location you mean?04:14
spivnigelb: but yes, quickest fix at this point would be push again04:14
nigelbokay :)04:14
spivnigelb: I mean, use the web UI to rename to branch to e.g. report-debian-broken04:14
spivAnd then just "bzr push"04:14
nigelbAHH, ok04:14
spivOk, I need to go have lunch right now :)04:15
spivThanks for your patience!04:15
nigelbthanks for helping out :)04:15
johnbrondumhi guys05:57
johnbrondumwondering if anyone had time to help out with https://answers.launchpad.net/malone/+question/11206405:58
johnbrondumthank you05:58
spmjohnbrondum: 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
spivnigelb: I've filed <https://bugs.edge.launchpad.net/launchpad-code/+bug/590628> about your bug(s)06:01
ubot5Launchpad 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:01
lifelessspiv: thats a fun one06:19
=== MTecknology is now known as MTeck-ricer
Mavrik-Hi, is this the right place to ask questions about building packages in PPA?08:59
tsimpsonMavrik-: 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 place09:01
Mavrik-tsimpson, thanks, will ask there09:02
directhex80% of the i386 ppa builders are still down?09:29
StevenKdirecthex: It's being worked on09:29
cos^pretty slow indeed. my package is still waiting to built after 4 days :-/09:36
cos^luckily it doesn't have too many users09:36
mvohello! 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 basicly09:41
hrwI reported bug against gcc-4.5 and got (Error ID: OOPS-1619G619) - do I have to retype whole bug report?09:55
ubot5https://lp-oops.canonical.com/oops.py/?oopsid=1619G61909:55
hrwand why simple "Back" does not work for it? Bugzilla, trac, redmine, mantis allow to return to filled form.09:56
hrwanyone/10:03
james_wmvo: it seems to be timing out due to lots of bug-branch links, or maybe just being slow getting the info about them.10:11
james_wmvo: not that knowing that helps you. I don't know of a way around that I'm afriad.10:12
mvojames_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 way10:13
james_wmvo: you could try the API10:13
mwhudsonmvo: the page just loaded, slowly, for me10:15
mwhudsonmvo: so maybe retrying will help10:15
wgrantIt worked for me earlier. Doesn't any more.10:15
james_wmvo: http://paste.ubuntu.com/445983/10:17
mvojames_w: cool! do you have the code for this for me too? I will put it into my ~/bin10:20
mvomwhudson: 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 now10:21
james_wmvo: http://paste.ubuntu.com/445985/10:22
james_wprobably want to add a sort in there10:22
mvothanks james_w10:28
gnomefreakWould OOPS-1619EA592 related to the OOPS above10:40
ubot5https://lp-oops.canonical.com/oops.py/?oopsid=1619EA59210:40
gnomefreakok it worked that time no OOPS10:48
hrwbtw - is there a way to grab oops contents? lp-oops site asks for login/pass11:29
hrwLP becames pain in the ass when oops happens as whole bug report needs to be written again11:30
maxbhrw: Canonical employees can fetch oops content for you. They are restricted in case they contain private information11:53
hrwmaxb: I got access to my oops but it is really tool for LP devs not for normal people.11:55
maxbyes, indeed11:55
bilalakhtarHi there, people. How do I delete a project?12:14
maxbIt's not possible to outright delete a project, I don't think12:15
maxbAn admin will consider hiding it from the UI if there is no community interaction with it12:16
bilalakhtarmaxb: There is simply NO community interaction with the project. Then, what is the step? Whom should I contact?12:17
maxbhttps://launchpad.net/launchpad/+addquestion12:17
bilalakhtarmaxb: On launchpad or launchpad-registry?12:17
maxbI don't think it matters much12:17
=== salgado-lunch is now known as salgado
=== MTeck-ricer is now known as MTecknology
=== matsubara is now known as matsubara-lunch
jcastroabentley: 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
abentleyjcastro, no15:38
jcastrofoiled again!15:40
jcastroabentley: I just started to see the bits of UI on edge so I got excited15:40
abentleyjcastro, they will be disabled again soon.15:40
macowhat is a lp recipe?15:41
jcastrohttps://wiki.ubuntu.com/DailyBuilds/GettingStarted15:41
jcastromaco: ^15:41
maconeat15:44
maxbnigelb: Did you get your branch stacking woes sorted in the end?16:09
nigelbmaxb: I renamed the old branch as -broken and pushed again16:09
maxbthat works, I guess :-)16:09
nigelbso the broken one is still there for figuring out what went wrong16:09
nigelbif you want me to help triage the problem or help further in anyway, feel free to let me know :)16:10
=== Ursinha is now known as Ursinha-lunch
micahg\o/ PPA builders are fixed16:39
=== 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]
asachttps://bugs.launchpad.net/ubuntu/ times out :(18:12
=== beuno-lunch is now known as beuno
=== Ursinha-lunch is now known as Ursinha
=== deryck[lunch] is now known as deryck
mtaylorhey 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
mtaylorlp:~maria-captains/maria/maria-5.1-optimizer-trace19:42
jfalvarezhello, question about a ppa for a java application20:01
jfalvarezthis kind of packages always will fail when launchpad try to build it20:01
jfalvarezit's there a way to not tell launchpad to not build it?20:02
sorenDon't upload it?20:03
sorenIf you don't want Launchpad to build it, why are you uploading it?20:03
jfalvarezsoren: ?20:06
sorenCan you be more specific?20:06
jfalvarezsoren: because is a java application?20:06
jfalvarezbecause is a jar file?20:07
geserand from where does the jar file come from?20:07
jfalvarezgeser: a scala application called sbt20:08
sorenjfalvarez: If you don't want Launchpad to build it... Why do you upload it?20:09
jfalvarezsoren: build java>20:09
jfalvarez?20:09
geserjfalvarez: who builds the jar file?20:09
sorenjfalvarez: I give up.20:09
jfalvarezgeser: the people who made sbt20:10
jfalvarezgeser: it's that relevant?20:11
geserjfalvarez: yes20:11
geserbecause 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:12
jfalvarezgeser: hum, you are right20:13
jfalvarezso the orig file should have the source code instead of the jar20:13
jfalvarezalready compiled20:13
jfalvarezright?20:13
geseryes20:14
sorenjfalvarez: If the appliaction's license permits it, you could just ship the jars in a package without worrying about the source.20:16
sorenThe requirement to build from source in Ubuntu and Debian is a policy matter.20:16
soren..and licensing, in many cases.20:17
jfalvarezsoren: new bsd license, you mean I can create a deb package and upload it to launchpad?20:19
sorenjfalvarez: I don't know if you can. It's possible to do it regardless of the license.20:20
=== matsubara is now known as matsubara-afk
stefanlsdhihi. 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:54
nailuj24stefanlsd: i'm pretty sure there's a "This attachment is a patch" checkbox20:56
micahgstefanlsd: edit the attachment and you should be able to mark it as a patch20:57
stefanlsdsorry, was speaking about launchpadlib api specifically. i see bug_attachment type may be able to help20:58
=== nhandler_ is now known as nhandler
mtaylorhey guys - anybody around who can help me fix a branch?22:04
mtaylorth22:08
directhexno progress on i386 ppa builders?22:10
micahgdirecthex: they were working before22:10
directhexmicahg, i'm showing 10/14 as disabled22:11
micahgmaybe it's the recipe based builds?22:11
micahgdirecthex: yes, they were working a while ago22:11
directhexmakes a change for someone who isn't me to break things22:11
mtaylorthumper: sup d00d22:17
thumpermtaylor: chasing crashes, you?22:17
mtaylorthumper: same... actually chasing deadlocks - slightly more annoying22:17
thumpermtaylor: yeah, deadlocks are the bane of multithreaded programming22:25
alf__Hi all, I uploaded a package to a PPA and realized I had forgotten something so I deleted the package from the PPA22:51
alf__It seems that a build is still pending. When is it safe to reupload the package (with the same version number)?22:52
=== Ursinha is now known as Ursinha-afk
directhexwhat 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 issues23:36
micahgdirecthex: bug 15800423:45
ubot5Launchpad bug 158004 in Soyuz "Arch independent packages are only built on i386 (affected: 1, heat: 40)" [Low,Triaged] https://launchpad.net/bugs/15800423:45
directhexmicahg, so "probably nothing, but nobody's coded it"23:49
micahgdirecthex: sounds like it :)23:49
jpdsdirecthex: No, there were some details.23:49
directhexjpds, not in that bug or its duplicates. are there further resources?23:50

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