New ERPNext update error

Dear ERPNexters,

we need your help with this issue: we have a copy of our ERPNext production server for development purposes, and when we updated it to the latest version, it became unusable: We can login, but it remains at the stage where the new erpnext logo is fading in and out, nothing more. The error message is the following:

Executing patches.august_2013.p02_rename_price_list in erpnext
Traceback (innermost last):
 File "/var/www/erpnext/lib/webnotes/modules/patch_handler.py", line 55, in execute_patch
   webnotes.get_method(patchmodule + ".execute")()
 File "app/patches/august_2013/p02_rename_price_list.py", line 26, in execute
   webnotes.conn.sql("""alter table `tab%s` drop column `%s`""" % (t[0], t[1]))
 File "/var/www/erpnext/lib/webnotes/db.py", line 71, in sql
   self.check_transaction_status(query)
 File "/var/www/erpnext/lib/webnotes/db.py", line 151, in check_transaction_status
   raise Exception, 'This statement can cause implicit commit'
Exception: This statement can cause implicit commit

patches.august_2013.p02_rename_price_list: failed: STOPPED

Please advise.

Best 

Amin from Fritzing



Note:

 

If you are posting an issue,

  1. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  3. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.

     

    End of Note



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

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

     

     
Hi Amin,

Please try to update again. We have fixed the patch.

You will need to run update using:
lib/wnf.py --update origin master

and after update, you may need to change the user of erpnext folder to apache user (recursively for all files and folders in it) so that you can update erpnext from within erpnext after this.

Thanks,
Anand.


On 14-Aug-2013, at 7:21 PM, Amin Zayani <za...@gmail.com> wrote:

Dear ERPNexters,

we need your help with this issue: we have a copy of our ERPNext production server for development purposes, and when we updated it to the latest version, it became unusable: We can login, but it remains at the stage where the new erpnext logo is fading in and out, nothing more. The error message is the following:

Executing patches.august_2013.p02_rename_price_list in erpnext
Traceback (innermost last):
 File "/var/www/erpnext/lib/webnotes/modules/patch_handler.py", line 55, in execute_patch
   webnotes.get_method(patchmodule + ".execute")()
 File "app/patches/august_2013/p02_rename_price_list.py", line 26, in execute
   webnotes.conn.sql("""alter table `tab%s` drop column `%s`""" % (t[0], t[1]))
 File "/var/www/erpnext/lib/webnotes/db.py", line 71, in sql
   self.check_transaction_status(query)
 File "/var/www/erpnext/lib/webnotes/db.py", line 151, in check_transaction_status
   raise Exception, 'This statement can cause implicit commit'
Exception: This statement can cause implicit commit

patches.august_2013.p02_rename_price_list: failed: STOPPED

Please advise.

Best 

Amin from Fritzing



Note:

 

If you are posting an issue,

  1. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  3. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.

     

    End of Note



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

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

     

     



Note:

 

If you are posting an issue,

  1. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  3. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.

     

    End of Note



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

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