Error when access desk(cannot import name render_include)

after bench update on 2014.09.04, any idea?

Traceback (innermost last):
File "/home/erpnext/frappe-bench/apps/frappe/frappe/app.py", line 49, in application
response = frappe.handler.handle()
File "/home/erpnext/frappe-bench/apps/frappe/frappe/handler.py", line 66, in handle
execute_cmd(cmd)
File "/home/erpnext/frappe-bench/apps/frappe/frappe/handler.py", line 77, in execute_cmd
method = get_attr(cmd)
File "/home/erpnext/frappe-bench/apps/frappe/frappe/handler.py", line 98, in get_attr
method = frappe.get_attr(cmd)
File "/home/erpnext/frappe-bench/apps/frappe/frappe/__init__.py", line 517, in get_attr
return getattr(get_module(modulename), methodname)
File "/home/erpnext/frappe-bench/apps/frappe/frappe/__init__.py", line 377, in get_module
return importlib.import_module(modulename)
File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module
__import__(name)
File "/home/erpnext/frappe-bench/apps/frappe/frappe/widgets/form/load.py", line 8, in
import frappe.widgets.form.meta
File "/home/erpnext/frappe-bench/apps/frappe/frappe/widgets/form/meta.py", line 13, in
from frappe.utils.jinja import render_include
ImportError: cannot import name render_include



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/a979cbad-cb92-4faf-bd08-01ce66cda5ba%40googlegroups.com.

    For more options, visit https://groups.google.com/d/optout.
Looks like your frappe repo was not updated. Might be because of a conflict.

-Anand.


On Thu, Sep 4, 2014 at 7:22 AM, Y Y <ya...@gmail.com> wrote:
after bench update on 2014.09.04, any idea?

Traceback (innermost last):
File "/home/erpnext/frappe-bench/apps/frappe/frappe/app.py", line 49, in application
response = frappe.handler.handle()
File "/home/erpnext/frappe-bench/apps/frappe/frappe/handler.py", line 66, in handle

execute_cmd(cmd)<br>  File &quot;/home/erpnext/frappe-bench/apps/frappe/frappe/handler.py&quot;, line 77, in execute_cmd<br>    method = get_attr(cmd)<br>  File &quot;/home/erpnext/frappe-bench/apps/frappe/frappe/handler.py&quot;, line 98, in get_attr<br>

method = frappe.get_attr(cmd)<br>  File &quot;/home/erpnext/frappe-bench/apps/frappe/frappe/__init__.py&quot;, line 517, in get_attr<br>    return getattr(get_module(modulename), methodname)<br>  File &quot;/home/erpnext/frappe-bench/apps/frappe/frappe/__init__.py&quot;, line 377, in get_module<br>

return importlib.import_module(modulename)<br>  File &quot;/usr/lib/python2.7/importlib/__init__.py&quot;, line 37, in import_module<br>    __import__(name)<br>  File &quot;/home/erpnext/frappe-bench/apps/frappe/frappe/widgets/form/load.py&quot;, line 8, in <u></u><br>

import frappe.widgets.form.meta<br>  File &quot;/home/erpnext/frappe-bench/apps/frappe/frappe/widgets/form/meta.py&quot;, line 13, in <u></u><br>    from frappe.utils.jinja import render_include<br> ImportError: cannot import name render_include<u></u><u></u></pre>



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/a979cbad-cb92-4faf-bd08-01ce66cda5ba%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/CAAQzbF1jyfKD-EUPubCJw_Bd50knKMP1Mau5tToAgGE7pj2grA%40mail.gmail.com.

    For more options, visit https://groups.google.com/d/optout.
It works after i click cache at client side....

在 2014年9月4日星期四UTC+8下午7时04分38秒,Anand Doshi写道:
Looks like your frappe repo was not updated. Might be because of a conflict.

-Anand.


On Thu, Sep 4, 2014 at 7:22 AM, Y Y <ya...@gmail.com> wrote:
after bench update on 2014.09.04, any idea?

Traceback (innermost last):
File "/home/erpnext/frappe-bench/apps/frappe/frappe/app.py", line 49, in application
response = frappe.handler.handle()
File "/home/erpnext/frappe-bench/apps/frappe/frappe/handler.py", line 66, in handle
execute_cmd(cmd)<br>  File "/home/erpnext/frappe-bench/<wbr>apps/frappe/frappe/handler.py"<wbr>, line 77, in execute_cmd<br>    method = get_attr(cmd)<br>  File "/home/erpnext/frappe-bench/<wbr>apps/frappe/frappe/handler.py"<wbr>, line 98, in get_attr<br>

method = frappe.get_attr(cmd)<br>  File "/home/erpnext/frappe-bench/<wbr>apps/frappe/frappe/__init__.<wbr>py", line 517, in get_attr<br>    return getattr(get_module(modulename)<wbr>, methodname)<br>  File "/home/erpnext/frappe-bench/<wbr>apps/frappe/frappe/__init__.<wbr>py", line 377, in get_module<br>

return importlib.import_module(<wbr>modulename)<br>  File "/usr/lib/python2.7/importlib/<wbr>__init__.py", line 37, in import_module<br>    __import__(name)<br>  File "/home/erpnext/frappe-bench/<wbr>apps/frappe/frappe/widgets/<wbr>form/load.py", line 8, in <u></u><br>

import frappe.widgets.form.meta<br>  File "/home/erpnext/frappe-bench/<wbr>apps/frappe/frappe/widgets/<wbr>form/meta.py", line 13, in <u></u><br>    from frappe.utils.jinja import render_include<br> ImportError: cannot import name render_include<u></u><u></u></pre>



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/a979cbad-cb92-4faf-bd08-01ce66cda5ba%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/4ab09fbe-d35f-45a1-bb71-229eb95b7d10%40googlegroups.com.

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