Skip to content

handle blank lines in Procfile and Deployfile #7

@trnubo

Description

@trnubo

Getting the following error

Traceback (most recent call last):
File "/usr/src/app/.venv/bin/bureaucrat", line 407, in <module>
args.func(args)
File "/usr/src/app/.venv/bin/bureaucrat", line 343, in init
deploy(args)
File "/usr/src/app/.venv/bin/bureaucrat", line 338, in deploy
b = bureaucrat_init(args, process_file='Deployfile', create_pids=False)
File "/usr/src/app/.venv/bin/bureaucrat", line 317, in bureaucrat_init
b.load_processfile(process_file, create_pids, named_procs)
File "/usr/src/app/.venv/bin/bureaucrat", line 226, in load_processfile
named_procs)
File "/usr/src/app/.venv/bin/bureaucrat", line 158, in __init__
self.processes = self._parse_process_file(process_file, log_path, pid_path)
File "/usr/src/app/.venv/bin/bureaucrat", line 188, in _parse_process_file
raise Exception('Bad Process file line')
Exception: Bad Process file line

And think its due to a Deployfile containing blank lines.

migrate: manage.py migrate --noinput


Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions