Closed ClintLiddick closed 9 years ago
Hi, this happens because you still have the slime from quicklisp, and it loads slime from slime_ros and swank from quicklisp. The only solution currently is to uninstall all other slimes except slime_ros. It's a bug and I haven't had time to fix it yet, unfortunately...
Hi, thanks for the quick response!
I deleted my ~/quicklisp
folder, removed the relevant lines from my .emacs
and .sbclrc
, and deleted the .cache/common-lisp
folder entirely but I still get the same error. How else can I make sure there is only one version of slime/swank to load?
Can it be that you installed a slime Debian? You can try sudo apt-get purge slime
.
Sorry, nothing for either slime or swank.
The installation doc says:
Then you need to run
$ rosrun slime_ros slime_ros_init
which will create .sbclrc-ros in your home directory and add an entry into your.sbclrc
to load.sbclrc-ros
.
Can it be that the entry was not added to your .sbclrc
? It will look something like:
;;; AUTOGENERATED PART. PLEASE DO NOT DELETE THIS AND THE FOLLOWING 2 LINES
;;; ###sbclrc-ros### SLIME ROS RELATED STUFF
(load (merge-pathnames (make-pathname :name ".sbclrc-ros") (user-homedir-pathname)))
Yes, I did run the command have the above in my .sbclrc
, along with an unmodified .sbclrc-ros
beside it.
Oh, this is not a slime/swank version problem. It's just that our slime
version is outdated and only works with SBCL 1.1 and you have 1.2. I will fix this issue a bit later today.
This whole setup with a custom slime_wrapper
is a bit ugly but it was the best I could think of. The problem is that we use functionality from a branch of slime
that still hasn't been merged into the master...
Ah I see. Awesome, I look forward to the fix then. I'm excited to play around with ROS via CL. Yeah, I can't think of a better way to use non-mainline code, especially for such a "major" package.
I couldn't update the whole slime to a newer version because there were way too many conflicts but I did get the commit that fixes your problem: https://github.com/code-iai/ros_emacs_utils/commit/bec9741db6734d64dc3b7b690829eee61aacb34b Please check if this helps. I will look into resolving the conflicts when I'm back from vacation in two weeks.
Hey great, I can load slime_ros! Thanks for the quick fix. Enjoy your vacation and no worries!
-- Clint
I'm trying to get slime_ros setup (I previously used slime from quicklisp-silme-helper), but when starting slime I get the error below. The relevant bit from my
.emacs
is below, and I've runrosrun slime_ros slime_ros_init
. I believe the lineindicates that there is a version mismatch between slime and swank. When I tried to run slime without running
slime_ros_init
I got an explicit warning/error from emacs that "versions differ" between slime (2014-99-99) and swank (2015-06-01). I have noslime.elc
files lying around.I am building slime_ros and slime_wrapper from source using
Do you have any ideas what this could be?