My query is this:

        recz = web.select("elig_mbr", where="elig_mbr_id=1100038299",
vars=locals())

.. and if I add add this to line 471 in db.py:

        logger.info("%s" % str(out.list()))

.. I get this result:

 [<Storage {'ROWVERSION': 43, 'MIDDLENAME': 'D', 'LASTNAME': 'BAR',
'ISDISABLED': 0, 'BIRTHDATE': datetime.datetime(1981, 11, 1, 0, 0),
'CMN_LANG_KEY': 'EN', 'CSM_SPONSOR_ID': 1001, 'ELIG_MBR_ID':
1100038244, 'DEMOGRAPHIC_XID': '87', 'DEATHDATE': None, 'NAMESUFFIX':
None, 'ADD_APPLICATION_ID': 13, 'ADDUSER_XID': 'PL:11', 'ADD_TS':
datetime.datetime(2007, 4, 14, 18, 59, 46), 'FIRSTNAME': 'FOO',
'GENDER_CD': 2, 'LANGUSE_CD': 0, 'CSM_CLT_ID': 10141, 'EMAILADDRESS':
None, 'DONOTMAIL': 0, 'NAMEPREFIX': None, 'ISDECEASED': 0,
'PERS_PERSON_ID': 1100038299, 'BIRTHSQ': 0, 'DONOTCALL': 0}>]

Which means the query was successful.. I think.. (it returned the
right row)

If I remove line 471 in db.py and then put this in my actual web
application:

print recz.list()

... I get:

      []

What could be happening between the debug code in db.py and when I do
the print statement in my code where that object gets goofed up?

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web.py" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/webpy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to