Look for assistance in debugging `ValueError: unex...
# python
f
Look for assistance in debugging
ValueError: unexpected input of type tuple
where in my code is the problem? I code base is large so I don’t want to post it and the error message to my newbie eyes does not tell me where to start looking. Complete error message below
Copy code
Diagnostics:
  pulumi:pulumi:Stack (pulumi_judging_portal-comap006):
    E1121 18:11:33.224615000 4330784128 <http://fork_posix.cc:76]|fork_posix.cc:76]>                  Other threads are currently calling into gRPC, skipping fork() handlers

    error: Program failed with an unhandled exception:
    Traceback (most recent call last):
      File "/opt/homebrew/bin/pulumi-language-python-exec", line 192, in <module>
        loop.run_until_complete(coro)
      File "/opt/homebrew/Cellar/python@3.9/3.9.15/Frameworks/Python.framework/Versions/3.9/lib/python3.9/asyncio/base_events.py", line 647, in run_until_complete
        return future.result()
      File "/Users/tanner/projects/clients/comap.com/judging-portal/pulumi/venv/lib/python3.9/site-packages/pulumi/runtime/stack.py", line 126, in run_in_stack
        await run_pulumi_func(lambda: Stack(func))
      File "/Users/tanner/projects/clients/comap.com/judging-portal/pulumi/venv/lib/python3.9/site-packages/pulumi/runtime/stack.py", line 51, in run_pulumi_func
        await wait_for_rpcs()
      File "/Users/tanner/projects/clients/comap.com/judging-portal/pulumi/venv/lib/python3.9/site-packages/pulumi/runtime/stack.py", line 73, in wait_for_rpcs
        await RPC_MANAGER.rpcs.pop()
      File "/Users/tanner/projects/clients/comap.com/judging-portal/pulumi/venv/lib/python3.9/site-packages/pulumi/runtime/rpc_manager.py", line 68, in rpc_wrapper
        result = await rpc
      File "/Users/tanner/projects/clients/comap.com/judging-portal/pulumi/venv/lib/python3.9/site-packages/pulumi/output.py", line 100, in is_value_known
        return await is_known and not contains_unknowns(await future)
      File "/Users/tanner/projects/clients/comap.com/judging-portal/pulumi/venv/lib/python3.9/site-packages/pulumi/output.py", line 100, in is_value_known
        return await is_known and not contains_unknowns(await future)
      File "/Users/tanner/projects/clients/comap.com/judging-portal/pulumi/venv/lib/python3.9/site-packages/pulumi/output.py", line 100, in is_value_known
        return await is_known and not contains_unknowns(await future)
      [Previous line repeated 5 more times]
      File "/Users/tanner/projects/clients/comap.com/judging-portal/pulumi/venv/lib/python3.9/site-packages/pulumi/runtime/resource.py", line 514, in do_register
        resolver = await prepare_resource(res, ty, custom, remote, props, opts, typ)
      File "/Users/tanner/projects/clients/comap.com/judging-portal/pulumi/venv/lib/python3.9/site-packages/pulumi/runtime/resource.py", line 124, in prepare_resource
        serialized_props = await rpc.serialize_properties(
      File "/Users/tanner/projects/clients/comap.com/judging-portal/pulumi/venv/lib/python3.9/site-packages/pulumi/runtime/rpc.py", line 207, in serialize_properties
        result = await serialize_property(
      File "/Users/tanner/projects/clients/comap.com/judging-portal/pulumi/venv/lib/python3.9/site-packages/pulumi/runtime/rpc.py", line 488, in serialize_property
        raise ValueError(f"unexpected input of type {type(value).__name__}")
    ValueError: unexpected input of type tuple
r
sounds like u might be adding some extra brackets somewhere?