Skip to content

Bug? in annotate #1

@banchan86

Description

@banchan86

When loading video and pose file in the annotate tab, ran into error

TypeError: stat: path should be string, bytes, os.PathLike or integer, not NoneType
Traceback:
File "C:\ProgramData\Anaconda3\envs\behavetrack\lib\site-packages\streamlit\runtime\scriptrunner\script_runner.py", line 565, in _run_script
exec(code, module.dict)
File "C:\Users\StowersLab\Downloads\BehaveTrack\behavetrack.py", line 120, in
navigation()
File "C:\Users\StowersLab\Downloads\BehaveTrack\behavetrack.py", line 115, in navigation
annotate.main()
File "C:\Users\StowersLab\Downloads\BehaveTrack\steps\annotate.py", line 114, in main
if os.path.exists(frame_dir):
File "C:\ProgramData\Anaconda3\envs\behavetrack\lib\genericpath.py", line 19, in exists
os.stat(path)

as far as we can tell theres nothing problematic about the file names (no spaces, no special characters) so let me know if you need more info to troubleshoot or is there something really simple we missed

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions