Post Reply 

Error Message: No such file or directory

Jul 2, 2014, 18:03
Post: #1
Error Message: No such file or directory
Hi all, I'm trying to open a psd file from a cover designer, and it won't open. I keep getting the error message "Error loading PSD file: No such file or directory" I can see the path, and so far as I can tell, I do in fact have that file where it says it should be, which is on the desktop.

Previous psd's from this same designer, just 2 days earlier, open fine.

Any tips or troubleshooting much appreciated! Thank-you!

Kris
Find all posts by this user
Quote this message in a reply
Jul 2, 2014, 20:08
Post: #2
RE: Error Message: No such file or directory
(Jul 2, 2014 19:41)ofnuts Wrote:  You are opening it with File>Open? What OS are you using?

Hi ofnuts, thanks for replying. I'm using GIMP 2.8.10 on a Mac 10.8. The other psd opened fine on same everything. Re: how I'm opening it: I'm downloading the psd file (titled 'outside 2.psd') to the desktop. then clicking on the image. It opens GIMP, but then kicks up a small screen that says "Opening '/Users/Desktop/Desktop/outside 2/outside.psd' failed: Error loading PSD file: No such file or directory" (screenshot attached)

thanks for any tips!
Kris


Attached File(s) Thumbnail(s)
   
Find all posts by this user
Quote this message in a reply
Jul 2, 2014, 21:12
Post: #3
RE: Error Message: No such file or directory
If it were me I would re-name the file to remove the space character and try again.

Kevin
Find all posts by this user
Quote this message in a reply
Jul 2, 2014, 22:03
Post: #4
RE: Error Message: No such file or directory
Or perhaps, Start Gimp first then use File->Open.
Find all posts by this user
Quote this message in a reply
Jul 3, 2014, 05:31
Post: #5
RE: Error Message: No such file or directory
(Jul 2, 2014 21:12)paynekj Wrote:  If it were me I would re-name the file to remove the space character and try again.

Kevin

Hi Kevin~ Thanks. I see that space character in the error message, but it's not actually there in the actual file name--the number 2 is right up against the last letter of 'outside'. Which may be the problem. Not that I know how to fix it, b/c I've tried renaming the file. Even changed its extension to .xcf, and no dice, still won't open. Weird. Thanks tho!
Find all posts by this user
Quote this message in a reply
Jul 3, 2014, 05:32
Post: #6
RE: Error Message: No such file or directory
(Jul 2, 2014 22:03)fluffybunny2 Wrote:  Or perhaps, Start Gimp first then use File->Open.

Thanks fluffybunny2~ I hadn't thought of that, so did try it. Didn't work. But thanks for trying.
Find all posts by this user
Quote this message in a reply
Jul 3, 2014, 08:17
Post: #7
RE: Error Message: No such file or directory
Like ofnuts I'm very suspicious of your file name and the path that the GIMP error message displays is strange (Desktop twice??).

Now I don't know MACs at all but if you have another file on the desktop (that opens in GIMP correctly) can you find out what it's path is: eg. /Users/Desktop/Untitled.jpg

Kevin
Find all posts by this user
Quote this message in a reply
Jul 3, 2014, 14:37
Post: #8
RE: Error Message: No such file or directory
(Jul 3, 2014 08:17)paynekj Wrote:  Like ofnuts I'm very suspicious of your file name and the path that the GIMP error message displays is strange (Desktop twice??).

Now I don't know MACs at all but if you have another file on the desktop (that opens in GIMP correctly) can you find out what it's path is: eg. /Users/Desktop/Untitled.jpg

Kevin


I know, Kevin! Seeing desktop twice always freaks me out with GIMP, but that's what it shows when I'm saving a file, too. (attached screenshot of what it looks like when saving a file--2 desktop folders shown) I'm trying to check the path of the other psd that opens fine, but as far as I can tell, it's the same (i.e. 2 desktops). Since that file is opening, tho, I'm not getting the error message that shows me the exact path GIMP's trying to follow.

Thanks so much for trying to help!!! I really want this file--it's a book cover that I need to tweak.


Attached File(s) Thumbnail(s)
   
Find all posts by this user
Quote this message in a reply
Jul 3, 2014, 14:39
Post: #9
RE: Error Message: No such file or directory
(Jul 3, 2014 05:52)ofnuts Wrote:  It looks like there is a control character in the file name. Definitely suspicious... Did you rename the file to something completely different, like "test.psd"?

It does seems weird, doesn't it? Tried renaming as several things, incl changing the extension to .xcf, but nothing's working. Thanks for trying to help.
Find all posts by this user
Quote this message in a reply
Jul 3, 2014, 16:15 (This post was last modified: Jul 3, 2014 16:35 by rich2005.)
Post: #10
RE: Error Message: No such file or directory
You will have to give us non-OSX users a bit more of a clue.

such as: a link to the cover 2.psd file.

then: Why download to the desktop? Does OSX not have a downloads folder?

and: Why try renaming the file to .xcf? That is not going to work.

also: Why use a 'context' double click on the desktop to open? Why not open via the Gimp file menu.

final one: Although earlier .psd files opened, are you sure you got a good download? Why not try downloading again to somewhere other than 'desktop' (see above). Double entries? Is the file an archive perhaps?

** https://www.gimp-forum.net/ now answering questions**
Find all posts by this user
Quote this message in a reply
Jul 14, 2014, 01:35
Post: #11
RE: Error Message: No such file or directory
(Jul 3, 2014 16:05)ofnuts Wrote:  Since you are on OSX:

- Open a "terminal"
- go to your desktop (note the tilde character):
Code:
cd ~/Desktop
- check that the file exists:
Code:
ls -l whateverthenameis.psd
- the first part of the line should read '-rw-r-xr-x', in particular, the first group should be "rw", which indicates you have read and write authorizations on the file. if not, try:
Code:
chmod +rw  whateverthenameis.psd
and see if Gimp can open it.
- otherwise, then:
Code:
ls -l whateverthenameis.psd >filename.txt
- DO NOT EDIT filename.txt. Make a ZIP with it and attach it here.
- You can also try:
Code:
ls  whateverthenameis.psd | wc -c
This will give you the length of the name+1. Count the characters you see and check if you get the same result.


ofnuts~
Many thanks for taking the time to walk me through that! I started in, then got scared, b/c I'm not even sure if I truly understand what some of your instructions mean, even though you were extremely clear. Like when you say that after I open a terminal (which i did by double clicking 'terminal' in utlities) I should go to my desktop...I didn't know if that meant by typing the tilde character plus 'cd ~/Desktop' . I presumed that would be a yes, but then didn't know if I was supposed to hit 'return' before I typed that or just start typing. I didn't want to make things worse than they are, so held off.

Thanks so much, tho. Am tracking down a friend with photoshop to to email the file to, so they can see if THEY can open it, and maybe re-save & send to me.
Find all posts by this user
Quote this message in a reply
Jul 14, 2014, 01:41
Post: #12
RE: Error Message: No such file or directory
(Jul 3, 2014 16:15)rich2005 Wrote:  You will have to give us non-OSX users a bit more of a clue.

such as: a link to the cover 2.psd file.

then: Why download to the desktop? Does OSX not have a downloads folder?

and: Why try renaming the file to .xcf? That is not going to work.

also: Why use a 'context' double click on the desktop to open? Why not open via the Gimp file menu.

final one: Although earlier .psd files opened, are you sure you got a good download? Why not try downloading again to somewhere other than 'desktop' (see above). Double entries? Is the file an archive perhaps?

Hi rich2005~

Thanks for trying to help. I don't have a link to the file, b/c it's sitting on my desktop (although I guess there's some way to link to that...)

My computer is set to download directly to the desktop, to make it easy for me ot find. But sure, i could have it download to Downloads. if there's some difference, please do let me know.

Renaming to .xcf was simply another way I was trying to rename the file. Working off my total lack of knowledge here.

I've tried opening it via 'Open' in gimp file menu. No luck.

No, I'm not sure it's a good download, but I've had her re-send 3 times, and she said it opens fine in her photoshop, so not sure what else to do. I've moved the file to everywhere but Kalamazoo and can't get it to open.

Thanks again for trying to help, Kris
Find all posts by this user
Quote this message in a reply
Jul 14, 2014, 01:54
Post: #13
RE: Error Message: No such file or directory
One thing I just noticed...not sure it matters...when I ask for 'info' on the two psd files, the one I *can* open says it is not an 'alpha channel.' The other makes no reference to this one way or the other.

Attaching a screenshot: the one on the left is the one I *can* open, the one on the right is the one I cannot.


Attached File(s) Thumbnail(s)
   
Find all posts by this user
Quote this message in a reply
Jul 14, 2014, 20:05
Post: #14
RE: Error Message: No such file or directory
(Jul 14, 2014 12:18)ofnuts Wrote:  Since you are on OSX:

- Open a "terminal"
- go to your desktop (note the tilde character):
Code:
cd ~/Desktop
- check that the file exists:
Code:
ls -l whateverthenameis.psd
- the first part of the line should read '-rw-r-xr-x', in particular, the first group should be "rw", which indicates you have read and write authorizations on the file. if not, try:
Code:
chmod +rw  whateverthenameis.psd
and see if Gimp can open it.
- otherwise, then:
Code:
ls -l whateverthenameis.psd >filename.txt
- DO NOT EDIT filename.txt. Make a ZIP with it and attach it here.
- You can also try:
Code:
ls  whateverthenameis.psd | wc -c
This will give you the length of the name+1. Count the characters you see and check if you get the same result.

Quote:What I suspect is a problem with the access rights to your file on your own disk. If your friend can open it on his disk, this doesn't tell you anything about what happens on yours.

Nothing in the command I sent should erase anything on your disk. Once you have pasted the line in the terminal, just strike [enter]. Of course you have to change the filename in the commands...



Ofnuts,

Okay, so what I did was open a terminal. Next to the line that said "Desktops-Mac-mini:~ Desktop$", where the cursor was blinking, I pasted in "cd ~/Desktop" and hit enter. It then added a line that said "Desktops-Mac-mini:Desktop Desktop$ "

Then pasted I in "ls -l outside.psd" and hit enter

(the name of the file is 'outside')

it kicked back a line where the first part read "-rwxr-xr-x@ 1" and so on.

From this, I assume I do have read-write powers, although it doesn't look exactly like what you said it should:
Quote: the first part of the line should read '-rw-r-xr-x', in particular, the first group should be "rw", which indicates you have read and write authorizations on the file.

I seem to have some extra letters in there.

Not sure if this is relevant or not...I'm trying to upload a few images into a newsletter this morning, and while they all look & open fine as jpgs on my computer, they all break when I try to upload them into the newsletter. This has never happened before.

When I follow the above instructions for this 'broken' image file, it kicks back a code line with a first part that reads "-rw-------@ 1" and so on

Thanks so much for taking the time on this.
Kris
Find all posts by this user
Quote this message in a reply
Jul 14, 2014, 21:22
Post: #15
RE: Error Message: No such file or directory
(Jul 14, 2014 21:08)ofnuts Wrote:  In the flags, "r" is "read", "w" is "write", and "x" is "execute". "x" is only really valid for 1) executable programs and scripts, and 2) directories. It doesn't make sense to have it on a "data" file (such as a Photoshop or Gimp file). The first "rwx" group applied to the file owner, the second to person in the same user group, and the third to everyone else. So:

"-rwxr-xr-x" means the owner can read/write/execute, and everyone else can only read/execute

"-rw-------"means that the owner can read/write, and that everyone else isn't allowed access.

So now it all depends who the owner is, but that's the part of the line you don't show.


Sorry about that--I thought you were only really interested in the first part. The whole line reads: -rwxr-xr-x@ 1 Desktop staff 3329558 Jun 28 20:44 outside.psd

I assume I'm desktop staff...? Thank-you!
Find all posts by this user
Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Recently Used File List foberle 1 114 Oct 14, 2017 13:55
Last Post: ythgilb
  GIMP - “windows 10” - “command line” - error alvaro562003 4 316 Sep 18, 2017 08:13
Last Post: paynekj
  nothing works from the File menu, can't save, export, close, etc jperiod 1 165 Aug 3, 2017 05:19
Last Post: ythgilb
  Saved file, can no longer interact with image Tatsuno 5 365 Sep 28, 2014 21:54
Last Post: iForStyle007
  SVGZ File anon_private 4 479 Sep 8, 2014 11:36
Last Post: anon_private

Forum Jump:


GIMP ForumPortalArchiveContactTermsRSS