Update error

62 views
Skip to first unread message

Hernan Gonzalez

unread,
Nov 28, 2012, 7:35:54 AM11/28/12
to erpnext-dev...@googlegroups.com
I recently updated ERpnext whith the  "lib/wnf.py --update origin master" command and it gave this error while updating.

"
Executing patches.november_2012.update_delivered_billed_percentage_for_pos in erpnext
Success
Executing patches.november_2012.add_theme_to_profile in erpnext
Traceback (innermost last):
  File "/var/www/erpnext/lib/webnotes/modules/patch_handler.py", line 72, in execute_patch
    getattr(patch, 'execute')()
  File "app/patches/november_2012/add_theme_to_profile.py", line 4, in execute
    webnotes.clear_perms("Profile")
 AttributeError: 'module' object has no attribute 'clear_perms'

patches.november_2012.add_theme_to_profile: failed: STOPPED "


Now i cant see any module from the desktop and the console gives this error:

Uncaught TypeError: Object #<Object> has no method 'set_theme'

Please help

Thanks

Rushabh Mehta

unread,
Nov 28, 2012, 7:41:04 AM11/28/12
to erpnext-dev...@googlegroups.com
Hi just run the command again, it should work

- 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 post to this group, send email to erpnext-dev...@googlegroups.com.
To unsubscribe from this group, send email to erpnext-developer...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/erpnext-developer-forum/-/TpfCO3ZG9pcJ.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Hernan Gonzalez

unread,
Nov 28, 2012, 7:48:55 AM11/28/12
to erpnext-dev...@googlegroups.com
Clearing the cache, made it work again, thanks for the quick response.

Hernan Gonzalez

unread,
Nov 30, 2012, 9:47:49 AM11/30/12
to erpnext-dev...@googlegroups.com
Well, im having the same problem again, after the update i get the following error:

 162 files changed, 3704 insertions(+), 4342 deletions(-)
 create mode 100644 controllers/tax_controller.py
 create mode 100644 controllers/transaction_controller.py
 create mode 100644 patches/november_2012/add_employee_field_in_employee.py
 create mode 100644 patches/november_2012/leave_application_cleanup.py
 create mode 100644 patches/november_2012/production_order_patch.py
Executing patches.november_2012.communication_sender_and_recipient in erpnext
Traceback (innermost last):
  File "/var/www/erpnext_roto/lib/webnotes/modules/patch_handler.py", line 72, in execute_patch
    getattr(patch, 'execute')()
  File "app/patches/november_2012/communication_sender_and_recipient.py", line 4, in execute
    webnotes.reload_doc("support", "doctype", "communication")
  File "/var/www/erpnext_roto/lib/webnotes/__init__.py", line 296, in reload_doc
    return webnotes.model.doctype.get(doctype, processed)
  File "/var/www/erpnext_roto/lib/webnotes/modules/__init__.py", line 73, in reload_doc
    return import_files(module, dt, dn, force)
  File "/var/www/erpnext_roto/lib/webnotes/modules/import_file.py", line 33, in import_files
    return import_file(module, dt, dn, force)
  File "/var/www/erpnext_roto/lib/webnotes/modules/import_file.py", line 41, in import_file
    return import_file_by_path(path, force)
  File "/var/www/erpnext_roto/lib/webnotes/modules/import_file.py", line 66, in import_file_by_path
    raise Exception, '%s missing' % path
 Exception: ./app/support/doctype/communication/communication.txt missing

patches.november_2012.communication_sender_and_recipient: failed: STOPPED


And i cant login (parsererror, nothing shows in the browser console)


I tryed thin in the virtual machine and the same thing happened.

Anand Doshi

unread,
Nov 30, 2012, 10:10:26 AM11/30/12
to erpnext-dev...@googlegroups.com
Hi,

Try doing
lib/wnf.py --update origin master

again.
We have fixed this issue.

Thanks,
Anand.

--
You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.
To post to this group, send email to erpnext-dev...@googlegroups.com.
To unsubscribe from this group, send email to erpnext-developer...@googlegroups.com.

Hernan Gonzalez

unread,
Nov 30, 2012, 11:54:36 AM11/30/12
to erpnext-dev...@googlegroups.com
Thanks a lot,  works great!
To unsubscribe from this group, send email to erpnext-developer-forum+unsub...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages