mit-scheme-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

10.1.10: Unbound variable: nmv-header?


From: Matt Birkholz
Subject: 10.1.10: Unbound variable: nmv-header?
Date: Thu, 02 Jan 2020 01:02:00 -0700
User-agent: Evolution 3.34.1-2

I'm not able to print vectors with 10.1.10.

Image saved on Saturday August 10, 2019 at 6:28:48 PM
  Release 10.1.10   || Microcode 15.3 || Runtime 15.7 || SF 4.41
  LIAR/x86-64 4.118

1 ]=> #(1 2 3)

;Value: 
;Unbound variable: nmv-header?

I installed 10.1.10 from the binary tarball mit-scheme-10.1.10-x86-64.tar.gz.

On Thu, 2019-12-26 at 15:21 -0500, Chris Hanson wrote:
The nmv-header? problem should have been fixed. What version of Scheme are you using?
On Dec 26, 2019, 1:03 PM -0500, David Liu <address@hidden>, wrote:
Ah great, applying that patch finally allowed psgo.scm to complete loading successfully, and it popped up three blank windows named g1, g2, and g3, as expected from the source code of psgo.scm from the book's website.

However, I tried (paint g1 fovnder), where g1 is the window and fovnder is the loaded painter, and it complained that
"The procedure c-call has been called with 2 arguments; it requires at least 0 arguments. Type D to debug error, Q to quit back to REP loop".

I typed D but instead of popping up the debugger (as it did when I was debugging a previous issue in this thread), it only echoed at the bottom "Internal error: Unbound variable: nmv-header?". Hence, I will attempt to manually trace out the stack.

In the "paint" function [1], the offending line is the final one, which in my case evals to (picture-display g1 *the-screen* 0 256). The "picture-display" function is in src/6001/picture.scm, and is quite opaque, and I cannot find any instances of "c-call" anywhere. Any idea what might be the problem here?


[1] from hend.scm:
(define (paint window painter)
  (if (not (graphics-device? window))
      (error "bad window" window))
  (set-painter-resolution! 128)
  (painter (screen-frame))
  (picture-display window *the-screen* 0 256))


reply via email to

[Prev in Thread] Current Thread [Next in Thread]