콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
2 답글
2777 화면

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]

아바타
취소
작성자 베스트 답변

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.

아바타
취소
베스트 답변

Hey Mohammed, 

Try running this below command.

pip3 install lasso

Thanks

Regards,




Email:      odoo@aktivsoftware.com  

Skype: kalpeshmaheshwari

   

아바타
취소
관련 게시물 답글 화면 활동
2
10월 25
1736
3
10월 23
10172
1
9월 23
3822
1
5월 23
2798
2
4월 23
3483