Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Applications > Anti-Stuffit-How to Get Rid of It, and How to Unarchive Downloads Afteward

Anti-Stuffit-How to Get Rid of It, and How to Unarchive Downloads Afteward
Thread Tools
Administrator
Join Date: Apr 2001
Location: San Antonio TX USA
Status: Offline
Reply With Quote
Oct 28, 2006, 03:48 PM
 
My school's web site provides a link to a plug in for Word that handles citations in papers. All well and good, except it's in a filename.dmg.hqx format. I tried opening the file but nothing happened. So I remembered "hey, that's something Stuffit does, so I'll look at that!" Bad idea, but I know that too late.

So I downloaded the free expander-version 11-and installed it, but Stuffit won't expand this file; it just sits there with the "Preparing" notice over the progress bar. Forget this! I uninstalled Stuffit with a flick into the Trash. Now, when I try to open a REdownloaded version of the Word plugin, OS X gives me an error "The operation could not be completed. An unexpected error occurred (error code 10660)."

Now what? How do I get rid of the references to Stuffit, and how do I validate that the download is not corrupt and should work?
Glenn -----
OTR/L, MOT, Tx
     
Grizzled Veteran
Join Date: Nov 2002
Location: Singapore
Status: Offline
Reply With Quote
Oct 28, 2006, 03:57 PM
 
mac.goodies webstore / Switched to an iBook in November 2002. Never looking back.
iBook R.I.P. 20 Nov 2002 - 2 Aug 2005
Hello Leopard! On iMac 17" Intel Core Duo 1.83GHz 2GB, iPod 5th gen 30GB and iPhone
     
Addicted to MacNN
Join Date: Aug 2004
Location: FFM
Status: Offline
Reply With Quote
Oct 28, 2006, 03:59 PM
 
Error -10660 is: kLSAppInTrashErr -10660 The application cannot be run because it is inside a Trash folder.

The obvious fix for this problem would be to empty the trash where Expander currently sits in.

While proprietary formats have their obvious downsides, I find the free StuffIt Expander program to be quite well done and useful. It expands much more formats than just .sit and usually does so well. If it fails there is a good chance the archive is corrupted.

"Unarchiver" is an alternative that was recently mentioned in this forum. You could give it a try. Personally I have not used it.

The Unarchiver
     
Addicted to MacNN
Join Date: Oct 2002
Location: England | San Francisco
Status: Offline
Reply With Quote
Oct 28, 2006, 04:39 PM
 
remove the .hqx extension. (making it just a .dmg)
we don't have time to stop for gas
     
Addicted to MacNN
Join Date: Jul 2005
Location: Cooperstown '09
Status: Offline
Reply With Quote
Oct 28, 2006, 05:34 PM
 
Another vote for "The Unarchiver"...it's great.
     
Administrator
Join Date: Apr 2001
Location: San Antonio TX USA
Status: Offline
Reply With Quote
Oct 28, 2006, 05:51 PM
 
Originally Posted by Peter View Post
remove the .hqx extension. (making it just a .dmg)
That didn't work-it must really be a compressed image after all. And removing the ".hqx" extension changed the attributes to ".dmg" permanently-at least as far as I'm concerned. I'm going to download the plug in again, and look into Unarchiver.

Thanks for all the help, folks. I had trashed the first install of Stuffit because I planned to reinstall and wanted to not install over what might have been a corrupt copy. Somehow OS X decided that the trashed version was the one to use, who knows how or why.

Update: it turns out that the downloaded plugin was corrupt-the checksum didn't check. The Unarchiver did the trick in handling this nice and smooth; unlike Stuffit which choked and froze. Thanks for the advice folks!
(Last edited by ghporter; Oct 28, 2006 at 06:01 PM. )
Glenn -----
OTR/L, MOT, Tx
     
Addicted to MacNN
Join Date: Oct 2002
Location: England | San Francisco
Status: Offline
Reply With Quote
Oct 28, 2006, 06:41 PM
 
Safari has a bug where it appends .hqx to all downloaded .dmg files.
How confusing!
we don't have time to stop for gas
     
Professional Poster
Join Date: Sep 2002
Location: New York, NY
Status: Offline
Reply With Quote
Oct 28, 2006, 08:06 PM
 
Originally Posted by Peter View Post
Safari has a bug where it appends .hqx to all downloaded .dmg files.
How confusing!
I've never seen that.
Vandelay Industries
     
P
Moderator
Join Date: Apr 2000
Location: Gothenburg, Sweden
Status: Offline
Reply With Quote
Oct 29, 2006, 07:58 AM
 
.hqx means that it is in Binhex 4.0 format. It is a format that will hide all of the Mac data - datafork, resource fork and attributes - in a file that is safe over 7-bit connections. It's like Macbinary or AppleSingle + the base64 encoding from MIME. Binhex was standard for Mac files until the late nineties, by which time almost noone had a connection that relied on files being 7-bit safe. If you don't need the 7-bittiness, you can use .sit or .dmg or whetever - they will all protect resource forks and attributes.

Anyway. Either the .dmg is really encoded with Binhex, in which case you should be able to open it with Stuffit, or the MIME settings on the University server are messed up and Safari is doing the right thing by adding the .hqx extension to them. You can check this for yourself: Open the file in Textedit or BBEdit or whatever. On all Binhex files, the first line tells you that it has been encoded, and then the encoded file begins. If all you see is binary garbage, it's not encoded and the extension was added in error.

If the settings are messed up and the extensions shoudln't be there, Get Info for the file and change the name in the "Name and extension" box. Once that's done, it should open in Disk Utility or whatever.

If the file is really Binhex encoded, then Stuffit should open it. If that won't work, try Openup:

Stepwise

if it still works, it's old by now. There are also about a million UNIX utilities that will open it, and even more in Classic Mac OS - including the original Binhex 4.0. Try these and let me know if it won't work - I have a stash of old decoders, I can probably open the thing for you.
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 12:43 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2