Search found 6 matches

by shoukei
Tue Mar 27, 2018 5:25 am
Forum: newLISP newS
Topic: Development release newLISP v.10.7.3
Replies: 7
Views: 4212

Re: Development release newLISP v.10.7.3

Lutz wrote:More changes. This works on macOS for your data and test-code and for upload.cgi without file corruption:
http://newlisp.nfshost.com/downloads/de ... nprogress/

Not tested yet on Windows and Linux.
Thanks Lutz!

Everything works now.
by shoukei
Mon Mar 26, 2018 3:33 am
Forum: newLISP newS
Topic: Development release newLISP v.10.7.3
Replies: 7
Views: 4212

Uploading doesn't work now

Your code will work with v10.7.4 like in v10.7.1 here: http://newlisp.org/downloads/development/inprogress/ See the paragraph about synchronizing file positions from stream and raw file access: http://newlisp.org/downloads/development/inprogress/CHANGES-10.7.4.txt Thank you Lutz for the fix. Readin...
by shoukei
Wed Mar 21, 2018 7:02 am
Forum: newLISP newS
Topic: Development release newLISP v.10.7.3
Replies: 7
Views: 4212

ERR: invalid list index in function set

Hello, I am reading a tsv file into an array but I'm getting "ERR: invalid list index in function set" in newLISP 10.7.4. and 10.7.3. (setq addrlist (array 27000 4)) (setq filename "zenkoku2.tsv") (set 'data-file (open filename "read")) (setq NR 0) (while (read-line data-file) (setq thisline (curren...
by shoukei
Fri Apr 07, 2017 11:54 am
Forum: newLISP newS
Topic: Stable maintenance release newLISP v.10.7.1
Replies: 11
Views: 6823

Re: Stable maintenance release newLISP v.10.7.1

Lutz wrote:Thanks Shoukei for catching this. Fixing seek and search for mixed file-stream / raw-handle operations was not done right.

Fixed here: http://www.newlisp.org/downloads/develo ... nprogress/
Thanks Lutz for the quick response and fix!!
by shoukei
Thu Apr 06, 2017 1:16 am
Forum: newLISP newS
Topic: Stable maintenance release newLISP v.10.7.1
Replies: 11
Views: 6823

Re: Stable maintenance release newLISP v.10.7.1

Hello Lutz, File upload script stopped working with the stable newLISP v.10.7.1 Jan. 30, 2017 version. It finishes uploading the files but the file is corrupt. (tried with pdf and xlsx files) It worked with the development version v10.7.1 Oct. 6, 2016 version. I am using OS X 10.10.5 I like using ne...
by shoukei
Tue Aug 30, 2016 1:43 pm
Forum: newLISP in the real world
Topic: Problems with upload.cgi on newLISP 10.2.8
Replies: 15
Views: 5164

Re: Problems with upload.cgi on newLISP 10.2.8

The latest reply was somewhat nearly 6 years ago but anyway I found a fix that seems to work everyone!! Change the two lines in dragonfly-newlisp/example-site/dragonfly-framework/lib/request.lsp lines 142-143 142 - (if (set 'val (regex-captcha (string var {="(.+?)"}) disp)) 142 + (if (set 'val (rege...