[tahoe-dev] problems running some of the tests on archlinux after an update

Jimmy Tang jcftang at gmail.com
Thu Feb 3 13:24:37 PST 2011


Hi All,

I've just been updating my archlinux install and something may have
broken the tests that the package in the AUR runs

https://aur.archlinux.org/packages.php?ID=39137

the package pretty much does what a normal user would do, it fails with this ...


Using /usr/lib/python2.7/site-packages
Finished processing dependencies for allmydata-tahoe==1.8.2
running make_executable
running build
running build_py
running trial
Traceback (most recent call last):
  File "/home/jtang/tmp/tahoe-lafs/src/allmydata-tahoe-1.8.2/support/bin/tahoe",
line 9, in <module>
    load_entry_point('allmydata-tahoe==1.8.2', 'console_scripts', 'tahoe')()
  File "/home/jtang/tmp/tahoe-lafs/src/allmydata-tahoe-1.8.2/src/allmydata/scripts/runner.py",
line 113, in run
    rc = runner(sys.argv[1:], install_node_control=install_node_control)
  File "/home/jtang/tmp/tahoe-lafs/src/allmydata-tahoe-1.8.2/src/allmydata/scripts/runner.py",
line 67, in runner
    config.parseOptions(argv)
  File "/usr/lib/python2.7/site-packages/twisted/python/usage.py",
line 219, in parseOptions
    self._dispatch[optMangled](optMangled, arg)
  File "/usr/lib/python2.7/site-packages/twisted/python/usage.py",
line 377, in <lambda>
    fn = lambda name, value=None, m=method: m()
  File "/home/jtang/tmp/tahoe-lafs/src/allmydata-tahoe-1.8.2/src/allmydata/scripts/common.py",
line 50, in opt_version_and_path
    print >>self.stdout,
allmydata.get_package_versions_string(show_paths=True, debug=True)
  File "/home/jtang/tmp/tahoe-lafs/src/allmydata-tahoe-1.8.2/src/allmydata/__init__.py",
line 391, in get_package_versions_string
    errors = cross_check_pkg_resources_versus_import()
  File "/home/jtang/tmp/tahoe-lafs/src/allmydata-tahoe-1.8.2/src/allmydata/__init__.py",
line 301, in cross_check_pkg_resources_versus_import
    % (imp_ver, name, imp_loc, pr_ver, pr_loc, e.__class__.name, e))
AttributeError: type object 'exceptions.TypeError' has no attribute 'name'
    Aborting...


it doesn't even start the tests even though it builds fine. it had
previously worked when I was building it outside of the packaging
system.


Thanks,
Jimmy.


-- 
http://www.sgenomics.org/~jtang/


More information about the tahoe-dev mailing list