1
0
Fork
You've already forked mit
0

Geiser REPL Initialization Failure with MIT Scheme: %record-ref Argument Mismatch #12

Open
opened 2025年02月04日 18:10:10 +01:00 by broevanbrodersen · 4 comments
broevanbrodersen commented 2025年02月04日 18:10:10 +01:00 (Migrated from gitlab.com)
Copy link

Environment Details:

Emacs Version: 24.9 (9.0)

Geiser Version: 20240909.1145

MIT Scheme Version: 12.1

Operating System: macOS Ventura 13.5.2

System: Mac Studio M1 Max 32GB Unified Memory

Problem Description: When attempting to start a Geiser REPL for MIT Scheme, the initialization process fails with multiple warnings about incorrect argument handling for the %record-ref primitive procedure.

Detailed Error Trace:

;Loading "/Users/edb/.emacs.d/elpa/geiser-mit-20240909.1145/src/geiser/load.scm"...

; Loading "compile.scm"...

; Generating SCode for file: "emacs.scm" => "emacs.bin"... done

; Compiling file: "emacs.bin" => "emacs.com"...

;Warning: Procedure called with wrong number of arguments #[primitive-procedure 3 %record-ref] 1

;Warning: Procedure called with wrong number of arguments #[primitive-procedure 3 %record-ref] 1

;Warning: Procedure called with wrong number of arguments #[primitive-procedure 3 %record-ref] 1

;The object

;To continue, call RESTART with an option number:

; (RESTART 1) => Return to read-eval-print level 1.

Reproduction Steps:

  1. Install MIT Scheme (version 12.1)
  2. Install Geiser via package manager
  3. Configure Emacs with standard Geiser MIT Scheme configuration
  4. Attempt to start Geiser REPL using M-x geiser

Expected Behavior: Geiser REPL should initialize and provide an interactive Scheme development environment.

Actual Behavior: REPL fails to start, with multiple warnings about record reference procedure argument mismatch. Additional Notes:

  • Direct invocation of MIT Scheme from command line works correctly
  • Geiser configuration appears correct
  • Error occurs during initial compilation of Geiser's Scheme initialization files

Requested Action: Investigate the compatibility between Geiser's initialization process and MIT Scheme's record handling mechanism.

**Environment Details**: Emacs Version: 24.9 (9.0) Geiser Version: 20240909.1145 MIT Scheme Version: 12.1 Operating System: macOS Ventura 13.5.2 System: Mac Studio M1 Max 32GB Unified Memory **Problem Description**: When attempting to start a Geiser REPL for MIT Scheme, the initialization process fails with multiple warnings about incorrect argument handling for the %record-ref primitive procedure. Detailed Error Trace: ;Loading "/Users/edb/.emacs.d/elpa/geiser-mit-20240909.1145/src/geiser/load.scm"... ; Loading "compile.scm"... ; Generating SCode for file: "emacs.scm" =\> "emacs.bin"... done ; Compiling file: "emacs.bin" =\> "emacs.com"... ;Warning: Procedure called with wrong number of arguments #\[primitive-procedure 3 %record-ref\] 1 ;Warning: Procedure called with wrong number of arguments #\[primitive-procedure 3 %record-ref\] 1 ;Warning: Procedure called with wrong number of arguments #\[primitive-procedure 3 %record-ref\] 1 ;The object ;To continue, call RESTART with an option number: ; (RESTART 1) =\> Return to read-eval-print level 1. **Reproduction Steps**: 1. Install MIT Scheme (version 12.1) 2. Install Geiser via package manager 3. Configure Emacs with standard Geiser MIT Scheme configuration 4. Attempt to start Geiser REPL using M-x geiser **Expected Behavior**: Geiser REPL should initialize and provide an interactive Scheme development environment. **Actual Behavior**: REPL fails to start, with multiple warnings about record reference procedure argument mismatch. **Additional Notes**: * Direct invocation of MIT Scheme from command line works correctly * Geiser configuration appears correct * Error occurs during initial compilation of Geiser's Scheme initialization files **Requested Action**: Investigate the compatibility between Geiser's initialization process and MIT Scheme's record handling mechanism.
broevanbrodersen commented 2025年02月04日 18:13:54 +01:00 (Migrated from gitlab.com)
Copy link

changed the description

changed the description
broevanbrodersen commented 2025年02月04日 18:14:42 +01:00 (Migrated from gitlab.com)
Copy link

changed the description

changed the description
jans.tuomi commented 2025年03月08日 10:59:08 +01:00 (Migrated from gitlab.com)
Copy link

I have the same issue. My setup is very similar:

Emacs version: 29.2
Geiser version: 0.30
geiser-mit version: 20240909.1145
MIT Scheme version: 12.1
Operating system: MacOS Sonoma 14.7.4
System: MacBook Pro M1 2021 32GB

Output on startup:

MIT/GNU Scheme running under OS X
Type `^C' (control-C) followed by `H' to obtain information about interrupts.
Copyright (C) 2022 Massachusetts Institute of Technology
This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY
or FITNESS FOR A PARTICULAR PURPOSE.
Image saved on Saturday January 7, 2023 at 1:28:01 AM
 Release 12.1 || SF || CREF || LIAR/svm1
;Loading "/Users/<redacted>/.emacs.d/elpa/geiser-mit-20240909.1145/src/geiser/load.scm"...
; Loading "compile.scm"...
; Generating SCode for file: "emacs.scm" => "emacs.bin"... done
; Compiling file: "emacs.bin" => "emacs.com"...
;Warning: Procedure called with wrong number of arguments #[primitive-procedure 3 %record-ref] 1
;Warning: Procedure called with wrong number of arguments #[primitive-procedure 3 %record-ref] 1
;Warning: Procedure called with wrong number of arguments #[primitive-procedure 3 %record-ref] 1
;The object 
;To continue, call RESTART with an option number:
; (RESTART 1) => Return to read-eval-print level 1.
I have the same issue. My setup is very similar: Emacs version: 29.2 Geiser version: 0.30 geiser-mit version: 20240909.1145 MIT Scheme version: 12.1 Operating system: MacOS Sonoma 14.7.4 System: MacBook Pro M1 2021 32GB Output on startup: ``` MIT/GNU Scheme running under OS X Type `^C' (control-C) followed by `H' to obtain information about interrupts. Copyright (C) 2022 Massachusetts Institute of Technology This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Image saved on Saturday January 7, 2023 at 1:28:01 AM Release 12.1 || SF || CREF || LIAR/svm1 ;Loading "/Users/<redacted>/.emacs.d/elpa/geiser-mit-20240909.1145/src/geiser/load.scm"... ; Loading "compile.scm"... ; Generating SCode for file: "emacs.scm" => "emacs.bin"... done ; Compiling file: "emacs.bin" => "emacs.com"... ;Warning: Procedure called with wrong number of arguments #[primitive-procedure 3 %record-ref] 1 ;Warning: Procedure called with wrong number of arguments #[primitive-procedure 3 %record-ref] 1 ;Warning: Procedure called with wrong number of arguments #[primitive-procedure 3 %record-ref] 1 ;The object ;To continue, call RESTART with an option number: ; (RESTART 1) => Return to read-eval-print level 1. ```
wmorgano commented 2025年06月06日 06:14:53 +02:00 (Migrated from gitlab.com)
Copy link

Anyone happen to find a fix for this? I have the same issue on mac.
geiser-mit works on all my other linux builds so far though, just a mac issue.

Anyone happen to find a fix for this? I have the same issue on mac. geiser-mit works on all my other linux builds so far though, just a mac issue.
Sign in to join this conversation.
No Branch/Tag specified
master
0.15
0.14
0.13
0.12
0.11.2
0.11.1
0.11
0.10
0.9
0.8.1
0.8
0.7
0.6
0.5
0.4
0.3
0.2.2
0.2.1
0.2
0.1.4
0.1.3
0.1.2
0.1.1
0.1
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
geiser/mit#12
Reference in a new issue
geiser/mit
No description provided.
Delete branch "%!s()"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?