1. Marcin Kuzminski
  2. RhodeCode
  3. Issues

Issues

Issue #294 wontfix

TypeError raised during install

Anonymous created an issue

I got TypeError exception when i try to install RhodeCode on my home server (Debian Lenny with armel port, python is 2.6).

{{{ ~# easy_install rhodecode install_dir /usr/local/lib/python2.6/dist-packages/ Searching for rhodecode Reading http://pypi.python.org/simple/rhodecode/ Reading http://rhodecode.org Reading http://hg.python-works.com Best match: RhodeCode 1.2.2 Downloading http://pypi.python.org/packages/source/R/RhodeCode/RhodeCode-1.2.2.tar.gz#md5=b5190b7abb7cbcc934edff00bfec5d3a Processing RhodeCode-1.2.2.tar.gz Running RhodeCode-1.2.2/setup.py -q bdist_egg --dist-dir /tmp/easy_install-AStLGI/RhodeCode-1.2.2/egg-dist-tmp-BKrkV9 Traceback (most recent call last): File "/usr/bin/easy_install", line 9, in <module> load_entry_point('distribute==0.6.14', 'console_scripts', 'easy_install')() File "/usr/lib/python2.6/dist-packages/setuptools/command/easy_install.py", line 1903, in main with_ei_usage(lambda: File "/usr/lib/python2.6/dist-packages/setuptools/command/easy_install.py", line 1884, in with_ei_usage return f() File "/usr/lib/python2.6/dist-packages/setuptools/command/easy_install.py", line 1907, in <lambda> distclass=DistributionWithoutHelpCommands, **kw File "/usr/lib/python2.6/distutils/core.py", line 152, in setup dist.run_commands() File "/usr/lib/python2.6/distutils/dist.py", line 975, in run_commands self.run_command(cmd) File "/usr/lib/python2.6/distutils/dist.py", line 995, in run_command cmd_obj.run() File "/usr/lib/python2.6/dist-packages/setuptools/command/easy_install.py", line 361, in run self.easy_install(spec, not self.no_deps) File "/usr/lib/python2.6/dist-packages/setuptools/command/easy_install.py", line 601, in easy_install return self.install_item(spec, dist.location, tmpdir, deps) File "/usr/lib/python2.6/dist-packages/setuptools/command/easy_install.py", line 631, in install_item dists = self.install_eggs(spec, download, tmpdir) File "/usr/lib/python2.6/dist-packages/setuptools/command/easy_install.py", line 821, in install_eggs return self.build_and_install(setup_script, setup_base) File "/usr/lib/python2.6/dist-packages/setuptools/command/easy_install.py", line 1098, in build_and_install self.run_setup(setup_script, setup_base, args) File "/usr/lib/python2.6/dist-packages/setuptools/command/easy_install.py", line 1087, in run_setup run_setup(setup_script, args) File "/usr/lib/python2.6/dist-packages/setuptools/sandbox.py", line 29, in run_setup lambda: execfile( File "/usr/lib/python2.6/dist-packages/setuptools/sandbox.py", line 70, in run return func() File "/usr/lib/python2.6/dist-packages/setuptools/sandbox.py", line 31, in <lambda> {'file':setup_script, 'name':'main'} File "setup.py", line 2, in <module> File "/tmp/easy_install-AStLGI/RhodeCode-1.2.2/rhodecode/init.py", line 39, in <module>

File "/tmp/easy_install-AStLGI/RhodeCode-1.2.2/rhodecode/lib/init.py", line 399, in get_current_revision

File "/usr/local/lib/python2.6/dist-packages/vcs-0.2.2-py2.6.egg/vcs/utils/helpers.py", line 37, in get_scm found_scms = get_scms(path) File "/usr/local/lib/python2.6/dist-packages/vcs-0.2.2-py2.6.egg/vcs/utils/helpers.py", line 35, in get_scms return [(scm, path) for scm in get_scms_for_path(path)] File "/usr/local/lib/python2.6/dist-packages/vcs-0.2.2-py2.6.egg/vcs/utils/helpers.py", line 82, in get_scms_for_path get_backend(key)(path) File "/usr/local/lib/python2.6/dist-packages/vcs-0.2.2-py2.6.egg/vcs/backends/init.py", line 55, in get_backend klass = import_class(backend_path) File "/usr/local/lib/python2.6/dist-packages/vcs-0.2.2-py2.6.egg/vcs/utils/imports.py", line 20, in import_class class_mod = import(mod_path, {}, {}, [class_name]) File "/usr/local/lib/python2.6/dist-packages/vcs-0.2.2-py2.6.egg/vcs/backends/hg.py", line 20, in <module> from mercurial.commands import clone File "/usr/lib/pymodules/python2.6/mercurial/commands.py", line 12, in <module> import hg, util, revlog, bundlerepo, extensions, copies, error File "/usr/lib/pymodules/python2.6/mercurial/hg.py", line 11, in <module> import localrepo, bundlerepo, httprepo, sshrepo, statichttprepo File "/usr/lib/pymodules/python2.6/mercurial/localrepo.py", line 17, in <module> import url as urlmod File "/usr/lib/pymodules/python2.6/mercurial/url.py", line 253, in <module> class httpsendfile(file): TypeError: Error when calling the metaclass bases first argument must be callable

}}}

Hope this gives some hint to resolve this issue.

Thanks Andras Szabo

Comments (2)

  1. Log in to comment