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: GitHub - consoleerp/jasper_erpnext_report: Jasper for frappe
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
@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…
let me see that now, one moment
I did not find where this option is, can you show me please?
I’m doing just Local Server my friend
@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 Links for pyjnius
URLs to search for versions for pyjnius:
-
Links for pyjnius
Analyzing links from page Links for pyjnius
Found link https://pypi.python.org/packages/34/c7/d1f800839f64f7439ca5d746ad35063f4a65bd5390690ef9f1176a900016/pyjnius-1.1.1.tar.gz#md5=71ac3f46105649b4f3d578fc261847f1 (from Links for pyjnius), version: 1.1.1
Downloading pyjnius-1.1.1.tar.gz
Downloading from URL https://pypi.python.org/packages/34/c7/d1f800839f64f7439ca5d746ad35063f4a65bd5390690ef9f1176a900016/pyjnius-1.1.1.tar.gz#md5=71ac3f46105649b4f3d578fc261847f1 (from Links for pyjnius)
Running setup.py (path:/tmp/pip_build_frappe/pyjnius/setup.py) egg_info for package pyjniusYou 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
Complete output from command python setup.py egg_info:
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 Links for cython
URLs to search for versions for Cython:
-
Links for cython
Analyzing links from page Links for cython
Skipping https://pypi.python.org/packages/00/9f/5ad32cf2b0729d8991963cfd65844f7d93964e27653f9e47a91913cfeae3/Cython-0.19.1-cp27-cp27m-manylinux1_x86_64.whl#md5=fd57d70677bc5370b3888d5be8996d17 (from Links for cython) because it is not compatible with this Python
Skipping https://pypi.python.org/packages/01/36/6ed3765c5b767c9d608ea1f18aa394e42fd3d60ae307650c0d80f8e55bc1/Cython-0.23.4-cp27-none-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl#md5=31dc5a607db45fe7084f50e27c2c38d7 (from Links for cython) because it is not compatible with this Python
Found link https://pypi.python.org/packages/01/b5/b92d0bc22a96f37e67cd0de8ef9fdb735bb2aba395af8e96e2f4bebe21cf/Cython-0.17.2.tar.gz#md5=09dfd4f5f82046f85025a391f084d8f9 (from Links for cython), version: 0.17.2
Skipping https://pypi.python.org/packages/01/ed/e9ab2ffcfb3bb7b258ef315f9dfde83a48f03f71691bfd3e8d7c19b979de/Cython-0.23-cp34-cp34m-manylinux1_x86_64.whl#md5=7561da4472b66756bcb5c70489527c4b (from Links for cython) because it is not compatible with this Python
Skipping https://pypi.python.org/packages/02/e1/50bce3dda7bb37e63c8a4032e889714c2773c8f6d924fa69bfc07cb1577d/Cython-0.21.2-cp34-cp34m-manylinux1_x86_64.whl#md5=15abc8e600247a8b81bde80ddcffa237 (from Links for cython) because it is not compatible with this Python
Skipping https://pypi.python.org/packages/03/5e/15cce14970df7697c58a13524d6561036bf99e93794ac5dc763433efae33/Cython-0.23.4-cp33-none-win32.whl#md5=1002c489f02d113a5885df17ff147fb6 (from Links for cython) because it is not compatible with this Python
Skipping https://pypi.python.org/packages/04/58/92556a2572e6c01dde100d86e8de60f8cead6c25d64ac7016be89af84b7b/Cython-0.18-cp33-cp33m-manylinux1_x86_64.whl#md5=55ceba158a974ffa3e3809d9a952f98f (from Links for cython) because it is not compatible with this Python
Skipping https://pypi.python.org/packages/04/68/ebae98c1c4706c2d14718cd106b25698bdae526be51aa19081913646fed2/Cython-0.17.3-cp27-cp27mu-manylinux1_x86_64.whl#md5=f289f32925ab5fed48bd63b3b67198d1 (from Links for cython) because it is not compatible with this Python
Found link https://pypi.python.org/packages/05/4f/045e2a3ba0c6509378b4390961b6a72b0ebcd5fc812fe25ec3c71a82217a/Cython-0.23.5.zip#md5=eddeaff36983063bf3ba6a4dbdda49c1 (from Links for cython), version: 0.23.5
Skipping https://pypi.python.org/packages/05/81/4bb72d2b85b2e234454e6c2831fde357423e81cd82e8b9d828db5d00f25d/Cython-0.24-cp34-cp34m-manylinux1_i686.whl#md5=aca9b0a42df15efc770223b01ebf6b6a (from Links for cython) because it is not compatible with this Python
Skipping https://pypi.python.org/packages/05/fc/2549f0ceebcb821ade31552f7393c34214ea7b2bbaafb9eedc38857b5d27/Cython-0.24-cp27-cp27mu-manylinux1_x86_64.whl#md5=3379b0744defe8e091cd3808506602d2 (from Links for cython) because it is not compatible with this Python
Skipping https://pypi.python.org/packages/06/14/1c7b0148e88915a27279f2bd5a6297797f618556d849952ef50c2d0e9029/Cython-0.23.4-cp33-cp33m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl#md5=aa2facdba90ee62aa2e63768e61625e9 (from Links for cython) because it is not compatible with this Python
Skipping https://pypi.python.org/packages/06/77/369d4d83102c9333a093da9f00fe3e0de3028125d20bbcf5a5144d232959/Cython-0.25.2-cp33-cp33m-manylinux1_x86_64.whl#md5=252d11d2bed007e565cb76caad345df9 (from Links for cython) because it is not compatible with this Python
Skipping https://pypi.python.org/packages/06/8f/30c07880f81ff018ff92a4b325d8b297ad790378e929933e8bdf8a276ef9/Cython-0.25.2-cp34-cp34m-manylinux1_x86_64.whl#md5=c66ad9be5775ec4a04e5f6bd7bf11c47 (from Links for cython) because it is not compatible with this Python
Skipping https://pypi.python.org/packages/07/01/271935026467d6a44c6f1e41ab043fd8208b745ec7d87a0cb246de42f283/Cython-0.23.1-cp35-cp35m-manylinux1_x86_64.whl#md5=0e731c7050196dc772ccf9d18d4aaaa6 (from Links for cython) because it is not compatible with this Python
Skipping https://pypi.python.org/packages/07/6e/3e0378c30fd2456112d380b68c60d83b5e7c273176fc6ccb50e6caa6cd9f/Cython-0.23.1-cp32-cp32m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl#md5=fbb98f3af15398d9cc81a5dc98205565 (from Links for cython) because it is not compatible with this Python
@
“pip.log” 1524L, 190338C
I’m customizing using DocType options.
I don’t have access to this machine for now…