-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
setup.py gives TypeError: __init__() takes exactly 2 arguments (4 given) #231
Comments
Our production deployment is based on Debian Wheezy. |
I used Ubuntu 14.04 as that's the closest to Wheezy |
I tried uninstalling setuptools-3.3 (ubuntu) and installing setuptools-0.6.24 (wheezy) but still get the same error. |
@drmalex07 have you seen this error before? |
I actually had success deploying PublicaMundi last year on a Xenial system. |
The error does not remind me of anything. By the way, our production setup (on debian 7.8 machines) is built on: |
Trying to build the demo-debian branch running through the ansible yml I'm getting
TypeError: init() takes exactly 2 arguments (4 given) trying to setup. I can't work out which init is being called and by whom.
$ sudo -u ckaner sh -c '(cd /var/local/ckan/default/pyenv/src/ckan ; ../../bin/python setup.py develop)'
running develop
running egg_info
writing ckan.egg-info/PKG-INFO
writing namespace_packages to ckan.egg-info/namespace_packages.txt
writing top-level names to ckan.egg-info/top_level.txt
writing dependency_links to ckan.egg-info/dependency_links.txt
writing entry points to ckan.egg-info/entry_points.txt
reading manifest file 'ckan.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching '' under directory 'ckanext//i18n'
no previously-included directories found matching '.git'
warning: no files found matching 'CHANGELOG.txt'
writing manifest file 'ckan.egg-info/SOURCES.txt'
running build_ext
Creating /var/local/ckan/default/pyenv/lib/python2.7/site-packages/ckan.egg-link (link to .)
ckan 2.2.1 is already the active version in easy-install.pth
Installing ckan-admin script to /var/local/ckan/default/pyenv/bin
Installed /var/local/ckan/default/pyenv/src/ckan
Traceback (most recent call last):
File "setup.py", line 153, in
entry_points=entry_points,
File "/usr/lib/python2.7/distutils/core.py", line 151, in setup
dist.run_commands()
File "/usr/lib/python2.7/distutils/dist.py", line 953, in run_commands
self.run_command(cmd)
File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "/var/local/ckan/default/pyenv/local/lib/python2.7/site-packages/setuptools/command/develop.py", line 27, in run
self.install_for_development()
File "/var/local/ckan/default/pyenv/local/lib/python2.7/site-packages/setuptools/command/develop.py", line 129, in install_for_development
self.process_distribution(None, self.dist, not self.no_deps)
File "/var/local/ckan/default/pyenv/local/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 666, in process_distribution
distreq.project_name, distreq.specs, requirement.extras
TypeError: init() takes exactly 2 arguments (4 given)
The text was updated successfully, but these errors were encountered: