Skip to content
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

Issue handling reflections #28

Closed
spireitepaul opened this issue May 6, 2022 · 3 comments
Closed

Issue handling reflections #28

spireitepaul opened this issue May 6, 2022 · 3 comments

Comments

@spireitepaul
Copy link

Hi,

I'm trying this project for the first time, and I am seeig an eror

python dremio_cloner.py ..\test_read.json
Traceback (most recent call last):
File "C:\PythonProjects\dremio-cloner\src\dremio_cloner.py", line 159, in
main()
File "C:\PythonProjects\dremio-cloner\src\dremio_cloner.py", line 47, in main
get_dremio_environment(config)
File "C:\PythonProjects\dremio-cloner\src\dremio_cloner.py", line 78, in get_dremio_environment
dremio_data = reader.read_dremio_environment()
File "C:\PythonProjects\dremio-cloner\src\DremioReader.py", line 57, in read_dremio_environment
self._read_reflections()
File "C:\PythonProjects\dremio-cloner\src\DremioReader.py", line 281, in _read_reflections
reflections = self._dremio_env.list_reflections()['data']
TypeError: 'NoneType' object is not subscriptable

If I change the reflections setting in the JSON config from Process to Skip, this doesn't have an issue.

I'm running against Dremio 18.1.0 Community Edition

@chufe-dremio
Copy link
Collaborator

Can you enable reflections in Dremio Cloner again and re-run it.
Please monitor Dremio's STDOUT and server.log and look for errors.

@deane-dremio
Copy link
Collaborator

@spireitepaul you will see this issue occur if you have the is_community_edition flag set to False in your config file but you are reading from Community Edition. Please change is_community_edition to True and retest.

@mxmarg
Copy link
Collaborator

mxmarg commented May 12, 2023

Issue has been stale for 1 year

@mxmarg mxmarg closed this as completed Nov 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants