question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

"Holdings" chart fails to render

See original GitHub issue

I’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:open
  • Created 2 years ago
  • Reactions:14
  • Comments:12 (3 by maintainers)

github_iconTop GitHub Comments

3reactions
digedagcommented, Feb 13, 2022

@rimatech987 Go to preferences and active Use SWTChart library for pie charts. The feature is still work in progress.

3reactions
0xguicommented, Aug 28, 2021

Having the same problem in Debian 11.

Read more comments on GitHub >

github_iconTop Results From Across the Web

No results found

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found