Thread: [Cppcms-users] 73 - test_locale_icu_vs_os_timezone (Failed)
Brought to you by:
artyom-beilis
From: Leon <le...@wl...> - 2012-01-16 09:26:53
|
Hi, I have the following tests FAILED: 73 - test_locale_icu_vs_os_timezone (Failed) I am building cppcms on ubuntu 10.04 64 bit. My questions are: 1. what could be the reason causing this test failed? 2. How can I trace testing error? How do I know which file, which line of code causing the error? Thanks in advance! |
From: Artyom B. <art...@ya...> - 2012-01-16 11:55:38
|
Hello, This is a special test for common problem. CppCMS allows to use ICU library for localization. ICU sometimes does not detect local time zone correctly or more frequently ICU has different tz database then OS. Generally it points to either: - ICU version is not up to date so its tables not updates - Your OS timezone tables are not up to date. What can it cause? The wall time displayed using for example time filters would be different from the real local time. What to do: 1. Make sure your OS time zone information is updated of test passes, ok. 2.Try to install latest ICU version and see if test passes if it is ok, 3. Don't use ICU backend or try to specify timezone manually (environment variable TZ=TimeZoneName) Generally it is not CppCMS bug but rather shows some problem with ICU library or OS setup. Artyom Beilis -------------- CppCMS - C++ Web Framework: http://cppcms.sf.net/ CppDB - C++ SQL Connectivity: http://cppcms.sf.net/sql/cppdb/ >________________________________ > From: Leon <le...@wl...> >To: cpp...@li... >Sent: Monday, January 16, 2012 11:26 AM >Subject: [Cppcms-users] 73 - test_locale_icu_vs_os_timezone (Failed) > >Hi, >I have the following tests FAILED: > 73 - test_locale_icu_vs_os_timezone (Failed) > >I am building cppcms on ubuntu 10.04 64 bit. > > >My questions are: >1. what could be the reason causing this test failed? >2. How can I trace testing error? How do I know which file, which line >of code causing the error? > >Thanks in advance! > >------------------------------------------------------------------------------ >RSA(R) Conference 2012 >Mar 27 - Feb 2 >Save $400 by Jan. 27 >Register now! >http://p.sf.net/sfu/rsa-sfdev2dev2 >_______________________________________________ >Cppcms-users mailing list >Cpp...@li... >https://lists.sourceforge.net/lists/listinfo/cppcms-users > > > |
From: Leon <le...@wl...> - 2012-01-17 05:45:55
|
Thank you very much for the reply. I fixed the test by time zone configuration. Still, I would like to know how can I trace the problem. Is there any flag so that the line number and file name can be printed out for debugging? Best regards, Leon On Mon, Jan 16, 2012 at 7:55 PM, Artyom Beilis <art...@ya...> wrote: > Hello, > > > This is a special test for common problem. > > CppCMS allows to use ICU library for localization. > > > ICU sometimes does not detect local time zone correctly > or more frequently ICU has different tz database > then OS. > > Generally it points to either: > > - ICU version is not up to date so its tables not updates > - Your OS timezone tables are not up to date. > > What can it cause? The wall time displayed using for example > time filters would be different from the real local time. > > > What to do: > > 1. Make sure your OS time zone information is updated of test passes, ok. > > 2.Try to install latest ICU version and see if test passes if it is ok, > 3. Don't use ICU backend or try to specify timezone manually (environment variable TZ=TimeZoneName) > > > Generally it is not CppCMS bug but rather shows some problem with > ICU library or OS setup. > > > > Artyom Beilis > -------------- > CppCMS - C++ Web Framework: http://cppcms.sf.net/ > CppDB - C++ SQL Connectivity: http://cppcms.sf.net/sql/cppdb/ > > >>________________________________ >> From: Leon <le...@wl...> >>To: cpp...@li... >>Sent: Monday, January 16, 2012 11:26 AM >>Subject: [Cppcms-users] 73 - test_locale_icu_vs_os_timezone (Failed) >> >>Hi, >>I have the following tests FAILED: >> 73 - test_locale_icu_vs_os_timezone (Failed) >> >>I am building cppcms on ubuntu 10.04 64 bit. >> >> >>My questions are: >>1. what could be the reason causing this test failed? >>2. How can I trace testing error? How do I know which file, which line >>of code causing the error? >> >>Thanks in advance! >> >>------------------------------------------------------------------------------ >>RSA(R) Conference 2012 >>Mar 27 - Feb 2 >>Save $400 by Jan. 27 >>Register now! >>http://p.sf.net/sfu/rsa-sfdev2dev2 >>_______________________________________________ >>Cppcms-users mailing list >>Cpp...@li... >>https://lists.sourceforge.net/lists/listinfo/cppcms-users >> >> >> > > ------------------------------------------------------------------------------ > RSA(R) Conference 2012 > Mar 27 - Feb 2 > Save $400 by Jan. 27 > Register now! > http://p.sf.net/sfu/rsa-sfdev2dev2 > _______________________________________________ > Cppcms-users mailing list > Cpp...@li... > https://lists.sourceforge.net/lists/listinfo/cppcms-users |
From: Artyom B. <art...@ya...> - 2012-01-17 08:38:48
|
> Thank you very much for the reply. I fixed the test by time zone > configuration. Still, I would like to know how can I trace the > problem. Is there any flag so that the line number and file name can > be printed out for debugging? > The problem usually is that ICU an OS uses different time tables or it is an ICU bug (3rd part library)... What version of ICU do you have and what is the time zone you are in? Give an output of: test_locale_config in booster sub directory of your build directory Artyom |