My favorites | Sign in
Project Logo
                
Details: Show all Hide all

Earlier this year

  • Nov 19, 2009
    issue 6 (got an "error: 'ssize_t' redeclared as different kind of sym...) reported by jrjsmrtn   -   What steps will reproduce the problem? 1. hg clone https://bitbucket.org/geertj/python-ad 2. copy krb5.h and friends in python include directory 3. in python-ad directory: python2.6 setup.py build -c mingw32 What is the expected output? What do you see instead? d:\My Repositories\python-ad>python2.6 setup.py build -c mingw32 running build running build_py running build_ext building 'ad.protocol.krb5' extension D:\mingw\bin\gcc.exe -mno-cygwin -mdll -O -Wall -Id:\Python26\include -Id:\Python26\PC -c lib/ad/protocol/krb5.c -o build\temp.win32-2.6\Release\lib\ad\protocol\krb5.o In file included from d:/Python26/include/krb5.h:76, from lib/ad/protocol/krb5.c:11: d:/Python26/include/win-mac.h:92: error: syntax error before "int" d:/Python26/include/win-mac.h:92: error: 'ssize_t' redeclared as different kind of symbol D:/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/sys/types.h:104: error: previous declaration of 'ssize_t' was here In file included from d:/Python26/include/krb5.h:76, from lib/ad/protocol/krb5.c:11: d:/Python26/include/win-mac.h:162:1: warning: "HAVE_SYS_TYPES_H" redefined In file included from d:/Python26/include/Python.h:8, from lib/ad/protocol/krb5.c:10: d:/Python26/include/pyconfig.h:671:1: warning: this is the location of the previous definition error: command 'gcc' failed with exit status 1 What version of the product are you using? On what operating system? - python-ad fresh from hg (changeset: 106:ae5015e318ae) - Kerberos for Windows 3.2.2 - MinGW32 5.1.6 - Python 2.6.2 (r262:71605, Apr 14 2009, 22:40:02) - Windows XP
    What steps will reproduce the problem? 1. hg clone https://bitbucket.org/geertj/python-ad 2. copy krb5.h and friends in python include directory 3. in python-ad directory: python2.6 setup.py build -c mingw32 What is the expected output? What do you see instead? d:\My Repositories\python-ad>python2.6 setup.py build -c mingw32 running build running build_py running build_ext building 'ad.protocol.krb5' extension D:\mingw\bin\gcc.exe -mno-cygwin -mdll -O -Wall -Id:\Python26\include -Id:\Python26\PC -c lib/ad/protocol/krb5.c -o build\temp.win32-2.6\Release\lib\ad\protocol\krb5.o In file included from d:/Python26/include/krb5.h:76, from lib/ad/protocol/krb5.c:11: d:/Python26/include/win-mac.h:92: error: syntax error before "int" d:/Python26/include/win-mac.h:92: error: 'ssize_t' redeclared as different kind of symbol D:/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/sys/types.h:104: error: previous declaration of 'ssize_t' was here In file included from d:/Python26/include/krb5.h:76, from lib/ad/protocol/krb5.c:11: d:/Python26/include/win-mac.h:162:1: warning: "HAVE_SYS_TYPES_H" redefined In file included from d:/Python26/include/Python.h:8, from lib/ad/protocol/krb5.c:10: d:/Python26/include/pyconfig.h:671:1: warning: this is the location of the previous definition error: command 'gcc' failed with exit status 1 What version of the product are you using? On what operating system? - python-ad fresh from hg (changeset: 106:ae5015e318ae) - Kerberos for Windows 3.2.2 - MinGW32 5.1.6 - Python 2.6.2 (r262:71605, Apr 14 2009, 22:40:02) - Windows XP
  • Nov 04, 2009
    issue 5 (Cannot build on windows with MingW32 compilger due to missin...) reported by cbwhiz   -   What steps will reproduce the problem? 1. hg clone https://bitbucket.org/geertj/python-ad 2. cd python-ad 3. python setup.py build -c mingw32 What is the expected output? What do you see instead? Expected to build the extensions. Insead I see: running build running build_py running build_ext building 'ad.protocol.krb5' extension c:\MinGW\bin\gcc.exe -mno-cygwin -mdll -O -Wall -IC:\Python26\include -IC:\Python26\PC -c lib/ad/protocol/krb5.c -o build\temp.win32-2.6\Release\lib\ad\protocol\krb5.o lib/ad/protocol/krb5.c:11:18: krb5.h: No such file or directory lib/ad/protocol/krb5.c: In function `k5_get_init_creds_password': lib/ad/protocol/krb5.c:31: error: `krb5_context' undeclared (first use in this function) lib/ad/protocol/krb5.c:31: error: (Each undeclared identifier is reported only once lib/ad/protocol/krb5.c:31: error: for each function it appears in.) (... several more errors ...) lib/ad/protocol/krb5.c:417: warning: implicit declaration of function `initialize_krb5_error_table' error: command 'gcc' failed with exit status 1 What version of the product are you using? On what operating system? Fresh checkout as of today, OS Win Server 2008 with mingw32 installed.
    What steps will reproduce the problem? 1. hg clone https://bitbucket.org/geertj/python-ad 2. cd python-ad 3. python setup.py build -c mingw32 What is the expected output? What do you see instead? Expected to build the extensions. Insead I see: running build running build_py running build_ext building 'ad.protocol.krb5' extension c:\MinGW\bin\gcc.exe -mno-cygwin -mdll -O -Wall -IC:\Python26\include -IC:\Python26\PC -c lib/ad/protocol/krb5.c -o build\temp.win32-2.6\Release\lib\ad\protocol\krb5.o lib/ad/protocol/krb5.c:11:18: krb5.h: No such file or directory lib/ad/protocol/krb5.c: In function `k5_get_init_creds_password': lib/ad/protocol/krb5.c:31: error: `krb5_context' undeclared (first use in this function) lib/ad/protocol/krb5.c:31: error: (Each undeclared identifier is reported only once lib/ad/protocol/krb5.c:31: error: for each function it appears in.) (... several more errors ...) lib/ad/protocol/krb5.c:417: warning: implicit declaration of function `initialize_krb5_error_table' error: command 'gcc' failed with exit status 1 What version of the product are you using? On what operating system? Fresh checkout as of today, OS Win Server 2008 with mingw32 installed.
  • Sep 09, 2009
    issue 1 (python-ad using str2dn instead of explode_dn) commented on by wichert   -   Hasn't this been fixed with http://bitbucket.org/geertj/python-ad/changeset/078d9d6f554e/ ?
  • Sep 09, 2009
    issue 4 (fails to run on OSX) reported by wichert   -   I'm afraid I have not succeeded in finding a solution, but this should at least be logged somewhere. The krb5 module compiles fine on OSX, but when trying to import ad I get this error: File "<string>", line 1, in <module> File "/Users/wichert/Development/play/ad/src/python-ad-0.9/lib/ad/__init__.py", line 12, in <module> from ad.core.client import Client File "/Users/wichert/Development/play/ad/src/python-ad-0.9/lib/ad/core/client.py", line 20, in <module> from ad.core.creds import Creds File "/Users/wichert/Development/play/ad/src/python-ad-0.9/lib/ad/core/creds.py", line 17, in <module> from ad.protocol import krb5 ImportError: dlopen(/Users/wichert/Development/play/ad/src/python-ad-0.9/lib/ad/protocol/krb5.so, 2): Symbol not found: _krb5_get_error_message Referenced from: /Users/wichert/Development/play/ad/src/python-ad-0.9/lib/ad/protocol/krb5.so Expected in: dynamic lookup when using the system (dynamic) libkrb5 it fails to find _initialize_krb5_error_table instead. This is on OSX 10.4 (Tiger), I have not tested any other OSX versions.
    I'm afraid I have not succeeded in finding a solution, but this should at least be logged somewhere. The krb5 module compiles fine on OSX, but when trying to import ad I get this error: File "<string>", line 1, in <module> File "/Users/wichert/Development/play/ad/src/python-ad-0.9/lib/ad/__init__.py", line 12, in <module> from ad.core.client import Client File "/Users/wichert/Development/play/ad/src/python-ad-0.9/lib/ad/core/client.py", line 20, in <module> from ad.core.creds import Creds File "/Users/wichert/Development/play/ad/src/python-ad-0.9/lib/ad/core/creds.py", line 17, in <module> from ad.protocol import krb5 ImportError: dlopen(/Users/wichert/Development/play/ad/src/python-ad-0.9/lib/ad/protocol/krb5.so, 2): Symbol not found: _krb5_get_error_message Referenced from: /Users/wichert/Development/play/ad/src/python-ad-0.9/lib/ad/protocol/krb5.so Expected in: dynamic lookup when using the system (dynamic) libkrb5 it fails to find _initialize_krb5_error_table instead. This is on OSX 10.4 (Tiger), I have not tested any other OSX versions.
  • Sep 09, 2009
    issue 2 (Undeclared dependencies) commented on by wichert   -   Turns out that PLY is on pypi after all, so it should be included in the install_requires list as well.
    Turns out that PLY is on pypi after all, so it should be included in the install_requires list as well.
  • Sep 09, 2009
    issue 3 (Not installable from pypi) reported by wichert   -   python-ad is not installable from pypi using easy_install: there is no download on pypi itself, and google code URL given as home page on pypi does not offer any downloads. I would suggest to upload the sdist to pypi as well to facilitate downloads and reduce the extra indirection to google code.
    python-ad is not installable from pypi using easy_install: there is no download on pypi itself, and google code URL given as home page on pypi does not offer any downloads. I would suggest to upload the sdist to pypi as well to facilitate downloads and reduce the extra indirection to google code.
  • Sep 09, 2009
    issue 2 (Undeclared dependencies) reported by wichert   -   setup.py should have an install_requires which looks like this: install_requires = [ "python-ldap", "dnspython", ] Ideally it should list PLY as well, but since that is not listed on pypi that does not work.
    setup.py should have an install_requires which looks like this: install_requires = [ "python-ldap", "dnspython", ] Ideally it should list PLY as well, but since that is not listed on pypi that does not work.
  • Aug 12, 2009
    issue 1 (python-ad using str2dn instead of explode_dn) reported by MaxVend   -   What steps will reproduce the problem? 1. Run tutorial one against an AD domain. What is the expected output? What do you see instead? Listing of users, instead: File "build/bdist.linux-i686/egg/ad/core/client.py", line 391, in search File "build/bdist.linux-i686/egg/ad/core/client.py", line 323, in _fixup_base File "build/bdist.linux-i686/egg/ad/core/client.py", line 138, in domain File "build/bdist.linux-i686/egg/ad/core/client.py", line 98, in domain_name_from_dn AttributeError: 'module' object has no attribute 'str2dn' What version of the product are you using? On what operating system? Fedora 11 Python 2.6 python-ldap-2.3.6 Please provide any additional information below. This happens because the str2dn function has been replaced by explode_dn in the python-ldap package. I've written a patch to fix the behavior, which has been attached.
    What steps will reproduce the problem? 1. Run tutorial one against an AD domain. What is the expected output? What do you see instead? Listing of users, instead: File "build/bdist.linux-i686/egg/ad/core/client.py", line 391, in search File "build/bdist.linux-i686/egg/ad/core/client.py", line 323, in _fixup_base File "build/bdist.linux-i686/egg/ad/core/client.py", line 138, in domain File "build/bdist.linux-i686/egg/ad/core/client.py", line 98, in domain_name_from_dn AttributeError: 'module' object has no attribute 'str2dn' What version of the product are you using? On what operating system? Fedora 11 Python 2.6 python-ldap-2.3.6 Please provide any additional information below. This happens because the str2dn function has been replaced by explode_dn in the python-ldap package. I've written a patch to fix the behavior, which has been attached.
  • May 03, 2009
    SourceCode Wiki page edited by geertj

Older

 
Hosted by Google Code