apple / ccs-calendarserver

The Calendar and Contacts Server.
https://www.calendarserver.org
Apache License 2.0
486 stars 136 forks source link

calendarserver_bootstrap_database just works on english systems #323

Closed macosforgebot closed 10 years ago

macosforgebot commented 13 years ago

mail@… originally submitted this as ticket:415


Hi,

with r6920 a new calendarserver_bootstrap_database was added. It did not work for me doing some research I found the problem.

source:/CalendarServer/trunk/calendarserver/tools/bootstrapdatabase.py?rev=6920#L76

just checks the output.

The ouput does depend on the configuration in /var/lib/pgsql/data/postgresql.conf

It just works with:

lc_messages = 'en_US.UTF-8'                     # locale for system error message

My system had de_DE.UTF-8 before.

macosforgebot commented 13 years ago

mail@… originally submitted this as comment:1:⁠ticket:415


To cite from http://www.postgresql.org/docs/current/static/locale.html :

"Client applications that handle server-side errors by parsing the text of the error message will obviously have problems when the server's messages are in a different language. Authors of such applications are advised to make use of the error code scheme instead."

macosforgebot commented 13 years ago

@wsanchez originally submitted this as comment:2:⁠ticket:415

macosforgebot commented 12 years ago

@wsanchez originally submitted this as comment:3:⁠ticket:415

macosforgebot commented 12 years ago

@wsanchez originally submitted this as comment:5:⁠ticket:415

macosforgebot commented 10 years ago

@wsanchez originally submitted this as comment:6:⁠ticket:415


This tools is gone