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.

RuntimeError Error opening file [Windows 10 VM - Build 19041.vb_release.191206-1406]

See original GitHub issue

Describe the bug Program crashes when saving audio files. This is happening with multiple songs and always fails after at the 2nd file.

To Reproduce Steps to reproduce the behavior:

  • Cmd (Admin): python VolcalRemover.py

Config:

  • MGM_MAIN_v4_sr44100_hl512_nf2048.pth
  • StackedMGM_MM_v4_sr44100_hl512_nf2048.pth
  • Stack Passes: 3
  • Save All Stacked Outputs
  • Model Test Mode

Expected behavior Audio tracks are saved.

Screenshots

Screen Shot 2020-12-30 at 3 58 37 PM Screen Shot 2020-12-30 at 3 59 05 PM

Desktop (please complete the following information):

  • OS: Windows 10 VM - Build 19041.vb_release.191206-1406

Additional context

C:\Users\User\AppData\Local\Programs\Python\Python37\lib\site-packages\librosa\core\audio.py:161: UserWarning: PySoundFile failed. Trying audioread instead.
  warnings.warn('PySoundFile failed. Trying audioread instead.')
100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 118/118 [07:08<00:00,  3.63s/it]
100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 172/172 [10:38<00:00,  3.71s/it]
  File "C:\Users\User\Desktop\UVR-V4GUI\inference_v4.py", line 486, in main
    save_files(wav_instrument, wav_vocals)
  File "C:\Users\User\Desktop\UVR-V4GUI\inference_v4.py", line 354, in save_files
    wav_instrument.T, sr)
  File "C:\Users\User\AppData\Local\Programs\Python\Python37\lib\site-packages\soundfile.py", line 315, in write
    subtype, endian, format, closefd) as f:
  File "C:\Users\User\AppData\Local\Programs\Python\Python37\lib\site-packages\soundfile.py", line 629, in __init__
    self._file = self._open(file, mode_int, closefd)
  File "C:\Users\User\AppData\Local\Programs\Python\Python37\lib\site-packages\soundfile.py", line 1184, in _open
    "Error opening {0!r}: ".format(self.name))
  File "C:\Users\User\AppData\Local\Programs\Python\Python37\lib\site-packages\soundfile.py", line 1357, in _error_check
    raise RuntimeError(prefix + _ffi.string(err_str).decode('utf-8', 'replace'))

RuntimeError Error opening 'C:/Users/User/Desktop/Karaoke/Vocal Removal/MGM_HIGHEND_v4_sr44100_hl1024_nf2048-StackedMGM_LL_v4_sr32000_hl512_nf2048\\1_O.A.R. - Night Shift Stacked Outputs/1_O.A.R. - Night Shift_(Instrumental_1_Stacked_Output)_MGM_HIGHEND_v4_sr44100_hl1024_nf2048-StackedMGM_LL_v4_sr32000_hl512_nf2048.wav': System error.
Traceback Error: "  File "C:\Users\User\Desktop\UVR-V4GUI\inference_v4.py", line 486, in main
    save_files(wav_instrument, wav_vocals)
  File "C:\Users\User\Desktop\UVR-V4GUI\inference_v4.py", line 354, in save_files
    wav_instrument.T, sr)
  File "C:\Users\User\AppData\Local\Programs\Python\Python37\lib\site-packages\soundfile.py", line 315, in write
    subtype, endian, format, closefd) as f:
  File "C:\Users\User\AppData\Local\Programs\Python\Python37\lib\site-packages\soundfile.py", line 629, in __init__
    self._file = self._open(file, mode_int, closefd)
  File "C:\Users\User\AppData\Local\Programs\Python\Python37\lib\site-packages\soundfile.py", line 1184, in _open
    "Error opening {0!r}: ".format(self.name))
  File "C:\Users\User\AppData\Local\Programs\Python\Python37\lib\site-packages\soundfile.py", line 1357, in _error_check
    raise RuntimeError(prefix + _ffi.string(err_str).decode('utf-8', 'replace'))
"
RuntimeError: "Error opening 'C:/Users/User/Desktop/Karaoke/Vocal Removal/MGM_HIGHEND_v4_sr44100_hl1024_nf2048-StackedMGM_LL_v4_sr32000_hl512_nf2048\\1_O.A.R. - Night Shift Stacked Outputs/1_O.A.R. - Night Shift_(Instrumental_1_Stacked_Output)_MGM_HIGHEND_v4_sr44100_hl1024_nf2048-StackedMGM_LL_v4_sr32000_hl512_nf2048.wav': System error."
File: temp.wav
Loop: 1
Please contact the creator and attach a screenshot of this error with the file and settings that caused it!

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5

github_iconTop GitHub Comments

1reaction
DilanBoskancommented, Jan 9, 2021

Please check the latest commit on the master branch!

1reaction
DilanBoskancommented, Dec 31, 2020

Should be fixed in a few days, thank you for the detailed description!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Incorrect Version on Desktop - Microsoft Community
When I enable windows version on my desktop, its display incorrectly as "Windows 10 Home Build 19041.vb_release.191206-1406" (exactly mentionedΒ ...
Read more >
Win 10 Issues Solved - Windows 10 Forums
Addresses a runtime error that causes VB6 to stop working when duplicate windows messages are sent to WindowProc(). Addresses an issue thatΒ ...
Read more >
virtualbox.org β€’ View topic - runtime error/virtualbox inaccessible
I tried downloading VirtualBox 5.1.6 for Windows hosts, and the virtual box manager popped up with an error message: Runtime error opening ......
Read more >
How to get rid of the "Windows 10 Pro Build 19041.vb_release ...
I recently activated Windows so I could get rid of the "Activate Windows" watermark but now I got this new one. How can...
Read more >
Recently Active 'visual-studio-2017-build-tools' Questions - Page 1 ...
I'm trying to install Hydra 2.5 on a Windows 10 system. I have Visual Studio Build Tools 2022 ... Opening project from server...
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