5.9 can not launch external editor

(RawTherapee_dev_5.8-3162-win64_release.zip / Windows 10)

@ Thanatomanic I tried the following settings which are similar to yours except I don’t have Photoshop:

[External Editor]
EditorKind=3
GimpDir=C:\Users\Henning
PhotoshopDir=C:\Users\Henning
CustomEditor=
OutputDir=2
CustomOutputDir=F:\Multimedia\Fotos\_tmp_download\_fixNfertig
Float32=false
BypassOutputProfile=false
Names=IrfanView;GIMP;
Commands=“C:\Program Files\IrfanView\i_view64.exe”;“C:\Program Files\GIMP 2\bin\gimp-2.10.exe”;
IconsSerialized=;;
EditorIndex=0

The strange effect remains:

  • GIMP starts and shows the image correctly no matter what CustomOutputDir I chose
  • IrfanView starts but shows the image correctly only if I chose the root directory of the partition where the raw image is. In any other case IrfanView starts without opening the image. The tif file is stored in the CustomOutputDir

I’m running RT 5.9-57 from the extracted zip folder. The option file is in c:\users\Mike\AppData\local\RawTherapee5-dev

Yes, I’m doing that

Btw; The external editor entry in RT derived from the “change executable” link enters this path
“C:\Program Files (x86)\Photoshop CS6\x64\Photoshop.exe” The option file shows double back slashes not single ones. I’m not sure if that matters

I dont know if its important or can be helpful, but in this screenshot the “CustomEditor” is empty. It could be a workaround, declaring Photoshop as an external editor:
May be just copy the entry from “Commands” to there but without the “”

from:
Commands=“c:\\Program Files (x86)\\Photoshop CS6\\x64\\Photoshop.exe”;

to
CustomEditor=c:\\Program Files (x86)\\Photoshop CS6\\x64\\Photoshop.exe

Edit:
is it my eyes or your screenshot: i looks like 2 spacers between “Files” and “(x86)” of course it only should be one.

2nd edit: this editor skips one Backslash, so i put 3rd for to show two backslashes :wink:

By default my windows 10 has a space there.

Is this what you meant by adding a 3rd backslash? Now the option file has 6 backslashes
Capture

This is\\\getting\\\\out\\of\\hand, lol. @stuntflyer Your version of RT and your options file are essentially identical to my own situation. The version of Photoshop is different, but as things worked before, that cannot be the issue. I’m really not sure why things have suddenly stopped functioning.

Something from your initial post. I hope you mean that you unpack everything and then run RT, not that you double-click RT directly in the zip file?

Also, another idea: have you got any User Account Control enabled? What happens if you run RT as Administrator?

I created a shortcut from the rawtherapee.exe file that’s in the unpacked folder and placed in the taskbar.

I’m the only account. Now, running as administrator, Photoshop opens, but the editing window is empty. Progress. . . .

Hmm, I recall a prompt of some installers asking whether to install for a single user or all users. One would think ‘the same user’ would cross the permission boundaries, but YMMV…

Have you also checked the “start in” location of the shortcut?

You’re not using OneDrive by any chance, are you? Is your profile redirected? Not that I know anything about it – I had it happen to me once and suddenly all (most?) of my user folders were in a different place since they were redirected to OneDrive (instead of locally). I was able to undo that madness and haven’t looked back.

Just curious.

@ggbutcher, there was no prompt asking about users. I’m running from the extracted zip file with a shortcut.

@kmilos, “start in” is the location of the extracted folder
“D:\Mike\Photography\Software\Raw Therapee\Automated releases\RawTherapee_dev_win64_release\RawTherapee_dev_5.9-56-g95cede9a1_win64_release”

@lphilpot, I’m not using one drive.

That’s a loooong path, and with a whitespace… Not without risks…

I shortened the path to
D:\Mike\Photography\RawTherapee_dev_5.9-57\rawtherapee.exe

Still no tif file in PS edit window

No, no, its the pixls editor. i wanted to show two \\ here in in pixls.us. for this its necessary to type it 3 times.

LOl, I totally missed that. Thanks!

The PS icon shows up on the external editor link. PS loads quickly. Yet no tif in PS edit window. Tif is created and placed in the same folder as the RAW.

Capture

No issues in @gaaned92 5.9-7

The application (RawTherapee or external editor) location should not be an issue. As long as you can open them directly (e.g. double-clicking the exe), RawTherapee should, in theory, be able to send the image to the editor.

The options entries used by the old and new external editor features are separate. CustomEditor is for the old one. Commands is for the new one. Don’t worry about any differences between what the GUI shows and what is in options. Text in options is “encoded”. What you see in the GUI is the real value.

@stuntflyer So Photoshop launches now instead of RawTherapee giving an error message? What changed? If there is no error, my fix will not work for you. By the way, any pull request targeting the dev branch will have automatic builds available under the “checks” section. Just click on details, click the summary on the left panel, and find the artifact at the bottom of the page. Here’s a direct link for the Windows build: https://github.com/Beep6581/RawTherapee/suites/10253843330/artifacts/503120509. You must be signed in to GitHub to download. Also note that the preferences will be separate from dev and release builds, so you will need to add the external editor in preferences.

Here’s a few things you can check.

  • Setting the output directory to the root of where the raw image is, like @mozzihh did. If it works, then we know it might be a problem with the image path.
  • If you are handy with command prompt, try launching Photoshop with the image. It will probably look like "C:\Program Files (x86)\Photoshop CS6\x64\Photoshop.exe" "C:\some\path\to\exported image.tif". Does Photoshop open the image?
  • Try using %f or %u in the external editor command. For example, "C:\...\Photoshop.exe" %f, "C:\...\Photoshop.exe" "%f", "C:\...\Photoshop.exe" %u, and "C:\...\Photoshop.exe" "%u"
1 Like

@Lawrence37,

Everything works perfectly with 5.9-60. All I did was to enter the name and path into the editor.

Editor path: C:\Program Files (x86)\Photoshop CS6\x64\photoshop.exe

Thank you very much!

1 Like