Just ran the cl-json test suite (patch to cl-json.asd that makes this easier will follow) and got seven failures:
Failure Details: -------------------------------- DECODER-PERFORMANCE-WITH-SIMPLIFIED-CAMEL-CASE []: Unexpected Error: #<FILE-ERROR @ #x1001aa33c2> File #P"/Users/rpg/lisp/cl-json/t/allegro-8.1a-64bit-macosx-x86-64/pass1.json" does not exist... -------------------------------- -------------------------------- PASS-3 []: Unexpected Error: #<FILE-ERROR @ #x10013e37f2> File #P"/Users/rpg/lisp/cl-json/t/allegro-8.1a-64bit-macosx-x86-64/pass3.json" does not exist... -------------------------------- -------------------------------- PASS-1 []: Unexpected Error: #<FILE-ERROR @ #x10013dd8d2> File #P"/Users/rpg/lisp/cl-json/t/allegro-8.1a-64bit-macosx-x86-64/pass1.json" does not exist... -------------------------------- -------------------------------- DECODER-PERFORMANCE []: Unexpected Error: #<FILE-ERROR @ #x1001ad4162> File #P"/Users/rpg/lisp/cl-json/t/allegro-8.1a-64bit-macosx-x86-64/pass1.json" does not exist... -------------------------------- -------------------------------- PASS-2 []: Unexpected Error: #<FILE-ERROR @ #x100144c6f2> File #P"/Users/rpg/lisp/cl-json/t/allegro-8.1a-64bit-macosx-x86-64/pass2.json" does not exist... -------------------------------- -------------------------------- TEST*JSON-SYMBOLS-PACKAGE* []: Unexpected Error: #<SIMPLE-ERROR @ #x10014c2342> slot-definition did not receive a valid :name initarg.. -------------------------------- -------------------------------- JSON-BIND-IN-BIND-BUG []: RESULT2 evaluated to "(0 ((ID . pingId) (NAME . ping)) NIL (((NAME . tableTennisGroupName) (ID . tableTennisGroupId))))", which is not STRING= to "(0 NIL NIL (NIL))".. --------------------------------
Running on ACL 8.1, MacOSX.
Best, R
On 1/2/10 Jan 2 -3:16 PM, Robert Goldman wrote:
Just ran the cl-json test suite (patch to cl-json.asd that makes this easier will follow) and got seven failures:
Failure Details:
DECODER-PERFORMANCE-WITH-SIMPLIFIED-CAMEL-CASE []: Unexpected Error: #<FILE-ERROR @ #x1001aa33c2> File #P"/Users/rpg/lisp/cl-json/t/allegro-8.1a-64bit-macosx-x86-64/pass1.json" does not exist...
PASS-3 []: Unexpected Error: #<FILE-ERROR @ #x10013e37f2> File #P"/Users/rpg/lisp/cl-json/t/allegro-8.1a-64bit-macosx-x86-64/pass3.json" does not exist...
PASS-1 []: Unexpected Error: #<FILE-ERROR @ #x10013dd8d2> File #P"/Users/rpg/lisp/cl-json/t/allegro-8.1a-64bit-macosx-x86-64/pass1.json" does not exist...
DECODER-PERFORMANCE []: Unexpected Error: #<FILE-ERROR @ #x1001ad4162> File #P"/Users/rpg/lisp/cl-json/t/allegro-8.1a-64bit-macosx-x86-64/pass1.json" does not exist...
PASS-2 []: Unexpected Error: #<FILE-ERROR @ #x100144c6f2> File #P"/Users/rpg/lisp/cl-json/t/allegro-8.1a-64bit-macosx-x86-64/pass2.json" does not exist...
OK, I know what's going on with the file-errors. The problem is that ASDF now by default uses asdf-binary-locations and relocates binaries into different locations (this is necessary so that the same source files can be compiled into, e.g., both SBCL and ACL, both of which apply the .fasl extension to the compiler's outputs).
This means that *load-pathname* cannot be used raw as a way of finding the .json data files.
I have a patch to propose that gets around this by recording *load-truename* inside the .asd file (which is not moved) instead of inside the .lisp files.
Patch will follow, r
On 1/2/10 Jan 2 -3:53 PM, Robert Goldman wrote:
On 1/2/10 Jan 2 -3:16 PM, Robert Goldman wrote:
I have a patch to propose that gets around this by recording *load-truename* inside the .asd file (which is not moved) instead of inside the .lisp files.
Patch will follow, r
I'm having a darcs problem now. I have 3 patches. I have sent two of them already, so I was going to send the current one alone.
However, when I use darcs send, I tell it 'n' to sending the two patches I have already sent. When I give the n to the second of three patches, darcs says that I have no patches to send at all and exits.
Shall I send this patch? (2/3) [ynWvpxqadjk], or ? for help: n You don't want to send any patches, and that's fine with me! [rpgoldman-2:~/lisp/cl-json] rpg%
Has anyone seen this problem? Does anyone know if there's a workaround?
Meanwhile, here is the new patch mashed together with the last one. Sorry, but I don't know what else to do.
Best, r
On Sat, Jan 2, 2010 at 11:02 PM, Robert Goldman rpgoldman@sift.info wrote:
On 1/2/10 Jan 2 -3:53 PM, Robert Goldman wrote:
On 1/2/10 Jan 2 -3:16 PM, Robert Goldman wrote:
I'm having a darcs problem now. I have 3 patches. I have sent two of them already, so I was going to send the current one alone.
However, when I use darcs send, I tell it 'n' to sending the two patches I have already sent. When I give the n to the second of three patches, darcs says that I have no patches to send at all and exits.
I think this is a feature of darcs. The third patch depends on the second patch (maybe because they touch a common line in some file). I saw some whitespace cleanups that got into your patches that you might not be aware of, so it might be unintuitive. Anyway darcs refuses to send just the third patch because it can't be applied without the second.
Anyway: I have now applied all your patches, everything seems to work, thanks!
/Henrik