Well i am almost there :D
but the following command gives me the following error
(px)baruwa baruwa # paster setup-app /usr/local/etc/baruwa/production.ini
Running setup_app() from baruwa.websetup
----------------------------------------------------------------------------------------------------
2013-01-15 14:47:05,071 INFO [baruwa.websetup] [MainThread] Creating tables
----------------------------------------------------------------------------------------------------
2013-01-15 14:47:06,039 INFO [baruwa.websetup] [MainThread] Creating
custom functions
/usr/home/baruwa/px/lib/python2.7/site-packages/sqlalchemy/engine/default.py:467:
SAWarning: Unicode type received non-unicode bind param value.
processors[key](compiled_params[key])
----------------------------------------------------------------------------------------------------
2013-01-15 14:47:06,141 INFO [baruwa.websetup] [MainThread] Populating
initial sql
2013-01-15 14:47:06,679 INFO [baruwa.websetup] [MainThread] Creating
the default settings node
2013-01-15 14:47:06,687 INFO [baruwa.websetup] [MainThread] Default
settings node created !
Do you want to configure an admin account? (Y/N): y
----------------------------------------------------------------------------------------------------
2013-01-15 14:47:28,470 INFO [baruwa.websetup] [MainThread] Creating
initial admin account
Please enter the username:admin
Please enter the password1:
Traceback (most recent call last):
File "/usr/home/baruwa/px/bin/paster", line 9, in <module>
load_entry_point('PasteScript==1.7.5', 'console_scripts', 'paster')()
File
"/usr/home/baruwa/px/lib/python2.7/site-packages/paste/script/command.py",
line 104, in run
invoke(command, command_name, options, args[1:])
File
"/usr/home/baruwa/px/lib/python2.7/site-packages/paste/script/command.py",
line 143, in invoke
exit_code = runner.run(args)
File
"/usr/home/baruwa/px/lib/python2.7/site-packages/paste/script/appinstall.py",
line 68, in run
return super(AbstractInstallCommand, self).run(new_args)
File
"/usr/home/baruwa/px/lib/python2.7/site-packages/paste/script/command.py",
line 238, in run
result = self.command()
File
"/usr/home/baruwa/px/lib/python2.7/site-packages/paste/script/appinstall.py",
line 456, in command
self, config_file, section, self.sysconfig_install_vars(installer))
File
"/usr/home/baruwa/px/lib/python2.7/site-packages/paste/script/appinstall.py",
line 598, in setup_config
mod.setup_app, command, filename, section, vars)
File
"/usr/home/baruwa/px/lib/python2.7/site-packages/paste/script/appinstall.py",
line 614, in _call_setup_app
func(command, conf, vars)
File
"/usr/home/baruwa/px/lib/python2.7/site-packages/baruwa/websetup.py",
line 162, in setup_app
value = get_input(attr, value_map[attr])
File
"/usr/home/baruwa/px/lib/python2.7/site-packages/baruwa/websetup.py",
line 149, in get_input
cracklib.VeryFascistCheck(value)
File "/usr/home/baruwa/px/lib/python2.7/site-packages/cracklib.py",
line 209, in VeryFascistCheck
FascistCheck(new)
OSError: [Errno 2] No such file or directory:
'/usr/local/libdata/cracklib.pwd'
I looked for a file called cracklib.pwd, but there is no such file on my
system.
regards
Johan
_______________________________________________
Keep Baruwa FREE - http://pledgie.com/campaigns/12056