Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Collecting and posting conversion errors automatically #160

Closed
xiaoqiao21 opened this issue Jul 1, 2021 · 3 comments
Closed

Collecting and posting conversion errors automatically #160

xiaoqiao21 opened this issue Jul 1, 2021 · 3 comments

Comments

@xiaoqiao21
Copy link

Hi, I want to use sklearn2pmml() function to convert a PMML file. Here is my code to create a pipeline. But I saw an error

RuntimeError: The JPMML-SkLearn conversion application has failed. The Java executable should have printed more information about the failure into its standard output and/or standard error streams

How can I solve it? My version is 0.73.1

@vruusmann
Copy link
Member

The Java executable should have printed more information about the failure into its standard output and/or standard error streams

What was printed to the standard output and/or standard error streams?

There's your answer.

@vruusmann
Copy link
Member

Reopen once you have this information.

Right now there's nothing for me to comment/do.

@vruusmann vruusmann changed the title connect convert to pmml Collecting and posting conversion errors automatically Jul 2, 2021
@vruusmann
Copy link
Member

I'm re-opening and re-purposing this issue.

What the original post indicates is that modern people are rather unfamiliar with the concept of standard output and standard error consoles.

What might help:

  1. Replace the phrase "standard output and/or standard error streams" with phrase "check the console".
  2. If the Python session is interactive, then open a GUI pop-up dialog with the error message and full stack trace.
  3. The GUI pop-up dialog could have a button "post error to GitHub issues".

If the Python session is not interactive, then there should be Python utility functions for collecting and posting errors.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants