GC3.5 and GC3.6 charts for map, tracker and summary blank on Linux

Skip to first unread message

Giusto Gervasutti

unread,
Apr 4, 2022, 3:19:59 AM4/4/22
to golden-cheetah-users
Dear All!

I was using GC3.5 (Appimage) for more than a year on Manjaro Linux.
Suddenly the charts for map, tracker and summary stopped working (blank).

I scanned the forum and FAQs and tried possible solutions (e.g. reset layout, tile servers)

My best guess is that an update of linux broke the display of the charts. I also tried GC V3.6 (Appimage), but there also the map and tracker remains blank.  

For testing I did a backup of my data and cleaned all configurations to avoid problems due  configurations (~/.config/goldencheetah.org,  ~/.local/share/GoldenCheetah_v3.5_amd64_Linux.AppImage and ~/.goldencheetah).

IMHO the problem seems very similar to this one (and maybe related to the QTWebengine):
https://groups.google.com/g/golden-cheetah-users/c/HLvhq655d6g/m/9mg7zEdaAAAJ

Here is as much debug information as I can provide: ManjaroLinux 21.2.5

Version information from GC3.5:
Screenshot_2022-04-02_14-15-31.png

Version information from GC3.6:
Screenshot_2022-04-02_14-12-27.png

In the goldencheetah.log there is hardly any information. When I try to configure a chart and then press "Done" following entries are shown in the log file:
For GC3.5
QXcbConnection: XCB error: 3 (BadWindow), sequence: 14022, resource id: 10946891, major code: 40 (TranslateCoords), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 46673, resource id: 10974999, major code: 40 (TranslateCoords), minor code: 0

For GC3.6
[14:06:58.899] warning: QXcbConnection: XCB error: 3 (BadWindow), sequence: 65265, resource id: 10851925, major code: 40 (TranslateCoords), minor code: 0
[14:07:27.353] warning: QXcbConnection: XCB error: 3 (BadWindow), sequence: 11733, resource id: 10855171, major code: 40 (TranslateCoords), minor code: 0
[14:07:45.719] warning: QXcbConnection: XCB error: 3 (BadWindow), sequence: 25736, resource id: 10860659, major code: 40 (TranslateCoords), minor code: 0
[14:07:51.565] warning: QXcbConnection: XCB error: 3 (BadWindow), sequence: 29626, resource id: 10862521, major code: 40 (TranslateCoords), minor code: 0

Does anyone know how I could get v3.5 or v3.6 back up running? I would appreciate any help.

Have many thanks in advance!
Kind Regards,
Markus




Ale Martinez

unread,
Apr 4, 2022, 7:47:05 AM4/4/22
to golden-cheetah-users
We have an issue to track this but no solution, yet: https://github.com/GoldenCheetah/GoldenCheetah/issues/4196 

Ale Martinez

unread,
Apr 9, 2022, 9:55:01 AM4/9/22
to golden-cheetah-users
There is a new snapshot build using Qt5.15.2 intended to fix this issue, it can be downloaded from http://goldencheetah-binaries.s3-website-us-east-1.amazonaws.com/?prefix=Linux/, feedback is welcome.

Peret

unread,
Apr 9, 2022, 11:23:17 AM4/9/22
to golden-cheetah-users
Working fine on Ubuntu 21.10:
Version.png

I can open web pages in a chart of type 'Web Page'

Giusto Gervasutti

unread,
Apr 9, 2022, 4:30:18 PM4/9/22
to golden-cheetah-users
Thank you for providing a new build.

Unfortunately it is not working on ManjaroLinux 21.2.5.
Screenshot_2022-04-09_22-22-56.png

When I open Tracker, map or create a new webpage chart, the charts are still blank. In the log file I find following entries when creating charts or changing configurations and press "Done".
[22:13:22.186] warning: QXcbConnection: XCB error: 3 (BadWindow), sequence: 51154, resource id: 10605962, major code: 40 (TranslateCoords), minor code: 0
[22:17:58.308] warning: QXcbConnection: XCB error: 3 (BadWindow), sequence: 64995, resource id: 10630879, major code: 40 (TranslateCoords), minor code: 0
[22:19:10.944] warning: QXcbConnection: XCB error: 3 (BadWindow), sequence: 2554, resource id: 10632325, major code: 40 (TranslateCoords), minor code: 0
[22:24:23.432] warning: QXcbConnection: XCB error: 3 (BadWindow), sequence: 57396, resource id: 10662285, major code: 40 (TranslateCoords), minor code: 0

Tracker:
Screenshot_2022-04-09_22-26-33.png

Webpage
Screenshot_2022-04-09_22-27-03.png

Map:
Screenshot_2022-04-09_22-27-27.png

Kind Regards,
Markus

Ale Martinez

