Hi,

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
MySQL-python 0.9.2.

I am getting an abend when trying to logon to my application:
  File "/home/web/dra/Scripts/SitePage.py", line 257, in respondToPost
[edit]
    self._respond(transaction)
  File "./WebKit/HTTPContent.py", line 105, in _respond [edit]
  File "./WebKit/Page.py", line 30, in defaultAction [edit]
  File "/home/web/dra/Scripts/Logon.py", line 79, in writeHTML [edit]
    user,message = self.processFields(cookieKey)
  File "/home/web/dra/Scripts/Logon.py", line 111, in processFields
[edit]
    user = sqldb.fetchObjectsOfClass('User',clauses='where name="%s"' %
name)
  File "./MiddleKit/Run/SQLObjectStore.py", line 346, in
fetchObjectsOfClass [edit]
  File "./MiddleKit/Run/MiddleObject.py", line 104, in readStoreData
[edit]
  File "/home/web/dra/db/GeneratedPy/GenUser.py", line 942, in
setUpdateTime [edit]
    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
'datetime.datetime'> instead

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?  

Roger Haase




                
__________________________________________ 
Yahoo! DSL – Something to write home about. 
Just $16.99/mo. or less. 
dsl.yahoo.com 



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Webware-discuss mailing list
Webware-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to