question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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:closed
  • Created 5 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

3reactions
NicolasCARPicommented, Apr 9, 2020

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.

2020-04-09-183416_469x120_scrot

0reactions
prasanta2018commented, Mar 8, 2022

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.

2020-04-09-183416_469x120_scrot

Thanks 😃

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found