unread,
Apr 10, 2022, 9:40:01 AM4/10/22
to golden-cheetah-users
So building using Qt5.15.2 doesn't solve the issue, it continues to work on latest Ubuntu but not on Arch Linux and derivatives (Manjaro), according to feedback from Marcen  QtWebEngineProc (the Qt WebEngine process rendering web pages) still crashes.

Steve Edmonds

unread,
Apr 10, 2022, 3:13:41 PM4/10/22
to golden-che...@googlegroups.com
I am having this issue and not this issue on the same OpenSUSE leap 15.3 machine and not sure it is QT.
It is a chart HRV Threshold Estimation. It's settings have a check box Web Charting which needs to be checked for the chart to show. Possibly this issue is related to Python.

The appimage from the snapshot at the link Ale provided works fine for me with no errors and the HRV chart displays as expected.


I am building locally also, I did a git pull yesterday and a build and on this build the chart does not show and produces errors as seen by Giusto. I have built locally with Python 3.6 and I think (pretty sure) this chart was working in my last local build in March.
Current version of this local build.


Errors from the chart.


What changed in the pull.
Updating files: 100% (44/44), done.
Fast-forward
.travis.yml                             |    2 +
appveyor.yml                            |    4 +
doc/wiki/Help_Overview.PNG              |  Bin 0 -> 45313 bytes
src/Charts/LTMWindow.cpp                |    8 +-
src/Charts/OverviewItems.cpp            |   16 +-
src/Charts/PythonChart.cpp              |   12 +-
src/Charts/UserChart.cpp                |   38 +-
src/Cloud/Nolio.cpp                     |  436 +++++++++++++++++++
src/Cloud/Nolio.h                       |   83 ++++
src/Cloud/OAuthDialog.cpp               |   37 +-
src/Cloud/OAuthDialog.h                 |    1 +
src/Cloud/Strava.cpp                    |    1 -
src/Cloud/Xert.cpp                      |    3 +
src/Core/DataFilter.cpp                 |   11 +-
src/Core/GcUpgrade.h                    |    2 +-
src/Core/Secrets.h                      |    9 +
src/Core/Settings.h                     |    7 +
src/Gui/AboutDialog.cpp                 |    1 -
src/Gui/HelpWhatsThis.cpp               |    2 +-
src/Metrics/PDModel.cpp                 |    8 +-
src/Metrics/RideMetadata.cpp            |    2 +-
src/Metrics/SpecialFields.cpp           |   21 +
src/Resources/application.qrc           |    1 +
src/Resources/images/services/nolio.png |  Bin 0 -> 8010 bytes
src/Resources/translations/gc_cs.ts     |  850 ++++++++++++++++++++++++------------
src/Resources/translations/gc_de.ts     |  922 ++++++++++++++++++++++++++-------------
src/Resources/translations/gc_es.ts     |  864 +++++++++++++++++++++++++------------
src/Resources/translations/gc_fr.ts     | 1597 ++++++++++++++++++++++++++++++++++++++++---------------------------
src/Resources/translations/gc_it.ts     |  854 ++++++++++++++++++++++++------------
src/Resources/translations/gc_ja.ts     |  850 ++++++++++++++++++++++++------------
src/Resources/translations/gc_nl.ts     |  854 ++++++++++++++++++++++++------------
src/Resources/translations/gc_pt-br.ts  |  850 ++++++++++++++++++++++++------------
src/Resources/translations/gc_pt.ts     |  850 ++++++++++++++++++++++++------------
src/Resources/translations/gc_ru.ts     | 1700 ++++++++++++++++++++++++++++++++++++++++++------------------------------
src/Resources/translations/gc_sv.ts     |  854 ++++++++++++++++++++++++------------
src/Resources/translations/gc_zh-cn.ts  | 1546 ++++++++++++++++++++++++++++++++++++++++-------------------------
src/Resources/translations/gc_zh-tw.ts  |  842 ++++++++++++++++++++++++------------
src/Resources/xml/home-perspectives.xml |    2 +-
src/Train/TrainBottom.cpp               |    2 -
src/src.pro                             |    2 +
travis/linux/after_success.sh           |   12 +-
travis/linux/before_install.sh          |    8 +-
travis/linux/before_script.sh           |    2 +-
travis/linux/script.sh                  |    2 +-

--
_______________________________________________
Golden-Cheetah-Users mailing list
golden-che...@googlegroups.com
http://groups.google.com/group/golden-cheetah-users?hl=en
---
You received this message because you are subscribed to the Google Groups "golden-cheetah-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golden-cheetah-u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/golden-cheetah-users/c931ec71-9868-48f4-b6db-78b48f3ed534n%40googlegroups.com.

marcen

