Skip to content

silently fails for windows file paths #5

@jonoconway

Description

@jonoconway

great package. I encountered a problem where it silently failed when I used windows style file paths instead of linux. I was running from Pycharm terminal on windows machine.

The first time I ran it appeared to work but did not produce any images.

(Simulate-Correct-ColorBlindness) C:\Users\conwayjp\Documents\code\Simulate-Correct-ColorBlindness>python recolor.py -input "C:\Users\conwayjp\test.png" -output "C:\Users\conwayjp" -run_all
ReColorLib completed running! Check output images in C:\Users\conwayjp

When it was run with linux style path names it worked just fine.

(Simulate-Correct-ColorBlindness) C:\Users\conwayjp\Documents\code\Simulate-Correct-ColorBlindness>python recolor.py -input "C:/Users/conwayjp/test.png" -output "C:/Users/conwayjp" -run_all
ReColorLib completed running! Check output images in C:/Users/conwayjp

also, might be worth noting the name of the opencv package on conda is py-opencv, for newbies.

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