<type 'exceptions.ImportError'> | Python 2.6.6: /usr/bin/python Fri Sep 27 17:18:20 2013 |
A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.
/home/toaditya/public_html/erp1/public/web.py in () |
67 raise e |
68 |
69 if __name__=="__main__": |
70 init() |
71 respond() |
respond = <function respond> |
/home/toaditya/public_html/erp1/public/web.py in respond() |
46 |
47 try: |
48 return webnotes.webutils.render(webnotes.form_dict.get('page')) |
49 except webnotes.SessionStopped: |
50 print "Content-type: text/html" |
webnotes = <module 'webnotes' from '../lib/webnotes/__init__.pyc'>, webnotes.webutils = <module 'webnotes.webutils' from '../lib/webnotes/webutils.pyc'>, webnotes.webutils.render = <function render>, webnotes.form_dict = {}, webnotes.form_dict.get = <built-in method get of _dict object> |
/home/toaditya/public_html/erp1/lib/webnotes/webutils.py in render(page_name=None) |
18 html = render_page("404") |
19 except Exception: |
20 html = render_page('error') |
21 |
22 |
html undefined, global render_page = <function render_page> |
/home/toaditya/public_html/erp1/lib/webnotes/webutils.py in render_page(page_name=u'error') |
38 webnotes.http_request = HTTPRequest() |
39 |
40 html = build_page(page_name) |
41 from_cache = False |
42 |
html = u'', global build_page = <function build_page>, page_name = u'error' |
/home/toaditya/public_html/erp1/lib/webnotes/webutils.py in build_page(page_name=u'error') |
55 def build_page(page_name): |
56 from jinja2 import Environment, FileSystemLoader |
57 from markdown2 import markdown |
58 |
59 if not webnotes.conn: |
markdown2 undefined, markdown undefined |
<type 'exceptions.ImportError'>: No module named markdown2
args = ('No module named markdown2',)
message = 'No module named markdown2'
I then installed markdown as
easy_install markdown it got installed to /usr/local/bin
But still I get the same error - any possible help?
–
Note:
If you are posting an issue,
- 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.
- Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
- 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.
For more options, visit https://groups.google.com/groups/opt_out.