code-iai / ros_emacs_utils

Emacs tools for ROS
17 stars 19 forks source link

slime error #26

Closed Islam0mar closed 5 years ago

Islam0mar commented 6 years ago

When I try slimeor roslisp_replI got the following error:

#<CL-SOURCE-FILE "swank-presentations" "contrib/swank-presentations">
   [Condition of type UIOP/LISP-BUILD:COMPILE-FILE-ERROR]

Restarts: 0: [RETRY] Retry compiling #<CL-SOURCE-FILE "swank-presentations" "contrib/swank-presentations">. 1: [ACCEPT] Continue, treating compiling #<CL-SOURCE-FILE "swank-presentations" "contrib/swank-presentations"> 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: (UIOP/LISP-BUILD:CHECK-LISP-COMPILE-RESULTS NIL T T "~/asdf-action::format-action/" ((#<ASDF/LISP-ACTION:COMPILE-OP > . #<ASDF/LISP-ACTION:CL-SOURCE-FILE "swank-presentations" "contrib/swank-presentat.. 1: ((SB-PCL::EMF ASDF/ACTION:PERFORM) # # #<ASDF/LISP-ACTION:COMPILE-OP > #<ASDF/LISP-ACTION:CL-SOURCE-FILE "swank-presentations" "contrib/swank-presentations">) 2: ((LAMBDA NIL :IN ASDF/ACTION:CALL-WHILE-VISITING-ACTION)) 3: ((:METHOD ASDF/ACTION:PERFORM-WITH-RESTARTS :AROUND (T T)) #<ASDF/LISP-ACTION:COMPILE-OP > #<ASDF/LISP-ACTION:CL-SOURCE-FILE "swank-presentations" "contrib/swank-presentations">) [fast-method] 4: ((:METHOD ASDF/PLAN:PERFORM-PLAN (T)) #<ASDF/PLAN:SEQUENTIAL-PLAN {10019098E3}>) [fast-method] 5: ((FLET SB-C::WITH-IT :IN SB-C::%WITH-COMPILATION-UNIT)) 6: ((:METHOD ASDF/PLAN:PERFORM-PLAN :AROUND (T)) #<ASDF/PLAN:SEQUENTIAL-PLAN {10019098E3}>) [fast-method] 7: ((:METHOD ASDF/OPERATE:OPERATE (ASDF/OPERATION:OPERATION ASDF/COMPONENT:COMPONENT)) #<ASDF/LISP-ACTION:LOAD-OP > #<ASDF/SYSTEM:SYSTEM "swank-presentations"> :PLAN-CLASS NIL :PLAN-OPTIONS NIL) [fast-me.. 8: ((SB-PCL::EMF ASDF/OPERATE:OPERATE) # # #<ASDF/LISP-ACTION:LOAD-OP > #<ASDF/SYSTEM:SYSTEM "swank-presentations">) 9: ((LAMBDA NIL :IN ASDF/OPERATE:OPERATE)) 10: ((:METHOD ASDF/OPERATE:OPERATE :AROUND (T T)) #<ASDF/LISP-ACTION:LOAD-OP > #<ASDF/SYSTEM:SYSTEM "swank-presentations">) [fast-method] 11: ((SB-PCL::EMF ASDF/OPERATE:OPERATE) # # ASDF/LISP-ACTION:LOAD-OP "swank-presentations") 12: ((LAMBDA NIL :IN ASDF/OPERATE:OPERATE)) 13: ((:METHOD ASDF/OPERATE:OPERATE :AROUND (T T)) ASDF/LISP-ACTION:LOAD-OP "swank-presentations") [fast-method] 14: (ASDF/SESSION:CALL-WITH-ASDF-SESSION #<CLOSURE (LAMBDA NIL :IN ASDF/OPERATE:OPERATE) {1004D7115B}> :OVERRIDE T :KEY NIL :OVERRIDE-CACHE T :OVERRIDE-FORCING NIL) 15: ((LAMBDA NIL :IN ASDF/OPERATE:OPERATE)) 16: (ASDF/SESSION:CALL-WITH-ASDF-SESSION #<CLOSURE (LAMBDA NIL :IN ASDF/OPERATE:OPERATE) {1004D5F8FB}> :OVERRIDE NIL :KEY NIL :OVERRIDE-CACHE NIL :OVERRIDE-FORCING NIL) 17: ((:METHOD ASDF/OPERATE:OPERATE :AROUND (T T)) ASDF/LISP-ACTION:LOAD-OP "swank-presentations") [fast-method] 18: (ASDF/OPERATE:LOAD-SYSTEM "swank-presentations")

I am using: ros-melodic. tried cloning this repo. and AURros-melodic-ros-emacs-utils. Both gave me the same error.

I have deleted slime package from emacs and quicklisp.

thanks in advance.

gaya- commented 6 years ago

Hmm, I have tested rosemacs and roslisp_repl on melodic before in a virtual machine and it worked fine. I'll test it again, thanks.

Islam0mar commented 6 years ago

I have reinstalled melodic again with no luck.

I am using SBCL 1.4.8

gaya- commented 5 years ago

Hi, I retested it. It is indeed broken. I only made sure that rosemacs is still working, but roslisp_repl is broken, just as roslisp itself. There have been major changes in SBCL 1.4 since 1.3 and it will take some effort to update the whole ROS Lisp and the REPL... I'm afraid that won't happen very soon. I would suggest that you stick to 16.04 and kinetic for now... The earliest I will have time to look into this is September, after the ICRA deadline... Sorry about that.

gaya- commented 5 years ago

I mean, I can fix the roslisp_repl quickly maybe, but what is the use of it if ROSLisp itself is broken... Maybe somebody else can look into this in the meanwhile, I don't know.

gaya- commented 5 years ago

@CatchMeFastFat btw, you can always use an older version of the SBCL compiler, you can easily install it on your 18.04 and things should work. I known that roslisp and roslisp_repl definitely work with Version 3.1.3 on Ubuntu 14.04 and Ubuntu 16.04. Installation is very easy: you download the archive, extract it and execute the setup script.

gaya- commented 5 years ago

Solved in https://github.com/code-iai/ros_emacs_utils/commit/e934a9655177d8fc4bc782ea4ebef555e5486500