Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
2 Trả lời
3060 Lượt xem

sorry,no enough credits to send pictures。

client error message below:


UncaughtClientError > TypeError

未捕获的Javascript错误 > invalid parameter format


TypeError: invalid parameter format
    at parse (http://192.168.0.78:8069/web/assets/544-5383a76/web.assets_backend.min.js:934:45)
    at xhr.onload (http://192.168.0.78:8069/web/assets/544-5383a76/web.assets_backend.min.js:956:177)



Ảnh đại diện
Huỷ bỏ

got the same. Solved?

Thanks for the answer! We're running this instance on odoo.sh so it's not possible to fix this in odoo base code...
I've opened up a support ticket @odoo 
Should be an issue other ones having too.
Best

Câu trả lời hay nhất

Hello,

This issue is due to a wrong version for python package:


You can fix this issue by re-installing the package on the database. As it's a python package update, I recommend to test this fix on a staging branch.

pip install Werkzeug==2.0.2 --force-reinstall
Ảnh đại diện
Huỷ bỏ

https://github.com/odoo/odoo/issues/132490

downgrade of the python3-werkzeug pacakge to version 2.0.2 of bullseye backports does not work too:

UncaughtClientError > TypeError
Uncaught Javascript Error > invalid parameter format
TypeError: invalid parameter format
at parse (https://winecode.ge/web/assets/764-b9affb1/web.assets_backend.min.js:956:45)
at xhr.onload (https://winecode.ge/web/assets/764-b9affb1/web.assets_backend.min.js:978:177)

delete the comment...

Tác giả Câu trả lời hay nhất

yes,I solved it。

open this file: addons/web/static/src/core/network/download.js 

Comment these three lines

// modified by zhaojh 20230626
// if (index !== -1 && index !== string.length) {
// throw new TypeError("invalid parameter format");
// }

Ảnh đại diện
Huỷ bỏ