I have update erpnext after 8 months n i got this error after update.
[ro...@erp erpnext]# lib/wnf.py --update origin master
From git://github.com/webnotes/wnframework
* branch master -> FETCH_HEAD
Already up-to-date.
From git://github.com/webnotes/erpnext
* branch master -> FETCH_HEAD
Already up-to-date.
Executing patches.may_2013.p03_update_support_ticket in erpnext
Traceback (innermost last):
File "/var/www/erpnext/lib/webnotes/modules/patch_handler.py", line 55, in execute_patch
webnotes.get_method(patchmodule + ".execute")()
File "/var/www/erpnext/lib/webnotes/__init__.py", line 396, in get_method
return getattr(get_module(modulename), methodname)
File "/var/www/erpnext/lib/webnotes/__init__.py", line 388, in get_module
__import__(modulename)
ImportError: No module named may_2013.p03_update_support_ticket
patches.may_2013.p03_update_support_ticket: failed: STOPPED
Building js and css files...
Wrote public/css/all-web.css - 149k
Wrote public/js/all-web.min.js - 40k
Wrote public/css/all-app.css - 207k
Wrote public/js/all-app.min.js - 528k
Wrote public/js/slickgrid.min.js - 108k
<type 'exceptions.AttributeError'> |
Python 2.6.6: /usr/bin/python Thu Oct 17 16:40:52 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.
/var/www/erpnext/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.py'>, webnotes.webutils.render = <function render>, webnotes.form_dict = {}, webnotes.form_dict.get = <built-in method get of _dict object> |
/var/www/erpnext/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> |
/var/www/erpnext/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 = None, global build_page = <function build_page>, page_name = u'error' |
/var/www/erpnext/lib/webnotes/webutils.py in build_page(page_name=u'error') |
110
|
111 template_name = page_options['template']
|
112 html = jenv.get_template(template_name).render(context)
|
113
|
114 if not no_cache:
|
html undefined, jenv = <jinja2.environment.Environment object>, jenv.get_template = <bound method Environment.get_template of <jinja2.environment.Environment object>>, template_name = u'lib/website/templates/pages/error.html', ).renderundefined, context = {'encoded_title': '', u'facebook_share': 0, u'fo...e': <Template u'app/portal/templates/base.html'>} |
/usr/lib/python2.6/site-packages/jinja2/environment.py in render(self=<Template u'lib/website/templates/pages/error.html'>, *args=({'encoded_title': '', u'facebook_share': 0, u'fo...e': <Template u'app/portal/templates/base.html'>},), **kwargs={}) |
667 except:
|
668 exc_info = sys.exc_info()
|
669 return self.environment.handle_exception(exc_info, True)
|
670
|
671 def stream(self, *args, **kwargs):
|
self = <Template u'lib/website/templates/pages/error.html'>, self.environment = <jinja2.environment.Environment object>, self.environment.handle_exception = <bound method Environment.handle_exception of <jinja2.environment.Environment object>>, exc_info = (<type 'exceptions.AttributeError'>, AttributeError("'Template' object has no attribute 'split'",), <traceback object>), builtin True = True |
/usr/lib/python2.6/site-packages/jinja2/loaders.py in get_source(self=<jinja2.loaders.FileSystemLoader object>, environment=<jinja2.environment.Environment object>, template=<Template u'app/portal/templates/base.html'>) |
141
|
142 def get_source(self, environment, template):
|
143 pieces = split_template_path(template)
|
144 for searchpath in self.searchpath:
|
145 filename = path.join(searchpath, *pieces)
|
pieces undefined, global split_template_path = <function split_template_path>, template = <Template u'app/portal/templates/base.html'> |
/usr/lib/python2.6/site-packages/jinja2/loaders.py in split_template_path(template=<Template u'app/portal/templates/base.html'>) |
23 """
|
24 pieces = []
|
25 for piece in template.split('/'):
|
26 if path.sep in piece \
|
27 or (path.altsep and path.altsep in piece) or \
|
piece undefined, template = <Template u'app/portal/templates/base.html'>, template.split undefined |
<type 'exceptions.AttributeError'>: 'Template' object has no attribute 'split'
args = ("'Template' object has no attribute 'split'",)
message = "'Template' object has no attribute 'split'"
madhan.