gristlabs_grist-core/sandbox/grist/imports
Dmitry S e59dcc142d (core) Show proper message on empty Excel import, rather than a code error
Summary:
- Previously showed "UnboundLocalError". Now will show:
    Import failed: Failed to parse Excel file.
    Error: No tables found (1 empty tables skipped)
- Also fix logging for import code

Test Plan: Added a test case

Reviewers: georgegevoian

Reviewed By: georgegevoian

Differential Revision: https://phab.getgrist.com/D3396
2022-04-27 00:49:28 -04:00
..
fixtures (core) Fix import parsing from choking up on Python isdigit() surprises 2021-09-20 16:17:34 -04:00
__init__.py (core) move data engine code to core 2020-07-29 08:57:25 -04:00
import_csv.py (core) Move file import plugins into core/sandbox/grist 2021-08-09 18:37:14 +02:00
import_json.py (core) When importing JSON, create columns of type Numeric rather than Int 2022-03-30 09:54:35 -04:00
import_utils.py (core) Move file import plugins into core/sandbox/grist 2021-08-09 18:37:14 +02:00
import_xls.py (core) Show proper message on empty Excel import, rather than a code error 2022-04-27 00:49:28 -04:00
register.py (core) Move file import plugins into core/sandbox/grist 2021-08-09 18:37:14 +02:00
test_import_csv.py (core) Lossless imports 2022-03-08 12:14:39 +02:00
test_import_json.py (core) When importing JSON, create columns of type Numeric rather than Int 2022-03-30 09:54:35 -04:00
test_import_xls.py (core) Lossless imports 2022-03-08 12:14:39 +02:00
test_messytables.py (core) Simple Python 3 compatibility changes 2021-06-22 17:13:17 +02:00