dashdrum / django_saml_sp Goto Github PK
View Code? Open in Web Editor NEWSAML2 interface for Django. This basic library does just what is needed and nothing more.
SAML2 interface for Django. This basic library does just what is needed and nothing more.
During installation of python3-saml, I received the following error. I'm on CentOS 7, Python 3.4. C_INCLUDE_PATH has libxml2 and xmlsec1
(rcn) [root@bhs01 shortener]# pip install xmlsec
Collecting xmlsec
Using cached xmlsec-0.6.1.tar.gz
Requirement already satisfied (use --upgrade to upgrade): lxml>=3.0 in /root/project/rcn/lib/python3.4/site-packages (from xmlsec)
Building wheels for collected packages: xmlsec
Running setup.py bdist_wheel for xmlsec ... error
Complete output from command /root/project/rcn/bin/python3.4 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-1ctsfpg5/xmlsec/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" bdist_wheel -d /tmp/tmpl926zohtpip-wheel- --python-tag cp34:
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.4
creating build/lib.linux-x86_64-3.4/xmlsec
copying src/xmlsec/meta.py -> build/lib.linux-x86_64-3.4/xmlsec
copying src/xmlsec/error.py -> build/lib.linux-x86_64-3.4/xmlsec
copying src/xmlsec/__init__.py -> build/lib.linux-x86_64-3.4/xmlsec
running build_ext
cythoning src/xmlsec/constants.pyx to src/xmlsec/constants.c
building 'xmlsec.constants' extension
creating build/temp.linux-x86_64-3.4
creating build/temp.linux-x86_64-3.4/src
creating build/temp.linux-x86_64-3.4/src/xmlsec
gcc -pthread -Wno-unused-result -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -DXMLSEC_DL_LIBLTDL=1 -DXMLSEC_NO_GOST=1 -DXMLSEC_NO_SIZE_T= -DXMLSEC_CRYPTO=openssl -D__XMLSEC_FUNCTION__=__FUNCTION__ -DXMLSEC_OPENSSL_100=1 -DXMLSEC_NO_XKMS=1 -DXMLSEC_CRYPTO_OPENSSL=1 -Isrc -I/root/project/rcn/lib/python3.4/site-packages/lxml/includes -I/root/project/rcn/lib/python3.4/site-packages/lxml -I/usr/include/libxml2 -I/usr/include/xmlsec1 -I/usr/include/python3.4m -c src/xmlsec/constants.c -o build/temp.linux-x86_64-3.4/src/xmlsec/constants.o -DXMLSEC_CRYPTO_OPENSSL=1 -DXMLSEC_NO_CRYPTO_DYNAMIC_LOADING=1
src/xmlsec/constants.c:4:20: fatal error: Python.h: No such file or directory
#include "Python.h"
^
compilation terminated.
error: command 'gcc' failed with exit status 1
----------------------------------------
Failed building wheel for xmlsec
Running setup.py clean for xmlsec
Failed to build xmlsec
Installing collected packages: xmlsec
Running setup.py install for xmlsec ... error
Complete output from command /root/project/rcn/bin/python3.4 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-1ctsfpg5/xmlsec/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-pbn875fk-record/install-record.txt --single-version-externally-managed --compile --install-headers /root/project/rcn/include/site/python3.4/xmlsec:
running install
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.4
creating build/lib.linux-x86_64-3.4/xmlsec
copying src/xmlsec/meta.py -> build/lib.linux-x86_64-3.4/xmlsec
copying src/xmlsec/error.py -> build/lib.linux-x86_64-3.4/xmlsec
copying src/xmlsec/__init__.py -> build/lib.linux-x86_64-3.4/xmlsec
running build_ext
skipping 'src/xmlsec/constants.c' Cython extension (up-to-date)
building 'xmlsec.constants' extension
creating build/temp.linux-x86_64-3.4
creating build/temp.linux-x86_64-3.4/src
creating build/temp.linux-x86_64-3.4/src/xmlsec
gcc -pthread -Wno-unused-result -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -DXMLSEC_CRYPTO=openssl -DXMLSEC_CRYPTO_OPENSSL=1 -DXMLSEC_NO_XKMS=1 -D__XMLSEC_FUNCTION__=__FUNCTION__ -DXMLSEC_NO_GOST=1 -DXMLSEC_OPENSSL_100=1 -DXMLSEC_NO_SIZE_T= -DXMLSEC_DL_LIBLTDL=1 -Isrc -I/root/project/rcn/lib/python3.4/site-packages/lxml/includes -I/root/project/rcn/lib/python3.4/site-packages/lxml -I/usr/include/libxml2 -I/usr/include/xmlsec1 -I/usr/include/python3.4m -c src/xmlsec/constants.c -o build/temp.linux-x86_64-3.4/src/xmlsec/constants.o -DXMLSEC_CRYPTO_OPENSSL=1 -DXMLSEC_NO_CRYPTO_DYNAMIC_LOADING=1
src/xmlsec/constants.c:4:20: fatal error: Python.h: No such file or directory
#include "Python.h"
^
compilation terminated.
error: command 'gcc' failed with exit status 1
----------------------------------------
Command "/root/project/rcn/bin/python3.4 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-1ctsfpg5/xmlsec/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-pbn875fk-record/install-record.txt --single-version-externally-managed --compile --install-headers /root/project/rcn/include/site/python3.4/xmlsec" failed with error code 1 in /tmp/pip-build-1ctsfpg5/xmlsec/
Any clue what might have went wrong?
Hi, I have downloaded the project and installed all the required package.
Now when I run the app the it shows a link on the landing page Click here to log in [Value of this link is: http://127.0.0.1:8000/saml/initiate-login/
but when I click on this link, it does not reirect to any page, it just shows that page is loading and finally it loads the same page http://127.0.0.1:8000/
http://127.0.0.1:8000/ is my landing page.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.