I'm still getting that date validator bug. I'm using the release that
Ian just posted on this list. This time, I am trying to select items
from a table with a particular date value.
:-)
By the way, should I be raising these kinds of bugs on this discussion
forum or is there a more appropriate place for me to post bugs?
Traceback (most recent call last):
File "fegDatadumper.py", line 24, in ?
dumper( TradeSwubIds=['xowd03t', ], AsOf = AsOf )
File "C:\dev\fid\iron\cpg\dev\src\py\iron\cpg\fegdatadumper\dump.py",
line 139
, in __call__
self.dumpTicket( ticket )
File "C:\dev\fid\iron\cpg\dev\src\py\iron\cpg\fegdatadumper\dump.py",
line 121
, in dumpTicket
sqlTranche = self.dumpTranche( ticket.Product.Tranche )
File "C:\dev\fid\iron\cpg\dev\src\py\iron\cpg\fegdatadumper\dump.py",
line 108
, in dumpTranche
sqlPortfolio = self.dumpPortfolio( tranche.Portfolio )
File "C:\dev\fid\iron\cpg\dev\src\py\iron\cpg\fegdatadumper\dump.py",
line 81,
in dumpPortfolio
if len([a for a in ccRs]) > 0:
File "C:\dev\fid\iron\cpg\dev\src\bin\sqlobject\sresults.py", line
155, in __i
ter__
return iter(list(self.lazyIter()))
File "C:\dev\fid\iron\cpg\dev\src\bin\sqlobject\dbconnection.py", line
717, in
next
obj = self.select.sourceClass.get(result[0],
selectResults=result[1:], conne
ction=self.dbconn)
File "C:\dev\fid\iron\cpg\dev\src\bin\sqlobject\main.py", line 910, in
get
val._init(id, connection, selectResults)
File "C:\dev\fid\iron\cpg\dev\src\bin\sqlobject\main.py", line 956, in
_init
self._SO_selectInit(selectResults)
File "C:\dev\fid\iron\cpg\dev\src\bin\sqlobject\main.py", line 1147,
in _SO_se
lectInit
colValue = col.to_python(colValue, self._SO_validatorState)
File "C:\dev\fid\iron\cpg\dev\src\bin\sqlobject\col.py", line 1051, in
to_pyth
on
value = super(DateValidator, self).to_python(value, state)
File "C:\dev\fid\iron\cpg\dev\src\bin\sqlobject\col.py", line 947, in
to_pytho
n
(self.format, self.name, type(value), value), value, state)
formencode.api.Invalid: expected an date/time string of the '%Y-%m-%d'
format in
the DateTimeCol 'asOf', got <type 'DateTimeType'> 'May 23 2006 12:00AM'
instead
--------------------------------------------------------
This is not an offer (or solicitation of an offer) to buy/sell the
securities/instruments mentioned or an official confirmation. Morgan Stanley
may deal as principal in or own or act as market maker for
securities/instruments mentioned or may advise the issuers. This is not
research and is not from MS Research but it may refer to a research
analyst/research report. Unless indicated, these views are the author's and
may differ from those of Morgan Stanley research or others in the Firm. We do
not represent this is accurate or complete and we may not update this. Past
performance is not indicative of future returns. For additional information,
research reports and important disclosures, contact me or see
https://secure.ms.com/servlet/cls. You should not use e-mail to request,
authorize or effect the purchase or sale of any security or instrument, to send
transfer instructions, or to effect any other transactions. We cannot
guarantee that any such requests received via e-mail will be processed in a
timely manner. This communication is solely for the addressee(s) and may
contain confidential information. We do not waive confidentiality by
mistransmission. Contact me if you do not wish to receive these
communications. In the UK, this communication is directed in the UK to those
persons who are market counterparties or intermediate customers (as defined in
the UK Financial Services Authority's rules).
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642
_______________________________________________
sqlobject-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss