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

Error and freez in panda lib #34

Open
Wilkuuu opened this issue Feb 4, 2024 · 0 comments
Open

Error and freez in panda lib #34

Wilkuuu opened this issue Feb 4, 2024 · 0 comments

Comments

@Wilkuuu
Copy link

Wilkuuu commented Feb 4, 2024

Exception in thread Thread-1 (process_directory):
Traceback (most recent call last):
File "/home/wilk/.local/lib/python3.10/site-packages/pandas/core/arrays/datetimes.py", line 2192, in objects_to_datetime64ns
values, tz_parsed = conversion.datetime_to_datetime64(data.ravel("K"))
File "pandas/_libs/tslibs/conversion.pyx", line 359, in pandas._libs.tslibs.conversion.datetime_to_datetime64
TypeError: Unrecognized value type: <class 'str'>

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/lib/python3.10/threading.py", line 1016, in _bootstrap_inner
self.run()
File "/usr/lib/python3.10/threading.py", line 953, in run
self._target(*self._args, **self._kwargs)
File "/media/wilk/PV/Safe-and-Stable-Ckpt2Safetensors-Conversion-Tool-GUI/run_app_gui.py", line 153, in process_directory
cpbar.progress_bar_custom(idx-1,len(input_directory_path_list),start_time,window,PBAR_KEY,"file")
File "/media/wilk/PV/Safe-and-Stable-Ckpt2Safetensors-Conversion-Tool-GUI/util/progress_bar_custom.py", line 110, in progress_bar_custom
time_left = format_sec((range/it_per_sec)-(time_diff))
File "/media/wilk/PV/Safe-and-Stable-Ckpt2Safetensors-Conversion-Tool-GUI/util/progress_bar_custom.py", line 103, in format_sec
formated_sec = pd.to_datetime(formated_sec_step_1).strftime('%H:%M:%S')
File "/home/wilk/.local/lib/python3.10/site-packages/pandas/core/tools/datetimes.py", line 914, in to_datetime
result = convert_listlike(np.array([arg]), format)[0]
File "/home/wilk/.local/lib/python3.10/site-packages/pandas/core/tools/datetimes.py", line 401, in _convert_listlike_datetimes
result, tz_parsed = objects_to_datetime64ns(
File "/home/wilk/.local/lib/python3.10/site-packages/pandas/core/arrays/datetimes.py", line 2198, in objects_to_datetime64ns
raise err
File "/home/wilk/.local/lib/python3.10/site-packages/pandas/core/arrays/datetimes.py", line 2180, in objects_to_datetime64ns
result, tz_parsed = tslib.array_to_datetime(
File "pandas/_libs/tslib.pyx", line 379, in pandas._libs.tslib.array_to_datetime
File "pandas/_libs/tslib.pyx", line 611, in pandas._libs.tslib.array_to_datetime
File "pandas/_libs/tslib.pyx", line 749, in pandas._libs.tslib._array_to_datetime_object
File "pandas/_libs/tslib.pyx", line 740, in pandas._libs.tslib._array_to_datetime_object
File "pandas/_libs/tslibs/parsing.pyx", line 257, in pandas._libs.tslibs.parsing.parse_datetime_string
File "/usr/lib/python3/dist-packages/dateutil/parser/_parser.py", line 1374, in parse
return DEFAULTPARSER.parse(timestr, **kwargs)
File "/usr/lib/python3/dist-packages/dateutil/parser/_parser.py", line 649, in parse
raise ParserError("Unknown string format: %s", timestr)
dateutil.parser._parser.ParserError: Unknown string format: -1 day, 23:59:54.730000

image

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

1 participant