Bzr import fails with NotImplementedError in broken_remote_exceptions

Bug #1042351 reported by Matt Jones
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
Critical
William Grant

Bug Description

When trying to get launchpad to import my bazaar code I keep getting errors:

https://code.launchpad.net/~workhorsy/rester/trunk

The logs look like this:

2012-08-27 17:33:21 INFO Starting job.
2012-08-27 17:33:21 INFO Getting exising bzr branch from central store.
2012-08-27 17:33:21 INFO [chan bzr SocketAsChannelAdapter] Opened sftp connection (server version 3)
2012-08-27 17:33:22 INFO 219 bytes transferred
2012-08-27 17:33:26 INFO Importing branch.
2012-08-27 17:33:29 WARNING Doing on-the-fly conversion from RepositoryFormatKnitPack1() to RepositoryFormat2a().
This may take some time. Upgrade the repositories to the same format for better performance.
2012-08-27 17:33:29 INFO Finding revisions
2012-08-27 17:33:29 INFO Fetching revisions:Get stream source
2012-08-27 17:33:32 INFO Fetching revisions:Inserting stream:Walking content 0/508
Traceback (most recent call last):
  File "/srv/importd.launchpad.net/production/launchpad-rev-15843/scripts/code-import-worker.py", line 99, in <module>
    sys.exit(script.main())
  File "/srv/importd.launchpad.net/production/launchpad-rev-15843/scripts/code-import-worker.py", line 94, in main
    return import_worker.run()
  File "/srv/importd.launchpad.net/production/launchpad-rev-15843/lib/lp/codehosting/codeimport/worker.py", line 591, in run
    return self._doImport()
  File "/srv/importd.launchpad.net/production/launchpad-rev-15843/lib/lp/codehosting/codeimport/worker.py", line 765, in _doImport
    elif e.__class__ in self.broken_remote_exceptions:
  File "/srv/importd.launchpad.net/production/launchpad-rev-15843/lib/lp/codehosting/codeimport/worker.py", line 705, in broken_remote_exceptions
    raise NotImplementedError
NotImplementedError
Import failed:
Traceback (most recent call last):
Failure: twisted.internet.error.ProcessTerminated: A process has ended with a probable error condition: process ended with exit code 1.

Related branches

Curtis Hovey (sinzui)
Changed in launchpad:
importance: Undecided → Critical
status: New → Triaged
Revision history for this message
Matt Jones (workhorsy) wrote :

I upgraded the branch from format pack-0.92 to 2a using bzr upgrade, and it imported correctly. Is pack-0.92 deprecated?

You can still see the problem on the older branches which I have not upgraded:

https://code.launchpad.net/~workhorsy/rester/rootintootin-0.8.0
https://code.launchpad.net/~workhorsy/rester/rootintootin-0.7.0

Revision history for this message
Matt Jones (workhorsy) wrote :

So it looks like pack-0.92 is deprecated:
http://doc.bazaar.canonical.com/development/en/user-reference/other-formats-help.html

Then Launchpad should say that is the reason it was not able to import. And for the user to bzr upgrade to fix the broblem.

William Grant (wgrant)
Changed in launchpad:
assignee: nobody → William Grant (wgrant)
status: Triaged → In Progress
Revision history for this message
Launchpad QA Bot (lpqabot) wrote :

Fixed in stable r16170 (http://bazaar.launchpad.net/~launchpad-pqm/launchpad/stable/revision/16170) by a commit, but not testable.

tags: added: qa-untestable
Changed in launchpad:
status: In Progress → Fix Committed
William Grant (wgrant)
Changed in launchpad:
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.