أخطاء وحلول في Odoo

أخطاء وحلول في Odoo
شارك المحتوى

أخطاء وحلول لمشاكل  في أودو

 

الخطأالحل
new encoding (UTF8) is incompatible with the encoding of the template database (SQL_ASCII) HINT: Use the same encoding as in the template database, or use template0 as template.

sudo -u postgres psql postgres

update pg_database set datallowconn = TRUE where datname = ‘template0’;
\c template0
update pg_database set datistemplate = FALSE where datname = ‘template1’;
drop database template1;
create database template1 with template = template0 encoding = ‘UTF8’;
update pg_database set datistemplate = TRUE where datname = ‘template1’;
\c template1
update pg_database set datallowconn = FALSE where datname = ‘template0’;

ProgrammingError: permission denied to create database

sudo su postgres

psql

ALTER ROLE openerp CREATEROLE CREATEDB;

execv() arg 2 must contain only strings odoo

service odoo start LANG=en_US

أو

locale-gen en_US en_US.UTF-8
dpkg-reconfigure locales

reportlab.graphics.renderPM.RenderPMError: Can’t setFont(Times-Roman) missing the T1 files?
Originally <class ‘TypeError’>: makeT1Font() argument 2 must be str, not None

apt install gsfonts

مُحمد الصايغ

مدير سيرفرات ومبرمج هاوي أحب البحث

لا تعليقات بعد على “أخطاء وحلول في Odoo

اترك تعليقاً

لن يتم نشر عنوان بريدك الإلكتروني. الحقول الإلزامية مشار إليها بـ *

هذا الموقع يستخدم Akismet للحدّ من التعليقات المزعجة والغير مرغوبة. تعرّف على كيفية معالجة بيانات تعليقك.