/srv/irclogs.ubuntu.com/2009/03/22/#launchpad.txt

=== ampelbein is now known as Ampelbein
=== abentley1 is now known as abentley
=== abentley1 is now known as abentley
=== abentley1 is now known as abentley
=== Ampelbein is now known as ampelbein
=== Andre_Gondim is now known as Andre_Gondim-afk
BrucevdkQuestion, anonymous users cannot upload a .po file even if a project is set to Open?08:45
BrucevdkWe have a translator that does not wish to use the LP service for translating, but wouldn't mind uploading the .po file (so others don't think a translation is unavailable)08:46
wgrantBrucevdk: Correct. An LP account is very easy to create, so what is the problem with that?08:48
Brucevdkwgrant: well actually I didn't mean completely anonymous (but not a member of the project), he is logged in with his LP account and getting "Permission denied"08:49
BrucevdkOh wait a second, turns out you have to click a language first and then upload08:50
BrucevdkNevermind, still "Permission denied"08:51
BrucevdkSorry, not "Permission denied" it works fine. Forgive me, I just woke up :-)08:52
wgrantSo it works?08:53
Brucevdkwgrant: correct08:53
wgrantI've little experience with that part of LP.08:53
Brucevdkso do I :-)08:53
=== Ampelbein is now known as ampelbein
pro-rsoftis there a way to mark all bugs that are marked "Committed" to "Released"?11:25
LarstiQpro-rsoft: I don't know about the webinterface, but via the api, yeah11:32
pro-rsofthmm, how11:33
pro-rsoftI dont want to manually flag tons of bugs11:33
LarstiQpro-rsoft: something like tools/check-newsbugs.py from bzr11:35
pro-rsoftok11:36
pro-rsofthmm how do I iterate over the bugs in one project and not in all projects11:48
LarstiQpro-rsoft: bugs/<project> ?11:50
pro-rsoftin the api, I mean11:51
pro-rsoft(im using python)11:51
LarstiQpro-rsoft: I don't really know the api myself, and check-newsbugs.py works from the other direction11:55
intellectronicapro-rsoft: [bugtask.status for bugtask in project.searchTasks()]11:55
pro-rsoftintellectronica, thanks11:55
pro-rsoftLarstiQ, I cant access it11:55
pro-rsoftits giving me a "let us known in #launchpad"11:55
intellectronica[bugtask.status for bugtask in project.searchTasks(status='Fix Commited')] even :)11:56
pro-rsoftsweet11:56
intellectronicapro-rsoft: have you seen https://launchpad.net/+apidoc/ ?11:56
pro-rsoftintellectronica, I have.11:56
pro-rsoftbut didnt find that one11:57
intellectronicacool11:57
pro-rsofthmm11:59
pro-rsoftI did task.status = "Fix Released"11:59
pro-rsoftbut it doesnt show up yet on the website12:00
pro-rsofthmm when I check task.status again it didndt change12:01
pro-rsoftwhen I use transitionToStatus('Fix Released') I get TypeError: __call__() takes exactly 1 argument (2 given)12:02
thekornit's either task.transitionToStatus(status="Fix Released")12:04
pro-rsoftyeah, just noticed that12:05
pro-rsoftbut it doesnt change yet12:05
pro-rsofton the website.12:05
thekornor task.status = "Fix Released"; task.lp_save()12:05
pro-rsoftah.12:05
* pro-rsoft tries that12:05
pro-rsoftnope12:06
pro-rsoftno change12:06
pro-rsofton the website they still show up as "Fix Committed"12:06
LarstiQpro-rsoft: you're not sneakily changing some other projects bugs? ;)12:07
pro-rsoftuh12:07
pro-rsofttasks=lp.projects["panda3d"].searchTasks(status='Fix Committed')12:08
pro-rsoftfor task in tasks:12:08
pro-rsoft   if "1.6.0" in str(task.milestone):12:08
pro-rsoft     task.status="Fix Released"; task.lp_save()12:08
pro-rsoftwhen I call that again, I get no results (there are no tasks "Fix Committed") anymore12:09
pro-rsoftbut look here https://bugs.launchpad.net/panda3d/+bugs?search=Search12:09
maxbpro-rsoft: Perhaps you inadvertently ran the API script against Launchpad staging?12:14
pro-rsofthm?12:14
pro-rsoftlemme see12:14
pro-rsoftyes, I did. darn.12:15
pro-rsoftthanks12:15
pro-rsoftexcellent, it works now. thanks alot12:25
pro-rsoftwhen trying to delete something, I get 500 Internal Server Error12:30
pro-rsoftI just use release.delete()12:31
intellectronicapro-rsoft: please report a bug so that someone can take a look at it tomorrow12:33
pro-rsofthm12:33
pro-rsoftits not that important12:33
pro-rsoftwow, I *do* get a lot of emails when changing a lot of bug statuses12:34
pro-rsoftis there a way to do it without sending an email?12:34
=== abentley1 is now known as abentley
=== pro-rsoft is now known as pro-rsoft|away
=== pro-rsoft|away is now known as pro-rsoft
=== _neversfelde is now known as neversfelde
=== abentley1 is now known as abentley
_MMA_Why do I have these "lp:~vcs-imports" branches on a couple of projects of mine? Are they automated or what?14:40
LarstiQ_MMA_: they are auotmated14:41
=== abentley1 is now known as abentley
_MMA_LarstiQ: Do you know for what purpose?14:42
LarstiQ_MMA_: they are import into bzr from a foreign vcs when so requested in the project settings14:42
LarstiQimported even14:42
_MMA_LarstiQ: And if there is no "foreign vcs" as the projects live entirely on LP/BZR?14:43
LarstiQ_MMA_: could you name one or more of these projects that's happening for?14:45
_MMA_LarstiQ: https://code.launchpad.net/breathe-icon-set14:45
_MMA_This project is managed entirely on LP/BZR. I just don't see the need for the import branches.14:46
LarstiQ_MMA_: has this always been the case?14:47
_MMA_That the project has always been on LP/BZR? Yes. From the start.14:47
LarstiQ_MMA_: right, it looks like a configuration error14:49
LarstiQThis branch is an import of the Subversion branch from https://code.launchpad.net/~breathe-dev/breathe-icon-set/debian-packaging.14:49
LarstiQfor example14:49
* LarstiQ tries to find where the imports are configured14:50
_MMA_To me, that says at one time it used Subversion. Which is not the case. I'm just trying to see why there are here and if they are just gonna sit here, without use, how to get rid of them.14:51
=== ursula is now known as Ursinha
LarstiQ_MMA_: to me that says someone filled in the bzr location in a config section "where to import from" and chose svn as vcs type.14:52
LarstiQunfortunately, I have no access to those settings on ~breathe-dev, and I'm not finding something like that on a project I do yet14:52
* LarstiQ tries help.launchpad.net14:53
* LarstiQ is looking at https://help.launchpad.net/Code/Imports14:54
LarstiQaha, the process has changed since I last did anything with it14:54
* _MMA_ doesn't remember filling anything in with Subversion.14:55
_MMA_(and I made no request)14:55
LarstiQ_MMA_: it needen't have been you14:56
LarstiQ_MMA_: does https://edge.launchpad.net/breathe-icon-set/trunk/+edit do anything for you? I have no access14:56
_MMA_Yes. Since it's my project. :)14:57
LarstiQ_MMA_: also, I see Ted Gould has done some things for breathe-dev?14:57
LarstiQ_MMA_: he is also listed in the bzr-svn credits fwiw14:57
LarstiQ_MMA_: so, maybe talk to him :)14:57
_MMA_Ted helped me with some scripting. But yeah. He would be a good source.14:58
LarstiQ_MMA_: anyway, those two vcs-imports branches are bogus, if you can delete them that's what I would do.14:59
LarstiQ_MMA_: if not, I think filing a question against the imports team to ask for removal.14:59
_MMA_Doesn't look like I can. Yeah. Ill poke some of those guys tomorrow. Thanx for your time.15:00
LarstiQnp, I needed a break from studying :)15:00
_MMA_;)15:01
BUGabundohay15:45
BUGabundoquestion: what's the easiest way (aka nongeek) to add PPA keys ?15:45
kikoBUGabundo, guess using the instructions on help.l.n15:46
BUGabundosudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com15:46
BUGabundoI use this15:46
BUGabundobut I can't keep telling new user on my class to do that15:47
BUGabundodon't want to get them scared with terminal15:47
BUGabundoshould Software Sources have a field to enter key as well as PPA line?15:48
BUGabundohey Dupes with AJAX! nice work16:04
LarstiQBUGabundo: provide a script for them that does that?16:38
BUGabundohttps://bugs.edge.launchpad.net/ubuntu/+source/software-properties/+bug/3878116:39
ubottuUbuntu bug 38781 in software-properties "software-properties should offer field to insert PPA signed key" [Wishlist,Triaged]16:39
=== abentley1 is now known as abentley
gnomefreakanyone give me an idea on what OOPS-1177EC92 is?17:53
intellectronicagnomefreak: how did you get this ... using the api?17:54
intellectronicaoh no, it's the web ui17:55
gnomefreakyep17:55
gnomefreakits pissing me off badle too :(17:55
intellectronicabasically, you were trying to edit a bug task that doesn't exist17:55
intellectronicawhat were you trying to do?17:55
gnomefreakchange firefox to firefox-3.0 and comment17:55
gnomefreakand status to incomplete17:56
intellectronicayou mean, change the package of an ubuntu task?17:56
gnomefreakchange package from firefox to firefox-3.0 since firefox ==2.0 and is no longer supported. Without changing the package i still get the oops17:57
intellectronicaso, you already changed the package, and after it changed, it redirected you to the wrong page?17:57
gnomefreakit never changed. when i hit change to apply it gives me the oops17:57
gnomefreaksee bug 13982917:58
ubottuLaunchpad bug 139829 in firefox-3.0 "maximize/minimize with titlebar" [Undecided,Incomplete] https://launchpad.net/bugs/13982917:58
intellectronicagnomefreak: it did change17:58
gnomefreakwth17:58
gnomefreakit never told me it did it just oopsed17:59
gnomefreakintellectronica: thanks17:59
intellectronicagnomefreak: i can reproduce this on staging. care to file a bug?18:00
gnomefreakok against launchpad?18:01
intellectronicagnomefreak: against malone18:01
intellectronicathanks!18:01
gnomefreakintellectronica: its filed if more info is needed let me know18:07
intellectronicagnomefreak: thanks a lot. no, i know how to reproduce it so should be easy to tackle18:09
gnomefreakintellectronica: ok thanks18:09
iahello. i have very strange issue with ppa. At my desktop machine package compiles and builds successfully, but on ppa i've got error on build - here related part of build log - http://paste.ubuntu.com/135550/ - and i guess, that problem in 167 line : configure: error: C compiler cannot create executables. however, i would be very appreciate for any clues about how to fix this.19:14
=== ejat is now known as e-jat
maxbia: That is pretty strange.  Have you tried building the package in a clean minimal chroot (e.g. pbuilder / prevu / sbuild) ?19:47
iamaxb: of course. as have been said, package builds successfully at my desktop - i builds via debuild/pbuilder19:49
geseria: add " || cat config.log" after your configure call in debian/rules so you get more info why it fails19:50
maxbgeser: there'll need to be an && exit 1 after that, no? (Or the build will continue despite the error, potentially building broken packages?)19:55
maxbWell, I guess make is going to get upset, usually19:55
geserif configure fails, there won't be a Makefile so it will fail soon anyways19:55
iageser: em, maybe i'm not understand something - in that case log file will be created at ppa server (where i can't direct access) and will be deleted after building (will not?), so what's the point? and how can i get access to this log file at server?19:56
geseria: the idea is to get the content of config.log into the build log so you can actually see what's the problem is19:57
iageser: oh, i see, thanks. and just for check - maybe, do you mean something like that " 2>&1 | tee config.log" ?20:02
geseria: no, as configure uses that file itself20:03
geseryou have the output of configure already in the build log, what's missing is the contents of config.log if configure fails20:04
iageser: yep, i've just got it - just forget that || means logical "or" :-)20:05
=== ampelbein is now known as Ampelbein
calcanyone know how to use launchpadlib to determine which bug_tasks are upstream bug tasks versus ubuntu bug tasks?22:00
intellectronicacalc: if the task's target is not an ubuntu package but a project, then it's an upstream task22:06
calcintellectronica: ah ok i thought that might be the case once i realized i saw a bunch of status that looked like launchpad status, only some of them looked like bugzilla status22:07
* calc is running a check to find bugs he can't find via the website due to a bug22:07
calcit takes a while since launchpadlib is a LOT slower than using the website directly22:08
intellectronicacalc: it is? you mean the search is slower?22:08
calcprobably doesn't help that I have to iterate over 2000 bugs to get the info i need22:08
calcintellectronica: hide_upstream hides bugs that have upstream tasks that are invalid22:08
intellectronicayes, i'm well aware of that bug :-/22:09
calchide_upstream in the web interface i mean22:09
calcso i'm having to iterate over all OOo bugs to find ones that have upstream tasks that are invalid22:09
calcthen print those out so i can make sure i work on those bugs22:09
intellectronicawell, hide_upstream in launchpad lib behaves exactly the same22:09
calcsince there is no other way to find them afaict22:09
intellectronicaright. well, at least you've got that :)22:10
calcintellectronica: i didn't see a hide_upstream in launchpadlib maybe i just didn't look in the right place yet22:10
intellectronicaoh, maybe it's not exported yet22:11
calcah22:11
calcintellectronica: any hope of getting hide_upstream to not hide invalid bugs anymore?22:11
intellectronicaanyway, i'll try to see if we can schedule a fix for hide_upstream so that you don't have to iterate over all the bugs, but it's nice that at least for now you can solve this with lplib22:11
calccurrently hide_upstream hides them also resolved_upstream doesn't show them, so afaict there is no way to see them short of writing python22:12
calcintellectronica: great :)22:12
calci'm pretty sure this will work, its just taking a very long time since it is probably also iterating over all OOo closed bugs :\22:12
calci know there is a least one bug currently in that status so i can verify my code works22:13
calcer whoa22:13
calcit returned nothing22:13
intellectronicacalc: you can pass a list of statuses you want to filter to searchTasks22:13
calcok22:14
calcintellectronica: i do that before runing getBugTasks() on the source package?22:14
intellectronicacalc: my_package.searchTasks(status=['New', 'Invalid', 'Confirmed']) etc'...22:15
calcok22:16
calcintellectronica: it appears that if you set a project status to invalid instead of linking it is treated as a bug_task not as a bug_watch22:20
calceg https://bugs.edge.launchpad.net/ubuntu/+source/openoffice.org/+bug/8900522:20
ubottuUbuntu bug 89005 in openoffice.org-qatesttool "[debian] [1:3.0.1-8] oosmoketest fails to run" [Undecided,Invalid]22:20
calci get no results from that for bug_watches22:20
calchowever if i search for it with hide_upstream in the gui its hidden22:20
calci get all three tasks back as bug_tasks22:21
calcintellectronica: so is that a different bug?22:21
intellectronicacalc: interesting, so, it used to have a bugwatch but that disappeared when you changed the status?22:21
calcit had a new need to link bit22:22
calci never linked it upstrema afaicr22:22
calcso when i realized it was going to be fixed in debian by just deleting it in this case i marked it invalid22:23
calceven with it marked invalid it does not show up with hide_upstream in web interface, and now in launchpadlib it just shows up as a regular task22:23
calcso i didn't know if the two bugs are related to each other22:24
=== Speedator1 is now known as Speedator
intellectronicayes, it looks like a regular task to me in the web ui22:24
calcif tasks that are not part of ubuntu are supposed to show up in launchpadlib as bug_watches then there is an issue there22:24
intellectronicacalc: i'm not sure what the expected behaviour is, so if you think that this is a bug, please file one22:24
intellectronicacalc: tasks never show as bug watches. tasks can be assigned a bug watch, which sets their status22:25
calcintellectronica: well i guess as far as the launchpadlib is concerned i was wondering how do i get it to show me what the web interface thinks of as far as upstream things22:25
intellectronicabut they are still tasks22:25
calcintellectronica: and the web interface appears to think that the openoffice task on this bug is an upstream item22:25
calcintellectronica: or is that just the singluar bug the fact the web interface thinks it is upstream when it isn't at all22:26
intellectronicacalc: i'm not sure i understand22:26
calcso if i do this search:22:26
calchttps://bugs.edge.launchpad.net/ubuntu/+source/openoffice.org/+bugs?orderby=-datecreated&field.status%3Alist=TRIAGED&field.status_upstream=hide_upstream22:26
calcit does not show bug 8900522:27
ubottuLaunchpad bug 89005 in openoffice.org-qatesttool "[debian] [1:3.0.1-8] oosmoketest fails to run" [Undecided,Invalid] https://launchpad.net/bugs/8900522:27
calcyet 89005 is triaged and is not upstream22:27
calcaccording to my understanding of what you just said hide_upstream should only hide bugs that have bug watches on them?22:27
intellectronicabut it does appear to have an upstream task22:28
intellectronicano, i don't think that's the case. i think it hides bugs with task on an upstream project22:28
calcah i see so the functionality between what i am seeing in launchpadlib and the web ui are different, the lib deals with tasks and bugwatches, the gui deals (primarily) with what type of task is on the bug22:30
intellectronicacalc: not really. lplib uses exactly the same search as the web ui22:31
=== sale_ is now known as sale
intellectronicacalc: bug watches have nothing to do with hide_upstream. upstream simply predicates on a task's bug having another task which is on a product22:31
intellectronicabug watches are a mechanism for allowing an external bug tracker set the status of a task22:32
intellectronicaupstream projects need not have a bug watch22:32
calchow do i determine in lib which things the web thinks are upstream tasks?22:32
intellectronicaau contraire, the really cool ones are tracked in Launchpad ;)22:32
calcso that i can check anything it thinks it is an upstream task for status invalid and then display that22:32
intellectronicafor each task, iterate over task.bug.bug_tasks, and if at least one of them is on a product (rather than on a package or on ubuntu itself) then it's the upstream task22:34
calcok22:34
calcintellectronica: how do i determine if it is a product?22:36
calcowner?22:36
wgranttype()?22:38
wgrantOr resource_type_link.22:38
intellectronicacalc: examine task.target.resource_type_link22:39
intellectronicatask.target.resource_type.link.split('#')[1] == 'project' should do the trick22:41
calcah cool :)22:41
calci printed resource_type_link and it showed up as:22:43
calchttps://api.edge.launchpad.net/beta/#bug_task22:43
calcoh oops22:43
calci need to add target to my code22:43
calcnow that worked :)22:44
calcintellectronica: thanks for all the help! :)22:48
calccool only one bug affected, at least now i know :)23:04
calcactually i had a bug in my script i found some now23:24
ronnyyo23:29
ronnygmb: sup?23:29
calcintellectronica: wrt the hide_upstream issue in the web interface, it appears it only effectively hides bugs that are project invalid that are not bug watched23:49
calcintellectronica: bug watched invalid bugs show up in the resolved_upstream list23:49

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