unread,
Apr 10, 2022, 5:01:03 PM4/10/22
to golden-cheetah-users
On Arch Linux the error is only when a chart is displayed with Qt WebEngine.
For example a python chart that is displayed with Web Charting. Think the map chart is also displayed with Qt WebEngine.
If python is not displayed with Web Charting, pyhton works under Arch Linux.
How it works is here: https://github.com/GoldenCheetah/GoldenCheetah/wiki/UG_Special-Topics_Working-with-Python#charts
An example file is in the CluadBD under activities.

Steve Edmonds

unread,
Apr 10, 2022, 5:31:42 PM4/10/22
to golden-che...@googlegroups.com
When you say the Map chart, do you mean the Map tab under activities. Does this not display when you get the error?
For me this Map displays but the HRV chart causes the error you get.
Message has been deleted

marcen

unread,
Apr 10, 2022, 5:54:38 PM4/10/22
to golden-cheetah-users
Yes, that's exactly what I mean. When I call the map I get an error message and display noting. The error can be seen here: https://groups.google.com/g/golden-cheetah-users/c/POOJ2On4bto/m/QJLnFnGsAQAJ

From the chart HRV Threshold Estimation it looks like an error from python itself and that's why it is not displayed.
Maybe download again from ClouDB.

Steve Edmonds

unread,
Apr 10, 2022, 9:29:18 PM4/10/22
to golden-che...@googlegroups.com
I am getting the message below in goldencheetah.log when HRV Threshold Estimation fails.

[22:13:22.186] warning: QXcbConnection: XCB error: 3 (BadWindow), sequence: 51154, resource id: 10605962, major code: 40 (TranslateCoords), minor code: 0


marcen

unread,
Apr 11, 2022, 1:36:27 PM4/11/22
to golden-cheetah-users
[22:13:22.186] warning: QXcbConnection: XCB error: 3 (BadWindow), sequence: 51154, resource id: 10605962, major code: 40 (TranslateCoords), minor code: 0
I had  this warning under Arch Linux before the error occurred. Everything always worked.

The version HRV Threshold estimation V3 runs under Ubuntu 20.04.4 LTS without problems.
Which version of HRV Threshold estimation do you have installed?
Have you installt the app oder self bulid?

Steve Edmonds

unread,
Apr 11, 2022, 3:14:04 PM4/11/22
to golden-che...@googlegroups.com
If the log entry warning: QXcbConnection: XCB error: 3.... as reported by the original poster is not related to the failure to display Web Charting then I might update my Python to see if that resolves the issue in my local builds of GC.
I have HRV Threshold Estimation V3 (2021-05-22) installed which I installed from +Download Chart .... in the Activities view

Steve Edmonds

unread,
Apr 11, 2022, 6:44:37 PM4/11/22
to golden-cheetah-users
So updated to build GC with Python 3.9 and my issue is resolved. My local build is performing like the appimage of 9 April and no longer get the warning: QXcbConnection: XCB error: 3.... messages and webcharts (Map and HRV Threshold) seem to display fine.

Giusto Gervasutti

unread,
May 4, 2022, 5:15:50 AM5/4/22
to golden-cheetah-users
Setting QTWEBENGINE_DISABLE_SANDBOX=1 before launching GC3.5 or GC3.6 resolves this issue.

Ale Martinez

unread,
May 8, 2022, 7:23:50 AM5/8/22
to golden-cheetah-users
El miércoles, 4 de mayo de 2022 a la(s) 06:15:50 UTC-3, markus.f...@gmail.com escribió:
Setting QTWEBENGINE_DISABLE_SANDBOX=1 before launching GC3.5 or GC3.6 resolves this issue.

There is a contributed v3.6RC1 AppImage including this setting in https://github.com/GoldenCheetah/GoldenCheetah/pull/4216#issuecomment-1120360551, feedback is welcome. 

marcen

unread,
May 8, 2022, 8:29:55 AM5/8/22
to golden-cheetah-users
Under Arch Linux the version works. Map-, Python-Chart are displayed correctly.
Under Ubuntu 20.04.1 the version also works without problems.

Ale Martinez

unread,
May 8, 2022, 5:43:52 PM5/8/22
to golden-cheetah-users
El domingo, 8 de mayo de 2022 a la(s) 09:29:55 UTC-3, marcen escribió:
Under Arch Linux the version works. Map-, Python-Chart are displayed correctly.
Under Ubuntu 20.04.1 the version also works without problems.

Thank you, that PR is merged and latest snapshot builds includes this fix: http://goldencheetah-binaries.s3-website-us-east-1.amazonaws.com/?prefix=Linux/

Giusto Gervasutti

unread,
May 10, 2022, 2:16:22 AM5/10/22
to golden-cheetah-users
I also can confirm that the fix in the latest snapshot is working on Manjaro. 

Thank you for integrating it!

Reply all
Reply to author
Forward
0 new messages