From daniel at dbrunner.de Tue Mar 13 13:36:25 2012 From: daniel at dbrunner.de (Daniel Brunner) Date: Tue, 13 Mar 2012 14:36:25 +0100 Subject: [postmodern-devel] Postmodern and Windows Message-ID: <4F5F4D59.7010800@dbrunner.de> 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 #: 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. From marijnh at gmail.com Tue Mar 13 14:03:36 2012 From: marijnh at gmail.com (Marijn Haverbeke) Date: Tue, 13 Mar 2012 15:03:36 +0100 Subject: [postmodern-devel] Postmodern and Windows In-Reply-To: <4F5F4D59.7010800@dbrunner.de> References: <4F5F4D59.7010800@dbrunner.de> Message-ID: 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 From info at jensteich.de Tue Mar 13 14:13:34 2012 From: info at jensteich.de (Jens Teich) Date: Tue, 13 Mar 2012 15:13:34 +0100 Subject: [postmodern-devel] Postmodern and Windows In-Reply-To: <4F5F4D59.7010800@dbrunner.de> References: <4F5F4D59.7010800@dbrunner.de> Message-ID: <4F5F560E.1080004@jensteich.de> 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 From daniel at dbrunner.de Wed Mar 14 19:11:40 2012 From: daniel at dbrunner.de (Daniel Brunner) Date: Wed, 14 Mar 2012 20:11:40 +0100 Subject: [postmodern-devel] Postmodern and Windows In-Reply-To: <4F5F560E.1080004@jensteich.de> References: <4F5F4D59.7010800@dbrunner.de> <4F5F560E.1080004@jensteich.de> Message-ID: <4F60ED6C.9040904@dbrunner.de> 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 at common-lisp.net > http://lists.common-lisp.net/cgi-bin/mailman/listinfo/postmodern-devel > From marijnh at gmail.com Wed Mar 14 19:38:20 2012 From: marijnh at gmail.com (Marijn Haverbeke) Date: Wed, 14 Mar 2012 20:38:20 +0100 Subject: [postmodern-devel] Postmodern and Windows In-Reply-To: <4F60ED6C.9040904@dbrunner.de> References: <4F5F4D59.7010800@dbrunner.de> <4F5F560E.1080004@jensteich.de> <4F60ED6C.9040904@dbrunner.de> Message-ID: Great! Thanks for following up here.