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

gn2pg_import - error_count donnée en entrée invalide #18

Closed
DonovanMaillard opened this issue Nov 1, 2021 · 2 comments
Closed

gn2pg_import - error_count donnée en entrée invalide #18

DonovanMaillard opened this issue Nov 1, 2021 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@DonovanMaillard
Copy link

DonovanMaillard commented Nov 1, 2021

Launching command gn2pg_cli --full myconfigfile, returns synax error (error_count data is not an integer)

sqlalchemy.exc.DataError: (psycopg2.errors.InvalidTextRepresentation) ERREUR: syntaxe en entrée invalide pour le type integer : « data »
LINE 1: ...t, http_status, comment) VALUES ('flaviabase', 0, 'data', 0,...
^

[SQL: INSERT INTO gn2pg_import.download_log (source, controler, error_count, http_status, comment) VALUES (%(source)s, %(controler)s, %(error_count)s, %(http_status)s, %(comment)s)]
[parameters: {'source': 'flaviabase', 'controler': 0, 'error_count': 'data', 'http_status': 0, 'comment': 0}]

@lpofredc lpofredc self-assigned this Nov 2, 2021
@lpofredc lpofredc added the bug Something isn't working label Nov 2, 2021
@camillemonchicourt
Copy link
Contributor

Fixed in 0.1.2

@DonovanMaillard
Copy link
Author

fonctionnel ;) Merci

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants