failed to import bzrlib.strace No module named testtools

Bug #538466 reported by Jari Aalto
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Bazaar Service Plugin
Triaged
Medium
Unassigned

Bug Description

Standard Debian / testing

$ uname -a
Linux host 2.6.32-trunk-amd64 #1 SMP Sun Jan 10 22:40:40 UTC 2010 x86_64 GNU/Linux

$ type -a python
python is /usr/bin/python

$ bzr --version
Bazaar (bzr) 2.1.0
  Python interpreter: /usr/bin/python 2.5.5
  Python standard library: /usr/lib/python2.5
  Platform: Linux-2.6.32-trunk-amd64-x86_64-with-debian-squeeze-sid
  bzrlib: /usr/lib/python2.5/site-packages/bzrlib
  Bazaar configuration: /home/jaalto/.bazaar
  Bazaar log file: /home/jaalto/.bzr.log

$ bzr start-service -v
failed to import bzrlib.strace: <type 'exceptions.ImportError'> No module named testtools
failed to import bzrlib.benchmarks: <type 'exceptions.ImportError'> No module named testtools
failed to import bzrlib.doc.api: <type 'exceptions.ImportError'> No module named testtools
failed to import bzrlib.util.simplemapi: <type 'exceptions.NameError'> name 'windll' is not defined
failed to import bzrlib.benchmarks.bench_bench: <type 'exceptions.ImportError'> No module named testtools
failed to import bzrlib.benchmarks.bench_xml: <type 'exceptions.ImportError'> No module named testtools
failed to import bzrlib.benchmarks.bench_add: <type 'exceptions.ImportError'> No module named testtools
failed to import bzrlib.benchmarks.bench_inventory: <type 'exceptions.ImportError'> No module named testtools
failed to import bzrlib.benchmarks.bench_tags: <type 'exceptions.ImportError'> No module named testtools
failed to import bzrlib.benchmarks.bench_dirstate: <type 'exceptions.ImportError'> No module named testtools
failed to import bzrlib.benchmarks.bench_log: <type 'exceptions.ImportError'> No module named testtools
failed to import bzrlib.benchmarks.bench_status: <type 'exceptions.ImportError'> No module named testtools
failed to import bzrlib.benchmarks.bench_startup: <type 'exceptions.ImportError'> No module named testtools
failed to import bzrlib.benchmarks.bench_cache_utf8: <type 'exceptions.ImportError'> No module named testtools
failed to import bzrlib.benchmarks.bench_workingtree: <type 'exceptions.ImportError'> No module named testtools
failed to import bzrlib.benchmarks.bench_bundle: <type 'exceptions.ImportError'> No module named testtools
failed to import bzrlib.benchmarks.bench_transform: <type 'exceptions.ImportError'> No module named testtools
failed to import bzrlib.benchmarks.bench_commit: <type 'exceptions.ImportError'> No module named testtools
failed to import bzrlib.benchmarks.bench_osutils: <type 'exceptions.ImportError'> No module named testtools
failed to import bzrlib.benchmarks.bench_info: <type 'exceptions.ImportError'> No module named testtools
failed to import bzrlib.benchmarks.bench_rocks: <type 'exceptions.ImportError'> No module named testtools
failed to import bzrlib.benchmarks.bench_pack: <type 'exceptions.ImportError'> No module named testtools
failed to import bzrlib.benchmarks.bench_checkout: <type 'exceptions.ImportError'> No module named testtools
failed to import bzrlib.benchmarks.bench_knit: <type 'exceptions.ImportError'> No module named testtools
failed to import bzrlib.benchmarks.bench_sftp: <type 'exceptions.ImportError'> No module named testtools
failed to import bzrlib.benchmarks.tree_creator: <type 'exceptions.ImportError'> No module named testtools
failed to import bzrlib.benchmarks.tree_creator.simple_many_commit: <type 'exceptions.ImportError'> No module named testtools
failed to import bzrlib.benchmarks.tree_creator.many_commit: <type 'exceptions.ImportError'> No module named testtools
failed to import bzrlib.benchmarks.tree_creator.heavily_merged: <type 'exceptions.ImportError'> No module named testtools
failed to import bzrlib.benchmarks.tree_creator.kernel_like: <type 'exceptions.ImportError'> No module named testtools
failed to import bzrlib.transport.ftp._gssapi: <class 'bzrlib.errors.DependencyNotPresent'> Unable to import library "kerberos": No module named \
kerberos
failed to import bzrlib.transport.http._pycurl: <class 'bzrlib.errors.DependencyNotPresent'> Unable to import library "pycurl": No module named p\
ycurl

Related branches

Revision history for this message
Jari Aalto (jari-aalto) wrote :

Hm,

If possible, please instruct the user install following package at startup, if missing:

   apt-get install python-pycurl python-testtools

But this still levaes following errors:

$ bzr start-service -v
failed to import bzrlib.util.simplemapi: <type 'exceptions.NameError'> name 'windll' is not defined
failed to import bzrlib.benchmarks.bench_knit: <type 'exceptions.ImportError'> cannot import name CompiledKnitFeature
failed to import bzrlib.transport.ftp._gssapi: <class 'bzrlib.errors.DependencyNotPresent'> Unable to import library "kerberos": No module named \
kerberos

Jelmer Vernooij (jelmer)
Changed in bzr-service:
status: New → Triaged
importance: Undecided → Medium
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.