Skip to content

Commit fedc2dd

Browse files
committed
damn, the last build for linux didn't work. It failed with the following
error: user@host:~/Downloads/artifacts0$ dist/helloWorld.AppImage [INFO ] [Logger ] Record log in /home/user/.kivy/logs/kivy_20-05-31_0.txt [INFO ] [Kivy ] v1.11.1 [INFO ] [Kivy ] Installed at "/tmp/.mount_helloWrLrDju/opt/python3.7/lib/python3.7/site-packages/kivy/__init__.py" [INFO ] [Python ] v3.7.3 (default, Dec 20 2019, 18:57:59) [GCC 8.3.0] [INFO ] [Python ] Interpreter at "/home/user/Downloads/artifacts0/dist/helloWorld.AppImage" [INFO ] [Factory ] 184 symbols loaded [INFO ] [Image ] Providers: img_tex, img_dds, img_sdl2, img_gif (img_pil, img_ffpyplayer ignored) [INFO ] [Text ] Provider: sdl2 [INFO ] [Window ] Provider: sdl2(['window_egl_rpi'] ignored) [INFO ] [Window ] Activate GLES2/ANGLE context libEGL warning: DRI2: failed to authenticate libEGL warning: DRI2: failed to authenticate X Error of failed request: BadWindow (invalid Window parameter) Major opcode of failed request: 4 (X_DestroyWindow) Resource id in failed request: 0x1c0000c Serial number of failed request: 174 Current serial number in output stream: 178 user@host:~/Downloads/artifacts0$ I think it's because of the change to src/main.py I made to change the KIVY_GL_BACKEND from sdl2 to angle. Maybe. Let me switch it back and just enable the linux build to see if it works without those two lines. If so, then I'll probably want to set that env var conditionally based on the OS or something.
1 parent a5e1397 commit fedc2dd

File tree

2 files changed

+16
-16
lines changed

2 files changed

+16
-16
lines changed

.gitlab-ci.yml

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -8,20 +8,20 @@ linux:
88
only:
99
- master
1010

11-
windows:
12-
stage: build
13-
script: "build/windows/buildExe.ps1"
14-
artifacts:
15-
paths:
16-
- dist
17-
tags:
18-
- shared-windows
19-
- windows
20-
- windows-1809
21-
variables:
22-
msbuild: 'C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\MSBuild\Current\Bin\MSBuild.exe'
23-
only:
24-
- master
11+
#windows:
12+
# stage: build
13+
# script: "build/windows/buildExe.ps1"
14+
# artifacts:
15+
# paths:
16+
# - dist
17+
# tags:
18+
# - shared-windows
19+
# - windows
20+
# - windows-1809
21+
# variables:
22+
# msbuild: 'C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\MSBuild\Current\Bin\MSBuild.exe'
23+
# only:
24+
# - master
2525

2626
variables:
2727
GIT_SUBMODULE_STRATEGY: normal

src/main.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# this is needed for supporting Windows 10 with OpenGL < v2.0
22
# Example: VirtualBox w/ OpenGL v1.1
3-
import os
4-
os.environ['KIVY_GL_BACKEND'] = 'angle_sdl2'
3+
#import os
4+
#os.environ['KIVY_GL_BACKEND'] = 'angle_sdl2'
55

66
import kivy
77
#kivy.require('1.0.6') # replace with your current kivy version !

0 commit comments

Comments
 (0)