ruricolist / spinneret

Common Lisp HTML5 generator
MIT License
369 stars 26 forks source link

Cannot proclaim a global variable special: spinneret:*unvalidated-attribute-prefixes* #31

Closed vindarel closed 5 years ago

vindarel commented 5 years ago

Hello,

I cloned Spinneret and I can't quickload it anymore:

Cannot proclaim a global variable special: spinneret:*unvalidated-attribute-prefixes*
   [Condition of type simple-error]

Restarts:
 0: [retry] Retry compiling #<cl-source-file "spinneret" "tags">.
 1: [accept] Continue, treating compiling #<cl-source-file "spinneret" "tags"> as having been successful.
 2: [retry] Retry ASDF operation.
 3: [clear-configuration-and-retry] Retry ASDF operation after resetting the configuration.
 4: [retry] Retry ASDF operation.
 5: [clear-configuration-and-retry] Retry ASDF operation after resetting the configuration.
 --more--

Backtrace:
  0: (sb-c::process-variable-declaration spinneret:*unvalidated-attribute-prefixes* special :special)
  1: ((labels sb-c::map-names :in proclaim) (spinneret:*unvalidated-attribute-prefixes*) #<FUNCTION sb-c::process-variable-declaration> special :special)
  2: ((labels sb-c::map-names :in proclaim) (spinneret:*unvalidated-attribute-prefixes*) #<FUNCTION sb-c::process-variable-declaration>) [external]
  3: (proclaim (special spinneret:*unvalidated-attribute-prefixes*))
  4: (sb-int:simple-eval-in-lexenv (sb-impl::%compiler-defvar (quote spinneret:*unvalidated-attribute-prefixes*)) #<NULL-LEXENV>)
  5: (sb-int:simple-eval-in-lexenv (progn (sb-impl::%compiler-defvar (quote spinneret:*unvalidated-attribute-prefixes*))) #<NULL-LEXENV>)
  6: (eval-tlf (progn (sb-impl::%compiler-defvar (quote spinneret:*unvalidated-attribute-prefixes*))) 28 #<NULL-LEXENV>)
  7: (sb-c::eval-compile-toplevel ((sb-impl::%compiler-defvar (quote spinneret:*unvalidated-attribute-prefixes*))) (#1=(eval-when (:compile-toplevel) (sb-impl::%compiler-defvar #)) (progn #1# (sb-impl::%de..
  8: (sb-c::process-toplevel-form (eval-when (:compile-toplevel) (sb-impl::%compiler-defvar (quote spinneret:*unvalidated-attribute-prefixes*))) ((progn (eval-when # #) (sb-impl::%defvar # # # "A list of p..
  9: (sb-c::process-toplevel-progn ((eval-when (:compile-toplevel) (sb-impl::%compiler-defvar #)) (sb-impl::%defvar (quote spinneret:*unvalidated-attribute-prefixes*) (unless # #) (quote t) "A list of pref..
 10: (sb-c::process-toplevel-form (progn (eval-when (:compile-toplevel) (sb-impl::%compiler-defvar #)) (sb-impl::%defvar (quote spinneret:*unvalidated-attribute-prefixes*) (unless # #) (quote t) "A list of..
 11: ((flet sb-c::default-processor :in sb-c::process-toplevel-form) (defvar spinneret:*unvalidated-attribute-prefixes* (quote ("data-" "aria-")) "A list of prefixes for attributes that should not be valid..
 12: (sb-c::process-toplevel-form (defvar spinneret:*unvalidated-attribute-prefixes* (quote ("data-" "aria-")) "A list of prefixes for attributes that should not be validated.") (sb-c::original-source-star..
 13: (sb-c::sub-sub-compile-file #<sb-c::source-info >)
 14: ((flet sb-thread::with-recursive-lock-thunk :in sb-c::sub-compile-file))
 15: ((flet #:without-interrupts-body-676 :in sb-thread::call-with-recursive-lock))
 16: (sb-thread::call-with-recursive-lock #<CLOSURE (flet sb-thread::with-recursive-lock-thunk :in sb-c::sub-compile-file) {7FFFF488490B}> #<sb-thread:mutex "World Lock" owner: #<sb-thread:thread "repl-thr..
 17: ((lambda nil :in sb-c::sub-compile-file))
 18: ((flet sb-c::with-it :in sb-c::%with-compilation-unit))
 19: (sb-c::sub-compile-file #<sb-c::source-info >)
 20: (compile-file #P"/home/vince/quicklisp/local-projects/spinneret/tags.lisp" :output-file #P"/home/vince/.cache/common-lisp/sbcl-1.2.4.debian-linux-x64/home/vince/quicklisp/local-projects/spinneret/tags..

Any idea ?

Note that I'm on an old SBCL 1.2.4-debian.

ruricolist commented 5 years ago

The only way I can image this would happen is if you loaded the latest version of Spinneret in an image where an older version of Spinneret was already loaded. In that case, the fix should be as simple as loading Spinneret in a fresh image.

vindarel commented 5 years ago

You imagined well.

thanks