Trying install Jasper Reports

I am not able to install jaspersoft on my virtual machine with:
bench get-app jasper_erpnext_report GitHub - saguas/jasper_erpnext_report: Jasper for frappe

Error:
INFO:bench.app:getting app jasper_erpnext_report
Cloning into ‘jasper_erpnext_report’…
fatal: unable to access ‘GitHub - saguas/jasper_erpnext_report: Jasper for frappe’: Could not resolve host: github.com
Traceback (most recent call last):
File “/usr/local/bin/bench”, line 11, in
load_entry_point(‘bench’, ‘console_scripts’, ‘bench’)()
File “/home/frappe/bench-repo/bench/cli.py”, line 40, in cli
bench_command()
File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 722, in call
return self.main(*args, **kwargs)
File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 697, in main
rv = self.invoke(ctx)
File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 1066, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 895, in invoke
return ctx.invoke(self.callback, **ctx.params)
File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 535, in invoke
return callback(*args, **kwargs)
File “/home/frappe/bench-repo/bench/commands/make.py”, line 30, in get_app
get_app(git_url, branch=branch)
File “/home/frappe/bench-repo/bench/app.py”, line 62, in get_app
cwd=os.path.join(bench_path, ‘apps’))
File “/home/frappe/bench-repo/bench/utils.py”, line 127, in exec_cmd
raise CommandFailedError(cmd)
bench.utils.CommandFailedError: git clone GitHub - saguas/jasper_erpnext_report: Jasper for frappe --origin upstream

Seems like a problem with your internet connection.

Changed the configuration of the virtual machine to Bridge and this works.
Thanks!

I’m getting this error now:
command line: bench install-app jasper_erpnext_report

Error:
[…]
raise Exception(“App not in apps.txt”)
Exception: App not in apps.txt

There is an apps.txt in frappe-bench/sites/. But on normal bench get-app command, it is supposed to add the app to the text file. Try adding jasper_erpnext_report in it ?

Yes this command line I already gave and I have the jasper reports folder, now I only need to install the app.

Hii
Try and open the .txt file at frappe-bench/sites/apps.txt and check if jasper_erpnext_report is present in the list. If not add it.

Why I am insisting is because when you look in the following code, the error is raised when bench cant find the app folder in the sites path (go into frappe.get_all_apps())

Pls confirm if the entry is made in the apps.txt file
Thank you

I looked now and there are 3 things there:
Frappe
Erpnext
Erpnext_demo

What i can do now?!

I’ll edit, and try again

add jasper_erpnext_report in newline :slight_smile:

It looks like it will work, I have to install pyjnius before. I’ll give you a return of result in a moment, thanks bro!

My loggin don’t show anymore after i upgraded to the version 8

Force reload, clearing cache.
Its Ctrl + F5 on chrome on Windows.

It’s not a cache, i cleaned the cache of my browsers and not works at all :confused:

Any browser console logs ?

frappe-web.min.js:659 Uncaught TypeError: Cannot read property ‘/’ of undefined
at Object.trigger_ready (frappe-web.min.js:659)
at HTMLDocument. (frappe-web.min.js:670)
at HTMLDocument.dispatch (jquery.min.js:3)
at HTMLDocument.r.handle (jquery.min.js:3)
at Object.trigger (jquery.min.js:4)
at HTMLDocument. (jquery.min.js:4)
at Function.each (jquery.min.js:2)
at n.fn.init.each (jquery.min.js:2)
at n.fn.init.trigger (jquery.min.js:4)
at HTMLDocument. (frappe-web.min.js:669)

I’ll try update nodejs

don’t work at all…

Solved!
bench update --build

Thanks for attention bro!

1 Like

Hi
People had the same issue after upgrading to V8.

[hostname]/login#login this should be the new login page
Clearing cache was the fix for the most. Your console output also matches the one they specified in the thread. Pls check again :slight_smile:

Thank you

edit: Glad you figured it out yourself!