Hello I have the same issue.. The I uncommented the line insert_dada() no good...
File "/usr/local/www/FreePyBX/freepybx/websetup.py", line 43, in <module>
insert_data()
NameError: name 'insert_data' is not defined
(www)freeswitch@vpbx:~/FreePyBX$ paster setup-app development.ini
Traceback (most recent call last):
File "/usr/local/www/bin/paster", line 8, in <module>
load_entry_point('PasteScript==1.7.5', 'console_scripts', 'paster')()
File "/usr/local/www/lib/python2.6/site-packages/PasteScript-1.7.5-py2.6.egg/paste/script/command.py", line 104, in run
invoke(command, command_name, options, args[1:])
File "/usr/local/www/lib/python2.6/site-packages/PasteScript-1.7.5-py2.6.egg/paste/script/command.py", line 143, in invoke
exit_code = runner.run(args)
File "/usr/local/www/lib/python2.6/site-packages/PasteScript-1.7.5-py2.6.egg/paste/script/appinstall.py", line 68, in run
return super(AbstractInstallCommand, self).run(new_args)
File "/usr/local/www/lib/python2.6/site-packages/PasteScript-1.7.5-py2.6.egg/paste/script/command.py", line 238, in run
result = self.command()
File "/usr/local/www/lib/python2.6/site-packages/PasteScript-1.7.5-py2.6.egg/paste/script/appinstall.py", line 456, in command
self, config_file, section, self.sysconfig_install_vars(installer))
File "/usr/local/www/lib/python2.6/site-packages/PasteScript-1.7.5-py2.6.egg/paste/script/appinstall.py", line 591, in setup_config
mod = import_string.try_import_module(mod_name)
File "/usr/local/www/lib/python2.6/site-packages/Paste-1.7.5.1-py2.6.egg/paste/util/import_string.py", line 81, in try_import_module
return import_module(module_name)
File "/usr/local/www/lib/python2.6/site-packages/Paste-1.7.5.1-py2.6.egg/paste/util/import_string.py", line 67, in import_module
mod = __import__(s)
File "/usr/local/www/FreePyBX/freepybx/websetup.py", line 43, in <module>
insert_data()
NameError: name 'insert_data' is not defined