I am trying to upgrade a Fedora Core 3 installation to Fedora Core 4,
converting from Python 2.3 to 2.4 and moving to Webware .9 as part of
the process. Fedora Core 3 has been running with the mx utilities and
I am getting an abend when trying to logon to my application:
File "/home/web/dra/Scripts/SitePage.py", line 257, in respondToPost
File "./WebKit/HTTPContent.py", line 105, in _respond 
File "./WebKit/Page.py", line 30, in defaultAction 
File "/home/web/dra/Scripts/Logon.py", line 79, in writeHTML 
user,message = self.processFields(cookieKey)
File "/home/web/dra/Scripts/Logon.py", line 111, in processFields
user = sqldb.fetchObjectsOfClass('User',clauses='where name="%s"' %
File "./MiddleKit/Run/SQLObjectStore.py", line 346, in
File "./MiddleKit/Run/MiddleObject.py", line 104, in readStoreData
File "/home/web/dra/db/GeneratedPy/GenUser.py", line 942, in
raise TypeError, 'expecting datetime type, but got value %r of type
%r instead' % (value, type(value))
TypeError: expecting datetime type, but got value
datetime.datetime(2005, 12, 22, 10, 34, 53) of type <type
If I understand this correctly, a User record is in the process of
being moved into the Middlekit store, and it is expecting the old
mx.DateTime type of <type 'DateTime'>, but the MySQL-python module is
passing the Python 2.3/2.4 <type 'datetime.datetime'>.
An idea was to uninstall mx and see what happened next, but yum
reported that MySQL-python 1.2 was dependent upon mx and would be
uninstalled along with it.
Anyone have an idea of what to do to fix this?
Yahoo! DSL Something to write home about.
Just $16.99/mo. or less.