tfr (Openerp) (tfr) has assigned this bug to you for CentOS:

Since some 5.0.1+ version, widgets have been using default datetime for
doing dates instead of mx.DateTime.

This leads to the following errors, crashing the client and even corrupting the 
database in some cases: 
 
AttributeError: type object 'datetime.datetime' has no attribute 'strptime'

Looking around in datetime.c it seems Python 2.4 does not have a
strptime in datetime.

Either revert to mx.DateTime or drop compatibilty for Python 2.3+ (as
referred to in the documentation). The latter would be severely
dissapointing due to CentOS/RHEL 5 shipping with only Python 2.4.

** Affects: openobject-client
     Importance: Undecided
     Assignee: OpenERP sa GTK client R&D (openerp-dev-gtk)
         Status: Triaged

** Affects: centos
     Importance: Undecided
         Status: New


** Tags: datetime python2.4 strptime
-- 
code using datetime.strptime() from datetime crashes client under CentOS/RHEL 
5/Python 2.4
https://bugs.launchpad.net/bugs/490937
You received this bug notification because you are a member of OpenERP sa GTK 
client R&D, which is a bug assignee.

_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help   : https://help.launchpad.net/ListHelp

Reply via email to