Comment 7 for bug 618307

Revision history for this message
Abhay Mujumdar (amujumdar) wrote :

I tried to run it in a session with a window and it failed with this error -
Explorer: skip module bzrlib.plugins.explorer.tests.test_test_suite because PyQt4 is not installed
Explorer: skip module bzrlib.plugins.explorer.tests.test_welcome because PyQt4 is not installed
QBzr: skip module bzrlib.plugins.qbzr.lib.tests.test_annotate because PyQt4 is not installed
QBzr: skip module bzrlib.plugins.qbzr.lib.tests.test_cat because PyQt4 is not installed
QBzr: skip module bzrlib.plugins.qbzr.lib.tests.test_commit because PyQt4 is not installed
QBzr: skip module bzrlib.plugins.qbzr.lib.tests.test_log because PyQt4 is not installed
QBzr: skip module bzrlib.plugins.qbzr.lib.tests.test_logmodel because PyQt4 is not installed
QBzr: skip module bzrlib.plugins.qbzr.lib.tests.test_revisionmessagebrowser because PyQt4 is not installed
QBzr: skip module bzrlib.plugins.qbzr.lib.tests.test_spellcheck because PyQt4 is not installed
QBzr: skip module bzrlib.plugins.qbzr.lib.tests.test_subprocess because PyQt4 is not installed
QBzr: skip module bzrlib.plugins.qbzr.lib.tests.test_tree_branch because PyQt4 is not installed
QBzr: skip module bzrlib.plugins.qbzr.lib.tests.test_treewidget because PyQt4 is not installed
QBzr: skip module bzrlib.plugins.qbzr.lib.tests.test_util because PyQt4 is not installed
QBzr: skip module bzrlib.plugins.qbzr.lib.tests.test_decorator because PyQt4 is not installed
bzr: ERROR: exceptions.SyntaxError: invalid syntax (test_info_xml.py, line 44)

Traceback (most recent call last):
  File "/usr/lib64/python2.4/site-packages/bzrlib/commands.py", line 853, in exception_to_return_code
    return the_callable(*args, **kwargs)
  File "/usr/lib64/python2.4/site-packages/bzrlib/commands.py", line 1055, in run_bzr
    ret = run(*run_argv)
  File "/usr/lib64/python2.4/site-packages/bzrlib/commands.py", line 661, in run_argv_aliases
    return self.run_direct(**all_cmd_args)
  File "/usr/lib64/python2.4/site-packages/bzrlib/commands.py", line 665, in run_direct
    return self._operation.run_simple(*args, **kwargs)
  File "/usr/lib64/python2.4/site-packages/bzrlib/cleanup.py", line 121, in run_simple
    return _do_with_cleanups(
  File "/usr/lib64/python2.4/site-packages/bzrlib/cleanup.py", line 156, in _do_with_cleanups
    result = func(*args, **kwargs)
  File "/usr/lib64/python2.4/site-packages/bzrlib/builtins.py", line 3575, in run
    result = selftest(**selftest_kwargs)
  File "/usr/lib64/python2.4/site-packages/bzrlib/tests/__init__.py", line 3377, in selftest
    suite = test_suite(keep_only, starting_with)
  File "/usr/lib64/python2.4/site-packages/bzrlib/tests/__init__.py", line 3841, in test_suite
    plugin_suite = plugin.load_plugin_tests(loader)
  File "/usr/lib64/python2.4/site-packages/bzrlib/plugin.py", line 447, in load_plugin_tests
    return loader.loadTestsFromModule(self.module)
  File "/usr/lib64/python2.4/site-packages/bzrlib/tests/TestUtil.py", line 141, in loadTestsFromModule
    return load_tests(basic_tests, module, self)
  File "/home/amujumdar/.bazaar/plugins/xmloutput/__init__.py", line 66, in load_tests
    basic_tests.addTest(loader.loadTestsFromModuleNames(
  File "/usr/lib64/python2.4/site-packages/bzrlib/tests/TestUtil.py", line 104, in loadTestsFromModuleNames
    result.addTests(self.loadTestsFromModuleName(name))
  File "/usr/lib64/python2.4/site-packages/bzrlib/tests/TestUtil.py", line 111, in loadTestsFromModuleName
    result.addTests(self.loadTestsFromModule(module))
  File "/usr/lib64/python2.4/site-packages/bzrlib/tests/TestUtil.py", line 141, in loadTestsFromModule
    return load_tests(basic_tests, module, self)
  File "/home/amujumdar/.bazaar/plugins/xmloutput/tests/__init__.py", line 36, in load_tests
    basic_tests.addTest(loader.loadTestsFromModuleNames(
  File "/usr/lib64/python2.4/site-packages/bzrlib/tests/TestUtil.py", line 104, in loadTestsFromModuleNames
    result.addTests(self.loadTestsFromModuleName(name))
  File "/usr/lib64/python2.4/site-packages/bzrlib/tests/TestUtil.py", line 109, in loadTestsFromModuleName
    module = _load_module_by_name(name)
  File "/usr/lib64/python2.4/site-packages/bzrlib/tests/TestUtil.py", line 178, in _load_module_by_name
    module = __import__(mod_name)
  File "/home/amujumdar/.bazaar/plugins/xmloutput/tests/test_info_xml.py", line 44
     root = '/C:' if sys.platform == 'win32' else ''
                   ^
 SyntaxError: invalid syntax

bzr 2.1.1 on python 2.4.3 (Linux-2.6.18-194.32.1.el5-x86_64-with-redhat-5.5-Final)
arguments: ['/usr/bin/bzr', 'selftest', 'xmloutput']
encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'en_US.UTF-8'
plugins:
  explorer /home/amujumdar/.bazaar/plugins/explorer [1.2.0]
  gtk /usr/lib64/python2.4/site-packages/bzrlib/plugins/gtk [0.98.0.final.1]
  launchpad /usr/lib64/python2.4/site-packages/bzrlib/plugins/launchpad [2.1.1]
  netrc_credential_store /usr/lib64/python2.4/site-packages/bzrlib/plugins/netrc_credential_store [2.1.1]
  news_merge /usr/lib64/python2.4/site-packages/bzrlib/plugins/news_merge [2.1.1]
  qbzr /home/amujumdar/.bazaar/plugins/qbzr [0.21.0]
  xmloutput /home/amujumdar/.bazaar/plugins/xmloutput [0.8.7]

*** Bazaar has encountered an internal error. This probably indicates a
    bug in Bazaar. You can help us fix it by filing a bug report at
        https://bugs.launchpad.net/bzr/+filebug
    including this traceback and a description of the problem.