Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

File corruption that isn't?



Hi,

I have an Xserve running 10.4.7 with a software RAID across two 40 GB drives. The RAID is configured as mirrored and was set up using Disk Utility.

On the RAID are our electrical schematics for our custom circuit boards, which were created using DesignWorks.  This is an application that has had the minimal amount of work done to it to make it run on OS X, since it was created back in the System 7 days (I think).

I went to open the schematics today, only to find their icons were gone, replaced by the generic blank document icons.  When I double click a schematic, I get the dialog asking me to choose an application to open it.  I navigate to DesignWorks, but it is grayed out.  I then change the constraint from Recommended Applications to All Applications from the popup menu and can select DeisgnWorks.

Then a new dialog appears that says:

An error occurred while changing the application that opens "schematic" because not enough information is available.

Do you want to open "schematic" with "DesignWorks"?

I click Update (as opposed to Cancel or Don't Update).

DesignWorks opens and then beeps.  The file does not open.

I do have an exact copy of this file that was archived  long ago with Stuffit, sitting on this same RAID.  I unarchived it and saw the icon is there.  I can double click it and open the file.

The mystery in this is that the sizes of these two files are identical when I do ls -l, but the Finder is reporting the failed file is 4 kB larger than the working one.

Also, using diff on the two files shows no difference.  To beat a dead horse deader, I did xxd on the files and compared the hex dumps of each. They, too, are identical.

If I copy both files from the Xserve to my desktop, the problem follows the file.  The previously archived one comes across with the icon and can be opened. The failed one comes without and icon and cannot be opened.

So, why can't DesignWorks open the failed file, when it is identical (from all measurements I can make) to the archived version?  And why is the Finder reporting a difference in size when the shell is not?  Is there a .DS_Store file or something like that I can delete to fix this?  

Is the file really corrupt?  I don't believe it is.  Ideas?

David

------------------------------------------------------------------------
David Knuth
Intellibot® Robotics, LLC
12820 West Creek Parkway, Suite B, Richmond, VA 23238
(804) 784-9888 x228 office, x223 lab
(804) 301-2566 cell


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Macos-x-server mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/macos-x-server/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.