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

spesmilo / electrum / 11600
65%

Build:
DEFAULT BRANCH: master
Ran 14 Apr 2021 03:14AM UTC
Jobs 3
Files 66
Run time 24s
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

pending completion
11600

push

travis-ci

SomberNight
logging: handle "cannot delete old logfile" error

E.g. on Windows, files open in one process cannot be deleted by another process.
With file logging enabled, if an old logfile was open in a text editor,
Electrum could crash during startup.

```
E | __main__ |
Traceback (most recent call last):
  File "...\electrum\run_electrum", line 391, in main
    handle_cmd(
  File "...\electrum\run_electrum", line 403, in handle_cmd
    configure_logging(config)
  File "...\electrum\electrum\logging.py", line 278, in configure_logging
    _configure_file_logging(log_directory)
  File "...\electrum\electrum\logging.py", line 107, in _configure_file_logging
    _delete_old_logs(log_directory)
  File "...\electrum\electrum\logging.py", line 98, in _delete_old_logs
    os.remove(str(f))
PermissionError: [WinError 32] The process cannot access the file because it is being used by another process: '...\\AppData\\Roaming\\Electrum\\testnet\\logs\\electrum_log_20210414T023751Z_25008.log'
```

15191 of 26074 relevant lines covered (58.26%)

1.75 hits per line

Jobs
ID Job ID Ran Files Coverage
1 11600.1 14 Apr 2021 03:14AM UTC 0
58.2
Travis Job 11600.1
2 11600.2 14 Apr 2021 03:15AM UTC 0
58.2
Travis Job 11600.2
3 11600.3 14 Apr 2021 03:14AM UTC 0
58.43
Travis Job 11600.3
Source Files on build 11600
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #11600
  • 7335a584 on github
  • Prev Build on master (#11599)
  • Next Build on master (#11601)
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