Skip to content

terminate called after throwing an instance of 'Exception' what(): Error: Malformed input stream. #92

@eagad

Description

@eagad

I am running apertium analyzer from a python script. I get this exception that terminates the script immediately. I am not able to catch it inside python, it seems like it's happenning in c++ and doesn't get handle, how can I handle it?

terminate called after throwing an instance of 'Exception'
what(): Error: Malformed input stream.
Aborted (core dumped)

To replicate the issue:

import apertium
apertium.analyze('en', 'Hi/Hello')

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions