get-url: bad formed URL

Notices and updates
Locked
swiss-lisper
Posts: 2
Joined: Wed Aug 31, 2005 8:01 am

get-url: bad formed URL

Post by swiss-lisper »

Hi! I just installed newlisp (Windows installer on Windows XP). I have some CommonLisp experience and want to try newlisp for web site building and information retrieval from the web. I did some toy programming yesterday which worked fine.

Now I wanted to retrieve content from the web. I set our proxy with env HTTP_PROXY and then tried get-url

> (get-url "http://www.google.de")
"ERR: bad formed URL"
>

That's the error i get with every URL I try. What do I do wrong?

Lutz
Posts: 5289
Joined: Thu Sep 26, 2002 4:45 pm
Location: Pasadena, California
Contact:

Post by Lutz »

Most likely the format of your HTTP_PROXY environment variable setup is wrong. See the manual for the correct format and after setting do a:

(env "HTTP_PROXY")

to verify your current setting.

Lutz

swiss-lisper
Posts: 2
Joined: Wed Aug 31, 2005 8:01 am

Post by swiss-lisper »

How stupid of me! I was sure I had gotten it right, because I copied it directly from the config file. But it lacked the http:// prefix. Sorry for having bothered you with it! By the way: I believe I posted my question to the wrong forum (newLisp News). This seems to be only for announcements, not for questions. But for questions there seems to be only the Win32 forum and the Unix forum. Where are platform-independent questions to be posted?

And of couse: Thanks a lot for the design and implementation of newLISP. Seems to be cool. I'll certainly continue experimenting with it!

Lutz
Posts: 5289
Joined: Thu Sep 26, 2002 4:45 pm
Location: Pasadena, California
Contact:

Post by Lutz »

Very welcome to the newLISP discussion group! Glad you got the proxy working.

You can post platform independent stuff either in "Lisp in general" or in the platform category which is yours. Manual or other doc corrections are typically posted in the 'News' section. Ryon is the technical maintainer/hoster of this board.

Lutz

Locked