• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

spesmilo / electrum / 6107389699555328
63%

Build:
DEFAULT BRANCH: master
Ran 16 Aug 2023 05:44PM UTC
Jobs 5
Files 78
Run time 2s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

16 Aug 2023 05:38PM UTC coverage: 59.008%. Remained the same
6107389699555328

push

CirrusCI

SomberNight
qt gui: input_qr_from_screenshot: better msg if screenshot is black

The input_qr_from_screenshot functionality is broken on some Linux machines:
on some machines, `screen.grabWindow(0)` returns an all-black image.

In such cases, instead of telling the user "No QR code was found on the screen",
we will tell them "Failed to take screenshot".

To test:
`QApplication.instance().primaryScreen().grabWindow(0).save("/home/user/wspace/tmp/pic2.png", "png")`

Tested on:
- machine 1:
    - ubuntu 22.04, gnome, wayland
    - pyqt.version: 5.15.9
    - qt.version: 5.15.2
    => gets all-black image for screenshot
- machine 2:
    - manjaro, kde, x11
    - pyqt.version: 5.15.9
    - qt.version: 5.15.8
    => screenshot works

I guess it might be due to x11 vs wayland.

18588 of 31501 relevant lines covered (59.01%)

2.94 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
92.54
-0.25% electrum/lnhtlc.py
Jobs
ID Job ID Ran Files Coverage
1 6107389699555328.1 16 Aug 2023 05:44PM UTC 78
58.86
2 6107389699555328.2 16 Aug 2023 05:45PM UTC 78
58.88
3 6107389699555328.3 16 Aug 2023 05:46PM UTC 78
58.9
4 6107389699555328.4 16 Aug 2023 05:47PM UTC 78
58.86
5 6107389699555328.5 16 Aug 2023 05:59PM UTC 78
58.89
Source Files on build 6107389699555328
  • Tree
  • List 78
  • Changed 3
  • Source Changed 0
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Build #61073896...
  • 635880b3 on github
  • Prev Build on master (#52142615...)
  • Next Build on master (#60338734...)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc