-
Notifications
You must be signed in to change notification settings - Fork 26
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
AttributeError: module 'looker_sdk.rtl.serialize' has no attribute 'serialize40' #78
Comments
Hi updating looker-sdk to looker_-sdk-22.4.0 resolved the issue |
Hello @rePetko
I have followed you advice and here is my env with python3.8
I'm trying to make it work and the pulse command is Testing connection 1/6 and never ends and the rest like analyze get some errors, like the below one and others!
Thanks a lot in advance! |
Hey @vasilis-mourtakos , The above error was associated with Henry's inability to connect to my Looker API. I could not get Henry to connect with python3.8 invironment. Instead, I used Python 3.7, and it is working for me as described above. After looking into the error traceback and checking the code, I discovered that there was a small error in the code. Please look Here, in line 81 the two elements in the list need to be separated by quotation marks. You will need to edit the line to look like this: There is another error that needs to be addressed in order to fix the I hope this helps ! |
@rePetko Thank you so super much for the very detailed and specific answer! Thanks again! |
Hi, when I run $ henry pulse I get the following error: AttributeError: module 'looker_sdk.rtl.serialize' has no attribute 'serialize40'
Here is the full tree:
(Python3.7_env) pko@pko-VirtualBox:~/Desktop$ henry pulse
Traceback (most recent call last):
File "/home/pko/miniconda3/envs/Python3.7_env/bin/henry", line 8, in
sys.exit(main())
File "/home/pko/miniconda3/envs/Python3.7_env/lib/python3.7/site-packages/henry/cli.py", line 16, in main
pulse.Pulse.run(user_input)
File "/home/pko/miniconda3/envs/Python3.7_env/lib/python3.7/site-packages/henry/commands/pulse.py", line 18, in run
pulse = cls(user_input)
File "/home/pko/miniconda3/envs/Python3.7_env/lib/python3.7/site-packages/henry/modules/fetcher.py", line 43, in init
options.config_file, options.section, options.timeout
File "/home/pko/miniconda3/envs/Python3.7_env/lib/python3.7/site-packages/henry/modules/fetcher.py", line 71, in configure_sdk
serialize.serialize40,
AttributeError: module 'looker_sdk.rtl.serialize' has no attribute 'serialize40'
I am having the following set up (run in python 3.7 environment):
`Python3.7_env) pko@pko-VirtualBox:~/Desktop$ pip list
Package Version
attrs 23.2.0
cattrs 1.1.2
certifi 2022.12.7
charset-normalizer 3.3.2
exceptiongroup 1.2.0
henry 0.3.0
idna 3.6
importlib-metadata 6.7.0
looker-sdk 21.0.0
pip 22.3.1
requests 2.31.0
setuptools 65.6.3
tabulate 0.9.0
typing_extensions 4.7.1
urllib3 2.0.7
wheel 0.38.4
zipp 3.15.0
`
Also I am using .ini configuration file stored in the working folder.
Could somebody help with this error ?
Thanks!
The text was updated successfully, but these errors were encountered: