"Holdings" chart fails to render
See original GitHub issueI’m using Portfolio Performance 0.51.3 on Arch Linux and am experiencing the issue described by someone else here. Namely, clicking on the “Holdings” report renders the pie chart only the first time. When clicking away and then clicking again on “Holdings”, the chart is not present. Instead, the following is emitted to stdout, every time “Holdings” is selected:
SWT WebKitGDBus: there was an error executing something synchronously with the extension.
SWT WebKitGDBus: the error message is: The connection is closed
SWT webkit: failure registering BrowserFunction loadData
This is with the webkit2gtk package version 2.32.0-1 installed, which has /usr/lib/libwebkit2gtk-4.0.so.37.53.1.
I tried installing the webkitgtk package version 2.4.11-22 instead, which has /usr/lib/libwebkitgtk-3.0.so.0.22.17, but to no avail – Portfolio Performance gives me the dreaded “Unable to create embedded browser to display charts […] On Linux one has to install the packet ‘libwebkitgtk-3.0-0’” message instead and shows no Holdings chart at all.
Probably not relevant, but my window manager is sway (Wayland-based) and I’m forcing Portfolio Performance to use Xwayland by setting GDK_BACKEND=x11
. Otherwise, much more flakeyness ensues 😃
Issue Analytics
- State:
- Created 2 years ago
- Reactions:14
- Comments:12 (3 by maintainers)
Top GitHub Comments
@rimatech987 Go to preferences and active Use SWTChart library for pie charts. The feature is still work in progress.
Having the same problem in Debian 11.