1
0
Fork
You've already forked gambit
0

Instead of correct gambit error display, getting elisp continuation failed, wrong-type-argument #3

Open
opened 2023年08月13日 03:18:41 +02:00 by jeremy.field · 0 comments
jeremy.field commented 2023年08月13日 03:18:41 +02:00 (Migrated from gitlab.com)
Copy link

Thanks for integrating gambit with geiser.

I'm working on a simple hello world with glfw.

When I run some code with emacs run-scheme (via gambit's own gambit.el), I get a plausible error message from gambit:

*** ERROR IN glfw#on-key-press -- Invalid glfw window

When I run the same code in geiser-gambit, I get this elisp error rather than the expected error from gambit:

ERROR: <32>: continuation failed "(_geiser#geiser:eval '() '(let loop ()
 (glfw-native#poll-events)
 (glfw#window-swap-buffers window)
 (if should-quit? #f (loop)) 
 ))" 
	(wrong-type-argument hash-table-p nil)

I've tried stepping through with edebug but am struggling to nail down the bad call.

I'm using emacs 29.1 on aarch64-apple-darwin21.6.0, and gambit 4.9.5 compiled according to your instructions.

What is going on? Do you have any suggestions for how to investigate further?

Thanks for integrating gambit with geiser. I'm working on a simple hello world with glfw. When I run some code with emacs `run-scheme` (via gambit's own gambit.el), I get a plausible error message from gambit: ``` *** ERROR IN glfw#on-key-press -- Invalid glfw window ``` When I run the same code in `geiser-gambit`, I get this elisp error rather than the expected error from gambit: ``` ERROR: <32>: continuation failed "(_geiser#geiser:eval '() '(let loop () (glfw-native#poll-events) (glfw#window-swap-buffers window) (if should-quit? #f (loop)) ))" (wrong-type-argument hash-table-p nil) ``` I've tried stepping through with edebug but am struggling to nail down the bad call. I'm using emacs 29.1 on aarch64-apple-darwin21.6.0, and gambit 4.9.5 compiled according to your instructions. What is going on? Do you have any suggestions for how to investigate further?
Sign in to join this conversation.
No Branch/Tag specified
master
0.18.1
0.18
0.17
0.16
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/gambit#3
Reference in a new issue
geiser/gambit
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?