Skip to content

Depracation error when using boilerpipe3 with JPype 0.8 #7

@joshsny

Description

@joshsny

Using the Extractor leads to the following error, triggered by the lack of keyword argument convertStrings when boilerpipe launches the JVM.


Deprecated: convertStrings was not specified when starting the JVM. The default
behavior in JPype will be False starting in JPype 0.8. The recommended setting
for new code is convertStrings=False. The legacy value of True was assumed for
this session. If you are a user of an application that reported this warning,
please file a ticket with the developer.

This can be fixed by passing the argument convertStrings=False on line 10 of init() when the JVM is started. This will result in Java strings being returned which will need to be converted to Python strings on output.

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