Comments (5)
I think the space name might need to be a pointer reference before it calls gsub but I am unable to test.
from gzr.
It looks like:
path = Pathname.new(space.name.gsub('/',"\u{2215}"))
on line 77 (69 if excluding empty lines) of export.rb is the culprit here. In this case, I believe the spaces of unregistered users (e.g. have been invited to your looker instance but have never logged in and thus not set a first and last name) have a nil name, and this line does not have error handling for the nil case.
I have tested a hack which is to skip these with a conditional block on lines 77-113 with
if space.name
..
end
A permanent fix would perhaps notify with an error message or other notation like "Skipping space 36 from unregistered user."
from gzr.
And one more nugget of info, it looks like the act of querying the user's space with the API before they are registered is what creates the problem is the first place. To reproduce:
(1) Create new user
(2) gzr space ls 2
and note that the new user is not present in the list.
(3) gzr user ls
and note new user's space ID
(4) gzr space ls <num>
where is the space ID for the new user (e.g. 7)
(5) gzr space ls 2
and note that the new user is now present, meaning gazer will throw the nil error on gzr space export 2
until the user is registered.
from gzr.
Should be fixed in v0.2.23. Please reopen if not fixed.
from gzr.
Thank you for fixing this! @deangelo-llooker
from gzr.
Related Issues (20)
- gazer failure on ubuntu-22.04: invalid credentials HOT 3
- Dashboard import fails when it contains a merge result tile HOT 3
- Forecast settings on looks do not get imported HOT 2
- test issue
- Not able to import looks with --api_version 4.0 flag HOT 3
- unable to run the tool HOT 4
- Gazer with Looker API 4.0 HOT 6
- Unable to import new UDD dashboards to another instance HOT 2
- Getting an error when migrating using Gazer & LookerDeployer HOT 2
- After gazer version 0.2.59 released , unable to import dashboard HOT 2
- Looker API 4.0 doesn't have the space method instead they added folder method. HOT 4
- How to upgrade gazer latest version which had folder method. HOT 1
- The resources you're looking for could not be found HOT 4
- New dashboard validation failure on import (starting with 0.2.59 and 0.3.0) HOT 8
- gzr dashboard import is working but gzr dashboard mv is throwing an error :404 - The resource you're looking for could not be found HOT 7
- Dashbords not moving from folder to folder on the same environment using gzr dashboard mv .... HOT 1
- dashboard validation failure on import HOT 21
- Test issue
- Whitespace in Dashboard title is not properly handled when creating a json file HOT 3
- Resource Could Not Be Found HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gzr.