about update

47 views
Skip to first unread message

gangadhar kadam

unread,
Apr 11, 2013, 1:47:08 AM4/11/13
to erpnext-dev...@googlegroups.com
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

I tried to login but i got  following error
 
<type 'exceptions.ImportError'>    Python 2.7.3: /usr/bin/python
Thu Apr 11 11:07:39 2013

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

Rushabh Mehta

unread,
Apr 11, 2013, 1:49:14 AM4/11/13
to erpnext-dev...@googlegroups.com
Gangadhar,

You must commit / stash your local changes before updating.

Please push your updates on your fork.

- Rushabh


W: https://erpnext.com
T: @rushabh_mehta

--
You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer...@googlegroups.com.
To post to this group, send email to erpnext-dev...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/erpnext-developer-forum/-/mSJ6EbkTkfoJ.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

gangadhar kadam

unread,
Apr 11, 2013, 5:34:11 AM4/11/13
to erpnext-dev...@googlegroups.com
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

Nabin Hait

unread,
Apr 11, 2013, 6:03:33 AM4/11/13
to erpnext-dev...@googlegroups.com
We have fixed the issue, please pull the latest updates.

Regards,
Nabin Hait

On 11-Apr-2013, at 3:04 PM, gangadhar kadam wrote:

Thank you

गंगाधर कदम

unread,
Apr 11, 2013, 6:26:21 AM4/11/13
to erpnext-dev...@googlegroups.com
Hello Sir,
   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

Thank you


--
You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer...@googlegroups.com.
To post to this group, send email to erpnext-dev...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 



--
Thanks & Regards,
Mr.Gangadhar N.Kadam.
Cell: +91 9960066444

Software Engineer,
New Indictrans Technologies Pvt. Ltd., Pune


SAVE TREES - Please consider the environment before printing this email.

SAVE ENERGY - My monitor is off whenever I am away from my desk. I am helping  prevent global warming by reducing consumption of power... ARE YOU?

Nabin Hait

unread,
Apr 11, 2013, 6:32:50 AM4/11/13
to erpnext-dev...@googlegroups.com
Sorry, please pull again.

Regards,
Nabin Hait
Reply all
Reply to author
Forward
0 new messages