[macport]bzr: ERROR: exceptions.ImportError: No module named bz2

Cornelius Weiss c.weiss at metaways.de
Thu Nov 15 13:40:52 GMT 2007


Hi,

as bzr tells me to write an email, im a nice guy and do so...

just installed bzr from macport and run

dhcp121:~ nelius$ bzr selftest
testing: /opt/local/bin/bzr
   /opt/local/lib/python2.5/site-packages/bzrlib (0.92.0
python2.5.1.final.0)

bzr: ERROR: exceptions.ImportError: No module named bz2

Traceback (most recent call last):
  File "/opt/local/lib/python2.5/site-packages/bzrlib/commands.py", line
802, in run_bzr_catch_errors
    return run_bzr(argv)
  File "/opt/local/lib/python2.5/site-packages/bzrlib/commands.py", line
758, in run_bzr
    ret = run(*run_argv)
  File "/opt/local/lib/python2.5/site-packages/bzrlib/commands.py", line
492, in run_argv_aliases
    return self.run(**all_cmd_args)
  File "/opt/local/lib/python2.5/site-packages/bzrlib/builtins.py", line
2610, in run
    strict=strict,
  File
"/opt/local/lib/python2.5/site-packages/bzrlib/tests/__init__.py", line
2354, in selftest
    suite = test_suite()
  File
"/opt/local/lib/python2.5/site-packages/bzrlib/tests/__init__.py", line
2509, in test_suite
    suite.addTest(loader.loadTestsFromModuleNames(testmod_names))
  File
"/opt/local/lib/python2.5/site-packages/bzrlib/tests/TestUtil.py", line
89, in loadTestsFromModuleNames
    _load_module_by_name(name)
  File
"/opt/local/lib/python2.5/site-packages/bzrlib/tests/TestUtil.py", line
96, in _load_module_by_name
    module = __import__(mod_name)
  File
"/opt/local/lib/python2.5/site-packages/bzrlib/tests/test_bundle.py",
line 33, in <module>
    from bzrlib.bundle.serializer import write_bundle, read_bundle, v09, v4
  File
"/opt/local/lib/python2.5/site-packages/bzrlib/bundle/serializer/v4.py",
line 18, in <module>
    import bz2
ImportError: No module named bz2

bzr 0.92.0 on python 2.5.1.final.0 (darwin)
arguments: ['/opt/local/bin/bzr', 'selftest']
encoding: 'US-ASCII', fsenc: 'utf-8', lang: None
plugins:
  launchpad           
/opt/local/lib/python2.5/site-packages/bzrlib/plugins/launchpad [unknown]
  multiparent         
/opt/local/lib/python2.5/site-packages/bzrlib/plugins/multiparent.pyc
[unknown]

** Please send this report to bazaar at lists.ubuntu.com
   with a description of what you were doing when the
   error occurred.
dhcp121:~ nelius$

os x: 10.4.10
latest macport
latest xcode

-- 
Cornelius Weiß
Metaways Infosystems GmbH
Pickhuben 2-4, D-20457 Hamburg

eGroupWare Support: http://www.egroupware-support.net
OfficeSpot.Net Collaboration Server: http://cs.officespot.net

E-Mail: mailto:c.weiss at metaways.de
Web: http://www.metaways.de
Tel: +49 (0)40 317031-45
Fax: +49 (0)40 317031-945

Metaways Infosystems GmbH - Sitz: D-22967 Tremsbüttel
Handelsregister: Amtsgericht Ahrensburg HRB 4508
Geschäftsführung: Hermann Thaele, Lüder-H.Thaele




More information about the bazaar mailing list