Update Error

URL : /test (Web Page) and /blog (Web Blog)

Traceback (innermost last):

File “/usr/local/frappe/muhasebe/apps/frappe/frappe/website/render.py”, line 21, in render
data = render_page(path)
File “/usr/local/frappe/muhasebe/apps/frappe/frappe/website/render.py”, line 100, in render_page
return build(path)
File “/usr/local/frappe/muhasebe/apps/frappe/frappe/website/render.py”, line 109, in build
return build_method(path)
File “/usr/local/frappe/muhasebe/apps/frappe/frappe/website/render.py”, line 122, in build_page
context = get_context(path)
File “/usr/local/frappe/muhasebe/apps/frappe/frappe/website/context.py”, line 30, in get_context
context = get_sitemap_options(path)
File “/usr/local/frappe/muhasebe/apps/frappe/frappe/website/sitemap.py”, line 17, in get_sitemap_options
sitemap_options = build_sitemap_options(path)
File “/usr/local/frappe/muhasebe/apps/frappe/frappe/website/sitemap.py”, line 47, in build_sitemap_options
sitemap_options.children = get_route_children(sitemap_options.pathname, home_page)
File “/usr/local/frappe/muhasebe/apps/frappe/frappe/website/sitemap.py”, line 77, in get_route_children
module = frappe.get_module(children[0].controller)
File “/usr/local/frappe/muhasebe/apps/frappe/frappe/init.py”, line 375, in get_module
return importlib.import_module(modulename)
File “/usr/local/lib/python2.7/importlib/init.py”, line 28, in import_module
if name.startswith(’.’):
AttributeError: ‘NoneType’ object has no attribute 'startswith’

How Fix this error ?






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/71eb2090-0cd2-4b03-a107-6079a2703120%40googlegroups.com.

    For more options, visit https://groups.google.com/d/optout.
We can't replicate this. Do you have edits in your code?


On 04-Aug-2014, at 8:02 pm, Mamy CAN <ms...@gmail.com> wrote:

URL : /test (Web Page) and /blog (Web Blog)

Traceback (innermost last):
  File "/usr/local/frappe/muhasebe/apps/frappe/frappe/website/render.py", line 21, in render
    data = render_page(path)
  File "/usr/local/frappe/muhasebe/apps/frappe/frappe/website/render.py", line 100, in render_page
    return build(path)
  File "/usr/local/frappe/muhasebe/apps/frappe/frappe/website/render.py", line 109, in build
    return build_method(path)
  File "/usr/local/frappe/muhasebe/apps/frappe/frappe/website/render.py", line 122, in build_page
    context = get_context(path)
  File "/usr/local/frappe/muhasebe/apps/frappe/frappe/website/context.py", line 30, in get_context
    context = get_sitemap_options(path)
  File "/usr/local/frappe/muhasebe/apps/frappe/frappe/website/sitemap.py", line 17, in get_sitemap_options
    sitemap_options = build_sitemap_options(path)
  File "/usr/local/frappe/muhasebe/apps/frappe/frappe/website/sitemap.py", line 47, in build_sitemap_options
    sitemap_options.children = get_route_children(sitemap_options.pathname, home_page)
  File "/usr/local/frappe/muhasebe/apps/frappe/frappe/website/sitemap.py", line 77, in get_route_children
    module = frappe.get_module(children[0].controller)
  File "/usr/local/frappe/muhasebe/apps/frappe/frappe/__init__.py", line 375, in get_module
    return importlib.import_module(modulename)
  File "/usr/local/lib/python2.7/importlib/__init__.py", line 28, in import_module
    if name.startswith('.'):
 AttributeError: 'NoneType' object has no attribute 'startswith'

How Fix this error ?






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/71eb2090-0cd2-4b03-a107-6079a2703120%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/893F136E-96E5-4DB9-8ED3-164B555768B2%40gmail.com.

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

Hello,


No, This error occurred after update.

5 Ağustos 2014 Salı 07:35:36 UTC+3 tarihinde rushabh yazdı:
We can’t replicate this. Do you have edits in your code?


On 04-Aug-2014, at 8:02 pm, Mamy CAN <ms...@gmail.com> wrote:

URL : /test (Web Page) and /blog (Web Blog)

Traceback (innermost last):
  File "/usr/local/frappe/muhasebe/apps/frappe/frappe/website/render.py", line 21, in render
    data = render_page(path)
  File "/usr/local/frappe/muhasebe/apps/frappe/frappe/website/render.py", line 100, in render_page
    return build(path)
  File "/usr/local/frappe/muhasebe/apps/frappe/frappe/website/render.py", line 109, in build
    return build_method(path)
  File "/usr/local/frappe/muhasebe/apps/frappe/frappe/website/render.py", line 122, in build_page
    context = get_context(path)
  File "/usr/local/frappe/muhasebe/apps/frappe/frappe/website/context.py", line 30, in get_context
    context = get_sitemap_options(path)
  File "/usr/local/frappe/muhasebe/apps/frappe/frappe/website/sitemap.py", line 17, in get_sitemap_options
    sitemap_options = build_sitemap_options(path)
  File "/usr/local/frappe/muhasebe/apps/frappe/frappe/website/sitemap.py", line 47, in build_sitemap_options
    sitemap_options.children = get_route_children(sitemap_options.pathname, home_page)
  File "/usr/local/frappe/muhasebe/apps/frappe/frappe/website/sitemap.py", line 77, in get_route_children
    module = frappe.get_module(children[0].controller)
  File "/usr/local/frappe/muhasebe/apps/frappe/frappe/__init__.py", line 375, in get_module
    return importlib.import_module(modulename)
  File "/usr/local/lib/python2.7/importlib/__init__.py", line 28, in import_module
    if name.startswith('.'):
 AttributeError: 'NoneType' object has no attribute 'startswith'

How Fix this error ?






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/71eb2090-0cd2-4b03-a107-6079a2703120%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/88c4f4d9-c8cf-4f9e-895a-fd36473f3ecc%40googlegroups.com.

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