sladenlots of "Sorry, there was a problem connecting to the Launchpad server. " timeouts people....00:15
jmlsladen, it should be better now.00:20
sladenjml: groovy;  out of interest, is there a reason was it was unwell before?00:32
jmlsladen, intermittent reliability issues with one of our appservers. It's a problem we're aware of and are trying to fix.00:33
sladenjml: vague, but ta00:40
jmlsladen, it's as deep as my knowledge goes, I'm afraid.00:40
pooliemwh i don't understand your change to bug 40141201:48
ubottuLaunchpad bug 401412 in launchpad-code "error annotating large file" [Medium,Confirmed] https://launchpad.net/bugs/40141201:48
pooliemarking it invalid in loggerhead01:48
pooliebut i guess you can do what you want...01:48
mwhudsonpoolie: the description is "error annotating large file"01:49
mwhudsonpoolie: in vanilla loggerhead you won't get an erro01:49
poolieoh i see01:49
mwhudsonpoolie: just in the one on launchpad, because of the relatively low proxytimeout01:49
poolieit'll just run forever...?01:49
poolieor until the server or client times out01:49
mwhudson(well, for about 40s)01:49
mwhudson(in this case)01:49
pooliejam said something about reworking annotate to deliver some results incrementally01:50
poolienot sure if that's done or landed yet01:50
mwhudsonthat would be cool01:50
poolieif it was, you could potentially trickle it out through ajax01:50
pooliemay be nontrivial01:50
mwhudsonalthough it would probably require some loggerhead changes to take advantage of01:50
mwhudsonnontrivial but worth it would be my guess01:50
pooliecould you answer <https://answers.edge.launchpad.net/loggerhead/+question/76997> if it's easy?01:52
pooliemaybe just 'utsl, patches welcome'01:52
pooliealso, while i'm bugging you01:52
poolieon launchpad, does loggerhead directly listen for http from the proxy01:53
poolieor does it run inside apache?01:53
mwhudsonpoolie: bugging me works much better if you say my name repeatedly :)02:30
mwhudsonpoolie: requests go internet --> apache on the codehost --> loggerhead on it's server02:31
mwhudsonpoolie: that question looks pretty easy to answer, thanks for the nudge02:31
poolieapache is acting as a proxy?02:32
wgrantIs staging meant to not be updating?02:42
=== hggdh_ is now known as hggdh
spivmwhudson: as a tangent from <https://bugs.launchpad.net/bzr/+bug/400978> it looks like lp:~vcs-imports/wine/git-trunk ought to be made the development focus?03:13
ubottuUbuntu bug 400978 in bzr "bzr: ERROR: exceptions.TypeError: clone() got an unexpected keyword argument 'repository_policy'" [Undecided,Incomplete]03:13
mwhudsonspiv: you need to talk to the wine maintainer about that, not me03:14
spivmwhudson: ok.  Thought I'd try you as I know where to find you (and it's an import :)03:14
spivmwhudson: thanks03:14
=== _SamB_ is now known as SamB
SamBhmm, I'm seeing a lot of missing tabs on https://bugs.launchpad.net/dosemu ...04:22
lifelesswhere do you go to add a milestone?04:41
SamBcan I unrequest a review by a specific person?04:45
wgrantlifeless: A series, for optimum confusion.04:46
lifelesswgrant: this is odd; for the first release in a new series when the series hasn't branched yet04:46
wgrantlifeless: But the series does exist.04:47
wgrantIt just doesn't have a separate branch at this time.04:47
wgrantI can plan several series ahead.04:47
lifelessits odd :)04:47
happyaroncould anybody take some attention to this question? https://answers.launchpad.net/launchpad/+question/7726604:51
spmhappyaron: yeah, will do. hopefully today, but am stretched a tad thin atm.04:56
happyaronspm: they told me to wait for a system admin to do that at 07-1704:57
spmhappyaron: yes. we don't work weekends.04:58
=== jon is now known as Guest61144
pooliejml/thumper - am i correct in thinking that merge proposals have a source revision that wants to merge?08:16
pooliehm i could use the source...08:16
=== micahg1 is now known as micahg
thumperpoolie: well...08:33
thumperpoolie: it is right now, the intent to land the work on one branch onto another08:33
thumperpoolie: internally we store the rev_id of the source branch that is approved08:33
thumperpoolie: to offer controlled landing of trusted reviewed code08:34
poolieso by 'that is approved' do you mean captured at the time of the approval?08:34
poolieor of the mp creation?08:34
spivthumper: what about the original rev_id of the proposal?08:34
spivi.e. the revision_id of a merge directive (if created by email), or the tip of the branch at mp creation time (if created by web)?08:35
thumperspiv: I'm pretty sure we don't capture the original rev_id of the proposal except by side effect in the generated review diff08:40
thumperpoolie: captured at the time of approval08:41
pooliehm :/08:41
poolieeven though they can't see which one they're approving? even though it might change between them reading the code and them submitting that form? :)08:41
thumperpoolie: right now, yes08:42
* thumper leaves to drink tea08:42
mantiena-baltixcprov: hi09:14
SiDiAny LP admin around ?09:21
SiDihttps://bugs.launchpad.net/ubuntu/+source/ubuntu-calendar/+bug/77289 the account of the guy named "Twig" might have got hacked (unless it's his email address), but he's posting links to contrabanda pills and apparently to viruses too now09:24
ubottuUbuntu bug 77289 in ubuntu-calendar "revive ubuntu-calendar" [Wishlist,Confirmed]09:24
=== noodles changed the topic of #launchpad to: https://launchpad.net/ | Help contact: noodles775 | Join https://launchpad.net/~launchpad-users | Channel logs: http://irclogs.ubuntu.com | Open Sourcing: https://dev.launchpad.net/OpenSourcing
pooliejml/thumper/etc: is it intentional that mp comments are no longer indented to show the nesting structure?09:55
pooliespm: still here? see SiDi's comment?09:56
pooliestub: or you maybe?09:56
poolieSiDi: oh i see noodles is acting on it09:56
noodlesHi SiDi, yes, I'm trying to find someone who can deactivate the account... thanks for the heads up!09:57
SiDipoolie: noodles i'm back ! Thanks for taking care of it09:58
poolienoodles: maybe launchpad should blacklist urls using surbl.org?10:03
poolieit may not be frequent enough to worry about10:03
noodlespoolie, SiDi: the account has been suspended (thanks Spads).10:07
noodlespoolie: It would be interesting to know how frequent it happens.10:08
SiDinoodles: okies, cheer10:09
SiDii think it was his mail account btw, cause he previously answered with "normal" answers, apparently via a mail client10:09
jmlpoolie, yes, it is.10:17
jmlpoolie, we changed the comments to be consistent with bugs.10:17
=== dpm_ is now known as dpm
=== yofel_ is now known as yofel
suokkoWhere should I report problems sending bug report using apport? (kernel oops in boot)10:46
pooliesuokko: https://bugs.launchpad.net/apport10:46
suokkoI'm getting launchpad oops10:47
suokkoJust a momment ago10:51
suokko(Error ID:             OOPS-1297B857)10:51
pooliesuokko: this is when you try to file a bug using apport i take it?10:53
poolierather than when you try to file one about apport?10:53
poolieso, file a bug at the url i gave i guess10:54
poolieattach your apport .crash file if you can10:54
mptawesome broken image icons on bug pages10:59
mptah, bug 40152011:00
ubottuLaunchpad bug 401520 in malone "Broken image icon displays on bug pages after mouseout from importance or status fields in Chromium" [Medium,Triaged] https://launchpad.net/bugs/40152011:00
SiDiIt never happened to me, using chromium too11:02
ronnyis there any lib that helps seeing what branches are on lp/create new ones/remove them?11:13
noodlesronny: have you already taken a look at launchpadlib? (I'm just checking now whether it enables specifically what you've requested)11:14
ronnynoodles: not yet, i just started to ask around11:15
noodlesronny: https://help.launchpad.net/API/launchpadlib11:15
ronnyi want to add bitbucket/launchpad/github support to my vcs abstraction lib soonish11:15
noodlesBut looking at the overview, code/branches are not yet exposed (but I'm still looking further.. :) )11:15
noodleshangon, ronny, you should simply be able to use bzr to do what you've asked?11:16
ronnyhmm, maybe, i'll have to tak a look into that11:18
ronny(tough )it would be nice to be able to do things like sending merge requests11:18
noodlesjml: do you know if that's on the cards ^^^11:19
noodles(creating MPs via the api)11:20
* jml reads up11:20
jmlnoodles, yes! I just triaged a bug about that very issue.11:20
noodlesGreat! ronny ^^11:21
thekorni think it is bug 40072311:21
ubottuLaunchpad bug 400723 in launchpad-code "Please expose a method for creating a merge proposals" [High,Triaged] https://launchpad.net/bugs/40072311:21
jmlronny, noodles, however, if you having a pressing need to programmatically create merge proposals, you can send a merge directive as an attachment to an email addressed to merge@code.launchpad.net11:21
ronnyits not yet pressing11:22
jmlif you want to know more about that, #bzr is the best place to get help.11:22
jmlronny, cool.11:22
ronnyi just wanted to grab a large set of inputs before starting with brnaching abstractions in anyvc11:22
jmlronny, cool.11:23
jmlI think we have a large amount of exposed branch methods via the api11:23
jmlwe're getting close to 'almost complete'11:24
noodlesronny: fyi - https://edge.launchpad.net/+apidoc/11:25
ronnyis that xmlrpc?11:26
ronnyhmm, the documentation still looks confusing11:26
noodlesronny: no, it's raw http, but the launchpadlib python library abstracts all that away for you (examples at https://help.launchpad.net/API/launchpadlib)11:30
ronnynoodles: aware of any mockup so i can run unittests against that api12:00
ronny(i also need some kind of meta api for dealing with the different bugtrackers (ie trac, lp, bb, github)12:01
noodlesronny: hmm... not sure what language you're using, but I like http://www.voidspace.org.uk/python/mock/12:02
ronnynoodles: python of course :)12:03
=== lamont` is now known as lamont
twbI just discovered that w3m can now log into launchpad!12:10
twbHooray!  Thanks, devs!12:10
twbIsn't working in w3m-el, but I think that's on my end.12:12
=== noodles changed the topic of #launchpad to: https://launchpad.net/ | Help contact: noodles775-lunch | Join https://launchpad.net/~launchpad-users | Channel logs: http://irclogs.ubuntu.com | Open Sourcing: https://dev.launchpad.net/OpenSourcing
=== noodles is now known as noodles775-lunch
mantiena-baltixcprov: hi, I filled a question about registering Baltix series, as you told me saturday12:37
mantiena-baltixcprov: https://answers.launchpad.net/launchpad-registry/+question/7745312:37
mantiena-baltixmenesis: labas :)12:51
cprovmantiena-baltix: thank you, I see that curtis already commented it.12:56
mantiena-baltixMaybe someone can tell me how I can copy sources from ubuntu archive to my PPA? I very often need to backport some software from Ubuntu development version to Ubuntu stable or LTS version and simple copy from ubuntu archive would be very useful13:03
mantiena-baltixcprov: yes, but you told, that you find someone, who can create Baltix distro series ;)13:04
cprovmantiena-baltix: one of the LOSAs, one sec13:05
mantiena-baltixcprov: thanks for help13:06
cprovmantiena-baltix: re. copying from the primary archive to your PPA, you can use the LP webservice API (https://edge.launchpad.net/+apidoc/#archive)13:06
mantiena-baltixI've found one way to copy, for example if I wanna copy bouml package from karmic I go to this URL:13:07
mantiena-baltixBut I don't like test-rebuild-20090513 in that URL ;)13:08
mantiena-baltixmaybe there is some official URL for ubuntu archive ?13:09
cprovmantiena-baltix: UI is very poor for huge archives, we also have ubuntu/+archive/primary/+copy-packages, but they are not a pleasant experience yet13:09
cprovmantiena-baltix: there is not problem using the test-rebuild URL in your case, the sources are exactly the same.13:10
cprovmantiena-baltix: but the UI makes it hard to find specific versions.13:11
cprovmantiena-baltix: while you can do it very nicely via the API (one-line).13:11
=== noodles775-lunch is now known as noodles775
=== noodles775 changed the topic of #launchpad to: https://launchpad.net/ | Help contact: noodles775 | Join https://launchpad.net/~launchpad-users | Channel logs: http://irclogs.ubuntu.com | Open Sourcing: https://dev.launchpad.net/OpenSourcing
=== sale_ is now known as sale
=== fjlacoste is now known as flacoste
zsquarepluscwhat's the "launchpad janitor" and why does it link a branch to a bug of my project when it does not seem to be related?14:17
mantiena-baltixcprov: Doesn't test-rebuild-20090513 in URL mean, that in that URL are only older than 2009-05-13 sources ?14:17
cprovmantiena-baltix: it if already has the specific source version you are looking for, it's fine.14:18
cprovmantiena-baltix: anyway, as I told you, using the API and copying directly from the primary archives is the safest way to go. Take a look at http://cprov.blogspot.com/2009/07/launchpad-api-for-ppas-part-3.html, maybe it helps.14:19
noodles775zsquareplusc: what's the bug so I can take a look?14:25
zsquareplusc noodles775 https://bugs.launchpad.net/bugs/39484214:26
ubottuUbuntu bug 394842 in aafigure "aa backend don't know how to handle circles" [Low,Confirmed]14:26
beunozsquareplusc, somebody pushed a branch with a --fixes=bugnumber14:26
zsquarepluscbeuno: thought so. so i can safely unlink that again. but should i contact the person that mistyped the bug number? if so, i'd have to do several steps to find out who it was :/14:28
mantiena-baltixcprov: ok, thanks again :)14:29
beunozsquareplusc, the branch tells you who owns it. if it seems unrelated, you should be able to unlink it, yes14:29
cprovmantiena-baltix: you are welcome.14:29
noodles775beuno: there are a *lot* of linked bugs to that branch...14:30
zsquareplusci see my bug number in commit 10414:31
zsquarepluscdoes it matter if i click the (-) on the branch or bug?14:31
* zsquareplusc is getting a lot of timeouts on launchpad.net14:32
beunozsquareplusc, what would you expect to happen if you did?14:32
zsquarepluscbeuno: that the link from my bug to the branch disapears14:32
beunothat's what will happen14:33
beuno(just checking to see if the UI was off)14:33
imexilHi, I tried to update my location on the map but end up being placed into the middle of no-where near Kazakhstan. What's going on?15:03
* noodles775 tries to reproduce it...15:04
noodles775imexil: hmm... works for me. What browser are you using?15:05
imexilnoodles775, FF 3.0.1115:05
* beuno has seen this before15:06
beunosinzui knows all about it15:06
sinzuiimexil: click not drag to set your location15:06
* imexil tries this15:06
sinzuiimexil: the drag fix will be in production later this week15:06
sinzuiimexil: bug 38773815:07
ubottuLaunchpad bug 387738 in launchpad-registry "Launchpad refuses to believe that I don't live in Russia, near the Kazakhstan border." [High,Fix committed] https://launchpad.net/bugs/38773815:07
imexilsinzui, thanks that worked. Clicking instead of dragging is even nicer to use15:09
imexilbut I didn't know about ot before15:09
shiki-hello all15:36
shiki-I asked a question in #Ubuntu, but they redirected me here.. so..15:36
shiki-can anyone help me with PPA? Want to make a package be built for 8.04,8.10,9.04. I read the howto, guide, debian standards. Prepared everything , split packages. Still, if I upload, it'll only say its the same..and it'll build it for jaunty. Even though the package name says hardy, and the changelog is the same. Where should I define it?15:36
Ampelbeinshiki-: in changelog: <pkgname> (version) <target>; urgency=15:39
shiki-yepp, did that15:39
noodles775shiki-: did you also specify the package names as explained at:15:39
Ampelbeinshiki-: and what's the error exactly?15:39
shiki-"the same package is already.... with different..."15:40
shiki-even though its not the same at all15:40
noodles775shiki-: did you get a link to a log with the error that we can look at?15:40
Ampelbeinshiki-: you have to make a different version. like "libfoo 0.1.3~hardy~ppa1", "libfoo 0.1.3~jaunty~ppa1"15:41
shiki-wait I'll retry to upload, upload it to ftp...15:41
shiki-for example15:41
Ampelbeinshiki-: please pastebin your 3 changelog entries for the package15:41
shiki-if it'd be that easy with cli..but I'll try to upload them to my server15:42
shiki-"mediainfo (0.7.19-2) hardy; urgency=low" ... in changelog15:42
Ampelbeinshiki-: see. that's wrong. "mediainfo (0.7.19-2~ppa1~hardy1) hardy; urgency=low" should be the entry15:43
shiki-ah ok..ty. will give it a try15:43
=== matsubara is now known as matsubara-lunch
=== noodles775 changed the topic of #launchpad to: https://launchpad.net/ | Help contact: - | Join https://launchpad.net/~launchpad-users | Channel logs: http://irclogs.ubuntu.com | Open Sourcing: https://dev.launchpad.net/OpenSourcing
=== deryck is now known as deryck[lunch]
=== matsubara-lunch is now known as matsubara
=== deryck[lunch] is now known as deryck
dD0THi, any clue why my import failes, registered a git branch and got this mail: "The import has been marked as failing." The branch is https://code.launchpad.net/~vcs-imports/mumble/master17:33
slicerNo ida.17:34
_gpg_sorry for boring you again and again. will launchpad source code will be available tomorrow ? or the date changes ?17:37
=== salgado is now known as salgado-lunch
=== ripps_ is now known as ripps
=== salgado-lunch is now known as salgado
exarkunHow does one request a new review of a branch after more revisions have been committed to it?  Is that what the "Request another review" link does?18:30
exarkunAnd if so, does that also cause the diff shown to be updated?18:30
noodles775exarkun: If you've already gotten approval for the first branch you can either:18:32
exarkunThe first review's result was "Needs Changes"18:32
noodles775ah I see18:32
exarkunSo the changes were made.  I'm wondering what the typical workflow says comes next.18:32
noodles775I usually include the diff in my reply to their review, so it will appear on the MP, and that reviewer will be notified.18:33
noodles775They can then update their review decision depending on your diff.18:33
mantiena-baltixcprov: I've read you blog about launchpad API, but I think than simple copy sources operation from ubuntu archive to PPA could be as simple as copying sources from other PPA's18:47
mantiena-baltixI think it would be wise to report a wishlist bug, but I don't know agains which product to report :(18:48
cprovmantiena-baltix: the UI is there, you use it and then tell me how tedious it is to isolate an specific version to be copied.18:51
cprovmantiena-baltix: it's not my opinion only, it's based on the experience of other heavy PPA users as well.18:52
exarkunnoodles775: Thanks18:53
cprovmantiena-baltix: obviously we can do something to make the UI better.18:57
mantiena-baltixI don't have any problems with copying sources from UI like this: https://launchpad.net/ubuntu/+archive/test-rebuild-20090513/+copy-packages?field.name_filter=bouml&field.status_filter=published&field.series_filter=any19:09
mantiena-baltixcprov: except non-intuitive string "test-rebuild-20090513" in that URL ;)19:10
cprovmantiena-baltix: https://edge.launchpad.net/ubuntu/+archive/primary/+copy-packages?field.name_filter=bouml&field.status_filter=published&field.series_filter=any19:11
cprovmantiena-baltix: that solves your problem, but not in the case you are trying to copy 'linux', for instance -> https://edge.launchpad.net/ubuntu/+archive/primary/+copy-packages?field.name_filter=linux&field.status_filter=published&field.series_filter=any19:13
* cprov will hate himself for letting these urls be part of the channel log (and google indexes) ... 19:14
_gpg_sorry for my insistance, anyone call tell me if launchpad source code publication will be done tomorrow or it's delayed ?19:14
* mantiena-baltix is happy for having an ability to find such URL's through internet search engines ;)19:15
mantiena-baltixcprov: I notice only one small problem with 'linux' source - this problem is in search engine, there should be an ability to do *exact* search and this will solve such problems, I'm right?19:18
cprovmantiena-baltix: yes, that would reduce the list of candidates19:19
cprovmantiena-baltix: version filtering would also help.19:19
mantiena-baltixcprov: Why you will hate yourself for publishing such URLs?19:19
cprovmantiena-baltix: because people will start accessing that form19:20
cprovwe don't yet link to it from LP, due to performance concerns and also the fact that the UI isn't ready yet.19:21
mantiena-baltixI spent almost 1 hour to find how to copy package from official ubuntu archive to my PPA, why you think that this is bad ?19:21
cprovmantiena-baltix: 1st copying doesn't work for all cases, 2nd API are much easier to fix/extend than UI.19:23
cprovmantiena-baltix: although, those arguments are killed by your 'it works for me!'. Feel free to use it as much as you want.19:24
LarstiQ_gpg_: delayed, let me dig that up for you19:26
_gpg_LarstiQ,  thank you19:26
LarstiQ_gpg_: https://lists.launchpad.net/launchpad-users/msg05078.html19:27
_gpg_LarstiQ, thanks19:29
mantiena-baltixcopying packages from official ubuntu archives to users PPA's couses performance problems for launchpad services or just for users ?19:40
=== arianit_ is now known as arianit
mantiena-baltixcprov: I can report a bug about problems in PPA packages search engine about an ability to do *exact* search, if launchpad developers need such bugreport just tell me the product against which I should report ;)19:43
cr3might anyone have any idea why I'm getting questions in the answer tracker like this for the checkbox project on launchpad: https://answers.launchpad.net/checkbox/+question/7758520:12
cr3has there been known spamming of the answer tracker?20:13
phurlhi all20:17
phurlmy collegue is having a problem with ssh on lp20:17
phurlany ideas20:17
LarstiQphurl: is one of the ssh keys that is tried connected to the launchpad account he is trying to log in as?20:19
LarstiQphurl: https://edge.launchpad.net/~arianit only has 1 listed20:20
phurlhe did the rsa key20:20
didrocksjames_w: are you aware about launchpadlib executing new.py file in the cwd?20:20
LarstiQphurl: please doublecheck they match and it isn't a different key20:20
LarstiQphurl: oh, other than that, I don't think you're allowed to log in20:21
LarstiQphurl: so try with hitchhiker instead, or just `bzr info bzr+ssh://somebranch`20:21
phurli just wanted to debug the ssh key issue20:22
phurllets see20:22
LarstiQphurl: right, but trying to get a shell is not the best way to debug that :)20:22
phurlthanks dude20:23
didrocksjames_w: bug #40189620:31
ubottuLaunchpad bug 401896 in launchpadlib "Launchpadlib opens any new.py file found in the path while import" [Undecided,New] https://launchpad.net/bugs/40189620:31
e-jatwhere can i learn more about launchpadlib ? mean .. how to get list of member from launchpad then write in a file20:37
james_wdidrocks: what's your PYTHONPATH?20:50
james_wand 'python -c "import sys; print sys.path"'20:51
didrocksjames_w: http://paste.ubuntu.com/222957/20:53
james_w['', is the problem20:53
james_wit's like having "." in PATH20:53
LarstiQwhich python version/distro is that?20:55
didrocksjames_w: strange. I don't have . in my path. I don't know where python take that…20:55
LarstiQbecause we need just that too reproduce a Bazaar bug as well20:55
didrocksjaunty, Python 2.6.220:55
LarstiQdidrocks: thanks!20:56
e-jatcan someone help me to create API from this question https://answers.edge.launchpad.net/launchpad-registry/+question/7412021:01
* e-jat i mean .. teach me .. i already go through apidoc .. but still blurr ..21:02
didrocksLarstiQ: it's still an issue as whoever adds a new.py in PYTHONPATH or PATH will then executes its new.py file21:03
didrocks(just in importing launchpadlib)21:04
LarstiQdidrocks: sure, but on Lenny '' is not in PYTHONPATH, and no one adds a new.py to what is on sys.path21:05
didrocksLarstiQ: I have a new.py in my PYTHONPATH in quickly project, that's why I encountered the bug :)21:07
* LarstiQ nods at didrocks 21:08
LarstiQdidrocks: in the cwd though, right?21:08
Ampelbeine-jat: where are you stuck? can you pastebin your current code?21:09
e-jatAmpelbein: im stuck after getting the oauth token ..21:11
didrocksLarstiQ: not really, just in path, consequently (the new.py in cwd was only for making something easily reproduceable)21:12
* e-jat new to api code21:12
LarstiQdidrocks: ehm, you _do_ know that you're shadowing a builtin module that way?21:12
didrocksLarstiQ: oh, I never used it. Yes, tried with ipython and it load a builtin module. So, ok, it's my bad and I have to find another way for loading my templates (without adding them to pythonpath)21:16
didrocksLarstiQ: thanks for noticing this (and thanks james_w too :))21:16
LarstiQdidrocks: np21:18
didrocksLarstiQ: do you have also '' in sys.path? I tried in different machines and that's always the case here21:37
LarstiQdidrocks: no, it is not in sys.path21:40
LarstiQit does seem to be21:40
LarstiQbut not when I checked in bzr21:41
=== flacoste_lunch is now known as flacoste
LarstiQdidrocks: echo -e 'import sys\nprint sys.path' > /tmp/test.py21:41
LarstiQdidrocks: python /tmp/test.py21:41
LarstiQdidrocks: I recall the documentation stating '' is added if the filename of the script can not be determined21:42
LarstiQjames_w: ^^ python -c is not a sufficient check for including cwd on sys.path21:42
james_wmy apologies21:42
james_wso the problem is the shadowing of the stdlib module?21:43
LarstiQIf the script directory is not available (e.g. if the interpreter is invoked interactively or if the script is read from standard input), path[0] is the empty string, which directs Python to search modules in the current directory first.21:43
didrocksjames_w: yes. We will rename 'new' to 'create' in quickly to avoid that.21:43
LarstiQdidrocks: can you confirm '' is not on sys.path with Jaunty, 2.6.2 if you run test.py?21:45
didrocksLarstiQ: no, but /tmp IS in sys.path21:45
LarstiQdidrocks: right, that makes sense21:46
didrocksand then, the issue comes from there if you have a new.py file in the same directory than your script :)21:47
* LarstiQ growls at launchpad making it hard to find the duplicate he seeks21:50
LarstiQluckily google and site: know21:52
LarstiQdidrocks, james_w: so, there are situations where '' does get on the path when I don't expect it: https://bugs.edge.launchpad.net/bzr/+bug/30489121:52
ubottuUbuntu bug 304891 in bzr "bzr doesn't work in parent directories of python packages with certain names (dup-of: 72227)" [Undecided,New]21:52
ubottuUbuntu bug 72227 in bzr "should avoid loading modules from working directory" [High,Invalid]21:52
LarstiQthis should not happen, and I'd very much like to know how to reproduce it21:52
didrocksLarstiQ: ok, even bzr code has been trapped with this :)21:54
LarstiQdidrocks: yeah, though as you can see from the dupe, it happened because PYTHONPATH=foo:$PYTHONPATH21:54
LarstiQdidrocks: with PYTHONPATH previously being empty21:54
didrocksLarstiQ: oh yes…21:55
=== matsubara is now known as matsubara-afk
micahgis there a bug with the bugs module?  My GPG sig is being displayed...22:32
micahgshould I just subscribe to bug 161822 or open a new bug22:34
ubottuLaunchpad bug 161822 in malone "new bugs by email requires gpg signature but does not strip it from bug report" [Medium,Triaged] https://launchpad.net/bugs/16182222:34
micahgI was replying22:34
Ampelbeinwgrant: still there? problem with launchpadlib: launchpad.people["ubuntu-my"].addMember(person=members[0], status="Approved") works on staging, gives "ValueError: Invalid value '"Approved"' for parameter 'status': valid values are: "Proposed", "Approved", "Administrator", "Deactivated", "Expired", "Declined", "Invited", "Invitation declined" on edge.23:41
wgrantAmpelbein: I am here, but I've no idea about that.23:43
wgrantSure you didn't typo it?23:43
Ampelbeinwgrant: well, i copied the ValueError line directly from the session.23:43
micahgwgrant: if you get a chance, can you look at my issue above?23:44
wgrantAmpelbein: But did you copy the original expression from the staging or edge session?23:44
wgrantmicahg: That's the bug.23:44
micahggreat, thanks23:44
Ampelbeinwgrant: it's the same script. works with staging, doesn't on edge.23:44
Ampelbeinand in the value error you see '"Approved"', which is the reply from the lp-api23:45
wgrantAh, now that is interesting.23:45
Ngpls can launchpad have magic for when I guess a /ubuntu/+source/<packagename> URL wrong that finds me some suggestions instead of asking me if I lost something? :)23:45
wgrantAmpelbein: What if you add 'httplib.debuglevel = 1' to the script, before you import launchpadlib? Then run both, look for any differences, and pastebin the addMember request (remembering to sanitise the OAuth sig)23:47
Ampelbeini'll try23:47
wgrantAmpelbein: Oops, httplib2, not httplib23:52
james_whow does LP handle it when there are lots of OAuth consumers out there with the same consumer key and different consumer secrets?23:55
myfenris:) need to redo then ;]23:55
james_wI'm sure there are plenty of consumers called "testing"23:56
wgrantjames_w: I think the name is just a user-friendly identifier for revocation - not actually used for anything. I have lots of consumers named the same.23:57
james_wwgrant: but it is used for something in the protocol23:58
james_win the specification of the protocol rather23:58

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