Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

django-lint-migrations@2.5.0 fails after update

See original GitHub issue


+ python lintmigrations --exclude-apps=axes --warnings-as-errors
Traceback (most recent call last):
  File "", line 31, in <module>
  File "", line 27, in main
  File "/usr/local/lib/python3.8/site-packages/django/core/management/", line 381, in execute_from_command_line
  File "/usr/local/lib/python3.8/site-packages/django/core/management/", line 375, in execute
  File "/usr/local/lib/python3.8/site-packages/django/core/management/", line 323, in run_from_argv
    self.execute(*args, **cmd_options)
  File "/usr/local/lib/python3.8/site-packages/django/core/management/", line 364, in execute
    output = self.handle(*args, **options)
  File "/usr/local/lib/python3.8/site-packages/django_migration_linter/management/commands/", line 133, in handle
  File "/usr/local/lib/python3.8/", line 697, in read
    self._read(fp, filename)
  File "/usr/local/lib/python3.8/", line 1082, in _read
    raise MissingSectionHeaderError(fpname, lineno, line)
configparser.MissingSectionHeaderError: File contains no section headers.
file: '.editorconfig', line: 3
'root = true\n'

CI link: Reproduction:

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:10 (5 by maintainers)

github_iconTop GitHub Comments

sobolevncommented, Feb 1, 2021

@skarzi just to be clear: this is a valid .editorconfig format.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Issue migrating with version 2.5.0 #245 - GitHub
I just upgraded to version 2.5.0, removed the entry in MIGRATION_MODULES, and ran migrate. I got this strange error.
Read more >
Problem in panel of Django3.0 after migrations - Stack Overflow
i create a django project; enable (venv); makemigrations; migrate; pip install -r requirements.txt; copy to settinigs_local project; python ...
Read more >
Migrations - Django documentation
Migrations ¶. Migrations are Django's way of propagating changes you make to your models (adding a field, deleting a model, etc.) into your...
Read more >
Katello 3.15 upgrade failure with "python3-django-admin ...
Tried updating Katello 3.14 installation to 3.15. “foreman-installer --scenario katello --upgrade” run ended with: 'python3-django-admin migrate ...
Read more >
django-linear-migrations - PyPI
txt file to determine which migration to rebase. It will then rename the migration, edit it to depend on the new migration in...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found