-
Notifications
You must be signed in to change notification settings - Fork 36
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
Gazer failing to import Dashboards #243
Comments
The most common issue here would be that the explore |
I could find the checkregister explore and could query it as well. |
I'm still looking into this. Can you confirm that all the fields are available as well? Thanks |
Any updates on the issue? We are also seeing this issue while importing any dashboard.
For exporting we are doing
For import |
That issue should be resolved by upgrading Gazer to the latest version. |
We are seeing failures in importing dashboards with the below error message we found in logs.
existing_dashboard object nil
'slug MOWP2rFThYeDJNTZCMeqFO already used for dashboard Check Register in folder 1010
dashboard will be imported with new slug
................
............
Error creating query({
"view": "checkregister",
"fields": [
"checkregister.BankAccountName",
"checkregister.PaymentDate_date",
"checkregister.ReferenceNumber",
"checkregister.CheckNumber",
"checkregister.PayerName",
"checkregister.CheckExportNumber",
"checkregister.TotalAmount",
"checkregister.IsExported",
"checkregister.OrgName"
],
"pivots": null,
"fill_fields": null,
"filters": null,
"filter_expression": null,
"sorts": [
"checkregister.BankAccountName"
],
"limit": "500",
"column_limit": "50",
"total": true,
"row_total": null,
"subtotals": null,
"vis_config": {
"show_view_names": false,
"show_row_numbers": false,
"truncate_column_names": false,
"hide_totals": false,
"hide_row_totals": false,
"table_theme": "unstyled",
"limit_displayed_rows": false,
"enable_conditional_formatting": false,
"conditional_formatting_include_totals": false,
"conditional_formatting_include_nulls": false,
"series_labels": {
"checkregister.BankAccountName": "Bank Account",
"checkregister.PaymentDate_date": "Payment Date",
"checkregister.PayerName": "Payee Name",
"checkregister.CheckExportNumber": "Export Number",
"checkregister.OrgName": "Branch",
"checkregister.TotalAmount": "Amount",
"checkregister.IsExported": "Is Exported?"
},
"hidden_pivots": {
},
"type": "table",
"defaults_version": 1,
"series_types": {
}
},
"filter_config": {
},
"visible_ui_sections": null,
"model": "ezl_Accounting",
"dynamic_fields": "[]",
"query_timezone": "UTC"
})
POST https://appliedsystems.cloud.looker.com/api/4.0/queries: 404 - The resource you're looking for could not be found.
/var/lib/gems/2.7.0/gems/looker-sdk-0.1.6/lib/looker-sdk/response/raise_error.rb:37:in
on_complete' /var/lib/gems/2.7.0/gems/faraday-2.7.12/lib/faraday/middleware.rb:18:in
block in call'/var/lib/gems/2.7.0/gems/faraday-2.7.12/lib/faraday/response.rb:42:in
on_complete' /var/lib/gems/2.7.0/gems/faraday-2.7.12/lib/faraday/middleware.rb:17:in
call'/var/lib/gems/2.7.0/gems/faraday-2.7.12/lib/faraday/rack_builder.rb:153:in
build_response' /var/lib/gems/2.7.0/gems/faraday-2.7.12/lib/faraday/connection.rb:444:in
run_request'/var/lib/gems/2.7.0/gems/faraday-2.7.12/lib/faraday/connection.rb:280:in
post' /var/lib/gems/2.7.0/gems/sawyer-0.9.2/lib/sawyer/agent.rb:99:in
call'/var/lib/gems/2.7.0/gems/looker-sdk-0.1.6/lib/looker-sdk/client.rb:316:in
request' /var/lib/gems/2.7.0/gems/looker-sdk-0.1.6/lib/looker-sdk/client.rb:112:in
post'/var/lib/gems/2.7.0/gems/looker-sdk-0.1.6/lib/looker-sdk/client/dynamic.rb:147:in
invoke_remote' /var/lib/gems/2.7.0/gems/looker-sdk-0.1.6/lib/looker-sdk/client/dynamic.rb:107:in
method_missing'/var/lib/gems/2.7.0/gems/gazer-0.3.12/lib/gzr/command.rb:90:in
create_query' /var/lib/gems/2.7.0/gems/gazer-0.3.12/lib/gzr/modules/look.rb:173:in
create_fetch_query'/var/lib/gems/2.7.0/gems/gazer-0.3.12/lib/gzr/commands/dashboard/import.rb:233:in
process_dashboard_element' /var/lib/gems/2.7.0/gems/gazer-0.3.12/lib/gzr/commands/dashboard/import.rb:85:in
block (3 levels) in execute'/var/lib/gems/2.7.0/gems/gazer-0.3.12/lib/gzr/commands/dashboard/import.rb:81:in
map' /var/lib/gems/2.7.0/gems/gazer-0.3.12/lib/gzr/commands/dashboard/import.rb:81:in
block (2 levels) in execute'/var/lib/gems/2.7.0/gems/gazer-0.3.12/lib/gzr/modules/filehelper.rb:89:in
read_file' /var/lib/gems/2.7.0/gems/gazer-0.3.12/lib/gzr/commands/dashboard/import.rb:54:in
block in execute'/var/lib/gems/2.7.0/gems/gazer-0.3.12/lib/gzr/modules/session.rb:306:in
with_session' /var/lib/gems/2.7.0/gems/gazer-0.3.12/lib/gzr/commands/dashboard/import.rb:50:in
execute'/var/lib/gems/2.7.0/gems/gazer-0.3.12/lib/gzr/commands/dashboard.rb:80:in
import' /var/lib/gems/2.7.0/gems/thor-1.3.0/lib/thor/command.rb:28:in
run'/var/lib/gems/2.7.0/gems/thor-1.3.0/lib/thor/invocation.rb:127:in
invoke_command' /var/lib/gems/2.7.0/gems/thor-1.3.0/lib/thor.rb:527:in
dispatch'/var/lib/gems/2.7.0/gems/thor-1.3.0/lib/thor/invocation.rb:116:in
invoke' /var/lib/gems/2.7.0/gems/thor-1.3.0/lib/thor.rb:338:in
block in subcommand'/var/lib/gems/2.7.0/gems/thor-1.3.0/lib/thor/command.rb:28:in
run' /var/lib/gems/2.7.0/gems/thor-1.3.0/lib/thor/invocation.rb:127:in
invoke_command'/var/lib/gems/2.7.0/gems/thor-1.3.0/lib/thor.rb:527:in
dispatch' /var/lib/gems/2.7.0/gems/thor-1.3.0/lib/thor/base.rb:584:in
start'/var/lib/gems/2.7.0/gems/gazer-0.3.12/exe/gzr:36:in
<top (required)>' /usr/local/bin/gzr:23:in
load'/usr/local/bin/gzr:23:in `
logout
ERROR: The resource you're looking for could not be found
We see blank dasboards because of this error. There were 18 dasboards failed from importing due to above issue occurred for every one of 18 dashboards.
I appreciate someone assist in this. TIA
The text was updated successfully, but these errors were encountered: