Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

0

QWebException: An asset should either be inlined or url linked

By
yeshwanth
on 11/19/15, 4:35 AM 516 views

Hello,

I am unable to proceed further, can you help me ?

I have shared the error.. Thank you.



2015-11-19 09:28:07,358 7268 INFO ktdb werkzeug: 127.0.0.1 - - [19/Nov/2015 09:28:07] "GET /web? HTTP/1.0" 500 -

2015-11-19 09:28:07,375 7268 ERROR ktdb werkzeug: Error on request:

Traceback (most recent call last):

File "werkzeug\serving.py", line 177, in run_wsgi

File "werkzeug\serving.py", line 165, in execute

File "C:\Program Files (x86)\Odoo 8.0-20150826\server\openerp\service\server.py", line 290, in app

return self.app(e, s)

File "C:\Program Files (x86)\Odoo 8.0-20150826\server\openerp\service\wsgi_server.py", line 216, in application

return application_unproxied(environ, start_response)

File "C:\Program Files (x86)\Odoo 8.0-20150826\server\openerp\service\wsgi_server.py", line 202, in application_unproxied

result = handler(environ, start_response)

File "C:\Program Files (x86)\Odoo 8.0-20150826\server\openerp\http.py", line 1290, in __call__

return self.dispatch(environ, start_response)

File "C:\Program Files (x86)\Odoo 8.0-20150826\server\openerp\http.py", line 1264, in __call__

return self.app(environ, start_wrapped)

File "werkzeug\wsgi.py", line 579, in __call__

File "C:\Program Files (x86)\Odoo 8.0-20150826\server\openerp\http.py", line 1440, in dispatch

response = self.get_response(httprequest, result, explicit_session)

File "C:\Program Files (x86)\Odoo 8.0-20150826\server\openerp\http.py", line 1371, in get_response

result = request.registry['ir.http']._handle_exception(e)

File "C:\Program Files (x86)\Odoo 8.0-20150826\server\openerp\addons\base\ir\ir_http.py", line 145, in _handle_exception

return request._handle_exception(exception)

File "C:\Program Files (x86)\Odoo 8.0-20150826\server\openerp\http.py", line 666, in _handle_exception

return super(HttpRequest, self)._handle_exception(exception)

File "C:\Program Files (x86)\Odoo 8.0-20150826\server\openerp\http.py", line 1368, in get_response

result.flatten()

File "C:\Program Files (x86)\Odoo 8.0-20150826\server\openerp\http.py", line 1241, in flatten

self.response.append(self.render())

File "C:\Program Files (x86)\Odoo 8.0-20150826\server\openerp\http.py", line 1235, in render

context=request.context)

File "C:\Program Files (x86)\Odoo 8.0-20150826\server\openerp\api.py", line 241, in wrapper

return old_api(self, *args, **kwargs)

File "C:\Program Files (x86)\Odoo 8.0-20150826\server\openerp\addons\base\ir\ir_ui_view.py", line 1026, in render

return self.pool[engine].render(cr, uid, id_or_xml_id, qcontext, loader=loader, context=context)

File "C:\Program Files (x86)\Odoo 8.0-20150826\server\openerp\api.py", line 241, in wrapper

return old_api(self, *args, **kwargs)

File "C:\Program Files (x86)\Odoo 8.0-20150826\server\openerp\addons\base\ir\ir_qweb.py", line 262, in render

return self.render_node(self.get_template(id_or_xml_id, qwebcontext), qwebcontext)

File "C:\Program Files (x86)\Odoo 8.0-20150826\server\openerp\addons\base\ir\ir_qweb.py", line 301, in render_node

result = self.render_element(element, template_attributes, generated_attributes, qwebcontext)

File "C:\Program Files (x86)\Odoo 8.0-20150826\server\openerp\addons\base\ir\ir_qweb.py", line 322, in render_element

g_inner.append(self.render_node(current_node, qwebcontext))

File "C:\Program Files (x86)\Odoo 8.0-20150826\server\openerp\addons\base\ir\ir_qweb.py", line 299, in render_node

result = self._render_tag[t_render](self, element, template_attributes, generated_attributes, qwebcontext)

File "C:\Program Files (x86)\Odoo 8.0-20150826\server\openerp\addons\base\ir\ir_qweb.py", line 437, in render_tag_call

d[0] = self.render_element(element, template_attributes, generated_attributes, d)

File "C:\Program Files (x86)\Odoo 8.0-20150826\server\openerp\addons\base\ir\ir_qweb.py", line 322, in render_element

g_inner.append(self.render_node(current_node, qwebcontext))

File "C:\Program Files (x86)\Odoo 8.0-20150826\server\openerp\addons\base\ir\ir_qweb.py", line 299, in render_node

result = self._render_tag[t_render](self, element, template_attributes, generated_attributes, qwebcontext)

File "C:\Program Files (x86)\Odoo 8.0-20150826\server\openerp\addons\base\ir\ir_qweb.py", line 469, in render_tag_set

qwebcontext[template_attributes["set"]] = self.render_element(element, template_attributes, generated_attributes, qwebcontext)

File "C:\Program Files (x86)\Odoo 8.0-20150826\server\openerp\addons\base\ir\ir_qweb.py", line 327, in render_element

raise_qweb_exception(message="Could not render element %r" % element.tag, node=element, template=template)

File "C:\Program Files (x86)\Odoo 8.0-20150826\server\openerp\addons\base\ir\ir_qweb.py", line 322, in render_element

g_inner.append(self.render_node(current_node, qwebcontext))

File "C:\Program Files (x86)\Odoo 8.0-20150826\server\openerp\addons\base\ir\ir_qweb.py", line 299, in render_node

result = self._render_tag[t_render](self, element, template_attributes, generated_attributes, qwebcontext)

File "C:\Program Files (x86)\Odoo 8.0-20150826\server\openerp\addons\base\ir\ir_qweb.py", line 458, in render_tag_call_assets

bundle = AssetsBundle(xmlid, cr=cr, uid=uid, context=context, registry=self.pool)

File "C:\Program Files (x86)\Odoo 8.0-20150826\server\openerp\addons\base\ir\ir_qweb.py", line 1095, in __init__

self.parse()

File "C:\Program Files (x86)\Odoo 8.0-20150826\server\openerp\addons\base\ir\ir_qweb.py", line 1118, in parse

self.javascripts.append(JavascriptAsset(self, inline=el.text))

File "C:\Program Files (x86)\Odoo 8.0-20150826\server\openerp\addons\base\ir\ir_qweb.py", line 1359, in __init__

raise Exception("An asset should either be inlined or url linked")

QWebException: An asset should either be inlined or url linked

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 11/19/15, 4:35 AM
Seen: 516 times
Last updated: 11/19/15, 4:35 AM