apertium / apertium/apertium-python

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

Open
#92 13 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
35
Forks
27
PR merge metrics
No merged PRs in 30d

Description

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')

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.