bvirxx / bLUe_PYSIDE

bLUe - A simple and comprehensive image editor featuring automatic contrast enhancement, color correction, 3D LUT creation, raw postprocessing, exposure fusion and noise reduction
http://bernard.virot.free.fr/
GNU Lesser General Public License v3.0
68 stars 7 forks source link

Git master fails to run on Linux #3

Open prokoudine opened 3 years ago

prokoudine commented 3 years ago

Ubuntu 20.10:

Renders the window, throws the following error, then quits:

No valid sRGB color profile found.
Set SYSTEM_PROFILE_DIR and SRGB_PROFILE_NAME in your config.json

Invalid profile /home/alex/.local/share/icc/sRGB Color Space Profile.icm

Here's the console output:

python bLUe.py
/home/alex/soft/photography/bLUe_PYSIDE2/bLUeTop/colorManagement.py:38: PyGIWarning: Colord was imported without specifying a version first. Use gi.require_version('Colord', '1.0') before import to ensure that the right version gets loaded.
  from gi.repository import GLib, Gio, Colord
bvirxx commented 3 years ago

You must provide a valid sRGB color profile.

Please, check your path /home/alex/.local/share/icc/sRGB Color Space Profile.icm exists and is a valid color profile (.icc or .icm file). If not, you have to modify SYSTEM_PROFILE_DIR and/or SRGB_PROFILE_NAME in the configuration file config.json.

The console output is a warning you may ignore safely.

prokoudine commented 3 years ago

Hmmm, hardcoding a color profile? Oh-kay, I got past this. The app runs now but throws a warning at the start:

Cannot detect monitor profile

cd_client_error: device id 'xrandr-eDP-1' does not exist (4)
prokoudine commented 3 years ago

Furthermore, the application doesn't seem to handle Cyrillics in the path:

image

bvirxx commented 3 years ago

Regarding detection of monitor profile, it is likely a colord problem. Could you please show me the output of the following 2 commands on your system?

                                                    xrandr
                                                    colormgr get-devices-by-kind display

Regarding cyrillic characters in file names, bLUe uses exiftool and it turns out that exiftool does not handle these characters by default : from Phil Harvey answer : A specific option -charset filename=cyrillic is necessary if you pass file names to ExifTool with special characters in Cyrillic encoding. The current version of bLUe does not provide this option.