Dashes in input filename lead to empty output
See original GitHub issue$ pydeps.exe -o out.svg my-script.py
dummymodule.py:113: WARNING: SKIPPING ILLEGAL MODULE_NAME: my-script
Leads to an empty file (no image content) and shows a warning. However this works fine:
$ pydeps.exe -o out-new.svg myscript.py
Output can contain dashes. Input files not. Seems like a bug
Issue Analytics
- State:
- Created 5 years ago
- Comments:6 (2 by maintainers)
Top Results From Across the Web
Usage of dash (-) in place of a filename
Using - as a filename to mean stdin/stdout is a convention that a lot of programs use. It is not a special property...
Read more >What does "dash" - mean as ffmpeg output filename
On *nix it generally means the output will be written to stdout instead of a designated file name - this is consistent with...
Read more >Spaces in filename replaced by dash
Hello, Strange phenomenon in following script: when I run the script and the filename has spaces in the filename (e.g. this is a...
Read more >Why do people suggest using dashes but not underscores ...
Few things for sure based on my experience: never use space in file name (even though allowed by the OS) and make it...
Read more >Show and Tell - dash-uploader (Upload large files)
Contribute to np-8/dash-uploader development by creating an account on ... as html from dash.dependencies import Input, Output app = dash.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I believe this should be closed as
wontfix
because dashes in modules names are kinda illegal. So user should rename their file, and this tool should not have to deal with this, because as author showed, it is not trivial to do. My 2 cents.Thanks 😃