Skip to content

logging breaks in PowerShell #2589

@LarryThermo

Description

@LarryThermo

DVC version: 0.61.2 as installed by dvc-0.61.2.exe on Windows 10.

When I type dvc add "Training Set" in a Powershell Window I get the error report below.

The Training Set directory is very large (8.22GB, 14186 files). Is this too large for the 0.61.2 version? Suggestions?

Thanks,

Larry

PS C:\Projects-Git\MasuTraining\AutoFocusTraining> dvc add "Training Set"
Computing md5 for a large number of files. This is only done once.
--- Logging error ---
Traceback (most recent call last):
File "dvc\logger.py", line 158, in emit
File "site-packages\tqdm\std.py", line 569, in write
File "contextlib.py", line 119, in exit
File "site-packages\tqdm\std.py", line 597, in external_write_mode
File "site-packages\tqdm\std.py", line 94, in release
AssertionError: attempt to release recursive lock not owned by thread
Call stack:
File "dvc_main_.py", line 10, in
File "dvc\main.py", line 42, in main
File "dvc\command\add.py", line 24, in run
File "dvc\repo_init_.py", line 33, in wrapper
File "dvc\repo\scm_context.py", line 4, in run
File "dvc\repo\add.py", line 45, in add
File "dvc\stage.py", line 711, in save
File "dvc\output\base.py", line 243, in save
File "dvc\output\base.py", line 199, in changed
File "dvc\output\base.py", line 190, in status
File "dvc\output\base.py", line 172, in changed_checksum
File "dvc\remote\base.py", line 329, in save_info
File "dvc\remote\base.py", line 318, in get_checksum
File "dvc\remote\base.py", line 234, in get_dir_checksum
File "dvc\remote\base.py", line 210, in collect_dir
File "dvc\remote\base.py", line 187, in calculate_checksums
File "logging_init
.py", line 1378, in info
File "logging_init
.py", line 1514, in log
File "logging_init
.py", line 1524, in handle
File "logging_init_.py", line 1586, in callHandlers
File "logging_init_.py", line 894, in handle
File "dvc\logger.py", line 164, in emit
Message: 'Computing md5 for a large number of files. This is only done once.'
Arguments: ()
ERROR: unexpected error - failed to log <LogRecord: dvc.remote.base, 20, dvc\remote\base.py, 187, "Computing md5 for a large number of files. This is only done once.">

Having any troubles? Hit us up at https://dvc.org/support, we are always happy to help!

Metadata

Metadata

Assignees

Labels

bugDid we break something?p1-importantImportant, aka current backlog of things to doresearch

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions