Skip to main content
Inspiring
August 1, 2014

P: Straighten Layer: Small problem with script error messages

  • August 1, 2014
  • 7 replies
  • 635 views

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 has been closed for replies.

7 replies

Participant
July 30, 2015
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.
Legend
June 16, 2015
This should be fixed in the Photoshop CC (2015) update.
Participant
January 15, 2015
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
Legend
December 22, 2014
Correct. The solution is the disable the straighten button if the context doesn't allow it or provide a better user facing error.
Participating Frequently
December 22, 2014
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.
Legend
December 22, 2014
Thanks. I don't think this is new to CC. Looks like this goes back to CS6 at least. We'll look into it.
Participating Frequently
December 22, 2014
Also happening here; occurs with Photoshop CC 2014, Photoshop CC, and Photoshop CS6