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

Bug Fix Handle NoneType Error For Cloud Push Command #393

Merged

Conversation

rjra2611
Copy link
Member

@rjra2611 rjra2611 commented Jan 3, 2024

Fixes missing argument to call.
Related To: #385

User Report

Python version: 3.11.4 (main, Jul 5 2023, 14:15:25) [GCC 11.2.0]
OS: Linux-6.2.0-37-generic-x86_64-with-glibc2.35
Lean CLI version: 1.0.175
Traceback (most recent call last):
File "/home/hindermj/anaconda3/lib/python3.11/site-packages/lean/main.py", line 94, in main
lean.main(standalone_mode=False)
File "/home/hindermj/anaconda3/lib/python3.11/site-packages/click/core.py", line 1053, in main
rv = self.invoke(ctx)
^^^^^^^^^^^^^^^^
File "/home/hindermj/anaconda3/lib/python3.11/site-packages/click/core.py", line 1659, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/hindermj/anaconda3/lib/python3.11/site-packages/click/core.py", line 1659, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/hindermj/anaconda3/lib/python3.11/site-packages/lean/click.py", line 159, in invoke
result = super().invoke(ctx)
^^^^^^^^^^^^^^^^^^^
File "/home/hindermj/anaconda3/lib/python3.11/site-packages/click/core.py", line 1395, in invoke
return ctx.invoke(self.callback, **ctx.params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/hindermj/anaconda3/lib/python3.11/site-packages/click/core.py", line 754, in invoke
return __callback(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/hindermj/anaconda3/lib/python3.11/site-packages/lean/commands/cloud/push.py", line 71, in push
push_manager.push_projects(projects_to_push, encryption_action, key)
File "/home/hindermj/anaconda3/lib/python3.11/site-packages/lean/components/cloud/push_manager.py", line 66, in push_projects
all_projects_to_push = associated_libraries_to_push + projects_to_push
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
TypeError: unsupported operand type(s) for +: 'NoneType' and 'list'

@Martin-Molinero Martin-Molinero merged commit df6ee12 into QuantConnect:master Jan 3, 2024
20 checks passed
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

Successfully merging this pull request may close these issues.

2 participants