Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when running script #22

Open
blazpavlica opened this issue Aug 7, 2023 · 13 comments
Open

Error when running script #22

blazpavlica opened this issue Aug 7, 2023 · 13 comments

Comments

@blazpavlica
Copy link

I used the scripts a few months ago, today when I run, I get this error:

D:\RIP\medvešček\A1-001-glued piščal pekli-glued_nmf_214538903009241.wav failed to be made by the command line.
stack traceback:
	D:\RIP\ReaCoMa 2.0\lib/utils.lua:122: in function 'utils.assert'
	D:\RIP\ReaCoMa 2.0\lib/layers.lua:13: in function 'layers.exist'
	D:\RIP\ReaCoMa 2.0\lib/layers.lua:43: in function 'layers.process_all_items'
	D:\RIP\ReaCoMa 2.0\lib/algorithms/nmf.lua:38: in function 'algorithms/nmf.perform_update'
	D:\RIP\ReaCoMa 2.0\lib/imgui_helpers.lua:94: in function 'imgui_helpers.process'
	D:\RIP\ReaCoMa 2.0\lib/imgui_wrapper.lua:31: in function 'imgui_wrapper.loop'
	D:\RIP\ReaCoMa 2.0\lib/imgui_wrapper.lua:110: in function <D:\RIP\ReaCoMa 2.0\lib/imgui_wrapper.lua:109>
@jamesb93
Copy link
Contributor

jamesb93 commented Aug 7, 2023

Which version are you using?

@blazpavlica
Copy link
Author

blazpavlica commented Aug 7, 2023

Hi, it was version 2. Now I downloaded the latest release and updated Reaper. Now I get a different error:
D:\RIP\ReaCoMa 2.0\lib/utils.lua:16: attempt to index a nil value (field 'debug')

D:\RIP\medvešček\A1-001-glued_nmf_215533437567841.wav failed to be made by the command line.

The most recent CLI call was:

"D:\RIP\ReaCoMa 2.0\bin/fluid-nmf" -source "D:\RIP\medvešček\A1-001-glued.wav" -resynth "D:\RIP\medvešček\A1-001-glued_nmf_215533437567841.wav" -resynthmode 1 -iterations 253 -components 2 -fftsettings 1024 512 1024 -1 -numframes 1181711 -startframe 32422172

Does this help?

@jamesb93
Copy link
Contributor

jamesb93 commented Aug 7, 2023

A little! What is the "latest"? Which release?

@blazpavlica
Copy link
Author

ReaCoMa: 2.9.0, Reaper: 6.81
Let me know if you need any other test.

@jamesb93
Copy link
Contributor

jamesb93 commented Aug 7, 2023

Then it seems you found a bug :)

I have a few features in the works anyway and I've been hankering to make a release. If I give you a pre-release beta can you take it for a spin for me? Should be in the next day, maybe this evening Berlin time?

@blazpavlica
Copy link
Author

Sure, happy to help. :)

@jamesb93
Copy link
Contributor

jamesb93 commented Aug 7, 2023

https://github.com/ReaCoMa/ReaCoMa-2.0/releases/tag/2.10

Can you try this one for me @blazpavlica?

@blazpavlica
Copy link
Author

I ran it and I get this:

configuration.lua:8: cannot open file 'C:\Users\Blazen\AppData\Roaming\REAPER/Scripts/reacoma.ini' (No such file or directory)

Did I forget to install something?

@jamesb93
Copy link
Contributor

jamesb93 commented Aug 9, 2023

No you found an oversight by me. I've changed to making it possible to use a .ini file to configure reacoma going forward, but it shouldn't bail if it doesn't exist and should gracefully continue. I'll fix this now...

@jamesb93
Copy link
Contributor

jamesb93 commented Aug 9, 2023

Can you try this new build? Same tag / version but I updated that function.

https://github.com/ReaCoMa/ReaCoMa-2.0/releases/tag/2.10

@blazpavlica
Copy link
Author

It's now showing the original error again:

D:\RIP\medvešček\A1-001-glued_nmf_2947728185151.wav failed to be made by the command line.

The most recent CLI call was:

"D:\RIP\ReaCoMa 2.0\bin/fluid-nmf" -source "D:\RIP\medvešček\A1-001-glued.wav" -resynth "D:\RIP\medvešček\A1-001-glued_nmf_2947728185151.wav" -resynthmode 1 -iterations 100 -components 2 -fftsettings 1024 512 1024 -1 -numframes 1181711 -startframe 32422172

stack traceback:
	D:\RIP\ReaCoMa 2.0\lib/utils.lua:96: in function 'utils.assert'
	D:\RIP\ReaCoMa 2.0\lib/layers.lua:10: in function 'layers.output_exists'
	D:\RIP\ReaCoMa 2.0\lib/layers.lua:16: in function 'layers.exist'
	D:\RIP\ReaCoMa 2.0\lib/layers.lua:38: in function 'layers.process_all_items'
	D:\RIP\ReaCoMa 2.0\lib/algorithms/nmf.lua:36: in function 'algorithms/nmf.perform_update'
	D:\RIP\ReaCoMa 2.0\lib/imgui/helpers.lua:96: in function 'imgui/helpers.process'
	D:\RIP\ReaCoMa 2.0\lib/imgui/wrapper.lua:26: in function 'imgui/wrapper.loop'
	D:\RIP\ReaCoMa 2.0\lib/imgui/wrapper.lua:115: in function <D:\RIP\ReaCoMa 2.0\lib/imgui/wrapper.lua:114>

@jamesb93
Copy link
Contributor

Okay. This is actually a good thing because we are now at a state where the problem is only a few things.

The failure to create the output file can be a number of things. The best way to test is for you to supply me with the file and see if it works here. That will tell us where the problem exists.

@blazpavlica
Copy link
Author

Hey, sorry for late response, here is the file: https://we.tl/t-BAOqMEKIzC

To be sure, I checked in another project with two other files and it worked. So it is only this file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants