I am experiencing issues after installing Frappe Insights, wherein I cannot see Queries tab, and other tools in my insights, am I missing something?
click the insights logo and switch to v2
I think they have removed that option as I cannot see such option, I see Documentation, Switch to Desk, Join Telegram group and Log Out
This is the new version of Insights, which was released in November. You can learn more about how it works in the documentation.
The “Switch to v2” button is only visible if you have any older queries on the site. Any reason you’re looking for the older version?
I am looking for the features offered by previous v2. Also ibis is not what I am used to as v3 uses it.
I also found some features which are roadblocking me.
When I make charts with sql editor, which I basically use for complex querying, and then combine them to make a dashboard, when I filter, they are filtered for only specific charts for which I selected the filters. It could be better if we had a generalized filter.
I also cannot write filters in form of expressions correctly, It would be really helpful if there is a separate detailed documentation on using this feature especially after a shift to ibis.
Any suggestion/correction would be really helpful.
Thank You.
I also tried to install older version of insights using tags from github, but after successful installation, I cannot access /insights. I used version 2.2.8.
l
Bench migrate runs perfectly, but bench build gives this error-
Running build command for insights
$ cd frontend && yarn build
$ vite build -l warn --base=/assets/insights/frontend/ && yarn copy-html-entry
/bin/sh: 1: vite: not found
error Command failed with exit code 127.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed with exit code 127.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Error: Command failed: yarn build
at checkExecSyncError (node:child_process:890:11)
at execSync (node:child_process:962:15)
at run_build_command_for_apps (/home/ts/frappe-bench/apps/frappe/esbuild/esbuild.js:448:5)
at execute (/home/ts/frappe-bench/apps/frappe/esbuild/esbuild.js:125:23)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
status: 127,
signal: null,
output: [ null, null, null ],
pid: 49133,
stdout: null,
stderr: null
}
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Traceback (most recent call last):
File "<frozen runpy>", line 198, in _run_module_as_main
File "<frozen runpy>", line 88, in _run_code
File "/home/ts/frappe-bench/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
main()
File "/home/ts/frappe-bench/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
click.Group(commands=commands)(prog_name="bench")
File "/home/ts/frappe-bench/env/lib/python3.12/site-packages/click/core.py", line 1157, in __call__
return self.main(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ts/frappe-bench/env/lib/python3.12/site-packages/click/core.py", line 1078, in main
rv = self.invoke(ctx)
^^^^^^^^^^^^^^^^
File "/home/ts/frappe-bench/env/lib/python3.12/site-packages/click/core.py", line 1688, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ts/frappe-bench/env/lib/python3.12/site-packages/click/core.py", line 1688, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ts/frappe-bench/env/lib/python3.12/site-packages/click/core.py", line 1434, in invoke
return ctx.invoke(self.callback, **ctx.params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ts/frappe-bench/env/lib/python3.12/site-packages/click/core.py", line 783, in invoke
return __callback(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ts/frappe-bench/apps/frappe/frappe/commands/utils.py", line 77, in build
bundle(
File "/home/ts/frappe-bench/apps/frappe/frappe/build.py", line 257, in bundle
frappe.commands.popen(command, cwd=frappe_app_path, env=get_node_env(), raise_err=True)
File "/home/ts/frappe-bench/apps/frappe/frappe/commands/__init__.py", line 97, in popen
raise subprocess.CalledProcessError(return_, command)
subprocess.CalledProcessError: Command 'yarn run build --run-build-command && cd billing && yarn build' returned non-zero exit status 1.
I was able to resolve the 404 issue, after -
bench setup requirements
bench build --app insights --force
bench migrate