Does anyone know what an error 35 is when opening a file? Got this from a customer at the following code:
try
if theTrash <> nil and theTrash.exists then
theTrash = theTrash.child("Trash")
if theTrash <> nil then TrashBinary = BinaryStream.Open(theTrash, true)
end if
catch err as IOException
globals.theErrorLog.LogItem CurrentMethodName + " error open trash: " + theTrash.NativePath
Globals.theErrorLog.DialogErrorProceed "It wasn't possible to open the Trash mailbox! Error: " + Str(err.ErrorNumber) + " " + err.Message
end try
The result was: MoveToTrashMozilla.doDate error open mailbox: /Users/thomas/Library/Thunderbird/Profiles/lj7vb57e.default/Mail/Local Folders/Trash
2015-05-27, 16:35:17 Dialog: It wasn’t possible to open the mailbox “Trash”! Error: 35
Can’t seem to find anything helpful in the Google. Mac OS 10.10.3, Xojo 2014r2.
How about let s = NSString(CString: strerror(35), encoding: 0) --> “Resource temporarily unavailable”
Sorry for Swift, but it was so handy calling it in a Playground…
@Thomas: I’m making sure that Thunderbird is quit before I mess around with it’s files. If Thunderbird was running the error message should be “file in use”, shouldn’t it?