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

rsync deployment is successful but exception and traceback result #3505

Closed
neildarlow opened this issue Jan 27, 2021 · 2 comments
Closed

rsync deployment is successful but exception and traceback result #3505

neildarlow opened this issue Jan 27, 2021 · 2 comments

Comments

@neildarlow
Copy link

neildarlow commented Jan 27, 2021

Environment

Python Version: 3.8.2-0ubuntu2

Nikola Version: v8.1.2

Operating System: Linux Mint 20.1 Cinnamon

Description: Performing rsync deployment results in traceback.

Nikola installed as described in Getting Started Guide.
The deployment is successful but I receive the following traceback:

[2021-01-27 15:23:47] INFO: deploy: Successful deployment
Traceback (most recent call last):
File "/home/neil/nikola/lib/python3.8/site-packages/doit/doit_cmd.py", line 190, in run
return command.parse_execute(args)
File "/home/neil/nikola/lib/python3.8/site-packages/doit/cmd_base.py", line 150, in parse_execute
return self.execute(params, args)
File "/home/neil/nikola/lib/python3.8/site-packages/nikola/plugin_categories.py", line 145, in execute
return self._execute(options, args)
File "/home/neil/nikola/lib/python3.8/site-packages/nikola/plugins/command/deploy.py", line 99, in _execute
self._emit_deploy_event(last_deploy, new_deploy, clean, undeployed_posts)
UnboundLocalError: local variable 'clean' referenced before assignment

EDIT: Formatted traceback a little.

@Kwpolska
Copy link
Member

Duplicate of #3502, #3500 and #3479. Please search existing issues before creating a new one.

@neildarlow
Copy link
Author

Oh my bad. To be fair the default search only searches open bugs and the duplicates have been closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants