Re: [elephant-devel] Converting MIGRATE to BACKUP

2008-03-03 Thread Robert L. Read
On Mon, 2008-03-03 at 09:59 -0500, Ian Eslick wrote: > It might make sense to just have it be a separate common-lisp.net > project. We can have an optional elephant module that adds the > appropriate dependencies and wraps it into the Elephant framework. > (Perhaps a contrib for now until t

[elephant-devel] error and print-object

2008-03-03 Thread Frank Schorr
I customized print-object to better display persistent objects. If a certain error occurs at database access and and I enter the debugger (Lispworks / windows / bdb), the debugger hangs. I suspect that the IDE to calls print-object on an inconsistent object causing a further error. I can't hel

Re: [elephant-devel] ELEPHANT-DESERIALIZATION-ERROR

2008-03-03 Thread Ian Eslick
On Mar 3, 2008, at 1:15 PM, Frank Schorr wrote: This is on LispWorks/windows. I did an update today (darcs get http://www.common-lisp.net/project/elephant/darcs/ elephant) and can't run the application which used to work in the past. A minor thing: (deftest base-string ... Error while readi

Re: [elephant-devel] ELEPHANT-DESERIALIZATION-ERROR

2008-03-03 Thread Frank Schorr
Hi Leslie, the last mail was a report of two errors. (i) the lines commented out would generate an error in the reader when *compiling* the file. May be LW is not unicode enabled. I suppose commenting out is ok, one test is just not defined. (Yes, still commented out). (ii) The deseriali

Re: [elephant-devel] ELEPHANT-DESERIALIZATION-ERROR

2008-03-03 Thread Leslie P. Polzer
Hello Frank, there has been a change in the Unicode serializer, which might be the culprit of your problem. Can you send the backtrace of the error as you experience it in your application as well? Does the test suite fail if you remove the test database and try again, with the offending test

[elephant-devel] ELEPHANT-DESERIALIZATION-ERROR

2008-03-03 Thread Frank Schorr
This is on LispWorks/windows. I did an update today (darcs get http://www.common-lisp.net/project/elephant/darcs/elephant) and can't run the application which used to work in the past. A minor thing: (deftest base-string ... Error while reading: Saw character U+0080 with syntax type invalid. S

Re: [elephant-devel] Converting MIGRATE to BACKUP

2008-03-03 Thread Ian Eslick
It might make sense to just have it be a separate common-lisp.net project. We can have an optional elephant module that adds the appropriate dependencies and wraps it into the Elephant framework. (Perhaps a contrib for now until the features stabilize?) Ian On Mar 3, 2008, at 8:33 AM, He

Re: [elephant-devel] Representational Question

2008-03-03 Thread [EMAIL PROTECTED]
Leslie, Thanks for your answers and the clarifications. I think you're right in that we may need some consulting here. However, we're trying really hard to get into this and become proficient at it. As such, we would probably be interested in some consulting to help us get started so as t

Re: [elephant-devel] Converting MIGRATE to BACKUP

2008-03-03 Thread Henrik Hjelte
On Mon, Mar 3, 2008 at 2:14 PM, Ian Eslick <[EMAIL PROTECTED]> wrote: > This would be great to integrate into the core code base! Do you > think that would be reasonably easy to do? yes. It adds some new dependencies, and it is not finished on the feature list yet, but sure. I actually intended

Re: [elephant-devel] Converting MIGRATE to BACKUP

2008-03-03 Thread Ian Eslick
This would be great to integrate into the core code base! Do you think that would be reasonably easy to do? On Mar 3, 2008, at 8:06 AM, Henrik Hjelte wrote: On Mon, Mar 3, 2008 at 11:00 AM, Leslie P. Polzer <[EMAIL PROTECTED] > wrote: To be able to backup all objects to another store, woul

Re: [elephant-devel] Converting MIGRATE to BACKUP

2008-03-03 Thread Henrik Hjelte
On Mon, Mar 3, 2008 at 11:00 AM, Leslie P. Polzer <[EMAIL PROTECTED]> wrote: > > To be able to backup all objects to another store, would it be > enough to modify MIGRATE so it doesn't update the home store > of objects? I've mentioned it before, but here is another ad: I have made a basic impo

Re: [elephant-devel] Representational Question

2008-03-03 Thread Ian Eslick
No, not necessarily. New instances only get added to the persistent storage when they are of indexed classes. Otherwise you need an explicit ADD-TO-ROOT. To clarify, the slot values are immediately stored to the database, but if you don't add the object to the root, then it becomes 'unreach

[elephant-devel] Converting MIGRATE to BACKUP

2008-03-03 Thread Leslie P. Polzer
To be able to backup all objects to another store, would it be enough to modify MIGRATE so it doesn't update the home store of objects? Are there any subtle gotchas? Leslie ___ elephant-devel site list elephant-devel@common-lisp.net http://common-li

Re: [elephant-devel] Representational Question

2008-03-03 Thread Leslie P. Polzer
> Since we all have a very strong and hard-headed background on MySQL > and relational models, it's been extremely difficult for us to migrate > away from that mentality and think of objects and some of Elephant's > terminology such as class indexes, which kind of confuse us into > thinking that a

Re: [elephant-devel] MOP and initforms

2008-03-03 Thread Leslie P. Polzer
> Are you talking about class slots or instance slots? If instance > slots, then this is a bug although it's surprising since it should be > caught by the tests. Maybe this was introduced in the new inst init > patch from a few weeks ago? > > Can you given an example of the failure condition? I