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

hi to all,
after i restart server in production , i get this error when login to erp :

please help .


bzr: warning: unsupported locale setting

bzr could not set the application locale.

Although this should be no problem for bzr itself,

it might cause problems with some plugins.

To investigate the issue, look at the output

of the locale(1p) tool available on POSIX systems.

bzr: ERROR: Not a branch: "/home/test/test-erp-server-5.0.14/bin/".

[2015-08-25 16:30:17,577][ABLEPACK_PRODUCTION] CRITICAL:init:[01]:

[2015-08-25 16:30:17,577][ABLEPACK_PRODUCTION] CRITICAL:init:[02]: Environment Information :

[2015-08-25 16:30:17,577][ABLEPACK_PRODUCTION] CRITICAL:init:[03]: System : Linux-2.6.32-38-server-x86_64-with-Ubuntu-10.04-lucid

[2015-08-25 16:30:17,577][ABLEPACK_PRODUCTION] CRITICAL:init:[04]: OS Name : posix

[2015-08-25 16:30:17,577][ABLEPACK_PRODUCTION] CRITICAL:init:[05]: Distributor ID: Ubuntu

[2015-08-25 16:30:17,577][ABLEPACK_PRODUCTION] CRITICAL:init:[06]: Description:Ubuntu 10.04.4 LTS

[2015-08-25 16:30:17,577][ABLEPACK_PRODUCTION] CRITICAL:init:[07]: Release: 10.04

[2015-08-25 16:30:17,577][ABLEPACK_PRODUCTION] CRITICAL:init:[08]: Codename: lucid

[2015-08-25 16:30:17,577][ABLEPACK_PRODUCTION] CRITICAL:init:[09]: Operating System Release : 2.6.32-38-server

[2015-08-25 16:30:17,578][ABLEPACK_PRODUCTION] CRITICAL:init:[10]: Operating System Version : #83-Ubuntu SMP Wed Jan 4 11:26:59 UTC 2012

[2015-08-25 16:30:17,578][ABLEPACK_PRODUCTION] CRITICAL:init:[11]: Operating System Architecture : 64bit

[2015-08-25 16:30:17,578][ABLEPACK_PRODUCTION] CRITICAL:init:[12]: Operating System Locale : en_US.UTF8

[2015-08-25 16:30:17,578][ABLEPACK_PRODUCTION] CRITICAL:init:[13]: Python Version : 2.6.5

[2015-08-25 16:30:17,578][ABLEPACK_PRODUCTION] CRITICAL:init:[14]: TigernixERP-Server Version : 5.0.14

[2015-08-25 16:30:17,578][ABLEPACK_PRODUCTION] CRITICAL:init:[15]: Last revision No. & ID :

[2015-08-25 16:30:17,578][ABLEPACK_PRODUCTION] CRITICAL:init:[16]: Couldn't load module ablepack_project

bzr: warning: unsupported locale setting

bzr could not set the application locale.

Although this should be no problem for bzr itself,

it might cause problems with some plugins.

To investigate the issue, look at the output

of the locale(1p) tool available on POSIX systems.

bzr: ERROR: Not a branch: "/home/teest/test-server-5.0.14/bin/".

[2015-08-25 16:30:17,667][ABLEPACK_PRODUCTION] CRITICAL:init:[01]:

[2015-08-25 16:30:17,667][ABLEPACK_PRODUCTION] CRITICAL:init:[02]: Environment Information :

[2015-08-25 16:30:17,667][ABLEPACK_PRODUCTION] CRITICAL:init:[03]: System : Linux-2.6.32-38-server-x86_64-with-Ubuntu-10.04-lucid

[2015-08-25 16:30:17,668][ABLEPACK_PRODUCTION] CRITICAL:init:[04]: OS Name : posix

[2015-08-25 16:30:17,668][ABLEPACK_PRODUCTION] CRITICAL:init:[05]: Distributor ID: Ubuntu

[2015-08-25 16:30:17,668][ABLEPACK_PRODUCTION] CRITICAL:init:[06]: Description:Ubuntu 10.04.4 LTS

[2015-08-25 16:30:17,668][ABLEPACK_PRODUCTION] CRITICAL:init:[07]: Release: 10.04

[2015-08-25 16:30:17,668][ABLEPACK_PRODUCTION] CRITICAL:init:[08]: Codename: lucid

[2015-08-25 16:30:17,668][ABLEPACK_PRODUCTION] CRITICAL:init:[09]: Operating System Release : 2.6.32-38-server

[2015-08-25 16:30:17,668][ABLEPACK_PRODUCTION] CRITICAL:init:[10]: Operating System Version : #83-Ubuntu SMP Wed Jan 4 11:26:59 UTC 2012

[2015-08-25 16:30:17,668][ABLEPACK_PRODUCTION] CRITICAL:init:[11]: Operating System Architecture : 64bit

[2015-08-25 16:30:17,668][ABLEPACK_PRODUCTION] CRITICAL:init:[12]: Operating System Locale : en_US.UTF8

[2015-08-25 16:30:17,668][ABLEPACK_PRODUCTION] CRITICAL:init:[13]: Python Version : 2.6.5

[2015-08-25 16:30:17,668][ABLEPACK_PRODUCTION] CRITICAL:init:[14]: TigernixERP-Server Version : 5.0.14

[2015-08-25 16:30:17,668][ABLEPACK_PRODUCTION] CRITICAL:init:[15]: Last revision No. & ID :

[2015-08-25 16:30:17,668][ABLEPACK_PRODUCTION] CRITICAL:init:[16]: unsupported locale setting

الصورة الرمزية
إهمال
الكاتب أفضل إجابة

Thanks to prasanth.ks.
i have solved this with this way : 

Add this Code:

LC_ALL="en_GB.utf8"

to /etc/environment and rebooting.

الصورة الرمزية
إهمال
أفضل إجابة

Check you server log file,reffed this http://stackoverflow.com/questions/1830394/python-locale-strange-error-whats-going-on-here-exactly

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
0
مارس 15
8364
1
مارس 15
5879
1
مارس 15
7518
0
مارس 15
3690
0
مارس 15
3791