Re: [cx-oracle-users] Missleading Error-Message within cx_Oracle unicode-build
Brought to you by:
atuining
From: John N. <mr....@gm...> - 2010-10-20 21:03:40
|
Ahhhh my bad! On Wed, Oct 20, 2010 at 4:00 PM, Massa, Harald Armin <ch...@gh...> wrote: > John, >> >> Try sql = u"select 1 from dual" >> > yes, I know that solves the problem. My improvement-suggestion is concerned > with the error message: > >> >> > sql = "select 1 from dual" >> > ocs.execute(sql) >> > raises a >> > TypeError: expecting None or a string >> > when, infact, "sql" IS a string, but cx_Oracle as an unicode build > > that error should be "Type Error: expecting None or a unicode > (without the bold) > Harald > > -- > GHUM GmbH > Harald Armin Massa > Spielberger Straße 49 > 70435 Stuttgart > 0173/9409607 > > Amtsgericht Stuttgart, HRB 734971 > - > persuadere. > et programmare > > ------------------------------------------------------------------------------ > Nokia and AT&T present the 2010 Calling All Innovators-North America contest > Create new apps & games for the Nokia N8 for consumers in U.S. and Canada > $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing > Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store > http://p.sf.net/sfu/nokia-dev2dev > _______________________________________________ > cx-oracle-users mailing list > cx-...@li... > https://lists.sourceforge.net/lists/listinfo/cx-oracle-users > > -- John Nielson mr....@gm... (504) 344.7225 |