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

Bulk Processor Gets stuck on Certain Files #28

Open
inkenbrandt opened this issue Jun 8, 2022 · 1 comment
Open

Bulk Processor Gets stuck on Certain Files #28

inkenbrandt opened this issue Jun 8, 2022 · 1 comment
Labels

Comments

@inkenbrandt
Copy link
Member

inkenbrandt commented Jun 8, 2022

Traceback (most recent call last):
File "tkinter_init_.py", line 1705, in call
File "llgui.py", line 291, in
File "llgui.py", line 470, in make_file_info_table
File "loader.py", line 1430, in xle_head
File "loader.py", line 983, in init
File "loader.py", line 1257, in new_xle_imp
File "pandas\core\tools\datetimes.py", line 808, in to_datetime
File "pandas\core\tools\datetimes.py", line 908, in _assemble_from_unit_mappings
ValueError: to assemble mappings requires at least that [year, month, day] be specified: [day,month,year] is missing

Add error handling for this line: f['DateTime'] = pd.to_datetime(f.apply(lambda x: x['Date'] + ' ' + x['Time'], 1))

@inkenbrandt inkenbrandt added the bug label Jun 8, 2022
@inkenbrandt
Copy link
Member Author

Issue happened on files without data. Need to recognize files without data.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant