CLX (Hemlock) fails to run
Using the 2018-01 snapshot, (require :hemlock)
and try (ed "/tmp/foo")
. Instead of starting hemlock, I get an error:
There are no digits in this string: ""
[Condition of type KERNEL:SIMPLE-PARSE-ERROR]
Restarts:
0: [ABORT] Return to Top-Level.
Debug (type H for help)
(PARSE-INTEGER "" :START 0 :END NIL :RADIX 10 :JUNK-ALLOWED NIL)
Source:
; File: target:code/reader.lisp
; File has been modified since compilation:
; target:code/reader.lisp
; Using form offset instead of character position.
(ERROR 'SIMPLE-PARSE-ERROR
:FORMAT-CONTROL _
"There are no digits in this string: ~S"
:FORMAT-ARGUMENTS (LIST STRING))
0] back
0: (PARSE-INTEGER "" :START 0 :END NIL :RADIX 10 :JUNK-ALLOWED NIL)
1: (XLIB::READ-XAUTH-ENTRY #<Stream for file "/run/user/502/gdm/Xauthority">)
2: (XLIB::GET-BEST-AUTHORIZATION "" 0 :LOCAL)
3: (XLIB:OPEN-DISPLAY ""
:DISPLAY 0
:PROTOCOL :LOCAL
:AUTHORIZATION-NAME NIL
:AUTHORIZATION-DATA NIL)
4: (OPEN-CLX-DISPLAY ":0")
5: (HEMLOCK-INTERNALS::INIT-RAW-IO ":0")
6: (C::DO-CALL #<Code Object "DEFUN ED" {6180A2E7}> 47 48 8 1 T)
7: (INTERACTIVE-EVAL (ED "/tmp/foo"))
8: (LISP::%TOP-LEVEL)
9: ((LABELS LISP::RESTART-LISP SAVE-LISP))
0]
I think cmucl can't parse the contents of my .Xauthority
file, which appears to have an entry for an ipv6 address.