ImportError: No module named web_form.web_form

Hello, I'm doing an update on frappe-bench to migrate to the new bench, and I'm having some issues while running `./scripts/update.sh` The following error comes up:

ImportError: No module named web_form.web_form  

The full text of the error message is here: https://gist.github.com/bkiu/a201ac706772b279a28b

Any thoughts on how to fix it? Thanks.



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/b6fb0f29-02f8-4f9d-85c5-1ebbd656259a%40googlegroups.com.

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

Thanks for reporting this.

I've pushed a fix. Can you update again and confirm if it works?

-Anand.


On Thu, Sep 4, 2014 at 11:39 PM, Brendan Kiu <br…@gmail.com> wrote:

Hello, I'm doing an update on frappe-bench to migrate to the new bench, and I'm having some issues while running `./scripts/update.sh` The following error comes up:

ImportError: No module named web_form.web_form

The full text of the error message is here: https://gist.github.com/bkiu/a201ac706772b279a28b

Any thoughts on how to fix it? Thanks.



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/b6fb0f29-02f8-4f9d-85c5-1ebbd656259a%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/CAAQzbF0dXZrFO%3D%3D%3DyuhjbF%3DLV2LimZPHOL4gzp8qT4jxPwp_Kw%40mail.gmail.com.

    For more options, visit https://groups.google.com/d/optout.
Looks like it's working. Thanks so much!

On Friday, September 5, 2014 12:08:24 AM UTC+5:30, Anand Doshi wrote:
Brenden,

Thanks for reporting this.

I've pushed a fix. Can you update again and confirm if it works?

-Anand.


On Thu, Sep 4, 2014 at 11:39 PM, Brendan Kiu <br…@gmail.com> wrote:

Hello, I'm doing an update on frappe-bench to migrate to the new bench, and I'm having some issues while running `./scripts/update.sh` The following error comes up:

ImportError: No module named web_form.web_form  

The full text of the error message is here: https://gist.github.com/bkiu/a201ac706772b279a28b

Any thoughts on how to fix it? Thanks.



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/b6fb0f29-02f8-4f9d-85c5-1ebbd656259a%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/5dc9e2b8-657c-4985-8d17-b285add70336%40googlegroups.com.

    For more options, visit https://groups.google.com/d/optout.
Sorry, another quick question. Maybe this legacy, but now the error is

IOError: ./apps.txt Not Found

I'm executing `./scripts/update.sh` from ~/frappe_bench so there isn't an apps.txt (which I confirmed is correctly in sites/). Should be executing from the sites directory?

Thanks.

On Friday, September 5, 2014 12:16:15 AM UTC+5:30, Brendan Kiu wrote:
Looks like it's working. Thanks so much!

On Friday, September 5, 2014 12:08:24 AM UTC+5:30, Anand Doshi wrote:
Brenden,

Thanks for reporting this.

I've pushed a fix. Can you update again and confirm if it works?

-Anand.


On Thu, Sep 4, 2014 at 11:39 PM, Brendan Kiu <br…@gmail.com> wrote:

Hello, I'm doing an update on frappe-bench to migrate to the new bench, and I'm having some issues while running `./scripts/update.sh` The following error comes up:

ImportError: No module named web_form.web_form  

The full text of the error message is here: https://gist.github.com/bkiu/a201ac706772b279a28b

Any thoughts on how to fix it? Thanks.



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/b6fb0f29-02f8-4f9d-85c5-1ebbd656259a%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/890d4e7d-2fbc-4e8d-854d-c8ff7df863ca%40googlegroups.com.

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

https://gist.github.com/bkiu/6ef2c0ec3719b32df7d0

On Friday, September 5, 2014 12:19:27 AM UTC+5:30, Brendan Kiu wrote:
Sorry, another quick question. Maybe this legacy, but now the error is

IOError: ./apps.txt Not Found

I'm executing `./scripts/update.sh` from ~/frappe_bench so there isn't an apps.txt (which I confirmed is correctly in sites/). Should be executing from the sites directory?

Thanks.

On Friday, September 5, 2014 12:16:15 AM UTC+5:30, Brendan Kiu wrote:
Looks like it's working. Thanks so much!

On Friday, September 5, 2014 12:08:24 AM UTC+5:30, Anand Doshi wrote:
Brenden,

Thanks for reporting this.

I've pushed a fix. Can you update again and confirm if it works?

-Anand.


On Thu, Sep 4, 2014 at 11:39 PM, Brendan Kiu <br…@gmail.com> wrote:

Hello, I'm doing an update on frappe-bench to migrate to the new bench, and I'm having some issues while running `./scripts/update.sh` The following error comes up:

ImportError: No module named web_form.web_form  

The full text of the error message is here: https://gist.github.com/bkiu/a201ac706772b279a28b

Any thoughts on how to fix it? Thanks.



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/b6fb0f29-02f8-4f9d-85c5-1ebbd656259a%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/c9c00da0-0720-425a-b141-700fb7461857%40googlegroups.com.

    For more options, visit https://groups.google.com/d/optout.
This probably has to do with legacy bench code, but I ended up fixing it by explicitly specifying before line 408 in frappe/frappe/__init.py__

sites_path = "sites/"

and running the updater. I removed the line after the updater finished, and was able to use `frappe --serve` as usual. Somehow, sites_path wasn't being set correctly only when run through update.sh.

On Friday, September 5, 2014 12:23:18 AM UTC+5:30, Brendan Kiu wrote:
Full error here: 

https://gist.github.com/bkiu/6ef2c0ec3719b32df7d0

On Friday, September 5, 2014 12:19:27 AM UTC+5:30, Brendan Kiu wrote:
Sorry, another quick question. Maybe this legacy, but now the error is

IOError: ./apps.txt Not Found

I'm executing `./scripts/update.sh` from ~/frappe_bench so there isn't an apps.txt (which I confirmed is correctly in sites/). Should be executing from the sites directory?

Thanks.

On Friday, September 5, 2014 12:16:15 AM UTC+5:30, Brendan Kiu wrote:
Looks like it's working. Thanks so much!

On Friday, September 5, 2014 12:08:24 AM UTC+5:30, Anand Doshi wrote:
Brenden,

Thanks for reporting this.

I've pushed a fix. Can you update again and confirm if it works?

-Anand.


On Thu, Sep 4, 2014 at 11:39 PM, Brendan Kiu <br…@gmail.com> wrote:

Hello, I'm doing an update on frappe-bench to migrate to the new bench, and I'm having some issues while running `./scripts/update.sh` The following error comes up:

ImportError: No module named web_form.web_form  

The full text of the error message is here: https://gist.github.com/bkiu/a201ac706772b279a28b

Any thoughts on how to fix it? Thanks.



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/b6fb0f29-02f8-4f9d-85c5-1ebbd656259a%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/aaf11423-7bc4-461c-9d74-2748833a4f5d%40googlegroups.com.

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