تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
2 الردود
3070 أدوات العرض

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)



الصورة الرمزية
إهمال

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

أفضل إجابة

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
الصورة الرمزية
إهمال

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...

الكاتب أفضل إجابة

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");
// }

الصورة الرمزية
إهمال