# flytekit

Andrés Gómez Ferrer

11/24/2022, 4:37 PM
Hi everyone! I want to report a possible issue that I've detected today working with chain and remote tasks. I've tried to find some related issues in but I didn't find any similar. I want to share this with you here before creating a bug in the issues site. The problem: Chain a task with a remote task that doesn't have outputs doesn't work correctly.
Copy code
task >> remote_task_without_outputs
How to reproduce: 1. Build the docker image using the
script. 2. Generate the protocol buffers using
pyflyte serialize workflows -f /tmp/_pb_output
command (with all needed env vars). 3. Example gist with code: _You must register the
on the cluster first, to use it on a remote reference._ Traceback:
Copy code
Traceback (most recent call last):
  File "/Users/andresg/workspace/andres-cookie-python-test/venv/bin/pyflyte", line 8, in <module>
  File "/Users/andresg/workspace/andres-cookie-python-test/venv/lib/python3.8/site-packages/click/", line 1130, in __call__
    return self.main(*args, **kwargs)
  File "/Users/andresg/workspace/andres-cookie-python-test/venv/lib/python3.8/site-packages/click/", line 1055, in main
    rv = self.invoke(ctx)
  File "/Users/andresg/workspace/andres-cookie-python-test/venv/lib/python3.8/site-packages/click/", line 1657, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/Users/andresg/workspace/andres-cookie-python-test/venv/lib/python3.8/site-packages/click/", line 1657, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/Users/andresg/workspace/andres-cookie-python-test/venv/lib/python3.8/site-packages/click/", line 1404, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/Users/andresg/workspace/andres-cookie-python-test/venv/lib/python3.8/site-packages/click/", line 760, in invoke
    return __callback(*args, **kwargs)
  File "/Users/andresg/workspace/andres-cookie-python-test/venv/lib/python3.8/site-packages/click/", line 26, in new_func
    return f(get_current_context(), *args, **kwargs)
  File "/Users/andresg/workspace/andres-cookie-python-test/venv/lib/python3.8/site-packages/flytekit/clis/sdk_in_container/", line 139, in workflows
  File "/Users/andresg/workspace/andres-cookie-python-test/venv/lib/python3.8/site-packages/flytekit/exceptions/", line 162, in system_entry_point
    raise ex.value
  File "/Users/andresg/workspace/andres-cookie-python-test/venv/lib/python3.8/site-packages/flytekit/exceptions/", line 203, in user_entry_point
    return wrapped(*args, **kwargs)
  File "/Users/andresg/workspace/andres-cookie-python-test/src/andres_cookie_python_test/", line 37, in workflow_test
    fly_task >> print_task
  File "/Users/andresg/workspace/andres-cookie-python-test/venv/lib/python3.8/site-packages/flytekit/core/", line 353, in __rshift__
AttributeError: 'NoneType' object has no attribute 'node'
More info: I've checked that the NoneType is
. Thanks in advance! flyte ❤️

Ketan (kumare3)

11/24/2022, 6:11 PM
Can you please file this as an issue
Helps keep track

Andrés Gómez Ferrer

11/24/2022, 6:12 PM
Yeah sure!