Closed marillat closed 1 month ago
Please use the bug report format and supply steps to reproduce.
Launch displaycal
Click on the Calibrate & profile
buton
displaycal crash
You should start from how did you install DisplayCAL.
Why ? displaycal is installed from the Debian package.
It really depends on how you have installed. Let me check now if I can reproduce this.
displaycal has been always working with files installed like this
Yes, but sometimes, unfortunately, we introduce bugs, and knowing the way you installed helps to pinpoint the bug.
Yes, I do the same (sometimes) with the Debian packaging.
┌──────────────────────────────────────────────────────────────────────────────┐ │ b'Traceback (most recent call last):\n File "<string>", line 1, in │ │ <module>\nModuleNotFoundError: No module named \'wxMeasureFrame\'' │ └──────────────────────────────────────────────────────────────────────────────┘
I know why this is happening. 6c00bfb changed the pydir
and DisplayCAL.display_cal.MainFrame.start_measurement_subprocess()
is referencing that path, which now shows the parent of the previous value and this only effects Linux systems as MacOS and Windows are using a different code path to show the dialog.
Should be easy to fix.
ah no, my mistake, the pydir is still pointing to the same folder. But that script should import DisplayCAL.wxMeasureFrame
and not wxMeasureFrame
directly.
I'm using a virtualbox image for Debian 12, but I can't seem to be able to build and install wxPython. I'll try with Ubuntu 24.10 which was building okay. I should hit to the same error, if I'm able to start the calibration with the virtual monitor at all.
hmm... ArgyllCMS executables are not working under aarch64 🤷♂️
let me do it remotely then, I'll update the code, and I'll be appriciated if you can try running it.
@marillat can you try running the following to build and run from source:
cd ~
sudo apt-get install build-essential dbus libglib2.0-dev pkg-config libgtk-3-dev libxxf86vm-dev python3-dev python3-venv
git clone https://www.github.com/eoyilmaz/displaycal-py3
cd displaycal-py3
git fetch --all
git checkout 415-fail-to-open-calibrate-window
SYSTEM_PYTHON=python3 python -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt -r requirements-dev.txt
python -m build
pip install dist/DisplayCAL-3.9.*.whl
and you should now be able to run:
python -m DisplayCAL
and for any consequent runs on a new terminal you can run the following:
cd ~/displaycal-py3
source .venv/bin/activate
python -m DisplayCAL
As I'm saying before, I'm the Debian maintainer and we don't use python virtual environment to build the package but pybuild.
Anyway commit https://github.com/eoyilmaz/displaycal-py3/commit/90b7192300f991ff7d6cbdac7c7ba5c1094ae38d fix this issue.
As I'm saying before, I'm the Debian maintainer and we don't use python virtual environment to build the package but pybuild.
oh sorry, my bad, didn't understand you are the Debian maintainer, cool!
I'm glad that the problem is solved. I'll do a new release this week, I'll let you know 👍
I've already uploaded a new package 3.9.13-4 not yet available in unstable.
Thanks for your work and fast bug fixes.
3.9.14 is released
With displaycal 3.9.13 called with --debug