Revision history [back]
object.__init__() takes no parameters
hi,
I am trying to do a build of 0.7.49 in fedora rpm. I get the following error when running setup after the rpm build..
<mock-chroot>[root@apps-fp-oi-00000340 /]# askbot-setup
Deploying Askbot - Django Q&A forum application
Problems installing? -> please email admin@askbot.org
To CANCEL - hit Ctr-C at any time
Enter directory path (absolute or relative) to deploy
askbot. To choose current directory - enter "."
> /opt
Please select database engine:
1 - for postgresql, 2 - for sqlite, 3 - for mysql, 4 - oracle (type 1/2/3/4)
> 2
Please enter database file name
> w
Copying files:
* __init__.py
* manage.py
* urls.py
* django.wsgi
Creating settings file
Traceback (most recent call last):
File "/usr/bin/askbot-setup", line 9, in <module>
load_entry_point('askbot==0.7.49', 'console_scripts', 'askbot-setup')()
File "/usr/lib/python2.7/site-packages/askbot/deployment/__init__.py", line 126, in askbot_setup
deploy_askbot(options_dict)
File "/usr/lib/python2.7/site-packages/askbot/deployment/__init__.py", line 186, in deploy_askbot
context=options
File "/usr/lib/python2.7/site-packages/askbot/deployment/path_utils.py", line 192, in deploy_into
settings_contents = SettingsTemplate(context).render()
File "/usr/lib/python2.7/site-packages/askbot/deployment/template_loader.py", line 13, in __init__
super(SettingsTemplate, self).__init__(context=context, **kwargs)
TypeError: object.__init__() takes no parameters
The same works fine on epel-6 build.
is it a python2.6 vs 2.7 issue?
reference srpm - http://koji.fedoraproject.org/koji/taskinfo?taskID=6059424
object.__init__() takes no parameters
hi,
I am trying to do a build of 0.7.49 in fedora rpm. I get the following error when running setup after the rpm build..
<mock-chroot>[root@apps-fp-oi-00000340 /]# askbot-setup
Deploying Askbot - Django Q&A forum application
Problems installing? -> please email admin@askbot.org
To CANCEL - hit Ctr-C at any time
Enter directory path (absolute or relative) to deploy
askbot. To choose current directory - enter "."
> /opt
Please select database engine:
1 - for postgresql, 2 - for sqlite, 3 - for mysql, 4 - oracle (type 1/2/3/4)
> 2
Please enter database file name
> w
Copying files:
* __init__.py
* manage.py
* urls.py
* django.wsgi
Creating settings file
Traceback (most recent call last):
File "/usr/bin/askbot-setup", line 9, in <module>
load_entry_point('askbot==0.7.49', 'console_scripts', 'askbot-setup')()
File "/usr/lib/python2.7/site-packages/askbot/deployment/__init__.py", line 126, in askbot_setup
deploy_askbot(options_dict)
File "/usr/lib/python2.7/site-packages/askbot/deployment/__init__.py", line 186, in deploy_askbot
context=options
File "/usr/lib/python2.7/site-packages/askbot/deployment/path_utils.py", line 192, in deploy_into
settings_contents = SettingsTemplate(context).render()
File "/usr/lib/python2.7/site-packages/askbot/deployment/template_loader.py", line 13, in __init__
super(SettingsTemplate, self).__init__(context=context, **kwargs)
TypeError: object.__init__() takes no parameters
The same works fine on epel-6 build.
is it a python2.6 vs 2.7 issue?
reference srpm - http://koji.fedoraproject.org/koji/taskinfo?taskID=6059424