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

psycopg2.errors.NotNullViolation: null value in column "complete_xml_url" violates not-null constraint #108

Open
new-see opened this issue Jun 22, 2021 · 1 comment

Comments

@new-see
Copy link

new-see commented Jun 22, 2021

Добрый день!

При выполнении команды python manage.py fias --src /path/to/fias_dbf.zip вылетает с ошибкой

django.db.utils.IntegrityError: null value in column "complete_xml_url" violates not-null constraint DETAIL: Failing row contains (20210622, null, 2021-06-22, null, null, null, null)

django 3.2
django-fias 2.0.0
python 3.6

Подскажите пожалуйста в чем проблема?

@toshiroakio
Copy link

fias\importer\version.py in parse_item_as_object insert code
if not item.FiasCompleteXmlUrl or not item.FiasCompleteDbfUrl: return

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

No branches or pull requests

2 participants