/srv/irclogs.ubuntu.com/2010/02/04/#launchpad.txt

maxblosa: I think the PPA publisher may be stuck on something00:08
maxbAnd of course once I say that it unsticks00:10
maxbIs it no longer running */5 ?00:10
ovnicraft_hi folks, i want to know why my branch has not option for merging?05:06
spivovnicraft_: where are you looking for the option?05:07
ovnicraft_in my branch https://code.edge.launchpad.net/~ovnicraft/+junk/l10n_chart_ec05:09
ovnicraft_spiv, what need to activate the option?05:10
spivovnicraft_: you're looking for the option to propose the branch for merging to another branch?05:14
ovnicraft_yes05:14
spivovnicraft_: ok,05:14
spivI think you need to make the branch be in the same project as the branch you are targetting05:14
spivi.e. go to https://code.edge.launchpad.net/~ovnicraft/+junk/l10n_chart_ec/+edit (the "Change branch details") link05:15
spivOh, hmm.05:15
spivHmm, the option reassign a branch got removed maybe?05:16
spivWell, in that case,05:16
spivYou should push the branch to the appropriate project, e.g. lp:~ovnicraft/firefox/l10n_chart_ec (if the project is firefox)05:17
wgrantspiv: That option was removed when packaging branches were introduced, and no UI was worked out.05:18
wgrantIt's still doable through the API, though.05:18
ovnicraft_wgrant, so the solutions is try to push it?05:22
ovnicraft_or what?05:22
wgrantovnicraft_: It's easiest to push it to the right place, yes.05:22
Pengwgrant: Ooh, I didn't know it could be done through the API! That makes me feel better. :O)05:25
PengUm, :) *05:25
wgrantPeng: *everything* can be done through the API.05:25
ovnicraft_it was easiest set it with a project05:25
ovnicraft_thx05:25
* elmo wants a pony through the API05:25
wgrantelmo: Patches welcome.05:26
Pengwgrant: Good to know. :)05:26
elmowgrant: you said can, not could.  I demand a full refund.05:26
wgrantDamn, caught.05:26
wgrantThere's no way to search for unmilestoned bugs, is there?05:41
mneptokit's faster when you're riding a pony.05:46
ovnicraft_what could be the reason to get this message trying proposal to merge: This branch is not mergeable into lp:otherproject05:51
wgrantovnicraft_: Why are you trying to merge it into another project?05:53
spivOr put another way, why doesn't your branch belong to otherproject (i.e. have a URL of lp:~ovnicraft/otherproject/...) ?05:56
spmal-maisan: hey there! we have a funky one for you unf: https://bugs.edge.launchpad.net/soyuz/+bug/51692206:50
ubottuUbuntu bug 516922 in soyuz "process-pending-packagediffs breaking" [Undecided,New]06:50
al-maisanGood morning spm06:50
al-maisanlet me look06:51
al-maisanspm: does it always fail for the same source (freedcpp from 0.0.1.66-tehnick1 to 0.0.1~svn79-1) ?06:52
spmal-maisan: yeah, looks like it from a quick scroll thru06:53
spmyeah same library alias each time06:53
al-maisanspm: in that case the script needs to be more resilient to carry on with the other diffs as opposed to aborting IMHO06:53
spmyes please :-)06:54
al-maisans/needs to be more/needs to be made more/06:54
wgrantYeah, it needs to not try to diff against expired sources.06:54
wgrantThis is going to start happening a lot.06:54
al-maisanah, the source is expired06:54
spmheh, it probably already is; in that it's failing on the first one over and over... wheee.06:54
spmyo stub06:55
al-maisanexpired as in expired in the librarian, gotcha06:55
wgrantRight.06:55
stubyo yo06:55
spmyo ho ho and a bottle of iced lemon tea with chamomile06:56
spmstub: my googlefu isn't finding anything; and I suspect I'll be SOL; is it possible to do a file system level copy of a postgres DB? I'm trying to avoid a "dump; restore to A; restore to B" cycle - if possible. But not at the expense of being in uncharted territory.06:58
stubIts possible. Might be caveats if the architecture isn't similar enough.06:59
stubBut you are better off explaining the problem06:59
spmthis is even on the same server07:00
stubYou can just move the directory and replace it with a symlink if you want07:00
stub(while the system is shutdown of course)07:00
confluencyHello08:11
confluencyI'm trying to login with bzr, and I get this error: bzr: ERROR: Transport error: Server refuses to fulfill the request (403 Forbidden) for https://launchpad.net/~confluence/%2Bsshkeys08:12
confluencyAny ideas? :/08:12
confluencyIs it Launchpad, or my network?  I'm using bzr 2.0.2 on Ubuntu Karmic.08:12
spivconfluency: what command are you running?08:15
spivconfluency: oh, hmm, that doesn't seem to be the name of any user on Launchpad08:17
spivconfluency: so, a) you seem to have the username wrong, and b) please file a bug on bzr about that error message being so confusing!08:17
noodles775confluency: erm, I can't even access https://launchpad.net/~confluence (404), are you sure that's the right username?08:17
confluencyI'm using bzr launchpad-login confluence08:18
confluencyYes, that is the right username.08:18
confluencyI'm logged in through the web right now.08:19
spivconfluency: if you go to https://launchpad.net/people/+me, where does it redirect you to?08:19
confluencyWait.  I'm logged in as confluence, but the name in the url is my real name.08:19
confluencyYup, my real name.  I'll try that, then.08:20
confluency(Where did the two names come from?!)08:20
spivconfluency: there's the login name (or nickname), and there's also the display name08:20
spivconfluency: the former is what appears in URLs (and is what bzr lp-login needs), the latter is the what appears in text web pages, usually.08:21
spivconfluency: e.g. when I make a bug comment, the page will say "Comment by Andrew Bennetts ...", and the link for my name will go to https://launchpad.net/~spiv08:21
confluencyOK, I've tried with what I think is the real username, but I get the same result: bzr: ERROR: Transport error: Server refuses to fulfill the request (403 Forbidden) for https://launchpad.net/~adrianna-pinska/%2Bsshkeys08:22
confluencyThat url definitely exists.08:23
spivconfluency: ok, that's pretty weird08:23
confluencyI'm just going to change my names around quickly...08:24
spivconfluency: what traceback does -Derror report?  (use a pastebin)08:24
spivEr, that is, if you add -Derror to the command, what traceback is shown?08:24
spivAnd if you add -Dtransport too, and pastebin the most recent part of your ~/.bzr.log, that might be helpful too.08:25
spivMy random guess atm is a strange proxy.08:25
confluencyspiv: it could well be a strange proxy -- but I need something more specific to tell our sysadmin. :/08:28
confluencyspiv: http://paste.pocoo.org/show/173749/08:28
confluency(I have now swapped my names, so confluence should be working.)08:28
spivWow.08:29
spivSo it really is just trying a plain GET of that URL.08:29
spivDefinitely your network, then.08:29
spivDoes that URL work in your browser?08:30
Hodgestarconfluency: What if you just try to wget the URL (specifying username and password as necessary).08:30
spivHodgestar: That URL should work fine via regular anonymous HTTPS08:31
confluencyHodgestar: I can wget it.  No credentials necessary.08:31
confluencyIt works in my browser too.08:31
confluencyWhat port is bzr using for this?08:32
Hodgestarspiv: I assume bzr constructs an opener that is setup to use the proxy defined in environment variables?08:32
HodgestarAlthough I wouldn't except a 403 if it tried to contact the outside directly and was bounced. :/08:32
spivHodgestar: right (x2)08:55
spivconfluency: bzr is just doing regular HTTPS, using Python's urllib module08:56
spivconfluency: so, port 44308:56
spivconfluency: (heck, urllib doesn't even bother validating the server's cert)08:56
spivconfluency: please do add -Dtransport to the command line and look in ~/.bzr.log and pastebin the request its making08:56
Hodgestarconfluency: Try put this into a file and run it:08:58
Hodgestarimport urllib208:58
Hodgestarurl = "https://launchpad.net/~confluence/%2Bsshkeys"08:58
Hodgestarprint urllib2.urlopen(url).read()08:58
confluencyI've found the problem.08:59
HodgestarWoot.08:59
confluencyI was missing pycurl.08:59
confluencyThere were some other errors about it in the log.08:59
HodgestarAh.08:59
confluencyI have no idea why apt didn't install it as a dependency. o_O08:59
TheUnii've been having trouble importing gpg keys for the last few days. seems it'll finally work ~1 day later. is this a known problem?09:00
wgrantTheUni: Yes. It was hopefully resolved a few hours ago.09:01
TheUniwgrant: been trying to import for over an hour. anything i should try?09:01
wgrantTheUni: If it doesn't work now, then what did you mean by 'seems it'll finally work ~1 day later'?09:02
TheUniwgrant: that's how it went a few days ago09:03
confluencyOh, bzr uses either pycurl or urllib2, and something was going wrong with urllib2, so it went away when I installed pycurl.09:03
wgrantTheUni: What's your key's fingerprint?09:04
TheUni22FF 4B2D F73D E2F8 21D8  59D7 FEF3 3843 EB1C D30D09:05
TheUniit shows when i --recv-keys09:05
wgrantIndeed, it's on the external keyserver.09:05
wgrantTheUni: You say that you uploaded the key to the keyserver several days ago?09:06
TheUniwgrant: no, sorry.. let met start over.09:06
TheUnii uploaded a key a few days ago, it took about 1day to show up09:07
TheUnibut it finally worked09:07
TheUnii uploaded a new key tonight, but i can't get it added to launchpad. it's been over an hour, was just wondering if i'd have to waid another day09:07
wgrantAh.09:08
wgrantIt should be just about instantaneous.09:08
wgrantBut there are syncing problems at the moment.09:08
wgrantLOSAs, do you know what's going on with that?09:08
wgrantI hear that a manual sync was done this morning.09:09
TheUniwgrant: so you're telling me i should go to bed? :)09:12
nicoInattenduHi, I have som troubles with launchpad translation feature . I request to download  a po file . I have the window telling that sonner I receive the mail. But 2:30 after I received nothing.09:45
nicoInattenduI check my email acount and it's working fine ;-)09:46
jtvnicoInattendu: what did you request an export of?09:47
jtvNormally it's very fast, but there are a few things like OpenOffice that take serious time.  If one of those is ahead of you in the queue...09:48
nicoInattenduI request to download translation file here : https://translations.launchpad.net/luciole/0.8/+export09:48
Arnaud__hello everybody09:49
nicoInattenduOk I'll wait a bit more ;-)09:49
jtvnicoInattendu: looks like somebody made a large request this morning and the system is busy09:49
nicoInattenduOk thanks for the info09:50
Arnaud__hey all, I am looking for a room full of open source developers :)09:51
jtvnicoInattendu: looking at the graph I'm _guessing_ that the queue should be back to normal in about an hour.09:51
jtvArnaud__: you have one.09:51
Arnaud__it's been so long since i last used irc09:51
nicoInattenduIn a lager view, I'm a dev luciole, project hosted in LP . Someother people do the translations. And right now I need to  do a release of luciole.09:52
Arnaud__anyway, i would like to meet with OSS developers and am recruiting a few good souls to ask questions about how open source developers live09:52
nicoInattenduSo i go to take the translated po files, generate the mos, and then upload it my LP branch. Is this the correct way ?09:52
Arnaud__i have always wanted to contribute to open source but I suck at coding09:52
jtvnicoInattendu: I remember your name from that...  have you looked at imports from & exports to bzr?09:53
Arnaud__and at playing guitar09:53
jtvnicoInattendu: perhaps not the best time, but nowadays we recommend doing both the uploads and the downloads through bzr instead of the web UI.09:53
Arnaud__I want to build something, or a service for developers09:53
jtvnicoInattendu: committing MO files to your branch is probably _not_ what you want.09:54
Arnaud__and i need some help in understanding you (because I assume most of you are developers)09:54
nicoInattenduOK I get the translated files from the lp/tanslation ui  , than I upload it in bzr09:54
nicoInattenduYes If possible it can be fine.09:55
jtvArnaud__: if you have a question specific to Launchpad development, #launchpad-dev is probably better for you.09:55
nicoInattenduSo I can ganerate it during instalation of the software ?09:55
Arnaud__sorry i am trying to learn how to direct a chat to a specific person09:56
nicoInattenduYes I know i still confused on all this translation stuff ;-)09:56
Arnaud__i do not have a question related to launchpad09:56
Arnaud__it's about the developers in any project09:57
nicoInattenduSo I can not commit MO files, but I need to get the PO files with this page https://translations.launchpad.net/luciole/0.8/+export . Is there a way to get the po files directly with bzr ?09:58
jtvnicoInattendu: then the best thing to do is probably to push your templates to your branch, and in your translation settings in Launchpad, enable imports of templates from the bzr branch.  But for MO files when you want to do a release, you can generate those by exporting from launchpad in MO format the way you're doing now.09:58
jtvnicoInattendu: you can get daily exports of your PO files into a bzr branch of your choosing; see the "synchronization settings" of your release series.09:59
nicoInattenduOk I take a look on the 'synchronization settings'09:59
jtvnicoInattendu: be a bit careful with the exports: they overwrite existing PO files in the branch you're exporting to, and there are some weird things that can happen if you import from the same branch that you export to.  I believe help.launchpad.net has updated documentation for this.10:01
jtvI hope you'll find it easier than the old way.  :-)10:01
Arnaud__did that work?10:02
nicoInattenduJtv: Yes it same coolest :-) No more the feeling of doing the permantly the round of a circle10:03
jtvnicoInattendu: right!10:04
jtvArnaud__: yes, it worked.10:04
cbmuserholla11:35
cbmuserquestion: if I built a package which depends on a library which is not in Ubuntu either, can I package the lib for my PPA also and have the first package depend on the library?11:36
cbmuseror short said: can I satisfy build-depends with packages from my own PPA?11:36
noodles775Yep.11:36
cbmusernoodles775: good, how?11:38
cbmuserjust depend on it?11:38
cbmuseris my PPA automatically in the sources.list of the buildd?11:38
noodles775Sorry, just otp11:40
cbmuserok11:41
maxbcbmuser: Yes, a PPA is in the sources.list of packages being built for that PPA11:44
cbmusermaxb: great, thanks11:51
=== mrevell is now known as mrevell-lunch
=== mrevell-lunch is now known as mrevell
Davieyis launchpad poorly today?13:53
DavieyHaving plent of OOPsies13:53
Daviey+y13:53
vilaoopsing a lot for me too13:56
merbitI'm getting lots of OOPSes on various bugs.* pages and while posting a comment e.g. "The following errors were encountered: * Server error, please contact an administrator. OOPS ID:OOPS-1496EB546"13:59
ubottuhttps://lp-oops.canonical.com/oops.py/?oopsid=1496EB54613:59
doctormoYup looks like it, lots of oops for me too14:00
LimCore_(Error ID: OOPS-1496C1598)14:00
ubottuhttps://lp-oops.canonical.com/oops.py/?oopsid=1496C159814:00
LimCore_when accessing https://bugs.launchpad.net/ubuntu/+source/cryptsetup/+bug/47432714:00
ubottuError: Could not parse data returned by Ubuntu: The read operation timed out (https://launchpad.net/bugs/474327)14:01
merbitreally weird though -- when I click reload it's shown correctly, but not the first time I visit a bugs page14:02
LimCore_merbit: I have the same problem14:02
LimCore_perhaps server is overloaded?  I mean the problem where I get oops instead seeing the bug page14:02
Davieyhammer F5, it will surely help wake up the servers14:02
LimCore_hammer time!14:03
merbithehe :)14:03
merbitwell, cheers!14:04
=== salgado changed the topic of #launchpad to: Launchpad is feeling unwell right now, but we're working on it || http://launchpad.net | Read https://help.launchpad.net for help | Recent problems browsing branches should be fixed. | Help contact: bac | Join https://launchpad.net/~launchpad-users | This channel is logged: http://irclogs.ubuntu.com/ | Launchpad is open source: see channel #launchpad-dev
e-jat:)14:06
e-jatmedicine/rest need14:06
doug8429Is there a problem with the iuscommunity.org site? I'm getting network errors when accessing it.14:09
jamaltalaunchpad is back! :)14:10
doug8429The host dl.iuscommunity.org is not resolving.14:11
LimCore_UTF-8 is wrongly displayed for attachments (like debdiff). Can this be fixed? send encoding utf-8 example: http://launchpadlibrarian.net/38752314/cryptsetup_1.0.6%2B20090405.svn49-1ubuntu7.3.debdiff14:11
glen $ bzr pull14:11
glenUsing saved parent location: bzr+ssh://bazaar.launchpad.net/~glen666/eventum/po/14:11
glenbzr: ERROR: These branches have diverged. Use the missing command to see how.14:11
glenUse the merge command to reconcile them.14:11
jamaltaglen: just run bzr merge14:12
Davieyglen: I'll make a guess that launchpad has commited some translations, meaning your branches have diverged14:12
glenhow do i fix this? bzr missing just shows that two revisions missing, but how do i catch up? i seems have forgotten to bzr push to launchpad and automatic translatiojns overcommited14:12
glenhmm, but merge tries to merge from saved location trunk, i should point it back to launchpad url?14:12
glenhttp://pld.pastebin.com/f69aa200414:13
glenah, yeah, bzr merge bzr+ssh://bazaar.launchpad.net/~glen666/eventum/po/ :)14:13
sinzuibac: ping14:19
bacsinzui:  hi14:20
sinzuibac: I just heard that there is a massive replication lag happening right now14:21
bacsinzui:  i've been reading in lp-code to see what is happening.14:21
sinzuibac: This probably means there will be many users who can register, but not create a launchpad profile14:21
bacsinzui:  you have tom on site so you probably know a lot more14:21
sinzuiI know that they are looking at killing jobs to stop tasking the system14:22
=== salgado changed the topic of #launchpad to: Launchpad is feeling unwell but should be fully recovered real soon now || http://launchpad.net | Read https://help.launchpad.net for help | Recent problems browsing branches should be fixed. | Help contact: bac | Join https://launchpad.net/~launchpad-users | This channel is logged: http://irclogs.ubuntu.com/ | Launchpad is open source: see channel #launchpad-dev
=== matsubara is now known as matsubara-lunch
=== salgado is now known as salgado-lunch
coolbhaviwhen is launchpad expected to be fully functional?14:58
Italian_Plumberwebsite appears back up... is it fully recovered?15:06
Italian_Plumberall of my searches are returning no bugs...15:09
intellectronicaItalian_Plumber: sorry for the inconvenience. no ETA yet, but we're working on diagnosing and fixing the problem.15:14
Italian_Plumberno prob15:15
Italian_PlumberI need to try to recreate my bug again anyway.15:15
LaneyIs it possible to increase the timeout value that soyuz uses?15:16
LaneyI believe I have a build that looks idle for > 150 minutes but actually will complete15:16
al-maisanLaney: so, is that build being aborted or canceled ?15:17
Laneyal-maisan: the watcher makes it stop15:18
LaneyI don't know what you call that15:18
al-maisanLaney: 2.5 hours .. what's that package/build doing so long?15:18
Laneyal-maisan: armel. And it's a big chunky build.15:18
al-maisanlamont: can you shed some light on this please?15:19
Laney#  Finished 2 hours ago  (took 2 hours, 39 minutes, 45.0 seconds)15:19
Laneythat was sparc15:19
al-maisanLaney: lamont is the right person to ask but it's probably too early for him .. he should join us in the 60-90 minutes or so.15:22
al-maisanin the next 60-90 minutes or so15:22
Laneyi'll idle, no worries15:23
Laneyit might be good to watch the buildd and see if anything is actually happening, if that is possible15:23
Laneyhttps://edge.launchpad.net/ubuntu/+source/agda/2.2.6-2/+build/148065415:23
geserisn't the output being monitored and the build aborted if there is no output for a given time (> 150min)?15:36
geserso a build has to either work for over 150min on one file (before the next output is generated) or be very sparse in telling what is doing to in general15:38
TheUniugh, keyservers still not syncing?15:39
bacTheUni:  have you seen evidence the keyservers are not syncing?  they were manually restarted yesterday.15:43
TheUnibac: as i discussed with wgrant, i haven't been able to add a key. been waiting for ~10 hours15:44
bacTheUni:  sorry about that.  i'll check on the status of the keyservers.15:45
TheUnibac: great, thanks15:46
bacTheUni:  our admins are looking into it.  thanks for your patience.15:48
TheUnibac: np15:48
=== matsubara-lunch is now known as matsubara
=== salgado-lunch is now known as salgado
al-maisanLaney: <lamont> so make the build output something... that's how gcc gets around it.16:02
lamontsmaller units of work also helps....16:03
Laneyyeah I thought about that16:03
Laneybut what if it is genuinely hung?16:03
Laneysomeone will notice I guess16:03
lamontgenuinely hung is what the timeout is for16:04
Laneyoh, that's an absolute thing?16:04
lamontan arbitrarily absolute thing, yes.16:04
Laneyfine16:04
Laneylooks like it is hung again btw16:04
Laneylamont: you can probably just kill that build, I doubt it will make any progress before it is killed16:05
lamontthat is, if we really need to,we could increase it (per package even), but seriously?  2.5 hours of no output? how is that different from "not making visible progress"?16:05
Laneythat *is* "not making visible progress", but I don't know if it is "not making actual progress"16:06
lamontbuildd   19178 53.2 68.9 618748 333008 ?       D    15:58   4:43      |                           \_ /usr/lib/gcc/arm-linux-gnueabi/4.4.3/cc1 -quiet -I src/full/Agda/TypeChecking -I dist/build -I dist/build/autogen ...16:07
=== salgado changed the topic of #launchpad to: http://launchpad.net | Read https://help.launchpad.net for help | Recent problems browsing branches should be fixed. | Help contact: bac | Join https://launchpad.net/~launchpad-users | This channel is logged: http://irclogs.ubuntu.com/ | Launchpad is open source: see channel #launchpad-dev
lamontwhen the memory needs are 1.5x the total ram in the machine, there is some amount of issue.16:07
=== salgado changed the topic of #launchpad to: Launchpad is back online. Please report any problems. || http://launchpad.net | Read https://help.launchpad.net for help | Recent problems browsing branches should be fixed. | Help contact: bac | Join https://launchpad.net/~launchpad-users | This channel is logged: http://irclogs.ubuntu.com/ | Launchpad is open source: see channel #launchpad-dev
Laneyyes, it is a hugely chunky build16:08
TheUnibac: could you provide an eta when you have one please? if this is to be fixed soon I'd like to kick off a build before leaving for work16:09
bacTheUni:  could you try again now?16:10
=== henninge_ is now known as henninge
bacTheUni:  a root cause for the keyserver inconsistencies was identified and fixed.  please let me know if you experience trouble.16:24
salgadobac, what was the problem with the keyserver?16:30
bacsalgado:  spads reports there were some dns round-robin issues that he has fixed16:31
=== djbclark is now known as Guest37668
Italian_Plumberare there discussion forums at launchpad?18:12
intellectronicaItalian_Plumber: no, but we have the answers application for covering some of that ground18:15
Italian_Plumberwhat's generally discussed in here?18:18
maxbLaunchpad usage / support questions18:19
thopiekarhi18:54
thopiekarcould someone please explain me that: http://pastebin.com/d3acd206d18:54
maxbYou can't re-use a version number18:57
thopiekarwhy? it'S the same package, just for a different series..18:57
persiaIt's a result of a decision to ensure that PPAs could be used for real user distribution.  If you need to have the same package in multiple series, upload to the oldest series you support, and pocket-copy the packages forward.18:58
vvinetthopiekar, you might want to use add ~series# to the version number18:59
vvinetand do a proper package for each19:00
thopiekaris there a way to make that automaticly? maybe via a script..19:00
blueyedcannot report a bug (OOPS-1496K2941). Known problem? Workaround?19:01
ubottuhttps://lp-oops.canonical.com/oops.py/?oopsid=1496K294119:01
maxbIt's not only the result of a decision, but of the fundamental design of apt that a package name-version-architecture must refer to a unique file, lest things become critically confused19:02
thopiekark vvinet, thanks19:03
vvinetbesides, the build-depends, compat files, etc will be different on each series19:04
=== huayra_ is now known as hubuntu
=== hubuntu is now known as huayra
bachi leonardr - do you have any current plans to update the version of lazr.uris in the launchpad tree?  the current one breaks the use of simple names for service roots (e.g. 'edge')19:27
leonardrbac: you are talking about the 'uris' module in the version of launchpadlib packaged with launchpad?19:27
leonardrwhat's wrong with it?19:29
leonardrie. how does it fail?19:30
bacleonardr: perhaps it is the wrong package i'm blaming.19:30
baclet me paste19:30
bacleonardr: http://paste.ubuntu.com/369053/19:31
leonardrbac: launchpadlib is supposed to turn 'edge' into a real url19:31
bacleonardr: yeah, i was looking too far down the stack19:32
leonardrbac: does your uris.py have lookup_service_root?19:33
bacyes19:35
leonardrbac: try clearing out your compiled bytecode. the first line of my Launchpad.__init__ is:19:36
leonardrservice_root = uris.lookup_service_root(service_root)19:36
leonardryours is a call to super19:36
bacleonardr:  i looked in download-cache/dist/launchpadlib-1.5.4.tar.gz and the first line of the Launchpad constructor is the call to super19:42
bacleonardr: are you looking at a launchpad tree or a checked out copy of launchpadlib?19:42
leonardrbac: checked out copy. it's possible that this was a change added in development but not released yet19:43
baci think that may be the case19:44
bacleonardr: perhaps it is  time to release 1.5.519:45
leonardrbac: or maybe launchpad got a pre-release version of 1.5.419:47
bacleonardr: maybe.  i assumed current development of lplib was 1.5.4 + new stuff19:48
huayra /MSG ChanServ FLAGS #ubuntu-ec PETRUX +votiA19:49
leonardrbac: yes, but NEWS for launchpadlib includes 'short versions like 'edge' are respected everywhere'19:49
huayrasorry..19:49
bacleonardr: hmm19:49
leonardrlet me get a tarball19:50
tsimpsonthe 1.5.4 tarball does have a call to uris.lookup_service_root19:50
tsimpsonor rather, the package from debian unstable (I assume they got the tar from there)19:51
leonardrbac: yes, launchpadlib got a pre-release version19:51
leonardrer, launchpad got19:51
bacleonardr: darn.19:51
bacleonardr: we could just replace the 1.5.4 in download-cache but that seems unhygienic19:51
leonardrbac: also a huge hassle19:52
=== matsubara is now known as matsubara-afk
bacleonardr: can i ask you a more interesting question relating to a problem with anonymous API access?20:14
bacleonardr: we have an interface IDistributionPublic that includes a number of exported items.  all of them are accessible via anonymous access except for one, the 'series' collection20:16
=== salgado is now known as salgado-afk
leonardrbac: ok20:23
leonardrbac: is this like bug #515761?20:24
ubottuLaunchpad bug 515761 in launchpad-foundations "Anonymous API access to some collections returns nothing" [Undecided,Confirmed] https://launchpad.net/bugs/51576120:24
bacleonardr: bug 51444720:24
ubottuLaunchpad bug 514447 in launchpad-registry "distribution.series empty with anonymous login" [High,Triaged] https://launchpad.net/bugs/51444720:24
bacleonardr: they look related20:24
leonardrbac: talk to jamalta, who is doing a branch for 51576120:24
bacleonardr: i'm confused, though.  the interface in question defines two collections.  one is visible the other returns empty.  they have the same security settings, using <allow> in the zcml20:26
leonardrbac: if launchpadlib says len() of the collection is nonzero, then the problem is that launchpad is filtering out the objects due to a lack of permission. unfortunately i don't know the details for specific launchpad objects20:27
leonardrs/launchpad is filtering/lazr.restful is filtering/20:27
jamaltabac: that's related to what i'm currently working in20:28
jamaltaafaik, lazr.restfulclient is checking security.py for that. So you'll need a class for the interface that returns True for checkUnauthorized20:29
jamaltai'm not even sure if webservices are checking the zcml20:29
jamaltamy tests lead me to believe that they're not, but my knowledge of this system is very limited20:30
bacjamalta: even though the interface has <allow> in the zcml and not a permission?20:30
jamaltabac: well, i don't know about that20:30
jamaltabac: sorry, i only tested permission in the zcml20:31
bacjamalta: have you pushed your branch?  could you link it to bug 515761 ?20:31
ubottuLaunchpad bug 515761 in launchpad-foundations "Anonymous API access to some collections returns nothing" [Undecided,Confirmed] https://launchpad.net/bugs/51576120:31
jamaltabac: i have not yet, let me do that20:32
bacjamalta: thanks20:32
jamaltabac: done20:36
bacthanks20:36
jamaltabac: np20:39
jamaltabac: btw, a comment about the zcml. Something I found peculiar was that setting the permission to launchpad.Edit to something that worked anonymously, did not make a difference. That is what lead me to believe that the webservice is not checking the zcml at all, but I could be wrong about that.20:41
bacjamalta: interesting20:41
bacleonardr: fwiw, len(ubuntu.series) is non-zero but list(ubuntu.series) is [], as you suspected20:49
jamaltabac: hm. that's interesting20:59
bacjamalta: defining a security class for IDistroSeries allows the collection to be returned21:08
jamaltabac: cool :)21:31
jamaltabac: i still wonder whether it checks the zcml permissions or not, i don't know who we could ask21:31
jamaltai tried to ask in launchpad-dev but haven't gotten an answer yet21:32
bachi jamalta22:06
bacjamalta: if you would, please try running the test for xx-product-package-pages.txt in your branch22:07
jamaltabac: sure, is it something i broke?22:08
bacjamalta: i think the typo fix for ViewProductSeries exposes a problem22:09
jamaltabac: ah22:09
baci made that same typo fix in my branch and the test fails22:09
baci just wanted to confirm with you22:09
jamaltabac: i'm checking now22:10
jamaltasorry it takes forever to run a test22:10
jamaltabac: i have an error on line 46, is this what you're referring to?22:14
wgrantjamalta, bac: Why do both of those branches have specific fixes?22:15
wgrantWhen one general one would work fine if a little examination was done?22:15
jamaltawgrant: well, my fixes relate to bug #515761, i hadn't seen the bug bac is working on until he mentioned it22:16
ubottuLaunchpad bug 515761 in launchpad-foundations "Anonymous API access to some collections returns nothing" [Undecided,Confirmed] https://launchpad.net/bugs/51576122:16
bacwgrant: from the comment francis made on the bug, he didn't want to have a blanket grant of launchpad.View on all interfaces22:16
bacjamalta: yes, that is the error22:17
wgrantAh, I didn't see flacoste's comment.22:17
wgrantAlthough I do not see how restricting to authenticated users is any significant amount of additional security.22:17
bacjamalta: why don't you back out your fix for ViewProductSeries and i'll deal with it in my branch22:18
jamaltabac: hm ok22:18
jamaltabac: should i just undo the change and commit again?22:19
bacjamalta: comment out the permission line and put an XXX comment referring to bug 51444722:21
ubottuLaunchpad bug 514447 in launchpad-registry "distribution.series empty with anonymous login" [High,Triaged] https://launchpad.net/bugs/51444722:21
jamaltabac: ok22:21
bacjamalta: run your tests again before submitting that.  it may break your project series tests22:24
jamaltabac: thanks for notifying me of the issue22:33
bacjamalta: have a look at http://pastebin.ubuntu.com/369156/22:34
bacthis patch corrects the permissioning problem22:34
bacif you don't mind another iteration, i think it best you undo your last change and then apply this patch22:34
jamaltabac: i don't mind at all22:34
bacthat way you won't have to explain the silly XXX i forced on you22:34
jamaltayou want to carry this on my branch instead of yours, though?22:34
jamaltabac: haha ok22:34
jamaltathanks22:34
bacjamalta: do you have a test for anonymous web access of project.series?22:35
jamaltabac: yes22:35
bacok, good, then you definitely need that patch22:36
jamaltabac: alright, sounds good22:36
jamaltathanks so much22:36
bacyour test would probably fail with the XXX "solution"22:36
bacnp22:36
jamaltait would've taken me ages to figure that one out22:36
jamaltabac: right, i didn't think of that22:36
jamaltabac: your patch did fix the test :)22:38
=== jamalta is now known as jamalta-afk
MTecknologyIf somebody has two PPA's a stable and a nightly, owned by the same team, how do you distinguish which PPA you're pulling from?23:20
MTecknologynevermind.....23:20
MTecknologyHad a moment of stupidity23:20
=== hggdh_ is now known as hggdh

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