You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I run SLTev, it fails, reporting that mwerSegmenter is missing. After some digging, I realised that mwerSegmenter is fine. The problem occurs at this line:
The directory deletion fails (not sure why, could be an nfs problem) an exception is thrown, caught and turned into a mwerSegmenter error. Setting ignore_errors=True in shutil.rmtree(temp_folder) is a temporary fix, but I think the real fix is to use python's tempfile module to create a temporary directory.
A further problem is that catching the error, and outputting a generic mwerSegmenter message, makes this harder to debug
best
Barry
The text was updated successfully, but these errors were encountered:
Hi
When I run SLTev, it fails, reporting that mwerSegmenter is missing. After some digging, I realised that mwerSegmenter is fine. The problem occurs at this line:
SLTev/SLTev/files_modules.py
Line 214 in 2d56dd0
The directory deletion fails (not sure why, could be an nfs problem) an exception is thrown, caught and turned into a mwerSegmenter error. Setting
ignore_errors=True
inshutil.rmtree(temp_folder)
is a temporary fix, but I think the real fix is to use python'stempfile
module to create a temporary directory.A further problem is that catching the error, and outputting a generic mwerSegmenter message, makes this harder to debug
best
Barry
The text was updated successfully, but these errors were encountered: