Error While First configuration

Took a while for me to install ERPNext on a new Centos machine. The error was due to some lib missing in first instance and not been mentioned any where. Got it rite after googling so much in ERPNext forums.
After the lib was installed, the app got installed with ease. (Even the script did not work, was so tiring to find the solution when the client was waiting)
And then , the initial set up / configuration for ERPNext, entered all mandatory and other informations, and after clicking complete set up…there you go another error
Traceback (most recent call last):
File “/home/erpnext/frappe-fmcg/apps/frappe/frappe/”, line 55, in application
response = frappe.handler.handle()
File “/home/erpnext/frappe-fmcg/apps/frappe/frappe/”, line 19, in handle
File “/home/erpnext/frappe-fmcg/apps/frappe/frappe/”, line 36, in execute_cmd
ret =, **frappe.form_dict)
File “/home/erpnext/frappe-fmcg/apps/frappe/frappe/”, line 874, in call
return fn(*args, **newargs)
File “/home/erpnext/frappe-fmcg/apps/frappe/frappe/desk/page/setup_wizard/”, line 32, in setup_complete
File “/home/erpnext/frappe-fmcg/apps/erpnext/erpnext/setup/setup_wizard/”, line 21, in setup_complete
File “/home/erpnext/frappe-fmcg/apps/erpnext/erpnext/setup/setup_wizard/”, line 204, in install
File “/home/erpnext/frappe-fmcg/apps/frappe/frappe/model/”, line 194, in insert
File “/home/erpnext/frappe-fmcg/apps/frappe/frappe/model/”, line 642, in run_before_save_methods
File “/home/erpnext/frappe-fmcg/apps/frappe/frappe/model/”, line 603, in run_method
return Document.hook(fn)(self, *args, **kwargs)
File “/home/erpnext/frappe-fmcg/apps/frappe/frappe/model/”, line 768, in composer
return composed(self, method, *args, **kwargs)
File “/home/erpnext/frappe-fmcg/apps/frappe/frappe/model/”, line 751, in runner
add_to_return_value(self, fn(self, *args, **kwargs))
File “/home/erpnext/frappe-fmcg/apps/frappe/frappe/model/”, line 597, in
fn = lambda self, *args, **kwargs: getattr(self, method)(*args, **kwargs)
File “/home/erpnext/frappe-fmcg/apps/erpnext/erpnext/setup/doctype/item_group/”, line 26, in validate
super(ItemGroup, self).validate()
File “/home/erpnext/frappe-fmcg/apps/frappe/frappe/website/”, line 33, in validate
self.route = self.route.strip(‘/.’)
AttributeError: ‘NoneType’ object has no attribute ‘strip’

Have this version of ERPNext tested before publishing ?
My client is waiting for 2 days and I dont know what to say !! He too might get frustrated with my excuses and may leave the ERPNext for some other solution … PLEASE GUYS SOME ONE HELP ME ITS QUITE URGENT !!!

What setup did you run to install ERPNext? What are the git branches for your frappe and erpnext app?