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.

Scanner failing to restart

See original GitHub issue

Describe the bug After successfully scanning, navigating away and then back to scanner page it fails to open on some devices. It throws the error NotReadableError NotReadableError: Could not start video source.

And then

Error: Uncaught (in promise): Error: No scanning is running at the time.
Error: No scanning is running at the time.
    at O.getScannerControls (https://cenyth.events/12-es2015.2dbdf0a52407038865e6.js:1:665378)
    at t.scanStop (https://cenyth.events/12-es...

The only way to make it work again is to reload the page through the browser.

Expected behavior Scanner should restart successfully after reopening the scanner page and not require a refresh.

Smartphone (please complete the following information):

  • Device: Amazon Kindle
  • OS: Android 5.1.1
  • Browser: Amazon Silk 8.9.27
  • Version v3.1.3

Additional context Angular: 11.2.11 @zxing/browser: 0.0.7 @zxing/library: ^0.18.3 @zxing/ngx-scanner: ^3.1.3

As far as I know this didn’t happen a few versions ago with Angular 10

Issue Analytics

  • State:open
  • Created 2 years ago
  • Reactions:2
  • Comments:19 (1 by maintainers)

github_iconTop GitHub Comments

3reactions
werthdavidcommented, Jun 18, 2021

So I was hoping 3.2.0 would fix the issue which is obviously not the case… Thanks for the information, I’ll see what I can do… PRs much appreciated!

2reactions
guzmanojcommented, May 12, 2021

Happening on my end as well. There’s a PR already in place, any chance to get a new build anytime soon?

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Fix Scanner Not Working in Windows 10 - Driver Easy
1) Hold Down Windows logo and press R key. A Run dialog box will pop up. · 2) Type services.msc in the run...
Read more >
Tips For Rebooting the Scanner When Problem Arise
If you encounter a console crash or other unrecoverable error in the software that runs on the console, your only alternative may be...
Read more >
Solved: Scan to Computer Unavailable after sleep or restart
Open the HP Printer assistant on the PC, go to Scan > Scan to computer > Enable. Try scanning. If the issue persists,....
Read more >
How to Fix Your Scanner When It's Not Working on Windows 11
1. Restart the Windows Image Acquisition Service · 2. Run the Hardware and Devices Troubleshooter · 3. Update Your Scanner's Drivers · 4....
Read more >
Fix Scanning and Repairing Drive Stuck - Tenorshare 4DDiG
Fix 1: Check the Drive Status · Fix 2: Use Windows Error Checking Tool · Fix 3: Wait for the Completion of Scanning...
Read more >

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