Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Program resources not loaded when installed in directory with special characters #7072

Open
wzging opened this issue May 13, 2024 · 7 comments
Labels
type: bug Something is not doing what it's supposed to be doing

Comments

@wzging
Copy link

wzging commented May 13, 2024

I found a bug about rt5.10 when i installed it with chinese path (eg "D:/soft/中文/RawTherapee") in Windows。
企业微信截图_97cfe3f8-7fe5-4588-a4b2-5582ec2a114e
企业微信截图_191f063d-40a6-4023-a130-9d47534ed7c7
when i open the app to load cr3 file and select TP_ICM_INPUTCAMERA the picture became dark than select TP_ICM_INPUTCAMERAICC

@Lawrence37
Copy link
Collaborator

Camera standard looks more right to me. The DCP is over-saturated for some reason.

Not relevant to this issue, but what language do you have selected? It's weird that you are seeing "TP_ICM_INPUTCAMERA" and similar instead of readable words like "Camera standard" (English).

@Lawrence37 Lawrence37 added the scope: calibration Camera calibration (camconst.json) label May 14, 2024
@wzging
Copy link
Author

wzging commented May 14, 2024

Camera standard looks more right to me. The DCP is over-saturated for some reason.

Not relevant to this issue, but what language do you have selected? It's weird that you are seeing "TP_ICM_INPUTCAMERA" and similar instead of readable words like "Camera standard" (English).

i install RT select engilsh language,but the installed path contains chinese like this"D:/soft/中文/RawTherapee",and i also try to install in english path to load cr3 file became normal。 “TP_ICM_INPUTCAMERA”is a selection on the ui panel. When i selected “TP_ICM_INPUTCAMERA” option there is a config:InputProfile=(camera) in pp3 file. If i selected “TP_ICM_INPUTCAMERAICC” option there is a config: InputProfile=(cameraICC) in pp3 file.
image
image

@Lawrence37
Copy link
Collaborator

What I mean is the text you are seeing in the UI is not supposed to be like that. When English is selected, it should look like this:
image
And if you select Chinese:
image

@wzging
Copy link
Author

wzging commented May 19, 2024

What I mean is the text you are seeing in the UI is not supposed to be like that. When English is selected, it should look like this: image And if you select Chinese: image

thanks! now the problem is when i use the pp3 file contains "InputProfile=(camera)"in the part of Color Management like this pic to load cr3 raw files will become dark(RawTherapee installed in "D:/soft/中文/RawTherapee"),but when i install RT in"D:/soft/RawTherapee" which do not contain chinese words it will work well and do not become dark.I tried to compile the RT project to solve this problem, but I don't know which part of the code will trigger the InputProfile problem. Can you give me some tips about the InputProfile implementation ?
image

@Lawrence37
Copy link
Collaborator

The Camera standard option uses the color matrix in camconst.json. Perhaps it is unable to find the file due to the Chinese characters in the path? When you install it to D:/soft/RawTherapee, does the UI also show "TP_ICM_INPUTCAMERA", or does it show "Camera standard"?

@wzging
Copy link
Author

wzging commented May 20, 2024

The Camera standard option uses the color matrix in camconst.json. Perhaps it is unable to find the file due to the Chinese characters in the path? When you install it to D:/soft/RawTherapee, does the UI also show "TP_ICM_INPUTCAMERA", or does it show "Camera standard"?

yeah, when i install it to "D:/soft/RawTherapee",the UI show like this
image
The problem (become dark)I encountered (RT installs in "D:/soft/中文/RawTherapee",and set InputProfile=(camera))only occurs in cr3 format, and has not been found in other raw formats.

@Lawrence37
Copy link
Collaborator

Ok, I think the two issues are the same. RawTherapee is unable to load some program files when installed in that location.

Not all cameras rely on camconst.json. That's why you are seeing only some cameras are affected.

@Lawrence37 Lawrence37 added type: bug Something is not doing what it's supposed to be doing and removed scope: calibration Camera calibration (camconst.json) labels May 20, 2024
@Lawrence37 Lawrence37 changed the title RawTherapee 5.10 load CR3 file became dark when select TP_ICM_INPUTCAMERA Program resources not loaded when installed in directory with special characters May 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Something is not doing what it's supposed to be doing
Projects
None yet
Development

No branches or pull requests

2 participants