Skip to content

track down check-errors/convert-emoticons quick #71

@tomasohara

Description

@tomasohara

The check-errors alias occasionally outputs a cryptic error message in combination with python scripts (e.g., convert_emoticons.py): can't find '__main__' module in ....

For example, this occurs when an unknown script is passed to run-python-script:

$ run-python-script fubar.py
==> ./_.22dec24.2.log <==
.../bin/python3: can't find '__main__' module in '...'
Command exited with non-zero status 1
0.01user 0.01system 0:00.06elapsed 43%CPU (0avgtext+0avgdata 10768maxresident)k
0inputs+0outputs (148major+980minor)pagefaults 0swaps

==> ./_.22dec24.2.out <==
removed './_.22dec24.2.out'
1       .../bin/python3: can't find '__main__' module in ...
2    >>> Command exited with non-zero status 1 <<<
3        0.01user 0.01system 0:00.06elapsed 43%CPU (0avgtext+0avgdata 10768maxresident)k
4        0inputs+0outputs (148major+980minor)pagefaults 0swaps

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