Update Error

20 views
Skip to first unread message

Mamy CAN

unread,
Aug 4, 2014, 10:32:48 AM8/4/14
to erpnext-dev...@googlegroups.com
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 ?



Rushabh Mehta

unread,
Aug 5, 2014, 12:35:36 AM8/5/14
to erpnext-dev...@googlegroups.com
We can't replicate this. Do you have edits in your code?


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

Mamy CAN

unread,
Aug 5, 2014, 9:34:03 AM8/5/14
to erpnext-dev...@googlegroups.com
Hello,

No, This error occurred after update.

5 Ağustos 2014 Salı 07:35:36 UTC+3 tarihinde rushabh yazdı:
To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+unsub...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages