jolness1
Dabbler
- Joined
- May 21, 2020
- Messages
- 29
I am wanting to contribute to TrueNAS (specifically the FE as I need a refresher) to add a few things that I think might be useful (devs can decide on that, even if they think they're bad ideas, that's okay with me) and got everything set up but when I try to log in via my locally running webui I get an error originating in the middleware. I could spin up an instance locally of the backend but would like to just use my server already running TrueNAS if possible.
Hoping there are either docker containers available so I can see if it is related to my version (latest stable) of TrueNAS Scale and if not, get it debugged or that someone can point me in the right direction on how they would debug this. My primary dev machine is a mac (I know, I know) but I can install debian on my PC if that's what it takes to get this built and running in a way that I can debug it
Error follows the paragraph. I went through the middleware code and it seems like there should be 2 arguments passed in for authentication, not super familiar with the codebase yet though so I may be missing something.Tough to debug without being able to run at least middleware locally.
Thanks in advance!
Hoping there are either docker containers available so I can see if it is related to my version (latest stable) of TrueNAS Scale and if not, get it debugged or that someone can point me in the right direction on how they would debug this. My primary dev machine is a mac (I know, I know) but I can install debian on my PC if that's what it takes to get this built and running in a way that I can debug it
Error follows the paragraph. I went through the middleware code and it seems like there should be 2 arguments passed in for authentication, not super familiar with the codebase yet though so I may be missing something.Tough to debug without being able to run at least middleware locally.
Code:
[EFAULT] Too many arguments (expected 0, found 2) remove_circle_outline More info... Error: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/middlewared/main.py", line 184, in call_method result = await self.middleware._call(message['method'], serviceobj, methodobj, params, app=self) File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1317, in _call return await methodobj(*prepared_call.args) File "/usr/lib/python3/dist-packages/middlewared/schema.py", line 1378, in nf args, kwargs = clean_and_validate_args(args, kwargs) File "/usr/lib/python3/dist-packages/middlewared/schema.py", line 1347, in clean_and_validate_args raise CallError(f'Too many arguments (expected {len(nf.accepts)}, found {len(args[args_index:])})') middlewared.service_exception.CallError: [EFAULT] Too many arguments (expected 0, found 2)
Thanks in advance!