Skip to main content
Inspiring
Aug 1, 2014 9:12 AM UTC
Released

P: Straighten Layer: Small problem with script error messages

This is a small bug I've noticed.
When I have selected a layer with turned off visibility and I use the ruler straighten command, a message appears saying:
Error 8800: General Photoshop Error occurred. This functionality may not be available in this version of Photoshop. The command "Transform" is not currently available.
Line: 217
-> layerRef.rotate( angle *180.0/Math.PI);

It should be swapped with a different message saying that you can't rotate a turned off layer.

This topic is closed to new replies. Start a new post to keep the conversation going.

7 replies

Participant
Jul 30, 2015 2:32 PM UTC
It is NOT fixed in PS CC 2015.

I still have the same problem when I try to run scripts that worked perfectly in PS CC 2014.
Translate
Legend
Jun 16, 2015 4:25 AM UTC
This should be fixed in the Photoshop CC (2015) update.
Translate
Participant
Jan 15, 2015 7:21 AM UTC
Impossible to use the "Straighten the layer" !
I subscribed for a month, and I have the same problem, I'd like Adobe corrects the error. Thank's
Translate
Legend
Dec 22, 2014 8:21 PM UTC
Correct. The solution is the disable the straighten button if the context doesn't allow it or provide a better user facing error.
Translate
Participating Frequently
Dec 22, 2014 6:36 PM UTC
Thanks for the quick response!

More details: the error happened when trying to straighten a scanned image of a form.

More feedback: the error message is stunningly uninformative and provides the user with the barest minimum of detail to figure out the cause or solution.

My solution: I discovered that the image was a Bitmap and the background layer was locked. When I converted it to Grayscale, the image straightened without the error.

Even more feedback: Since all the Photoshop versions mentioned won't do much with a locked Bitmap image, why not provide your customers with more informative error messages, even "Hey, dummy, Photoshop can't straighten a bitmap image." All jesting aside, offering to convert the image before straightening would be a more user-friendly approach.
Translate
Legend
Dec 22, 2014 5:50 PM UTC
Thanks. I don't think this is new to CC. Looks like this goes back to CS6 at least. We'll look into it.
Translate
Participating Frequently
Dec 22, 2014 5:23 PM UTC
Also happening here; occurs with Photoshop CC 2014, Photoshop CC, and Photoshop CS6

Translate