Migrate 3_to_4 error

I am getting the following error trying to migrate version 3 to 4

https://gist.github.com/anonymous/4b000725591777cf8824

Any suggestions?



Note:

 

If you are posting an issue,

 

  1. ERPNext is a free and open source software and support is given on this forum by a team (https://frappe.io/webnotes). So please consider donating if you find this forum useful (https://frappe.io/buy). Even a small amount would be helpful.
  2. 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.
  3. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  4. 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.

    To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/611f829b-5ac9-4a92-811f-a758b90d4934%40googlegroups.com.

    For more options, visit https://groups.google.com/d/optout.
Hi Hernan,

Thanks for reporting this. We've fixed this issue.
Please update bench and try migrating again.

Thanks,
Anand.


On Mon, Aug 4, 2014 at 3:21 PM, Hernan Gonzalez <nu...@gmail.com> wrote:
I am getting the following error trying to migrate version 3 to 4

https://gist.github.com/anonymous/4b000725591777cf8824


Any suggestions?



Note:



If you are posting an issue,


  1. ERPNext is a free and open source software and support is given on this forum by a team (https://frappe.io/webnotes). So please consider donating if you find this forum useful (https://frappe.io/buy). Even a small amount would be helpful.

  2. 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.

  3. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email

  4. 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.

To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/611f829b-5ac9-4a92-811f-a758b90d4934%40googlegroups.com.

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




Note:

 

If you are posting an issue,

 

  1. ERPNext is a free and open source software and support is given on this forum by a team (https://frappe.io/webnotes). So please consider donating if you find this forum useful (https://frappe.io/buy). Even a small amount would be helpful.
  2. 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.
  3. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  4. 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.

    To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/CAAQzbF1QHkZYuFW-z1nNRdGMXQpfX4KcifMZv6vy6u-93bDQrg%40mail.gmail.com.

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

On Mon, Aug 4, 2014 at 3:21 PM, Hernan Gonzalez nu...@gmail.com wrote:

I am getting the following error trying to migrate version 3 to 4

Migrate3-to-4 · GitHub

Hi Herman,

run bench update to pull the fix and retry the patching.

Thanks,

Pratik
erpnext

I tried "bench update" but keep getting the same error so i tried reinstalling from scratch since i am working in a test VM.

I got past the "reload_purchase_print_format" patch but got the following error.

https://gist.github.com/nuco/d35a3387b6e553695778



On Monday, August 4, 2014 10:25:11 PM UTC-3, Pratik Vyas wrote:
On Mon, Aug 4, 2014 at 3:21 PM, Hernan Gonzalez <nu...@gmail.com> wrote:
> I am getting the following error trying to migrate version 3 to 4
>
> https://gist.github.com/anonymous/4b000725591777cf8824


Hi Herman,

run `bench update` to pull the fix and retry the patching.

Thanks,
--
Pratik
erpnext



Note:

 

If you are posting an issue,

 

  1. ERPNext is a free and open source software and support is given on this forum by a team (https://frappe.io/webnotes). So please consider donating if you find this forum useful (https://frappe.io/buy). Even a small amount would be helpful.
  2. 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.
  3. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  4. 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.

    To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/5c1eb223-0464-4e8d-883b-8a4799839c83%40googlegroups.com.

    For more options, visit https://groups.google.com/d/optout.
I keep getting this error trying to migrate from version 3.

https://gist.github.com/nuco/796edda579cb4f360f99

Really dont know what to do..

In the same machine i can create a working bench from scratch but cant migrate the old system.



On Monday, August 4, 2014 11:16:33 PM UTC-3, Hernan Gonzalez wrote:
I tried "bench update" but keep getting the same error so i tried reinstalling from scratch since i am working in a test VM.

I got past the "reload_purchase_print_format" patch but got the following error.

https://gist.github.com/nuco/d35a3387b6e553695778



On Monday, August 4, 2014 10:25:11 PM UTC-3, Pratik Vyas wrote:
On Mon, Aug 4, 2014 at 3:21 PM, Hernan Gonzalez <nu...@gmail.com> wrote:
> I am getting the following error trying to migrate version 3 to 4
>
> https://gist.github.com/anonymous/4b000725591777cf8824


Hi Herman,

run `bench update` to pull the fix and retry the patching.

Thanks,
--
Pratik
erpnext



Note:

 

If you are posting an issue,

 

  1. ERPNext is a free and open source software and support is given on this forum by a team (https://frappe.io/webnotes). So please consider donating if you find this forum useful (https://frappe.io/buy). Even a small amount would be helpful.
  2. 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.
  3. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  4. 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.

    To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/dab353b5-a1e1-4775-aad0-9ef9bf90b18d%40googlegroups.com.

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

On Fri, Aug 8, 2014 at 8:19 AM, Hernan Gonzalez nu...@gmail.com wrote:

I keep getting this error trying to migrate from version 3.

gist:796edda579cb4f360f99 · GitHub

Really dont know what to do…

In the same machine i can create a working bench from scratch but cant
migrate the old system.

Hi Hernan,

This is strange. After you’re stuck here, what is the output of

ls sites
bench frappe --latest

Thanks,
Pratik

Ok, here is the output…

gist:d445b93de5896558aa2c · GitHub



On Friday, August 8, 2014 2:47:52 AM UTC-3, Pratik Vyas wrote:

On Fri, Aug 8, 2014 at 8:19 AM, Hernan Gonzalez <nu…@gmail.com> wrote:

> I keep getting this error trying to migrate from version 3.

>

> https://gist.github.com/nuco/796edda579cb4f360f99

>

> Really dont know what to do…

>

> In the same machine i can create a working bench from scratch but cant

> migrate the old system.

>

Hi Hernan,



This is strange. After you’re stuck here, what is the output of



<br>ls sites <br>bench frappe --latest <br>



Thanks,

Pratik



Note:

 

If you are posting an issue,

 

  1. ERPNext is a free and open source software and support is given on this forum by a team (https://frappe.io/webnotes). So please consider donating if you find this forum useful (https://frappe.io/buy). Even a small amount would be helpful.
  2. 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.
  3. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  4. 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.

    To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/3ff48095-ffdd-4d0b-8005-f0efc4f6d852%40googlegroups.com.

    For more options, visit https://groups.google.com/d/optout.
Run these commands:

bench frappe --ipython

In ipython, run:
frappe.delete_doc("Website Route", "home")
frappe.db.commit()

Then run:

bench frappe --latest

-Anand.



On Fri, Aug 8, 2014 at 5:57 PM, Hernan Gonzalez <nu…@gmail.com> wrote:

Ok, here is the output..

https://gist.github.com/nuco/d445b93de5896558aa2c




On Friday, August 8, 2014 2:47:52 AM UTC-3, Pratik Vyas wrote:

On Fri, Aug 8, 2014 at 8:19 AM, Hernan Gonzalez <nu…@gmail.com> wrote:

> I keep getting this error trying to migrate from version 3.

>

> https://gist.github.com/nuco/796edda579cb4f360f99

>

> Really dont know what to do…

>

> In the same machine i can create a working bench from scratch but cant

> migrate the old system.

>

Hi Hernan,



This is strange. After you're stuck here, what is the output of



<br>ls sites <br>bench frappe --latest <br>



Thanks,

Pratik



Note:



If you are posting an issue,


  1. ERPNext is a free and open source software and support is given on this forum by a team (https://frappe.io/webnotes). So please consider donating if you find this forum useful (https://frappe.io/buy). Even a small amount would be helpful.

  2. 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.

  3. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email

  4. 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.

To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/3ff48095-ffdd-4d0b-8005-f0efc4f6d852%40googlegroups.com.

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




Note:

 

If you are posting an issue,

 

  1. ERPNext is a free and open source software and support is given on this forum by a team (https://frappe.io/webnotes). So please consider donating if you find this forum useful (https://frappe.io/buy). Even a small amount would be helpful.
  2. 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.
  3. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  4. 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.

    To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/CAAQzbF0OqEMaa5xNqrRN-LYWQLTmQ6qO_2xWmOjSA8JMD05%3D7w%40mail.gmail.com.

    For more options, visit https://groups.google.com/d/optout.
Great!!!, its working.

Thanks a lot for the quick  response.

On Friday, August 8, 2014 9:31:02 AM UTC-3, Anand Doshi wrote:
Run these commands:

bench frappe --ipython

In ipython, run:
frappe.delete_doc("Website Route", "home")
frappe.db.commit()

Then run:

bench frappe --latest

-Anand.



On Fri, Aug 8, 2014 at 5:57 PM, Hernan Gonzalez <nu…@gmail.com> wrote:

Ok, here is the output..

https://gist.github.com/nuco/d445b93de5896558aa2c




On Friday, August 8, 2014 2:47:52 AM UTC-3, Pratik Vyas wrote:

On Fri, Aug 8, 2014 at 8:19 AM, Hernan Gonzalez <nu…@gmail.com> wrote:

> I keep getting this error trying to migrate from version 3.

>

> https://gist.github.com/nuco/796edda579cb4f360f99

>

> Really dont know what to do…

>

> In the same machine i can create a working bench from scratch but cant

> migrate the old system.

>

Hi Hernan,



This is strange. After you’re stuck here, what is the output of



<br>ls sites <br>bench frappe --latest <br>



Thanks,

Pratik



Note:

 

If you are posting an issue,

 

  1. ERPNext is a free and open source software and support is given on this forum by a team (https://frappe.io/webnotes). So please consider donating if you find this forum useful (https://frappe.io/buy). Even a small amount would be helpful.

  2. 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.

  3. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email

  4. 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.

To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/3ff48095-ffdd-4d0b-8005-f0efc4f6d852%40googlegroups.com.

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




Note:

 

If you are posting an issue,

 

  1. ERPNext is a free and open source software and support is given on this forum by a team (https://frappe.io/webnotes). So please consider donating if you find this forum useful (https://frappe.io/buy). Even a small amount would be helpful.
  2. 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.
  3. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  4. 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.

    To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/c4d518c4-2a08-4c31-9766-b46b6b9242fd%40googlegroups.com.

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