Jasper Report error

When i try conig my jasper report app to local server and save, i receive this error:
No local server. Install the python module first named pyjnius

I tried the standalone version and it was fine.
That project is really old. Author @luisfmfernandes cant be reached.
We did some modification on a fork: https://github.com/consoleerp/jasper_erpnext_report

By the way did u export the JAVA_HOME path ?
If you are running in production mode, you have to export it in supervisor config


That was really helpful when we tried it.

Hope it helps :slight_smile:

@Leonardo_Augusto, the error says python module “pyjnius” is missing. You need to install it and check if further error comes.

I’ll try this, thanks for try!

Yeah, i have pyjnius installed…

@Leonardo_Augusto, what is value of JavaServer URL / Choose Origin in Jasper Configuration?

let me see that now, one moment

I did not find where this option is, can you show me please?

@Leonardo_Augusto, please refer the document here.

I’m doing just Local Server my friend

@Leonardo_Augusto, can you post the error trace?

It’s translated to pt-br

@Leonardo_Augusto, can you again install pyjnius manually and see if it is working fine. You may refer to this link.

I got this after install Cython:
Command /usr/bin/python -c “import setuptools, tokenize;file=’/tmp/pip_build_frappe/Cython/setup.py’;exec(compile(getattr(tokenize, ‘open’, open)(file).read().replace(’\r\n’, ‘\n’), file, ‘exec’))” install --record /tmp/pip-OfABxe-record/install-record.txt --single-version-externally-managed --compile failed with error code 1 in /tmp/pip_build_frappe/Cython
Storing debug log for failure in /home/frappe/.pip/pip.log

Log from pyjnius install:


/usr/bin/pip run on Thu May 25 10:53:36 2017
Downloading/unpacking pyjnius
Getting page https://pypi.python.org/simple/pyjnius/
URLs to search for versions for pyjnius:

You need Cython to compile Pyjnius.

Traceback (most recent call last):

File “”, line 17, in

File “/tmp/pip_build_frappe/pyjnius/setup.py”, line 53, in

from Cython.Distutils import build_ext

ImportError: No module named Cython.Distutils
“pip.log” 59L, 2630C

Log from Cython install:


/usr/bin/pip run on Thu May 25 11:00:16 2017
Downloading/unpacking Cython
Getting page https://pypi.python.org/simple/Cython/
URLs to search for versions for Cython:

@Leonardo_Augusto, which version of Python are you using?

I’m customizing using DocType options.
I don’t have access to this machine for now…