Hello All, I was trying to get update using “sudo lib/wnf.py --update origin master” i got following message.
error: Your local changes to the following files would be overwritten by merge: public/js/modules.js selling/doctype/customer/customer.py selling/doctype/sales_order/sales_order.py setup/page/modules_setup/modules_setup.js Please, commit your changes or stash them before you can merge. Aborting
A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred. /var/www/nerp/public/web.py in () 43 return webnotes.webutils.render(webnotes.form_dict.get(‘page’)) 44 45 if name==“main”: 46 init() => 47 respond() respond = <function respond> /var/www/nerp/public/web.py in respond() 40 def respond(): 41 import webnotes => 42 import webnotes.webutils 43 return webnotes.webutils.render(webnotes.form_dict.get(‘page’)) 44 webnotes = <module ‘webnotes’ from ‘…/lib/webnotes/init.pyc’>, webnotes.webutils undefined /var/www/nerp/lib/webnotes/webutils.py in () 3 import os 4 import conf => 5 from startup.website import * 6 import webnotes 7 import webnotes.utils startup undefined
<type ‘exceptions.ImportError’>: No module named website args = (‘No module named website’,) message = ‘No module named website’
Did i anything wrong? Thank you
–
You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.
On 11-Apr-2013, at 11:17 AM, gangadhar kadam <em...@gmail.com> wrote:
Hello All, I was trying to get update using "sudo lib/wnf.py --update origin master" i got following message.
error: Your local changes to the following files would be overwritten by merge: public/js/modules.js selling/doctype/customer/customer.py selling/doctype/sales_order/sales_order.py setup/page/modules_setup/modules_setup.js Please, commit your changes or stash them before you can merge. Aborting
A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred. /var/www/nerp/public/web.py in () 43 return webnotes.webutils.render(webnotes.form_dict.get('page')) 44 45 if __name__=="__main__": 46 init() => 47 respond() respond = <function respond> /var/www/nerp/public/web.py in respond() 40 def respond(): 41 import webnotes => 42 import webnotes.webutils 43 return webnotes.webutils.render(webnotes.form_dict.get('page')) 44 webnotes = <module 'webnotes' from '../lib/webnotes/__init__.pyc'>, webnotes.webutils undefined /var/www/nerp/lib/webnotes/webutils.py in () 3 import os 4 import conf => 5 from startup.website import * 6 import webnotes 7 import webnotes.utils startup undefined
<type 'exceptions.ImportError'>: No module named website args = ('No module named website',) message = 'No module named website'
Did i anything wrong? Thank you
–
You received this message because you are subscribed to the Google Groups “ERPNext Developer Forum” group.
Hello sir, I have stash my local changes ant try to update i got following error.
Executing patches.march_2013.p08_create_aii_accounts in nerp Traceback (innermost last): File “/var/www/nerp/lib/webnotes/modules/patch_handler.py”, line 74, in execute_patch webnotes.get_method(patchmodule + “.execute”)() File “app/patches/march_2013/p08_create_aii_accounts.py”, line 5, in execute add_group_accounts() File “app/patches/march_2013/p08_create_aii_accounts.py”, line 39, in add_group_accounts add_accounts(accounts_to_add, _check) File “app/patches/march_2013/p08_create_aii_accounts.py”, line 76, in add_accounts account.insert() File “/var/www/nerp/lib/webnotes/model/bean.py”, line 270, in insert return self.save() File “/var/www/nerp/lib/webnotes/model/bean.py”, line 280, in save self.run_method(‘validate’) File “/var/www/nerp/lib/webnotes/model/bean.py”, line 217, in run_method getattr(self.obj, method)() File “app/accounts/doctype/account/account.py”, line 127, in validate self.validate_duplicate_account() File “app/accounts/doctype/account/account.py”, line 76, in validate_duplicate_account % self.doc.account_name, raise_exception=1) File “/var/www/nerp/lib/webnotes/init.py”, line 124, in msgprint raise ValidationError, msg ValidationError: Account Name: Stock Assets already exists, please rename
i am able to login but all module are invisible. What should i do?
Thank you
On Thursday, 11 April 2013 11:17:08 UTC+5:30, gangadhar kadam wrote:
Hello All, I was trying to get update using “sudo lib/wnf.py --update origin master” i got following message.
error: Your local changes to the following files would be overwritten by merge: public/js/modules.js selling/doctype/customer/customer.py selling/doctype/sales_order/sales_order.py setup/page/modules_setup/modules_setup.js Please, commit your changes or stash them before you can merge. Aborting
A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred. /var/www/nerp/public/web.py in () 43 return webnotes.webutils.render(webnotes.form_dict.get(‘page’)) 44 45 if name==“main”: 46 init() => 47 respond() respond = <function respond> /var/www/nerp/public/web.py in respond() 40 def respond(): 41 import webnotes => 42 import webnotes.webutils 43 return webnotes.webutils.render(webnotes.form_dict.get(‘page’)) 44 webnotes = <module ‘webnotes’ from ‘…/lib/webnotes/init.pyc’>, webnotes.webutils undefined /var/www/nerp/lib/webnotes/webutils.py in () 3 import os 4 import conf => 5 from startup.website import * 6 import webnotes 7 import webnotes.utils startup undefined
<type ‘exceptions.ImportError’>: No module named website args = (‘No module named website’,) message = ‘No module named website’
Did i anything wrong? Thank you
–
You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.
I have tried to update and got following error. Executing patches.march_2013.p08_create_aii_accounts in nerp Traceback (innermost last): File "/var/www/nerp/lib/webnotes/modules/patch_handler.py", line 74, in execute_patch
webnotes.get_method(patchmodule + ".execute")() File "app/patches/march_2013/p08_create_aii_accounts.py", line 7, in execute add_aii_cost_center() File "app/patches/march_2013/p08_create_aii_accounts.py", line 95, in add_aii_cost_center
cc.insert() File "/var/www/nerp/lib/webnotes/model/bean.py", line 270, in insert return self.save() File "/var/www/nerp/lib/webnotes/model/bean.py", line 280, in save self.run_method('validate')
File "/var/www/nerp/lib/webnotes/model/bean.py", line 217, in run_method getattr(self.obj, method)() File "app/accounts/doctype/cost_center/cost_center.py", line 85, in validate msgprint("Cost Center Name already exists, please rename", raise_exception=1)
File "/var/www/nerp/lib/webnotes/__init__.py", line 124, in msgprint raise ValidationError, msg ValidationError: Cost Center Name already exists, please rename
I have tried to update and got following error. Executing patches.march_2013.p08_create_aii_accounts in nerp Traceback (innermost last): File "/var/www/nerp/lib/webnotes/modules/patch_handler.py", line 74, in execute_patch
webnotes.get_method(patchmodule + ".execute")() File "app/patches/march_2013/p08_create_aii_accounts.py", line 7, in execute add_aii_cost_center() File "app/patches/march_2013/p08_create_aii_accounts.py", line 95, in add_aii_cost_center
cc.insert() File "/var/www/nerp/lib/webnotes/model/bean.py", line 270, in insert return self.save() File "/var/www/nerp/lib/webnotes/model/bean.py", line 280, in save self.run_method('validate')
File "/var/www/nerp/lib/webnotes/model/bean.py", line 217, in run_method getattr(self.obj, method)() File "app/accounts/doctype/cost_center/cost_center.py", line 85, in validate msgprint("Cost Center Name already exists, please rename", raise_exception=1)
File "/var/www/nerp/lib/webnotes/__init__.py", line 124, in msgprint raise ValidationError, msg ValidationError: Cost Center Name already exists, please rename