Skip to main content
DrewRothman
Inspiring
May 14, 2024

P: Generative Expand - Error 25 when single quotes in the prompt

  • May 14, 2024
  • 11 replies
  • 887 views

Here's what happened:

 

  1.  I opened a square image.
  2.  Cropped it to 16:9 and used generative expand.
  3.  I selected a reference image.
  4.  I pasted in a text prompt: 
    This is 'my prompt'

 

I got the error:

Error 25:
Expected: ).

Line: 1

->

 

Removing the ' characters resolves the error.

This topic has been closed for replies.

11 replies

CShubert
Community Manager
Community Manager
May 14, 2024

Hi @DrewRothman do you see the same error when you use the same prompt in Ps release version, not beta?

 

Testing here and not seeing this, so might be bad prefs, a couple things to try...

 

Try resetting Prefs for the Beta:
/Users/yourname/Library/Preferences/ Photoshop Beta Settings (Mac Ventura)
/Users/yourname/Library/Preferences/Adobe\ Photoshop\ \(Beta\)\ Settings (Mac)


C:\Users\user name\AppData\Roaming\Adobe\Adobe Photoshop (Beta)\Adobe Photoshop (Beta) Settings


Launch BETA Photoshop While Pressing The Keyboard Shortcut
With Photoshop closed, press and hold Shift+Ctrl+Alt (Win) / Shift+Command+Option (Mac) on your keyboard and then Launch Photoshop the way you normally would.
https://helpx.adobe.com/photoshop/using/preferences.html#Manually 

 

It may help if we could see your Photoshop System Info. Launch Photoshop, and select Help >System Info...and copy/paste the text in a reply.  

 

Thanks,

Cory - Photoshop Product Manager