From Scott at sympoiesis.com Tue Jul 8 19:29:19 2008 From: Scott at sympoiesis.com (Scott L. Burson) Date: Tue, 08 Jul 2008 15:29:19 -0400 Subject: [asdf-install-devel] Some files not loaded Message-ID: <20080708152919.jthodjr08wkscscg@webmail.sympoiesis.com> Hi, I just tried to install the latest release (downloaded from http://common-lisp.net/project/asdf-install/asdf-install_latest.tar.gz, i.e., the link "gzipped tar file" on the home page) on Allegro 8.1. I ran into what seems a rather basic problem: `cl-user::load-asdf-install' doesn't load `variables.lisp', so when I try calling `asdf-install:install', I get an unbound variable error on `*preferred-location*'. Loading the file manually gets me a little further, but then I get another error because `conditions.lisp' hasn't been loaded either (well, it's really trying to tell me that I don't have the GPG key, but the condition isn't defined). Loading that file also lets me win. -- Scott From gwking at metabang.com Tue Jul 8 21:04:19 2008 From: gwking at metabang.com (Gary King) Date: Tue, 8 Jul 2008 17:04:19 -0400 Subject: [asdf-install-devel] Some files not loaded In-Reply-To: <20080708152919.jthodjr08wkscscg@webmail.sympoiesis.com> References: <20080708152919.jthodjr08wkscscg@webmail.sympoiesis.com> Message-ID: Hi Scott, You're right that is a very basic failure. Asdf-install is designed to be loaded using asdf and I think that load file is has suffered bit rot. I'll look later today or tomorrow and clean it up. Thanks much for pointing out the problem. Sent from my iPhone On Jul 8, 2008, at 3:29 PM, "Scott L. Burson" wrote: > Hi, > > I just tried to install the latest release (downloaded from http://common-lisp.net/project/asdf-install/asdf-install_latest.tar.gz > , i.e., the link "gzipped tar file" on the home page) on Allegro > 8.1. I ran into what seems a rather basic problem: `cl-user::load- > asdf-install' doesn't load `variables.lisp', so when I try calling > `asdf-install:install', I get an unbound variable error on > `*preferred-location*'. > > Loading the file manually gets me a little further, but then I get > another error because `conditions.lisp' hasn't been loaded either > (well, it's really trying to tell me that I don't have the GPG key, > but the condition isn't defined). > > Loading that file also lets me win. > > -- Scott > > _______________________________________________ > asdf-install-devel mailing list > asdf-install-devel at common-lisp.net > http://common-lisp.net/cgi-bin/mailman/listinfo/asdf-install-devel From Scott at sympoiesis.com Wed Jul 9 03:12:41 2008 From: Scott at sympoiesis.com (Scott L. Burson) Date: Tue, 08 Jul 2008 23:12:41 -0400 Subject: [asdf-install-devel] Some files not loaded In-Reply-To: References: <20080708152919.jthodjr08wkscscg@webmail.sympoiesis.com> Message-ID: <20080708231241.g43vcnwpnw488c84@webmail.sympoiesis.com> Hi Gary, I was going to load it with ASDF, but then I read the README, which recommends the load file. Since ASDF is obviously required anyway, maybe you should just toss the load file and fix up the README. -- Scott Quoting Gary King : > Hi Scott, > > You're right that is a very basic failure. Asdf-install is designed to > be loaded using asdf and I think that load file is has suffered bit > rot. I'll look later today or tomorrow and clean it up. Thanks much for > pointing out the problem. > > Sent from my iPhone > > On Jul 8, 2008, at 3:29 PM, "Scott L. Burson" wrote: > >> Hi, >> >> I just tried to install the latest release (downloaded from >> http://common-lisp.net/project/asdf-install/asdf-install_latest.tar.gz, >> i.e., the link "gzipped tar file" on the home page) on Allegro 8.1. >> I ran into what seems a rather basic problem: >> `cl-user::load-asdf-install' doesn't load `variables.lisp', so when >> I try calling `asdf-install:install', I get an unbound variable >> error on `*preferred-location*'. >> >> Loading the file manually gets me a little further, but then I get >> another error because `conditions.lisp' hasn't been loaded either >> (well, it's really trying to tell me that I don't have the GPG key, >> but the condition isn't defined). >> >> Loading that file also lets me win. >> >> -- Scott >> >> _______________________________________________ >> asdf-install-devel mailing list >> asdf-install-devel at common-lisp.net >> http://common-lisp.net/cgi-bin/mailman/listinfo/asdf-install-devel From gwking at metabang.com Wed Jul 9 14:27:58 2008 From: gwking at metabang.com (Gary King) Date: Wed, 9 Jul 2008 10:27:58 -0400 Subject: [asdf-install-devel] Some files not loaded In-Reply-To: <20080708231241.g43vcnwpnw488c84@webmail.sympoiesis.com> References: <20080708152919.jthodjr08wkscscg@webmail.sympoiesis.com> <20080708231241.g43vcnwpnw488c84@webmail.sympoiesis.com> Message-ID: <4D7EC927-2CE9-4BD9-AE0F-C733F9655EA7@metabang.com> You _read_ the README. What kind of insanity is this!!!!!! Just kidding (which I hope was obvious). I'll certainly fix the README too. On Jul 8, 2008, at 11:12 PM, Scott L. Burson wrote: > Hi Gary, > > I was going to load it with ASDF, but then I read the README, which > recommends the load file. > > Since ASDF is obviously required anyway, maybe you should just toss > the load file and fix up the README. > > -- Scott > > Quoting Gary King : > >> Hi Scott, >> >> You're right that is a very basic failure. Asdf-install is designed >> to >> be loaded using asdf and I think that load file is has suffered bit >> rot. I'll look later today or tomorrow and clean it up. Thanks much >> for >> pointing out the problem. >> >> Sent from my iPhone >> >> On Jul 8, 2008, at 3:29 PM, "Scott L. Burson" >> wrote: >> >>> Hi, >>> >>> I just tried to install the latest release (downloaded from http://common-lisp.net/project/asdf-install/asdf-install_latest.tar.gz >>> , i.e., the link "gzipped tar file" on the home page) on Allegro >>> 8.1. I ran into what seems a rather basic problem: `cl- >>> user::load-asdf-install' doesn't load `variables.lisp', so when I >>> try calling `asdf-install:install', I get an unbound variable >>> error on `*preferred-location*'. >>> >>> Loading the file manually gets me a little further, but then I >>> get another error because `conditions.lisp' hasn't been loaded >>> either (well, it's really trying to tell me that I don't have the >>> GPG key, but the condition isn't defined). >>> >>> Loading that file also lets me win. >>> >>> -- Scott >>> >>> _______________________________________________ >>> asdf-install-devel mailing list >>> asdf-install-devel at common-lisp.net >>> http://common-lisp.net/cgi-bin/mailman/listinfo/asdf-install-devel > > -- Gary Warren King, metabang.com Cell: (413) 559 8738 Fax: (206) 338-4052 gwkkwg on Skype * garethsan on AIM From Scott at sympoiesis.com Wed Jul 9 16:47:40 2008 From: Scott at sympoiesis.com (Scott L. Burson) Date: Wed, 09 Jul 2008 12:47:40 -0400 Subject: [asdf-install-devel] Some files not loaded In-Reply-To: <4D7EC927-2CE9-4BD9-AE0F-C733F9655EA7@metabang.com> References: <20080708152919.jthodjr08wkscscg@webmail.sympoiesis.com> <20080708231241.g43vcnwpnw488c84@webmail.sympoiesis.com> <4D7EC927-2CE9-4BD9-AE0F-C733F9655EA7@metabang.com> Message-ID: <20080709124740.v6zjji5osk080kw8@webmail.sympoiesis.com> Quoting Gary King : > You _read_ the README. What kind of insanity is this!!!!!! LOL :) > I'll certainly fix the README too. Cool. -- Scott > On Jul 8, 2008, at 11:12 PM, Scott L. Burson wrote: > >> Hi Gary, >> >> I was going to load it with ASDF, but then I read the README, which >> recommends the load file. >> >> Since ASDF is obviously required anyway, maybe you should just toss >> the load file and fix up the README. >> >> -- Scott >> >> Quoting Gary King : >> >>> Hi Scott, >>> >>> You're right that is a very basic failure. Asdf-install is designed to >>> be loaded using asdf and I think that load file is has suffered bit >>> rot. I'll look later today or tomorrow and clean it up. Thanks much for >>> pointing out the problem. >>> >>> Sent from my iPhone >>> >>> On Jul 8, 2008, at 3:29 PM, "Scott L. Burson" wrote: >>> >>>> Hi, >>>> >>>> I just tried to install the latest release (downloaded from >>>> http://common-lisp.net/project/asdf-install/asdf-install_latest.tar.gz, >>>> i.e., the link "gzipped tar file" on the home page) on Allegro >>>> 8.1. I ran into what seems a rather basic problem: >>>> `cl-user::load-asdf-install' doesn't load `variables.lisp', so >>>> when I try calling `asdf-install:install', I get an unbound >>>> variable error on `*preferred-location*'. >>>> >>>> Loading the file manually gets me a little further, but then I >>>> get another error because `conditions.lisp' hasn't been loaded >>>> either (well, it's really trying to tell me that I don't have >>>> the GPG key, but the condition isn't defined). >>>> >>>> Loading that file also lets me win. >>>> >>>> -- Scott >>>> >>>> _______________________________________________ >>>> asdf-install-devel mailing list >>>> asdf-install-devel at common-lisp.net >>>> http://common-lisp.net/cgi-bin/mailman/listinfo/asdf-install-devel >> >> > > -- > Gary Warren King, metabang.com > Cell: (413) 559 8738 > Fax: (206) 338-4052 > gwkkwg on Skype * garethsan on AIM From taylorvenable at gmail.com Wed Jul 9 17:46:40 2008 From: taylorvenable at gmail.com (Taylor Venable) Date: Wed, 9 Jul 2008 13:46:40 -0400 Subject: [asdf-install-devel] Problem Report + Patch: Extraneous 0x0A byte at beginning of downloaded file stream [clisp 2.44, netbsd -current amd64] Message-ID: <5c4416670807091046t4a49143clf8fb534cbbf4dd3c@mail.gmail.com> I've read about this in a few places on the internet but I haven't seen a solution yet. When I try to (asdf-install:install :cl-ppcre) the temporary file that is downloaded into my home directory contains an extra 0x0A byte at the beginning. I'm thinking that perhaps URL-CONNECTION accidentally leaves the \n part of the line-terminator from the previous line in the stream after parsing out the headers of the HTTP response. Removing the first byte of the stream before writing its contents to the file fixes the problem. Here's a (hackish, but works for me) patch for port.lisp: @@ -331,12 +331,14 @@ url file-name) (force-output) - #+:clisp (setf (stream-element-type stream) - '(unsigned-byte 8)) + #+:clisp (progn + (setf (stream-element-type stream) + '(unsigned-byte 8)) + (read-byte stream)) (let ((ok? nil) (o nil)) (unwind-protect (progn -- Taylor Venable From gwking at metabang.com Wed Jul 9 21:06:04 2008 From: gwking at metabang.com (Gary King) Date: Wed, 9 Jul 2008 17:06:04 -0400 Subject: [asdf-install-devel] Problem Report + Patch: Extraneous 0x0A byte at beginning of downloaded file stream [clisp 2.44, netbsd -current amd64] In-Reply-To: <5c4416670807091046t4a49143clf8fb534cbbf4dd3c@mail.gmail.com> References: <5c4416670807091046t4a49143clf8fb534cbbf4dd3c@mail.gmail.com> Message-ID: <9346EF63-9052-4266-98B6-2EC96F2EE5AD@metabang.com> Hi Taylor, Thanks for pointing this out and for the patch; I'll try to get this into the main body sometime later this week. Am I write that you are using CLISP? On Jul 9, 2008, at 1:46 PM, Taylor Venable wrote: > I've read about this in a few places on the internet but I haven't > seen a solution yet. When I try to (asdf-install:install :cl-ppcre) > the temporary file that is downloaded into my home directory contains > an extra 0x0A byte at the beginning. I'm thinking that perhaps > URL-CONNECTION accidentally leaves the \n part of the line-terminator > from the previous line in the stream after parsing out the headers of > the HTTP response. Removing the first byte of the stream before > writing its contents to the file fixes the problem. > > Here's a (hackish, but works for me) patch for port.lisp: > > @@ -331,12 +331,14 @@ > url > file-name) > (force-output) > - #+:clisp (setf (stream-element-type stream) > - '(unsigned-byte 8)) > + #+:clisp (progn > + (setf (stream-element-type stream) > + '(unsigned-byte 8)) > + (read-byte stream)) > (let ((ok? nil) (o nil)) > (unwind-protect > (progn > > -- > Taylor Venable > _______________________________________________ > asdf-install-devel mailing list > asdf-install-devel at common-lisp.net > http://common-lisp.net/cgi-bin/mailman/listinfo/asdf-install-devel -- Gary Warren King, metabang.com Cell: (413) 559 8738 Fax: (206) 338-4052 gwkkwg on Skype * garethsan on AIM From taylorvenable at gmail.com Thu Jul 10 01:40:47 2008 From: taylorvenable at gmail.com (Taylor Venable) Date: Wed, 9 Jul 2008 21:40:47 -0400 Subject: [asdf-install-devel] Problem Report + Patch: Extraneous 0x0A byte at beginning of downloaded file stream [clisp 2.44, netbsd -current amd64] In-Reply-To: <9346EF63-9052-4266-98B6-2EC96F2EE5AD@metabang.com> References: <5c4416670807091046t4a49143clf8fb534cbbf4dd3c@mail.gmail.com> <9346EF63-9052-4266-98B6-2EC96F2EE5AD@metabang.com> Message-ID: <5c4416670807091840n7e2ebfabmd3438e8e5f921522@mail.gmail.com> On Wed, Jul 9, 2008 at 5:06 PM, Gary King wrote: > Thanks for pointing this out and for the patch; I'll try to get this into > the main body sometime later this week. > > Am I write that you are using CLISP? Yes, that's correct. I'm not sure that this is the most elegant solution, as I didn't get too much into the detail of the code other than to note that there was consistently an extra newline at the beginning of the file, and to think that one possible reason could be the way the HTTP response was parsed. I would have liked to test it out in other LISP implementations, but clisp is the only one that I've ever gotten to run on this particular platform I'm currently running. I should also note that the version of asdf-install used is the one at this link: http://common-lisp.net/project/asdf-install/asdf-install_latest.tar.gz -- Taylor Venable