b5241

Q: Can't delete word document in trash

I downloaded a document from google drive onto my computer in word document form, and then moved it to the trash when I was done with it. Now, when I try to empty the trash, it just says "The operation can’t be completed because the item “xyz.docx” is in use.". How do you get around this and delete the document?

 

(MacBook Pro with Retina Display, OS X version 10.9.5)

MacBook Pro with Retina display, OS X Mavericks (10.9.5)

Posted on Sep 27, 2014 7:20 PM

Close

Q: Can't delete word document in trash

  • All replies
  • Helpful answers

Page 1 Next
  • by Linc Davis,

    Linc Davis Linc Davis Sep 27, 2014 8:33 PM in response to b5241
    Level 10 (207,936 points)
    Applications
    Sep 27, 2014 8:33 PM in response to b5241

    Quit the application(s) in which you opened the document, which may be Google Drive itself. Otherwise, log out or restart the computer.

  • by b5241,

    b5241 b5241 Sep 28, 2014 5:15 AM in response to Linc Davis
    Level 1 (0 points)
    Sep 28, 2014 5:15 AM in response to Linc Davis

    I deleted it on google drive and restarted, but the same error message occurs.

  • by tbirdvet,

    tbirdvet tbirdvet Sep 28, 2014 6:20 AM in response to b5241
    Level 4 (3,003 points)
    Sep 28, 2014 6:20 AM in response to b5241

    Be sure there is not an icon app on your desktop related to the download.  If there is drag to trash then retry to empty trash.

  • by b5241,

    b5241 b5241 Sep 28, 2014 7:26 AM in response to tbirdvet
    Level 1 (0 points)
    Sep 28, 2014 7:26 AM in response to tbirdvet

    There is no icon app on my desktop related to the download.

  • by Linc Davis,

    Linc Davis Linc Davis Sep 28, 2014 8:53 AM in response to b5241
    Level 10 (207,936 points)
    Applications
    Sep 28, 2014 8:53 AM in response to b5241

    Please read this whole message before doing anything.

    The purpose of this procedure is to determine whether the problem is caused by third-party software that loads automatically at startup or login, by a peripheral device, by a font conflict, or by corruption of the file system or of certain system caches.

    Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards, if applicable. Start up in safe mode and log in to the account with the problem. You must hold down the shift key twice: once when you turn on the computer, and again when you log in.

    Note: If FileVault is enabled, or if a firmware password is set, or if the startup volume is a software RAID, you can’t do this. Ask for further instructions.

    Safe mode is much slower to start up and run than normal, with limited graphics performance, and some things won’t work at all, including sound output and Wi-Fi on certain models. The next normal startup may also be somewhat slow.

    The login screen appears even if you usually login automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin.

    Test while in safe mode. Same problem?

    After testing, restart as usual (not in safe mode) and verify that you still have the problem. Post the results of the test.

  • by b5241,

    b5241 b5241 Sep 28, 2014 9:38 AM in response to Linc Davis
    Level 1 (0 points)
    Sep 28, 2014 9:38 AM in response to Linc Davis

    I tried it, and the same exact problem occurred.

  • by Linc Davis,

    Linc Davis Linc Davis Sep 28, 2014 9:54 AM in response to b5241
    Level 10 (207,936 points)
    Applications
    Sep 28, 2014 9:54 AM in response to b5241

    This procedure is a diagnostic test. It makes no changes to your data. The instructions must be carried out as an administrator. If you have only one user account, you are the administrator.

    Please triple-click anywhere in the line below on this page to select it:

    sudo lsof | grep Trash | pbcopy

    Copy the selected text to the Clipboard by pressing the key combination command-C.

    Launch the built-in Terminal application in any of the following ways:

    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)

    ☞ In the Finder, select Go Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.

    ☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid.

    Paste into the Terminal window by pressing the key combination command-V. I've tested these instructions only with the Safari web browser. If you use another browser, you may have to press the return key after pasting. You'll be prompted for your login password. Nothing will be displayed when you type it. Type carefully and then press return. If you don’t have a login password, you’ll need to set one before you can run the command. You may get a one-time warning to be careful. Confirm. You don't need to post the warning.

    If you see a message that your username "is not in the sudoers file," then you're not logged in as an administrator. Log in as one and start over.

    Wait for a new line ending in a dollar sign ($) to appear below what you entered.

    The output of the command will be automatically copied to the Clipboard. If the command produced no output, the Clipboard will be empty. Paste into a reply to this message.

    The Terminal window doesn't show the output. Please don't copy anything from there.

    If any personal information appears in the output, anonymize before posting, but don’t remove the context.

  • by b5241,

    b5241 b5241 Sep 28, 2014 1:22 PM in response to Linc Davis
    Level 1 (0 points)
    Sep 28, 2014 1:22 PM in response to Linc Davis

    Mail      291         (my username)  txt       REG                1,2       9186  180587 /Applications/Mail.app/Contents/Resources/TrashMailboxTemplate.tiff

    Mail      291         (my username)  txt       REG                1,2       9752  180585 /Applications/Mail.app/Contents/Resources/TrashMailboxMediumTemplate.tiff

     

    These were the results (excluding the username).

  • by Linc Davis,

    Linc Davis Linc Davis Sep 28, 2014 3:12 PM in response to b5241
    Level 10 (207,936 points)
    Applications
    Sep 28, 2014 3:12 PM in response to b5241

    Before you moved it to the Trash, was the file in your home folder? When you tested in safe mode, was Google Drive running?

  • by b5241,

    b5241 b5241 Sep 28, 2014 3:41 PM in response to Linc Davis
    Level 1 (0 points)
    Sep 28, 2014 3:41 PM in response to Linc Davis

    Google drive was not running. The file was on my desktop before moving it to the trash.

  • by bodyxs,

    bodyxs bodyxs Sep 28, 2014 4:07 PM in response to b5241
    Level 3 (676 points)
    Sep 28, 2014 4:07 PM in response to b5241

    Did you tried with Clean My Mac? Helped me a lot with bugs with the Trash, mostly fonts not installed, unused docs, etc.

    There's a Trash Cleanup menu, where you can check your HD Trash and clean it, pretty simple. There's a free trial.

     

    Also did you check in Mail app if there's no draft with the doc attached?

  • by b5241,

    b5241 b5241 Sep 28, 2014 4:12 PM in response to bodyxs
    Level 1 (0 points)
    Sep 28, 2014 4:12 PM in response to bodyxs

    Is Clean My Mac reliable? And it is not in mail.

  • by Csound1,

    Csound1 Csound1 Sep 28, 2014 4:20 PM in response to b5241
    Level 9 (50,302 points)
    Desktops
    Sep 28, 2014 4:20 PM in response to b5241

    b5241 wrote:

     

    Is Clean My Mac reliable?

    No.

  • by Linc Davis,

    Linc Davis Linc Davis Sep 28, 2014 4:48 PM in response to b5241
    Level 10 (207,936 points)
    Applications
    Sep 28, 2014 4:48 PM in response to b5241

    Absolutely do not install "CleanMyMac." It's a scam.

    Please run the following command in the same way as before and post the output:

    ls -@Oaen .T* | pbcopy
Page 1 Next