Hi All;
https://bitbucket.org/symbolicsimulation/com.symsim.oss.ql-gui
Interested in (roughly decreasing order of importance to me):
- usability/usefulness - aesthetics (I am not a front end guy in any language) - compatibility with CLIM best practices and idioms (as this is my first CLIM program in decades, or should I say Dynamic Windows?) - compatibility with CL best practices and idioms (as this is my first real Common Lisp program after decades of C/C++, or should I say Zetalisp?)
Please be kind, and thanks for all your contributions to McCLIM!
-jm
yes, sorry, will send some screenshots later tomorrow
-jm
On Sat, Nov 4, 2017 at 9:23 PM, Anton Vodonosov avodonosov@yandex.ru wrote:
screenshots or screencast?
04.11.2017, 23:46, "John Morrison" jm@symbolic-simulation.com:
Hi All;
https://bitbucket.org/symbolicsimulation/com.symsim.oss.ql-gui
Interested in (roughly decreasing order of importance to me):
- usability/usefulness
- aesthetics (I am not a front end guy in any language)
- compatibility with CLIM best practices and idioms (as this is my
first CLIM program in decades, or should I say Dynamic Windows?)
- compatibility with CL best practices and idioms (as this is my first
real Common Lisp program after decades of C/C++, or should I say Zetalisp?)
Please be kind, and thanks for all your contributions to McCLIM!
-jm
Just added some screenshots to the skeletal readme file on the bitbucket project page here https://bitbucket.org/symbolicsimulation/com.symsim.oss.ql-gui
sorry for the delay - my first foray into markdown (etc)
-jm
On Sat, Nov 4, 2017 at 9:23 PM, Anton Vodonosov avodonosov@yandex.ru wrote:
screenshots or screencast?
04.11.2017, 23:46, "John Morrison" jm@symbolic-simulation.com:
Hi All;
https://bitbucket.org/symbolicsimulation/com.symsim.oss.ql-gui
Interested in (roughly decreasing order of importance to me):
- usability/usefulness
- aesthetics (I am not a front end guy in any language)
- compatibility with CLIM best practices and idioms (as this is my
first CLIM program in decades, or should I say Dynamic Windows?)
- compatibility with CL best practices and idioms (as this is my first
real Common Lisp program after decades of C/C++, or should I say Zetalisp?)
Please be kind, and thanks for all your contributions to McCLIM!
-jm
Hi Anton, it is a mercurial repository you cannot clone it with git.
$ hg clone ssh://hg@bitbucket.org/symbolicsimulation/com.symsim.oss.ql-gui destination directory: com.symsim.oss.ql-gui requesting all changes adding changesets adding manifests adding file changes added 35 changesets with 77 changes to 15 files updating to branch default resolving manifests getting LICENSE.txt getting TODO getting asdf-system.lisp getting com.symsim.oss.ql-gui.asd getting frame.lisp getting package.lisp getting ql-client.lisp getting ql-dist.lisp getting ql-system.lisp getting readme.md getting screenshots/asdf-systems.png getting screenshots/client-info.png getting screenshots/dashboard.png getting screenshots/dists.png getting screenshots/quicklisp-systems.png 15 files updated, 0 files merged, 0 files removed, 0 files unresolved
On Sun, Nov 5, 2017 at 11:44 PM, Anton Vodonosov avodonosov@yandex.ru wrote:
SSH also fails:
$ git clone ssh://hg@bitbucket.org/symbolicsimulation/com.symsim. oss.ql-gui Cloning into 'com.symsim.oss.ql-gui'... The authenticity of host 'bitbucket.org (104.192.143.3)' can't be established. RSA key fingerprint is 97:8c:1b:f2:6f:14:6b:5c:3b:ec:aa:46:46:74:7c:40. Are you sure you want to continue connecting (yes/no)? yes Warning: Permanently added 'bitbucket.org,104.192.143.3' (RSA) to the list of known hosts. Permission denied (publickey). fatal: Could not read from remote repository.
Please make sure you have the correct access rights and the repository exists.
06.11.2017, 02:42, "Anton Vodonosov" avodonosov@yandex.ru:
Thank you.
I'm trying to
$ git clone https://bitbucket.org/symbolicsimulation/com.symsim.oss.ql-gui
Result:
Cloning into 'com.symsim.oss.ql-gui'... remote: Not Found fatal: repository 'https://bitbucket.org/symbolicsimulation/com.symsim. oss.ql-gui/' not found
How can I clone the repo?
Best regards,
- Anton
05.11.2017, 20:30, "John Morrison" jm@symbolic-simulation.com:
Just added some screenshots to the skeletal readme file on the bitbucket project page here https://bitbucket.org/symbolicsimulation/com.symsim.oss.ql-gui
sorry for the delay - my first foray into markdown (etc)
-jm
On Sat, Nov 4, 2017 at 9:23 PM, Anton Vodonosov avodonosov@yandex.ru wrote:
screenshots or screencast?
04.11.2017, 23:46, "John Morrison" jm@symbolic-simulation.com:
Hi All;
https://bitbucket.org/symbolicsimulation/com.symsim.oss.ql-gui
Interested in (roughly decreasing order of importance to me):
- usability/usefulness
- aesthetics (I am not a front end guy in any language)
- compatibility with CLIM best practices and idioms (as this is my
first CLIM program in decades, or should I say Dynamic Windows?)
- compatibility with CL best practices and idioms (as this is my first
real Common Lisp program after decades of C/C++, or should I say Zetalisp?)
Please be kind, and thanks for all your contributions to McCLIM!
-jm
sorry for the trifling (ha) detail of omitting exactly which version control system to use - that must have been annoying to you - will clarify the readme in a bit
-jm
On Mon, Nov 6, 2017 at 5:41 AM, Thibault Langlois tl@di.fc.ul.pt wrote:
Hi Anton, it is a mercurial repository you cannot clone it with git.
$ hg clone ssh://hg@bitbucket.org/symbolicsimulation/com.symsim.oss.ql-gui destination directory: com.symsim.oss.ql-gui requesting all changes adding changesets adding manifests adding file changes added 35 changesets with 77 changes to 15 files updating to branch default resolving manifests getting LICENSE.txt getting TODO getting asdf-system.lisp getting com.symsim.oss.ql-gui.asd getting frame.lisp getting package.lisp getting ql-client.lisp getting ql-dist.lisp getting ql-system.lisp getting readme.md getting screenshots/asdf-systems.png getting screenshots/client-info.png getting screenshots/dashboard.png getting screenshots/dists.png getting screenshots/quicklisp-systems.png 15 files updated, 0 files merged, 0 files removed, 0 files unresolved
On Sun, Nov 5, 2017 at 11:44 PM, Anton Vodonosov avodonosov@yandex.ru wrote:
SSH also fails:
$ git clone ssh://hg@bitbucket.org/symbolicsimulation/com.symsim.oss.ql- gui Cloning into 'com.symsim.oss.ql-gui'... The authenticity of host 'bitbucket.org (104.192.143.3)' can't be established. RSA key fingerprint is 97:8c:1b:f2:6f:14:6b:5c:3b:ec:aa:46:46:74:7c:40. Are you sure you want to continue connecting (yes/no)? yes Warning: Permanently added 'bitbucket.org,104.192.143.3' (RSA) to the list of known hosts. Permission denied (publickey). fatal: Could not read from remote repository.
Please make sure you have the correct access rights and the repository exists.
06.11.2017, 02:42, "Anton Vodonosov" avodonosov@yandex.ru:
Thank you.
I'm trying to
$ git clone https://bitbucket.org/symbolicsimulation/com.symsim.oss.ql- gui
Result:
Cloning into 'com.symsim.oss.ql-gui'... remote: Not Found fatal: repository 'https://bitbucket.org/symboli csimulation/com.symsim.oss.ql-gui/' not found
How can I clone the repo?
Best regards,
- Anton
05.11.2017, 20:30, "John Morrison" jm@symbolic-simulation.com:
Just added some screenshots to the skeletal readme file on the bitbucket project page here https://bitbucket.org/symbolicsimulation/com.symsim.oss.ql-gui
sorry for the delay - my first foray into markdown (etc)
-jm
On Sat, Nov 4, 2017 at 9:23 PM, Anton Vodonosov avodonosov@yandex.ru wrote:
screenshots or screencast?
04.11.2017, 23:46, "John Morrison" jm@symbolic-simulation.com:
Hi All;
https://bitbucket.org/symbolicsimulation/com.symsim.oss.ql-gui
Interested in (roughly decreasing order of importance to me):
- usability/usefulness
- aesthetics (I am not a front end guy in any language)
- compatibility with CLIM best practices and idioms (as this is my
first CLIM program in decades, or should I say Dynamic Windows?)
- compatibility with CL best practices and idioms (as this is my
first real Common Lisp program after decades of C/C++, or should I say Zetalisp?)
Please be kind, and thanks for all your contributions to McCLIM!
-jm
Hey,
cool application. My two cents:
- I don't like that it synchronizes over http on each tab switch (even if I go back to already visited tab) - some cache maybe?
- Fetching makes window unresponsive for a sec or two, maybe it is worth to consider fetching in background, so user can change his mind and switch to another tab
- I like dependency graph, I'd add some margin though
- For presentations :single-box t, so you have only one box for selection when you hover with mouse
- Having two layouts - one with inspector and the second without it would be nice
- Looking at ASD definition - mcclim-truetype is enabled by default now anyway (it is commented)
- Add dependency on #:mcclim-layouts/tab since you use it
That is what comes to my head. I like the idea and general organization of panes. Congrats :)
Best regards,
Daniel
On 04.11.2017 21:46, John Morrison wrote:
Hi All;
https://bitbucket.org/symbolicsimulation/com.symsim.oss.ql-gui
Interested in (roughly decreasing order of importance to me):
- usability/usefulness
- aesthetics (I am not a front end guy in any language)
- compatibility with CLIM best practices and idioms (as this is my first CLIM program in decades, or should I say Dynamic Windows?)
- compatibility with CL best practices and idioms (as this is my first real Common Lisp program after decades of C/C++, or should I say Zetalisp?)
Please be kind, and thanks for all your contributions to McCLIM!
-jm
Hi Daniel;
Thank you for the detailed feedback. Sorry for the delay, as I was looking into a few of the following (and making various, mostly unsatisfying, progress)...
- Re: synching on each tab switch & resultant unresponsiveness - I briefly looked into this a while back (because I also hate waiting), and it looked like the app's various display functions asking about version availability triggers the fetches. I also expected some caching, but the slots I thought would contain the fetch results seemed to remain unbound after the fetch. I will look harder, as this smells like I don't understand what I'm looking at. - Re: the dependency graph - FYI is it a dependency graph of the known-to-ASDF systems (often updated after installing a quicklisp release/system). I suppose one could argue that it is out of place here. Please let me know what you think. - Re: the dependency graph - I also suppose one could argue that perhaps I should have instead/additionally drawn a dependency diagram of the selected quicklisp system. I only go so far as to textually indicate which quicklisp systems are provided by the selected quicklisp release, and textually indicate which quicklisp systems depend upon the selected quicklisp system. - Re: single-box t - what is the best idiomatic way/place to do this? I (perhaps naively or ignorantly) expected to be able to do this in the define-presentation-type, but seem not up to the task. - Would you please elaborate on "two layouts?" Do you mean just stop hanging "inspector" commands on the various presentations? If so, I agree I would like to be able to do this (a "release" build vs a "debug" build). What is the best idiomatic way to do this? Should I push something onto *features* and use #-DEBUG or something like that, or is there some ASDF derived system definition idiom?
Thanks again for the feedback, and I will try and address it - especially the unresponsive bit...
-jm
On Sun, Nov 5, 2017 at 4:22 AM, Daniel Kochmański daniel@turtleware.eu wrote:
Hey,
cool application. My two cents:
- I don't like that it synchronizes over http on each tab switch (even if
I go back to already visited tab) - some cache maybe?
- Fetching makes window unresponsive for a sec or two, maybe it is worth
to consider fetching in background, so user can change his mind and switch to another tab
I like dependency graph, I'd add some margin though
For presentations :single-box t, so you have only one box for selection
when you hover with mouse
- Having two layouts - one with inspector and the second without it would
be nice
- Looking at ASD definition - mcclim-truetype is enabled by default now
anyway (it is commented)
- Add dependency on #:mcclim-layouts/tab since you use it
That is what comes to my head. I like the idea and general organization of panes. Congrats :)
Best regards,
Daniel
On 04.11.2017 21:46, John Morrison wrote:
Hi All;
https://bitbucket.org/symbolicsimulation/com.symsim.oss.ql-gui
Interested in (roughly decreasing order of importance to me):
- usability/usefulness
- aesthetics (I am not a front end guy in any language)
- compatibility with CLIM best practices and idioms (as this is my
first CLIM program in decades, or should I say Dynamic Windows?)
- compatibility with CL best practices and idioms (as this is my first
real Common Lisp program after decades of C/C++, or should I say Zetalisp?)
Please be kind, and thanks for all your contributions to McCLIM!
-jm
Hi Daniel;
Thank you for the detailed feedback.
- Re: synching on each tab switch & resultant unresponsiveness - I implemented a caching scheme for both client info and dist info. Hope this makes the program perkier. - Re: the dependency graph - FYI is it a dependency graph of the known-to-ASDF systems (often updated after installing a quicklisp release/system). I suppose one could argue that it is out of place here. Please let me know what you think. - Re: the dependency graph - I also suppose one could argue that perhaps I should have instead/additionally drawn a dependency diagram of the selected quicklisp system. I only go so far as to textually indicate which quicklisp systems are provided by the selected quicklisp release, and textually indicate which quicklisp systems depend upon the selected quicklisp system. - Re: single-box t - what is the best idiomatic way/place to do this?
I also have tried to increase responsiveness by making use of incremental redisplay, but the logic is more complex (well, for somebody who is new to the presentation system), and I hope I have not introduced bugs.
Thanks again!
-jm
On Sun, Nov 5, 2017 at 4:22 AM, Daniel Kochmański daniel@turtleware.eu wrote:
Hey,
cool application. My two cents:
- I don't like that it synchronizes over http on each tab switch (even if
I go back to already visited tab) - some cache maybe?
- Fetching makes window unresponsive for a sec or two, maybe it is worth
to consider fetching in background, so user can change his mind and switch to another tab
I like dependency graph, I'd add some margin though
For presentations :single-box t, so you have only one box for selection
when you hover with mouse
- Having two layouts - one with inspector and the second without it would
be nice
- Looking at ASD definition - mcclim-truetype is enabled by default now
anyway (it is commented)
- Add dependency on #:mcclim-layouts/tab since you use it
That is what comes to my head. I like the idea and general organization of panes. Congrats :)
Best regards,
Daniel
On 04.11.2017 21:46, John Morrison wrote:
Hi All;
https://bitbucket.org/symbolicsimulation/com.symsim.oss.ql-gui
Interested in (roughly decreasing order of importance to me):
- usability/usefulness
- aesthetics (I am not a front end guy in any language)
- compatibility with CLIM best practices and idioms (as this is my
first CLIM program in decades, or should I say Dynamic Windows?)
- compatibility with CL best practices and idioms (as this is my first
real Common Lisp program after decades of C/C++, or should I say Zetalisp?)
Please be kind, and thanks for all your contributions to McCLIM!
-jm
Sorry to be terse - am on tablet. First, I am sorry but I do not use slime, so if there is a slime-specific error, I should be of little help. Having said that, while I used to test my McCLIM apps under both sbcl & ccl, I started having trouble with X11 authentication when running under ccl, so I stopped. Do the McCLIM demos work for you?
I will try to run this to ground tomorrow.
-jm
On Nov 7, 2017 7:28 PM, "Anton Vodonosov" avodonosov@yandex.ru wrote:
John, why do I get this error?
Connection failure to X0.0 server display 0: [Condition of type XLIB:CONNECTION-FAILURE]
Restarts: 0: [RETRY] Retry SLIME interactive evaluation request. 1: [*ABORT] Return to SLIME's top level. 2: [ABORT-BREAK] Reset this thread 3: [ABORT] Kill this thread
Backtrace: 0: (XLIB::X-ERROR XLIB:CONNECTION-FAILURE :MAJOR-VERSION 0 :MINOR-VERSION 0 :HOST "" :DISPLAY 0 :REASON "") 1: (XLIB::DISPLAY-CONNECT #<DISPLAY :0 ( R0)> :AUTHORIZATION-NAME "MIT-MAGIC-COOKIE-1" :AUTHORIZATION-DATA #(39 59 136 212 135 94 ...)) 2: (XLIB:OPEN-DISPLAY "" :DISPLAY 0 :PROTOCOL :LOCAL :AUTHORIZATION-NAME "MIT-MAGIC-COOKIE-1" :AUTHORIZATION-DATA #(39 59 136 212 135 94 ...)) 3: (#<STANDARD-METHOD CLIM-CLX::INITIALIZE-CLX (CLIM-CLX::CLX-BASIC-PORT)> #<CLX-PORT #x3020054F10AD>) 4: (#<STANDARD-METHOD INITIALIZE-INSTANCE :AFTER (CLIM-CLX::CLX-PORT)> #<CLX-PORT #x3020054F10AD> :SERVER-PATH (:CLX :HOST "" :DISPLAY-ID 0 :SCREEN-ID ...)) 5: (CCL::%%BEFORE-AND-AFTER-COMBINED-METHOD-DCODE (NIL #<STANDARD-METHOD INITIALIZE-INSTANCE :AFTER (CLIM-CLX::CLX-PORT)> . 17529393327332)) 6: (CCL::%%STANDARD-COMBINED-METHOD-DCODE (NIL (#<STANDARD-METHOD INITIALIZE-INSTANCE :AFTER (CLIM:PORT)> #<STANDARD-METHOD INITIALIZE-INSTANCE :AFTER #>) ..) 17529393327332) 7: (NIL #<Unknown Arguments>) 8: (CCL::%MAKE-STD-INSTANCE #<STANDARD-CLASS CLIM-CLX::CLX-PORT> (:SERVER-PATH (:CLX :HOST "" :DISPLAY-ID 0 :SCREEN-ID ...))) 9: (#<CCL::STANDARD-KERNEL-METHOD MAKE-INSTANCE (STANDARD-CLASS)> #<STANDARD-CLASS CLIM-CLX::CLX-PORT> :SERVER-PATH (:CLX :HOST "" :DISPLAY-ID 0 :SCREEN-ID ...)) 10: (#<CCL::STANDARD-KERNEL-METHOD MAKE-INSTANCE (SYMBOL)> CLIM-CLX::CLX-PORT :SERVER-PATH (:CLX :HOST "" :DISPLAY-ID 0 :SCREEN-ID ...)) 11: (CLIM:FIND-PORT :SERVER-PATH (:CLX :HOST "" :DISPLAY-ID 0 :SCREEN-ID ...)) 12: (CLIM:FIND-FRAME-MANAGER) 13: (#<STANDARD-METHOD CLIM:RUN-FRAME-TOP-LEVEL :AROUND (CLIM:APPLICATION-FRAME)> #COM.SYMSIM.OSS.QL-GUI::QUICKLISP-GUI #x3020054ECB5D) 14: (CCL::%%STANDARD-COMBINED-METHOD-DCODE (#<STANDARD-METHOD CLIM:RUN-FRAME-TOP-LEVEL :AROUND (CLIM:APPLICATION-FRAME)> #<STANDARD-METHOD CLIM:RUN-FRAME-TOP-LEVEL (CLIM:APPLICATION-FRAME)>) 1752939332740.. 15: (NIL #<Unknown Arguments>) 16: (CCL::CALL-CHECK-REGS COM.SYMSIM.OSS.QL-GUI:RUN) 17: (CCL::CHEAP-EVAL (COM.SYMSIM.OSS.QL-GUI:RUN)) 18: ((:INTERNAL SWANK:INTERACTIVE-EVAL)) 19: (SWANK::CALL-WITH-RETRY-RESTART "Retry SLIME interactive evaluation request." #<COMPILED-LEXICAL-CLOSURE (:INTERNAL SWANK:INTERACTIVE-EVAL) #x3020054ECD7F>) 20: (SWANK::CALL-WITH-BUFFER-SYNTAX NIL #<COMPILED-LEXICAL-CLOSURE (:INTERNAL SWANK:INTERACTIVE-EVAL) #x3020054ECDBF>) 21: (CCL::CALL-CHECK-REGS SWANK:INTERACTIVE-EVAL "(com.symsim.oss.ql-gui:run)") 22: (CCL::CHEAP-EVAL (SWANK:INTERACTIVE-EVAL "(com.symsim.oss.ql-gui:run)")) 23: (SWANK:EVAL-FOR-EMACS (SWANK:INTERACTIVE-EVAL "(com.symsim.oss.ql-gui:run)") "COMMON-LISP-USER" 20) 24: ((:INTERNAL SWANK::SPAWN-WORKER-THREAD)) 25: (SWANK/BACKEND:CALL-WITH-DEBUGGER-HOOK #<Compiled-function SWANK:SWANK-DEBUGGER-HOOK #x302001C92B5F> #<Compiled-function (:INTERNAL SWANK::SPAWN-WORKER-THREAD) (Non-Global) #x302001C5A87F>) 26: (SWANK::CALL-WITH-BINDINGS ((*STANDARD-INPUT* . #<SWANK/GRAY::SLIME-INPUT-STREAM #x3020008EE61D>) (*STANDARD-OUTPUT* . #<SWANK/GRAY::SLIME-OUTPUT-STREAM #x3020008EE53D>) ..))) #<COMPILED-LEXICAL-CLOSU.. 27: ((:INTERNAL SWANK::SPAWN-WORKER-THREAD)) 28: (CCL::RUN-PROCESS-INITIAL-FORM #<PROCESS worker(40) [Active] #x3020054E2FCD> (#<COMPILED-LEXICAL-CLOSURE (:INTERNAL CCL::%PROCESS-RUN-FUNCTION) #x3020054E2D5F>)) 29: ((:INTERNAL (CCL::%PROCESS-PRESET-INTERNAL (PROCESS))) #<PROCESS worker(40) [Active] #x3020054E2FCD> (#<COMPILED-LEXICAL-CLOSURE (:INTERNAL CCL::%PROCESS-RUN-FUNCTION) #x3020054E2D5F>)) 30: ((:INTERNAL CCL::THREAD-MAKE-STARTUP-FUNCTION))
John Morrison jm@symbolic-simulation.com writes:
Sorry to be terse - am on tablet. First, I am sorry but I do not use slime, so if there is a slime-specific error, I should be of little help. Having said that, while I used to test my McCLIM apps under both sbcl & ccl, I started having trouble with X11 authentication when running under ccl, so I stopped. Do the McCLIM demos work for you?
I will try to run this to ground tomorrow.
Hi,
If this has not been answered already, I think you have to enable localhost access for X:
xhost local:local
Philippe
On Nov 7, 2017 7:28 PM, "Anton Vodonosov" avodonosov@yandex.ru wrote:
John, why do I get this error?
Connection failure to X0.0 server display 0: [Condition of type XLIB:CONNECTION-FAILURE]
Restarts: 0: [RETRY] Retry SLIME interactive evaluation request. 1: [*ABORT] Return to SLIME's top level. 2: [ABORT-BREAK] Reset this thread 3: [ABORT] Kill this thread
Backtrace: 0: (XLIB::X-ERROR XLIB:CONNECTION-FAILURE :MAJOR-VERSION 0 :MINOR-VERSION 0 :HOST "" :DISPLAY 0 :REASON "") 1: (XLIB::DISPLAY-CONNECT #<DISPLAY :0 ( R0)> :AUTHORIZATION-NAME "MIT-MAGIC-COOKIE-1" :AUTHORIZATION-DATA #(39 59 136 212 135 94 ...)) 2: (XLIB:OPEN-DISPLAY "" :DISPLAY 0 :PROTOCOL :LOCAL :AUTHORIZATION-NAME "MIT-MAGIC-COOKIE-1" :AUTHORIZATION-DATA #(39 59 136 212 135 94 ...)) 3: (#<STANDARD-METHOD CLIM-CLX::INITIALIZE-CLX (CLIM-CLX::CLX-BASIC-PORT)> #<CLX-PORT #x3020054F10AD>) 4: (#<STANDARD-METHOD INITIALIZE-INSTANCE :AFTER (CLIM-CLX::CLX-PORT)> #<CLX-PORT #x3020054F10AD> :SERVER-PATH (:CLX :HOST "" :DISPLAY-ID 0 :SCREEN-ID ...)) 5: (CCL::%%BEFORE-AND-AFTER-COMBINED-METHOD-DCODE (NIL #<STANDARD-METHOD INITIALIZE-INSTANCE :AFTER (CLIM-CLX::CLX-PORT)> . 17529393327332)) 6: (CCL::%%STANDARD-COMBINED-METHOD-DCODE (NIL (#<STANDARD-METHOD INITIALIZE-INSTANCE :AFTER (CLIM:PORT)> #<STANDARD-METHOD INITIALIZE-INSTANCE :AFTER #>) ..) 17529393327332) 7: (NIL #<Unknown Arguments>) 8: (CCL::%MAKE-STD-INSTANCE #<STANDARD-CLASS CLIM-CLX::CLX-PORT> (:SERVER-PATH (:CLX :HOST "" :DISPLAY-ID 0 :SCREEN-ID ...))) 9: (#<CCL::STANDARD-KERNEL-METHOD MAKE-INSTANCE (STANDARD-CLASS)> #<STANDARD-CLASS CLIM-CLX::CLX-PORT> :SERVER-PATH (:CLX :HOST "" :DISPLAY-ID 0 :SCREEN-ID ...)) 10: (#<CCL::STANDARD-KERNEL-METHOD MAKE-INSTANCE (SYMBOL)> CLIM-CLX::CLX-PORT :SERVER-PATH (:CLX :HOST "" :DISPLAY-ID 0 :SCREEN-ID ...)) 11: (CLIM:FIND-PORT :SERVER-PATH (:CLX :HOST "" :DISPLAY-ID 0 :SCREEN-ID ...)) 12: (CLIM:FIND-FRAME-MANAGER) 13: (#<STANDARD-METHOD CLIM:RUN-FRAME-TOP-LEVEL :AROUND (CLIM:APPLICATION-FRAME)> #COM.SYMSIM.OSS.QL-GUI::QUICKLISP-GUI #x3020054ECB5D) 14: (CCL::%%STANDARD-COMBINED-METHOD-DCODE (#<STANDARD-METHOD CLIM:RUN-FRAME-TOP-LEVEL :AROUND (CLIM:APPLICATION-FRAME)> #<STANDARD-METHOD CLIM:RUN-FRAME-TOP-LEVEL (CLIM:APPLICATION-FRAME)>) 1752939332740.. 15: (NIL #<Unknown Arguments>) 16: (CCL::CALL-CHECK-REGS COM.SYMSIM.OSS.QL-GUI:RUN) 17: (CCL::CHEAP-EVAL (COM.SYMSIM.OSS.QL-GUI:RUN)) 18: ((:INTERNAL SWANK:INTERACTIVE-EVAL)) 19: (SWANK::CALL-WITH-RETRY-RESTART "Retry SLIME interactive evaluation request." #<COMPILED-LEXICAL-CLOSURE (:INTERNAL SWANK:INTERACTIVE-EVAL) #x3020054ECD7F>) 20: (SWANK::CALL-WITH-BUFFER-SYNTAX NIL #<COMPILED-LEXICAL-CLOSURE (:INTERNAL SWANK:INTERACTIVE-EVAL) #x3020054ECDBF>) 21: (CCL::CALL-CHECK-REGS SWANK:INTERACTIVE-EVAL "(com.symsim.oss.ql-gui:run)") 22: (CCL::CHEAP-EVAL (SWANK:INTERACTIVE-EVAL "(com.symsim.oss.ql-gui:run)")) 23: (SWANK:EVAL-FOR-EMACS (SWANK:INTERACTIVE-EVAL "(com.symsim.oss.ql-gui:run)") "COMMON-LISP-USER" 20) 24: ((:INTERNAL SWANK::SPAWN-WORKER-THREAD)) 25: (SWANK/BACKEND:CALL-WITH-DEBUGGER-HOOK #<Compiled-function SWANK:SWANK-DEBUGGER-HOOK #x302001C92B5F> #<Compiled-function (:INTERNAL SWANK::SPAWN-WORKER-THREAD) (Non-Global) #x302001C5A87F>) 26: (SWANK::CALL-WITH-BINDINGS ((*STANDARD-INPUT* . #<SWANK/GRAY::SLIME-INPUT-STREAM #x3020008EE61D>) (*STANDARD-OUTPUT* . #<SWANK/GRAY::SLIME-OUTPUT-STREAM #x3020008EE53D>) ..))) #<COMPILED-LEXICAL-CLOSU.. 27: ((:INTERNAL SWANK::SPAWN-WORKER-THREAD)) 28: (CCL::RUN-PROCESS-INITIAL-FORM #<PROCESS worker(40) [Active] #x3020054E2FCD> (#<COMPILED-LEXICAL-CLOSURE (:INTERNAL CCL::%PROCESS-RUN-FUNCTION) #x3020054E2D5F>)) 29: ((:INTERNAL (CCL::%PROCESS-PRESET-INTERNAL (PROCESS))) #<PROCESS worker(40) [Active] #x3020054E2FCD> (#<COMPILED-LEXICAL-CLOSURE (:INTERNAL CCL::%PROCESS-RUN-FUNCTION) #x3020054E2D5F>)) 30: ((:INTERNAL CCL::THREAD-MAKE-STARTUP-FUNCTION))
Hi;
I also got that error with CCL.
I did a couple of things (maybe not all of which were necessary):
1. Told my FC25 display manager (SDDM, notably neither GDM nor KDM) to add the following to the invocation of the X-Server "-listen tcp" (this was not required for SBCL to work - perhaps it goes via a unix domain socket rather than a TCP/network socket?), and rebooted, but no joy, so I 2. disabled x11 authorization via "xhost +" (maybe Phillipe's suggestion would have worked after I did the other things in this list, but his suggestion was the first thing I tried, before all these other things, and it didn't seem to do the trick), but still no joy, so I 3. upgraded CCL from 1.10 to 1.11, and 4. installed the latest CLX into local-projects, and for good measure 5. cleaned up my cache of FASLs
During the process, and even testing with Xnest, I variously got "protocol version mismatch" errors, hangs in response (apparently waiting for X11), errors opening the display, and a regression from CCL where it seemed to not like :accessors in application-frame environment variables.
Finally, I got the following to work:
lx86cl64 --eval '(ql:quickload :clx/demo)' --eval '(xlib-demo/demos:demo)'
Then the ql-gui worked. I am not sure exactly which combination of things did the trick. I can try and be more careful when I redo these fixes on my other development box.
-jm
On Wed, Nov 8, 2017 at 3:44 AM, philippe.brochard <pbrochard@common-lisp.net
wrote:
John Morrison jm@symbolic-simulation.com writes:
Sorry to be terse - am on tablet. First, I am sorry but I do not use slime, so if there is a slime-specific error, I should be of little help. Having said that, while I used to test my McCLIM apps under both sbcl & ccl, I started having trouble with X11 authentication when running under ccl, so I stopped. Do the McCLIM demos work for you?
I will try to run this to ground tomorrow.
Hi,
If this has not been answered already, I think you have to enable localhost access for X:
xhost local:local
Philippe
On Nov 7, 2017 7:28 PM, "Anton Vodonosov" avodonosov@yandex.ru wrote:
John, why do I get this error?
Connection failure to X0.0 server display 0: [Condition of type XLIB:CONNECTION-FAILURE]
Restarts: 0: [RETRY] Retry SLIME interactive evaluation request. 1: [*ABORT] Return to SLIME's top level. 2: [ABORT-BREAK] Reset this thread 3: [ABORT] Kill this thread
Backtrace: 0: (XLIB::X-ERROR XLIB:CONNECTION-FAILURE :MAJOR-VERSION 0 :MINOR-VERSION 0 :HOST "" :DISPLAY 0 :REASON "") 1: (XLIB::DISPLAY-CONNECT #<DISPLAY :0 ( R0)> :AUTHORIZATION-NAME "MIT-MAGIC-COOKIE-1" :AUTHORIZATION-DATA #(39 59 136 212 135 94 ...)) 2: (XLIB:OPEN-DISPLAY "" :DISPLAY 0 :PROTOCOL :LOCAL
:AUTHORIZATION-NAME
"MIT-MAGIC-COOKIE-1" :AUTHORIZATION-DATA #(39 59 136 212 135 94 ...)) 3: (#<STANDARD-METHOD CLIM-CLX::INITIALIZE-CLX (CLIM-CLX::CLX-BASIC-PORT)> #<CLX-PORT #x3020054F10AD>) 4: (#<STANDARD-METHOD INITIALIZE-INSTANCE :AFTER (CLIM-CLX::CLX-PORT)> #<CLX-PORT #x3020054F10AD> :SERVER-PATH (:CLX :HOST "" :DISPLAY-ID 0 :SCREEN-ID ...)) 5: (CCL::%%BEFORE-AND-AFTER-COMBINED-METHOD-DCODE (NIL #<STANDARD-METHOD INITIALIZE-INSTANCE :AFTER (CLIM-CLX::CLX-PORT)> . 17529393327332)) 6: (CCL::%%STANDARD-COMBINED-METHOD-DCODE (NIL (#<STANDARD-METHOD INITIALIZE-INSTANCE :AFTER (CLIM:PORT)> #<STANDARD-METHOD INITIALIZE-INSTANCE :AFTER #>) ..) 17529393327332) 7: (NIL #<Unknown Arguments>) 8: (CCL::%MAKE-STD-INSTANCE #<STANDARD-CLASS CLIM-CLX::CLX-PORT> (:SERVER-PATH (:CLX :HOST "" :DISPLAY-ID 0 :SCREEN-ID ...))) 9: (#<CCL::STANDARD-KERNEL-METHOD MAKE-INSTANCE (STANDARD-CLASS)> #<STANDARD-CLASS CLIM-CLX::CLX-PORT> :SERVER-PATH (:CLX :HOST "" :DISPLAY-ID 0 :SCREEN-ID ...)) 10: (#<CCL::STANDARD-KERNEL-METHOD MAKE-INSTANCE (SYMBOL)> CLIM-CLX::CLX-PORT :SERVER-PATH (:CLX :HOST "" :DISPLAY-ID 0 :SCREEN-ID ...)) 11: (CLIM:FIND-PORT :SERVER-PATH (:CLX :HOST "" :DISPLAY-ID 0
:SCREEN-ID
...)) 12: (CLIM:FIND-FRAME-MANAGER) 13: (#<STANDARD-METHOD CLIM:RUN-FRAME-TOP-LEVEL :AROUND (CLIM:APPLICATION-FRAME)> #COM.SYMSIM.OSS.QL-GUI::QUICKLISP-GUI #x3020054ECB5D) 14: (CCL::%%STANDARD-COMBINED-METHOD-DCODE (#<STANDARD-METHOD CLIM:RUN-FRAME-TOP-LEVEL :AROUND (CLIM:APPLICATION-FRAME)> #<STANDARD-METHOD CLIM:RUN-FRAME-TOP-LEVEL (CLIM:APPLICATION-FRAME)>) 1752939332740.. 15: (NIL #<Unknown Arguments>) 16: (CCL::CALL-CHECK-REGS COM.SYMSIM.OSS.QL-GUI:RUN) 17: (CCL::CHEAP-EVAL (COM.SYMSIM.OSS.QL-GUI:RUN)) 18: ((:INTERNAL SWANK:INTERACTIVE-EVAL)) 19: (SWANK::CALL-WITH-RETRY-RESTART "Retry SLIME interactive
evaluation
request." #<COMPILED-LEXICAL-CLOSURE (:INTERNAL SWANK:INTERACTIVE-EVAL) #x3020054ECD7F>) 20: (SWANK::CALL-WITH-BUFFER-SYNTAX NIL #<COMPILED-LEXICAL-CLOSURE (:INTERNAL SWANK:INTERACTIVE-EVAL) #x3020054ECDBF>) 21: (CCL::CALL-CHECK-REGS SWANK:INTERACTIVE-EVAL "(com.symsim.oss.ql-gui:run)") 22: (CCL::CHEAP-EVAL (SWANK:INTERACTIVE-EVAL "(com.symsim.oss.ql-gui:run)")) 23: (SWANK:EVAL-FOR-EMACS (SWANK:INTERACTIVE-EVAL "(com.symsim.oss.ql-gui:run)") "COMMON-LISP-USER" 20) 24: ((:INTERNAL SWANK::SPAWN-WORKER-THREAD)) 25: (SWANK/BACKEND:CALL-WITH-DEBUGGER-HOOK #<Compiled-function SWANK:SWANK-DEBUGGER-HOOK #x302001C92B5F> #<Compiled-function (:INTERNAL SWANK::SPAWN-WORKER-THREAD) (Non-Global) #x302001C5A87F>) 26: (SWANK::CALL-WITH-BINDINGS ((*STANDARD-INPUT* . #<SWANK/GRAY::SLIME-INPUT-STREAM #x3020008EE61D>) (*STANDARD-OUTPUT* . #<SWANK/GRAY::SLIME-OUTPUT-STREAM #x3020008EE53D>) ..))) #<COMPILED-LEXICAL-CLOSU.. 27: ((:INTERNAL SWANK::SPAWN-WORKER-THREAD)) 28: (CCL::RUN-PROCESS-INITIAL-FORM #<PROCESS worker(40) [Active] #x3020054E2FCD> (#<COMPILED-LEXICAL-CLOSURE (:INTERNAL CCL::%PROCESS-RUN-FUNCTION) #x3020054E2D5F>)) 29: ((:INTERNAL (CCL::%PROCESS-PRESET-INTERNAL (PROCESS))) #<PROCESS worker(40) [Active] #x3020054E2FCD> (#<COMPILED-LEXICAL-CLOSURE
(:INTERNAL
CCL::%PROCESS-RUN-FUNCTION) #x3020054E2D5F>)) 30: ((:INTERNAL CCL::THREAD-MAKE-STARTUP-FUNCTION))