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

blank "Processor_args" causes gui error #29

Open
XieLuanLab opened this issue May 2, 2024 · 1 comment
Open

blank "Processor_args" causes gui error #29

XieLuanLab opened this issue May 2, 2024 · 1 comment

Comments

@XieLuanLab
Copy link

Hi,

We meet some problems when set the processor.

When we click "set proc" button in the GUI, the code in lines 1006-1010 fails to execute because self.cfg['processor_args'] is None, as indicated in the variable panel. This issue is from the config file, where "processor_arg" was blank (as shown in top vscod panel). After commenting out lines 1006-1010, the error no longer appears. Is it acceptable to leave these lines commented, or should we initialize processor_args in the JSON file from the start?

Thank you!


error

@tomsains
Copy link

tomsains commented May 2, 2024

Ok so it looks like because this is the first time your using that processor so the data is not yet saved into the config files. The GUI is set up so that you shouldn't have to manually change the data in the config file. Could you try hitting "edit processor settings" and then just saving them, then hitting "Set Proc" and let me know if this works.

"Is it acceptable to leave these lines commented, or should we initialize processor_args in the JSON file from the start?"
This would mean that you cannot feed in arguments to the processor file. You will want to be able to do this if you want to do some closed loop processes such as writing to a teensy or sync step for example.

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