export-to-branch fails: "cursor already closed"

Bug #408206 reported by Jeroen T. Vermeulen
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
High
Jeroen T. Vermeulen

Bug Description

Ever since ddtp-ubuntu started using the export-to-branch feature, the export fails when it gets to easy-union:

Traceback (most recent call last):
  File "/srv/bazaar.launchpad.net/production/launchpad/cronscripts/translations-export-to-branch.py", line 28, in ?
    script.lock_and_run()
  File "/srv/bazaar.launchpad.net/production/launchpad-rev-8323/lib/lp/services/scripts/base.py", line 286, in lock_and_run
    implicit_begin=implicit_begin, isolation=isolation)
  File "/srv/bazaar.launchpad.net/production/launchpad-rev-8323/lib/lp/services/scripts/base.py", line 244, in run
    self.main()
  File "/srv/bazaar.launchpad.net/production/launchpad-rev-8323/lib/lp/translations/scripts/translations_to_branch.py", line 138, in main
    self._exportToBranches(productseries)
  File "/srv/bazaar.launchpad.net/production/launchpad-rev-8323/lib/lp/translations/scripts/translations_to_branch.py", line 91, in _exportToBranches
    for source in productseries_iter:
  File "/srv/bazaar.launchpad.net/production/launchpad-rev-8323/eggs/storm-0.14salgado_storm_launchpad_288_308-py2.4-linux-x86_64.egg/storm/store.py", line 970, in __iter__
    for values in result:
  File "/srv/bazaar.launchpad.net/production/launchpad-rev-8323/eggs/storm-0.14salgado_storm_launchpad_288_308-py2.4-linux-x86_64.egg/storm/database.py", line 113, in __iter__
    results = self._connection._check_disconnect(
  File "/srv/bazaar.launchpad.net/production/launchpad-rev-8323/eggs/storm-0.14salgado_storm_launchpad_288_308-py2.4-linux-x86_64.egg/storm/database.py", line 326, in _check_disconnect
    return function(*args, **kwargs)
psycopg2.InterfaceError: cursor already closed

Related branches

Revision history for this message
Jeroen T. Vermeulen (jtv) wrote :

Fixed in devel 9030

Changed in rosetta:
status: In Progress → Fix Committed
Revision history for this message
Jeroen T. Vermeulen (jtv) wrote :

Fixed in db-devel 8346

Changed in rosetta:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.