Trying to set up V6 on Ubuntu 10.04 server LTS, I get the following problem 
when trying to create an initial database :

[2010-08-27 11:05:48,771] ERROR:db.cursor:bad 
query: CREATE DATABASE "t0" ENCODING 'unicode' TEMPLATE "template0"
Traceback (most recent call last):
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/sql_db.py", 
line 123, in execute
    res = self._obj.execute(query, params)
DataError: encoding UTF8 does not match locale en_GB
DETAIL:  The chosen LC_CTYPE setting requires encoding LATIN1.


When I connect to postgres and list the available database, I get the following 
:

postgres-# \l
                      
        List of databases
   Name    |  Owner   | Encoding | Collation 
| Ctype |   Access privileges
-----------+----------+----------+-----------+-------+-----------------------
 postgres  | postgres | LATIN1   | en_GB    
 | en_GB |
 template0 | postgres | LATIN1   | en_GB     | 
en_GB | =c/postgres
                      
                      
         : postgres=CTc/postgres
 template1 | postgres | LATIN1   | en_GB     | 
en_GB | =c/postgres
                      
                      
         : postgres=CTc/postgres
(3 rows)

Comparing this with another installation (which works) I have an encoding UTF8 
and collation en_US.utf8

Can anybody tell me how to change this and where this error comes from?

Thanks




-------------------- m2f --------------------

--
http://www.openobject.com/forum/viewtopic.php?p=60400#60400

-------------------- m2f --------------------


_______________________________________________
Tinyerp-users mailing list
http://tiny.be/mailman2/listinfo/tinyerp-users

Reply via email to