Wrong error with the first mail.
Forgot to delete the file created.
True message(file does not exist now):
couldn't remove "c:\\Coding\\Lisp\\OpenGL\
\Tests\\test.txt": Permission denied
   [Condition of type SB-INT:SIMPLE-FILE-ERROR]

Restarts:
  0: [ABORT-REQUEST] Abort handling SLIME request.
  1: [ABORT] Exit debugger, returning to top level.

Backtrace:
  0: (SB-IMPL::FD-STREAM-MISC-ROUTINE #<SB-SYS:FD-STREAM for "file c:\\Coding\\Lisp\\OpenGL\\Tests\\test.txt" {AF64D41}> :CLOSE T #<unused argument>)
  1: (NIL #<unavailable argument> #<unavailable argument> #<SB-SYS:FD-STREAM for "file c:\\Coding\\Lisp\\OpenGL\\Tests\\test.txt" {AF64D41}>)
  2: (SB-INT:SIMPLE-EVAL-IN-LEXENV (CLOSE (OPEN " test.txt" :DIRECTION :OUTPUT) :ABORT T) #<NULL-LEXENV>)
  3: (SWANK::EVAL-REGION "(close (open \"test.txt\" :direction :output) :abort t)
" T)
  4: ((LAMBDA NIL))
  5: ((SB-PCL::FAST-METHOD SWANK-BACKEND:CALL-WITH-SYNTAX-HOOKS (T)) #<unused argument> #<unused argument> #<CLOSURE (LAMBDA NIL) {AF5C5E5}>)
  6: (SWANK::CALL-WITH-BUFFER-SYNTAX #<CLOSURE (LAMBDA NIL) {AF5C5E5}>)
  7: (SB-INT:SIMPLE-EVAL-IN-LEXENV (SWANK:LISTENER-EVAL "(close (open \"test.txt\" :direction :output) :abort t)
") #<NULL-LEXENV>)
  8: ((LAMBDA NIL))
  9: ((SB-PCL::FAST-METHOD SWANK-BACKEND:CALL-WITH-DEBUGGER-HOOK (T T)) #<unused argument> #<unused argument> #<FUNCTION SWANK:SWANK-DEBUGGER-HOOK> #<CLOSURE (LAMBDA NIL) {AF5BA1D}>)
 10: ((LAMBDA NIL))
 11: ((SB-PCL::FAST-METHOD SWANK-BACKEND:CALL-WITH-DEBUGGER-HOOK (T T)) #<unused argument> #<unused argument> #<FUNCTION SWANK:SWANK-DEBUGGER-HOOK> #<FUNCTION (LAMBDA NIL) {A873E95}>)
 12: (SWANK::CALL-WITH-REDIRECTED-IO #<SWANK::CONNECTION {AD18339}> #<CLOSURE (LAMBDA NIL) {AF58ED5}>)
 13: (SWANK::CALL-WITH-CONNECTION #<SWANK::CONNECTION {AD18339}> #<FUNCTION (LAMBDA NIL) {A873E95}>)
 14: (SWANK::HANDLE-REQUEST #<SWANK::CONNECTION {AD18339}>)
 15: (SWANK::SIMPLE-SERVE-REQUESTS #<SWANK::CONNECTION {AD18339}>)
 16: (SWANK::SERVE-CONNECTION #<SB-BSD-SOCKETS:INET-SOCKET descriptor -1 {AB72689}> NIL NIL :ISO-LATIN-1-UNIX)
 17: (SWANK::SETUP-SERVER 0 #<CLOSURE (LAMBDA (SWANK::PORT)) {AAF9C15}> NIL NIL :ISO-LATIN-1-UNIX)
 18: (NIL "c:/DOCUME~1/dena/LOCALS~1/Temp/slime.3840")
 19: (SB-INT:SIMPLE-EVAL-IN-LEXENV (SWANK:START-SERVER "c:/DOCUME~1/dena/LOCALS~1/Temp/slime.3840" :EXTERNAL-FORMAT :ISO-LATIN-1-UNIX) #<NULL-LEXENV>)
 20: (INTERACTIVE-EVAL (SWANK:START-SERVER "c:/DOCUME~1/dena/LOCALS~1/Temp/slime.3840" :EXTERNAL-FORMAT :ISO-LATIN-1-UNIX))
 21: (SB-IMPL::REPL-FUN NIL)
 22: (SB-IMPL::REPL-FUN NIL)
 23: ((LAMBDA NIL))
 24: ((LAMBDA NIL))
 25: (SB-IMPL::%WITH-REBOUND-IO-SYNTAX #<CLOSURE (LAMBDA NIL) {ABD80A5}>)
 26: (SB-IMPL::TOPLEVEL-REPL NIL)
 27: (SB-IMPL::TOPLEVEL-INIT)
 28: ((LABELS SB-IMPL::RESTART-LISP))
 29: ("foreign function: #x412FCA")
 30: ("foreign function: #x40BD7A")


On 4/29/07, Nathan Froyd < froydnj@gmail.com> wrote:
On 4/28/07, Denatus < denatus@gmail.com> wrote:
> Bug found while I tryed to compile some of my code that might contain some
> errors, it gave the same error on my fasl file.
> Lichtblau said that it may be caused by sbcl because that sbcl try's to
> delete the fasl file since the code yielded some sort of error.
>
> After running this form, I may add that the test.txt does not exsist:
>  (close (open "test.txt" :direction :output) :abort t)

Does test.txt exist before you try to execute this form?  If so, the
resulting error:

> SBCL gives me this error:
> error opening
> #P"c:\\Coding\\Lisp\\OpenGL\\Tests\\test.txt": File exists
>    [Condition of type SB-INT:SIMPLE-FILE-ERROR]

is because you didn't specify :IF-EXISTS :SUPERSEDE in the call to OPEN.

-Nathan



--
_________________
Kjeld K. B. Massali
denatus@gmail.com
------------------------------