Re: Any ideas why Axiom is acting odd?

Jean-Paul Calderone <[email protected]> Wed, 28 Jun 2006 08:10:30 -0400
Newsgroups gmane.comp.python.quotient.dev
Message-ID <20060628121030.29014.1153586647.divmod.quotient.13625@ohm>
On Wed, 28 Jun 2006 20:00:19 +0900, Robert Gravina <[email protected]> wrote:
>>* Robert Gravina <[email protected]> [2006-06-28 00:33:55 -0600]:
>>>SCHEMA: 1 library_items lending_library 1
>>>
>>>SCHEMA: 2 None None None
>>>
>>>Other examples (and my code) gives simlar results. It's like only one
>>>of the schemas is getting stored correctly.
>>
>>Did you delete the old store? If not, the incorrect schema entries and
>>so on would still be in there, causing a problem when you try to  open it
>>again.
>
>Do those examples run for you? Perhaps it's a problem with my setup,  but I 
>have no idea why, because some very simple examples will  work.
>

Your modified library.py and library_items.py do work for me.  I get this
output when running them:

creating new library
Heart of Darkness in library
The Dark Tower, Book 7 in library
Guns, Germs, and Steel: The Fates of Human Societies in library
The Lions of al-Rassan in library
***
Lending Guns, Germs, and Steel: The Fates of Human Societies to Carol
Lending The Lions of al-Rassan to Carol
---
Heart of Darkness in library
The Dark Tower, Book 7 in library
Guns, Germs, and Steel: The Fates of Human Societies lent to [Carol]
The Lions of al-Rassan lent to [Carol]
***
Carol returned Guns, Germs, and Steel: The Fates of Human Societies
Carol returned The Lions of al-Rassan
Lending Guns, Germs, and Steel: The Fates of Human Societies to Carol
Lending The Lions of al-Rassan to Dave
---
0
2

Jean-Paul