[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: write-region fails with some filenames

From: Dominique de Waleffe
Subject: Re: write-region fails with some filenames
Date: Wed, 12 Dec 2001 14:42:37 +0100

  >>> "Eli" == Eli Zaretskii <address@hidden> writes:

>> From: address@hidden (Dominique de Waleffe)
>> Date: Mon, 10 Dec 2001 11:08:39 +0100
>> Trying to save or view a Mime attachment from VM I got the following
>> backtrace:
>> Signaling: (file-error "Opening output file" "invalid argument" 
>> "c:/users/ddw/projects/portima/admin/Work2001-11.3,4.xls")
>> write-region(1 23553 
>> "c:/users/ddw/projects/portima/admin/Work2001-11.3,4.xls" nil nil)
>> vm-mime-send-body-to-file(#<overlay from 1460 to 1534 in miscrit-mvb 
>> Presentation>)
>> vm-mime-run-display-function-at-point(vm-mime-send-body-to-file)
>> vm-mime-reader-map-save-file()
>> call-interactively(vm-mime-reader-map-save-file)
>> I believe the comma triggers the problem in write-region.

Eli> Why do you think the comma is the culprit? 

Cause, if I simply edit the message and replace the comma with a dash
in the mime attributes, it works like a charm.... 

Which of course makes me realize the problem is not in the name..... I had
an excel session open on that file (but it was hidden in one of my
virtual screens.....), so changing the name removed the lock conflict.

So this is not really a bug. However, the error message "invalid
argument" is misleading. Since what really happens is that a lock is
taken by excel and not a problem with the given file argument. Isn't
there a more precise error report available, like "file being locked
by other application"? 

Thanks anyway.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]