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

Firenado project init is broken #138

Closed
piraz opened this issue Sep 4, 2016 · 0 comments
Closed

Firenado project init is broken #138

piraz opened this issue Sep 4, 2016 · 0 comments
Assignees

Comments

@piraz
Copy link
Contributor

piraz commented Sep 4, 2016

The management task project init is broken. Here is the error:

Traceback (most recent call last):
  File "../virtualenv/bin/firenado", line 11, in <module>
    sys.exit(run_from_command_line())
  File "../site-packages/firenado/management/management.py", line 49, in run_from_command_line
    run_command(namespace.command, sys.argv[command_index-1:])
  File "../site-packages/firenado/management/management.py", line 102, in run_command
    existing_command.run(args)
  File "../site-packages/firenado/management/management.py", line 157, in run
    subcommand.run(unresolved_args)
  File "../site-packages/firenado/management/management.py", line 161, in run
    self.run_tasks(args)
  File "../site-packages/firenado/management/management.py", line 182, in run_tasks
    task.run(namespace)
  File "../site-packages/firenado/management/tasks.py", line 52, in run
    project_init_content)
  File "../site-packages/firenado/util/file.py", line 59, in write
    f.write(data)
TypeError: must be str, not bytes

The error is happening on python 3.x.

@piraz piraz added this to the firenado 0.1.6.0 milestone Sep 4, 2016
@piraz piraz self-assigned this Sep 4, 2016
piraz added a commit to piraz/firenado that referenced this issue Sep 8, 2016
@piraz piraz closed this as completed in e4f3dd5 Sep 8, 2016
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

1 participant