This question has been flagged
2 Replies
1747 Views

Hi,

I am trying to connect Odoo Application (SP) with one of the IdP.

I have downloaded auth_saml for odoo12.

I am done with configurations for Metadata, certificates and Lasso Python Lib.

When I click on Login with SAML then its raising an Error for Lasso.

Error:

  File "/home/odoo12/gitlab_addons_new/other_custom_addons/auth_saml/models/auth_saml.py", line 52, in _get_lasso_for_provider

    server = lasso.Server.newFromBuffers(

AttributeError: module 'lasso' has no attribute 'Server'


Any issue with Configuration or Lasso? 

[Lasso installed on pip using: pip install lasso]

Appreciate for any help. Thanks

(Odoo12 - python 3.8) - [Also tried lasso install with 3.6 but same error]

Avatar
Discard
Author Best Answer

First uninstall lasso, pip3 uninstall lasso

We can solve this issue by using the python3-lasso package install in ubuntu system.

sudo apt-get install python3-lasso

If we are using python environment i.e. env  then we can inherit python base packages to env (envionment) by using following command,

virtualenv  env_name  --system-site-packages


Now it is working for me.

Avatar
Discard
Best Answer

Hey Mohammed, 

Try running this below command.

pip3 install lasso

Thanks

Regards,




Email:      odoo@aktivsoftware.com  

Skype: kalpeshmaheshwari

   

Avatar
Discard