Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

still have same error compiling on windows 10, SBCL 2.2.7, after setting git to check out with cr/lf as directed #212

Closed
iantor opened this issue Aug 21, 2022 · 7 comments

Comments

@iantor
Copy link

iantor commented Aug 21, 2022

I reconfigured git for windows to check out with cr/lf, completely cleared quicklisp directory, reinstalled quicklisp, ultralisp. Cloned the three clog git packages into local-projects (along with usocket, necessary because version in quicklisp has a reference to an obsolete var with sbcl 2.2.7)

executing (ql:quickload :clog) still stops compilation with the same error (I believe):

[package clog-webgl]..........................
; file: c:/Users/ian/quicklisp/local-projects/clog/source/clog-document.lisp
; in: DEFMETHOD LOAD-SCRIPT (CLOG-DOCUMENT T)
; (FORMAT NIL "$.getScript('A', function() {
; $(clog['document']).trigger('on-load-script',~
; 'A')})"
; (CLOG:ESCAPE-STRING CLOG::SCRIPT-URL)
; (CLOG:ESCAPE-STRING CLOG::SCRIPT-URL))
;
; caught ERROR:
; during macroexpansion of
; (FORMATTER "$.getScript('A', function() {
; $(clog['document']).trigger('on-load-script',

; 'A')})").
; Use BREAK-ON-SIGNALS to intercept.
;
; error in FORMAT: Unknown directive (character: Return)
; $.getScript('A', function() {
; $(clog['document']).trigger('on-load-script',

; '~A')})
; ^
.
debugger invoked on a UIOP/LISP-BUILD:COMPILE-FILE-ERROR in thread
#<THREAD "main thread" RUNNING {1001DD8003}>:
COMPILE-FILE-ERROR while
compiling #<CL-SOURCE-FILE "clog" "source" "clog-document">

@iantor
Copy link
Author

iantor commented Aug 21, 2022

relevant setting in .gitconfig is
[core]
autocrlf = true

@rabbibotton
Copy link
Owner

rabbibotton commented Aug 21, 2022 via email

@rabbibotton
Copy link
Owner

rabbibotton commented Aug 21, 2022 via email

@iantor
Copy link
Author

iantor commented Aug 22, 2022

just realized that I had misread what you said. I will reconfigure git as you originally directed (to check out as is), clear everything, and retry.

@iantor
Copy link
Author

iantor commented Aug 22, 2022

found the problem. There were two gitconfig files, one was overriding the other. Once I removed the erroneous one, and cleared quicklisp and re-cloned the repo items, compilation completed successfully. Command that helped me figure this out was git config --list --show-origin

@iantor iantor closed this as completed Aug 22, 2022
@rabbibotton
Copy link
Owner

Fantastic :) I look forward to see the great things you will do with CLOG!

@iantor
Copy link
Author

iantor commented Aug 22, 2022

Excited to finally get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants