Update error

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



You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.

To post to this group, send email to er...@googlegroups.com.

To unsubscribe from this group, send email to erpnext-developer-forum+un...@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.

 

 

Hi just run the command again, it should work

- Rushabh


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

On 28-Nov-2012, at 6:05 PM, Hernan Gonzalez <nu...@gmail.com> wrote:

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



You received this message because you are subscribed to the Google Groups “ERPNext Developer Forum” group.

To post to this group, send email to er…@googlegroups.com.

To unsubscribe from this group, send email to erpnext-developer-forum+un…@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.

 

 




You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.

To post to this group, send email to er...@googlegroups.com.

To unsubscribe from this group, send email to erpnext-developer-forum+un...@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.

 

 

Clearing the cache, made it work again, thanks for the quick response.




On Wednesday, November 28, 2012 9:35:54 AM UTC-3, Hernan Gonzalez wrote:
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



You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.

To post to this group, send email to er...@googlegroups.com.

To unsubscribe from this group, send email to erpnext-developer-forum+un...@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msg/erpnext-developer-forum/-/6yEI2YpyHkoJ.

For more options, visit https://groups.google.com/groups/opt_out.

 

 

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.

On Wednesday, November 28, 2012 9:48:55 AM UTC-3, Hernan Gonzalez wrote:
Clearing the cache, made it work again, thanks for the quick response.



On Wednesday, November 28, 2012 9:35:54 AM UTC-3, Hernan Gonzalez wrote:
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



You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.

To post to this group, send email to er...@googlegroups.com.

To unsubscribe from this group, send email to erpnext-developer-forum+un...@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msg/erpnext-developer-forum/-/eukt1J-C_b4J.

For more options, visit https://groups.google.com/groups/opt_out.

 

 

Hi,

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

again.
We have fixed this issue.

Thanks,
Anand.

On 30-Nov-2012, at 8:17 PM, Hernan Gonzalez <nu...@gmail.com> wrote:

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.

On Wednesday, November 28, 2012 9:48:55 AM UTC-3, Hernan Gonzalez wrote:
Clearing the cache, made it work again, thanks for the quick response.



On Wednesday, November 28, 2012 9:35:54 AM UTC-3, Hernan Gonzalez wrote:
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



You received this message because you are subscribed to the Google Groups “ERPNext Developer Forum” group.

To post to this group, send email to er…@googlegroups.com.

To unsubscribe from this group, send email to erpnext-developer-forum+un…@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msg/erpnext-developer-forum/-/eukt1J-C_b4J.

For more options, visit https://groups.google.com/groups/opt_out.

 

 




You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.

To post to this group, send email to er...@googlegroups.com.

To unsubscribe from this group, send email to erpnext-developer-forum+un...@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.

 

 

Thanks a lot,  works great!


On Friday, November 30, 2012 12:10:26 PM UTC-3, Anand Doshi wrote:

Hi,

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

again.
We have fixed this issue.

Thanks,
Anand.

On 30-Nov-2012, at 8:17 PM, Hernan Gonzalez <nu…@gmail.com> wrote:

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.

On Wednesday, November 28, 2012 9:48:55 AM UTC-3, Hernan Gonzalez wrote:
Clearing the cache, made it work again, thanks for the quick response.



On Wednesday, November 28, 2012 9:35:54 AM UTC-3, Hernan Gonzalez wrote:
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



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-forum+un…@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msg/erpnext-developer-forum/-/eukt1J-C_b4J.

For more options, visit https://groups.google.com/groups/opt_out.

 

 




You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.

To post to this group, send email to er...@googlegroups.com.

To unsubscribe from this group, send email to erpnext-developer-forum+un...@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msg/erpnext-developer-forum/-/XrtQ4iqVdDEJ.

For more options, visit https://groups.google.com/groups/opt_out.