[Bese-devel] Development/Production Environment

Daniel Salama lists at infoway.net
Wed Aug 2 21:55:54 UTC 2006


Thanks for the prompt response. Your suggestion solved the problem  
along with a small typo I was making. When loading a file in Emacs, I  
was loading /ssh:dsalama at host:... and I was not supposed to type the  
ssh: prefix. So by just typing /dsalama at host:..., loading and saving  
remote files works just fine.

Now, onto the next problem with Slime. I can't C-c C-k. Whenever I do  
that, the lisp debugger comes up saying that I'm trying to load an  
invalid file:

The file "/scpx:dsalama at sun.user.net:/home/dsalama/dev/lisp/ucw- 
boxset/ucw-boxset/ucw_dev/examples/hello.lisp" does not exist.
    [Condition of type SB-INT:SIMPLE-FILE-ERROR]

Restarts:
   0: [ABORT] Abort SLIME compilation.
   1: [ABORT-REQUEST] Abort handling SLIME request.
   2: [TERMINATE-THREAD] Terminate this thread (#<THREAD  
"worker" {AD73EE9}>)

Backtrace:
   0: (TRUENAME #P"/scpx:dsalama at host.com:/home/dsalama/dev/lisp/ucw- 
boxset/ucw-boxset/ucw_dev/examples/hello.lisp")
   1: ((FLET SB-C::TRY-WITH-TYPE) #P"/scpx:dsalama at host.com:/home/ 
dsalama/dev/lisp/ucw-boxset/ucw-boxset/ucw_dev/examples/hello.lisp"  
"lisp" T)
   2: (SB-C::VERIFY-SOURCE-FILE "/scpx:dsalama at host.com:/home/dsalama/ 
dev/lisp/ucw-boxset/ucw-boxset/ucw_dev/examples/hello.lisp")
   3: (COMPILE-FILE "/scpx:dsalama at host.com:/home/dsalama/dev/lisp/ 
ucw-boxset/ucw-boxset/ucw_dev/examples/hello.lisp")
   4: ((LAMBDA NIL))
   5: ((SB-PCL::FAST-METHOD SWANK-BACKEND:CALL-WITH-COMPILATION-HOOKS  
(T)) #<unused argument> #<unused argument> #<CLOSURE (LAMBDA NIL)  
{AD7489D}>)
   6: ((SB-PCL::FAST-METHOD SWANK-BACKEND:SWANK-COMPILE-FILE (T T))  
#<unused argument> #<unused argument> "/scpx:dsalama at host.com:/home/ 
dsalama/dev/lisp/ucw-boxset/ucw-boxset/ucw_dev/examples/hello.lisp" T  
(NIL))

At the end of my .emacs file, I have something similar to what I was  
able to copy from Marco's video:

(setf slime-translate-to-lisp-filename-function
       (lambda (file-name)
         (subseq file-name (length "/scpx:dsalama at host.com:")))
       slime-translate-from-lisp-filename-function
       (lambda (file-name)
         (concat "/scpx:dsalama at host.com:" file-name)))

Am I missing something?

Thanks,
Daniel

On Aug 2, 2006, at 4:25 PM, Vladimir Sekissov wrote:

> Good day,
>
> lists> Error: File error: Encoding remote file failed
> lists> vc-file-clearprops: Wrong type argument: stringp, nil
> lists>
> lists> I still don't know what that means. Looking around, I think  
> it has to
> lists> do with mimencode/uuencode. I don't have those tools on the  
> remote
> lists> system (Fedora FC4). So, I read that by issuing (setq tramp- 
> default-
> lists> method "scp") in my emacs profile should fix it, but that  
> didn't. I
> lists> also loaded Perl MIME::Tools, which have those libraries,  
> but that
> lists> didn't work either.
>
> Try Tramp's "scpx" method and turn tramp-debug-buffer to t. May be
> Tramp debug output give you some ideas.
>
> Best Regards,
> Vladimir Sekissov




More information about the bese-devel mailing list