Skip to content

Reading from stdin broken #30

@tbm

Description

@tbm

This used to work, but after upgrading from buster to bullseye it stopped working for me:

$ beancount2ledger x
2021-01-06 * Test
    Assets:Current                                                -0.04 USD
    Equity:Rounding                                                0.04 USD
$ cat x | beancount2ledger -

$

And my shell script which does:

bean-extract beancount/config.py | beancount2ledger -

now shows:

Exception ignored in: <_io.TextIOWrapper name='<stdout>' mode='w' encoding='utf-8'>
BrokenPipeError: [Errno 32] Broken pipe

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions