Skip to content

Commit 94433a3

Browse files
authored
MAINT: Fix Qt issue (mne-tools#10923)
* WIP: Debug Qt issue [skip circle] [skip azp] * FIX: Try another * FIX: Anothur * FIX: Commeunt
1 parent 73e1d85 commit 94433a3

File tree

3 files changed

+8
-1
lines changed

3 files changed

+8
-1
lines changed

.github/workflows/linux_pip.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,9 @@ jobs:
5050
- shell: bash -el {0}
5151
run: ./tools/github_actions_infos.sh
5252
name: 'Show infos'
53+
# Uncomment if "xcb not found" Qt errors/segfaults come up again
54+
# - shell: bash -el {0}
55+
# run: LD_DEBUG=libs python -c "from PyQt6.QtWidgets import QApplication, QWidget; app = QApplication([]); import matplotlib; matplotlib.use('QtAgg'); import matplotlib.pyplot as plt; plt.figure()"
5356
- shell: bash -el {0}
5457
run: ./tools/get_testing_version.sh
5558
name: 'Get testing version'

azure-pipelines.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,10 @@ stages:
125125
mne sys_info -pd
126126
mne sys_info -pd | grep "qtpy: .*{PySide6=.*}$"
127127
displayName: Print config
128+
# Uncomment if "xcb not found" Qt errors/segfaults come up again
129+
# - bash: |
130+
# set -e
131+
# LD_DEBUG=libs python -c "from PySide6.QtWidgets import QApplication, QWidget; app = QApplication([]); import matplotlib; matplotlib.use('QtAgg'); import matplotlib.pyplot as plt; plt.figure()"
128132
- bash: source tools/get_testing_version.sh
129133
displayName: 'Get testing version'
130134
- task: Cache@2

tools/setup_xvfb.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@ done
1111

1212
# This also includes the libraries necessary for PyQt5/PyQt6
1313
sudo apt update
14-
sudo apt install -yqq xvfb libxkbcommon-x11-0 libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-randr0 libxcb-render-util0 libxcb-xinerama0 libxcb-xfixes0 libopengl0 libegl1 libosmesa6 mesa-utils
14+
sudo apt install -yqq xvfb libxkbcommon-x11-0 libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-randr0 libxcb-render-util0 libxcb-xinerama0 libxcb-xfixes0 libopengl0 libegl1 libosmesa6 mesa-utils libxcb-shape0
1515
/sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_99.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :99 -screen 0 1400x900x24 -ac +extension GLX +render -noreset

0 commit comments

Comments
 (0)