Can someone help me with the following...
When i want to edit the website of odoo it keeps loading... when i use the pencil next to a menu item and try to edit it, i get the following errors
`UncaughtPromiseError > OwlError Uncaught Promise > An error occured
in the owl lifecycle (see this Error's "cause" property) OwlError: An
error occured in the owl lifecycle (see this Error's "cause" property)
OwlError#https://odoo.example.net/web/assets/251-7c5bc10/web.assets_common.min.js:1098:1
handleError#https://odoo.example.net/web/assets/251-7c5bc10/web.assets_common.min.js:1105:101
handleError#https://odoo.example.net/web/assets/251-7c5bc10/web.assets_common.min.js:1931:29
complete#https://odoo.example.net/web/assets/251-7c5bc10/web.assets_common.min.js:1343:37
processFiber#https://example.net/web/assets/251-7c5bc10/web.assets_common.min.js:1907:43
flush/this.frame</<#https://example.net/web/assets/251-7c5bc10/web.assets_common.min.js:1903:109
flush/this.frame<#https://example.net/web/assets/251-7c5bc10/web.assets_common.min.js:1903:87
Caused by: TypeError: can't access property "body",
this.website.pageDocument is null
setup/<#https://odoo.example.net/web/assets/285-63ebd6b/web.assets_backend.min.js:13355:672
useEffect/<#https://odoo.example.net/web/assets/251-7c5bc10/web.assets_common.min.js:1939:145
complete#https://odoo.example.net/web/assets/251-7c5bc10/web.assets_common.min.js:1341:196
processFiber#https://odoo.example.net/web/assets/251-7c5bc10/web.assets_common.min.js:1907:43
flush/this.frame</<#https://example.net/web/assets/251-7c5bc10/web.assets_common.min.js:1903:109
flush/this.frame<#https://odoo.example.net/web/assets/251-7c5bc10/web.assets_common.min.js:1903:87
`
I have replaced my real domain with example.net for privacy
I have tried to regenerate assets in developer mode under tools hoping this would solve it...
Related
I'm using Odoo v11 in windows localhost and I'm still beginner.
Recently, i tried to edit posticket and suddenly, the point of sale module stops loading it keep blank page.
I have cleared cache for browser and restart odoo service, it worked.
But, the receipt not showing and error message appears as showing below:
Uncaught TypeError: Cannot read property 'vat_label' of null
http://localhost:8069/point_of_sale/static/src/js/models.js:2121
Traceback:
TypeError: Cannot read property 'vat_label' of null
at child.export_for_printing
(http://localhost:8069/point_of_sale/static/src/js/models.js:2121:44)
at Class.get_receipt_render_env
(http://localhost:8069/point_of_sale/static/src/js/screens.js:1538:28)
at Class.render_receipt
(http://localhost:8069/point_of_sale/static/src/js/screens.js:1616:77)
at Class.show
(http://localhost:8069/point_of_sale/static/src/js/screens.js:1505:14)
at Class.prototype.(anonymous function) [as show]
(http://localhost:8069/web/static/src/js/core/class.js:90:38)
at Class.show_screen
(http://localhost:8069/point_of_sale/static/src/js/gui.js:116:33)
at Class.finalize_validation
(http://localhost:8069/point_of_sale/static/src/js/screens.js:2071:22)
at Class.validate_order [as _super]
(http://localhost:8069/point_of_sale/static/src/js/screens.js:2080:18)
at Class.validate_order
(http://localhost:8069/pos_mercury/static/src/js/pos_mercury.js:687:14)
at Class.validate_order
(http://localhost:8069/web/static/src/js/core/class.js:123:38)
Edit :
I have removed all HTML codes i inserted to posticket, now it only working when i activate developer mode with assets. When deactivate and try generate pos sale receipt it gives this error:
Uncaught TypeError: Cannot read property 'vat_label' of null
http://localhost:4883/web/content/2266-abace1e/point_of_sale.assets.js:197
Traceback:
TypeError: Cannot read property 'vat_label' of null
at child.export_for_printing (http://localhost:4883/web/content/2266-
abace1e/point_of_sale.assets.js:197:863)
at Class.get_receipt_render_env (http://localhost:4883/web/content/2266-
abace1e/point_of_sale.assets.js:379:1110)
at Class.render_receipt (http://localhost:4883/web/content/2266-
abace1e/point_of_sale.assets.js:379:2226)
at Class.show (http://localhost:4883/web/content/2266-
abace1e/point_of_sale.assets.js:379:409)
at Class.prototype.(anonymous function) [as show]
(http://localhost:4883/web/content/2189-
2963aaa/web.assets_common.js:3816:488)
at Class.show_screen (http://localhost:4883/web/content/2266-
abace1e/point_of_sale.assets.js:314:48)
at Class.finalize_validation (http://localhost:4883/web/content/2266-
abace1e/point_of_sale.assets.js:400:1111)
at Class.validate_order [as _super] (http://localhost:4883/web/content/2266-
abace1e/point_of_sale.assets.js:400:1226)
at Class.validate_order (http://localhost:4883/web/content/2266-
abace1e/point_of_sale.assets.js:448:6)
at Class.validate_order (http://localhost:4883/web/content/2189-
2963aaa/web.assets_common.js:3819:371)
I really appreciate your help and support.
Regards,
It turns out that <t t-esc="widget.pos.company.name"/> in posticket is returning that invalid values from modles.js at vat_label: company.country.vat_label,.
Unfortunately, I have removed those two lines and everything works fine now.
I keep investigating on this and i will keep you updated.
Thanks for your support and assistance.
Regards,
Mhdbtashi
It happened to me last night after I delete country data from my company in the settings page. But when I put my country back to my company set-up. it works again. Not sure if this can help. I'm a non-tech person.
this error is related to the country and the field called Tax IVA name, and your company need established by default some country.
I have an API in WSO2. When I try to test it in the store with valid parameters via GET, it returns the following error message:
<am:fault xmlns:am="http://wso2.org/apimanager">
<am:code>101504</am:code>
<am:type>Status report</am:type>
<am:message>Runtime Error</am:message>
<am:description>Send timeout</am:description>
</am:fault>
I have already searched and tried a lot, but with no success, always returning the same error. Don't know if helps, but the api that I try to access is a PHP file.
Any ideas?
EDIT:
I have identical apis to this one, changing only the response, that are working properly. Even if I erase the php file that the API is pointing, the error keep coming.
EDIT:
I changed the code in Management Console, in Metadata>List>APIs:
{"production_endpoints":
{"url":"http://site/myapi.php","config":
{"format":"leave-as-is","optimize":"leave-as-
is","actionSelect":"fault","actionDuration":30000}},
"sandbox_endpoints":
{"url":"http://site/myapi.php","config":
{"format":"leave-as-is","optimize":"leave-as-
is","actionSelect":"fault","actionDuration":30000}},
"implementation_status":"managed","endpoint_type":"http"}
to this:
{"production_endpoints":
{"url":"http://10.20.40.189/ConsultaAutorizacaoCadPos.php","config":null},
"sandbox_endpoints":{"url":"http://10.20.40.189/ConsultaAutorizacaoCadPos.php","config":null},
"implementation_status":"managed","endpoint_type":"http"}
And this error message vanishes. But this new one appears:
<am:fault xmlns:am="http://wso2.org/apimanager">
<am:code>303001</am:code>
<am:type>Status report</am:type>
<am:message>Runtime Error</am:message>
<am:description>Currently , Address endpoint : [ Name : admin--myapi_APIproductionEndpoint_0 ] [ State : SUSPENDED ]</am:description>
EDIT: this error message is appearing just sometimes. Most of the time the request takes long time to run and then returns nothing( no content )
Any ideas how to solve it?
When I use { insertDefaultUI: false } to create a video I get an "Unhandled rejection Error: Chrome still being created" when trying to cleanup after I'm done with session.disconnect().
Any ideas...?
I'm on the TokBox dev team.
The error is not something you should be concerned with, it's something internal to the SDK.
The bug is that the error is appearing at all. I have created a bug report and this error should disappear in a future release. Until then you can safely ignore it.
Thanks for the report.
I'm having the very same problem when trying to unpublish my publisher
Could you guys provide a solution?
Unhandled rejection Error: Chrome still being created
at Object.chromeMixin.reset (https://static.opentok.com/v2/js/opentok.js:41755:16)
at reset (https://static.opentok.com/v2/js/opentok.js:42837:19)
at Publisher.destroy (https://static.opentok.com/v2/js/opentok.js:43211:7)
at defaultAction (https://static.opentok.com/v2/js/opentok.js:43524:20)
at executeDefaultAction (https://static.opentok.com/v2/js/opentok.js:25584:19)
at Object.api.dispatchEvent (https://static.opentok.com/v2/js/opentok.js:25735:7)
at Publisher.self.dispatchEvent (https://static.opentok.com/v2/js/opentok.js:25427:19)
at Object.streamDestroyed (https://static.opentok.com/v2/js/opentok.js:43527:16)
at Object.unpublishFromSession (https://static.opentok.com/v2/js/opentok.js:43507:16)
at Session.unpublish (https://static.opentok.com/v2/js/opentok.js:47031:19)
at Object.me.stop (https://x/rt.js:498:17)
at b.$scope.callBreak (https://x/ler.js:16:24)
at fn (eval at compile (https://ajax.googleapis.com/ajax/libs/angularjs/1.6.4/angular.min.js:239:266), <anonymous>:4:165)
From previous event:
at createChromeMixin (https://static.opentok.com/v2/js/opentok.js:41672:21)
at new Publisher (https://static.opentok.com/v2/js/opentok.js:42826:23)
at Object.initPublisher (https://static.opentok.com/v2/js/opentok.js:44275:21)
at Object.me.start (https://x/rt.js:457:27)
at b.$scope.start (https://x/ler.js:6:24)
at fn (eval at compile (https://ajax.googleapis.com/ajax/libs/angularjs/1.6.4/angular.min.js:239:266), <anonymous>:4:161)
at e (https://ajax.googleapis.com/ajax/libs/angularjs/1.6.4/angular.min.js:284:187)
at b.$eval (https://ajax.googleapis.com/ajax/libs/angularjs/1.6.4/angular.min.js:148:347)
at b.$apply (https://ajax.googleapis.com/ajax/libs/angularjs/1.6.4/angular.min.js:149:52)
at HTMLButtonElement.<anonymous> (https://ajax.googleapis.com/ajax/libs/angularjs/1.6.4/angular.min.js:284:239)
at HTMLButtonElement.dispatch (https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js:4:8549)
at HTMLButtonElement.r.handle (https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js:4:5252)
I might be a bit late, but I'll share my findings. When using a custom UI on your publisher, use the following event:
publisher.on('streamDestroyed',function(event){ event.preventDefault();});
This disallows opentok calling widget destroying events which causes the exception related to this question, however now I don't know how to stop the stream lol, since if I call event.target.destroy() will generate the same exception, lol ... so I'm trying to figure that out.
First things first I am new to Prestashop.
I have two issues. First is when I'm in the maintenance mode and I add my ip adres to gain access, I still can't access my frontoffice. This gives server error in my Chrome Browser.
But the bigger issue is when I turn the Maintenance mode off (and deleting my IP adress from the list) There is nothing. Just a blank screen. After a little research I found how to turn the error reporting on in defines.inc.php like this:
/* Debug only */
define('_PS_MODE_DEV_', true);
After this I got this error(s):
Fatal error: Uncaught exception 'SmartyCompilerException' with message 'Syntax Error in template "/home/.sites/78/site58/web/modules/categoriesbar/category-bar-level.tpl" on line 8 "{include file=$tpl_dir./category-tree-branch.tpl node=$child last='true'}" - Unexpected "/", expected one of: "{" , "$" , "identifier" , INTEGER' in /home/.sites/78/site58/web/tools/smarty/sysplugins/smarty_internal_templatecompilerbase.php:665 Stack trace: #0 /home/.sites/78/site58/web/tools/smarty/sysplugins/smarty_internal_templateparser.php(3144): Smarty_Internal_TemplateCompilerBase->trigger_template_error() #1 /home/.sites/78/site58/web/tools/smarty/sysplugins/smarty_internal_templateparser.php(3209): Smarty_Internal_Templateparser->yy_syntax_error(40, '/') #2 /home/.sites/78/site58/web/tools/smarty/sysplugins/smarty_internal_smartytemplatecompiler.php(105): Smarty_Internal_Templateparser->doParse(40, '/') #3 /home/.sites/78/site58/web/tools/smarty/sysplugins/smarty_internal_t in /home/.sites/78/site58/web/tools/smarty/sysplugins/smarty_internal_templatecompilerbase.php on line 665
any help would be appreciated :)
P.S.
I upgraded the Prestashop from 1.2.x to the 1.5.4 version...
Maybe it has something to do with this?
The error tells you there is an error in the template. Try changing the line to
{include file="$tpl_dir./category-tree-branch.tpl" node=$child last='true'}
I have my web application built using struts 2.3.1.2. I have following pages/actions where I don't get any OGNL exception as a warning/notification.
JSP page - containing 3 text fields name, address, phone
struts.xml file - devMode = true and corresponding action entry using default interceptor stack
action class where I have properties only for two request parameters i.e. for name and address
Above is running fine and I don't get any warning/notification exception.
Now, recently I have upgraded to struts 2.3.14.2 And I have started to get below warning/notification exception on log file:
Developer Notification (set struts.devMode to false to disable this message):
Unexpected Exception caught setting 'start' on 'class com.xyz.DetailsActionSupport:
Error setting expression 'start' with value ['0', ] - Error setting expression 'start' with value ['0', ] - [unknown location] at
com.opensymphony.xwork2.ognl.OgnlValueStack.handleRuntimeException(OgnlValueStack.java:201) at
com.opensymphony.xwork2.ognl.OgnlValueStack.setValue(OgnlValueStack.java:178) at
com.opensymphony.xwork2.ognl.OgnlValueStack.setParameter(OgnlValueStack.java:152) at
com.opensymphony.xwork2.interceptor.ParametersInterceptor.setParameters(ParametersInterceptor.java:329) at
com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(ParametersInterceptor.java:241) at
com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98) and more ...
By google search, found two answers:
to add the exclude parameters in struts.xml for Param interceptor
disable the development mode defined in struts.xml
I can do that, but, don't understand what has changed in struts version so it has started to print the exceptions as notifications/warnings?
Below link will tells us how it shows warning exception:
http://struts.apache.org/release/2.3.x/docs/parameters-interceptor.html
Refer the section Warning on missing parameters from above link