You are not logged in.

#1 2011-09-04 08:59:35

SternGerlachExperiment
Member
Registered: 2009-10-11
Posts: 51

Corrupted files or something else?

I have an external USB hard drive, on which I've stored personal documents and photos.

I have a problem opening the photo files. All of them are readable to everyone. However, for example Ristretto can't open the files using menu in the program. When I open a directory on the drive, all the photos in that directory are greyed out and I can't select any of them. Ristretto does open the file if opened from the terminal.

Firefox also opens the files, but half of them don't look normal. About a third of the picture is ok (beginning from the top), but everything below that looks corrupted. They're either black or grey or just random lines.

Gimp seems to have no problem.

Could this mean there are problem with the files or are my programs just picky?

I've been using rsync to transfer the files. Could that have hurt file metadata or something?

Offline

#2 2011-09-04 11:40:48

tlvb
Member
From: Sweden
Registered: 2008-10-06
Posts: 297
Website

Re: Corrupted files or something else?

I had the same problem some yeaprs ago, never managed to work out the cause, but as the errors depended on which viewer I used and my at the time lesser computer skills I let it be.

Now my guess would be a glitchy connection, either between the hedd and the ide/sata-USB board or the board itself. . . Well that is just a hunch, but I would if possible disassemble the external drive and put the hdd in a tower computer to see if that fixes things.

Rsync should not hurt the metadata afaicg.


I need a sorted list of all random numbers, so that I can retrieve a suitable one later with a binary search instead of having to iterate through the generation process every time.

Offline

#3 2011-09-04 16:03:14

ralvez
Member
From: Canada
Registered: 2005-12-06
Posts: 1,730
Website

Re: Corrupted files or something else?

If you can open files from the terminal I would suspect that the problem is not hardware related, since a hardware problem would be the same regardless of your interface.
On that note, however, I would also transfer the files using the terminal somewhere else; that way if something goes wrong while you are investigating the problem you do not lose your data.
Hope this helps.

R.

Offline

#4 2011-09-05 20:24:37

SternGerlachExperiment
Member
Registered: 2009-10-11
Posts: 51

Re: Corrupted files or something else?

Thanks for your help.

I copied one of the images on the external drive to my PC. I made it readable and writable for everyone, but Ristretto still can't open it via the file menu. In the terminal it works. I installed Mirage and tested with it too, and it works normally. All the files on the external drive can be opened and they look normal.

I wonder if the images have some non-standard data that Firefox and Ristretto don't understand, but Gimp and Mirage do. They're supposed to be normal JPGs, though.

Offline

#5 2011-09-05 21:35:52

ralvez
Member
From: Canada
Registered: 2005-12-06
Posts: 1,730
Website

Re: Corrupted files or something else?

Can you upload one (or a couple of the images) to a web server so we can try to open them?
If we succeed, then there is something  with your computer and the files are OK. If we have similar issues there may be something particular about those jpg files.

That's all I can think at the moment. smile

R.

Offline

#6 2011-09-07 20:50:21

SternGerlachExperiment
Member
Registered: 2009-10-11
Posts: 51

Re: Corrupted files or something else?

Thanks for the idea.

Actually, I had the opportunity to try this on my friends PC. He has a quite similar setup, and all the images were fine. Ristretto was able to open the files. Also, the images that seemed to be corrupted when opened on my PC using Firefox, seemed OK and normal when opened with Firefox on his computer.

Weird thing. I guess I'll have to see if there really is something wrong with that USB port.

Offline

#7 2011-09-07 21:08:59

sandstorm
Member
From: Zurich [CH] & Mannheim [DE]
Registered: 2005-08-13
Posts: 171

Re: Corrupted files or something else?

Did you play with chmod?

Offline

#8 2011-09-08 00:04:19

SternGerlachExperiment
Member
Registered: 2009-10-11
Posts: 51

Re: Corrupted files or something else?

Well I tried "$chmod a+rw image.jpg", but that didn't help.

Offline

Board footer

Powered by FluxBB