Try to see the file /openerp-6.1-1/openerp/tools/config.py at line 438, I think the problem comes from there:
# TODO checking the type of the parameters should be done for every
# parameters, not just the timezone.
# The call to get_server_timezone() sets the timezone; this should
# probably done here.
if self.options['timezone']:
# Prevent the timezone to be True. (The config file parsing changes
# the string 'True' to the boolean value True. It would be probably
# be better to remove that conversion.)
die(not isinstance(self.options['timezone'], basestring), "Invalid timezone value in configuration or environment: %r.\n" "Please fix this in your configuration." %(self.options['timezone']))
# If an explicit TZ was provided in the config, make sure it is known
I try to view the self.options['timezone'], but all time it is FALSE.Normally the value should be the result of method get_server_timezone().
I did few tests to see the problem,
Try to see the file /openerp- 6.1-1/openerp/ tools/config. py at line 438, I think the problem comes from there:
# TODO checking the type of the parameters should be done for every timezone( ) sets the timezone; this should 'timezone' ]: self.options[ 'timezone' ], basestring),
"Invalid timezone value in configuration or environment: %r.\n"
"Please fix this in your configuration." %(self. options[ 'timezone' ]))
# parameters, not just the timezone.
# The call to get_server_
# probably done here.
if self.options[
# Prevent the timezone to be True. (The config file parsing changes
# the string 'True' to the boolean value True. It would be probably
# be better to remove that conversion.)
die(not isinstance(
# If an explicit TZ was provided in the config, make sure it is known
I try to view the self.options[ 'timezone' ], but all time it is FALSE.Normally the value should be the result of method get_server_ timezone( ).
I think it is a bug from openErp
if you have an idea, can you tell me.