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

Git master fails to run on Linux #3

Open
prokoudine opened this issue Dec 25, 2020 · 4 comments
Open

Git master fails to run on Linux #3

prokoudine opened this issue Dec 25, 2020 · 4 comments

Comments

@prokoudine
Copy link

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
Copy link
Owner

bvirxx commented Dec 25, 2020

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
Copy link
Author

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
Copy link
Author

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

image

@bvirxx
Copy link
Owner

bvirxx commented Dec 25, 2020

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants