Hello,
I have flipped through the mailing list's archive but did not find a solution:
Is Postmodern known to run under Windows?
I have several PCs with Windows (XP and 7) where I use Clozure CL but Postmodern is not working. My setup:
- Windows XP or Windows 7 (32 Bit) - The database is local (9.1.3) or via the network (8.4). - I use the newest Postmodern via the March distribution of Quicklisp - I user Clozure CL version 1.7
I can do a CONNECT-TOPLEVEL and with the pgadmin3 tool I can see the connection. But after a simple query like (QUERY "select 10") I get an error:
--8<-- Database error: on #<BASIC-TCP-STREAM: CLOSED #xCB1E1BE>: Das Geraet erkennt den Befehl nicht. (error #22) during write [Condition of type CL-POSTGRES:DATABASE-SOCKE-ERROR --8<--
The "Das Geraet erkennt den Befehl nicht" would be something like "The device doesn't recognise the command." in English. I do not have the original error message at hand.
In the PostgreSQL-Log I see the message "ungueltige Message-Laenge". That would be something like "invalid message length".
Am I doing something wrong? Wrong configuration? Encoding issue? I have no idea how to fix that problem.
Kind regards, Daniel.
Hello Daniel,
I have never tested on windows. One possible scenario that might result in an error like this is if Clozure is using a stream encoding/locale where it helpfully inserts carriage returns after newlines in stream write operations. I'm not familiar enough to with Clozure to know what to look for, though. You could try capturing packets from a Postmodern client running on a Unix with those sent for the same commands by a Windows client, that'll probably pinpoint the problem for you.
Best, Marijn
Hi,
thanks for your good advices.
Together with the guys from #lisp and especially #ccl I found out that there was a problem in Clozure Common Lisp in the 1.7 binaries (the link to the ticket: http://trac.clozure.com/ccl/ticket/899).
After an update to the latest version postmodern is working properly!
I tested it with the SBCL fork and it worked as well. And it should work with the 64 bit version of CCL on Windows as well.
Therefore everything looks nice and I can start using that library!
Thanks again!
Daniel.
Am 13.03.2012 15:13, schrieb Jens Teich:
Am 13.03.12 14:36, schrieb Daniel Brunner:
Hello,
I have flipped through the mailing list's archive but did not find a solution:
Is Postmodern known to run under Windows?
yes I use it with Lispworks 5+6 on Win XP/7.
jens
postmodern-devel mailing list postmodern-devel@common-lisp.net http://lists.common-lisp.net/cgi-bin/mailman/listinfo/postmodern-devel
postmodern-devel@common-lisp.net