/srv/irclogs.ubuntu.com/2011/02/28/#launchpad.txt

=== smokex_ is now known as smokex
=== achiang` is now known as achiang
=== Lcawte is now known as Lcawte|Away
=== robbiew1 is now known as robbiew
=== jtv is now known as jtv-afk
c2tarunhow can I check how many bugs I fixed on launchpad website?09:47
=== jelmer_ is now known as jelmer
tsimpsonc2tarun: maybe go to https://bugs.launchpad.net/people/+me/+bugs?advanced=1 and search for fix released/committed bugs assigned to you?09:53
artfwobut this way you won't see any bugs with the MOTU workflow, as they're assigned to a sponsor09:56
wgrantThat sounds like a bug in the MOTU workflow. :/09:57
artfwoit's possible to see one's uploads in another launchpad page anyway :)09:58
tcrHey there! What is the proper channel to report abuse? (https://bugs.launchpad.net/slime/+bug/665369)11:05
spivThis is the best IRC channel, but filing a question on https://answers.launchpad.net/launchpad is best if you don't get a swift response here (it depends on who is awake).11:06
tcrThanks I will wait first then. :-)11:08
=== henninge_ is now known as henninge
nawkare all my projects that I start/maintain have to be public?11:32
maxbnawk: Launchpad is a free service for public open-source projects. It is possible to purchase commercial subscriptions for private projects.12:28
=== shadeslayer is now known as kshadeslayer
=== mrevell is now known as mrevell-lunch
zygahi,  could someone please have a look at http://pastebin.ubuntu.com/573447/ and tell my why the upload was rejected?13:34
james_wzyga, you need to build with -sa13:35
james_wto tell it to include the orig.tar.gz in the upload13:36
zygajames_w, hmm, why is -sa required, I'm using bzr bd to build a package in merge mode, the .orig.tar.gz was present when I built ~zyga1, now with ~zyga2 (it was still present and identical according to both .dsc) I got this error13:43
zygajames_w, I'm sure it's a beginner's mistake here13:43
james_wzyga, what it uses during build and what it uploads aren't necessarily the same thing13:43
zygajames_w, I did both uploads with dput ppa:zkrynicki/lava13:44
zygajames_w, so I should retry the build with bzr bd -sa?13:44
looljames_w: Oy; per http://package-import.ubuntu.com/status/flash-kernel.html#2011-02-24 20:35:38.126109 and https://bugs.launchpad.net/udd/+bug/714622 would you mind issuing a requeue_package.py --full flash-kernel on UDD?13:52
exarkunI would like to stop getting email about things like https://bugs.launchpad.net/ubuntu/+source/twisted/+bug/72538413:52
=== mrevell-lunch is now known as mrevell
=== m4n1sh is now known as manish
looljames_w: or if it's the wrong place/person to ask, please redirect me  :-)14:41
james_wlool, done, sorry I didn't tell you14:42
looljames_w: thanks14:44
=== yofel_ is now known as yofel
mdeslaurI'm using launchpadlib to pull URLs from a PPA, and I'm getting "https://staging.launchpad.net" URLs while the same code for a different person is getting "https://launchpad.net" URLs15:01
mdeslaurwhat could be different for me? I'm not quite sure where to look15:01
looljames_w: Hmm AssertionError: repository.user_url 'bzr+ssh://bazaar.launchpad.net/~ubuntu-branches/ubuntu/maverick/flash-kernel/maverick-201102281451/' does not match URL from server response ('bzr+ssh://bazaar.launchpad.net/~ubuntu-branches/ubuntu/natty/flash-kernel/natty/' + '')15:01
bigjoolsmdeslaur: one of you is connecting to staging I presume15:01
james_wlool, -> #bzr I think15:02
mdeslaurbigjools: yes, but we're both using the same app to do it...15:02
bigjoolsmdeslaur: are you both on the same launchpadlib?15:02
mdeslaurbigjools: ah, good question15:03
mdeslaurbigjools: yep, both the same version15:03
mdeslaurhmm...weird15:04
bigjoolsmdeslaur: the only thing I can think of is that one of you is using the default system to connect to and the other is setting it to production15:04
bigjoolsthe default is staging (but that's changing to no default soon I think)15:05
mdeslaurbigjools: we're both using LPNET_SERVICE_ROOT15:05
bigjoolsmdeslaur: use 'production'15:06
mdeslaurbigjools: what's the difference?15:06
bigjoolsIIRC LPNET_SERVICE_ROOT is getting deprecated15:06
bigjools'production' will definitely DTRT15:06
mdeslaurbigjools: 'production' didn't change15:07
mdeslaurbigjools: it's still returning "staging" URLs15:07
bigjoolsweird15:07
bigjoolsleonardr, any ideas? ^15:07
leonardrmdeslaur: sorry, i missed the first part. but LPNET_SERVICE_ROOT and 'production' should not be giving you staging urls15:08
leonardrset this:15:08
leonardrimport httplib215:08
leonardrhttplib2.debuglevel = 115:08
leonardrre-run the code and paste me the output15:08
mdeslaurleonardr: hmm...something is wrong: send: 'GET /1.0/ HTTP/1.1\r\nHost: api.staging.launchpad.net\r\n15:11
mdeslaurlet me poke around a bit more15:11
leonardrmdeslaur: i suggest putting a breakpoint in lookup_service_root (launchpadlib.uris)15:11
vokodahi, I'm using the trac-launchpad-migrator. each launchpad bug comment has a sender with three attributes: username, email and text - is the text attribute the displayed name for each comment? and is its value arbitrary?15:15
mdeslaurleonardr: wow, lookup_service_root is getting "https://api.staging.launchpad.net/"...15:20
leonardrwhat are you passing into it?15:20
mdeslaurlaunchpad = Launchpad(credentials, 'production', cachedir)15:20
leonardri don't know if this is the problem, but the arguments to the Launchpad constructor have changed15:22
leonardryou should make cachedir a keyword argument launchpadlib_dir15:22
mdeslaurah, let me specify them15:22
leonardrbut more generally, you should use login_with if you can15:22
leonardrso that you can take advantage of the site-wide credential15:22
leonardrer, desktop-wide15:23
mdeslaurleonardr: ah, there we go...that solved it...thanks!15:24
leonardrmdeslaur: can you try switching to login_with and let me know if you have problems?15:24
mdeslaurleonardr: I want it to store this particular credential in a specific file, and not in the default gnome-keyring location15:25
mdeslaurleonardr: is that possible with login_with?15:25
mdeslaurleonardr: ah, I see that it is...ok, I'll switch to that15:26
leonardrmdeslaur: your script is running as a cronjob?15:26
mdeslaurleonardr: is login_with backwards compatible with lucid?15:26
mdeslaurleonardr: it may be running on machines that don't have X15:27
leonardrmdeslaur: the python-keyring module will fall back to an encrypted file on disk if neither the gnome keyring nor kde wallet is present15:27
leonardrthe tricky part is if there's no one around to open the keyring/decrypt the file15:28
mdeslaurleonardr: ok, I'll look into changing it15:28
leonardrmdeslaur: i think login_with is backwards compatible with lucid in non-weird cases15:28
leonardrand i've never seen a case i would consider weird enough to break the compatibility15:29
leonardrbut, i could be wrong15:29
mdeslaurleonardr: ok, I'll look into rewriting our script using the best practices when I have some time15:29
mdeslaurleonardr: thanks for your help15:29
leonardrsure15:29
=== matsubara is now known as matsubara-lunch
TBondHullo. Quick question - I'm wanting to build a package in a PPA with both lucid and maverick as target distros; Debian's documentation appears to allow a space-separated list of target distros supplied in the changelog, but I'm getting 'Unable to find distroseries' when I supply a .changes with multiple distros to my PPA. Does anyone happen to know the correct way to push a PPA to build on, in this case, both Lucid and Maverick? Thanks!16:02
bigjoolsTBond: you can't do that with Launchpad.  You need to upload twice, or use the Copy Packages feature.16:03
TBondOK - thanks bigjools.16:03
bigjoolsnp16:03
leonardrtumbleweed: i fixed my other problem, and now everything works fine for me. i think `export dbus-launch` is better than `export gnome-keyring-daemon` since dbus-launch will make this work in general16:26
leonardri'm going to upgrade my netbook to natty again (i trashed it the first time) and see what i can do16:26
=== matsubara-lunch is now known as matsubara
tumbleweedleonardr: cool16:36
=== beuno is now known as beuno-lunch
rr0hitMy university proxy does not allow tunnelling. Is there any alternative to bzr to push code to launchpad?17:28
=== Ursinha-afk is now known as Ursinha
bdmurrayfor some reason bug 553811 has a gnome bug watch showing critical instead of normal17:40
ubot5Launchpad bug 553811 in AT-SPI D-Bus "[lucid] Impossible make USB startup disk with usb-creator-gtk application, now usb-creator-gtk is unuseable my system" [Critical,New] https://launchpad.net/bugs/55381117:40
=== Ursinha is now known as Ursinha-afk
=== matsubara is now known as matsubara-afk
=== beuno-lunch is now known as beuno
=== Ursinha-afk is now known as Ursinha
=== evilshadeslayer is now known as shadeslayer
lifelessbdmurray: thats because of severity: blocker18:24
lifelessbdmurray: I think18:24
leonardrtumbleweed: on a brand new natty box i was able to authorize a launchpadlib script using the gnome keyring18:34
leonardrthis was with `export dbus-launch`18:35
leonardrlet me know if you have time to go into details18:35
RobertLaptopI am not sure if this is the right place but how long does it take for Keys validation?18:41
lifelessRobertLaptop: what do you mean?18:44
RobertLaptopI uploaded my first opengpg key and added fingerprint it into launchpad.net and now it is sitting in a state of "Keys pending validation"18:47
tumbleweedleonardr: been playing in a clean natty chroot. Without python-gnomekeyring, no issues. With it, it's hanging on "Waiting to hear from Launchpad"18:47
leonardrtumbleweed: without python-gnomekeyring, what happens? it goes in encrypted file?18:48
lifelessRobertLaptop: have you pushed the key to the keyservers?18:48
leonardr"waiting to hear from launchpad" has nothing to do with how the token will be stored once we hear from launchpad, so that's odd18:48
tumbleweedleonardr: it goes into ~/keyring_pass.cfg (which is not the world's best filename)18:48
leonardrtumbleweed: i know, but that's a python-keyring issue, so it's not (directly) our problem18:49
tumbleweedleonardr: it's plausible that it's hanging after hearing back...18:49
leonardrtumbleweed: import httplib2; httplib2.debuglevel = 118:49
leonardrthat will tell you18:49
RobertLaptopLifeless Yes.  I push / Sync'd the key to the keyserver.18:50
tumbleweedleonardr: indeed, it has heard back, (it got a 200)18:51
leonardrtumbleweed: ok, put a breakpoint and see where it hangs18:52
leonardrone thing i'd like to point out is that it has already communicated with the keyring, since the keyring said 'it's not in here' earlier18:52
leonardrfinding the best spot for a breakpoint...18:52
leonardrtumbleweed: try putting breakpoints in KeyringCredentialStore, do_save and do_load18:56
tumbleweedleonardr: hanging on19:02
tumbleweed> /usr/lib/python2.7/dist-packages/keyring/backend.py(154)set_password()19:02
tumbleweed-> None, None, None, None, 0, password)19:02
tumbleweedas expected19:02
leonardrtumbleweed: i'm not sure what you mean. set_password succeeded?19:03
tumbleweedno, it never returned19:03
leonardrtumbleweed:19:04
leonardr1. but keyring.get_password in do_load() did return?19:04
leonardr2. can you step into set_password and see where it hangs?19:04
leonardri have a suspicion that it thinks it's asking you to unlock the keyring19:04
leonardris it possible you don't have normal X forwarding enabled?19:05
tumbleweedleonardr: 1. yes, do_load() is called before we to token authorization19:05
leonardrno, that doesn't make sense... it would have asked you during do_load()19:05
tumbleweed2. I stepped in all the way, that was the last thing19:05
leonardroh, right19:05
tumbleweed1. aah, right, I didn't check the stack19:06
leonardrtumbleweed: i sshed in without -X, and i 1) got the text-mode web browser problem you were complaining about, and 2) once i authorized the token, i got a PasswordSetError19:08
leonardrbut it didn't hang19:08
tumbleweedleonardr: yeah this is a pbuilder chroot I'm in now, no ssh19:09
leonardrah19:09
tumbleweedand having no text-mode browsers installed m gets around 1 quite nicely :)19:10
=== zyga is now known as zyga-afk
leonardrman, i knew keyring would be trouble19:11
tumbleweedheh19:11
tumbleweedOTOH, having one token per machine will be awesome19:11
=== Ursinha is now known as Ursinha-lunch
leonardryeah, but that's separate from keeping that token in the keyring. we could have done it in an unencrypted file19:12
leonardrwell, i'm going to try to figure out this PasswordSetError19:14
leonardrmaybe they'll turn out to be related19:14
tumbleweedsounds quite possible19:14
leonardrtumbleweed: are you in a situation where you could test this on a real natty installation on the actual hardware? i'd like to see if that at least works for you19:15
tumbleweedleonardr: right now is a bad time, but sure19:18
leonardrtumbleweed: doesn't have to be now, if you think you can make progress in another way19:18
leonardrok, if you have dbus running but x forwarding is disabled, the keyring will raise a CancelledError which will get turned into a PasswordSaveError19:21
tumbleweedgrrr, I had some stale environment variables leaking into that chroot.19:21
leonardri think we may end up filing a bunch of bugs against python-keyring19:21
tumbleweedbtw do_load is definitly returning, getting stuck in do_save19:23
leonardrit's probably sendind something over the bus and hanging waiting for a response19:24
leonardrwhich takes it into the realm of stuff we don't know about19:24
tumbleweedyeah, I'm ugessing as much19:24
leonardrdbus-monitor may help19:24
tumbleweedyeah, lets deal with issues on real hardware first, anyway19:24
=== bdrung_ is now known as bdrung
leonardrtumbleweed: for the record, here's how to snoop on dbus messages19:27
leonardrfind the address using `echo $DBUS_SESSION_BUS_ADDRESS`19:27
leonardrthen in another terminal, run:19:28
leonardrdbus-monitor --address [address from toher session]19:28
tumbleweedmethod call sender=:1.3 -> dest=org.freedesktop.secrets serial=7 path=/org/freedesktop/secrets/prompt/p2; interface=org.freedesktop.Secret.Prompt; member=Prompt19:29
tumbleweedwell there we go19:29
leonardris that where it hangs?19:31
tumbleweedyeah19:31
tumbleweedI can't see a secret prompt happening in this environment19:31
leonardrdo other X windows pop up?19:31
tumbleweedI don't have DISPLAY set19:32
leonardrtumbleweed: what exactly does your setup look like? is this an ssh session without -X?19:33
tumbleweedleonardr: no, that was the chroot, where it was hanging19:33
leonardrok, i don't know anything about chroots, but it looks like you are expected to set DISPLAY if you want to use X19:34
tumbleweedyeah, but launchpadlib should be usable without X19:35
leonardryeah19:35
leonardrthe problem as i see it is that it's difficult to distinguish between 'the keyring is not available, use a file on disk'19:36
leonardrand 'the keyring is available... oops, when i tried to use it it crashed/hung indefinitely'19:36
tumbleweedindeed, that's kind of python-keyring's issue more than yours19:36
leonardrwould you try setting DISPLAY and seeing if the hang goes away?19:38
tumbleweedno, it didn't. I've blown away that chroot for now. I'll play with ssh-related issues in 90 mins or so19:39
leonardrok19:46
leonardri'll file a bug19:46
leonardrtumbleweed, if you get a chance to try chroot again, i'd like to see the entire record of dbus-monitor20:32
=== Ursinha-lunch is now known as Ursinha
tumbleweedleonardr: paste from my earlier session: http://paste.ubuntu.com/573648/20:47
leonardrtx20:47
komputesHow do you add an upstream bug for flash?21:17
amorphous1Hello! How do I link a bug to the upstream one?21:18
lifelesspaste the link into the bug21:19
lifelesskomputes: does flash have an upstream bug tracker?21:19
amorphous1lifeless, like in a comment?21:19
komputeslifeless: https://bugs.adobe.com/jira/21:19
lifelessamorphous1: yes21:19
lifelesskomputes: try just putting the url into the bug, if it doesn't make a watch you will ned to register that jira instance21:20
komputeswe'd like to interface with the bug if thats possible21:20
lifelesskomputes: I don't know what that means21:20
komputeslifeless: get status updates when the bug changes upstream21:21
lifelessthat will depend on whether we have a watch module for jira21:21
lifelessI don't know if we do/don't havge one.21:21
tumbleweedleonardr: so, any ideas on PasswordSetError?21:28
leonardrtumbleweed: https://bitbucket.org/kang/python-keyring-lib/issue/40/failures-happen-at-random-points-in-the21:28
leonardri'm pretty sure it happens because the keyring never got unlocked21:28
leonardrlooking at the dbus, it seems that sometimes the keyring acts like an empty keyring rather than presenting the gui  popup21:29
leonardrand sometimes it hangs trying to present the popup21:29
leonardrif the former, then when you try to write to the keyring you get an error which becomes PasswordSetError21:29
tumbleweedok, yes ssh -X + dbus-launch works21:29
tumbleweedleonardr: ok, I guess I'll document our known issues and workarounds in ubuntu-dev-tools, and prepare an upload for it21:31
leonardrtumbleweed: i've also been documenting the workarounds in https://help.launchpad.net/API/ThirdPartyIntegration21:32
leonardrtumbleweed: ssh -X + dbus-launch works in a chroot, or no?21:32
tumbleweedleonardr: if you don't have python-gnomekeyring installed, you simply don't run into these issues, which is a reasonable workaround for the "remote server" case21:34
tumbleweedthat's really what I was wanting to test in the chroot21:34
tumbleweed(I got carried away)21:34
leonardrtumbleweed: fair enough21:34
wgrantkomputes: We don't support jira at the moment.21:35
wgrantkomputes: But to link a bug upstream you'd normally click "Also affects project", select the project, then enter the bug's URL.21:35
MTecknologythis is fun.. http://dpaste.com/459566/21:44
=== Ursinha is now known as Ursinha-afk
vadi2My uploading is just stuck at this: http://paste.pocoo.org/show/X8tkkvU7cvmOODtfdWP2/ and not having any progress. What should I do?22:04
maxbvadi2: What is your upload method? ftp or sftp?22:05
maxbWhat is your OS? What is your installed version of bzr?22:06
vadi2Ubuntu 10.10, bzr 2.2.1-0ubuntu122:07
vadi2I'm not sure what is the upload method.22:08
vadi2Can't find that ppa config file.22:08
maxbIt's either /home/youruser/.dput.cf or /etc/dput.cf22:08
maxbI believe you are seeing a known bug22:09
maxbDue to various complications, an update for maverick has not been published as yet22:09
vadi2It's sftp22:09
maxbOne option for you is to use the ~bzr PPA to upgrade your bzr22:09
vadi2Alright.22:10
vadi2ctrl+c the current upload?22:10
maxbanother option is to use ftp, not sftp uploading22:10
maxbActually, if you ctrl+c the current upload, you'll find that it has actually suceeded22:10
maxbIt's just hung whilst disconnecting#22:10
vadi2Has it... launchpad has not registered it22:11
vadi2Nothing in https://launchpad.net/~mudlet-makers/+archive/ppa/+builds :-/22:11
wgrantLaunchpad won't see it until up to 5 minutes after the connection ends.22:12
vadi2Okay. ctrl+c'd now, waiting.22:12
vadi2Thanks, it saw it now.22:18
=== soren_ is now known as soren
=== herb__ is now known as herb
=== nhandler_ is now known as nhandler

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