[Bug 1295318] [NEW] getPublishedSources launchpadlib query times out

Chris J Arges 1295318 at bugs.launchpad.net
Thu Mar 20 19:02:01 UTC 2014


Public bug reported:

[Impact]
Larger queries consistently give 503 errors.

[Test Case]

#!/usr/bin/python
from launchpadlib.launchpad import Launchpad

SRC_PPA_OWNER = 'ubuntu-cloud-archive'
SRC_PPA_NAME = 'havana-staging'

lp = Launchpad.login_with('sync-test', 'production')
src_ppa = lp.people[SRC_PPA_OWNER].getPPAByName(name=SRC_PPA_NAME)
ubuntu = lp.distributions['ubuntu']

source_packages = src_ppa.getPublishedSources(status='Published')

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: python-launchpadlib 1.10.2+ds-2
ProcVersionSignature: Ubuntu 3.13.0-18.38-generic 3.13.6
Uname: Linux 3.13.0-18-generic x86_64
ApportVersion: 2.13.3-0ubuntu1
Architecture: amd64
Date: Thu Mar 20 13:58:46 2014
InstallationDate: Installed on 2014-03-17 (3 days ago)
InstallationMedia: Ubuntu-Server 14.04 LTS "Trusty Tahr" - Alpha amd64 (20140313)
PackageArchitecture: all
ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: python-launchpadlib
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: launchpad
     Importance: Undecided
         Status: New

** Affects: launchpadlib
     Importance: Undecided
         Status: New

** Affects: python-launchpadlib (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug trusty

** Also affects: launchpadlib
   Importance: Undecided
       Status: New

** Also affects: launchpad
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to python-launchpadlib in Ubuntu.
https://bugs.launchpad.net/bugs/1295318

Title:
  getPublishedSources launchpadlib query times out

Status in Launchpad itself:
  New
Status in Launchpad web services client library:
  New
Status in “python-launchpadlib” package in Ubuntu:
  New

Bug description:
  [Impact]
  Larger queries consistently give 503 errors.

  [Test Case]

  #!/usr/bin/python
  from launchpadlib.launchpad import Launchpad

  SRC_PPA_OWNER = 'ubuntu-cloud-archive'
  SRC_PPA_NAME = 'havana-staging'

  lp = Launchpad.login_with('sync-test', 'production')
  src_ppa = lp.people[SRC_PPA_OWNER].getPPAByName(name=SRC_PPA_NAME)
  ubuntu = lp.distributions['ubuntu']

  source_packages = src_ppa.getPublishedSources(status='Published')

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: python-launchpadlib 1.10.2+ds-2
  ProcVersionSignature: Ubuntu 3.13.0-18.38-generic 3.13.6
  Uname: Linux 3.13.0-18-generic x86_64
  ApportVersion: 2.13.3-0ubuntu1
  Architecture: amd64
  Date: Thu Mar 20 13:58:46 2014
  InstallationDate: Installed on 2014-03-17 (3 days ago)
  InstallationMedia: Ubuntu-Server 14.04 LTS "Trusty Tahr" - Alpha amd64 (20140313)
  PackageArchitecture: all
  ProcEnviron:
   TERM=xterm
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: python-launchpadlib
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/launchpad/+bug/1295318/+subscriptions



More information about the foundations-bugs mailing list