From hanser at club-internet.fr Sat Sep 4 17:13:26 2004 From: hanser at club-internet.fr (Pierre Hanser) Date: Fri Jan 13 11:13:24 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 Message-ID: <4139CD86.6020403@club-internet.fr> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 hello seems that python2.4a3 is not compatible with the optimizations in mx/DateTime/mxDateTime/mxDateTime.c on Linux: from mx import DateTime -> core dump if I disable the optims, everything gets ok /* Define these to have the module use free lists (saves malloc calls) */ #define MXDATETIME_FREELIST #define MXDATETIMEDELTA_FREELIST #undef MXDATETIME_FREELIST #undef MXDATETIMEDELTA_FREELIST - -- Pierre -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBOc2GMQ2/jYUwmmwRAn70AJ4puAZm4p10+KTCK/GzLt20VzWd3ACfQzIo H8hLxq8iCE3KGYZ6AR5QUy8= =GA8t -----END PGP SIGNATURE----- From mal at egenix.com Sun Sep 5 19:53:02 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Fri Jan 13 11:13:24 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 In-Reply-To: <4139CD86.6020403@club-internet.fr> References: <4139CD86.6020403@club-internet.fr> Message-ID: <413B446E.40002@egenix.com> Pierre Hanser wrote: > hello > > seems that python2.4a3 is not compatible with the optimizations in > mx/DateTime/mxDateTime/mxDateTime.c on Linux: > > from mx import DateTime -> core dump > > if I disable the optims, everything gets ok > > /* Define these to have the module use free lists (saves malloc calls) */ > #define MXDATETIME_FREELIST > #define MXDATETIMEDELTA_FREELIST > #undef MXDATETIME_FREELIST > #undef MXDATETIMEDELTA_FREELIST This is more likely due to a bug in your C compiler. -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 05 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From aluton at rcseng.ac.uk Wed Sep 8 12:33:02 2004 From: aluton at rcseng.ac.uk (Alex Luton) Date: Fri Jan 13 11:13:24 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: References: Message-ID: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Hi, I'm trying to get the mxODBC DA working, but the product is broken with this error message: Traceback (most recent call last): File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product product=__import__(pname, global_dict, global_dict, silly) File "Products/mxODBCZopeDA/__init__.py", line 7, in ? File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? Any help would be much appreciated. Thanks -- Alex ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 From mal at egenix.com Wed Sep 8 13:37:44 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Fri Jan 13 11:13:24 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> References: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Message-ID: <413EE0F8.6050601@egenix.com> Alex Luton wrote: > Hi, > > I'm trying to get the mxODBC DA working, but the product is broken with > this error message: > > Traceback (most recent call last): > File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product > product=__import__(pname, global_dict, global_dict, silly) > File "Products/mxODBCZopeDA/__init__.py", line 7, in ? > File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? > ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString > > I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? RedHat chose to build Python with 4-byte Unicode which is causing all sorts of problems with pre-built extensions. We will start shipping UCS4 builds of the Zope DA with the next release. Until then, you can try the pre-release of 1.0.9: http://www.egenix.com/files/python/egenix-mxodbc-zopeda-1.0.9.linux-i686-py2.3ucs4.zip -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 08 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From kl at vsen.dk Sat Sep 11 20:21:57 2004 From: kl at vsen.dk (Klavs Klavsen) Date: Fri Jan 13 11:13:24 2006 Subject: [egenix-users] bufferoverflow in egenix? Message-ID: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Hi guys, Just installed a new gcc with stack-smashing protection - and while recompiling modules with stack-smashing protection, I got this message: -- copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l ib/python2.3/site-packages/mx/Misc copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ python2.3/site-packages/mx/Misc writing byte-compilation script '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: SyntaxWarning: name 'debugging' is use d prior to global declaration python: stack smashing attack in function symtable_node() error: command '/usr/bin/python' terminated by signal 6 !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. !!! Function distutils_src_install, Line 43, Exitcode 1 !!! (no error message) so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes one in python) - I haven't done very much research as I can live without egenix - but just wanted to let you know :) p.s. it's python-2.3.3. -- Regards, Klavs Klavsen, GSEC - kl@vsen.dk - http://www.vsen.dk PGP: 7E063C62/2873 188C 968E 600D D8F8 B8DA 3D3A 0B79 7E06 3C62 "Those who do not understand Unix are condemned to reinvent it, poorly." --Henry Spencer From mal at egenix.com Sat Sep 11 23:51:30 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Fri Jan 13 11:13:24 2006 Subject: [egenix-users] bufferoverflow in egenix? In-Reply-To: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> References: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Message-ID: <41436552.6000906@egenix.com> Klavs Klavsen wrote: > Hi guys, > > Just installed a new gcc with stack-smashing protection - and while > recompiling modules with stack-smashing protection, I got this message: > -- > copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l > ib/python2.3/site-packages/mx/Misc > copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ > python2.3/site-packages/mx/Misc > writing byte-compilation script > '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' > /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py > usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: > SyntaxWarning: name 'debugging' is use > d prior to global declaration This is an error that the Python compiler generated. I'd suggest you report to the Python bug tracker. BTW, pytag.py is no longer used or maintained, so you can safely delete it. > python: stack smashing attack in function symtable_node() > error: command '/usr/bin/python' terminated by signal 6 > > !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. > !!! Function distutils_src_install, Line 43, Exitcode 1 > !!! (no error message) > > so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes > one in python) - I haven't done very much research as I can live without > egenix - but just wanted to let you know :) > > p.s. it's python-2.3.3. Thanks, -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 11 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From harrelson at gmail.com Thu Sep 30 17:48:13 2004 From: harrelson at gmail.com (Culley Harrelson) Date: Fri Jan 13 11:13:24 2006 Subject: [egenix-users] OS X 10.3.5: *** You don't have the (right) mxDateTime binaries installed ! Message-ID: <529825a30409301648507c0cf8@mail.gmail.com> I have successfully installed mxDateTime on my OS X 10.3.5 system, using the system Python installation. It installed but as soon as I try to import the module I get: === *** You don't have the (right) mxDateTime binaries installed ! Traceback (most recent call last): File "./testFeDb.py", line 4, in ? from mx import DateTime File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/__init__.py", line 8, in ? from DateTime import * File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/DateTime.py", line 9, in ? from mxDateTime import * File "/Library/Python/2.3/mx/DateTime/mxDateTime/__init__.py", line 13, in ? raise ImportError, why ImportError: Failure linking new module: : dyld: python Undefined symbols: /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyArg_ParseTuple expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCObject_FromVoidPtr expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCallable_Check expected to be defined in the executable /Library/Python/2.3/mx/Date === Has anyone experienced this? Any ideas how to fix it? culley From hanser at club-internet.fr Sat Sep 4 17:13:26 2004 From: hanser at club-internet.fr (Pierre Hanser) Date: Fri Jan 13 15:13:56 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 Message-ID: <4139CD86.6020403@club-internet.fr> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 hello seems that python2.4a3 is not compatible with the optimizations in mx/DateTime/mxDateTime/mxDateTime.c on Linux: from mx import DateTime -> core dump if I disable the optims, everything gets ok /* Define these to have the module use free lists (saves malloc calls) */ #define MXDATETIME_FREELIST #define MXDATETIMEDELTA_FREELIST #undef MXDATETIME_FREELIST #undef MXDATETIMEDELTA_FREELIST - -- Pierre -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBOc2GMQ2/jYUwmmwRAn70AJ4puAZm4p10+KTCK/GzLt20VzWd3ACfQzIo H8hLxq8iCE3KGYZ6AR5QUy8= =GA8t -----END PGP SIGNATURE----- From mal at egenix.com Sun Sep 5 19:53:02 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Fri Jan 13 15:13:56 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 In-Reply-To: <4139CD86.6020403@club-internet.fr> References: <4139CD86.6020403@club-internet.fr> Message-ID: <413B446E.40002@egenix.com> Pierre Hanser wrote: > hello > > seems that python2.4a3 is not compatible with the optimizations in > mx/DateTime/mxDateTime/mxDateTime.c on Linux: > > from mx import DateTime -> core dump > > if I disable the optims, everything gets ok > > /* Define these to have the module use free lists (saves malloc calls) */ > #define MXDATETIME_FREELIST > #define MXDATETIMEDELTA_FREELIST > #undef MXDATETIME_FREELIST > #undef MXDATETIMEDELTA_FREELIST This is more likely due to a bug in your C compiler. -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 05 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From aluton at rcseng.ac.uk Wed Sep 8 12:33:02 2004 From: aluton at rcseng.ac.uk (Alex Luton) Date: Fri Jan 13 15:13:56 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: References: Message-ID: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Hi, I'm trying to get the mxODBC DA working, but the product is broken with this error message: Traceback (most recent call last): File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product product=__import__(pname, global_dict, global_dict, silly) File "Products/mxODBCZopeDA/__init__.py", line 7, in ? File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? Any help would be much appreciated. Thanks -- Alex ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 From mal at egenix.com Wed Sep 8 13:37:44 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Fri Jan 13 15:13:56 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> References: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Message-ID: <413EE0F8.6050601@egenix.com> Alex Luton wrote: > Hi, > > I'm trying to get the mxODBC DA working, but the product is broken with > this error message: > > Traceback (most recent call last): > File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product > product=__import__(pname, global_dict, global_dict, silly) > File "Products/mxODBCZopeDA/__init__.py", line 7, in ? > File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? > ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString > > I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? RedHat chose to build Python with 4-byte Unicode which is causing all sorts of problems with pre-built extensions. We will start shipping UCS4 builds of the Zope DA with the next release. Until then, you can try the pre-release of 1.0.9: http://www.egenix.com/files/python/egenix-mxodbc-zopeda-1.0.9.linux-i686-py2.3ucs4.zip -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 08 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From kl at vsen.dk Sat Sep 11 20:21:57 2004 From: kl at vsen.dk (Klavs Klavsen) Date: Fri Jan 13 15:13:56 2006 Subject: [egenix-users] bufferoverflow in egenix? Message-ID: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Hi guys, Just installed a new gcc with stack-smashing protection - and while recompiling modules with stack-smashing protection, I got this message: -- copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l ib/python2.3/site-packages/mx/Misc copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ python2.3/site-packages/mx/Misc writing byte-compilation script '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: SyntaxWarning: name 'debugging' is use d prior to global declaration python: stack smashing attack in function symtable_node() error: command '/usr/bin/python' terminated by signal 6 !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. !!! Function distutils_src_install, Line 43, Exitcode 1 !!! (no error message) so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes one in python) - I haven't done very much research as I can live without egenix - but just wanted to let you know :) p.s. it's python-2.3.3. -- Regards, Klavs Klavsen, GSEC - kl@vsen.dk - http://www.vsen.dk PGP: 7E063C62/2873 188C 968E 600D D8F8 B8DA 3D3A 0B79 7E06 3C62 "Those who do not understand Unix are condemned to reinvent it, poorly." --Henry Spencer From mal at egenix.com Sat Sep 11 23:51:30 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Fri Jan 13 15:13:56 2006 Subject: [egenix-users] bufferoverflow in egenix? In-Reply-To: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> References: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Message-ID: <41436552.6000906@egenix.com> Klavs Klavsen wrote: > Hi guys, > > Just installed a new gcc with stack-smashing protection - and while > recompiling modules with stack-smashing protection, I got this message: > -- > copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l > ib/python2.3/site-packages/mx/Misc > copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ > python2.3/site-packages/mx/Misc > writing byte-compilation script > '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' > /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py > usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: > SyntaxWarning: name 'debugging' is use > d prior to global declaration This is an error that the Python compiler generated. I'd suggest you report to the Python bug tracker. BTW, pytag.py is no longer used or maintained, so you can safely delete it. > python: stack smashing attack in function symtable_node() > error: command '/usr/bin/python' terminated by signal 6 > > !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. > !!! Function distutils_src_install, Line 43, Exitcode 1 > !!! (no error message) > > so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes > one in python) - I haven't done very much research as I can live without > egenix - but just wanted to let you know :) > > p.s. it's python-2.3.3. Thanks, -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 11 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From harrelson at gmail.com Thu Sep 30 17:48:13 2004 From: harrelson at gmail.com (Culley Harrelson) Date: Fri Jan 13 15:13:56 2006 Subject: [egenix-users] OS X 10.3.5: *** You don't have the (right) mxDateTime binaries installed ! Message-ID: <529825a30409301648507c0cf8@mail.gmail.com> I have successfully installed mxDateTime on my OS X 10.3.5 system, using the system Python installation. It installed but as soon as I try to import the module I get: === *** You don't have the (right) mxDateTime binaries installed ! Traceback (most recent call last): File "./testFeDb.py", line 4, in ? from mx import DateTime File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/__init__.py", line 8, in ? from DateTime import * File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/DateTime.py", line 9, in ? from mxDateTime import * File "/Library/Python/2.3/mx/DateTime/mxDateTime/__init__.py", line 13, in ? raise ImportError, why ImportError: Failure linking new module: : dyld: python Undefined symbols: /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyArg_ParseTuple expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCObject_FromVoidPtr expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCallable_Check expected to be defined in the executable /Library/Python/2.3/mx/Date === Has anyone experienced this? Any ideas how to fix it? culley From hanser at club-internet.fr Sat Sep 4 17:13:26 2004 From: hanser at club-internet.fr (Pierre Hanser) Date: Fri Jan 13 15:21:18 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 Message-ID: <4139CD86.6020403@club-internet.fr> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 hello seems that python2.4a3 is not compatible with the optimizations in mx/DateTime/mxDateTime/mxDateTime.c on Linux: from mx import DateTime -> core dump if I disable the optims, everything gets ok /* Define these to have the module use free lists (saves malloc calls) */ #define MXDATETIME_FREELIST #define MXDATETIMEDELTA_FREELIST #undef MXDATETIME_FREELIST #undef MXDATETIMEDELTA_FREELIST - -- Pierre -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBOc2GMQ2/jYUwmmwRAn70AJ4puAZm4p10+KTCK/GzLt20VzWd3ACfQzIo H8hLxq8iCE3KGYZ6AR5QUy8= =GA8t -----END PGP SIGNATURE----- From mal at egenix.com Sun Sep 5 19:53:02 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Fri Jan 13 15:21:18 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 In-Reply-To: <4139CD86.6020403@club-internet.fr> References: <4139CD86.6020403@club-internet.fr> Message-ID: <413B446E.40002@egenix.com> Pierre Hanser wrote: > hello > > seems that python2.4a3 is not compatible with the optimizations in > mx/DateTime/mxDateTime/mxDateTime.c on Linux: > > from mx import DateTime -> core dump > > if I disable the optims, everything gets ok > > /* Define these to have the module use free lists (saves malloc calls) */ > #define MXDATETIME_FREELIST > #define MXDATETIMEDELTA_FREELIST > #undef MXDATETIME_FREELIST > #undef MXDATETIMEDELTA_FREELIST This is more likely due to a bug in your C compiler. -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 05 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From aluton at rcseng.ac.uk Wed Sep 8 12:33:02 2004 From: aluton at rcseng.ac.uk (Alex Luton) Date: Fri Jan 13 15:21:18 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: References: Message-ID: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Hi, I'm trying to get the mxODBC DA working, but the product is broken with this error message: Traceback (most recent call last): File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product product=__import__(pname, global_dict, global_dict, silly) File "Products/mxODBCZopeDA/__init__.py", line 7, in ? File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? Any help would be much appreciated. Thanks -- Alex ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 From mal at egenix.com Wed Sep 8 13:37:44 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Fri Jan 13 15:21:18 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> References: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Message-ID: <413EE0F8.6050601@egenix.com> Alex Luton wrote: > Hi, > > I'm trying to get the mxODBC DA working, but the product is broken with > this error message: > > Traceback (most recent call last): > File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product > product=__import__(pname, global_dict, global_dict, silly) > File "Products/mxODBCZopeDA/__init__.py", line 7, in ? > File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? > ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString > > I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? RedHat chose to build Python with 4-byte Unicode which is causing all sorts of problems with pre-built extensions. We will start shipping UCS4 builds of the Zope DA with the next release. Until then, you can try the pre-release of 1.0.9: http://www.egenix.com/files/python/egenix-mxodbc-zopeda-1.0.9.linux-i686-py2.3ucs4.zip -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 08 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From kl at vsen.dk Sat Sep 11 20:21:57 2004 From: kl at vsen.dk (Klavs Klavsen) Date: Fri Jan 13 15:21:18 2006 Subject: [egenix-users] bufferoverflow in egenix? Message-ID: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Hi guys, Just installed a new gcc with stack-smashing protection - and while recompiling modules with stack-smashing protection, I got this message: -- copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l ib/python2.3/site-packages/mx/Misc copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ python2.3/site-packages/mx/Misc writing byte-compilation script '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: SyntaxWarning: name 'debugging' is use d prior to global declaration python: stack smashing attack in function symtable_node() error: command '/usr/bin/python' terminated by signal 6 !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. !!! Function distutils_src_install, Line 43, Exitcode 1 !!! (no error message) so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes one in python) - I haven't done very much research as I can live without egenix - but just wanted to let you know :) p.s. it's python-2.3.3. -- Regards, Klavs Klavsen, GSEC - kl@vsen.dk - http://www.vsen.dk PGP: 7E063C62/2873 188C 968E 600D D8F8 B8DA 3D3A 0B79 7E06 3C62 "Those who do not understand Unix are condemned to reinvent it, poorly." --Henry Spencer From mal at egenix.com Sat Sep 11 23:51:30 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Fri Jan 13 15:21:18 2006 Subject: [egenix-users] bufferoverflow in egenix? In-Reply-To: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> References: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Message-ID: <41436552.6000906@egenix.com> Klavs Klavsen wrote: > Hi guys, > > Just installed a new gcc with stack-smashing protection - and while > recompiling modules with stack-smashing protection, I got this message: > -- > copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l > ib/python2.3/site-packages/mx/Misc > copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ > python2.3/site-packages/mx/Misc > writing byte-compilation script > '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' > /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py > usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: > SyntaxWarning: name 'debugging' is use > d prior to global declaration This is an error that the Python compiler generated. I'd suggest you report to the Python bug tracker. BTW, pytag.py is no longer used or maintained, so you can safely delete it. > python: stack smashing attack in function symtable_node() > error: command '/usr/bin/python' terminated by signal 6 > > !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. > !!! Function distutils_src_install, Line 43, Exitcode 1 > !!! (no error message) > > so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes > one in python) - I haven't done very much research as I can live without > egenix - but just wanted to let you know :) > > p.s. it's python-2.3.3. Thanks, -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 11 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From harrelson at gmail.com Thu Sep 30 17:48:13 2004 From: harrelson at gmail.com (Culley Harrelson) Date: Fri Jan 13 15:21:18 2006 Subject: [egenix-users] OS X 10.3.5: *** You don't have the (right) mxDateTime binaries installed ! Message-ID: <529825a30409301648507c0cf8@mail.gmail.com> I have successfully installed mxDateTime on my OS X 10.3.5 system, using the system Python installation. It installed but as soon as I try to import the module I get: === *** You don't have the (right) mxDateTime binaries installed ! Traceback (most recent call last): File "./testFeDb.py", line 4, in ? from mx import DateTime File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/__init__.py", line 8, in ? from DateTime import * File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/DateTime.py", line 9, in ? from mxDateTime import * File "/Library/Python/2.3/mx/DateTime/mxDateTime/__init__.py", line 13, in ? raise ImportError, why ImportError: Failure linking new module: : dyld: python Undefined symbols: /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyArg_ParseTuple expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCObject_FromVoidPtr expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCallable_Check expected to be defined in the executable /Library/Python/2.3/mx/Date === Has anyone experienced this? Any ideas how to fix it? culley From hanser at club-internet.fr Sat Sep 4 17:13:26 2004 From: hanser at club-internet.fr (Pierre Hanser) Date: Fri Jan 13 16:00:51 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 Message-ID: <4139CD86.6020403@club-internet.fr> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 hello seems that python2.4a3 is not compatible with the optimizations in mx/DateTime/mxDateTime/mxDateTime.c on Linux: from mx import DateTime -> core dump if I disable the optims, everything gets ok /* Define these to have the module use free lists (saves malloc calls) */ #define MXDATETIME_FREELIST #define MXDATETIMEDELTA_FREELIST #undef MXDATETIME_FREELIST #undef MXDATETIMEDELTA_FREELIST - -- Pierre -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBOc2GMQ2/jYUwmmwRAn70AJ4puAZm4p10+KTCK/GzLt20VzWd3ACfQzIo H8hLxq8iCE3KGYZ6AR5QUy8= =GA8t -----END PGP SIGNATURE----- From mal at egenix.com Sun Sep 5 19:53:02 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Fri Jan 13 16:00:51 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 In-Reply-To: <4139CD86.6020403@club-internet.fr> References: <4139CD86.6020403@club-internet.fr> Message-ID: <413B446E.40002@egenix.com> Pierre Hanser wrote: > hello > > seems that python2.4a3 is not compatible with the optimizations in > mx/DateTime/mxDateTime/mxDateTime.c on Linux: > > from mx import DateTime -> core dump > > if I disable the optims, everything gets ok > > /* Define these to have the module use free lists (saves malloc calls) */ > #define MXDATETIME_FREELIST > #define MXDATETIMEDELTA_FREELIST > #undef MXDATETIME_FREELIST > #undef MXDATETIMEDELTA_FREELIST This is more likely due to a bug in your C compiler. -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 05 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From aluton at rcseng.ac.uk Wed Sep 8 12:33:02 2004 From: aluton at rcseng.ac.uk (Alex Luton) Date: Fri Jan 13 16:00:51 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: References: Message-ID: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Hi, I'm trying to get the mxODBC DA working, but the product is broken with this error message: Traceback (most recent call last): File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product product=__import__(pname, global_dict, global_dict, silly) File "Products/mxODBCZopeDA/__init__.py", line 7, in ? File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? Any help would be much appreciated. Thanks -- Alex ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 From mal at egenix.com Wed Sep 8 13:37:44 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Fri Jan 13 16:00:51 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> References: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Message-ID: <413EE0F8.6050601@egenix.com> Alex Luton wrote: > Hi, > > I'm trying to get the mxODBC DA working, but the product is broken with > this error message: > > Traceback (most recent call last): > File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product > product=__import__(pname, global_dict, global_dict, silly) > File "Products/mxODBCZopeDA/__init__.py", line 7, in ? > File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? > ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString > > I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? RedHat chose to build Python with 4-byte Unicode which is causing all sorts of problems with pre-built extensions. We will start shipping UCS4 builds of the Zope DA with the next release. Until then, you can try the pre-release of 1.0.9: http://www.egenix.com/files/python/egenix-mxodbc-zopeda-1.0.9.linux-i686-py2.3ucs4.zip -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 08 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From kl at vsen.dk Sat Sep 11 20:21:57 2004 From: kl at vsen.dk (Klavs Klavsen) Date: Fri Jan 13 16:00:51 2006 Subject: [egenix-users] bufferoverflow in egenix? Message-ID: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Hi guys, Just installed a new gcc with stack-smashing protection - and while recompiling modules with stack-smashing protection, I got this message: -- copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l ib/python2.3/site-packages/mx/Misc copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ python2.3/site-packages/mx/Misc writing byte-compilation script '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: SyntaxWarning: name 'debugging' is use d prior to global declaration python: stack smashing attack in function symtable_node() error: command '/usr/bin/python' terminated by signal 6 !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. !!! Function distutils_src_install, Line 43, Exitcode 1 !!! (no error message) so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes one in python) - I haven't done very much research as I can live without egenix - but just wanted to let you know :) p.s. it's python-2.3.3. -- Regards, Klavs Klavsen, GSEC - kl@vsen.dk - http://www.vsen.dk PGP: 7E063C62/2873 188C 968E 600D D8F8 B8DA 3D3A 0B79 7E06 3C62 "Those who do not understand Unix are condemned to reinvent it, poorly." --Henry Spencer From mal at egenix.com Sat Sep 11 23:51:30 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Fri Jan 13 16:00:51 2006 Subject: [egenix-users] bufferoverflow in egenix? In-Reply-To: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> References: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Message-ID: <41436552.6000906@egenix.com> Klavs Klavsen wrote: > Hi guys, > > Just installed a new gcc with stack-smashing protection - and while > recompiling modules with stack-smashing protection, I got this message: > -- > copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l > ib/python2.3/site-packages/mx/Misc > copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ > python2.3/site-packages/mx/Misc > writing byte-compilation script > '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' > /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py > usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: > SyntaxWarning: name 'debugging' is use > d prior to global declaration This is an error that the Python compiler generated. I'd suggest you report to the Python bug tracker. BTW, pytag.py is no longer used or maintained, so you can safely delete it. > python: stack smashing attack in function symtable_node() > error: command '/usr/bin/python' terminated by signal 6 > > !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. > !!! Function distutils_src_install, Line 43, Exitcode 1 > !!! (no error message) > > so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes > one in python) - I haven't done very much research as I can live without > egenix - but just wanted to let you know :) > > p.s. it's python-2.3.3. Thanks, -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 11 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From harrelson at gmail.com Thu Sep 30 17:48:13 2004 From: harrelson at gmail.com (Culley Harrelson) Date: Fri Jan 13 16:00:51 2006 Subject: [egenix-users] OS X 10.3.5: *** You don't have the (right) mxDateTime binaries installed ! Message-ID: <529825a30409301648507c0cf8@mail.gmail.com> I have successfully installed mxDateTime on my OS X 10.3.5 system, using the system Python installation. It installed but as soon as I try to import the module I get: === *** You don't have the (right) mxDateTime binaries installed ! Traceback (most recent call last): File "./testFeDb.py", line 4, in ? from mx import DateTime File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/__init__.py", line 8, in ? from DateTime import * File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/DateTime.py", line 9, in ? from mxDateTime import * File "/Library/Python/2.3/mx/DateTime/mxDateTime/__init__.py", line 13, in ? raise ImportError, why ImportError: Failure linking new module: : dyld: python Undefined symbols: /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyArg_ParseTuple expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCObject_FromVoidPtr expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCallable_Check expected to be defined in the executable /Library/Python/2.3/mx/Date === Has anyone experienced this? Any ideas how to fix it? culley From hanser at club-internet.fr Sat Sep 4 17:13:26 2004 From: hanser at club-internet.fr (Pierre Hanser) Date: Fri Jan 13 20:01:47 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 Message-ID: <4139CD86.6020403@club-internet.fr> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 hello seems that python2.4a3 is not compatible with the optimizations in mx/DateTime/mxDateTime/mxDateTime.c on Linux: from mx import DateTime -> core dump if I disable the optims, everything gets ok /* Define these to have the module use free lists (saves malloc calls) */ #define MXDATETIME_FREELIST #define MXDATETIMEDELTA_FREELIST #undef MXDATETIME_FREELIST #undef MXDATETIMEDELTA_FREELIST - -- Pierre -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBOc2GMQ2/jYUwmmwRAn70AJ4puAZm4p10+KTCK/GzLt20VzWd3ACfQzIo H8hLxq8iCE3KGYZ6AR5QUy8= =GA8t -----END PGP SIGNATURE----- From mal at egenix.com Sun Sep 5 19:53:02 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Fri Jan 13 20:01:47 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 In-Reply-To: <4139CD86.6020403@club-internet.fr> References: <4139CD86.6020403@club-internet.fr> Message-ID: <413B446E.40002@egenix.com> Pierre Hanser wrote: > hello > > seems that python2.4a3 is not compatible with the optimizations in > mx/DateTime/mxDateTime/mxDateTime.c on Linux: > > from mx import DateTime -> core dump > > if I disable the optims, everything gets ok > > /* Define these to have the module use free lists (saves malloc calls) */ > #define MXDATETIME_FREELIST > #define MXDATETIMEDELTA_FREELIST > #undef MXDATETIME_FREELIST > #undef MXDATETIMEDELTA_FREELIST This is more likely due to a bug in your C compiler. -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 05 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From aluton at rcseng.ac.uk Wed Sep 8 12:33:02 2004 From: aluton at rcseng.ac.uk (Alex Luton) Date: Fri Jan 13 20:01:47 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: References: Message-ID: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Hi, I'm trying to get the mxODBC DA working, but the product is broken with this error message: Traceback (most recent call last): File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product product=__import__(pname, global_dict, global_dict, silly) File "Products/mxODBCZopeDA/__init__.py", line 7, in ? File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? Any help would be much appreciated. Thanks -- Alex ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 From mal at egenix.com Wed Sep 8 13:37:44 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Fri Jan 13 20:01:47 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> References: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Message-ID: <413EE0F8.6050601@egenix.com> Alex Luton wrote: > Hi, > > I'm trying to get the mxODBC DA working, but the product is broken with > this error message: > > Traceback (most recent call last): > File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product > product=__import__(pname, global_dict, global_dict, silly) > File "Products/mxODBCZopeDA/__init__.py", line 7, in ? > File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? > ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString > > I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? RedHat chose to build Python with 4-byte Unicode which is causing all sorts of problems with pre-built extensions. We will start shipping UCS4 builds of the Zope DA with the next release. Until then, you can try the pre-release of 1.0.9: http://www.egenix.com/files/python/egenix-mxodbc-zopeda-1.0.9.linux-i686-py2.3ucs4.zip -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 08 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From kl at vsen.dk Sat Sep 11 20:21:57 2004 From: kl at vsen.dk (Klavs Klavsen) Date: Fri Jan 13 20:01:47 2006 Subject: [egenix-users] bufferoverflow in egenix? Message-ID: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Hi guys, Just installed a new gcc with stack-smashing protection - and while recompiling modules with stack-smashing protection, I got this message: -- copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l ib/python2.3/site-packages/mx/Misc copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ python2.3/site-packages/mx/Misc writing byte-compilation script '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: SyntaxWarning: name 'debugging' is use d prior to global declaration python: stack smashing attack in function symtable_node() error: command '/usr/bin/python' terminated by signal 6 !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. !!! Function distutils_src_install, Line 43, Exitcode 1 !!! (no error message) so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes one in python) - I haven't done very much research as I can live without egenix - but just wanted to let you know :) p.s. it's python-2.3.3. -- Regards, Klavs Klavsen, GSEC - kl@vsen.dk - http://www.vsen.dk PGP: 7E063C62/2873 188C 968E 600D D8F8 B8DA 3D3A 0B79 7E06 3C62 "Those who do not understand Unix are condemned to reinvent it, poorly." --Henry Spencer From mal at egenix.com Sat Sep 11 23:51:30 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Fri Jan 13 20:01:47 2006 Subject: [egenix-users] bufferoverflow in egenix? In-Reply-To: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> References: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Message-ID: <41436552.6000906@egenix.com> Klavs Klavsen wrote: > Hi guys, > > Just installed a new gcc with stack-smashing protection - and while > recompiling modules with stack-smashing protection, I got this message: > -- > copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l > ib/python2.3/site-packages/mx/Misc > copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ > python2.3/site-packages/mx/Misc > writing byte-compilation script > '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' > /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py > usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: > SyntaxWarning: name 'debugging' is use > d prior to global declaration This is an error that the Python compiler generated. I'd suggest you report to the Python bug tracker. BTW, pytag.py is no longer used or maintained, so you can safely delete it. > python: stack smashing attack in function symtable_node() > error: command '/usr/bin/python' terminated by signal 6 > > !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. > !!! Function distutils_src_install, Line 43, Exitcode 1 > !!! (no error message) > > so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes > one in python) - I haven't done very much research as I can live without > egenix - but just wanted to let you know :) > > p.s. it's python-2.3.3. Thanks, -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 11 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From harrelson at gmail.com Thu Sep 30 17:48:13 2004 From: harrelson at gmail.com (Culley Harrelson) Date: Fri Jan 13 20:01:47 2006 Subject: [egenix-users] OS X 10.3.5: *** You don't have the (right) mxDateTime binaries installed ! Message-ID: <529825a30409301648507c0cf8@mail.gmail.com> I have successfully installed mxDateTime on my OS X 10.3.5 system, using the system Python installation. It installed but as soon as I try to import the module I get: === *** You don't have the (right) mxDateTime binaries installed ! Traceback (most recent call last): File "./testFeDb.py", line 4, in ? from mx import DateTime File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/__init__.py", line 8, in ? from DateTime import * File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/DateTime.py", line 9, in ? from mxDateTime import * File "/Library/Python/2.3/mx/DateTime/mxDateTime/__init__.py", line 13, in ? raise ImportError, why ImportError: Failure linking new module: : dyld: python Undefined symbols: /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyArg_ParseTuple expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCObject_FromVoidPtr expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCallable_Check expected to be defined in the executable /Library/Python/2.3/mx/Date === Has anyone experienced this? Any ideas how to fix it? culley From hanser at club-internet.fr Sat Sep 4 17:13:26 2004 From: hanser at club-internet.fr (Pierre Hanser) Date: Sat Jan 14 08:02:25 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 Message-ID: <4139CD86.6020403@club-internet.fr> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 hello seems that python2.4a3 is not compatible with the optimizations in mx/DateTime/mxDateTime/mxDateTime.c on Linux: from mx import DateTime -> core dump if I disable the optims, everything gets ok /* Define these to have the module use free lists (saves malloc calls) */ #define MXDATETIME_FREELIST #define MXDATETIMEDELTA_FREELIST #undef MXDATETIME_FREELIST #undef MXDATETIMEDELTA_FREELIST - -- Pierre -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBOc2GMQ2/jYUwmmwRAn70AJ4puAZm4p10+KTCK/GzLt20VzWd3ACfQzIo H8hLxq8iCE3KGYZ6AR5QUy8= =GA8t -----END PGP SIGNATURE----- From mal at egenix.com Sun Sep 5 19:53:02 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Sat Jan 14 08:02:25 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 In-Reply-To: <4139CD86.6020403@club-internet.fr> References: <4139CD86.6020403@club-internet.fr> Message-ID: <413B446E.40002@egenix.com> Pierre Hanser wrote: > hello > > seems that python2.4a3 is not compatible with the optimizations in > mx/DateTime/mxDateTime/mxDateTime.c on Linux: > > from mx import DateTime -> core dump > > if I disable the optims, everything gets ok > > /* Define these to have the module use free lists (saves malloc calls) */ > #define MXDATETIME_FREELIST > #define MXDATETIMEDELTA_FREELIST > #undef MXDATETIME_FREELIST > #undef MXDATETIMEDELTA_FREELIST This is more likely due to a bug in your C compiler. -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 05 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From aluton at rcseng.ac.uk Wed Sep 8 12:33:02 2004 From: aluton at rcseng.ac.uk (Alex Luton) Date: Sat Jan 14 08:02:25 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: References: Message-ID: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Hi, I'm trying to get the mxODBC DA working, but the product is broken with this error message: Traceback (most recent call last): File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product product=__import__(pname, global_dict, global_dict, silly) File "Products/mxODBCZopeDA/__init__.py", line 7, in ? File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? Any help would be much appreciated. Thanks -- Alex ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 From mal at egenix.com Wed Sep 8 13:37:44 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Sat Jan 14 08:02:25 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> References: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Message-ID: <413EE0F8.6050601@egenix.com> Alex Luton wrote: > Hi, > > I'm trying to get the mxODBC DA working, but the product is broken with > this error message: > > Traceback (most recent call last): > File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product > product=__import__(pname, global_dict, global_dict, silly) > File "Products/mxODBCZopeDA/__init__.py", line 7, in ? > File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? > ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString > > I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? RedHat chose to build Python with 4-byte Unicode which is causing all sorts of problems with pre-built extensions. We will start shipping UCS4 builds of the Zope DA with the next release. Until then, you can try the pre-release of 1.0.9: http://www.egenix.com/files/python/egenix-mxodbc-zopeda-1.0.9.linux-i686-py2.3ucs4.zip -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 08 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From kl at vsen.dk Sat Sep 11 20:21:57 2004 From: kl at vsen.dk (Klavs Klavsen) Date: Sat Jan 14 08:02:25 2006 Subject: [egenix-users] bufferoverflow in egenix? Message-ID: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Hi guys, Just installed a new gcc with stack-smashing protection - and while recompiling modules with stack-smashing protection, I got this message: -- copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l ib/python2.3/site-packages/mx/Misc copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ python2.3/site-packages/mx/Misc writing byte-compilation script '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: SyntaxWarning: name 'debugging' is use d prior to global declaration python: stack smashing attack in function symtable_node() error: command '/usr/bin/python' terminated by signal 6 !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. !!! Function distutils_src_install, Line 43, Exitcode 1 !!! (no error message) so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes one in python) - I haven't done very much research as I can live without egenix - but just wanted to let you know :) p.s. it's python-2.3.3. -- Regards, Klavs Klavsen, GSEC - kl@vsen.dk - http://www.vsen.dk PGP: 7E063C62/2873 188C 968E 600D D8F8 B8DA 3D3A 0B79 7E06 3C62 "Those who do not understand Unix are condemned to reinvent it, poorly." --Henry Spencer From mal at egenix.com Sat Sep 11 23:51:30 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Sat Jan 14 08:02:25 2006 Subject: [egenix-users] bufferoverflow in egenix? In-Reply-To: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> References: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Message-ID: <41436552.6000906@egenix.com> Klavs Klavsen wrote: > Hi guys, > > Just installed a new gcc with stack-smashing protection - and while > recompiling modules with stack-smashing protection, I got this message: > -- > copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l > ib/python2.3/site-packages/mx/Misc > copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ > python2.3/site-packages/mx/Misc > writing byte-compilation script > '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' > /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py > usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: > SyntaxWarning: name 'debugging' is use > d prior to global declaration This is an error that the Python compiler generated. I'd suggest you report to the Python bug tracker. BTW, pytag.py is no longer used or maintained, so you can safely delete it. > python: stack smashing attack in function symtable_node() > error: command '/usr/bin/python' terminated by signal 6 > > !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. > !!! Function distutils_src_install, Line 43, Exitcode 1 > !!! (no error message) > > so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes > one in python) - I haven't done very much research as I can live without > egenix - but just wanted to let you know :) > > p.s. it's python-2.3.3. Thanks, -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 11 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From harrelson at gmail.com Thu Sep 30 17:48:13 2004 From: harrelson at gmail.com (Culley Harrelson) Date: Sat Jan 14 08:02:25 2006 Subject: [egenix-users] OS X 10.3.5: *** You don't have the (right) mxDateTime binaries installed ! Message-ID: <529825a30409301648507c0cf8@mail.gmail.com> I have successfully installed mxDateTime on my OS X 10.3.5 system, using the system Python installation. It installed but as soon as I try to import the module I get: === *** You don't have the (right) mxDateTime binaries installed ! Traceback (most recent call last): File "./testFeDb.py", line 4, in ? from mx import DateTime File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/__init__.py", line 8, in ? from DateTime import * File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/DateTime.py", line 9, in ? from mxDateTime import * File "/Library/Python/2.3/mx/DateTime/mxDateTime/__init__.py", line 13, in ? raise ImportError, why ImportError: Failure linking new module: : dyld: python Undefined symbols: /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyArg_ParseTuple expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCObject_FromVoidPtr expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCallable_Check expected to be defined in the executable /Library/Python/2.3/mx/Date === Has anyone experienced this? Any ideas how to fix it? culley From hanser at club-internet.fr Sat Sep 4 17:13:26 2004 From: hanser at club-internet.fr (Pierre Hanser) Date: Sat Jan 14 12:00:50 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 Message-ID: <4139CD86.6020403@club-internet.fr> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 hello seems that python2.4a3 is not compatible with the optimizations in mx/DateTime/mxDateTime/mxDateTime.c on Linux: from mx import DateTime -> core dump if I disable the optims, everything gets ok /* Define these to have the module use free lists (saves malloc calls) */ #define MXDATETIME_FREELIST #define MXDATETIMEDELTA_FREELIST #undef MXDATETIME_FREELIST #undef MXDATETIMEDELTA_FREELIST - -- Pierre -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBOc2GMQ2/jYUwmmwRAn70AJ4puAZm4p10+KTCK/GzLt20VzWd3ACfQzIo H8hLxq8iCE3KGYZ6AR5QUy8= =GA8t -----END PGP SIGNATURE----- From mal at egenix.com Sun Sep 5 19:53:02 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Sat Jan 14 12:00:50 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 In-Reply-To: <4139CD86.6020403@club-internet.fr> References: <4139CD86.6020403@club-internet.fr> Message-ID: <413B446E.40002@egenix.com> Pierre Hanser wrote: > hello > > seems that python2.4a3 is not compatible with the optimizations in > mx/DateTime/mxDateTime/mxDateTime.c on Linux: > > from mx import DateTime -> core dump > > if I disable the optims, everything gets ok > > /* Define these to have the module use free lists (saves malloc calls) */ > #define MXDATETIME_FREELIST > #define MXDATETIMEDELTA_FREELIST > #undef MXDATETIME_FREELIST > #undef MXDATETIMEDELTA_FREELIST This is more likely due to a bug in your C compiler. -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 05 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From aluton at rcseng.ac.uk Wed Sep 8 12:33:02 2004 From: aluton at rcseng.ac.uk (Alex Luton) Date: Sat Jan 14 12:00:50 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: References: Message-ID: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Hi, I'm trying to get the mxODBC DA working, but the product is broken with this error message: Traceback (most recent call last): File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product product=__import__(pname, global_dict, global_dict, silly) File "Products/mxODBCZopeDA/__init__.py", line 7, in ? File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? Any help would be much appreciated. Thanks -- Alex ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 From mal at egenix.com Wed Sep 8 13:37:44 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Sat Jan 14 12:00:50 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> References: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Message-ID: <413EE0F8.6050601@egenix.com> Alex Luton wrote: > Hi, > > I'm trying to get the mxODBC DA working, but the product is broken with > this error message: > > Traceback (most recent call last): > File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product > product=__import__(pname, global_dict, global_dict, silly) > File "Products/mxODBCZopeDA/__init__.py", line 7, in ? > File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? > ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString > > I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? RedHat chose to build Python with 4-byte Unicode which is causing all sorts of problems with pre-built extensions. We will start shipping UCS4 builds of the Zope DA with the next release. Until then, you can try the pre-release of 1.0.9: http://www.egenix.com/files/python/egenix-mxodbc-zopeda-1.0.9.linux-i686-py2.3ucs4.zip -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 08 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From kl at vsen.dk Sat Sep 11 20:21:57 2004 From: kl at vsen.dk (Klavs Klavsen) Date: Sat Jan 14 12:00:50 2006 Subject: [egenix-users] bufferoverflow in egenix? Message-ID: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Hi guys, Just installed a new gcc with stack-smashing protection - and while recompiling modules with stack-smashing protection, I got this message: -- copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l ib/python2.3/site-packages/mx/Misc copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ python2.3/site-packages/mx/Misc writing byte-compilation script '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: SyntaxWarning: name 'debugging' is use d prior to global declaration python: stack smashing attack in function symtable_node() error: command '/usr/bin/python' terminated by signal 6 !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. !!! Function distutils_src_install, Line 43, Exitcode 1 !!! (no error message) so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes one in python) - I haven't done very much research as I can live without egenix - but just wanted to let you know :) p.s. it's python-2.3.3. -- Regards, Klavs Klavsen, GSEC - kl@vsen.dk - http://www.vsen.dk PGP: 7E063C62/2873 188C 968E 600D D8F8 B8DA 3D3A 0B79 7E06 3C62 "Those who do not understand Unix are condemned to reinvent it, poorly." --Henry Spencer From mal at egenix.com Sat Sep 11 23:51:30 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Sat Jan 14 12:00:50 2006 Subject: [egenix-users] bufferoverflow in egenix? In-Reply-To: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> References: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Message-ID: <41436552.6000906@egenix.com> Klavs Klavsen wrote: > Hi guys, > > Just installed a new gcc with stack-smashing protection - and while > recompiling modules with stack-smashing protection, I got this message: > -- > copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l > ib/python2.3/site-packages/mx/Misc > copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ > python2.3/site-packages/mx/Misc > writing byte-compilation script > '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' > /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py > usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: > SyntaxWarning: name 'debugging' is use > d prior to global declaration This is an error that the Python compiler generated. I'd suggest you report to the Python bug tracker. BTW, pytag.py is no longer used or maintained, so you can safely delete it. > python: stack smashing attack in function symtable_node() > error: command '/usr/bin/python' terminated by signal 6 > > !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. > !!! Function distutils_src_install, Line 43, Exitcode 1 > !!! (no error message) > > so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes > one in python) - I haven't done very much research as I can live without > egenix - but just wanted to let you know :) > > p.s. it's python-2.3.3. Thanks, -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 11 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From harrelson at gmail.com Thu Sep 30 17:48:13 2004 From: harrelson at gmail.com (Culley Harrelson) Date: Sat Jan 14 12:00:50 2006 Subject: [egenix-users] OS X 10.3.5: *** You don't have the (right) mxDateTime binaries installed ! Message-ID: <529825a30409301648507c0cf8@mail.gmail.com> I have successfully installed mxDateTime on my OS X 10.3.5 system, using the system Python installation. It installed but as soon as I try to import the module I get: === *** You don't have the (right) mxDateTime binaries installed ! Traceback (most recent call last): File "./testFeDb.py", line 4, in ? from mx import DateTime File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/__init__.py", line 8, in ? from DateTime import * File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/DateTime.py", line 9, in ? from mxDateTime import * File "/Library/Python/2.3/mx/DateTime/mxDateTime/__init__.py", line 13, in ? raise ImportError, why ImportError: Failure linking new module: : dyld: python Undefined symbols: /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyArg_ParseTuple expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCObject_FromVoidPtr expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCallable_Check expected to be defined in the executable /Library/Python/2.3/mx/Date === Has anyone experienced this? Any ideas how to fix it? culley From hanser at club-internet.fr Sat Sep 4 17:13:26 2004 From: hanser at club-internet.fr (Pierre Hanser) Date: Sat Jan 14 16:00:47 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 Message-ID: <4139CD86.6020403@club-internet.fr> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 hello seems that python2.4a3 is not compatible with the optimizations in mx/DateTime/mxDateTime/mxDateTime.c on Linux: from mx import DateTime -> core dump if I disable the optims, everything gets ok /* Define these to have the module use free lists (saves malloc calls) */ #define MXDATETIME_FREELIST #define MXDATETIMEDELTA_FREELIST #undef MXDATETIME_FREELIST #undef MXDATETIMEDELTA_FREELIST - -- Pierre -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBOc2GMQ2/jYUwmmwRAn70AJ4puAZm4p10+KTCK/GzLt20VzWd3ACfQzIo H8hLxq8iCE3KGYZ6AR5QUy8= =GA8t -----END PGP SIGNATURE----- From mal at egenix.com Sun Sep 5 19:53:02 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Sat Jan 14 16:00:47 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 In-Reply-To: <4139CD86.6020403@club-internet.fr> References: <4139CD86.6020403@club-internet.fr> Message-ID: <413B446E.40002@egenix.com> Pierre Hanser wrote: > hello > > seems that python2.4a3 is not compatible with the optimizations in > mx/DateTime/mxDateTime/mxDateTime.c on Linux: > > from mx import DateTime -> core dump > > if I disable the optims, everything gets ok > > /* Define these to have the module use free lists (saves malloc calls) */ > #define MXDATETIME_FREELIST > #define MXDATETIMEDELTA_FREELIST > #undef MXDATETIME_FREELIST > #undef MXDATETIMEDELTA_FREELIST This is more likely due to a bug in your C compiler. -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 05 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From aluton at rcseng.ac.uk Wed Sep 8 12:33:02 2004 From: aluton at rcseng.ac.uk (Alex Luton) Date: Sat Jan 14 16:00:47 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: References: Message-ID: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Hi, I'm trying to get the mxODBC DA working, but the product is broken with this error message: Traceback (most recent call last): File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product product=__import__(pname, global_dict, global_dict, silly) File "Products/mxODBCZopeDA/__init__.py", line 7, in ? File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? Any help would be much appreciated. Thanks -- Alex ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 From mal at egenix.com Wed Sep 8 13:37:44 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Sat Jan 14 16:00:47 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> References: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Message-ID: <413EE0F8.6050601@egenix.com> Alex Luton wrote: > Hi, > > I'm trying to get the mxODBC DA working, but the product is broken with > this error message: > > Traceback (most recent call last): > File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product > product=__import__(pname, global_dict, global_dict, silly) > File "Products/mxODBCZopeDA/__init__.py", line 7, in ? > File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? > ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString > > I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? RedHat chose to build Python with 4-byte Unicode which is causing all sorts of problems with pre-built extensions. We will start shipping UCS4 builds of the Zope DA with the next release. Until then, you can try the pre-release of 1.0.9: http://www.egenix.com/files/python/egenix-mxodbc-zopeda-1.0.9.linux-i686-py2.3ucs4.zip -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 08 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From kl at vsen.dk Sat Sep 11 20:21:57 2004 From: kl at vsen.dk (Klavs Klavsen) Date: Sat Jan 14 16:00:47 2006 Subject: [egenix-users] bufferoverflow in egenix? Message-ID: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Hi guys, Just installed a new gcc with stack-smashing protection - and while recompiling modules with stack-smashing protection, I got this message: -- copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l ib/python2.3/site-packages/mx/Misc copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ python2.3/site-packages/mx/Misc writing byte-compilation script '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: SyntaxWarning: name 'debugging' is use d prior to global declaration python: stack smashing attack in function symtable_node() error: command '/usr/bin/python' terminated by signal 6 !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. !!! Function distutils_src_install, Line 43, Exitcode 1 !!! (no error message) so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes one in python) - I haven't done very much research as I can live without egenix - but just wanted to let you know :) p.s. it's python-2.3.3. -- Regards, Klavs Klavsen, GSEC - kl@vsen.dk - http://www.vsen.dk PGP: 7E063C62/2873 188C 968E 600D D8F8 B8DA 3D3A 0B79 7E06 3C62 "Those who do not understand Unix are condemned to reinvent it, poorly." --Henry Spencer From mal at egenix.com Sat Sep 11 23:51:30 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Sat Jan 14 16:00:47 2006 Subject: [egenix-users] bufferoverflow in egenix? In-Reply-To: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> References: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Message-ID: <41436552.6000906@egenix.com> Klavs Klavsen wrote: > Hi guys, > > Just installed a new gcc with stack-smashing protection - and while > recompiling modules with stack-smashing protection, I got this message: > -- > copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l > ib/python2.3/site-packages/mx/Misc > copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ > python2.3/site-packages/mx/Misc > writing byte-compilation script > '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' > /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py > usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: > SyntaxWarning: name 'debugging' is use > d prior to global declaration This is an error that the Python compiler generated. I'd suggest you report to the Python bug tracker. BTW, pytag.py is no longer used or maintained, so you can safely delete it. > python: stack smashing attack in function symtable_node() > error: command '/usr/bin/python' terminated by signal 6 > > !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. > !!! Function distutils_src_install, Line 43, Exitcode 1 > !!! (no error message) > > so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes > one in python) - I haven't done very much research as I can live without > egenix - but just wanted to let you know :) > > p.s. it's python-2.3.3. Thanks, -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 11 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From harrelson at gmail.com Thu Sep 30 17:48:13 2004 From: harrelson at gmail.com (Culley Harrelson) Date: Sat Jan 14 16:00:47 2006 Subject: [egenix-users] OS X 10.3.5: *** You don't have the (right) mxDateTime binaries installed ! Message-ID: <529825a30409301648507c0cf8@mail.gmail.com> I have successfully installed mxDateTime on my OS X 10.3.5 system, using the system Python installation. It installed but as soon as I try to import the module I get: === *** You don't have the (right) mxDateTime binaries installed ! Traceback (most recent call last): File "./testFeDb.py", line 4, in ? from mx import DateTime File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/__init__.py", line 8, in ? from DateTime import * File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/DateTime.py", line 9, in ? from mxDateTime import * File "/Library/Python/2.3/mx/DateTime/mxDateTime/__init__.py", line 13, in ? raise ImportError, why ImportError: Failure linking new module: : dyld: python Undefined symbols: /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyArg_ParseTuple expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCObject_FromVoidPtr expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCallable_Check expected to be defined in the executable /Library/Python/2.3/mx/Date === Has anyone experienced this? Any ideas how to fix it? culley From hanser at club-internet.fr Sat Sep 4 17:13:26 2004 From: hanser at club-internet.fr (Pierre Hanser) Date: Sat Jan 14 20:00:46 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 Message-ID: <4139CD86.6020403@club-internet.fr> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 hello seems that python2.4a3 is not compatible with the optimizations in mx/DateTime/mxDateTime/mxDateTime.c on Linux: from mx import DateTime -> core dump if I disable the optims, everything gets ok /* Define these to have the module use free lists (saves malloc calls) */ #define MXDATETIME_FREELIST #define MXDATETIMEDELTA_FREELIST #undef MXDATETIME_FREELIST #undef MXDATETIMEDELTA_FREELIST - -- Pierre -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBOc2GMQ2/jYUwmmwRAn70AJ4puAZm4p10+KTCK/GzLt20VzWd3ACfQzIo H8hLxq8iCE3KGYZ6AR5QUy8= =GA8t -----END PGP SIGNATURE----- From mal at egenix.com Sun Sep 5 19:53:02 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Sat Jan 14 20:00:46 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 In-Reply-To: <4139CD86.6020403@club-internet.fr> References: <4139CD86.6020403@club-internet.fr> Message-ID: <413B446E.40002@egenix.com> Pierre Hanser wrote: > hello > > seems that python2.4a3 is not compatible with the optimizations in > mx/DateTime/mxDateTime/mxDateTime.c on Linux: > > from mx import DateTime -> core dump > > if I disable the optims, everything gets ok > > /* Define these to have the module use free lists (saves malloc calls) */ > #define MXDATETIME_FREELIST > #define MXDATETIMEDELTA_FREELIST > #undef MXDATETIME_FREELIST > #undef MXDATETIMEDELTA_FREELIST This is more likely due to a bug in your C compiler. -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 05 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From aluton at rcseng.ac.uk Wed Sep 8 12:33:02 2004 From: aluton at rcseng.ac.uk (Alex Luton) Date: Sat Jan 14 20:00:46 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: References: Message-ID: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Hi, I'm trying to get the mxODBC DA working, but the product is broken with this error message: Traceback (most recent call last): File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product product=__import__(pname, global_dict, global_dict, silly) File "Products/mxODBCZopeDA/__init__.py", line 7, in ? File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? Any help would be much appreciated. Thanks -- Alex ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 From mal at egenix.com Wed Sep 8 13:37:44 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Sat Jan 14 20:00:46 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> References: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Message-ID: <413EE0F8.6050601@egenix.com> Alex Luton wrote: > Hi, > > I'm trying to get the mxODBC DA working, but the product is broken with > this error message: > > Traceback (most recent call last): > File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product > product=__import__(pname, global_dict, global_dict, silly) > File "Products/mxODBCZopeDA/__init__.py", line 7, in ? > File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? > ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString > > I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? RedHat chose to build Python with 4-byte Unicode which is causing all sorts of problems with pre-built extensions. We will start shipping UCS4 builds of the Zope DA with the next release. Until then, you can try the pre-release of 1.0.9: http://www.egenix.com/files/python/egenix-mxodbc-zopeda-1.0.9.linux-i686-py2.3ucs4.zip -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 08 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From kl at vsen.dk Sat Sep 11 20:21:57 2004 From: kl at vsen.dk (Klavs Klavsen) Date: Sat Jan 14 20:00:46 2006 Subject: [egenix-users] bufferoverflow in egenix? Message-ID: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Hi guys, Just installed a new gcc with stack-smashing protection - and while recompiling modules with stack-smashing protection, I got this message: -- copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l ib/python2.3/site-packages/mx/Misc copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ python2.3/site-packages/mx/Misc writing byte-compilation script '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: SyntaxWarning: name 'debugging' is use d prior to global declaration python: stack smashing attack in function symtable_node() error: command '/usr/bin/python' terminated by signal 6 !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. !!! Function distutils_src_install, Line 43, Exitcode 1 !!! (no error message) so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes one in python) - I haven't done very much research as I can live without egenix - but just wanted to let you know :) p.s. it's python-2.3.3. -- Regards, Klavs Klavsen, GSEC - kl@vsen.dk - http://www.vsen.dk PGP: 7E063C62/2873 188C 968E 600D D8F8 B8DA 3D3A 0B79 7E06 3C62 "Those who do not understand Unix are condemned to reinvent it, poorly." --Henry Spencer From mal at egenix.com Sat Sep 11 23:51:30 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Sat Jan 14 20:00:46 2006 Subject: [egenix-users] bufferoverflow in egenix? In-Reply-To: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> References: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Message-ID: <41436552.6000906@egenix.com> Klavs Klavsen wrote: > Hi guys, > > Just installed a new gcc with stack-smashing protection - and while > recompiling modules with stack-smashing protection, I got this message: > -- > copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l > ib/python2.3/site-packages/mx/Misc > copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ > python2.3/site-packages/mx/Misc > writing byte-compilation script > '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' > /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py > usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: > SyntaxWarning: name 'debugging' is use > d prior to global declaration This is an error that the Python compiler generated. I'd suggest you report to the Python bug tracker. BTW, pytag.py is no longer used or maintained, so you can safely delete it. > python: stack smashing attack in function symtable_node() > error: command '/usr/bin/python' terminated by signal 6 > > !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. > !!! Function distutils_src_install, Line 43, Exitcode 1 > !!! (no error message) > > so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes > one in python) - I haven't done very much research as I can live without > egenix - but just wanted to let you know :) > > p.s. it's python-2.3.3. Thanks, -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 11 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From harrelson at gmail.com Thu Sep 30 17:48:13 2004 From: harrelson at gmail.com (Culley Harrelson) Date: Sat Jan 14 20:00:47 2006 Subject: [egenix-users] OS X 10.3.5: *** You don't have the (right) mxDateTime binaries installed ! Message-ID: <529825a30409301648507c0cf8@mail.gmail.com> I have successfully installed mxDateTime on my OS X 10.3.5 system, using the system Python installation. It installed but as soon as I try to import the module I get: === *** You don't have the (right) mxDateTime binaries installed ! Traceback (most recent call last): File "./testFeDb.py", line 4, in ? from mx import DateTime File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/__init__.py", line 8, in ? from DateTime import * File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/DateTime.py", line 9, in ? from mxDateTime import * File "/Library/Python/2.3/mx/DateTime/mxDateTime/__init__.py", line 13, in ? raise ImportError, why ImportError: Failure linking new module: : dyld: python Undefined symbols: /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyArg_ParseTuple expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCObject_FromVoidPtr expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCallable_Check expected to be defined in the executable /Library/Python/2.3/mx/Date === Has anyone experienced this? Any ideas how to fix it? culley From hanser at club-internet.fr Sat Sep 4 17:13:26 2004 From: hanser at club-internet.fr (Pierre Hanser) Date: Sun Jan 15 08:02:13 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 Message-ID: <4139CD86.6020403@club-internet.fr> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 hello seems that python2.4a3 is not compatible with the optimizations in mx/DateTime/mxDateTime/mxDateTime.c on Linux: from mx import DateTime -> core dump if I disable the optims, everything gets ok /* Define these to have the module use free lists (saves malloc calls) */ #define MXDATETIME_FREELIST #define MXDATETIMEDELTA_FREELIST #undef MXDATETIME_FREELIST #undef MXDATETIMEDELTA_FREELIST - -- Pierre -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBOc2GMQ2/jYUwmmwRAn70AJ4puAZm4p10+KTCK/GzLt20VzWd3ACfQzIo H8hLxq8iCE3KGYZ6AR5QUy8= =GA8t -----END PGP SIGNATURE----- From mal at egenix.com Sun Sep 5 19:53:02 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Sun Jan 15 08:02:13 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 In-Reply-To: <4139CD86.6020403@club-internet.fr> References: <4139CD86.6020403@club-internet.fr> Message-ID: <413B446E.40002@egenix.com> Pierre Hanser wrote: > hello > > seems that python2.4a3 is not compatible with the optimizations in > mx/DateTime/mxDateTime/mxDateTime.c on Linux: > > from mx import DateTime -> core dump > > if I disable the optims, everything gets ok > > /* Define these to have the module use free lists (saves malloc calls) */ > #define MXDATETIME_FREELIST > #define MXDATETIMEDELTA_FREELIST > #undef MXDATETIME_FREELIST > #undef MXDATETIMEDELTA_FREELIST This is more likely due to a bug in your C compiler. -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 05 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From aluton at rcseng.ac.uk Wed Sep 8 12:33:02 2004 From: aluton at rcseng.ac.uk (Alex Luton) Date: Sun Jan 15 08:02:13 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: References: Message-ID: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Hi, I'm trying to get the mxODBC DA working, but the product is broken with this error message: Traceback (most recent call last): File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product product=__import__(pname, global_dict, global_dict, silly) File "Products/mxODBCZopeDA/__init__.py", line 7, in ? File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? Any help would be much appreciated. Thanks -- Alex ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 From mal at egenix.com Wed Sep 8 13:37:44 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Sun Jan 15 08:02:13 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> References: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Message-ID: <413EE0F8.6050601@egenix.com> Alex Luton wrote: > Hi, > > I'm trying to get the mxODBC DA working, but the product is broken with > this error message: > > Traceback (most recent call last): > File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product > product=__import__(pname, global_dict, global_dict, silly) > File "Products/mxODBCZopeDA/__init__.py", line 7, in ? > File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? > ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString > > I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? RedHat chose to build Python with 4-byte Unicode which is causing all sorts of problems with pre-built extensions. We will start shipping UCS4 builds of the Zope DA with the next release. Until then, you can try the pre-release of 1.0.9: http://www.egenix.com/files/python/egenix-mxodbc-zopeda-1.0.9.linux-i686-py2.3ucs4.zip -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 08 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From kl at vsen.dk Sat Sep 11 20:21:57 2004 From: kl at vsen.dk (Klavs Klavsen) Date: Sun Jan 15 08:02:13 2006 Subject: [egenix-users] bufferoverflow in egenix? Message-ID: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Hi guys, Just installed a new gcc with stack-smashing protection - and while recompiling modules with stack-smashing protection, I got this message: -- copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l ib/python2.3/site-packages/mx/Misc copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ python2.3/site-packages/mx/Misc writing byte-compilation script '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: SyntaxWarning: name 'debugging' is use d prior to global declaration python: stack smashing attack in function symtable_node() error: command '/usr/bin/python' terminated by signal 6 !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. !!! Function distutils_src_install, Line 43, Exitcode 1 !!! (no error message) so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes one in python) - I haven't done very much research as I can live without egenix - but just wanted to let you know :) p.s. it's python-2.3.3. -- Regards, Klavs Klavsen, GSEC - kl@vsen.dk - http://www.vsen.dk PGP: 7E063C62/2873 188C 968E 600D D8F8 B8DA 3D3A 0B79 7E06 3C62 "Those who do not understand Unix are condemned to reinvent it, poorly." --Henry Spencer From mal at egenix.com Sat Sep 11 23:51:30 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Sun Jan 15 08:02:13 2006 Subject: [egenix-users] bufferoverflow in egenix? In-Reply-To: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> References: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Message-ID: <41436552.6000906@egenix.com> Klavs Klavsen wrote: > Hi guys, > > Just installed a new gcc with stack-smashing protection - and while > recompiling modules with stack-smashing protection, I got this message: > -- > copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l > ib/python2.3/site-packages/mx/Misc > copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ > python2.3/site-packages/mx/Misc > writing byte-compilation script > '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' > /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py > usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: > SyntaxWarning: name 'debugging' is use > d prior to global declaration This is an error that the Python compiler generated. I'd suggest you report to the Python bug tracker. BTW, pytag.py is no longer used or maintained, so you can safely delete it. > python: stack smashing attack in function symtable_node() > error: command '/usr/bin/python' terminated by signal 6 > > !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. > !!! Function distutils_src_install, Line 43, Exitcode 1 > !!! (no error message) > > so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes > one in python) - I haven't done very much research as I can live without > egenix - but just wanted to let you know :) > > p.s. it's python-2.3.3. Thanks, -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 11 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From harrelson at gmail.com Thu Sep 30 17:48:13 2004 From: harrelson at gmail.com (Culley Harrelson) Date: Sun Jan 15 08:02:13 2006 Subject: [egenix-users] OS X 10.3.5: *** You don't have the (right) mxDateTime binaries installed ! Message-ID: <529825a30409301648507c0cf8@mail.gmail.com> I have successfully installed mxDateTime on my OS X 10.3.5 system, using the system Python installation. It installed but as soon as I try to import the module I get: === *** You don't have the (right) mxDateTime binaries installed ! Traceback (most recent call last): File "./testFeDb.py", line 4, in ? from mx import DateTime File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/__init__.py", line 8, in ? from DateTime import * File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/DateTime.py", line 9, in ? from mxDateTime import * File "/Library/Python/2.3/mx/DateTime/mxDateTime/__init__.py", line 13, in ? raise ImportError, why ImportError: Failure linking new module: : dyld: python Undefined symbols: /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyArg_ParseTuple expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCObject_FromVoidPtr expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCallable_Check expected to be defined in the executable /Library/Python/2.3/mx/Date === Has anyone experienced this? Any ideas how to fix it? culley From hanser at club-internet.fr Sat Sep 4 17:13:26 2004 From: hanser at club-internet.fr (Pierre Hanser) Date: Sun Jan 15 12:00:55 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 Message-ID: <4139CD86.6020403@club-internet.fr> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 hello seems that python2.4a3 is not compatible with the optimizations in mx/DateTime/mxDateTime/mxDateTime.c on Linux: from mx import DateTime -> core dump if I disable the optims, everything gets ok /* Define these to have the module use free lists (saves malloc calls) */ #define MXDATETIME_FREELIST #define MXDATETIMEDELTA_FREELIST #undef MXDATETIME_FREELIST #undef MXDATETIMEDELTA_FREELIST - -- Pierre -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBOc2GMQ2/jYUwmmwRAn70AJ4puAZm4p10+KTCK/GzLt20VzWd3ACfQzIo H8hLxq8iCE3KGYZ6AR5QUy8= =GA8t -----END PGP SIGNATURE----- From mal at egenix.com Sun Sep 5 19:53:02 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Sun Jan 15 12:00:55 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 In-Reply-To: <4139CD86.6020403@club-internet.fr> References: <4139CD86.6020403@club-internet.fr> Message-ID: <413B446E.40002@egenix.com> Pierre Hanser wrote: > hello > > seems that python2.4a3 is not compatible with the optimizations in > mx/DateTime/mxDateTime/mxDateTime.c on Linux: > > from mx import DateTime -> core dump > > if I disable the optims, everything gets ok > > /* Define these to have the module use free lists (saves malloc calls) */ > #define MXDATETIME_FREELIST > #define MXDATETIMEDELTA_FREELIST > #undef MXDATETIME_FREELIST > #undef MXDATETIMEDELTA_FREELIST This is more likely due to a bug in your C compiler. -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 05 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From aluton at rcseng.ac.uk Wed Sep 8 12:33:02 2004 From: aluton at rcseng.ac.uk (Alex Luton) Date: Sun Jan 15 12:00:55 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: References: Message-ID: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Hi, I'm trying to get the mxODBC DA working, but the product is broken with this error message: Traceback (most recent call last): File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product product=__import__(pname, global_dict, global_dict, silly) File "Products/mxODBCZopeDA/__init__.py", line 7, in ? File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? Any help would be much appreciated. Thanks -- Alex ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 From mal at egenix.com Wed Sep 8 13:37:44 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Sun Jan 15 12:00:55 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> References: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Message-ID: <413EE0F8.6050601@egenix.com> Alex Luton wrote: > Hi, > > I'm trying to get the mxODBC DA working, but the product is broken with > this error message: > > Traceback (most recent call last): > File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product > product=__import__(pname, global_dict, global_dict, silly) > File "Products/mxODBCZopeDA/__init__.py", line 7, in ? > File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? > ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString > > I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? RedHat chose to build Python with 4-byte Unicode which is causing all sorts of problems with pre-built extensions. We will start shipping UCS4 builds of the Zope DA with the next release. Until then, you can try the pre-release of 1.0.9: http://www.egenix.com/files/python/egenix-mxodbc-zopeda-1.0.9.linux-i686-py2.3ucs4.zip -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 08 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From kl at vsen.dk Sat Sep 11 20:21:57 2004 From: kl at vsen.dk (Klavs Klavsen) Date: Sun Jan 15 12:00:55 2006 Subject: [egenix-users] bufferoverflow in egenix? Message-ID: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Hi guys, Just installed a new gcc with stack-smashing protection - and while recompiling modules with stack-smashing protection, I got this message: -- copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l ib/python2.3/site-packages/mx/Misc copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ python2.3/site-packages/mx/Misc writing byte-compilation script '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: SyntaxWarning: name 'debugging' is use d prior to global declaration python: stack smashing attack in function symtable_node() error: command '/usr/bin/python' terminated by signal 6 !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. !!! Function distutils_src_install, Line 43, Exitcode 1 !!! (no error message) so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes one in python) - I haven't done very much research as I can live without egenix - but just wanted to let you know :) p.s. it's python-2.3.3. -- Regards, Klavs Klavsen, GSEC - kl@vsen.dk - http://www.vsen.dk PGP: 7E063C62/2873 188C 968E 600D D8F8 B8DA 3D3A 0B79 7E06 3C62 "Those who do not understand Unix are condemned to reinvent it, poorly." --Henry Spencer From mal at egenix.com Sat Sep 11 23:51:30 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Sun Jan 15 12:00:55 2006 Subject: [egenix-users] bufferoverflow in egenix? In-Reply-To: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> References: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Message-ID: <41436552.6000906@egenix.com> Klavs Klavsen wrote: > Hi guys, > > Just installed a new gcc with stack-smashing protection - and while > recompiling modules with stack-smashing protection, I got this message: > -- > copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l > ib/python2.3/site-packages/mx/Misc > copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ > python2.3/site-packages/mx/Misc > writing byte-compilation script > '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' > /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py > usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: > SyntaxWarning: name 'debugging' is use > d prior to global declaration This is an error that the Python compiler generated. I'd suggest you report to the Python bug tracker. BTW, pytag.py is no longer used or maintained, so you can safely delete it. > python: stack smashing attack in function symtable_node() > error: command '/usr/bin/python' terminated by signal 6 > > !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. > !!! Function distutils_src_install, Line 43, Exitcode 1 > !!! (no error message) > > so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes > one in python) - I haven't done very much research as I can live without > egenix - but just wanted to let you know :) > > p.s. it's python-2.3.3. Thanks, -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 11 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From harrelson at gmail.com Thu Sep 30 17:48:13 2004 From: harrelson at gmail.com (Culley Harrelson) Date: Sun Jan 15 12:00:55 2006 Subject: [egenix-users] OS X 10.3.5: *** You don't have the (right) mxDateTime binaries installed ! Message-ID: <529825a30409301648507c0cf8@mail.gmail.com> I have successfully installed mxDateTime on my OS X 10.3.5 system, using the system Python installation. It installed but as soon as I try to import the module I get: === *** You don't have the (right) mxDateTime binaries installed ! Traceback (most recent call last): File "./testFeDb.py", line 4, in ? from mx import DateTime File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/__init__.py", line 8, in ? from DateTime import * File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/DateTime.py", line 9, in ? from mxDateTime import * File "/Library/Python/2.3/mx/DateTime/mxDateTime/__init__.py", line 13, in ? raise ImportError, why ImportError: Failure linking new module: : dyld: python Undefined symbols: /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyArg_ParseTuple expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCObject_FromVoidPtr expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCallable_Check expected to be defined in the executable /Library/Python/2.3/mx/Date === Has anyone experienced this? Any ideas how to fix it? culley From hanser at club-internet.fr Sat Sep 4 17:13:26 2004 From: hanser at club-internet.fr (Pierre Hanser) Date: Sun Jan 15 16:00:47 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 Message-ID: <4139CD86.6020403@club-internet.fr> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 hello seems that python2.4a3 is not compatible with the optimizations in mx/DateTime/mxDateTime/mxDateTime.c on Linux: from mx import DateTime -> core dump if I disable the optims, everything gets ok /* Define these to have the module use free lists (saves malloc calls) */ #define MXDATETIME_FREELIST #define MXDATETIMEDELTA_FREELIST #undef MXDATETIME_FREELIST #undef MXDATETIMEDELTA_FREELIST - -- Pierre -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBOc2GMQ2/jYUwmmwRAn70AJ4puAZm4p10+KTCK/GzLt20VzWd3ACfQzIo H8hLxq8iCE3KGYZ6AR5QUy8= =GA8t -----END PGP SIGNATURE----- From mal at egenix.com Sun Sep 5 19:53:02 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Sun Jan 15 16:00:47 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 In-Reply-To: <4139CD86.6020403@club-internet.fr> References: <4139CD86.6020403@club-internet.fr> Message-ID: <413B446E.40002@egenix.com> Pierre Hanser wrote: > hello > > seems that python2.4a3 is not compatible with the optimizations in > mx/DateTime/mxDateTime/mxDateTime.c on Linux: > > from mx import DateTime -> core dump > > if I disable the optims, everything gets ok > > /* Define these to have the module use free lists (saves malloc calls) */ > #define MXDATETIME_FREELIST > #define MXDATETIMEDELTA_FREELIST > #undef MXDATETIME_FREELIST > #undef MXDATETIMEDELTA_FREELIST This is more likely due to a bug in your C compiler. -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 05 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From aluton at rcseng.ac.uk Wed Sep 8 12:33:02 2004 From: aluton at rcseng.ac.uk (Alex Luton) Date: Sun Jan 15 16:00:47 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: References: Message-ID: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Hi, I'm trying to get the mxODBC DA working, but the product is broken with this error message: Traceback (most recent call last): File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product product=__import__(pname, global_dict, global_dict, silly) File "Products/mxODBCZopeDA/__init__.py", line 7, in ? File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? Any help would be much appreciated. Thanks -- Alex ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 From mal at egenix.com Wed Sep 8 13:37:44 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Sun Jan 15 16:00:47 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> References: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Message-ID: <413EE0F8.6050601@egenix.com> Alex Luton wrote: > Hi, > > I'm trying to get the mxODBC DA working, but the product is broken with > this error message: > > Traceback (most recent call last): > File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product > product=__import__(pname, global_dict, global_dict, silly) > File "Products/mxODBCZopeDA/__init__.py", line 7, in ? > File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? > ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString > > I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? RedHat chose to build Python with 4-byte Unicode which is causing all sorts of problems with pre-built extensions. We will start shipping UCS4 builds of the Zope DA with the next release. Until then, you can try the pre-release of 1.0.9: http://www.egenix.com/files/python/egenix-mxodbc-zopeda-1.0.9.linux-i686-py2.3ucs4.zip -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 08 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From kl at vsen.dk Sat Sep 11 20:21:57 2004 From: kl at vsen.dk (Klavs Klavsen) Date: Sun Jan 15 16:00:47 2006 Subject: [egenix-users] bufferoverflow in egenix? Message-ID: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Hi guys, Just installed a new gcc with stack-smashing protection - and while recompiling modules with stack-smashing protection, I got this message: -- copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l ib/python2.3/site-packages/mx/Misc copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ python2.3/site-packages/mx/Misc writing byte-compilation script '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: SyntaxWarning: name 'debugging' is use d prior to global declaration python: stack smashing attack in function symtable_node() error: command '/usr/bin/python' terminated by signal 6 !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. !!! Function distutils_src_install, Line 43, Exitcode 1 !!! (no error message) so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes one in python) - I haven't done very much research as I can live without egenix - but just wanted to let you know :) p.s. it's python-2.3.3. -- Regards, Klavs Klavsen, GSEC - kl@vsen.dk - http://www.vsen.dk PGP: 7E063C62/2873 188C 968E 600D D8F8 B8DA 3D3A 0B79 7E06 3C62 "Those who do not understand Unix are condemned to reinvent it, poorly." --Henry Spencer From mal at egenix.com Sat Sep 11 23:51:30 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Sun Jan 15 16:00:47 2006 Subject: [egenix-users] bufferoverflow in egenix? In-Reply-To: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> References: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Message-ID: <41436552.6000906@egenix.com> Klavs Klavsen wrote: > Hi guys, > > Just installed a new gcc with stack-smashing protection - and while > recompiling modules with stack-smashing protection, I got this message: > -- > copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l > ib/python2.3/site-packages/mx/Misc > copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ > python2.3/site-packages/mx/Misc > writing byte-compilation script > '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' > /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py > usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: > SyntaxWarning: name 'debugging' is use > d prior to global declaration This is an error that the Python compiler generated. I'd suggest you report to the Python bug tracker. BTW, pytag.py is no longer used or maintained, so you can safely delete it. > python: stack smashing attack in function symtable_node() > error: command '/usr/bin/python' terminated by signal 6 > > !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. > !!! Function distutils_src_install, Line 43, Exitcode 1 > !!! (no error message) > > so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes > one in python) - I haven't done very much research as I can live without > egenix - but just wanted to let you know :) > > p.s. it's python-2.3.3. Thanks, -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 11 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From harrelson at gmail.com Thu Sep 30 17:48:13 2004 From: harrelson at gmail.com (Culley Harrelson) Date: Sun Jan 15 16:00:47 2006 Subject: [egenix-users] OS X 10.3.5: *** You don't have the (right) mxDateTime binaries installed ! Message-ID: <529825a30409301648507c0cf8@mail.gmail.com> I have successfully installed mxDateTime on my OS X 10.3.5 system, using the system Python installation. It installed but as soon as I try to import the module I get: === *** You don't have the (right) mxDateTime binaries installed ! Traceback (most recent call last): File "./testFeDb.py", line 4, in ? from mx import DateTime File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/__init__.py", line 8, in ? from DateTime import * File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/DateTime.py", line 9, in ? from mxDateTime import * File "/Library/Python/2.3/mx/DateTime/mxDateTime/__init__.py", line 13, in ? raise ImportError, why ImportError: Failure linking new module: : dyld: python Undefined symbols: /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyArg_ParseTuple expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCObject_FromVoidPtr expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCallable_Check expected to be defined in the executable /Library/Python/2.3/mx/Date === Has anyone experienced this? Any ideas how to fix it? culley From hanser at club-internet.fr Sat Sep 4 17:13:26 2004 From: hanser at club-internet.fr (Pierre Hanser) Date: Sun Jan 15 20:00:47 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 Message-ID: <4139CD86.6020403@club-internet.fr> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 hello seems that python2.4a3 is not compatible with the optimizations in mx/DateTime/mxDateTime/mxDateTime.c on Linux: from mx import DateTime -> core dump if I disable the optims, everything gets ok /* Define these to have the module use free lists (saves malloc calls) */ #define MXDATETIME_FREELIST #define MXDATETIMEDELTA_FREELIST #undef MXDATETIME_FREELIST #undef MXDATETIMEDELTA_FREELIST - -- Pierre -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBOc2GMQ2/jYUwmmwRAn70AJ4puAZm4p10+KTCK/GzLt20VzWd3ACfQzIo H8hLxq8iCE3KGYZ6AR5QUy8= =GA8t -----END PGP SIGNATURE----- From mal at egenix.com Sun Sep 5 19:53:02 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Sun Jan 15 20:00:47 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 In-Reply-To: <4139CD86.6020403@club-internet.fr> References: <4139CD86.6020403@club-internet.fr> Message-ID: <413B446E.40002@egenix.com> Pierre Hanser wrote: > hello > > seems that python2.4a3 is not compatible with the optimizations in > mx/DateTime/mxDateTime/mxDateTime.c on Linux: > > from mx import DateTime -> core dump > > if I disable the optims, everything gets ok > > /* Define these to have the module use free lists (saves malloc calls) */ > #define MXDATETIME_FREELIST > #define MXDATETIMEDELTA_FREELIST > #undef MXDATETIME_FREELIST > #undef MXDATETIMEDELTA_FREELIST This is more likely due to a bug in your C compiler. -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 05 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From aluton at rcseng.ac.uk Wed Sep 8 12:33:02 2004 From: aluton at rcseng.ac.uk (Alex Luton) Date: Sun Jan 15 20:00:47 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: References: Message-ID: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Hi, I'm trying to get the mxODBC DA working, but the product is broken with this error message: Traceback (most recent call last): File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product product=__import__(pname, global_dict, global_dict, silly) File "Products/mxODBCZopeDA/__init__.py", line 7, in ? File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? Any help would be much appreciated. Thanks -- Alex ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 From mal at egenix.com Wed Sep 8 13:37:44 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Sun Jan 15 20:00:47 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> References: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Message-ID: <413EE0F8.6050601@egenix.com> Alex Luton wrote: > Hi, > > I'm trying to get the mxODBC DA working, but the product is broken with > this error message: > > Traceback (most recent call last): > File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product > product=__import__(pname, global_dict, global_dict, silly) > File "Products/mxODBCZopeDA/__init__.py", line 7, in ? > File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? > ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString > > I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? RedHat chose to build Python with 4-byte Unicode which is causing all sorts of problems with pre-built extensions. We will start shipping UCS4 builds of the Zope DA with the next release. Until then, you can try the pre-release of 1.0.9: http://www.egenix.com/files/python/egenix-mxodbc-zopeda-1.0.9.linux-i686-py2.3ucs4.zip -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 08 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From kl at vsen.dk Sat Sep 11 20:21:57 2004 From: kl at vsen.dk (Klavs Klavsen) Date: Sun Jan 15 20:00:47 2006 Subject: [egenix-users] bufferoverflow in egenix? Message-ID: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Hi guys, Just installed a new gcc with stack-smashing protection - and while recompiling modules with stack-smashing protection, I got this message: -- copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l ib/python2.3/site-packages/mx/Misc copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ python2.3/site-packages/mx/Misc writing byte-compilation script '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: SyntaxWarning: name 'debugging' is use d prior to global declaration python: stack smashing attack in function symtable_node() error: command '/usr/bin/python' terminated by signal 6 !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. !!! Function distutils_src_install, Line 43, Exitcode 1 !!! (no error message) so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes one in python) - I haven't done very much research as I can live without egenix - but just wanted to let you know :) p.s. it's python-2.3.3. -- Regards, Klavs Klavsen, GSEC - kl@vsen.dk - http://www.vsen.dk PGP: 7E063C62/2873 188C 968E 600D D8F8 B8DA 3D3A 0B79 7E06 3C62 "Those who do not understand Unix are condemned to reinvent it, poorly." --Henry Spencer From mal at egenix.com Sat Sep 11 23:51:30 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Sun Jan 15 20:00:47 2006 Subject: [egenix-users] bufferoverflow in egenix? In-Reply-To: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> References: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Message-ID: <41436552.6000906@egenix.com> Klavs Klavsen wrote: > Hi guys, > > Just installed a new gcc with stack-smashing protection - and while > recompiling modules with stack-smashing protection, I got this message: > -- > copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l > ib/python2.3/site-packages/mx/Misc > copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ > python2.3/site-packages/mx/Misc > writing byte-compilation script > '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' > /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py > usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: > SyntaxWarning: name 'debugging' is use > d prior to global declaration This is an error that the Python compiler generated. I'd suggest you report to the Python bug tracker. BTW, pytag.py is no longer used or maintained, so you can safely delete it. > python: stack smashing attack in function symtable_node() > error: command '/usr/bin/python' terminated by signal 6 > > !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. > !!! Function distutils_src_install, Line 43, Exitcode 1 > !!! (no error message) > > so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes > one in python) - I haven't done very much research as I can live without > egenix - but just wanted to let you know :) > > p.s. it's python-2.3.3. Thanks, -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 11 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From harrelson at gmail.com Thu Sep 30 17:48:13 2004 From: harrelson at gmail.com (Culley Harrelson) Date: Sun Jan 15 20:00:47 2006 Subject: [egenix-users] OS X 10.3.5: *** You don't have the (right) mxDateTime binaries installed ! Message-ID: <529825a30409301648507c0cf8@mail.gmail.com> I have successfully installed mxDateTime on my OS X 10.3.5 system, using the system Python installation. It installed but as soon as I try to import the module I get: === *** You don't have the (right) mxDateTime binaries installed ! Traceback (most recent call last): File "./testFeDb.py", line 4, in ? from mx import DateTime File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/__init__.py", line 8, in ? from DateTime import * File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/DateTime.py", line 9, in ? from mxDateTime import * File "/Library/Python/2.3/mx/DateTime/mxDateTime/__init__.py", line 13, in ? raise ImportError, why ImportError: Failure linking new module: : dyld: python Undefined symbols: /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyArg_ParseTuple expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCObject_FromVoidPtr expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCallable_Check expected to be defined in the executable /Library/Python/2.3/mx/Date === Has anyone experienced this? Any ideas how to fix it? culley From hanser at club-internet.fr Sat Sep 4 17:13:26 2004 From: hanser at club-internet.fr (Pierre Hanser) Date: Mon Jan 16 08:02:35 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 Message-ID: <4139CD86.6020403@club-internet.fr> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 hello seems that python2.4a3 is not compatible with the optimizations in mx/DateTime/mxDateTime/mxDateTime.c on Linux: from mx import DateTime -> core dump if I disable the optims, everything gets ok /* Define these to have the module use free lists (saves malloc calls) */ #define MXDATETIME_FREELIST #define MXDATETIMEDELTA_FREELIST #undef MXDATETIME_FREELIST #undef MXDATETIMEDELTA_FREELIST - -- Pierre -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBOc2GMQ2/jYUwmmwRAn70AJ4puAZm4p10+KTCK/GzLt20VzWd3ACfQzIo H8hLxq8iCE3KGYZ6AR5QUy8= =GA8t -----END PGP SIGNATURE----- From mal at egenix.com Sun Sep 5 19:53:02 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Mon Jan 16 08:02:35 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 In-Reply-To: <4139CD86.6020403@club-internet.fr> References: <4139CD86.6020403@club-internet.fr> Message-ID: <413B446E.40002@egenix.com> Pierre Hanser wrote: > hello > > seems that python2.4a3 is not compatible with the optimizations in > mx/DateTime/mxDateTime/mxDateTime.c on Linux: > > from mx import DateTime -> core dump > > if I disable the optims, everything gets ok > > /* Define these to have the module use free lists (saves malloc calls) */ > #define MXDATETIME_FREELIST > #define MXDATETIMEDELTA_FREELIST > #undef MXDATETIME_FREELIST > #undef MXDATETIMEDELTA_FREELIST This is more likely due to a bug in your C compiler. -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 05 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From aluton at rcseng.ac.uk Wed Sep 8 12:33:02 2004 From: aluton at rcseng.ac.uk (Alex Luton) Date: Mon Jan 16 08:02:35 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: References: Message-ID: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Hi, I'm trying to get the mxODBC DA working, but the product is broken with this error message: Traceback (most recent call last): File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product product=__import__(pname, global_dict, global_dict, silly) File "Products/mxODBCZopeDA/__init__.py", line 7, in ? File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? Any help would be much appreciated. Thanks -- Alex ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 From mal at egenix.com Wed Sep 8 13:37:44 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Mon Jan 16 08:02:35 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> References: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Message-ID: <413EE0F8.6050601@egenix.com> Alex Luton wrote: > Hi, > > I'm trying to get the mxODBC DA working, but the product is broken with > this error message: > > Traceback (most recent call last): > File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product > product=__import__(pname, global_dict, global_dict, silly) > File "Products/mxODBCZopeDA/__init__.py", line 7, in ? > File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? > ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString > > I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? RedHat chose to build Python with 4-byte Unicode which is causing all sorts of problems with pre-built extensions. We will start shipping UCS4 builds of the Zope DA with the next release. Until then, you can try the pre-release of 1.0.9: http://www.egenix.com/files/python/egenix-mxodbc-zopeda-1.0.9.linux-i686-py2.3ucs4.zip -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 08 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From kl at vsen.dk Sat Sep 11 20:21:57 2004 From: kl at vsen.dk (Klavs Klavsen) Date: Mon Jan 16 08:02:35 2006 Subject: [egenix-users] bufferoverflow in egenix? Message-ID: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Hi guys, Just installed a new gcc with stack-smashing protection - and while recompiling modules with stack-smashing protection, I got this message: -- copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l ib/python2.3/site-packages/mx/Misc copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ python2.3/site-packages/mx/Misc writing byte-compilation script '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: SyntaxWarning: name 'debugging' is use d prior to global declaration python: stack smashing attack in function symtable_node() error: command '/usr/bin/python' terminated by signal 6 !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. !!! Function distutils_src_install, Line 43, Exitcode 1 !!! (no error message) so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes one in python) - I haven't done very much research as I can live without egenix - but just wanted to let you know :) p.s. it's python-2.3.3. -- Regards, Klavs Klavsen, GSEC - kl@vsen.dk - http://www.vsen.dk PGP: 7E063C62/2873 188C 968E 600D D8F8 B8DA 3D3A 0B79 7E06 3C62 "Those who do not understand Unix are condemned to reinvent it, poorly." --Henry Spencer From mal at egenix.com Sat Sep 11 23:51:30 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Mon Jan 16 08:02:35 2006 Subject: [egenix-users] bufferoverflow in egenix? In-Reply-To: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> References: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Message-ID: <41436552.6000906@egenix.com> Klavs Klavsen wrote: > Hi guys, > > Just installed a new gcc with stack-smashing protection - and while > recompiling modules with stack-smashing protection, I got this message: > -- > copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l > ib/python2.3/site-packages/mx/Misc > copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ > python2.3/site-packages/mx/Misc > writing byte-compilation script > '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' > /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py > usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: > SyntaxWarning: name 'debugging' is use > d prior to global declaration This is an error that the Python compiler generated. I'd suggest you report to the Python bug tracker. BTW, pytag.py is no longer used or maintained, so you can safely delete it. > python: stack smashing attack in function symtable_node() > error: command '/usr/bin/python' terminated by signal 6 > > !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. > !!! Function distutils_src_install, Line 43, Exitcode 1 > !!! (no error message) > > so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes > one in python) - I haven't done very much research as I can live without > egenix - but just wanted to let you know :) > > p.s. it's python-2.3.3. Thanks, -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 11 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From harrelson at gmail.com Thu Sep 30 17:48:13 2004 From: harrelson at gmail.com (Culley Harrelson) Date: Mon Jan 16 08:02:35 2006 Subject: [egenix-users] OS X 10.3.5: *** You don't have the (right) mxDateTime binaries installed ! Message-ID: <529825a30409301648507c0cf8@mail.gmail.com> I have successfully installed mxDateTime on my OS X 10.3.5 system, using the system Python installation. It installed but as soon as I try to import the module I get: === *** You don't have the (right) mxDateTime binaries installed ! Traceback (most recent call last): File "./testFeDb.py", line 4, in ? from mx import DateTime File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/__init__.py", line 8, in ? from DateTime import * File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/DateTime.py", line 9, in ? from mxDateTime import * File "/Library/Python/2.3/mx/DateTime/mxDateTime/__init__.py", line 13, in ? raise ImportError, why ImportError: Failure linking new module: : dyld: python Undefined symbols: /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyArg_ParseTuple expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCObject_FromVoidPtr expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCallable_Check expected to be defined in the executable /Library/Python/2.3/mx/Date === Has anyone experienced this? Any ideas how to fix it? culley From hanser at club-internet.fr Sat Sep 4 17:13:26 2004 From: hanser at club-internet.fr (Pierre Hanser) Date: Mon Jan 16 12:00:51 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 Message-ID: <4139CD86.6020403@club-internet.fr> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 hello seems that python2.4a3 is not compatible with the optimizations in mx/DateTime/mxDateTime/mxDateTime.c on Linux: from mx import DateTime -> core dump if I disable the optims, everything gets ok /* Define these to have the module use free lists (saves malloc calls) */ #define MXDATETIME_FREELIST #define MXDATETIMEDELTA_FREELIST #undef MXDATETIME_FREELIST #undef MXDATETIMEDELTA_FREELIST - -- Pierre -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBOc2GMQ2/jYUwmmwRAn70AJ4puAZm4p10+KTCK/GzLt20VzWd3ACfQzIo H8hLxq8iCE3KGYZ6AR5QUy8= =GA8t -----END PGP SIGNATURE----- From mal at egenix.com Sun Sep 5 19:53:02 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Mon Jan 16 12:00:51 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 In-Reply-To: <4139CD86.6020403@club-internet.fr> References: <4139CD86.6020403@club-internet.fr> Message-ID: <413B446E.40002@egenix.com> Pierre Hanser wrote: > hello > > seems that python2.4a3 is not compatible with the optimizations in > mx/DateTime/mxDateTime/mxDateTime.c on Linux: > > from mx import DateTime -> core dump > > if I disable the optims, everything gets ok > > /* Define these to have the module use free lists (saves malloc calls) */ > #define MXDATETIME_FREELIST > #define MXDATETIMEDELTA_FREELIST > #undef MXDATETIME_FREELIST > #undef MXDATETIMEDELTA_FREELIST This is more likely due to a bug in your C compiler. -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 05 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From aluton at rcseng.ac.uk Wed Sep 8 12:33:02 2004 From: aluton at rcseng.ac.uk (Alex Luton) Date: Mon Jan 16 12:00:51 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: References: Message-ID: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Hi, I'm trying to get the mxODBC DA working, but the product is broken with this error message: Traceback (most recent call last): File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product product=__import__(pname, global_dict, global_dict, silly) File "Products/mxODBCZopeDA/__init__.py", line 7, in ? File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? Any help would be much appreciated. Thanks -- Alex ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 From mal at egenix.com Wed Sep 8 13:37:44 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Mon Jan 16 12:00:51 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> References: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Message-ID: <413EE0F8.6050601@egenix.com> Alex Luton wrote: > Hi, > > I'm trying to get the mxODBC DA working, but the product is broken with > this error message: > > Traceback (most recent call last): > File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product > product=__import__(pname, global_dict, global_dict, silly) > File "Products/mxODBCZopeDA/__init__.py", line 7, in ? > File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? > ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString > > I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? RedHat chose to build Python with 4-byte Unicode which is causing all sorts of problems with pre-built extensions. We will start shipping UCS4 builds of the Zope DA with the next release. Until then, you can try the pre-release of 1.0.9: http://www.egenix.com/files/python/egenix-mxodbc-zopeda-1.0.9.linux-i686-py2.3ucs4.zip -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 08 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From kl at vsen.dk Sat Sep 11 20:21:57 2004 From: kl at vsen.dk (Klavs Klavsen) Date: Mon Jan 16 12:00:51 2006 Subject: [egenix-users] bufferoverflow in egenix? Message-ID: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Hi guys, Just installed a new gcc with stack-smashing protection - and while recompiling modules with stack-smashing protection, I got this message: -- copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l ib/python2.3/site-packages/mx/Misc copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ python2.3/site-packages/mx/Misc writing byte-compilation script '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: SyntaxWarning: name 'debugging' is use d prior to global declaration python: stack smashing attack in function symtable_node() error: command '/usr/bin/python' terminated by signal 6 !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. !!! Function distutils_src_install, Line 43, Exitcode 1 !!! (no error message) so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes one in python) - I haven't done very much research as I can live without egenix - but just wanted to let you know :) p.s. it's python-2.3.3. -- Regards, Klavs Klavsen, GSEC - kl@vsen.dk - http://www.vsen.dk PGP: 7E063C62/2873 188C 968E 600D D8F8 B8DA 3D3A 0B79 7E06 3C62 "Those who do not understand Unix are condemned to reinvent it, poorly." --Henry Spencer From mal at egenix.com Sat Sep 11 23:51:30 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Mon Jan 16 12:00:51 2006 Subject: [egenix-users] bufferoverflow in egenix? In-Reply-To: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> References: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Message-ID: <41436552.6000906@egenix.com> Klavs Klavsen wrote: > Hi guys, > > Just installed a new gcc with stack-smashing protection - and while > recompiling modules with stack-smashing protection, I got this message: > -- > copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l > ib/python2.3/site-packages/mx/Misc > copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ > python2.3/site-packages/mx/Misc > writing byte-compilation script > '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' > /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py > usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: > SyntaxWarning: name 'debugging' is use > d prior to global declaration This is an error that the Python compiler generated. I'd suggest you report to the Python bug tracker. BTW, pytag.py is no longer used or maintained, so you can safely delete it. > python: stack smashing attack in function symtable_node() > error: command '/usr/bin/python' terminated by signal 6 > > !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. > !!! Function distutils_src_install, Line 43, Exitcode 1 > !!! (no error message) > > so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes > one in python) - I haven't done very much research as I can live without > egenix - but just wanted to let you know :) > > p.s. it's python-2.3.3. Thanks, -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 11 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From harrelson at gmail.com Thu Sep 30 17:48:13 2004 From: harrelson at gmail.com (Culley Harrelson) Date: Mon Jan 16 12:00:51 2006 Subject: [egenix-users] OS X 10.3.5: *** You don't have the (right) mxDateTime binaries installed ! Message-ID: <529825a30409301648507c0cf8@mail.gmail.com> I have successfully installed mxDateTime on my OS X 10.3.5 system, using the system Python installation. It installed but as soon as I try to import the module I get: === *** You don't have the (right) mxDateTime binaries installed ! Traceback (most recent call last): File "./testFeDb.py", line 4, in ? from mx import DateTime File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/__init__.py", line 8, in ? from DateTime import * File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/DateTime.py", line 9, in ? from mxDateTime import * File "/Library/Python/2.3/mx/DateTime/mxDateTime/__init__.py", line 13, in ? raise ImportError, why ImportError: Failure linking new module: : dyld: python Undefined symbols: /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyArg_ParseTuple expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCObject_FromVoidPtr expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCallable_Check expected to be defined in the executable /Library/Python/2.3/mx/Date === Has anyone experienced this? Any ideas how to fix it? culley From hanser at club-internet.fr Sat Sep 4 17:13:26 2004 From: hanser at club-internet.fr (Pierre Hanser) Date: Mon Jan 16 16:00:51 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 Message-ID: <4139CD86.6020403@club-internet.fr> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 hello seems that python2.4a3 is not compatible with the optimizations in mx/DateTime/mxDateTime/mxDateTime.c on Linux: from mx import DateTime -> core dump if I disable the optims, everything gets ok /* Define these to have the module use free lists (saves malloc calls) */ #define MXDATETIME_FREELIST #define MXDATETIMEDELTA_FREELIST #undef MXDATETIME_FREELIST #undef MXDATETIMEDELTA_FREELIST - -- Pierre -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBOc2GMQ2/jYUwmmwRAn70AJ4puAZm4p10+KTCK/GzLt20VzWd3ACfQzIo H8hLxq8iCE3KGYZ6AR5QUy8= =GA8t -----END PGP SIGNATURE----- From mal at egenix.com Sun Sep 5 19:53:02 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Mon Jan 16 16:00:51 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 In-Reply-To: <4139CD86.6020403@club-internet.fr> References: <4139CD86.6020403@club-internet.fr> Message-ID: <413B446E.40002@egenix.com> Pierre Hanser wrote: > hello > > seems that python2.4a3 is not compatible with the optimizations in > mx/DateTime/mxDateTime/mxDateTime.c on Linux: > > from mx import DateTime -> core dump > > if I disable the optims, everything gets ok > > /* Define these to have the module use free lists (saves malloc calls) */ > #define MXDATETIME_FREELIST > #define MXDATETIMEDELTA_FREELIST > #undef MXDATETIME_FREELIST > #undef MXDATETIMEDELTA_FREELIST This is more likely due to a bug in your C compiler. -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 05 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From aluton at rcseng.ac.uk Wed Sep 8 12:33:02 2004 From: aluton at rcseng.ac.uk (Alex Luton) Date: Mon Jan 16 16:00:51 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: References: Message-ID: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Hi, I'm trying to get the mxODBC DA working, but the product is broken with this error message: Traceback (most recent call last): File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product product=__import__(pname, global_dict, global_dict, silly) File "Products/mxODBCZopeDA/__init__.py", line 7, in ? File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? Any help would be much appreciated. Thanks -- Alex ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 From mal at egenix.com Wed Sep 8 13:37:44 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Mon Jan 16 16:00:51 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> References: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Message-ID: <413EE0F8.6050601@egenix.com> Alex Luton wrote: > Hi, > > I'm trying to get the mxODBC DA working, but the product is broken with > this error message: > > Traceback (most recent call last): > File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product > product=__import__(pname, global_dict, global_dict, silly) > File "Products/mxODBCZopeDA/__init__.py", line 7, in ? > File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? > ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString > > I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? RedHat chose to build Python with 4-byte Unicode which is causing all sorts of problems with pre-built extensions. We will start shipping UCS4 builds of the Zope DA with the next release. Until then, you can try the pre-release of 1.0.9: http://www.egenix.com/files/python/egenix-mxodbc-zopeda-1.0.9.linux-i686-py2.3ucs4.zip -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 08 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From kl at vsen.dk Sat Sep 11 20:21:57 2004 From: kl at vsen.dk (Klavs Klavsen) Date: Mon Jan 16 16:00:51 2006 Subject: [egenix-users] bufferoverflow in egenix? Message-ID: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Hi guys, Just installed a new gcc with stack-smashing protection - and while recompiling modules with stack-smashing protection, I got this message: -- copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l ib/python2.3/site-packages/mx/Misc copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ python2.3/site-packages/mx/Misc writing byte-compilation script '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: SyntaxWarning: name 'debugging' is use d prior to global declaration python: stack smashing attack in function symtable_node() error: command '/usr/bin/python' terminated by signal 6 !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. !!! Function distutils_src_install, Line 43, Exitcode 1 !!! (no error message) so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes one in python) - I haven't done very much research as I can live without egenix - but just wanted to let you know :) p.s. it's python-2.3.3. -- Regards, Klavs Klavsen, GSEC - kl@vsen.dk - http://www.vsen.dk PGP: 7E063C62/2873 188C 968E 600D D8F8 B8DA 3D3A 0B79 7E06 3C62 "Those who do not understand Unix are condemned to reinvent it, poorly." --Henry Spencer From mal at egenix.com Sat Sep 11 23:51:30 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Mon Jan 16 16:00:51 2006 Subject: [egenix-users] bufferoverflow in egenix? In-Reply-To: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> References: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Message-ID: <41436552.6000906@egenix.com> Klavs Klavsen wrote: > Hi guys, > > Just installed a new gcc with stack-smashing protection - and while > recompiling modules with stack-smashing protection, I got this message: > -- > copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l > ib/python2.3/site-packages/mx/Misc > copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ > python2.3/site-packages/mx/Misc > writing byte-compilation script > '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' > /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py > usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: > SyntaxWarning: name 'debugging' is use > d prior to global declaration This is an error that the Python compiler generated. I'd suggest you report to the Python bug tracker. BTW, pytag.py is no longer used or maintained, so you can safely delete it. > python: stack smashing attack in function symtable_node() > error: command '/usr/bin/python' terminated by signal 6 > > !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. > !!! Function distutils_src_install, Line 43, Exitcode 1 > !!! (no error message) > > so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes > one in python) - I haven't done very much research as I can live without > egenix - but just wanted to let you know :) > > p.s. it's python-2.3.3. Thanks, -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 11 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From harrelson at gmail.com Thu Sep 30 17:48:13 2004 From: harrelson at gmail.com (Culley Harrelson) Date: Mon Jan 16 16:00:51 2006 Subject: [egenix-users] OS X 10.3.5: *** You don't have the (right) mxDateTime binaries installed ! Message-ID: <529825a30409301648507c0cf8@mail.gmail.com> I have successfully installed mxDateTime on my OS X 10.3.5 system, using the system Python installation. It installed but as soon as I try to import the module I get: === *** You don't have the (right) mxDateTime binaries installed ! Traceback (most recent call last): File "./testFeDb.py", line 4, in ? from mx import DateTime File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/__init__.py", line 8, in ? from DateTime import * File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/DateTime.py", line 9, in ? from mxDateTime import * File "/Library/Python/2.3/mx/DateTime/mxDateTime/__init__.py", line 13, in ? raise ImportError, why ImportError: Failure linking new module: : dyld: python Undefined symbols: /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyArg_ParseTuple expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCObject_FromVoidPtr expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCallable_Check expected to be defined in the executable /Library/Python/2.3/mx/Date === Has anyone experienced this? Any ideas how to fix it? culley From hanser at club-internet.fr Sat Sep 4 17:13:26 2004 From: hanser at club-internet.fr (Pierre Hanser) Date: Mon Jan 16 20:00:47 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 Message-ID: <4139CD86.6020403@club-internet.fr> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 hello seems that python2.4a3 is not compatible with the optimizations in mx/DateTime/mxDateTime/mxDateTime.c on Linux: from mx import DateTime -> core dump if I disable the optims, everything gets ok /* Define these to have the module use free lists (saves malloc calls) */ #define MXDATETIME_FREELIST #define MXDATETIMEDELTA_FREELIST #undef MXDATETIME_FREELIST #undef MXDATETIMEDELTA_FREELIST - -- Pierre -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBOc2GMQ2/jYUwmmwRAn70AJ4puAZm4p10+KTCK/GzLt20VzWd3ACfQzIo H8hLxq8iCE3KGYZ6AR5QUy8= =GA8t -----END PGP SIGNATURE----- From mal at egenix.com Sun Sep 5 19:53:02 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Mon Jan 16 20:00:47 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 In-Reply-To: <4139CD86.6020403@club-internet.fr> References: <4139CD86.6020403@club-internet.fr> Message-ID: <413B446E.40002@egenix.com> Pierre Hanser wrote: > hello > > seems that python2.4a3 is not compatible with the optimizations in > mx/DateTime/mxDateTime/mxDateTime.c on Linux: > > from mx import DateTime -> core dump > > if I disable the optims, everything gets ok > > /* Define these to have the module use free lists (saves malloc calls) */ > #define MXDATETIME_FREELIST > #define MXDATETIMEDELTA_FREELIST > #undef MXDATETIME_FREELIST > #undef MXDATETIMEDELTA_FREELIST This is more likely due to a bug in your C compiler. -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 05 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From aluton at rcseng.ac.uk Wed Sep 8 12:33:02 2004 From: aluton at rcseng.ac.uk (Alex Luton) Date: Mon Jan 16 20:00:47 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: References: Message-ID: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Hi, I'm trying to get the mxODBC DA working, but the product is broken with this error message: Traceback (most recent call last): File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product product=__import__(pname, global_dict, global_dict, silly) File "Products/mxODBCZopeDA/__init__.py", line 7, in ? File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? Any help would be much appreciated. Thanks -- Alex ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 From mal at egenix.com Wed Sep 8 13:37:44 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Mon Jan 16 20:00:47 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> References: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Message-ID: <413EE0F8.6050601@egenix.com> Alex Luton wrote: > Hi, > > I'm trying to get the mxODBC DA working, but the product is broken with > this error message: > > Traceback (most recent call last): > File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product > product=__import__(pname, global_dict, global_dict, silly) > File "Products/mxODBCZopeDA/__init__.py", line 7, in ? > File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? > ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString > > I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? RedHat chose to build Python with 4-byte Unicode which is causing all sorts of problems with pre-built extensions. We will start shipping UCS4 builds of the Zope DA with the next release. Until then, you can try the pre-release of 1.0.9: http://www.egenix.com/files/python/egenix-mxodbc-zopeda-1.0.9.linux-i686-py2.3ucs4.zip -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 08 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From kl at vsen.dk Sat Sep 11 20:21:57 2004 From: kl at vsen.dk (Klavs Klavsen) Date: Mon Jan 16 20:00:47 2006 Subject: [egenix-users] bufferoverflow in egenix? Message-ID: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Hi guys, Just installed a new gcc with stack-smashing protection - and while recompiling modules with stack-smashing protection, I got this message: -- copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l ib/python2.3/site-packages/mx/Misc copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ python2.3/site-packages/mx/Misc writing byte-compilation script '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: SyntaxWarning: name 'debugging' is use d prior to global declaration python: stack smashing attack in function symtable_node() error: command '/usr/bin/python' terminated by signal 6 !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. !!! Function distutils_src_install, Line 43, Exitcode 1 !!! (no error message) so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes one in python) - I haven't done very much research as I can live without egenix - but just wanted to let you know :) p.s. it's python-2.3.3. -- Regards, Klavs Klavsen, GSEC - kl@vsen.dk - http://www.vsen.dk PGP: 7E063C62/2873 188C 968E 600D D8F8 B8DA 3D3A 0B79 7E06 3C62 "Those who do not understand Unix are condemned to reinvent it, poorly." --Henry Spencer From mal at egenix.com Sat Sep 11 23:51:30 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Mon Jan 16 20:00:47 2006 Subject: [egenix-users] bufferoverflow in egenix? In-Reply-To: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> References: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Message-ID: <41436552.6000906@egenix.com> Klavs Klavsen wrote: > Hi guys, > > Just installed a new gcc with stack-smashing protection - and while > recompiling modules with stack-smashing protection, I got this message: > -- > copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l > ib/python2.3/site-packages/mx/Misc > copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ > python2.3/site-packages/mx/Misc > writing byte-compilation script > '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' > /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py > usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: > SyntaxWarning: name 'debugging' is use > d prior to global declaration This is an error that the Python compiler generated. I'd suggest you report to the Python bug tracker. BTW, pytag.py is no longer used or maintained, so you can safely delete it. > python: stack smashing attack in function symtable_node() > error: command '/usr/bin/python' terminated by signal 6 > > !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. > !!! Function distutils_src_install, Line 43, Exitcode 1 > !!! (no error message) > > so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes > one in python) - I haven't done very much research as I can live without > egenix - but just wanted to let you know :) > > p.s. it's python-2.3.3. Thanks, -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 11 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From harrelson at gmail.com Thu Sep 30 17:48:13 2004 From: harrelson at gmail.com (Culley Harrelson) Date: Mon Jan 16 20:00:47 2006 Subject: [egenix-users] OS X 10.3.5: *** You don't have the (right) mxDateTime binaries installed ! Message-ID: <529825a30409301648507c0cf8@mail.gmail.com> I have successfully installed mxDateTime on my OS X 10.3.5 system, using the system Python installation. It installed but as soon as I try to import the module I get: === *** You don't have the (right) mxDateTime binaries installed ! Traceback (most recent call last): File "./testFeDb.py", line 4, in ? from mx import DateTime File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/__init__.py", line 8, in ? from DateTime import * File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/DateTime.py", line 9, in ? from mxDateTime import * File "/Library/Python/2.3/mx/DateTime/mxDateTime/__init__.py", line 13, in ? raise ImportError, why ImportError: Failure linking new module: : dyld: python Undefined symbols: /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyArg_ParseTuple expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCObject_FromVoidPtr expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCallable_Check expected to be defined in the executable /Library/Python/2.3/mx/Date === Has anyone experienced this? Any ideas how to fix it? culley From hanser at club-internet.fr Sat Sep 4 17:13:26 2004 From: hanser at club-internet.fr (Pierre Hanser) Date: Tue Jan 17 08:02:38 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 Message-ID: <4139CD86.6020403@club-internet.fr> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 hello seems that python2.4a3 is not compatible with the optimizations in mx/DateTime/mxDateTime/mxDateTime.c on Linux: from mx import DateTime -> core dump if I disable the optims, everything gets ok /* Define these to have the module use free lists (saves malloc calls) */ #define MXDATETIME_FREELIST #define MXDATETIMEDELTA_FREELIST #undef MXDATETIME_FREELIST #undef MXDATETIMEDELTA_FREELIST - -- Pierre -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBOc2GMQ2/jYUwmmwRAn70AJ4puAZm4p10+KTCK/GzLt20VzWd3ACfQzIo H8hLxq8iCE3KGYZ6AR5QUy8= =GA8t -----END PGP SIGNATURE----- From mal at egenix.com Sun Sep 5 19:53:02 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Tue Jan 17 08:02:38 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 In-Reply-To: <4139CD86.6020403@club-internet.fr> References: <4139CD86.6020403@club-internet.fr> Message-ID: <413B446E.40002@egenix.com> Pierre Hanser wrote: > hello > > seems that python2.4a3 is not compatible with the optimizations in > mx/DateTime/mxDateTime/mxDateTime.c on Linux: > > from mx import DateTime -> core dump > > if I disable the optims, everything gets ok > > /* Define these to have the module use free lists (saves malloc calls) */ > #define MXDATETIME_FREELIST > #define MXDATETIMEDELTA_FREELIST > #undef MXDATETIME_FREELIST > #undef MXDATETIMEDELTA_FREELIST This is more likely due to a bug in your C compiler. -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 05 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From aluton at rcseng.ac.uk Wed Sep 8 12:33:02 2004 From: aluton at rcseng.ac.uk (Alex Luton) Date: Tue Jan 17 08:02:38 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: References: Message-ID: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Hi, I'm trying to get the mxODBC DA working, but the product is broken with this error message: Traceback (most recent call last): File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product product=__import__(pname, global_dict, global_dict, silly) File "Products/mxODBCZopeDA/__init__.py", line 7, in ? File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? Any help would be much appreciated. Thanks -- Alex ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 From mal at egenix.com Wed Sep 8 13:37:44 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Tue Jan 17 08:02:38 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> References: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Message-ID: <413EE0F8.6050601@egenix.com> Alex Luton wrote: > Hi, > > I'm trying to get the mxODBC DA working, but the product is broken with > this error message: > > Traceback (most recent call last): > File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product > product=__import__(pname, global_dict, global_dict, silly) > File "Products/mxODBCZopeDA/__init__.py", line 7, in ? > File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? > ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString > > I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? RedHat chose to build Python with 4-byte Unicode which is causing all sorts of problems with pre-built extensions. We will start shipping UCS4 builds of the Zope DA with the next release. Until then, you can try the pre-release of 1.0.9: http://www.egenix.com/files/python/egenix-mxodbc-zopeda-1.0.9.linux-i686-py2.3ucs4.zip -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 08 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From kl at vsen.dk Sat Sep 11 20:21:57 2004 From: kl at vsen.dk (Klavs Klavsen) Date: Tue Jan 17 08:02:38 2006 Subject: [egenix-users] bufferoverflow in egenix? Message-ID: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Hi guys, Just installed a new gcc with stack-smashing protection - and while recompiling modules with stack-smashing protection, I got this message: -- copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l ib/python2.3/site-packages/mx/Misc copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ python2.3/site-packages/mx/Misc writing byte-compilation script '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: SyntaxWarning: name 'debugging' is use d prior to global declaration python: stack smashing attack in function symtable_node() error: command '/usr/bin/python' terminated by signal 6 !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. !!! Function distutils_src_install, Line 43, Exitcode 1 !!! (no error message) so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes one in python) - I haven't done very much research as I can live without egenix - but just wanted to let you know :) p.s. it's python-2.3.3. -- Regards, Klavs Klavsen, GSEC - kl@vsen.dk - http://www.vsen.dk PGP: 7E063C62/2873 188C 968E 600D D8F8 B8DA 3D3A 0B79 7E06 3C62 "Those who do not understand Unix are condemned to reinvent it, poorly." --Henry Spencer From mal at egenix.com Sat Sep 11 23:51:30 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Tue Jan 17 08:02:38 2006 Subject: [egenix-users] bufferoverflow in egenix? In-Reply-To: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> References: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Message-ID: <41436552.6000906@egenix.com> Klavs Klavsen wrote: > Hi guys, > > Just installed a new gcc with stack-smashing protection - and while > recompiling modules with stack-smashing protection, I got this message: > -- > copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l > ib/python2.3/site-packages/mx/Misc > copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ > python2.3/site-packages/mx/Misc > writing byte-compilation script > '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' > /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py > usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: > SyntaxWarning: name 'debugging' is use > d prior to global declaration This is an error that the Python compiler generated. I'd suggest you report to the Python bug tracker. BTW, pytag.py is no longer used or maintained, so you can safely delete it. > python: stack smashing attack in function symtable_node() > error: command '/usr/bin/python' terminated by signal 6 > > !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. > !!! Function distutils_src_install, Line 43, Exitcode 1 > !!! (no error message) > > so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes > one in python) - I haven't done very much research as I can live without > egenix - but just wanted to let you know :) > > p.s. it's python-2.3.3. Thanks, -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 11 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From harrelson at gmail.com Thu Sep 30 17:48:13 2004 From: harrelson at gmail.com (Culley Harrelson) Date: Tue Jan 17 08:02:38 2006 Subject: [egenix-users] OS X 10.3.5: *** You don't have the (right) mxDateTime binaries installed ! Message-ID: <529825a30409301648507c0cf8@mail.gmail.com> I have successfully installed mxDateTime on my OS X 10.3.5 system, using the system Python installation. It installed but as soon as I try to import the module I get: === *** You don't have the (right) mxDateTime binaries installed ! Traceback (most recent call last): File "./testFeDb.py", line 4, in ? from mx import DateTime File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/__init__.py", line 8, in ? from DateTime import * File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/DateTime.py", line 9, in ? from mxDateTime import * File "/Library/Python/2.3/mx/DateTime/mxDateTime/__init__.py", line 13, in ? raise ImportError, why ImportError: Failure linking new module: : dyld: python Undefined symbols: /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyArg_ParseTuple expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCObject_FromVoidPtr expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCallable_Check expected to be defined in the executable /Library/Python/2.3/mx/Date === Has anyone experienced this? Any ideas how to fix it? culley From hanser at club-internet.fr Sat Sep 4 17:13:26 2004 From: hanser at club-internet.fr (Pierre Hanser) Date: Tue Jan 17 12:01:07 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 Message-ID: <4139CD86.6020403@club-internet.fr> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 hello seems that python2.4a3 is not compatible with the optimizations in mx/DateTime/mxDateTime/mxDateTime.c on Linux: from mx import DateTime -> core dump if I disable the optims, everything gets ok /* Define these to have the module use free lists (saves malloc calls) */ #define MXDATETIME_FREELIST #define MXDATETIMEDELTA_FREELIST #undef MXDATETIME_FREELIST #undef MXDATETIMEDELTA_FREELIST - -- Pierre -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBOc2GMQ2/jYUwmmwRAn70AJ4puAZm4p10+KTCK/GzLt20VzWd3ACfQzIo H8hLxq8iCE3KGYZ6AR5QUy8= =GA8t -----END PGP SIGNATURE----- From mal at egenix.com Sun Sep 5 19:53:02 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Tue Jan 17 12:01:07 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 In-Reply-To: <4139CD86.6020403@club-internet.fr> References: <4139CD86.6020403@club-internet.fr> Message-ID: <413B446E.40002@egenix.com> Pierre Hanser wrote: > hello > > seems that python2.4a3 is not compatible with the optimizations in > mx/DateTime/mxDateTime/mxDateTime.c on Linux: > > from mx import DateTime -> core dump > > if I disable the optims, everything gets ok > > /* Define these to have the module use free lists (saves malloc calls) */ > #define MXDATETIME_FREELIST > #define MXDATETIMEDELTA_FREELIST > #undef MXDATETIME_FREELIST > #undef MXDATETIMEDELTA_FREELIST This is more likely due to a bug in your C compiler. -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 05 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From aluton at rcseng.ac.uk Wed Sep 8 12:33:02 2004 From: aluton at rcseng.ac.uk (Alex Luton) Date: Tue Jan 17 12:01:07 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: References: Message-ID: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Hi, I'm trying to get the mxODBC DA working, but the product is broken with this error message: Traceback (most recent call last): File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product product=__import__(pname, global_dict, global_dict, silly) File "Products/mxODBCZopeDA/__init__.py", line 7, in ? File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? Any help would be much appreciated. Thanks -- Alex ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 From mal at egenix.com Wed Sep 8 13:37:44 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Tue Jan 17 12:01:07 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> References: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Message-ID: <413EE0F8.6050601@egenix.com> Alex Luton wrote: > Hi, > > I'm trying to get the mxODBC DA working, but the product is broken with > this error message: > > Traceback (most recent call last): > File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product > product=__import__(pname, global_dict, global_dict, silly) > File "Products/mxODBCZopeDA/__init__.py", line 7, in ? > File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? > ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString > > I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? RedHat chose to build Python with 4-byte Unicode which is causing all sorts of problems with pre-built extensions. We will start shipping UCS4 builds of the Zope DA with the next release. Until then, you can try the pre-release of 1.0.9: http://www.egenix.com/files/python/egenix-mxodbc-zopeda-1.0.9.linux-i686-py2.3ucs4.zip -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 08 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From kl at vsen.dk Sat Sep 11 20:21:57 2004 From: kl at vsen.dk (Klavs Klavsen) Date: Tue Jan 17 12:01:07 2006 Subject: [egenix-users] bufferoverflow in egenix? Message-ID: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Hi guys, Just installed a new gcc with stack-smashing protection - and while recompiling modules with stack-smashing protection, I got this message: -- copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l ib/python2.3/site-packages/mx/Misc copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ python2.3/site-packages/mx/Misc writing byte-compilation script '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: SyntaxWarning: name 'debugging' is use d prior to global declaration python: stack smashing attack in function symtable_node() error: command '/usr/bin/python' terminated by signal 6 !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. !!! Function distutils_src_install, Line 43, Exitcode 1 !!! (no error message) so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes one in python) - I haven't done very much research as I can live without egenix - but just wanted to let you know :) p.s. it's python-2.3.3. -- Regards, Klavs Klavsen, GSEC - kl@vsen.dk - http://www.vsen.dk PGP: 7E063C62/2873 188C 968E 600D D8F8 B8DA 3D3A 0B79 7E06 3C62 "Those who do not understand Unix are condemned to reinvent it, poorly." --Henry Spencer From mal at egenix.com Sat Sep 11 23:51:30 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Tue Jan 17 12:01:07 2006 Subject: [egenix-users] bufferoverflow in egenix? In-Reply-To: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> References: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Message-ID: <41436552.6000906@egenix.com> Klavs Klavsen wrote: > Hi guys, > > Just installed a new gcc with stack-smashing protection - and while > recompiling modules with stack-smashing protection, I got this message: > -- > copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l > ib/python2.3/site-packages/mx/Misc > copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ > python2.3/site-packages/mx/Misc > writing byte-compilation script > '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' > /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py > usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: > SyntaxWarning: name 'debugging' is use > d prior to global declaration This is an error that the Python compiler generated. I'd suggest you report to the Python bug tracker. BTW, pytag.py is no longer used or maintained, so you can safely delete it. > python: stack smashing attack in function symtable_node() > error: command '/usr/bin/python' terminated by signal 6 > > !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. > !!! Function distutils_src_install, Line 43, Exitcode 1 > !!! (no error message) > > so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes > one in python) - I haven't done very much research as I can live without > egenix - but just wanted to let you know :) > > p.s. it's python-2.3.3. Thanks, -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 11 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From harrelson at gmail.com Thu Sep 30 17:48:13 2004 From: harrelson at gmail.com (Culley Harrelson) Date: Tue Jan 17 12:01:07 2006 Subject: [egenix-users] OS X 10.3.5: *** You don't have the (right) mxDateTime binaries installed ! Message-ID: <529825a30409301648507c0cf8@mail.gmail.com> I have successfully installed mxDateTime on my OS X 10.3.5 system, using the system Python installation. It installed but as soon as I try to import the module I get: === *** You don't have the (right) mxDateTime binaries installed ! Traceback (most recent call last): File "./testFeDb.py", line 4, in ? from mx import DateTime File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/__init__.py", line 8, in ? from DateTime import * File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/DateTime.py", line 9, in ? from mxDateTime import * File "/Library/Python/2.3/mx/DateTime/mxDateTime/__init__.py", line 13, in ? raise ImportError, why ImportError: Failure linking new module: : dyld: python Undefined symbols: /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyArg_ParseTuple expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCObject_FromVoidPtr expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCallable_Check expected to be defined in the executable /Library/Python/2.3/mx/Date === Has anyone experienced this? Any ideas how to fix it? culley From hanser at club-internet.fr Sat Sep 4 17:13:26 2004 From: hanser at club-internet.fr (Pierre Hanser) Date: Tue Jan 17 16:00:53 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 Message-ID: <4139CD86.6020403@club-internet.fr> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 hello seems that python2.4a3 is not compatible with the optimizations in mx/DateTime/mxDateTime/mxDateTime.c on Linux: from mx import DateTime -> core dump if I disable the optims, everything gets ok /* Define these to have the module use free lists (saves malloc calls) */ #define MXDATETIME_FREELIST #define MXDATETIMEDELTA_FREELIST #undef MXDATETIME_FREELIST #undef MXDATETIMEDELTA_FREELIST - -- Pierre -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBOc2GMQ2/jYUwmmwRAn70AJ4puAZm4p10+KTCK/GzLt20VzWd3ACfQzIo H8hLxq8iCE3KGYZ6AR5QUy8= =GA8t -----END PGP SIGNATURE----- From mal at egenix.com Sun Sep 5 19:53:02 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Tue Jan 17 16:00:53 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 In-Reply-To: <4139CD86.6020403@club-internet.fr> References: <4139CD86.6020403@club-internet.fr> Message-ID: <413B446E.40002@egenix.com> Pierre Hanser wrote: > hello > > seems that python2.4a3 is not compatible with the optimizations in > mx/DateTime/mxDateTime/mxDateTime.c on Linux: > > from mx import DateTime -> core dump > > if I disable the optims, everything gets ok > > /* Define these to have the module use free lists (saves malloc calls) */ > #define MXDATETIME_FREELIST > #define MXDATETIMEDELTA_FREELIST > #undef MXDATETIME_FREELIST > #undef MXDATETIMEDELTA_FREELIST This is more likely due to a bug in your C compiler. -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 05 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From aluton at rcseng.ac.uk Wed Sep 8 12:33:02 2004 From: aluton at rcseng.ac.uk (Alex Luton) Date: Tue Jan 17 16:00:53 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: References: Message-ID: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Hi, I'm trying to get the mxODBC DA working, but the product is broken with this error message: Traceback (most recent call last): File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product product=__import__(pname, global_dict, global_dict, silly) File "Products/mxODBCZopeDA/__init__.py", line 7, in ? File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? Any help would be much appreciated. Thanks -- Alex ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 From mal at egenix.com Wed Sep 8 13:37:44 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Tue Jan 17 16:00:53 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> References: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Message-ID: <413EE0F8.6050601@egenix.com> Alex Luton wrote: > Hi, > > I'm trying to get the mxODBC DA working, but the product is broken with > this error message: > > Traceback (most recent call last): > File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product > product=__import__(pname, global_dict, global_dict, silly) > File "Products/mxODBCZopeDA/__init__.py", line 7, in ? > File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? > ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString > > I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? RedHat chose to build Python with 4-byte Unicode which is causing all sorts of problems with pre-built extensions. We will start shipping UCS4 builds of the Zope DA with the next release. Until then, you can try the pre-release of 1.0.9: http://www.egenix.com/files/python/egenix-mxodbc-zopeda-1.0.9.linux-i686-py2.3ucs4.zip -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 08 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From kl at vsen.dk Sat Sep 11 20:21:57 2004 From: kl at vsen.dk (Klavs Klavsen) Date: Tue Jan 17 16:00:53 2006 Subject: [egenix-users] bufferoverflow in egenix? Message-ID: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Hi guys, Just installed a new gcc with stack-smashing protection - and while recompiling modules with stack-smashing protection, I got this message: -- copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l ib/python2.3/site-packages/mx/Misc copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ python2.3/site-packages/mx/Misc writing byte-compilation script '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: SyntaxWarning: name 'debugging' is use d prior to global declaration python: stack smashing attack in function symtable_node() error: command '/usr/bin/python' terminated by signal 6 !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. !!! Function distutils_src_install, Line 43, Exitcode 1 !!! (no error message) so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes one in python) - I haven't done very much research as I can live without egenix - but just wanted to let you know :) p.s. it's python-2.3.3. -- Regards, Klavs Klavsen, GSEC - kl@vsen.dk - http://www.vsen.dk PGP: 7E063C62/2873 188C 968E 600D D8F8 B8DA 3D3A 0B79 7E06 3C62 "Those who do not understand Unix are condemned to reinvent it, poorly." --Henry Spencer From mal at egenix.com Sat Sep 11 23:51:30 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Tue Jan 17 16:00:53 2006 Subject: [egenix-users] bufferoverflow in egenix? In-Reply-To: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> References: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Message-ID: <41436552.6000906@egenix.com> Klavs Klavsen wrote: > Hi guys, > > Just installed a new gcc with stack-smashing protection - and while > recompiling modules with stack-smashing protection, I got this message: > -- > copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l > ib/python2.3/site-packages/mx/Misc > copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ > python2.3/site-packages/mx/Misc > writing byte-compilation script > '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' > /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py > usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: > SyntaxWarning: name 'debugging' is use > d prior to global declaration This is an error that the Python compiler generated. I'd suggest you report to the Python bug tracker. BTW, pytag.py is no longer used or maintained, so you can safely delete it. > python: stack smashing attack in function symtable_node() > error: command '/usr/bin/python' terminated by signal 6 > > !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. > !!! Function distutils_src_install, Line 43, Exitcode 1 > !!! (no error message) > > so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes > one in python) - I haven't done very much research as I can live without > egenix - but just wanted to let you know :) > > p.s. it's python-2.3.3. Thanks, -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 11 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From harrelson at gmail.com Thu Sep 30 17:48:13 2004 From: harrelson at gmail.com (Culley Harrelson) Date: Tue Jan 17 16:00:53 2006 Subject: [egenix-users] OS X 10.3.5: *** You don't have the (right) mxDateTime binaries installed ! Message-ID: <529825a30409301648507c0cf8@mail.gmail.com> I have successfully installed mxDateTime on my OS X 10.3.5 system, using the system Python installation. It installed but as soon as I try to import the module I get: === *** You don't have the (right) mxDateTime binaries installed ! Traceback (most recent call last): File "./testFeDb.py", line 4, in ? from mx import DateTime File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/__init__.py", line 8, in ? from DateTime import * File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/DateTime.py", line 9, in ? from mxDateTime import * File "/Library/Python/2.3/mx/DateTime/mxDateTime/__init__.py", line 13, in ? raise ImportError, why ImportError: Failure linking new module: : dyld: python Undefined symbols: /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyArg_ParseTuple expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCObject_FromVoidPtr expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCallable_Check expected to be defined in the executable /Library/Python/2.3/mx/Date === Has anyone experienced this? Any ideas how to fix it? culley From hanser at club-internet.fr Sat Sep 4 17:13:26 2004 From: hanser at club-internet.fr (Pierre Hanser) Date: Tue Jan 17 20:00:55 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 Message-ID: <4139CD86.6020403@club-internet.fr> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 hello seems that python2.4a3 is not compatible with the optimizations in mx/DateTime/mxDateTime/mxDateTime.c on Linux: from mx import DateTime -> core dump if I disable the optims, everything gets ok /* Define these to have the module use free lists (saves malloc calls) */ #define MXDATETIME_FREELIST #define MXDATETIMEDELTA_FREELIST #undef MXDATETIME_FREELIST #undef MXDATETIMEDELTA_FREELIST - -- Pierre -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBOc2GMQ2/jYUwmmwRAn70AJ4puAZm4p10+KTCK/GzLt20VzWd3ACfQzIo H8hLxq8iCE3KGYZ6AR5QUy8= =GA8t -----END PGP SIGNATURE----- From mal at egenix.com Sun Sep 5 19:53:02 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Tue Jan 17 20:00:55 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 In-Reply-To: <4139CD86.6020403@club-internet.fr> References: <4139CD86.6020403@club-internet.fr> Message-ID: <413B446E.40002@egenix.com> Pierre Hanser wrote: > hello > > seems that python2.4a3 is not compatible with the optimizations in > mx/DateTime/mxDateTime/mxDateTime.c on Linux: > > from mx import DateTime -> core dump > > if I disable the optims, everything gets ok > > /* Define these to have the module use free lists (saves malloc calls) */ > #define MXDATETIME_FREELIST > #define MXDATETIMEDELTA_FREELIST > #undef MXDATETIME_FREELIST > #undef MXDATETIMEDELTA_FREELIST This is more likely due to a bug in your C compiler. -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 05 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From aluton at rcseng.ac.uk Wed Sep 8 12:33:02 2004 From: aluton at rcseng.ac.uk (Alex Luton) Date: Tue Jan 17 20:00:55 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: References: Message-ID: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Hi, I'm trying to get the mxODBC DA working, but the product is broken with this error message: Traceback (most recent call last): File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product product=__import__(pname, global_dict, global_dict, silly) File "Products/mxODBCZopeDA/__init__.py", line 7, in ? File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? Any help would be much appreciated. Thanks -- Alex ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 From mal at egenix.com Wed Sep 8 13:37:44 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Tue Jan 17 20:00:55 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> References: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Message-ID: <413EE0F8.6050601@egenix.com> Alex Luton wrote: > Hi, > > I'm trying to get the mxODBC DA working, but the product is broken with > this error message: > > Traceback (most recent call last): > File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product > product=__import__(pname, global_dict, global_dict, silly) > File "Products/mxODBCZopeDA/__init__.py", line 7, in ? > File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? > ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString > > I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? RedHat chose to build Python with 4-byte Unicode which is causing all sorts of problems with pre-built extensions. We will start shipping UCS4 builds of the Zope DA with the next release. Until then, you can try the pre-release of 1.0.9: http://www.egenix.com/files/python/egenix-mxodbc-zopeda-1.0.9.linux-i686-py2.3ucs4.zip -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 08 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From kl at vsen.dk Sat Sep 11 20:21:57 2004 From: kl at vsen.dk (Klavs Klavsen) Date: Tue Jan 17 20:00:55 2006 Subject: [egenix-users] bufferoverflow in egenix? Message-ID: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Hi guys, Just installed a new gcc with stack-smashing protection - and while recompiling modules with stack-smashing protection, I got this message: -- copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l ib/python2.3/site-packages/mx/Misc copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ python2.3/site-packages/mx/Misc writing byte-compilation script '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: SyntaxWarning: name 'debugging' is use d prior to global declaration python: stack smashing attack in function symtable_node() error: command '/usr/bin/python' terminated by signal 6 !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. !!! Function distutils_src_install, Line 43, Exitcode 1 !!! (no error message) so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes one in python) - I haven't done very much research as I can live without egenix - but just wanted to let you know :) p.s. it's python-2.3.3. -- Regards, Klavs Klavsen, GSEC - kl@vsen.dk - http://www.vsen.dk PGP: 7E063C62/2873 188C 968E 600D D8F8 B8DA 3D3A 0B79 7E06 3C62 "Those who do not understand Unix are condemned to reinvent it, poorly." --Henry Spencer From mal at egenix.com Sat Sep 11 23:51:30 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Tue Jan 17 20:00:55 2006 Subject: [egenix-users] bufferoverflow in egenix? In-Reply-To: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> References: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Message-ID: <41436552.6000906@egenix.com> Klavs Klavsen wrote: > Hi guys, > > Just installed a new gcc with stack-smashing protection - and while > recompiling modules with stack-smashing protection, I got this message: > -- > copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l > ib/python2.3/site-packages/mx/Misc > copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ > python2.3/site-packages/mx/Misc > writing byte-compilation script > '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' > /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py > usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: > SyntaxWarning: name 'debugging' is use > d prior to global declaration This is an error that the Python compiler generated. I'd suggest you report to the Python bug tracker. BTW, pytag.py is no longer used or maintained, so you can safely delete it. > python: stack smashing attack in function symtable_node() > error: command '/usr/bin/python' terminated by signal 6 > > !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. > !!! Function distutils_src_install, Line 43, Exitcode 1 > !!! (no error message) > > so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes > one in python) - I haven't done very much research as I can live without > egenix - but just wanted to let you know :) > > p.s. it's python-2.3.3. Thanks, -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 11 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From harrelson at gmail.com Thu Sep 30 17:48:13 2004 From: harrelson at gmail.com (Culley Harrelson) Date: Tue Jan 17 20:00:55 2006 Subject: [egenix-users] OS X 10.3.5: *** You don't have the (right) mxDateTime binaries installed ! Message-ID: <529825a30409301648507c0cf8@mail.gmail.com> I have successfully installed mxDateTime on my OS X 10.3.5 system, using the system Python installation. It installed but as soon as I try to import the module I get: === *** You don't have the (right) mxDateTime binaries installed ! Traceback (most recent call last): File "./testFeDb.py", line 4, in ? from mx import DateTime File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/__init__.py", line 8, in ? from DateTime import * File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/DateTime.py", line 9, in ? from mxDateTime import * File "/Library/Python/2.3/mx/DateTime/mxDateTime/__init__.py", line 13, in ? raise ImportError, why ImportError: Failure linking new module: : dyld: python Undefined symbols: /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyArg_ParseTuple expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCObject_FromVoidPtr expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCallable_Check expected to be defined in the executable /Library/Python/2.3/mx/Date === Has anyone experienced this? Any ideas how to fix it? culley From hanser at club-internet.fr Sat Sep 4 17:13:26 2004 From: hanser at club-internet.fr (Pierre Hanser) Date: Wed Jan 18 08:04:22 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 Message-ID: <4139CD86.6020403@club-internet.fr> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 hello seems that python2.4a3 is not compatible with the optimizations in mx/DateTime/mxDateTime/mxDateTime.c on Linux: from mx import DateTime -> core dump if I disable the optims, everything gets ok /* Define these to have the module use free lists (saves malloc calls) */ #define MXDATETIME_FREELIST #define MXDATETIMEDELTA_FREELIST #undef MXDATETIME_FREELIST #undef MXDATETIMEDELTA_FREELIST - -- Pierre -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBOc2GMQ2/jYUwmmwRAn70AJ4puAZm4p10+KTCK/GzLt20VzWd3ACfQzIo H8hLxq8iCE3KGYZ6AR5QUy8= =GA8t -----END PGP SIGNATURE----- From mal at egenix.com Sun Sep 5 19:53:02 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Wed Jan 18 08:04:22 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 In-Reply-To: <4139CD86.6020403@club-internet.fr> References: <4139CD86.6020403@club-internet.fr> Message-ID: <413B446E.40002@egenix.com> Pierre Hanser wrote: > hello > > seems that python2.4a3 is not compatible with the optimizations in > mx/DateTime/mxDateTime/mxDateTime.c on Linux: > > from mx import DateTime -> core dump > > if I disable the optims, everything gets ok > > /* Define these to have the module use free lists (saves malloc calls) */ > #define MXDATETIME_FREELIST > #define MXDATETIMEDELTA_FREELIST > #undef MXDATETIME_FREELIST > #undef MXDATETIMEDELTA_FREELIST This is more likely due to a bug in your C compiler. -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 05 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From aluton at rcseng.ac.uk Wed Sep 8 12:33:02 2004 From: aluton at rcseng.ac.uk (Alex Luton) Date: Wed Jan 18 08:04:22 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: References: Message-ID: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Hi, I'm trying to get the mxODBC DA working, but the product is broken with this error message: Traceback (most recent call last): File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product product=__import__(pname, global_dict, global_dict, silly) File "Products/mxODBCZopeDA/__init__.py", line 7, in ? File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? Any help would be much appreciated. Thanks -- Alex ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 From mal at egenix.com Wed Sep 8 13:37:44 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Wed Jan 18 08:04:22 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> References: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Message-ID: <413EE0F8.6050601@egenix.com> Alex Luton wrote: > Hi, > > I'm trying to get the mxODBC DA working, but the product is broken with > this error message: > > Traceback (most recent call last): > File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product > product=__import__(pname, global_dict, global_dict, silly) > File "Products/mxODBCZopeDA/__init__.py", line 7, in ? > File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? > ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString > > I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? RedHat chose to build Python with 4-byte Unicode which is causing all sorts of problems with pre-built extensions. We will start shipping UCS4 builds of the Zope DA with the next release. Until then, you can try the pre-release of 1.0.9: http://www.egenix.com/files/python/egenix-mxodbc-zopeda-1.0.9.linux-i686-py2.3ucs4.zip -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 08 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From kl at vsen.dk Sat Sep 11 20:21:57 2004 From: kl at vsen.dk (Klavs Klavsen) Date: Wed Jan 18 08:04:22 2006 Subject: [egenix-users] bufferoverflow in egenix? Message-ID: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Hi guys, Just installed a new gcc with stack-smashing protection - and while recompiling modules with stack-smashing protection, I got this message: -- copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l ib/python2.3/site-packages/mx/Misc copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ python2.3/site-packages/mx/Misc writing byte-compilation script '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: SyntaxWarning: name 'debugging' is use d prior to global declaration python: stack smashing attack in function symtable_node() error: command '/usr/bin/python' terminated by signal 6 !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. !!! Function distutils_src_install, Line 43, Exitcode 1 !!! (no error message) so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes one in python) - I haven't done very much research as I can live without egenix - but just wanted to let you know :) p.s. it's python-2.3.3. -- Regards, Klavs Klavsen, GSEC - kl@vsen.dk - http://www.vsen.dk PGP: 7E063C62/2873 188C 968E 600D D8F8 B8DA 3D3A 0B79 7E06 3C62 "Those who do not understand Unix are condemned to reinvent it, poorly." --Henry Spencer From mal at egenix.com Sat Sep 11 23:51:30 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Wed Jan 18 08:04:22 2006 Subject: [egenix-users] bufferoverflow in egenix? In-Reply-To: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> References: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Message-ID: <41436552.6000906@egenix.com> Klavs Klavsen wrote: > Hi guys, > > Just installed a new gcc with stack-smashing protection - and while > recompiling modules with stack-smashing protection, I got this message: > -- > copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l > ib/python2.3/site-packages/mx/Misc > copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ > python2.3/site-packages/mx/Misc > writing byte-compilation script > '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' > /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py > usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: > SyntaxWarning: name 'debugging' is use > d prior to global declaration This is an error that the Python compiler generated. I'd suggest you report to the Python bug tracker. BTW, pytag.py is no longer used or maintained, so you can safely delete it. > python: stack smashing attack in function symtable_node() > error: command '/usr/bin/python' terminated by signal 6 > > !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. > !!! Function distutils_src_install, Line 43, Exitcode 1 > !!! (no error message) > > so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes > one in python) - I haven't done very much research as I can live without > egenix - but just wanted to let you know :) > > p.s. it's python-2.3.3. Thanks, -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 11 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From harrelson at gmail.com Thu Sep 30 17:48:13 2004 From: harrelson at gmail.com (Culley Harrelson) Date: Wed Jan 18 08:04:22 2006 Subject: [egenix-users] OS X 10.3.5: *** You don't have the (right) mxDateTime binaries installed ! Message-ID: <529825a30409301648507c0cf8@mail.gmail.com> I have successfully installed mxDateTime on my OS X 10.3.5 system, using the system Python installation. It installed but as soon as I try to import the module I get: === *** You don't have the (right) mxDateTime binaries installed ! Traceback (most recent call last): File "./testFeDb.py", line 4, in ? from mx import DateTime File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/__init__.py", line 8, in ? from DateTime import * File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/DateTime.py", line 9, in ? from mxDateTime import * File "/Library/Python/2.3/mx/DateTime/mxDateTime/__init__.py", line 13, in ? raise ImportError, why ImportError: Failure linking new module: : dyld: python Undefined symbols: /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyArg_ParseTuple expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCObject_FromVoidPtr expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCallable_Check expected to be defined in the executable /Library/Python/2.3/mx/Date === Has anyone experienced this? Any ideas how to fix it? culley From hanser at club-internet.fr Sat Sep 4 17:13:26 2004 From: hanser at club-internet.fr (Pierre Hanser) Date: Wed Jan 18 12:01:09 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 Message-ID: <4139CD86.6020403@club-internet.fr> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 hello seems that python2.4a3 is not compatible with the optimizations in mx/DateTime/mxDateTime/mxDateTime.c on Linux: from mx import DateTime -> core dump if I disable the optims, everything gets ok /* Define these to have the module use free lists (saves malloc calls) */ #define MXDATETIME_FREELIST #define MXDATETIMEDELTA_FREELIST #undef MXDATETIME_FREELIST #undef MXDATETIMEDELTA_FREELIST - -- Pierre -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBOc2GMQ2/jYUwmmwRAn70AJ4puAZm4p10+KTCK/GzLt20VzWd3ACfQzIo H8hLxq8iCE3KGYZ6AR5QUy8= =GA8t -----END PGP SIGNATURE----- From mal at egenix.com Sun Sep 5 19:53:02 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Wed Jan 18 12:01:09 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 In-Reply-To: <4139CD86.6020403@club-internet.fr> References: <4139CD86.6020403@club-internet.fr> Message-ID: <413B446E.40002@egenix.com> Pierre Hanser wrote: > hello > > seems that python2.4a3 is not compatible with the optimizations in > mx/DateTime/mxDateTime/mxDateTime.c on Linux: > > from mx import DateTime -> core dump > > if I disable the optims, everything gets ok > > /* Define these to have the module use free lists (saves malloc calls) */ > #define MXDATETIME_FREELIST > #define MXDATETIMEDELTA_FREELIST > #undef MXDATETIME_FREELIST > #undef MXDATETIMEDELTA_FREELIST This is more likely due to a bug in your C compiler. -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 05 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From aluton at rcseng.ac.uk Wed Sep 8 12:33:02 2004 From: aluton at rcseng.ac.uk (Alex Luton) Date: Wed Jan 18 12:01:09 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: References: Message-ID: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Hi, I'm trying to get the mxODBC DA working, but the product is broken with this error message: Traceback (most recent call last): File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product product=__import__(pname, global_dict, global_dict, silly) File "Products/mxODBCZopeDA/__init__.py", line 7, in ? File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? Any help would be much appreciated. Thanks -- Alex ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 From mal at egenix.com Wed Sep 8 13:37:44 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Wed Jan 18 12:01:09 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> References: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Message-ID: <413EE0F8.6050601@egenix.com> Alex Luton wrote: > Hi, > > I'm trying to get the mxODBC DA working, but the product is broken with > this error message: > > Traceback (most recent call last): > File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product > product=__import__(pname, global_dict, global_dict, silly) > File "Products/mxODBCZopeDA/__init__.py", line 7, in ? > File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? > ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString > > I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? RedHat chose to build Python with 4-byte Unicode which is causing all sorts of problems with pre-built extensions. We will start shipping UCS4 builds of the Zope DA with the next release. Until then, you can try the pre-release of 1.0.9: http://www.egenix.com/files/python/egenix-mxodbc-zopeda-1.0.9.linux-i686-py2.3ucs4.zip -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 08 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From kl at vsen.dk Sat Sep 11 20:21:57 2004 From: kl at vsen.dk (Klavs Klavsen) Date: Wed Jan 18 12:01:09 2006 Subject: [egenix-users] bufferoverflow in egenix? Message-ID: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Hi guys, Just installed a new gcc with stack-smashing protection - and while recompiling modules with stack-smashing protection, I got this message: -- copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l ib/python2.3/site-packages/mx/Misc copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ python2.3/site-packages/mx/Misc writing byte-compilation script '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: SyntaxWarning: name 'debugging' is use d prior to global declaration python: stack smashing attack in function symtable_node() error: command '/usr/bin/python' terminated by signal 6 !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. !!! Function distutils_src_install, Line 43, Exitcode 1 !!! (no error message) so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes one in python) - I haven't done very much research as I can live without egenix - but just wanted to let you know :) p.s. it's python-2.3.3. -- Regards, Klavs Klavsen, GSEC - kl@vsen.dk - http://www.vsen.dk PGP: 7E063C62/2873 188C 968E 600D D8F8 B8DA 3D3A 0B79 7E06 3C62 "Those who do not understand Unix are condemned to reinvent it, poorly." --Henry Spencer From mal at egenix.com Sat Sep 11 23:51:30 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Wed Jan 18 12:01:09 2006 Subject: [egenix-users] bufferoverflow in egenix? In-Reply-To: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> References: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Message-ID: <41436552.6000906@egenix.com> Klavs Klavsen wrote: > Hi guys, > > Just installed a new gcc with stack-smashing protection - and while > recompiling modules with stack-smashing protection, I got this message: > -- > copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l > ib/python2.3/site-packages/mx/Misc > copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ > python2.3/site-packages/mx/Misc > writing byte-compilation script > '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' > /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py > usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: > SyntaxWarning: name 'debugging' is use > d prior to global declaration This is an error that the Python compiler generated. I'd suggest you report to the Python bug tracker. BTW, pytag.py is no longer used or maintained, so you can safely delete it. > python: stack smashing attack in function symtable_node() > error: command '/usr/bin/python' terminated by signal 6 > > !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. > !!! Function distutils_src_install, Line 43, Exitcode 1 > !!! (no error message) > > so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes > one in python) - I haven't done very much research as I can live without > egenix - but just wanted to let you know :) > > p.s. it's python-2.3.3. Thanks, -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 11 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From harrelson at gmail.com Thu Sep 30 17:48:13 2004 From: harrelson at gmail.com (Culley Harrelson) Date: Wed Jan 18 12:01:09 2006 Subject: [egenix-users] OS X 10.3.5: *** You don't have the (right) mxDateTime binaries installed ! Message-ID: <529825a30409301648507c0cf8@mail.gmail.com> I have successfully installed mxDateTime on my OS X 10.3.5 system, using the system Python installation. It installed but as soon as I try to import the module I get: === *** You don't have the (right) mxDateTime binaries installed ! Traceback (most recent call last): File "./testFeDb.py", line 4, in ? from mx import DateTime File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/__init__.py", line 8, in ? from DateTime import * File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/DateTime.py", line 9, in ? from mxDateTime import * File "/Library/Python/2.3/mx/DateTime/mxDateTime/__init__.py", line 13, in ? raise ImportError, why ImportError: Failure linking new module: : dyld: python Undefined symbols: /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyArg_ParseTuple expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCObject_FromVoidPtr expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCallable_Check expected to be defined in the executable /Library/Python/2.3/mx/Date === Has anyone experienced this? Any ideas how to fix it? culley From hanser at club-internet.fr Sat Sep 4 17:13:26 2004 From: hanser at club-internet.fr (Pierre Hanser) Date: Wed Jan 18 16:01:35 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 Message-ID: <4139CD86.6020403@club-internet.fr> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 hello seems that python2.4a3 is not compatible with the optimizations in mx/DateTime/mxDateTime/mxDateTime.c on Linux: from mx import DateTime -> core dump if I disable the optims, everything gets ok /* Define these to have the module use free lists (saves malloc calls) */ #define MXDATETIME_FREELIST #define MXDATETIMEDELTA_FREELIST #undef MXDATETIME_FREELIST #undef MXDATETIMEDELTA_FREELIST - -- Pierre -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBOc2GMQ2/jYUwmmwRAn70AJ4puAZm4p10+KTCK/GzLt20VzWd3ACfQzIo H8hLxq8iCE3KGYZ6AR5QUy8= =GA8t -----END PGP SIGNATURE----- From mal at egenix.com Sun Sep 5 19:53:02 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Wed Jan 18 16:01:35 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 In-Reply-To: <4139CD86.6020403@club-internet.fr> References: <4139CD86.6020403@club-internet.fr> Message-ID: <413B446E.40002@egenix.com> Pierre Hanser wrote: > hello > > seems that python2.4a3 is not compatible with the optimizations in > mx/DateTime/mxDateTime/mxDateTime.c on Linux: > > from mx import DateTime -> core dump > > if I disable the optims, everything gets ok > > /* Define these to have the module use free lists (saves malloc calls) */ > #define MXDATETIME_FREELIST > #define MXDATETIMEDELTA_FREELIST > #undef MXDATETIME_FREELIST > #undef MXDATETIMEDELTA_FREELIST This is more likely due to a bug in your C compiler. -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 05 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From aluton at rcseng.ac.uk Wed Sep 8 12:33:02 2004 From: aluton at rcseng.ac.uk (Alex Luton) Date: Wed Jan 18 16:01:35 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: References: Message-ID: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Hi, I'm trying to get the mxODBC DA working, but the product is broken with this error message: Traceback (most recent call last): File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product product=__import__(pname, global_dict, global_dict, silly) File "Products/mxODBCZopeDA/__init__.py", line 7, in ? File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? Any help would be much appreciated. Thanks -- Alex ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 From mal at egenix.com Wed Sep 8 13:37:44 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Wed Jan 18 16:01:35 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> References: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Message-ID: <413EE0F8.6050601@egenix.com> Alex Luton wrote: > Hi, > > I'm trying to get the mxODBC DA working, but the product is broken with > this error message: > > Traceback (most recent call last): > File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product > product=__import__(pname, global_dict, global_dict, silly) > File "Products/mxODBCZopeDA/__init__.py", line 7, in ? > File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? > ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString > > I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? RedHat chose to build Python with 4-byte Unicode which is causing all sorts of problems with pre-built extensions. We will start shipping UCS4 builds of the Zope DA with the next release. Until then, you can try the pre-release of 1.0.9: http://www.egenix.com/files/python/egenix-mxodbc-zopeda-1.0.9.linux-i686-py2.3ucs4.zip -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 08 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From kl at vsen.dk Sat Sep 11 20:21:57 2004 From: kl at vsen.dk (Klavs Klavsen) Date: Wed Jan 18 16:01:35 2006 Subject: [egenix-users] bufferoverflow in egenix? Message-ID: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Hi guys, Just installed a new gcc with stack-smashing protection - and while recompiling modules with stack-smashing protection, I got this message: -- copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l ib/python2.3/site-packages/mx/Misc copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ python2.3/site-packages/mx/Misc writing byte-compilation script '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: SyntaxWarning: name 'debugging' is use d prior to global declaration python: stack smashing attack in function symtable_node() error: command '/usr/bin/python' terminated by signal 6 !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. !!! Function distutils_src_install, Line 43, Exitcode 1 !!! (no error message) so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes one in python) - I haven't done very much research as I can live without egenix - but just wanted to let you know :) p.s. it's python-2.3.3. -- Regards, Klavs Klavsen, GSEC - kl@vsen.dk - http://www.vsen.dk PGP: 7E063C62/2873 188C 968E 600D D8F8 B8DA 3D3A 0B79 7E06 3C62 "Those who do not understand Unix are condemned to reinvent it, poorly." --Henry Spencer From mal at egenix.com Sat Sep 11 23:51:30 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Wed Jan 18 16:01:35 2006 Subject: [egenix-users] bufferoverflow in egenix? In-Reply-To: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> References: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Message-ID: <41436552.6000906@egenix.com> Klavs Klavsen wrote: > Hi guys, > > Just installed a new gcc with stack-smashing protection - and while > recompiling modules with stack-smashing protection, I got this message: > -- > copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l > ib/python2.3/site-packages/mx/Misc > copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ > python2.3/site-packages/mx/Misc > writing byte-compilation script > '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' > /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py > usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: > SyntaxWarning: name 'debugging' is use > d prior to global declaration This is an error that the Python compiler generated. I'd suggest you report to the Python bug tracker. BTW, pytag.py is no longer used or maintained, so you can safely delete it. > python: stack smashing attack in function symtable_node() > error: command '/usr/bin/python' terminated by signal 6 > > !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. > !!! Function distutils_src_install, Line 43, Exitcode 1 > !!! (no error message) > > so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes > one in python) - I haven't done very much research as I can live without > egenix - but just wanted to let you know :) > > p.s. it's python-2.3.3. Thanks, -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 11 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From harrelson at gmail.com Thu Sep 30 17:48:13 2004 From: harrelson at gmail.com (Culley Harrelson) Date: Wed Jan 18 16:01:35 2006 Subject: [egenix-users] OS X 10.3.5: *** You don't have the (right) mxDateTime binaries installed ! Message-ID: <529825a30409301648507c0cf8@mail.gmail.com> I have successfully installed mxDateTime on my OS X 10.3.5 system, using the system Python installation. It installed but as soon as I try to import the module I get: === *** You don't have the (right) mxDateTime binaries installed ! Traceback (most recent call last): File "./testFeDb.py", line 4, in ? from mx import DateTime File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/__init__.py", line 8, in ? from DateTime import * File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/DateTime.py", line 9, in ? from mxDateTime import * File "/Library/Python/2.3/mx/DateTime/mxDateTime/__init__.py", line 13, in ? raise ImportError, why ImportError: Failure linking new module: : dyld: python Undefined symbols: /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyArg_ParseTuple expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCObject_FromVoidPtr expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCallable_Check expected to be defined in the executable /Library/Python/2.3/mx/Date === Has anyone experienced this? Any ideas how to fix it? culley From hanser at club-internet.fr Sat Sep 4 17:13:26 2004 From: hanser at club-internet.fr (Pierre Hanser) Date: Wed Jan 18 20:00:59 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 Message-ID: <4139CD86.6020403@club-internet.fr> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 hello seems that python2.4a3 is not compatible with the optimizations in mx/DateTime/mxDateTime/mxDateTime.c on Linux: from mx import DateTime -> core dump if I disable the optims, everything gets ok /* Define these to have the module use free lists (saves malloc calls) */ #define MXDATETIME_FREELIST #define MXDATETIMEDELTA_FREELIST #undef MXDATETIME_FREELIST #undef MXDATETIMEDELTA_FREELIST - -- Pierre -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBOc2GMQ2/jYUwmmwRAn70AJ4puAZm4p10+KTCK/GzLt20VzWd3ACfQzIo H8hLxq8iCE3KGYZ6AR5QUy8= =GA8t -----END PGP SIGNATURE----- From mal at egenix.com Sun Sep 5 19:53:02 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Wed Jan 18 20:00:59 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 In-Reply-To: <4139CD86.6020403@club-internet.fr> References: <4139CD86.6020403@club-internet.fr> Message-ID: <413B446E.40002@egenix.com> Pierre Hanser wrote: > hello > > seems that python2.4a3 is not compatible with the optimizations in > mx/DateTime/mxDateTime/mxDateTime.c on Linux: > > from mx import DateTime -> core dump > > if I disable the optims, everything gets ok > > /* Define these to have the module use free lists (saves malloc calls) */ > #define MXDATETIME_FREELIST > #define MXDATETIMEDELTA_FREELIST > #undef MXDATETIME_FREELIST > #undef MXDATETIMEDELTA_FREELIST This is more likely due to a bug in your C compiler. -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 05 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From aluton at rcseng.ac.uk Wed Sep 8 12:33:02 2004 From: aluton at rcseng.ac.uk (Alex Luton) Date: Wed Jan 18 20:00:59 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: References: Message-ID: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Hi, I'm trying to get the mxODBC DA working, but the product is broken with this error message: Traceback (most recent call last): File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product product=__import__(pname, global_dict, global_dict, silly) File "Products/mxODBCZopeDA/__init__.py", line 7, in ? File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? Any help would be much appreciated. Thanks -- Alex ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 From mal at egenix.com Wed Sep 8 13:37:44 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Wed Jan 18 20:00:59 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> References: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Message-ID: <413EE0F8.6050601@egenix.com> Alex Luton wrote: > Hi, > > I'm trying to get the mxODBC DA working, but the product is broken with > this error message: > > Traceback (most recent call last): > File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product > product=__import__(pname, global_dict, global_dict, silly) > File "Products/mxODBCZopeDA/__init__.py", line 7, in ? > File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? > ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString > > I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? RedHat chose to build Python with 4-byte Unicode which is causing all sorts of problems with pre-built extensions. We will start shipping UCS4 builds of the Zope DA with the next release. Until then, you can try the pre-release of 1.0.9: http://www.egenix.com/files/python/egenix-mxodbc-zopeda-1.0.9.linux-i686-py2.3ucs4.zip -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 08 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From kl at vsen.dk Sat Sep 11 20:21:57 2004 From: kl at vsen.dk (Klavs Klavsen) Date: Wed Jan 18 20:00:59 2006 Subject: [egenix-users] bufferoverflow in egenix? Message-ID: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Hi guys, Just installed a new gcc with stack-smashing protection - and while recompiling modules with stack-smashing protection, I got this message: -- copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l ib/python2.3/site-packages/mx/Misc copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ python2.3/site-packages/mx/Misc writing byte-compilation script '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: SyntaxWarning: name 'debugging' is use d prior to global declaration python: stack smashing attack in function symtable_node() error: command '/usr/bin/python' terminated by signal 6 !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. !!! Function distutils_src_install, Line 43, Exitcode 1 !!! (no error message) so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes one in python) - I haven't done very much research as I can live without egenix - but just wanted to let you know :) p.s. it's python-2.3.3. -- Regards, Klavs Klavsen, GSEC - kl@vsen.dk - http://www.vsen.dk PGP: 7E063C62/2873 188C 968E 600D D8F8 B8DA 3D3A 0B79 7E06 3C62 "Those who do not understand Unix are condemned to reinvent it, poorly." --Henry Spencer From mal at egenix.com Sat Sep 11 23:51:30 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Wed Jan 18 20:00:59 2006 Subject: [egenix-users] bufferoverflow in egenix? In-Reply-To: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> References: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Message-ID: <41436552.6000906@egenix.com> Klavs Klavsen wrote: > Hi guys, > > Just installed a new gcc with stack-smashing protection - and while > recompiling modules with stack-smashing protection, I got this message: > -- > copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l > ib/python2.3/site-packages/mx/Misc > copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ > python2.3/site-packages/mx/Misc > writing byte-compilation script > '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' > /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py > usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: > SyntaxWarning: name 'debugging' is use > d prior to global declaration This is an error that the Python compiler generated. I'd suggest you report to the Python bug tracker. BTW, pytag.py is no longer used or maintained, so you can safely delete it. > python: stack smashing attack in function symtable_node() > error: command '/usr/bin/python' terminated by signal 6 > > !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. > !!! Function distutils_src_install, Line 43, Exitcode 1 > !!! (no error message) > > so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes > one in python) - I haven't done very much research as I can live without > egenix - but just wanted to let you know :) > > p.s. it's python-2.3.3. Thanks, -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 11 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From harrelson at gmail.com Thu Sep 30 17:48:13 2004 From: harrelson at gmail.com (Culley Harrelson) Date: Wed Jan 18 20:00:59 2006 Subject: [egenix-users] OS X 10.3.5: *** You don't have the (right) mxDateTime binaries installed ! Message-ID: <529825a30409301648507c0cf8@mail.gmail.com> I have successfully installed mxDateTime on my OS X 10.3.5 system, using the system Python installation. It installed but as soon as I try to import the module I get: === *** You don't have the (right) mxDateTime binaries installed ! Traceback (most recent call last): File "./testFeDb.py", line 4, in ? from mx import DateTime File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/__init__.py", line 8, in ? from DateTime import * File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/DateTime.py", line 9, in ? from mxDateTime import * File "/Library/Python/2.3/mx/DateTime/mxDateTime/__init__.py", line 13, in ? raise ImportError, why ImportError: Failure linking new module: : dyld: python Undefined symbols: /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyArg_ParseTuple expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCObject_FromVoidPtr expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCallable_Check expected to be defined in the executable /Library/Python/2.3/mx/Date === Has anyone experienced this? Any ideas how to fix it? culley From hanser at club-internet.fr Sat Sep 4 17:13:26 2004 From: hanser at club-internet.fr (Pierre Hanser) Date: Thu Jan 19 08:04:45 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 Message-ID: <4139CD86.6020403@club-internet.fr> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 hello seems that python2.4a3 is not compatible with the optimizations in mx/DateTime/mxDateTime/mxDateTime.c on Linux: from mx import DateTime -> core dump if I disable the optims, everything gets ok /* Define these to have the module use free lists (saves malloc calls) */ #define MXDATETIME_FREELIST #define MXDATETIMEDELTA_FREELIST #undef MXDATETIME_FREELIST #undef MXDATETIMEDELTA_FREELIST - -- Pierre -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBOc2GMQ2/jYUwmmwRAn70AJ4puAZm4p10+KTCK/GzLt20VzWd3ACfQzIo H8hLxq8iCE3KGYZ6AR5QUy8= =GA8t -----END PGP SIGNATURE----- From mal at egenix.com Sun Sep 5 19:53:02 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Thu Jan 19 08:04:46 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 In-Reply-To: <4139CD86.6020403@club-internet.fr> References: <4139CD86.6020403@club-internet.fr> Message-ID: <413B446E.40002@egenix.com> Pierre Hanser wrote: > hello > > seems that python2.4a3 is not compatible with the optimizations in > mx/DateTime/mxDateTime/mxDateTime.c on Linux: > > from mx import DateTime -> core dump > > if I disable the optims, everything gets ok > > /* Define these to have the module use free lists (saves malloc calls) */ > #define MXDATETIME_FREELIST > #define MXDATETIMEDELTA_FREELIST > #undef MXDATETIME_FREELIST > #undef MXDATETIMEDELTA_FREELIST This is more likely due to a bug in your C compiler. -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 05 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From aluton at rcseng.ac.uk Wed Sep 8 12:33:02 2004 From: aluton at rcseng.ac.uk (Alex Luton) Date: Thu Jan 19 08:04:46 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: References: Message-ID: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Hi, I'm trying to get the mxODBC DA working, but the product is broken with this error message: Traceback (most recent call last): File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product product=__import__(pname, global_dict, global_dict, silly) File "Products/mxODBCZopeDA/__init__.py", line 7, in ? File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? Any help would be much appreciated. Thanks -- Alex ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 From mal at egenix.com Wed Sep 8 13:37:44 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Thu Jan 19 08:04:46 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> References: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Message-ID: <413EE0F8.6050601@egenix.com> Alex Luton wrote: > Hi, > > I'm trying to get the mxODBC DA working, but the product is broken with > this error message: > > Traceback (most recent call last): > File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product > product=__import__(pname, global_dict, global_dict, silly) > File "Products/mxODBCZopeDA/__init__.py", line 7, in ? > File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? > ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString > > I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? RedHat chose to build Python with 4-byte Unicode which is causing all sorts of problems with pre-built extensions. We will start shipping UCS4 builds of the Zope DA with the next release. Until then, you can try the pre-release of 1.0.9: http://www.egenix.com/files/python/egenix-mxodbc-zopeda-1.0.9.linux-i686-py2.3ucs4.zip -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 08 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From kl at vsen.dk Sat Sep 11 20:21:57 2004 From: kl at vsen.dk (Klavs Klavsen) Date: Thu Jan 19 08:04:46 2006 Subject: [egenix-users] bufferoverflow in egenix? Message-ID: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Hi guys, Just installed a new gcc with stack-smashing protection - and while recompiling modules with stack-smashing protection, I got this message: -- copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l ib/python2.3/site-packages/mx/Misc copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ python2.3/site-packages/mx/Misc writing byte-compilation script '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: SyntaxWarning: name 'debugging' is use d prior to global declaration python: stack smashing attack in function symtable_node() error: command '/usr/bin/python' terminated by signal 6 !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. !!! Function distutils_src_install, Line 43, Exitcode 1 !!! (no error message) so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes one in python) - I haven't done very much research as I can live without egenix - but just wanted to let you know :) p.s. it's python-2.3.3. -- Regards, Klavs Klavsen, GSEC - kl@vsen.dk - http://www.vsen.dk PGP: 7E063C62/2873 188C 968E 600D D8F8 B8DA 3D3A 0B79 7E06 3C62 "Those who do not understand Unix are condemned to reinvent it, poorly." --Henry Spencer From mal at egenix.com Sat Sep 11 23:51:30 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Thu Jan 19 08:04:46 2006 Subject: [egenix-users] bufferoverflow in egenix? In-Reply-To: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> References: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Message-ID: <41436552.6000906@egenix.com> Klavs Klavsen wrote: > Hi guys, > > Just installed a new gcc with stack-smashing protection - and while > recompiling modules with stack-smashing protection, I got this message: > -- > copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l > ib/python2.3/site-packages/mx/Misc > copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ > python2.3/site-packages/mx/Misc > writing byte-compilation script > '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' > /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py > usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: > SyntaxWarning: name 'debugging' is use > d prior to global declaration This is an error that the Python compiler generated. I'd suggest you report to the Python bug tracker. BTW, pytag.py is no longer used or maintained, so you can safely delete it. > python: stack smashing attack in function symtable_node() > error: command '/usr/bin/python' terminated by signal 6 > > !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. > !!! Function distutils_src_install, Line 43, Exitcode 1 > !!! (no error message) > > so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes > one in python) - I haven't done very much research as I can live without > egenix - but just wanted to let you know :) > > p.s. it's python-2.3.3. Thanks, -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 11 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From harrelson at gmail.com Thu Sep 30 17:48:13 2004 From: harrelson at gmail.com (Culley Harrelson) Date: Thu Jan 19 08:04:46 2006 Subject: [egenix-users] OS X 10.3.5: *** You don't have the (right) mxDateTime binaries installed ! Message-ID: <529825a30409301648507c0cf8@mail.gmail.com> I have successfully installed mxDateTime on my OS X 10.3.5 system, using the system Python installation. It installed but as soon as I try to import the module I get: === *** You don't have the (right) mxDateTime binaries installed ! Traceback (most recent call last): File "./testFeDb.py", line 4, in ? from mx import DateTime File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/__init__.py", line 8, in ? from DateTime import * File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/DateTime.py", line 9, in ? from mxDateTime import * File "/Library/Python/2.3/mx/DateTime/mxDateTime/__init__.py", line 13, in ? raise ImportError, why ImportError: Failure linking new module: : dyld: python Undefined symbols: /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyArg_ParseTuple expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCObject_FromVoidPtr expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCallable_Check expected to be defined in the executable /Library/Python/2.3/mx/Date === Has anyone experienced this? Any ideas how to fix it? culley From hanser at club-internet.fr Sat Sep 4 17:13:26 2004 From: hanser at club-internet.fr (Pierre Hanser) Date: Thu Jan 19 12:01:03 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 Message-ID: <4139CD86.6020403@club-internet.fr> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 hello seems that python2.4a3 is not compatible with the optimizations in mx/DateTime/mxDateTime/mxDateTime.c on Linux: from mx import DateTime -> core dump if I disable the optims, everything gets ok /* Define these to have the module use free lists (saves malloc calls) */ #define MXDATETIME_FREELIST #define MXDATETIMEDELTA_FREELIST #undef MXDATETIME_FREELIST #undef MXDATETIMEDELTA_FREELIST - -- Pierre -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBOc2GMQ2/jYUwmmwRAn70AJ4puAZm4p10+KTCK/GzLt20VzWd3ACfQzIo H8hLxq8iCE3KGYZ6AR5QUy8= =GA8t -----END PGP SIGNATURE----- From mal at egenix.com Sun Sep 5 19:53:02 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Thu Jan 19 12:01:03 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 In-Reply-To: <4139CD86.6020403@club-internet.fr> References: <4139CD86.6020403@club-internet.fr> Message-ID: <413B446E.40002@egenix.com> Pierre Hanser wrote: > hello > > seems that python2.4a3 is not compatible with the optimizations in > mx/DateTime/mxDateTime/mxDateTime.c on Linux: > > from mx import DateTime -> core dump > > if I disable the optims, everything gets ok > > /* Define these to have the module use free lists (saves malloc calls) */ > #define MXDATETIME_FREELIST > #define MXDATETIMEDELTA_FREELIST > #undef MXDATETIME_FREELIST > #undef MXDATETIMEDELTA_FREELIST This is more likely due to a bug in your C compiler. -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 05 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From aluton at rcseng.ac.uk Wed Sep 8 12:33:02 2004 From: aluton at rcseng.ac.uk (Alex Luton) Date: Thu Jan 19 12:01:03 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: References: Message-ID: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Hi, I'm trying to get the mxODBC DA working, but the product is broken with this error message: Traceback (most recent call last): File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product product=__import__(pname, global_dict, global_dict, silly) File "Products/mxODBCZopeDA/__init__.py", line 7, in ? File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? Any help would be much appreciated. Thanks -- Alex ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 From mal at egenix.com Wed Sep 8 13:37:44 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Thu Jan 19 12:01:03 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> References: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Message-ID: <413EE0F8.6050601@egenix.com> Alex Luton wrote: > Hi, > > I'm trying to get the mxODBC DA working, but the product is broken with > this error message: > > Traceback (most recent call last): > File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product > product=__import__(pname, global_dict, global_dict, silly) > File "Products/mxODBCZopeDA/__init__.py", line 7, in ? > File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? > ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString > > I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? RedHat chose to build Python with 4-byte Unicode which is causing all sorts of problems with pre-built extensions. We will start shipping UCS4 builds of the Zope DA with the next release. Until then, you can try the pre-release of 1.0.9: http://www.egenix.com/files/python/egenix-mxodbc-zopeda-1.0.9.linux-i686-py2.3ucs4.zip -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 08 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From kl at vsen.dk Sat Sep 11 20:21:57 2004 From: kl at vsen.dk (Klavs Klavsen) Date: Thu Jan 19 12:01:03 2006 Subject: [egenix-users] bufferoverflow in egenix? Message-ID: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Hi guys, Just installed a new gcc with stack-smashing protection - and while recompiling modules with stack-smashing protection, I got this message: -- copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l ib/python2.3/site-packages/mx/Misc copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ python2.3/site-packages/mx/Misc writing byte-compilation script '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: SyntaxWarning: name 'debugging' is use d prior to global declaration python: stack smashing attack in function symtable_node() error: command '/usr/bin/python' terminated by signal 6 !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. !!! Function distutils_src_install, Line 43, Exitcode 1 !!! (no error message) so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes one in python) - I haven't done very much research as I can live without egenix - but just wanted to let you know :) p.s. it's python-2.3.3. -- Regards, Klavs Klavsen, GSEC - kl@vsen.dk - http://www.vsen.dk PGP: 7E063C62/2873 188C 968E 600D D8F8 B8DA 3D3A 0B79 7E06 3C62 "Those who do not understand Unix are condemned to reinvent it, poorly." --Henry Spencer From mal at egenix.com Sat Sep 11 23:51:30 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Thu Jan 19 12:01:03 2006 Subject: [egenix-users] bufferoverflow in egenix? In-Reply-To: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> References: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Message-ID: <41436552.6000906@egenix.com> Klavs Klavsen wrote: > Hi guys, > > Just installed a new gcc with stack-smashing protection - and while > recompiling modules with stack-smashing protection, I got this message: > -- > copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l > ib/python2.3/site-packages/mx/Misc > copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ > python2.3/site-packages/mx/Misc > writing byte-compilation script > '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' > /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py > usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: > SyntaxWarning: name 'debugging' is use > d prior to global declaration This is an error that the Python compiler generated. I'd suggest you report to the Python bug tracker. BTW, pytag.py is no longer used or maintained, so you can safely delete it. > python: stack smashing attack in function symtable_node() > error: command '/usr/bin/python' terminated by signal 6 > > !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. > !!! Function distutils_src_install, Line 43, Exitcode 1 > !!! (no error message) > > so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes > one in python) - I haven't done very much research as I can live without > egenix - but just wanted to let you know :) > > p.s. it's python-2.3.3. Thanks, -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 11 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From harrelson at gmail.com Thu Sep 30 17:48:13 2004 From: harrelson at gmail.com (Culley Harrelson) Date: Thu Jan 19 12:01:03 2006 Subject: [egenix-users] OS X 10.3.5: *** You don't have the (right) mxDateTime binaries installed ! Message-ID: <529825a30409301648507c0cf8@mail.gmail.com> I have successfully installed mxDateTime on my OS X 10.3.5 system, using the system Python installation. It installed but as soon as I try to import the module I get: === *** You don't have the (right) mxDateTime binaries installed ! Traceback (most recent call last): File "./testFeDb.py", line 4, in ? from mx import DateTime File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/__init__.py", line 8, in ? from DateTime import * File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/DateTime.py", line 9, in ? from mxDateTime import * File "/Library/Python/2.3/mx/DateTime/mxDateTime/__init__.py", line 13, in ? raise ImportError, why ImportError: Failure linking new module: : dyld: python Undefined symbols: /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyArg_ParseTuple expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCObject_FromVoidPtr expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCallable_Check expected to be defined in the executable /Library/Python/2.3/mx/Date === Has anyone experienced this? Any ideas how to fix it? culley From hanser at club-internet.fr Sat Sep 4 17:13:26 2004 From: hanser at club-internet.fr (Pierre Hanser) Date: Thu Jan 19 16:03:12 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 Message-ID: <4139CD86.6020403@club-internet.fr> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 hello seems that python2.4a3 is not compatible with the optimizations in mx/DateTime/mxDateTime/mxDateTime.c on Linux: from mx import DateTime -> core dump if I disable the optims, everything gets ok /* Define these to have the module use free lists (saves malloc calls) */ #define MXDATETIME_FREELIST #define MXDATETIMEDELTA_FREELIST #undef MXDATETIME_FREELIST #undef MXDATETIMEDELTA_FREELIST - -- Pierre -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBOc2GMQ2/jYUwmmwRAn70AJ4puAZm4p10+KTCK/GzLt20VzWd3ACfQzIo H8hLxq8iCE3KGYZ6AR5QUy8= =GA8t -----END PGP SIGNATURE----- From mal at egenix.com Sun Sep 5 19:53:02 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Thu Jan 19 16:03:12 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 In-Reply-To: <4139CD86.6020403@club-internet.fr> References: <4139CD86.6020403@club-internet.fr> Message-ID: <413B446E.40002@egenix.com> Pierre Hanser wrote: > hello > > seems that python2.4a3 is not compatible with the optimizations in > mx/DateTime/mxDateTime/mxDateTime.c on Linux: > > from mx import DateTime -> core dump > > if I disable the optims, everything gets ok > > /* Define these to have the module use free lists (saves malloc calls) */ > #define MXDATETIME_FREELIST > #define MXDATETIMEDELTA_FREELIST > #undef MXDATETIME_FREELIST > #undef MXDATETIMEDELTA_FREELIST This is more likely due to a bug in your C compiler. -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 05 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From aluton at rcseng.ac.uk Wed Sep 8 12:33:02 2004 From: aluton at rcseng.ac.uk (Alex Luton) Date: Thu Jan 19 16:03:13 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: References: Message-ID: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Hi, I'm trying to get the mxODBC DA working, but the product is broken with this error message: Traceback (most recent call last): File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product product=__import__(pname, global_dict, global_dict, silly) File "Products/mxODBCZopeDA/__init__.py", line 7, in ? File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? Any help would be much appreciated. Thanks -- Alex ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 From mal at egenix.com Wed Sep 8 13:37:44 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Thu Jan 19 16:03:13 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> References: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Message-ID: <413EE0F8.6050601@egenix.com> Alex Luton wrote: > Hi, > > I'm trying to get the mxODBC DA working, but the product is broken with > this error message: > > Traceback (most recent call last): > File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product > product=__import__(pname, global_dict, global_dict, silly) > File "Products/mxODBCZopeDA/__init__.py", line 7, in ? > File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? > ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString > > I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? RedHat chose to build Python with 4-byte Unicode which is causing all sorts of problems with pre-built extensions. We will start shipping UCS4 builds of the Zope DA with the next release. Until then, you can try the pre-release of 1.0.9: http://www.egenix.com/files/python/egenix-mxodbc-zopeda-1.0.9.linux-i686-py2.3ucs4.zip -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 08 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From kl at vsen.dk Sat Sep 11 20:21:57 2004 From: kl at vsen.dk (Klavs Klavsen) Date: Thu Jan 19 16:03:13 2006 Subject: [egenix-users] bufferoverflow in egenix? Message-ID: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Hi guys, Just installed a new gcc with stack-smashing protection - and while recompiling modules with stack-smashing protection, I got this message: -- copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l ib/python2.3/site-packages/mx/Misc copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ python2.3/site-packages/mx/Misc writing byte-compilation script '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: SyntaxWarning: name 'debugging' is use d prior to global declaration python: stack smashing attack in function symtable_node() error: command '/usr/bin/python' terminated by signal 6 !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. !!! Function distutils_src_install, Line 43, Exitcode 1 !!! (no error message) so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes one in python) - I haven't done very much research as I can live without egenix - but just wanted to let you know :) p.s. it's python-2.3.3. -- Regards, Klavs Klavsen, GSEC - kl@vsen.dk - http://www.vsen.dk PGP: 7E063C62/2873 188C 968E 600D D8F8 B8DA 3D3A 0B79 7E06 3C62 "Those who do not understand Unix are condemned to reinvent it, poorly." --Henry Spencer From mal at egenix.com Sat Sep 11 23:51:30 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Thu Jan 19 16:03:13 2006 Subject: [egenix-users] bufferoverflow in egenix? In-Reply-To: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> References: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Message-ID: <41436552.6000906@egenix.com> Klavs Klavsen wrote: > Hi guys, > > Just installed a new gcc with stack-smashing protection - and while > recompiling modules with stack-smashing protection, I got this message: > -- > copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l > ib/python2.3/site-packages/mx/Misc > copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ > python2.3/site-packages/mx/Misc > writing byte-compilation script > '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' > /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py > usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: > SyntaxWarning: name 'debugging' is use > d prior to global declaration This is an error that the Python compiler generated. I'd suggest you report to the Python bug tracker. BTW, pytag.py is no longer used or maintained, so you can safely delete it. > python: stack smashing attack in function symtable_node() > error: command '/usr/bin/python' terminated by signal 6 > > !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. > !!! Function distutils_src_install, Line 43, Exitcode 1 > !!! (no error message) > > so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes > one in python) - I haven't done very much research as I can live without > egenix - but just wanted to let you know :) > > p.s. it's python-2.3.3. Thanks, -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 11 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From harrelson at gmail.com Thu Sep 30 17:48:13 2004 From: harrelson at gmail.com (Culley Harrelson) Date: Thu Jan 19 16:03:13 2006 Subject: [egenix-users] OS X 10.3.5: *** You don't have the (right) mxDateTime binaries installed ! Message-ID: <529825a30409301648507c0cf8@mail.gmail.com> I have successfully installed mxDateTime on my OS X 10.3.5 system, using the system Python installation. It installed but as soon as I try to import the module I get: === *** You don't have the (right) mxDateTime binaries installed ! Traceback (most recent call last): File "./testFeDb.py", line 4, in ? from mx import DateTime File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/__init__.py", line 8, in ? from DateTime import * File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/DateTime.py", line 9, in ? from mxDateTime import * File "/Library/Python/2.3/mx/DateTime/mxDateTime/__init__.py", line 13, in ? raise ImportError, why ImportError: Failure linking new module: : dyld: python Undefined symbols: /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyArg_ParseTuple expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCObject_FromVoidPtr expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCallable_Check expected to be defined in the executable /Library/Python/2.3/mx/Date === Has anyone experienced this? Any ideas how to fix it? culley From hanser at club-internet.fr Sat Sep 4 17:13:26 2004 From: hanser at club-internet.fr (Pierre Hanser) Date: Thu Jan 19 20:00:52 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 Message-ID: <4139CD86.6020403@club-internet.fr> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 hello seems that python2.4a3 is not compatible with the optimizations in mx/DateTime/mxDateTime/mxDateTime.c on Linux: from mx import DateTime -> core dump if I disable the optims, everything gets ok /* Define these to have the module use free lists (saves malloc calls) */ #define MXDATETIME_FREELIST #define MXDATETIMEDELTA_FREELIST #undef MXDATETIME_FREELIST #undef MXDATETIMEDELTA_FREELIST - -- Pierre -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBOc2GMQ2/jYUwmmwRAn70AJ4puAZm4p10+KTCK/GzLt20VzWd3ACfQzIo H8hLxq8iCE3KGYZ6AR5QUy8= =GA8t -----END PGP SIGNATURE----- From mal at egenix.com Sun Sep 5 19:53:02 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Thu Jan 19 20:00:52 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 In-Reply-To: <4139CD86.6020403@club-internet.fr> References: <4139CD86.6020403@club-internet.fr> Message-ID: <413B446E.40002@egenix.com> Pierre Hanser wrote: > hello > > seems that python2.4a3 is not compatible with the optimizations in > mx/DateTime/mxDateTime/mxDateTime.c on Linux: > > from mx import DateTime -> core dump > > if I disable the optims, everything gets ok > > /* Define these to have the module use free lists (saves malloc calls) */ > #define MXDATETIME_FREELIST > #define MXDATETIMEDELTA_FREELIST > #undef MXDATETIME_FREELIST > #undef MXDATETIMEDELTA_FREELIST This is more likely due to a bug in your C compiler. -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 05 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From aluton at rcseng.ac.uk Wed Sep 8 12:33:02 2004 From: aluton at rcseng.ac.uk (Alex Luton) Date: Thu Jan 19 20:00:52 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: References: Message-ID: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Hi, I'm trying to get the mxODBC DA working, but the product is broken with this error message: Traceback (most recent call last): File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product product=__import__(pname, global_dict, global_dict, silly) File "Products/mxODBCZopeDA/__init__.py", line 7, in ? File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? Any help would be much appreciated. Thanks -- Alex ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 From mal at egenix.com Wed Sep 8 13:37:44 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Thu Jan 19 20:00:52 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> References: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Message-ID: <413EE0F8.6050601@egenix.com> Alex Luton wrote: > Hi, > > I'm trying to get the mxODBC DA working, but the product is broken with > this error message: > > Traceback (most recent call last): > File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product > product=__import__(pname, global_dict, global_dict, silly) > File "Products/mxODBCZopeDA/__init__.py", line 7, in ? > File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? > ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString > > I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? RedHat chose to build Python with 4-byte Unicode which is causing all sorts of problems with pre-built extensions. We will start shipping UCS4 builds of the Zope DA with the next release. Until then, you can try the pre-release of 1.0.9: http://www.egenix.com/files/python/egenix-mxodbc-zopeda-1.0.9.linux-i686-py2.3ucs4.zip -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 08 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From kl at vsen.dk Sat Sep 11 20:21:57 2004 From: kl at vsen.dk (Klavs Klavsen) Date: Thu Jan 19 20:00:52 2006 Subject: [egenix-users] bufferoverflow in egenix? Message-ID: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Hi guys, Just installed a new gcc with stack-smashing protection - and while recompiling modules with stack-smashing protection, I got this message: -- copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l ib/python2.3/site-packages/mx/Misc copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ python2.3/site-packages/mx/Misc writing byte-compilation script '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: SyntaxWarning: name 'debugging' is use d prior to global declaration python: stack smashing attack in function symtable_node() error: command '/usr/bin/python' terminated by signal 6 !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. !!! Function distutils_src_install, Line 43, Exitcode 1 !!! (no error message) so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes one in python) - I haven't done very much research as I can live without egenix - but just wanted to let you know :) p.s. it's python-2.3.3. -- Regards, Klavs Klavsen, GSEC - kl@vsen.dk - http://www.vsen.dk PGP: 7E063C62/2873 188C 968E 600D D8F8 B8DA 3D3A 0B79 7E06 3C62 "Those who do not understand Unix are condemned to reinvent it, poorly." --Henry Spencer From mal at egenix.com Sat Sep 11 23:51:30 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Thu Jan 19 20:00:52 2006 Subject: [egenix-users] bufferoverflow in egenix? In-Reply-To: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> References: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Message-ID: <41436552.6000906@egenix.com> Klavs Klavsen wrote: > Hi guys, > > Just installed a new gcc with stack-smashing protection - and while > recompiling modules with stack-smashing protection, I got this message: > -- > copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l > ib/python2.3/site-packages/mx/Misc > copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ > python2.3/site-packages/mx/Misc > writing byte-compilation script > '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' > /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py > usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: > SyntaxWarning: name 'debugging' is use > d prior to global declaration This is an error that the Python compiler generated. I'd suggest you report to the Python bug tracker. BTW, pytag.py is no longer used or maintained, so you can safely delete it. > python: stack smashing attack in function symtable_node() > error: command '/usr/bin/python' terminated by signal 6 > > !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. > !!! Function distutils_src_install, Line 43, Exitcode 1 > !!! (no error message) > > so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes > one in python) - I haven't done very much research as I can live without > egenix - but just wanted to let you know :) > > p.s. it's python-2.3.3. Thanks, -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 11 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From harrelson at gmail.com Thu Sep 30 17:48:13 2004 From: harrelson at gmail.com (Culley Harrelson) Date: Thu Jan 19 20:00:52 2006 Subject: [egenix-users] OS X 10.3.5: *** You don't have the (right) mxDateTime binaries installed ! Message-ID: <529825a30409301648507c0cf8@mail.gmail.com> I have successfully installed mxDateTime on my OS X 10.3.5 system, using the system Python installation. It installed but as soon as I try to import the module I get: === *** You don't have the (right) mxDateTime binaries installed ! Traceback (most recent call last): File "./testFeDb.py", line 4, in ? from mx import DateTime File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/__init__.py", line 8, in ? from DateTime import * File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/DateTime.py", line 9, in ? from mxDateTime import * File "/Library/Python/2.3/mx/DateTime/mxDateTime/__init__.py", line 13, in ? raise ImportError, why ImportError: Failure linking new module: : dyld: python Undefined symbols: /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyArg_ParseTuple expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCObject_FromVoidPtr expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCallable_Check expected to be defined in the executable /Library/Python/2.3/mx/Date === Has anyone experienced this? Any ideas how to fix it? culley From hanser at club-internet.fr Sat Sep 4 17:13:26 2004 From: hanser at club-internet.fr (Pierre Hanser) Date: Fri Jan 20 08:07:23 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 Message-ID: <4139CD86.6020403@club-internet.fr> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 hello seems that python2.4a3 is not compatible with the optimizations in mx/DateTime/mxDateTime/mxDateTime.c on Linux: from mx import DateTime -> core dump if I disable the optims, everything gets ok /* Define these to have the module use free lists (saves malloc calls) */ #define MXDATETIME_FREELIST #define MXDATETIMEDELTA_FREELIST #undef MXDATETIME_FREELIST #undef MXDATETIMEDELTA_FREELIST - -- Pierre -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBOc2GMQ2/jYUwmmwRAn70AJ4puAZm4p10+KTCK/GzLt20VzWd3ACfQzIo H8hLxq8iCE3KGYZ6AR5QUy8= =GA8t -----END PGP SIGNATURE----- From mal at egenix.com Sun Sep 5 19:53:02 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Fri Jan 20 08:07:25 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 In-Reply-To: <4139CD86.6020403@club-internet.fr> References: <4139CD86.6020403@club-internet.fr> Message-ID: <413B446E.40002@egenix.com> Pierre Hanser wrote: > hello > > seems that python2.4a3 is not compatible with the optimizations in > mx/DateTime/mxDateTime/mxDateTime.c on Linux: > > from mx import DateTime -> core dump > > if I disable the optims, everything gets ok > > /* Define these to have the module use free lists (saves malloc calls) */ > #define MXDATETIME_FREELIST > #define MXDATETIMEDELTA_FREELIST > #undef MXDATETIME_FREELIST > #undef MXDATETIMEDELTA_FREELIST This is more likely due to a bug in your C compiler. -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 05 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From aluton at rcseng.ac.uk Wed Sep 8 12:33:02 2004 From: aluton at rcseng.ac.uk (Alex Luton) Date: Fri Jan 20 08:07:25 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: References: Message-ID: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Hi, I'm trying to get the mxODBC DA working, but the product is broken with this error message: Traceback (most recent call last): File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product product=__import__(pname, global_dict, global_dict, silly) File "Products/mxODBCZopeDA/__init__.py", line 7, in ? File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? Any help would be much appreciated. Thanks -- Alex ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 From mal at egenix.com Wed Sep 8 13:37:44 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Fri Jan 20 08:07:25 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> References: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Message-ID: <413EE0F8.6050601@egenix.com> Alex Luton wrote: > Hi, > > I'm trying to get the mxODBC DA working, but the product is broken with > this error message: > > Traceback (most recent call last): > File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product > product=__import__(pname, global_dict, global_dict, silly) > File "Products/mxODBCZopeDA/__init__.py", line 7, in ? > File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? > ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString > > I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? RedHat chose to build Python with 4-byte Unicode which is causing all sorts of problems with pre-built extensions. We will start shipping UCS4 builds of the Zope DA with the next release. Until then, you can try the pre-release of 1.0.9: http://www.egenix.com/files/python/egenix-mxodbc-zopeda-1.0.9.linux-i686-py2.3ucs4.zip -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 08 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From kl at vsen.dk Sat Sep 11 20:21:57 2004 From: kl at vsen.dk (Klavs Klavsen) Date: Fri Jan 20 08:07:25 2006 Subject: [egenix-users] bufferoverflow in egenix? Message-ID: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Hi guys, Just installed a new gcc with stack-smashing protection - and while recompiling modules with stack-smashing protection, I got this message: -- copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l ib/python2.3/site-packages/mx/Misc copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ python2.3/site-packages/mx/Misc writing byte-compilation script '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: SyntaxWarning: name 'debugging' is use d prior to global declaration python: stack smashing attack in function symtable_node() error: command '/usr/bin/python' terminated by signal 6 !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. !!! Function distutils_src_install, Line 43, Exitcode 1 !!! (no error message) so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes one in python) - I haven't done very much research as I can live without egenix - but just wanted to let you know :) p.s. it's python-2.3.3. -- Regards, Klavs Klavsen, GSEC - kl@vsen.dk - http://www.vsen.dk PGP: 7E063C62/2873 188C 968E 600D D8F8 B8DA 3D3A 0B79 7E06 3C62 "Those who do not understand Unix are condemned to reinvent it, poorly." --Henry Spencer From mal at egenix.com Sat Sep 11 23:51:30 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Fri Jan 20 08:07:25 2006 Subject: [egenix-users] bufferoverflow in egenix? In-Reply-To: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> References: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Message-ID: <41436552.6000906@egenix.com> Klavs Klavsen wrote: > Hi guys, > > Just installed a new gcc with stack-smashing protection - and while > recompiling modules with stack-smashing protection, I got this message: > -- > copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l > ib/python2.3/site-packages/mx/Misc > copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ > python2.3/site-packages/mx/Misc > writing byte-compilation script > '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' > /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py > usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: > SyntaxWarning: name 'debugging' is use > d prior to global declaration This is an error that the Python compiler generated. I'd suggest you report to the Python bug tracker. BTW, pytag.py is no longer used or maintained, so you can safely delete it. > python: stack smashing attack in function symtable_node() > error: command '/usr/bin/python' terminated by signal 6 > > !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. > !!! Function distutils_src_install, Line 43, Exitcode 1 > !!! (no error message) > > so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes > one in python) - I haven't done very much research as I can live without > egenix - but just wanted to let you know :) > > p.s. it's python-2.3.3. Thanks, -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 11 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From harrelson at gmail.com Thu Sep 30 17:48:13 2004 From: harrelson at gmail.com (Culley Harrelson) Date: Fri Jan 20 08:07:25 2006 Subject: [egenix-users] OS X 10.3.5: *** You don't have the (right) mxDateTime binaries installed ! Message-ID: <529825a30409301648507c0cf8@mail.gmail.com> I have successfully installed mxDateTime on my OS X 10.3.5 system, using the system Python installation. It installed but as soon as I try to import the module I get: === *** You don't have the (right) mxDateTime binaries installed ! Traceback (most recent call last): File "./testFeDb.py", line 4, in ? from mx import DateTime File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/__init__.py", line 8, in ? from DateTime import * File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/DateTime.py", line 9, in ? from mxDateTime import * File "/Library/Python/2.3/mx/DateTime/mxDateTime/__init__.py", line 13, in ? raise ImportError, why ImportError: Failure linking new module: : dyld: python Undefined symbols: /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyArg_ParseTuple expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCObject_FromVoidPtr expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCallable_Check expected to be defined in the executable /Library/Python/2.3/mx/Date === Has anyone experienced this? Any ideas how to fix it? culley From hanser at club-internet.fr Sat Sep 4 17:13:26 2004 From: hanser at club-internet.fr (Pierre Hanser) Date: Fri Jan 20 12:02:12 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 Message-ID: <4139CD86.6020403@club-internet.fr> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 hello seems that python2.4a3 is not compatible with the optimizations in mx/DateTime/mxDateTime/mxDateTime.c on Linux: from mx import DateTime -> core dump if I disable the optims, everything gets ok /* Define these to have the module use free lists (saves malloc calls) */ #define MXDATETIME_FREELIST #define MXDATETIMEDELTA_FREELIST #undef MXDATETIME_FREELIST #undef MXDATETIMEDELTA_FREELIST - -- Pierre -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBOc2GMQ2/jYUwmmwRAn70AJ4puAZm4p10+KTCK/GzLt20VzWd3ACfQzIo H8hLxq8iCE3KGYZ6AR5QUy8= =GA8t -----END PGP SIGNATURE----- From mal at egenix.com Sun Sep 5 19:53:02 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Fri Jan 20 12:02:12 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 In-Reply-To: <4139CD86.6020403@club-internet.fr> References: <4139CD86.6020403@club-internet.fr> Message-ID: <413B446E.40002@egenix.com> Pierre Hanser wrote: > hello > > seems that python2.4a3 is not compatible with the optimizations in > mx/DateTime/mxDateTime/mxDateTime.c on Linux: > > from mx import DateTime -> core dump > > if I disable the optims, everything gets ok > > /* Define these to have the module use free lists (saves malloc calls) */ > #define MXDATETIME_FREELIST > #define MXDATETIMEDELTA_FREELIST > #undef MXDATETIME_FREELIST > #undef MXDATETIMEDELTA_FREELIST This is more likely due to a bug in your C compiler. -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 05 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From aluton at rcseng.ac.uk Wed Sep 8 12:33:02 2004 From: aluton at rcseng.ac.uk (Alex Luton) Date: Fri Jan 20 12:02:12 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: References: Message-ID: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Hi, I'm trying to get the mxODBC DA working, but the product is broken with this error message: Traceback (most recent call last): File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product product=__import__(pname, global_dict, global_dict, silly) File "Products/mxODBCZopeDA/__init__.py", line 7, in ? File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? Any help would be much appreciated. Thanks -- Alex ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 From mal at egenix.com Wed Sep 8 13:37:44 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Fri Jan 20 12:02:12 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> References: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Message-ID: <413EE0F8.6050601@egenix.com> Alex Luton wrote: > Hi, > > I'm trying to get the mxODBC DA working, but the product is broken with > this error message: > > Traceback (most recent call last): > File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product > product=__import__(pname, global_dict, global_dict, silly) > File "Products/mxODBCZopeDA/__init__.py", line 7, in ? > File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? > ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString > > I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? RedHat chose to build Python with 4-byte Unicode which is causing all sorts of problems with pre-built extensions. We will start shipping UCS4 builds of the Zope DA with the next release. Until then, you can try the pre-release of 1.0.9: http://www.egenix.com/files/python/egenix-mxodbc-zopeda-1.0.9.linux-i686-py2.3ucs4.zip -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 08 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From kl at vsen.dk Sat Sep 11 20:21:57 2004 From: kl at vsen.dk (Klavs Klavsen) Date: Fri Jan 20 12:02:12 2006 Subject: [egenix-users] bufferoverflow in egenix? Message-ID: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Hi guys, Just installed a new gcc with stack-smashing protection - and while recompiling modules with stack-smashing protection, I got this message: -- copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l ib/python2.3/site-packages/mx/Misc copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ python2.3/site-packages/mx/Misc writing byte-compilation script '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: SyntaxWarning: name 'debugging' is use d prior to global declaration python: stack smashing attack in function symtable_node() error: command '/usr/bin/python' terminated by signal 6 !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. !!! Function distutils_src_install, Line 43, Exitcode 1 !!! (no error message) so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes one in python) - I haven't done very much research as I can live without egenix - but just wanted to let you know :) p.s. it's python-2.3.3. -- Regards, Klavs Klavsen, GSEC - kl@vsen.dk - http://www.vsen.dk PGP: 7E063C62/2873 188C 968E 600D D8F8 B8DA 3D3A 0B79 7E06 3C62 "Those who do not understand Unix are condemned to reinvent it, poorly." --Henry Spencer From mal at egenix.com Sat Sep 11 23:51:30 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Fri Jan 20 12:02:12 2006 Subject: [egenix-users] bufferoverflow in egenix? In-Reply-To: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> References: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Message-ID: <41436552.6000906@egenix.com> Klavs Klavsen wrote: > Hi guys, > > Just installed a new gcc with stack-smashing protection - and while > recompiling modules with stack-smashing protection, I got this message: > -- > copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l > ib/python2.3/site-packages/mx/Misc > copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ > python2.3/site-packages/mx/Misc > writing byte-compilation script > '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' > /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py > usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: > SyntaxWarning: name 'debugging' is use > d prior to global declaration This is an error that the Python compiler generated. I'd suggest you report to the Python bug tracker. BTW, pytag.py is no longer used or maintained, so you can safely delete it. > python: stack smashing attack in function symtable_node() > error: command '/usr/bin/python' terminated by signal 6 > > !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. > !!! Function distutils_src_install, Line 43, Exitcode 1 > !!! (no error message) > > so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes > one in python) - I haven't done very much research as I can live without > egenix - but just wanted to let you know :) > > p.s. it's python-2.3.3. Thanks, -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 11 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From harrelson at gmail.com Thu Sep 30 17:48:13 2004 From: harrelson at gmail.com (Culley Harrelson) Date: Fri Jan 20 12:02:12 2006 Subject: [egenix-users] OS X 10.3.5: *** You don't have the (right) mxDateTime binaries installed ! Message-ID: <529825a30409301648507c0cf8@mail.gmail.com> I have successfully installed mxDateTime on my OS X 10.3.5 system, using the system Python installation. It installed but as soon as I try to import the module I get: === *** You don't have the (right) mxDateTime binaries installed ! Traceback (most recent call last): File "./testFeDb.py", line 4, in ? from mx import DateTime File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/__init__.py", line 8, in ? from DateTime import * File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/DateTime.py", line 9, in ? from mxDateTime import * File "/Library/Python/2.3/mx/DateTime/mxDateTime/__init__.py", line 13, in ? raise ImportError, why ImportError: Failure linking new module: : dyld: python Undefined symbols: /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyArg_ParseTuple expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCObject_FromVoidPtr expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCallable_Check expected to be defined in the executable /Library/Python/2.3/mx/Date === Has anyone experienced this? Any ideas how to fix it? culley From hanser at club-internet.fr Sat Sep 4 17:13:26 2004 From: hanser at club-internet.fr (Pierre Hanser) Date: Fri Jan 20 16:00:56 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 Message-ID: <4139CD86.6020403@club-internet.fr> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 hello seems that python2.4a3 is not compatible with the optimizations in mx/DateTime/mxDateTime/mxDateTime.c on Linux: from mx import DateTime -> core dump if I disable the optims, everything gets ok /* Define these to have the module use free lists (saves malloc calls) */ #define MXDATETIME_FREELIST #define MXDATETIMEDELTA_FREELIST #undef MXDATETIME_FREELIST #undef MXDATETIMEDELTA_FREELIST - -- Pierre -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBOc2GMQ2/jYUwmmwRAn70AJ4puAZm4p10+KTCK/GzLt20VzWd3ACfQzIo H8hLxq8iCE3KGYZ6AR5QUy8= =GA8t -----END PGP SIGNATURE----- From mal at egenix.com Sun Sep 5 19:53:02 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Fri Jan 20 16:00:56 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 In-Reply-To: <4139CD86.6020403@club-internet.fr> References: <4139CD86.6020403@club-internet.fr> Message-ID: <413B446E.40002@egenix.com> Pierre Hanser wrote: > hello > > seems that python2.4a3 is not compatible with the optimizations in > mx/DateTime/mxDateTime/mxDateTime.c on Linux: > > from mx import DateTime -> core dump > > if I disable the optims, everything gets ok > > /* Define these to have the module use free lists (saves malloc calls) */ > #define MXDATETIME_FREELIST > #define MXDATETIMEDELTA_FREELIST > #undef MXDATETIME_FREELIST > #undef MXDATETIMEDELTA_FREELIST This is more likely due to a bug in your C compiler. -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 05 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From aluton at rcseng.ac.uk Wed Sep 8 12:33:02 2004 From: aluton at rcseng.ac.uk (Alex Luton) Date: Fri Jan 20 16:00:56 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: References: Message-ID: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Hi, I'm trying to get the mxODBC DA working, but the product is broken with this error message: Traceback (most recent call last): File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product product=__import__(pname, global_dict, global_dict, silly) File "Products/mxODBCZopeDA/__init__.py", line 7, in ? File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? Any help would be much appreciated. Thanks -- Alex ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 From mal at egenix.com Wed Sep 8 13:37:44 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Fri Jan 20 16:00:56 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> References: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Message-ID: <413EE0F8.6050601@egenix.com> Alex Luton wrote: > Hi, > > I'm trying to get the mxODBC DA working, but the product is broken with > this error message: > > Traceback (most recent call last): > File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product > product=__import__(pname, global_dict, global_dict, silly) > File "Products/mxODBCZopeDA/__init__.py", line 7, in ? > File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? > ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString > > I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? RedHat chose to build Python with 4-byte Unicode which is causing all sorts of problems with pre-built extensions. We will start shipping UCS4 builds of the Zope DA with the next release. Until then, you can try the pre-release of 1.0.9: http://www.egenix.com/files/python/egenix-mxodbc-zopeda-1.0.9.linux-i686-py2.3ucs4.zip -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 08 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From kl at vsen.dk Sat Sep 11 20:21:57 2004 From: kl at vsen.dk (Klavs Klavsen) Date: Fri Jan 20 16:00:56 2006 Subject: [egenix-users] bufferoverflow in egenix? Message-ID: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Hi guys, Just installed a new gcc with stack-smashing protection - and while recompiling modules with stack-smashing protection, I got this message: -- copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l ib/python2.3/site-packages/mx/Misc copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ python2.3/site-packages/mx/Misc writing byte-compilation script '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: SyntaxWarning: name 'debugging' is use d prior to global declaration python: stack smashing attack in function symtable_node() error: command '/usr/bin/python' terminated by signal 6 !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. !!! Function distutils_src_install, Line 43, Exitcode 1 !!! (no error message) so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes one in python) - I haven't done very much research as I can live without egenix - but just wanted to let you know :) p.s. it's python-2.3.3. -- Regards, Klavs Klavsen, GSEC - kl@vsen.dk - http://www.vsen.dk PGP: 7E063C62/2873 188C 968E 600D D8F8 B8DA 3D3A 0B79 7E06 3C62 "Those who do not understand Unix are condemned to reinvent it, poorly." --Henry Spencer From mal at egenix.com Sat Sep 11 23:51:30 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Fri Jan 20 16:00:56 2006 Subject: [egenix-users] bufferoverflow in egenix? In-Reply-To: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> References: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Message-ID: <41436552.6000906@egenix.com> Klavs Klavsen wrote: > Hi guys, > > Just installed a new gcc with stack-smashing protection - and while > recompiling modules with stack-smashing protection, I got this message: > -- > copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l > ib/python2.3/site-packages/mx/Misc > copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ > python2.3/site-packages/mx/Misc > writing byte-compilation script > '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' > /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py > usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: > SyntaxWarning: name 'debugging' is use > d prior to global declaration This is an error that the Python compiler generated. I'd suggest you report to the Python bug tracker. BTW, pytag.py is no longer used or maintained, so you can safely delete it. > python: stack smashing attack in function symtable_node() > error: command '/usr/bin/python' terminated by signal 6 > > !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. > !!! Function distutils_src_install, Line 43, Exitcode 1 > !!! (no error message) > > so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes > one in python) - I haven't done very much research as I can live without > egenix - but just wanted to let you know :) > > p.s. it's python-2.3.3. Thanks, -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 11 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From harrelson at gmail.com Thu Sep 30 17:48:13 2004 From: harrelson at gmail.com (Culley Harrelson) Date: Fri Jan 20 16:00:56 2006 Subject: [egenix-users] OS X 10.3.5: *** You don't have the (right) mxDateTime binaries installed ! Message-ID: <529825a30409301648507c0cf8@mail.gmail.com> I have successfully installed mxDateTime on my OS X 10.3.5 system, using the system Python installation. It installed but as soon as I try to import the module I get: === *** You don't have the (right) mxDateTime binaries installed ! Traceback (most recent call last): File "./testFeDb.py", line 4, in ? from mx import DateTime File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/__init__.py", line 8, in ? from DateTime import * File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/DateTime.py", line 9, in ? from mxDateTime import * File "/Library/Python/2.3/mx/DateTime/mxDateTime/__init__.py", line 13, in ? raise ImportError, why ImportError: Failure linking new module: : dyld: python Undefined symbols: /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyArg_ParseTuple expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCObject_FromVoidPtr expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCallable_Check expected to be defined in the executable /Library/Python/2.3/mx/Date === Has anyone experienced this? Any ideas how to fix it? culley From hanser at club-internet.fr Sat Sep 4 17:13:26 2004 From: hanser at club-internet.fr (Pierre Hanser) Date: Fri Jan 20 20:00:51 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 Message-ID: <4139CD86.6020403@club-internet.fr> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 hello seems that python2.4a3 is not compatible with the optimizations in mx/DateTime/mxDateTime/mxDateTime.c on Linux: from mx import DateTime -> core dump if I disable the optims, everything gets ok /* Define these to have the module use free lists (saves malloc calls) */ #define MXDATETIME_FREELIST #define MXDATETIMEDELTA_FREELIST #undef MXDATETIME_FREELIST #undef MXDATETIMEDELTA_FREELIST - -- Pierre -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBOc2GMQ2/jYUwmmwRAn70AJ4puAZm4p10+KTCK/GzLt20VzWd3ACfQzIo H8hLxq8iCE3KGYZ6AR5QUy8= =GA8t -----END PGP SIGNATURE----- From mal at egenix.com Sun Sep 5 19:53:02 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Fri Jan 20 20:00:51 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 In-Reply-To: <4139CD86.6020403@club-internet.fr> References: <4139CD86.6020403@club-internet.fr> Message-ID: <413B446E.40002@egenix.com> Pierre Hanser wrote: > hello > > seems that python2.4a3 is not compatible with the optimizations in > mx/DateTime/mxDateTime/mxDateTime.c on Linux: > > from mx import DateTime -> core dump > > if I disable the optims, everything gets ok > > /* Define these to have the module use free lists (saves malloc calls) */ > #define MXDATETIME_FREELIST > #define MXDATETIMEDELTA_FREELIST > #undef MXDATETIME_FREELIST > #undef MXDATETIMEDELTA_FREELIST This is more likely due to a bug in your C compiler. -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 05 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From aluton at rcseng.ac.uk Wed Sep 8 12:33:02 2004 From: aluton at rcseng.ac.uk (Alex Luton) Date: Fri Jan 20 20:00:51 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: References: Message-ID: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Hi, I'm trying to get the mxODBC DA working, but the product is broken with this error message: Traceback (most recent call last): File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product product=__import__(pname, global_dict, global_dict, silly) File "Products/mxODBCZopeDA/__init__.py", line 7, in ? File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? Any help would be much appreciated. Thanks -- Alex ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 From mal at egenix.com Wed Sep 8 13:37:44 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Fri Jan 20 20:00:51 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> References: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Message-ID: <413EE0F8.6050601@egenix.com> Alex Luton wrote: > Hi, > > I'm trying to get the mxODBC DA working, but the product is broken with > this error message: > > Traceback (most recent call last): > File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product > product=__import__(pname, global_dict, global_dict, silly) > File "Products/mxODBCZopeDA/__init__.py", line 7, in ? > File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? > ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString > > I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? RedHat chose to build Python with 4-byte Unicode which is causing all sorts of problems with pre-built extensions. We will start shipping UCS4 builds of the Zope DA with the next release. Until then, you can try the pre-release of 1.0.9: http://www.egenix.com/files/python/egenix-mxodbc-zopeda-1.0.9.linux-i686-py2.3ucs4.zip -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 08 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From kl at vsen.dk Sat Sep 11 20:21:57 2004 From: kl at vsen.dk (Klavs Klavsen) Date: Fri Jan 20 20:00:51 2006 Subject: [egenix-users] bufferoverflow in egenix? Message-ID: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Hi guys, Just installed a new gcc with stack-smashing protection - and while recompiling modules with stack-smashing protection, I got this message: -- copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l ib/python2.3/site-packages/mx/Misc copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ python2.3/site-packages/mx/Misc writing byte-compilation script '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: SyntaxWarning: name 'debugging' is use d prior to global declaration python: stack smashing attack in function symtable_node() error: command '/usr/bin/python' terminated by signal 6 !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. !!! Function distutils_src_install, Line 43, Exitcode 1 !!! (no error message) so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes one in python) - I haven't done very much research as I can live without egenix - but just wanted to let you know :) p.s. it's python-2.3.3. -- Regards, Klavs Klavsen, GSEC - kl@vsen.dk - http://www.vsen.dk PGP: 7E063C62/2873 188C 968E 600D D8F8 B8DA 3D3A 0B79 7E06 3C62 "Those who do not understand Unix are condemned to reinvent it, poorly." --Henry Spencer From mal at egenix.com Sat Sep 11 23:51:30 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Fri Jan 20 20:00:51 2006 Subject: [egenix-users] bufferoverflow in egenix? In-Reply-To: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> References: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Message-ID: <41436552.6000906@egenix.com> Klavs Klavsen wrote: > Hi guys, > > Just installed a new gcc with stack-smashing protection - and while > recompiling modules with stack-smashing protection, I got this message: > -- > copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l > ib/python2.3/site-packages/mx/Misc > copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ > python2.3/site-packages/mx/Misc > writing byte-compilation script > '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' > /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py > usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: > SyntaxWarning: name 'debugging' is use > d prior to global declaration This is an error that the Python compiler generated. I'd suggest you report to the Python bug tracker. BTW, pytag.py is no longer used or maintained, so you can safely delete it. > python: stack smashing attack in function symtable_node() > error: command '/usr/bin/python' terminated by signal 6 > > !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. > !!! Function distutils_src_install, Line 43, Exitcode 1 > !!! (no error message) > > so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes > one in python) - I haven't done very much research as I can live without > egenix - but just wanted to let you know :) > > p.s. it's python-2.3.3. Thanks, -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 11 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From harrelson at gmail.com Thu Sep 30 17:48:13 2004 From: harrelson at gmail.com (Culley Harrelson) Date: Fri Jan 20 20:00:51 2006 Subject: [egenix-users] OS X 10.3.5: *** You don't have the (right) mxDateTime binaries installed ! Message-ID: <529825a30409301648507c0cf8@mail.gmail.com> I have successfully installed mxDateTime on my OS X 10.3.5 system, using the system Python installation. It installed but as soon as I try to import the module I get: === *** You don't have the (right) mxDateTime binaries installed ! Traceback (most recent call last): File "./testFeDb.py", line 4, in ? from mx import DateTime File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/__init__.py", line 8, in ? from DateTime import * File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/DateTime.py", line 9, in ? from mxDateTime import * File "/Library/Python/2.3/mx/DateTime/mxDateTime/__init__.py", line 13, in ? raise ImportError, why ImportError: Failure linking new module: : dyld: python Undefined symbols: /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyArg_ParseTuple expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCObject_FromVoidPtr expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCallable_Check expected to be defined in the executable /Library/Python/2.3/mx/Date === Has anyone experienced this? Any ideas how to fix it? culley From hanser at club-internet.fr Sat Sep 4 17:13:26 2004 From: hanser at club-internet.fr (Pierre Hanser) Date: Sat Jan 21 08:04:00 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 Message-ID: <4139CD86.6020403@club-internet.fr> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 hello seems that python2.4a3 is not compatible with the optimizations in mx/DateTime/mxDateTime/mxDateTime.c on Linux: from mx import DateTime -> core dump if I disable the optims, everything gets ok /* Define these to have the module use free lists (saves malloc calls) */ #define MXDATETIME_FREELIST #define MXDATETIMEDELTA_FREELIST #undef MXDATETIME_FREELIST #undef MXDATETIMEDELTA_FREELIST - -- Pierre -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBOc2GMQ2/jYUwmmwRAn70AJ4puAZm4p10+KTCK/GzLt20VzWd3ACfQzIo H8hLxq8iCE3KGYZ6AR5QUy8= =GA8t -----END PGP SIGNATURE----- From mal at egenix.com Sun Sep 5 19:53:02 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Sat Jan 21 08:04:00 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 In-Reply-To: <4139CD86.6020403@club-internet.fr> References: <4139CD86.6020403@club-internet.fr> Message-ID: <413B446E.40002@egenix.com> Pierre Hanser wrote: > hello > > seems that python2.4a3 is not compatible with the optimizations in > mx/DateTime/mxDateTime/mxDateTime.c on Linux: > > from mx import DateTime -> core dump > > if I disable the optims, everything gets ok > > /* Define these to have the module use free lists (saves malloc calls) */ > #define MXDATETIME_FREELIST > #define MXDATETIMEDELTA_FREELIST > #undef MXDATETIME_FREELIST > #undef MXDATETIMEDELTA_FREELIST This is more likely due to a bug in your C compiler. -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 05 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From aluton at rcseng.ac.uk Wed Sep 8 12:33:02 2004 From: aluton at rcseng.ac.uk (Alex Luton) Date: Sat Jan 21 08:04:00 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: References: Message-ID: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Hi, I'm trying to get the mxODBC DA working, but the product is broken with this error message: Traceback (most recent call last): File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product product=__import__(pname, global_dict, global_dict, silly) File "Products/mxODBCZopeDA/__init__.py", line 7, in ? File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? Any help would be much appreciated. Thanks -- Alex ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 From mal at egenix.com Wed Sep 8 13:37:44 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Sat Jan 21 08:04:00 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> References: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Message-ID: <413EE0F8.6050601@egenix.com> Alex Luton wrote: > Hi, > > I'm trying to get the mxODBC DA working, but the product is broken with > this error message: > > Traceback (most recent call last): > File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product > product=__import__(pname, global_dict, global_dict, silly) > File "Products/mxODBCZopeDA/__init__.py", line 7, in ? > File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? > ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString > > I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? RedHat chose to build Python with 4-byte Unicode which is causing all sorts of problems with pre-built extensions. We will start shipping UCS4 builds of the Zope DA with the next release. Until then, you can try the pre-release of 1.0.9: http://www.egenix.com/files/python/egenix-mxodbc-zopeda-1.0.9.linux-i686-py2.3ucs4.zip -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 08 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From kl at vsen.dk Sat Sep 11 20:21:57 2004 From: kl at vsen.dk (Klavs Klavsen) Date: Sat Jan 21 08:04:00 2006 Subject: [egenix-users] bufferoverflow in egenix? Message-ID: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Hi guys, Just installed a new gcc with stack-smashing protection - and while recompiling modules with stack-smashing protection, I got this message: -- copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l ib/python2.3/site-packages/mx/Misc copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ python2.3/site-packages/mx/Misc writing byte-compilation script '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: SyntaxWarning: name 'debugging' is use d prior to global declaration python: stack smashing attack in function symtable_node() error: command '/usr/bin/python' terminated by signal 6 !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. !!! Function distutils_src_install, Line 43, Exitcode 1 !!! (no error message) so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes one in python) - I haven't done very much research as I can live without egenix - but just wanted to let you know :) p.s. it's python-2.3.3. -- Regards, Klavs Klavsen, GSEC - kl@vsen.dk - http://www.vsen.dk PGP: 7E063C62/2873 188C 968E 600D D8F8 B8DA 3D3A 0B79 7E06 3C62 "Those who do not understand Unix are condemned to reinvent it, poorly." --Henry Spencer From mal at egenix.com Sat Sep 11 23:51:30 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Sat Jan 21 08:04:00 2006 Subject: [egenix-users] bufferoverflow in egenix? In-Reply-To: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> References: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Message-ID: <41436552.6000906@egenix.com> Klavs Klavsen wrote: > Hi guys, > > Just installed a new gcc with stack-smashing protection - and while > recompiling modules with stack-smashing protection, I got this message: > -- > copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l > ib/python2.3/site-packages/mx/Misc > copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ > python2.3/site-packages/mx/Misc > writing byte-compilation script > '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' > /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py > usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: > SyntaxWarning: name 'debugging' is use > d prior to global declaration This is an error that the Python compiler generated. I'd suggest you report to the Python bug tracker. BTW, pytag.py is no longer used or maintained, so you can safely delete it. > python: stack smashing attack in function symtable_node() > error: command '/usr/bin/python' terminated by signal 6 > > !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. > !!! Function distutils_src_install, Line 43, Exitcode 1 > !!! (no error message) > > so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes > one in python) - I haven't done very much research as I can live without > egenix - but just wanted to let you know :) > > p.s. it's python-2.3.3. Thanks, -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 11 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From harrelson at gmail.com Thu Sep 30 17:48:13 2004 From: harrelson at gmail.com (Culley Harrelson) Date: Sat Jan 21 08:04:00 2006 Subject: [egenix-users] OS X 10.3.5: *** You don't have the (right) mxDateTime binaries installed ! Message-ID: <529825a30409301648507c0cf8@mail.gmail.com> I have successfully installed mxDateTime on my OS X 10.3.5 system, using the system Python installation. It installed but as soon as I try to import the module I get: === *** You don't have the (right) mxDateTime binaries installed ! Traceback (most recent call last): File "./testFeDb.py", line 4, in ? from mx import DateTime File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/__init__.py", line 8, in ? from DateTime import * File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/DateTime.py", line 9, in ? from mxDateTime import * File "/Library/Python/2.3/mx/DateTime/mxDateTime/__init__.py", line 13, in ? raise ImportError, why ImportError: Failure linking new module: : dyld: python Undefined symbols: /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyArg_ParseTuple expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCObject_FromVoidPtr expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCallable_Check expected to be defined in the executable /Library/Python/2.3/mx/Date === Has anyone experienced this? Any ideas how to fix it? culley From hanser at club-internet.fr Sat Sep 4 17:13:26 2004 From: hanser at club-internet.fr (Pierre Hanser) Date: Sat Jan 21 12:01:05 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 Message-ID: <4139CD86.6020403@club-internet.fr> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 hello seems that python2.4a3 is not compatible with the optimizations in mx/DateTime/mxDateTime/mxDateTime.c on Linux: from mx import DateTime -> core dump if I disable the optims, everything gets ok /* Define these to have the module use free lists (saves malloc calls) */ #define MXDATETIME_FREELIST #define MXDATETIMEDELTA_FREELIST #undef MXDATETIME_FREELIST #undef MXDATETIMEDELTA_FREELIST - -- Pierre -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBOc2GMQ2/jYUwmmwRAn70AJ4puAZm4p10+KTCK/GzLt20VzWd3ACfQzIo H8hLxq8iCE3KGYZ6AR5QUy8= =GA8t -----END PGP SIGNATURE----- From mal at egenix.com Sun Sep 5 19:53:02 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Sat Jan 21 12:01:05 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 In-Reply-To: <4139CD86.6020403@club-internet.fr> References: <4139CD86.6020403@club-internet.fr> Message-ID: <413B446E.40002@egenix.com> Pierre Hanser wrote: > hello > > seems that python2.4a3 is not compatible with the optimizations in > mx/DateTime/mxDateTime/mxDateTime.c on Linux: > > from mx import DateTime -> core dump > > if I disable the optims, everything gets ok > > /* Define these to have the module use free lists (saves malloc calls) */ > #define MXDATETIME_FREELIST > #define MXDATETIMEDELTA_FREELIST > #undef MXDATETIME_FREELIST > #undef MXDATETIMEDELTA_FREELIST This is more likely due to a bug in your C compiler. -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 05 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From aluton at rcseng.ac.uk Wed Sep 8 12:33:02 2004 From: aluton at rcseng.ac.uk (Alex Luton) Date: Sat Jan 21 12:01:05 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: References: Message-ID: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Hi, I'm trying to get the mxODBC DA working, but the product is broken with this error message: Traceback (most recent call last): File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product product=__import__(pname, global_dict, global_dict, silly) File "Products/mxODBCZopeDA/__init__.py", line 7, in ? File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? Any help would be much appreciated. Thanks -- Alex ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 From mal at egenix.com Wed Sep 8 13:37:44 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Sat Jan 21 12:01:05 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> References: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Message-ID: <413EE0F8.6050601@egenix.com> Alex Luton wrote: > Hi, > > I'm trying to get the mxODBC DA working, but the product is broken with > this error message: > > Traceback (most recent call last): > File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product > product=__import__(pname, global_dict, global_dict, silly) > File "Products/mxODBCZopeDA/__init__.py", line 7, in ? > File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? > ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString > > I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? RedHat chose to build Python with 4-byte Unicode which is causing all sorts of problems with pre-built extensions. We will start shipping UCS4 builds of the Zope DA with the next release. Until then, you can try the pre-release of 1.0.9: http://www.egenix.com/files/python/egenix-mxodbc-zopeda-1.0.9.linux-i686-py2.3ucs4.zip -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 08 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From kl at vsen.dk Sat Sep 11 20:21:57 2004 From: kl at vsen.dk (Klavs Klavsen) Date: Sat Jan 21 12:01:05 2006 Subject: [egenix-users] bufferoverflow in egenix? Message-ID: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Hi guys, Just installed a new gcc with stack-smashing protection - and while recompiling modules with stack-smashing protection, I got this message: -- copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l ib/python2.3/site-packages/mx/Misc copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ python2.3/site-packages/mx/Misc writing byte-compilation script '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: SyntaxWarning: name 'debugging' is use d prior to global declaration python: stack smashing attack in function symtable_node() error: command '/usr/bin/python' terminated by signal 6 !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. !!! Function distutils_src_install, Line 43, Exitcode 1 !!! (no error message) so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes one in python) - I haven't done very much research as I can live without egenix - but just wanted to let you know :) p.s. it's python-2.3.3. -- Regards, Klavs Klavsen, GSEC - kl@vsen.dk - http://www.vsen.dk PGP: 7E063C62/2873 188C 968E 600D D8F8 B8DA 3D3A 0B79 7E06 3C62 "Those who do not understand Unix are condemned to reinvent it, poorly." --Henry Spencer From mal at egenix.com Sat Sep 11 23:51:30 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Sat Jan 21 12:01:05 2006 Subject: [egenix-users] bufferoverflow in egenix? In-Reply-To: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> References: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Message-ID: <41436552.6000906@egenix.com> Klavs Klavsen wrote: > Hi guys, > > Just installed a new gcc with stack-smashing protection - and while > recompiling modules with stack-smashing protection, I got this message: > -- > copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l > ib/python2.3/site-packages/mx/Misc > copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ > python2.3/site-packages/mx/Misc > writing byte-compilation script > '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' > /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py > usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: > SyntaxWarning: name 'debugging' is use > d prior to global declaration This is an error that the Python compiler generated. I'd suggest you report to the Python bug tracker. BTW, pytag.py is no longer used or maintained, so you can safely delete it. > python: stack smashing attack in function symtable_node() > error: command '/usr/bin/python' terminated by signal 6 > > !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. > !!! Function distutils_src_install, Line 43, Exitcode 1 > !!! (no error message) > > so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes > one in python) - I haven't done very much research as I can live without > egenix - but just wanted to let you know :) > > p.s. it's python-2.3.3. Thanks, -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 11 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From harrelson at gmail.com Thu Sep 30 17:48:13 2004 From: harrelson at gmail.com (Culley Harrelson) Date: Sat Jan 21 12:01:05 2006 Subject: [egenix-users] OS X 10.3.5: *** You don't have the (right) mxDateTime binaries installed ! Message-ID: <529825a30409301648507c0cf8@mail.gmail.com> I have successfully installed mxDateTime on my OS X 10.3.5 system, using the system Python installation. It installed but as soon as I try to import the module I get: === *** You don't have the (right) mxDateTime binaries installed ! Traceback (most recent call last): File "./testFeDb.py", line 4, in ? from mx import DateTime File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/__init__.py", line 8, in ? from DateTime import * File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/DateTime.py", line 9, in ? from mxDateTime import * File "/Library/Python/2.3/mx/DateTime/mxDateTime/__init__.py", line 13, in ? raise ImportError, why ImportError: Failure linking new module: : dyld: python Undefined symbols: /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyArg_ParseTuple expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCObject_FromVoidPtr expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCallable_Check expected to be defined in the executable /Library/Python/2.3/mx/Date === Has anyone experienced this? Any ideas how to fix it? culley From hanser at club-internet.fr Sat Sep 4 17:13:26 2004 From: hanser at club-internet.fr (Pierre Hanser) Date: Sat Jan 21 16:00:55 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 Message-ID: <4139CD86.6020403@club-internet.fr> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 hello seems that python2.4a3 is not compatible with the optimizations in mx/DateTime/mxDateTime/mxDateTime.c on Linux: from mx import DateTime -> core dump if I disable the optims, everything gets ok /* Define these to have the module use free lists (saves malloc calls) */ #define MXDATETIME_FREELIST #define MXDATETIMEDELTA_FREELIST #undef MXDATETIME_FREELIST #undef MXDATETIMEDELTA_FREELIST - -- Pierre -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBOc2GMQ2/jYUwmmwRAn70AJ4puAZm4p10+KTCK/GzLt20VzWd3ACfQzIo H8hLxq8iCE3KGYZ6AR5QUy8= =GA8t -----END PGP SIGNATURE----- From mal at egenix.com Sun Sep 5 19:53:02 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Sat Jan 21 16:00:55 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 In-Reply-To: <4139CD86.6020403@club-internet.fr> References: <4139CD86.6020403@club-internet.fr> Message-ID: <413B446E.40002@egenix.com> Pierre Hanser wrote: > hello > > seems that python2.4a3 is not compatible with the optimizations in > mx/DateTime/mxDateTime/mxDateTime.c on Linux: > > from mx import DateTime -> core dump > > if I disable the optims, everything gets ok > > /* Define these to have the module use free lists (saves malloc calls) */ > #define MXDATETIME_FREELIST > #define MXDATETIMEDELTA_FREELIST > #undef MXDATETIME_FREELIST > #undef MXDATETIMEDELTA_FREELIST This is more likely due to a bug in your C compiler. -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 05 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From aluton at rcseng.ac.uk Wed Sep 8 12:33:02 2004 From: aluton at rcseng.ac.uk (Alex Luton) Date: Sat Jan 21 16:00:55 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: References: Message-ID: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Hi, I'm trying to get the mxODBC DA working, but the product is broken with this error message: Traceback (most recent call last): File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product product=__import__(pname, global_dict, global_dict, silly) File "Products/mxODBCZopeDA/__init__.py", line 7, in ? File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? Any help would be much appreciated. Thanks -- Alex ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 From mal at egenix.com Wed Sep 8 13:37:44 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Sat Jan 21 16:00:55 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> References: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Message-ID: <413EE0F8.6050601@egenix.com> Alex Luton wrote: > Hi, > > I'm trying to get the mxODBC DA working, but the product is broken with > this error message: > > Traceback (most recent call last): > File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product > product=__import__(pname, global_dict, global_dict, silly) > File "Products/mxODBCZopeDA/__init__.py", line 7, in ? > File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? > ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString > > I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? RedHat chose to build Python with 4-byte Unicode which is causing all sorts of problems with pre-built extensions. We will start shipping UCS4 builds of the Zope DA with the next release. Until then, you can try the pre-release of 1.0.9: http://www.egenix.com/files/python/egenix-mxodbc-zopeda-1.0.9.linux-i686-py2.3ucs4.zip -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 08 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From kl at vsen.dk Sat Sep 11 20:21:57 2004 From: kl at vsen.dk (Klavs Klavsen) Date: Sat Jan 21 16:00:55 2006 Subject: [egenix-users] bufferoverflow in egenix? Message-ID: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Hi guys, Just installed a new gcc with stack-smashing protection - and while recompiling modules with stack-smashing protection, I got this message: -- copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l ib/python2.3/site-packages/mx/Misc copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ python2.3/site-packages/mx/Misc writing byte-compilation script '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: SyntaxWarning: name 'debugging' is use d prior to global declaration python: stack smashing attack in function symtable_node() error: command '/usr/bin/python' terminated by signal 6 !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. !!! Function distutils_src_install, Line 43, Exitcode 1 !!! (no error message) so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes one in python) - I haven't done very much research as I can live without egenix - but just wanted to let you know :) p.s. it's python-2.3.3. -- Regards, Klavs Klavsen, GSEC - kl@vsen.dk - http://www.vsen.dk PGP: 7E063C62/2873 188C 968E 600D D8F8 B8DA 3D3A 0B79 7E06 3C62 "Those who do not understand Unix are condemned to reinvent it, poorly." --Henry Spencer From mal at egenix.com Sat Sep 11 23:51:30 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Sat Jan 21 16:00:55 2006 Subject: [egenix-users] bufferoverflow in egenix? In-Reply-To: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> References: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Message-ID: <41436552.6000906@egenix.com> Klavs Klavsen wrote: > Hi guys, > > Just installed a new gcc with stack-smashing protection - and while > recompiling modules with stack-smashing protection, I got this message: > -- > copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l > ib/python2.3/site-packages/mx/Misc > copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ > python2.3/site-packages/mx/Misc > writing byte-compilation script > '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' > /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py > usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: > SyntaxWarning: name 'debugging' is use > d prior to global declaration This is an error that the Python compiler generated. I'd suggest you report to the Python bug tracker. BTW, pytag.py is no longer used or maintained, so you can safely delete it. > python: stack smashing attack in function symtable_node() > error: command '/usr/bin/python' terminated by signal 6 > > !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. > !!! Function distutils_src_install, Line 43, Exitcode 1 > !!! (no error message) > > so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes > one in python) - I haven't done very much research as I can live without > egenix - but just wanted to let you know :) > > p.s. it's python-2.3.3. Thanks, -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 11 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From harrelson at gmail.com Thu Sep 30 17:48:13 2004 From: harrelson at gmail.com (Culley Harrelson) Date: Sat Jan 21 16:00:55 2006 Subject: [egenix-users] OS X 10.3.5: *** You don't have the (right) mxDateTime binaries installed ! Message-ID: <529825a30409301648507c0cf8@mail.gmail.com> I have successfully installed mxDateTime on my OS X 10.3.5 system, using the system Python installation. It installed but as soon as I try to import the module I get: === *** You don't have the (right) mxDateTime binaries installed ! Traceback (most recent call last): File "./testFeDb.py", line 4, in ? from mx import DateTime File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/__init__.py", line 8, in ? from DateTime import * File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/DateTime.py", line 9, in ? from mxDateTime import * File "/Library/Python/2.3/mx/DateTime/mxDateTime/__init__.py", line 13, in ? raise ImportError, why ImportError: Failure linking new module: : dyld: python Undefined symbols: /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyArg_ParseTuple expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCObject_FromVoidPtr expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCallable_Check expected to be defined in the executable /Library/Python/2.3/mx/Date === Has anyone experienced this? Any ideas how to fix it? culley From hanser at club-internet.fr Sat Sep 4 17:13:26 2004 From: hanser at club-internet.fr (Pierre Hanser) Date: Sat Jan 21 20:00:53 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 Message-ID: <4139CD86.6020403@club-internet.fr> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 hello seems that python2.4a3 is not compatible with the optimizations in mx/DateTime/mxDateTime/mxDateTime.c on Linux: from mx import DateTime -> core dump if I disable the optims, everything gets ok /* Define these to have the module use free lists (saves malloc calls) */ #define MXDATETIME_FREELIST #define MXDATETIMEDELTA_FREELIST #undef MXDATETIME_FREELIST #undef MXDATETIMEDELTA_FREELIST - -- Pierre -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBOc2GMQ2/jYUwmmwRAn70AJ4puAZm4p10+KTCK/GzLt20VzWd3ACfQzIo H8hLxq8iCE3KGYZ6AR5QUy8= =GA8t -----END PGP SIGNATURE----- From mal at egenix.com Sun Sep 5 19:53:02 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Sat Jan 21 20:00:53 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 In-Reply-To: <4139CD86.6020403@club-internet.fr> References: <4139CD86.6020403@club-internet.fr> Message-ID: <413B446E.40002@egenix.com> Pierre Hanser wrote: > hello > > seems that python2.4a3 is not compatible with the optimizations in > mx/DateTime/mxDateTime/mxDateTime.c on Linux: > > from mx import DateTime -> core dump > > if I disable the optims, everything gets ok > > /* Define these to have the module use free lists (saves malloc calls) */ > #define MXDATETIME_FREELIST > #define MXDATETIMEDELTA_FREELIST > #undef MXDATETIME_FREELIST > #undef MXDATETIMEDELTA_FREELIST This is more likely due to a bug in your C compiler. -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 05 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From aluton at rcseng.ac.uk Wed Sep 8 12:33:02 2004 From: aluton at rcseng.ac.uk (Alex Luton) Date: Sat Jan 21 20:00:53 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: References: Message-ID: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Hi, I'm trying to get the mxODBC DA working, but the product is broken with this error message: Traceback (most recent call last): File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product product=__import__(pname, global_dict, global_dict, silly) File "Products/mxODBCZopeDA/__init__.py", line 7, in ? File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? Any help would be much appreciated. Thanks -- Alex ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 From mal at egenix.com Wed Sep 8 13:37:44 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Sat Jan 21 20:00:53 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> References: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Message-ID: <413EE0F8.6050601@egenix.com> Alex Luton wrote: > Hi, > > I'm trying to get the mxODBC DA working, but the product is broken with > this error message: > > Traceback (most recent call last): > File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product > product=__import__(pname, global_dict, global_dict, silly) > File "Products/mxODBCZopeDA/__init__.py", line 7, in ? > File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? > ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString > > I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? RedHat chose to build Python with 4-byte Unicode which is causing all sorts of problems with pre-built extensions. We will start shipping UCS4 builds of the Zope DA with the next release. Until then, you can try the pre-release of 1.0.9: http://www.egenix.com/files/python/egenix-mxodbc-zopeda-1.0.9.linux-i686-py2.3ucs4.zip -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 08 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From kl at vsen.dk Sat Sep 11 20:21:57 2004 From: kl at vsen.dk (Klavs Klavsen) Date: Sat Jan 21 20:00:53 2006 Subject: [egenix-users] bufferoverflow in egenix? Message-ID: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Hi guys, Just installed a new gcc with stack-smashing protection - and while recompiling modules with stack-smashing protection, I got this message: -- copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l ib/python2.3/site-packages/mx/Misc copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ python2.3/site-packages/mx/Misc writing byte-compilation script '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: SyntaxWarning: name 'debugging' is use d prior to global declaration python: stack smashing attack in function symtable_node() error: command '/usr/bin/python' terminated by signal 6 !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. !!! Function distutils_src_install, Line 43, Exitcode 1 !!! (no error message) so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes one in python) - I haven't done very much research as I can live without egenix - but just wanted to let you know :) p.s. it's python-2.3.3. -- Regards, Klavs Klavsen, GSEC - kl@vsen.dk - http://www.vsen.dk PGP: 7E063C62/2873 188C 968E 600D D8F8 B8DA 3D3A 0B79 7E06 3C62 "Those who do not understand Unix are condemned to reinvent it, poorly." --Henry Spencer From mal at egenix.com Sat Sep 11 23:51:30 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Sat Jan 21 20:00:53 2006 Subject: [egenix-users] bufferoverflow in egenix? In-Reply-To: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> References: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Message-ID: <41436552.6000906@egenix.com> Klavs Klavsen wrote: > Hi guys, > > Just installed a new gcc with stack-smashing protection - and while > recompiling modules with stack-smashing protection, I got this message: > -- > copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l > ib/python2.3/site-packages/mx/Misc > copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ > python2.3/site-packages/mx/Misc > writing byte-compilation script > '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' > /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py > usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: > SyntaxWarning: name 'debugging' is use > d prior to global declaration This is an error that the Python compiler generated. I'd suggest you report to the Python bug tracker. BTW, pytag.py is no longer used or maintained, so you can safely delete it. > python: stack smashing attack in function symtable_node() > error: command '/usr/bin/python' terminated by signal 6 > > !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. > !!! Function distutils_src_install, Line 43, Exitcode 1 > !!! (no error message) > > so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes > one in python) - I haven't done very much research as I can live without > egenix - but just wanted to let you know :) > > p.s. it's python-2.3.3. Thanks, -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 11 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From harrelson at gmail.com Thu Sep 30 17:48:13 2004 From: harrelson at gmail.com (Culley Harrelson) Date: Sat Jan 21 20:00:53 2006 Subject: [egenix-users] OS X 10.3.5: *** You don't have the (right) mxDateTime binaries installed ! Message-ID: <529825a30409301648507c0cf8@mail.gmail.com> I have successfully installed mxDateTime on my OS X 10.3.5 system, using the system Python installation. It installed but as soon as I try to import the module I get: === *** You don't have the (right) mxDateTime binaries installed ! Traceback (most recent call last): File "./testFeDb.py", line 4, in ? from mx import DateTime File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/__init__.py", line 8, in ? from DateTime import * File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/DateTime.py", line 9, in ? from mxDateTime import * File "/Library/Python/2.3/mx/DateTime/mxDateTime/__init__.py", line 13, in ? raise ImportError, why ImportError: Failure linking new module: : dyld: python Undefined symbols: /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyArg_ParseTuple expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCObject_FromVoidPtr expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCallable_Check expected to be defined in the executable /Library/Python/2.3/mx/Date === Has anyone experienced this? Any ideas how to fix it? culley From hanser at club-internet.fr Sat Sep 4 17:13:26 2004 From: hanser at club-internet.fr (Pierre Hanser) Date: Sun Jan 22 08:02:51 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 Message-ID: <4139CD86.6020403@club-internet.fr> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 hello seems that python2.4a3 is not compatible with the optimizations in mx/DateTime/mxDateTime/mxDateTime.c on Linux: from mx import DateTime -> core dump if I disable the optims, everything gets ok /* Define these to have the module use free lists (saves malloc calls) */ #define MXDATETIME_FREELIST #define MXDATETIMEDELTA_FREELIST #undef MXDATETIME_FREELIST #undef MXDATETIMEDELTA_FREELIST - -- Pierre -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBOc2GMQ2/jYUwmmwRAn70AJ4puAZm4p10+KTCK/GzLt20VzWd3ACfQzIo H8hLxq8iCE3KGYZ6AR5QUy8= =GA8t -----END PGP SIGNATURE----- From mal at egenix.com Sun Sep 5 19:53:02 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Sun Jan 22 08:02:51 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 In-Reply-To: <4139CD86.6020403@club-internet.fr> References: <4139CD86.6020403@club-internet.fr> Message-ID: <413B446E.40002@egenix.com> Pierre Hanser wrote: > hello > > seems that python2.4a3 is not compatible with the optimizations in > mx/DateTime/mxDateTime/mxDateTime.c on Linux: > > from mx import DateTime -> core dump > > if I disable the optims, everything gets ok > > /* Define these to have the module use free lists (saves malloc calls) */ > #define MXDATETIME_FREELIST > #define MXDATETIMEDELTA_FREELIST > #undef MXDATETIME_FREELIST > #undef MXDATETIMEDELTA_FREELIST This is more likely due to a bug in your C compiler. -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 05 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From aluton at rcseng.ac.uk Wed Sep 8 12:33:02 2004 From: aluton at rcseng.ac.uk (Alex Luton) Date: Sun Jan 22 08:02:51 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: References: Message-ID: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Hi, I'm trying to get the mxODBC DA working, but the product is broken with this error message: Traceback (most recent call last): File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product product=__import__(pname, global_dict, global_dict, silly) File "Products/mxODBCZopeDA/__init__.py", line 7, in ? File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? Any help would be much appreciated. Thanks -- Alex ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 From mal at egenix.com Wed Sep 8 13:37:44 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Sun Jan 22 08:02:51 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> References: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Message-ID: <413EE0F8.6050601@egenix.com> Alex Luton wrote: > Hi, > > I'm trying to get the mxODBC DA working, but the product is broken with > this error message: > > Traceback (most recent call last): > File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product > product=__import__(pname, global_dict, global_dict, silly) > File "Products/mxODBCZopeDA/__init__.py", line 7, in ? > File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? > ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString > > I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? RedHat chose to build Python with 4-byte Unicode which is causing all sorts of problems with pre-built extensions. We will start shipping UCS4 builds of the Zope DA with the next release. Until then, you can try the pre-release of 1.0.9: http://www.egenix.com/files/python/egenix-mxodbc-zopeda-1.0.9.linux-i686-py2.3ucs4.zip -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 08 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From kl at vsen.dk Sat Sep 11 20:21:57 2004 From: kl at vsen.dk (Klavs Klavsen) Date: Sun Jan 22 08:02:51 2006 Subject: [egenix-users] bufferoverflow in egenix? Message-ID: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Hi guys, Just installed a new gcc with stack-smashing protection - and while recompiling modules with stack-smashing protection, I got this message: -- copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l ib/python2.3/site-packages/mx/Misc copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ python2.3/site-packages/mx/Misc writing byte-compilation script '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: SyntaxWarning: name 'debugging' is use d prior to global declaration python: stack smashing attack in function symtable_node() error: command '/usr/bin/python' terminated by signal 6 !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. !!! Function distutils_src_install, Line 43, Exitcode 1 !!! (no error message) so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes one in python) - I haven't done very much research as I can live without egenix - but just wanted to let you know :) p.s. it's python-2.3.3. -- Regards, Klavs Klavsen, GSEC - kl@vsen.dk - http://www.vsen.dk PGP: 7E063C62/2873 188C 968E 600D D8F8 B8DA 3D3A 0B79 7E06 3C62 "Those who do not understand Unix are condemned to reinvent it, poorly." --Henry Spencer From mal at egenix.com Sat Sep 11 23:51:30 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Sun Jan 22 08:02:51 2006 Subject: [egenix-users] bufferoverflow in egenix? In-Reply-To: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> References: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Message-ID: <41436552.6000906@egenix.com> Klavs Klavsen wrote: > Hi guys, > > Just installed a new gcc with stack-smashing protection - and while > recompiling modules with stack-smashing protection, I got this message: > -- > copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l > ib/python2.3/site-packages/mx/Misc > copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ > python2.3/site-packages/mx/Misc > writing byte-compilation script > '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' > /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py > usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: > SyntaxWarning: name 'debugging' is use > d prior to global declaration This is an error that the Python compiler generated. I'd suggest you report to the Python bug tracker. BTW, pytag.py is no longer used or maintained, so you can safely delete it. > python: stack smashing attack in function symtable_node() > error: command '/usr/bin/python' terminated by signal 6 > > !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. > !!! Function distutils_src_install, Line 43, Exitcode 1 > !!! (no error message) > > so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes > one in python) - I haven't done very much research as I can live without > egenix - but just wanted to let you know :) > > p.s. it's python-2.3.3. Thanks, -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 11 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From harrelson at gmail.com Thu Sep 30 17:48:13 2004 From: harrelson at gmail.com (Culley Harrelson) Date: Sun Jan 22 08:02:51 2006 Subject: [egenix-users] OS X 10.3.5: *** You don't have the (right) mxDateTime binaries installed ! Message-ID: <529825a30409301648507c0cf8@mail.gmail.com> I have successfully installed mxDateTime on my OS X 10.3.5 system, using the system Python installation. It installed but as soon as I try to import the module I get: === *** You don't have the (right) mxDateTime binaries installed ! Traceback (most recent call last): File "./testFeDb.py", line 4, in ? from mx import DateTime File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/__init__.py", line 8, in ? from DateTime import * File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/DateTime.py", line 9, in ? from mxDateTime import * File "/Library/Python/2.3/mx/DateTime/mxDateTime/__init__.py", line 13, in ? raise ImportError, why ImportError: Failure linking new module: : dyld: python Undefined symbols: /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyArg_ParseTuple expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCObject_FromVoidPtr expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCallable_Check expected to be defined in the executable /Library/Python/2.3/mx/Date === Has anyone experienced this? Any ideas how to fix it? culley From hanser at club-internet.fr Sat Sep 4 17:13:26 2004 From: hanser at club-internet.fr (Pierre Hanser) Date: Sun Jan 22 12:00:55 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 Message-ID: <4139CD86.6020403@club-internet.fr> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 hello seems that python2.4a3 is not compatible with the optimizations in mx/DateTime/mxDateTime/mxDateTime.c on Linux: from mx import DateTime -> core dump if I disable the optims, everything gets ok /* Define these to have the module use free lists (saves malloc calls) */ #define MXDATETIME_FREELIST #define MXDATETIMEDELTA_FREELIST #undef MXDATETIME_FREELIST #undef MXDATETIMEDELTA_FREELIST - -- Pierre -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBOc2GMQ2/jYUwmmwRAn70AJ4puAZm4p10+KTCK/GzLt20VzWd3ACfQzIo H8hLxq8iCE3KGYZ6AR5QUy8= =GA8t -----END PGP SIGNATURE----- From mal at egenix.com Sun Sep 5 19:53:02 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Sun Jan 22 12:00:55 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 In-Reply-To: <4139CD86.6020403@club-internet.fr> References: <4139CD86.6020403@club-internet.fr> Message-ID: <413B446E.40002@egenix.com> Pierre Hanser wrote: > hello > > seems that python2.4a3 is not compatible with the optimizations in > mx/DateTime/mxDateTime/mxDateTime.c on Linux: > > from mx import DateTime -> core dump > > if I disable the optims, everything gets ok > > /* Define these to have the module use free lists (saves malloc calls) */ > #define MXDATETIME_FREELIST > #define MXDATETIMEDELTA_FREELIST > #undef MXDATETIME_FREELIST > #undef MXDATETIMEDELTA_FREELIST This is more likely due to a bug in your C compiler. -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 05 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From aluton at rcseng.ac.uk Wed Sep 8 12:33:02 2004 From: aluton at rcseng.ac.uk (Alex Luton) Date: Sun Jan 22 12:00:55 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: References: Message-ID: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Hi, I'm trying to get the mxODBC DA working, but the product is broken with this error message: Traceback (most recent call last): File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product product=__import__(pname, global_dict, global_dict, silly) File "Products/mxODBCZopeDA/__init__.py", line 7, in ? File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? Any help would be much appreciated. Thanks -- Alex ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 From mal at egenix.com Wed Sep 8 13:37:44 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Sun Jan 22 12:00:55 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> References: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Message-ID: <413EE0F8.6050601@egenix.com> Alex Luton wrote: > Hi, > > I'm trying to get the mxODBC DA working, but the product is broken with > this error message: > > Traceback (most recent call last): > File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product > product=__import__(pname, global_dict, global_dict, silly) > File "Products/mxODBCZopeDA/__init__.py", line 7, in ? > File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? > ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString > > I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? RedHat chose to build Python with 4-byte Unicode which is causing all sorts of problems with pre-built extensions. We will start shipping UCS4 builds of the Zope DA with the next release. Until then, you can try the pre-release of 1.0.9: http://www.egenix.com/files/python/egenix-mxodbc-zopeda-1.0.9.linux-i686-py2.3ucs4.zip -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 08 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From kl at vsen.dk Sat Sep 11 20:21:57 2004 From: kl at vsen.dk (Klavs Klavsen) Date: Sun Jan 22 12:00:55 2006 Subject: [egenix-users] bufferoverflow in egenix? Message-ID: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Hi guys, Just installed a new gcc with stack-smashing protection - and while recompiling modules with stack-smashing protection, I got this message: -- copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l ib/python2.3/site-packages/mx/Misc copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ python2.3/site-packages/mx/Misc writing byte-compilation script '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: SyntaxWarning: name 'debugging' is use d prior to global declaration python: stack smashing attack in function symtable_node() error: command '/usr/bin/python' terminated by signal 6 !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. !!! Function distutils_src_install, Line 43, Exitcode 1 !!! (no error message) so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes one in python) - I haven't done very much research as I can live without egenix - but just wanted to let you know :) p.s. it's python-2.3.3. -- Regards, Klavs Klavsen, GSEC - kl@vsen.dk - http://www.vsen.dk PGP: 7E063C62/2873 188C 968E 600D D8F8 B8DA 3D3A 0B79 7E06 3C62 "Those who do not understand Unix are condemned to reinvent it, poorly." --Henry Spencer From mal at egenix.com Sat Sep 11 23:51:30 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Sun Jan 22 12:00:55 2006 Subject: [egenix-users] bufferoverflow in egenix? In-Reply-To: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> References: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Message-ID: <41436552.6000906@egenix.com> Klavs Klavsen wrote: > Hi guys, > > Just installed a new gcc with stack-smashing protection - and while > recompiling modules with stack-smashing protection, I got this message: > -- > copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l > ib/python2.3/site-packages/mx/Misc > copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ > python2.3/site-packages/mx/Misc > writing byte-compilation script > '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' > /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py > usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: > SyntaxWarning: name 'debugging' is use > d prior to global declaration This is an error that the Python compiler generated. I'd suggest you report to the Python bug tracker. BTW, pytag.py is no longer used or maintained, so you can safely delete it. > python: stack smashing attack in function symtable_node() > error: command '/usr/bin/python' terminated by signal 6 > > !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. > !!! Function distutils_src_install, Line 43, Exitcode 1 > !!! (no error message) > > so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes > one in python) - I haven't done very much research as I can live without > egenix - but just wanted to let you know :) > > p.s. it's python-2.3.3. Thanks, -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 11 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From harrelson at gmail.com Thu Sep 30 17:48:13 2004 From: harrelson at gmail.com (Culley Harrelson) Date: Sun Jan 22 12:00:55 2006 Subject: [egenix-users] OS X 10.3.5: *** You don't have the (right) mxDateTime binaries installed ! Message-ID: <529825a30409301648507c0cf8@mail.gmail.com> I have successfully installed mxDateTime on my OS X 10.3.5 system, using the system Python installation. It installed but as soon as I try to import the module I get: === *** You don't have the (right) mxDateTime binaries installed ! Traceback (most recent call last): File "./testFeDb.py", line 4, in ? from mx import DateTime File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/__init__.py", line 8, in ? from DateTime import * File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/DateTime.py", line 9, in ? from mxDateTime import * File "/Library/Python/2.3/mx/DateTime/mxDateTime/__init__.py", line 13, in ? raise ImportError, why ImportError: Failure linking new module: : dyld: python Undefined symbols: /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyArg_ParseTuple expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCObject_FromVoidPtr expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCallable_Check expected to be defined in the executable /Library/Python/2.3/mx/Date === Has anyone experienced this? Any ideas how to fix it? culley From hanser at club-internet.fr Sat Sep 4 17:13:26 2004 From: hanser at club-internet.fr (Pierre Hanser) Date: Sun Jan 22 16:01:26 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 Message-ID: <4139CD86.6020403@club-internet.fr> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 hello seems that python2.4a3 is not compatible with the optimizations in mx/DateTime/mxDateTime/mxDateTime.c on Linux: from mx import DateTime -> core dump if I disable the optims, everything gets ok /* Define these to have the module use free lists (saves malloc calls) */ #define MXDATETIME_FREELIST #define MXDATETIMEDELTA_FREELIST #undef MXDATETIME_FREELIST #undef MXDATETIMEDELTA_FREELIST - -- Pierre -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBOc2GMQ2/jYUwmmwRAn70AJ4puAZm4p10+KTCK/GzLt20VzWd3ACfQzIo H8hLxq8iCE3KGYZ6AR5QUy8= =GA8t -----END PGP SIGNATURE----- From mal at egenix.com Sun Sep 5 19:53:02 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Sun Jan 22 16:01:26 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 In-Reply-To: <4139CD86.6020403@club-internet.fr> References: <4139CD86.6020403@club-internet.fr> Message-ID: <413B446E.40002@egenix.com> Pierre Hanser wrote: > hello > > seems that python2.4a3 is not compatible with the optimizations in > mx/DateTime/mxDateTime/mxDateTime.c on Linux: > > from mx import DateTime -> core dump > > if I disable the optims, everything gets ok > > /* Define these to have the module use free lists (saves malloc calls) */ > #define MXDATETIME_FREELIST > #define MXDATETIMEDELTA_FREELIST > #undef MXDATETIME_FREELIST > #undef MXDATETIMEDELTA_FREELIST This is more likely due to a bug in your C compiler. -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 05 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From aluton at rcseng.ac.uk Wed Sep 8 12:33:02 2004 From: aluton at rcseng.ac.uk (Alex Luton) Date: Sun Jan 22 16:01:26 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: References: Message-ID: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Hi, I'm trying to get the mxODBC DA working, but the product is broken with this error message: Traceback (most recent call last): File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product product=__import__(pname, global_dict, global_dict, silly) File "Products/mxODBCZopeDA/__init__.py", line 7, in ? File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? Any help would be much appreciated. Thanks -- Alex ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 From mal at egenix.com Wed Sep 8 13:37:44 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Sun Jan 22 16:01:26 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> References: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Message-ID: <413EE0F8.6050601@egenix.com> Alex Luton wrote: > Hi, > > I'm trying to get the mxODBC DA working, but the product is broken with > this error message: > > Traceback (most recent call last): > File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product > product=__import__(pname, global_dict, global_dict, silly) > File "Products/mxODBCZopeDA/__init__.py", line 7, in ? > File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? > ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString > > I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? RedHat chose to build Python with 4-byte Unicode which is causing all sorts of problems with pre-built extensions. We will start shipping UCS4 builds of the Zope DA with the next release. Until then, you can try the pre-release of 1.0.9: http://www.egenix.com/files/python/egenix-mxodbc-zopeda-1.0.9.linux-i686-py2.3ucs4.zip -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 08 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From kl at vsen.dk Sat Sep 11 20:21:57 2004 From: kl at vsen.dk (Klavs Klavsen) Date: Sun Jan 22 16:01:26 2006 Subject: [egenix-users] bufferoverflow in egenix? Message-ID: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Hi guys, Just installed a new gcc with stack-smashing protection - and while recompiling modules with stack-smashing protection, I got this message: -- copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l ib/python2.3/site-packages/mx/Misc copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ python2.3/site-packages/mx/Misc writing byte-compilation script '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: SyntaxWarning: name 'debugging' is use d prior to global declaration python: stack smashing attack in function symtable_node() error: command '/usr/bin/python' terminated by signal 6 !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. !!! Function distutils_src_install, Line 43, Exitcode 1 !!! (no error message) so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes one in python) - I haven't done very much research as I can live without egenix - but just wanted to let you know :) p.s. it's python-2.3.3. -- Regards, Klavs Klavsen, GSEC - kl@vsen.dk - http://www.vsen.dk PGP: 7E063C62/2873 188C 968E 600D D8F8 B8DA 3D3A 0B79 7E06 3C62 "Those who do not understand Unix are condemned to reinvent it, poorly." --Henry Spencer From mal at egenix.com Sat Sep 11 23:51:30 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Sun Jan 22 16:01:26 2006 Subject: [egenix-users] bufferoverflow in egenix? In-Reply-To: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> References: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Message-ID: <41436552.6000906@egenix.com> Klavs Klavsen wrote: > Hi guys, > > Just installed a new gcc with stack-smashing protection - and while > recompiling modules with stack-smashing protection, I got this message: > -- > copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l > ib/python2.3/site-packages/mx/Misc > copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ > python2.3/site-packages/mx/Misc > writing byte-compilation script > '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' > /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py > usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: > SyntaxWarning: name 'debugging' is use > d prior to global declaration This is an error that the Python compiler generated. I'd suggest you report to the Python bug tracker. BTW, pytag.py is no longer used or maintained, so you can safely delete it. > python: stack smashing attack in function symtable_node() > error: command '/usr/bin/python' terminated by signal 6 > > !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. > !!! Function distutils_src_install, Line 43, Exitcode 1 > !!! (no error message) > > so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes > one in python) - I haven't done very much research as I can live without > egenix - but just wanted to let you know :) > > p.s. it's python-2.3.3. Thanks, -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 11 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From harrelson at gmail.com Thu Sep 30 17:48:13 2004 From: harrelson at gmail.com (Culley Harrelson) Date: Sun Jan 22 16:01:27 2006 Subject: [egenix-users] OS X 10.3.5: *** You don't have the (right) mxDateTime binaries installed ! Message-ID: <529825a30409301648507c0cf8@mail.gmail.com> I have successfully installed mxDateTime on my OS X 10.3.5 system, using the system Python installation. It installed but as soon as I try to import the module I get: === *** You don't have the (right) mxDateTime binaries installed ! Traceback (most recent call last): File "./testFeDb.py", line 4, in ? from mx import DateTime File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/__init__.py", line 8, in ? from DateTime import * File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/DateTime.py", line 9, in ? from mxDateTime import * File "/Library/Python/2.3/mx/DateTime/mxDateTime/__init__.py", line 13, in ? raise ImportError, why ImportError: Failure linking new module: : dyld: python Undefined symbols: /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyArg_ParseTuple expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCObject_FromVoidPtr expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCallable_Check expected to be defined in the executable /Library/Python/2.3/mx/Date === Has anyone experienced this? Any ideas how to fix it? culley From hanser at club-internet.fr Sat Sep 4 17:13:26 2004 From: hanser at club-internet.fr (Pierre Hanser) Date: Sun Jan 22 20:01:21 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 Message-ID: <4139CD86.6020403@club-internet.fr> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 hello seems that python2.4a3 is not compatible with the optimizations in mx/DateTime/mxDateTime/mxDateTime.c on Linux: from mx import DateTime -> core dump if I disable the optims, everything gets ok /* Define these to have the module use free lists (saves malloc calls) */ #define MXDATETIME_FREELIST #define MXDATETIMEDELTA_FREELIST #undef MXDATETIME_FREELIST #undef MXDATETIMEDELTA_FREELIST - -- Pierre -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBOc2GMQ2/jYUwmmwRAn70AJ4puAZm4p10+KTCK/GzLt20VzWd3ACfQzIo H8hLxq8iCE3KGYZ6AR5QUy8= =GA8t -----END PGP SIGNATURE----- From mal at egenix.com Sun Sep 5 19:53:02 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Sun Jan 22 20:01:21 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 In-Reply-To: <4139CD86.6020403@club-internet.fr> References: <4139CD86.6020403@club-internet.fr> Message-ID: <413B446E.40002@egenix.com> Pierre Hanser wrote: > hello > > seems that python2.4a3 is not compatible with the optimizations in > mx/DateTime/mxDateTime/mxDateTime.c on Linux: > > from mx import DateTime -> core dump > > if I disable the optims, everything gets ok > > /* Define these to have the module use free lists (saves malloc calls) */ > #define MXDATETIME_FREELIST > #define MXDATETIMEDELTA_FREELIST > #undef MXDATETIME_FREELIST > #undef MXDATETIMEDELTA_FREELIST This is more likely due to a bug in your C compiler. -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 05 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From aluton at rcseng.ac.uk Wed Sep 8 12:33:02 2004 From: aluton at rcseng.ac.uk (Alex Luton) Date: Sun Jan 22 20:01:21 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: References: Message-ID: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Hi, I'm trying to get the mxODBC DA working, but the product is broken with this error message: Traceback (most recent call last): File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product product=__import__(pname, global_dict, global_dict, silly) File "Products/mxODBCZopeDA/__init__.py", line 7, in ? File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? Any help would be much appreciated. Thanks -- Alex ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 From mal at egenix.com Wed Sep 8 13:37:44 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Sun Jan 22 20:01:21 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> References: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Message-ID: <413EE0F8.6050601@egenix.com> Alex Luton wrote: > Hi, > > I'm trying to get the mxODBC DA working, but the product is broken with > this error message: > > Traceback (most recent call last): > File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product > product=__import__(pname, global_dict, global_dict, silly) > File "Products/mxODBCZopeDA/__init__.py", line 7, in ? > File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? > ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString > > I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? RedHat chose to build Python with 4-byte Unicode which is causing all sorts of problems with pre-built extensions. We will start shipping UCS4 builds of the Zope DA with the next release. Until then, you can try the pre-release of 1.0.9: http://www.egenix.com/files/python/egenix-mxodbc-zopeda-1.0.9.linux-i686-py2.3ucs4.zip -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 08 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From kl at vsen.dk Sat Sep 11 20:21:57 2004 From: kl at vsen.dk (Klavs Klavsen) Date: Sun Jan 22 20:01:21 2006 Subject: [egenix-users] bufferoverflow in egenix? Message-ID: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Hi guys, Just installed a new gcc with stack-smashing protection - and while recompiling modules with stack-smashing protection, I got this message: -- copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l ib/python2.3/site-packages/mx/Misc copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ python2.3/site-packages/mx/Misc writing byte-compilation script '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: SyntaxWarning: name 'debugging' is use d prior to global declaration python: stack smashing attack in function symtable_node() error: command '/usr/bin/python' terminated by signal 6 !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. !!! Function distutils_src_install, Line 43, Exitcode 1 !!! (no error message) so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes one in python) - I haven't done very much research as I can live without egenix - but just wanted to let you know :) p.s. it's python-2.3.3. -- Regards, Klavs Klavsen, GSEC - kl@vsen.dk - http://www.vsen.dk PGP: 7E063C62/2873 188C 968E 600D D8F8 B8DA 3D3A 0B79 7E06 3C62 "Those who do not understand Unix are condemned to reinvent it, poorly." --Henry Spencer From mal at egenix.com Sat Sep 11 23:51:30 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Sun Jan 22 20:01:21 2006 Subject: [egenix-users] bufferoverflow in egenix? In-Reply-To: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> References: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Message-ID: <41436552.6000906@egenix.com> Klavs Klavsen wrote: > Hi guys, > > Just installed a new gcc with stack-smashing protection - and while > recompiling modules with stack-smashing protection, I got this message: > -- > copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l > ib/python2.3/site-packages/mx/Misc > copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ > python2.3/site-packages/mx/Misc > writing byte-compilation script > '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' > /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py > usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: > SyntaxWarning: name 'debugging' is use > d prior to global declaration This is an error that the Python compiler generated. I'd suggest you report to the Python bug tracker. BTW, pytag.py is no longer used or maintained, so you can safely delete it. > python: stack smashing attack in function symtable_node() > error: command '/usr/bin/python' terminated by signal 6 > > !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. > !!! Function distutils_src_install, Line 43, Exitcode 1 > !!! (no error message) > > so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes > one in python) - I haven't done very much research as I can live without > egenix - but just wanted to let you know :) > > p.s. it's python-2.3.3. Thanks, -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 11 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From harrelson at gmail.com Thu Sep 30 17:48:13 2004 From: harrelson at gmail.com (Culley Harrelson) Date: Sun Jan 22 20:01:21 2006 Subject: [egenix-users] OS X 10.3.5: *** You don't have the (right) mxDateTime binaries installed ! Message-ID: <529825a30409301648507c0cf8@mail.gmail.com> I have successfully installed mxDateTime on my OS X 10.3.5 system, using the system Python installation. It installed but as soon as I try to import the module I get: === *** You don't have the (right) mxDateTime binaries installed ! Traceback (most recent call last): File "./testFeDb.py", line 4, in ? from mx import DateTime File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/__init__.py", line 8, in ? from DateTime import * File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/DateTime.py", line 9, in ? from mxDateTime import * File "/Library/Python/2.3/mx/DateTime/mxDateTime/__init__.py", line 13, in ? raise ImportError, why ImportError: Failure linking new module: : dyld: python Undefined symbols: /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyArg_ParseTuple expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCObject_FromVoidPtr expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCallable_Check expected to be defined in the executable /Library/Python/2.3/mx/Date === Has anyone experienced this? Any ideas how to fix it? culley From hanser at club-internet.fr Sat Sep 4 17:13:26 2004 From: hanser at club-internet.fr (Pierre Hanser) Date: Mon Jan 23 08:02:47 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 Message-ID: <4139CD86.6020403@club-internet.fr> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 hello seems that python2.4a3 is not compatible with the optimizations in mx/DateTime/mxDateTime/mxDateTime.c on Linux: from mx import DateTime -> core dump if I disable the optims, everything gets ok /* Define these to have the module use free lists (saves malloc calls) */ #define MXDATETIME_FREELIST #define MXDATETIMEDELTA_FREELIST #undef MXDATETIME_FREELIST #undef MXDATETIMEDELTA_FREELIST - -- Pierre -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBOc2GMQ2/jYUwmmwRAn70AJ4puAZm4p10+KTCK/GzLt20VzWd3ACfQzIo H8hLxq8iCE3KGYZ6AR5QUy8= =GA8t -----END PGP SIGNATURE----- From mal at egenix.com Sun Sep 5 19:53:02 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Mon Jan 23 08:02:47 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 In-Reply-To: <4139CD86.6020403@club-internet.fr> References: <4139CD86.6020403@club-internet.fr> Message-ID: <413B446E.40002@egenix.com> Pierre Hanser wrote: > hello > > seems that python2.4a3 is not compatible with the optimizations in > mx/DateTime/mxDateTime/mxDateTime.c on Linux: > > from mx import DateTime -> core dump > > if I disable the optims, everything gets ok > > /* Define these to have the module use free lists (saves malloc calls) */ > #define MXDATETIME_FREELIST > #define MXDATETIMEDELTA_FREELIST > #undef MXDATETIME_FREELIST > #undef MXDATETIMEDELTA_FREELIST This is more likely due to a bug in your C compiler. -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 05 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From aluton at rcseng.ac.uk Wed Sep 8 12:33:02 2004 From: aluton at rcseng.ac.uk (Alex Luton) Date: Mon Jan 23 08:02:47 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: References: Message-ID: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Hi, I'm trying to get the mxODBC DA working, but the product is broken with this error message: Traceback (most recent call last): File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product product=__import__(pname, global_dict, global_dict, silly) File "Products/mxODBCZopeDA/__init__.py", line 7, in ? File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? Any help would be much appreciated. Thanks -- Alex ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 From mal at egenix.com Wed Sep 8 13:37:44 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Mon Jan 23 08:02:47 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> References: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Message-ID: <413EE0F8.6050601@egenix.com> Alex Luton wrote: > Hi, > > I'm trying to get the mxODBC DA working, but the product is broken with > this error message: > > Traceback (most recent call last): > File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product > product=__import__(pname, global_dict, global_dict, silly) > File "Products/mxODBCZopeDA/__init__.py", line 7, in ? > File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? > ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString > > I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? RedHat chose to build Python with 4-byte Unicode which is causing all sorts of problems with pre-built extensions. We will start shipping UCS4 builds of the Zope DA with the next release. Until then, you can try the pre-release of 1.0.9: http://www.egenix.com/files/python/egenix-mxodbc-zopeda-1.0.9.linux-i686-py2.3ucs4.zip -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 08 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From kl at vsen.dk Sat Sep 11 20:21:57 2004 From: kl at vsen.dk (Klavs Klavsen) Date: Mon Jan 23 08:02:47 2006 Subject: [egenix-users] bufferoverflow in egenix? Message-ID: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Hi guys, Just installed a new gcc with stack-smashing protection - and while recompiling modules with stack-smashing protection, I got this message: -- copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l ib/python2.3/site-packages/mx/Misc copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ python2.3/site-packages/mx/Misc writing byte-compilation script '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: SyntaxWarning: name 'debugging' is use d prior to global declaration python: stack smashing attack in function symtable_node() error: command '/usr/bin/python' terminated by signal 6 !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. !!! Function distutils_src_install, Line 43, Exitcode 1 !!! (no error message) so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes one in python) - I haven't done very much research as I can live without egenix - but just wanted to let you know :) p.s. it's python-2.3.3. -- Regards, Klavs Klavsen, GSEC - kl@vsen.dk - http://www.vsen.dk PGP: 7E063C62/2873 188C 968E 600D D8F8 B8DA 3D3A 0B79 7E06 3C62 "Those who do not understand Unix are condemned to reinvent it, poorly." --Henry Spencer From mal at egenix.com Sat Sep 11 23:51:30 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Mon Jan 23 08:02:47 2006 Subject: [egenix-users] bufferoverflow in egenix? In-Reply-To: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> References: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Message-ID: <41436552.6000906@egenix.com> Klavs Klavsen wrote: > Hi guys, > > Just installed a new gcc with stack-smashing protection - and while > recompiling modules with stack-smashing protection, I got this message: > -- > copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l > ib/python2.3/site-packages/mx/Misc > copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ > python2.3/site-packages/mx/Misc > writing byte-compilation script > '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' > /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py > usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: > SyntaxWarning: name 'debugging' is use > d prior to global declaration This is an error that the Python compiler generated. I'd suggest you report to the Python bug tracker. BTW, pytag.py is no longer used or maintained, so you can safely delete it. > python: stack smashing attack in function symtable_node() > error: command '/usr/bin/python' terminated by signal 6 > > !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. > !!! Function distutils_src_install, Line 43, Exitcode 1 > !!! (no error message) > > so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes > one in python) - I haven't done very much research as I can live without > egenix - but just wanted to let you know :) > > p.s. it's python-2.3.3. Thanks, -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 11 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From harrelson at gmail.com Thu Sep 30 17:48:13 2004 From: harrelson at gmail.com (Culley Harrelson) Date: Mon Jan 23 08:02:47 2006 Subject: [egenix-users] OS X 10.3.5: *** You don't have the (right) mxDateTime binaries installed ! Message-ID: <529825a30409301648507c0cf8@mail.gmail.com> I have successfully installed mxDateTime on my OS X 10.3.5 system, using the system Python installation. It installed but as soon as I try to import the module I get: === *** You don't have the (right) mxDateTime binaries installed ! Traceback (most recent call last): File "./testFeDb.py", line 4, in ? from mx import DateTime File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/__init__.py", line 8, in ? from DateTime import * File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/DateTime.py", line 9, in ? from mxDateTime import * File "/Library/Python/2.3/mx/DateTime/mxDateTime/__init__.py", line 13, in ? raise ImportError, why ImportError: Failure linking new module: : dyld: python Undefined symbols: /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyArg_ParseTuple expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCObject_FromVoidPtr expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCallable_Check expected to be defined in the executable /Library/Python/2.3/mx/Date === Has anyone experienced this? Any ideas how to fix it? culley From hanser at club-internet.fr Sat Sep 4 17:13:26 2004 From: hanser at club-internet.fr (Pierre Hanser) Date: Mon Jan 23 12:00:59 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 Message-ID: <4139CD86.6020403@club-internet.fr> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 hello seems that python2.4a3 is not compatible with the optimizations in mx/DateTime/mxDateTime/mxDateTime.c on Linux: from mx import DateTime -> core dump if I disable the optims, everything gets ok /* Define these to have the module use free lists (saves malloc calls) */ #define MXDATETIME_FREELIST #define MXDATETIMEDELTA_FREELIST #undef MXDATETIME_FREELIST #undef MXDATETIMEDELTA_FREELIST - -- Pierre -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBOc2GMQ2/jYUwmmwRAn70AJ4puAZm4p10+KTCK/GzLt20VzWd3ACfQzIo H8hLxq8iCE3KGYZ6AR5QUy8= =GA8t -----END PGP SIGNATURE----- From mal at egenix.com Sun Sep 5 19:53:02 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Mon Jan 23 12:00:59 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 In-Reply-To: <4139CD86.6020403@club-internet.fr> References: <4139CD86.6020403@club-internet.fr> Message-ID: <413B446E.40002@egenix.com> Pierre Hanser wrote: > hello > > seems that python2.4a3 is not compatible with the optimizations in > mx/DateTime/mxDateTime/mxDateTime.c on Linux: > > from mx import DateTime -> core dump > > if I disable the optims, everything gets ok > > /* Define these to have the module use free lists (saves malloc calls) */ > #define MXDATETIME_FREELIST > #define MXDATETIMEDELTA_FREELIST > #undef MXDATETIME_FREELIST > #undef MXDATETIMEDELTA_FREELIST This is more likely due to a bug in your C compiler. -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 05 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From aluton at rcseng.ac.uk Wed Sep 8 12:33:02 2004 From: aluton at rcseng.ac.uk (Alex Luton) Date: Mon Jan 23 12:00:59 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: References: Message-ID: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Hi, I'm trying to get the mxODBC DA working, but the product is broken with this error message: Traceback (most recent call last): File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product product=__import__(pname, global_dict, global_dict, silly) File "Products/mxODBCZopeDA/__init__.py", line 7, in ? File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? Any help would be much appreciated. Thanks -- Alex ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 From mal at egenix.com Wed Sep 8 13:37:44 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Mon Jan 23 12:01:00 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> References: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Message-ID: <413EE0F8.6050601@egenix.com> Alex Luton wrote: > Hi, > > I'm trying to get the mxODBC DA working, but the product is broken with > this error message: > > Traceback (most recent call last): > File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product > product=__import__(pname, global_dict, global_dict, silly) > File "Products/mxODBCZopeDA/__init__.py", line 7, in ? > File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? > ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString > > I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? RedHat chose to build Python with 4-byte Unicode which is causing all sorts of problems with pre-built extensions. We will start shipping UCS4 builds of the Zope DA with the next release. Until then, you can try the pre-release of 1.0.9: http://www.egenix.com/files/python/egenix-mxodbc-zopeda-1.0.9.linux-i686-py2.3ucs4.zip -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 08 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From kl at vsen.dk Sat Sep 11 20:21:57 2004 From: kl at vsen.dk (Klavs Klavsen) Date: Mon Jan 23 12:01:00 2006 Subject: [egenix-users] bufferoverflow in egenix? Message-ID: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Hi guys, Just installed a new gcc with stack-smashing protection - and while recompiling modules with stack-smashing protection, I got this message: -- copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l ib/python2.3/site-packages/mx/Misc copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ python2.3/site-packages/mx/Misc writing byte-compilation script '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: SyntaxWarning: name 'debugging' is use d prior to global declaration python: stack smashing attack in function symtable_node() error: command '/usr/bin/python' terminated by signal 6 !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. !!! Function distutils_src_install, Line 43, Exitcode 1 !!! (no error message) so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes one in python) - I haven't done very much research as I can live without egenix - but just wanted to let you know :) p.s. it's python-2.3.3. -- Regards, Klavs Klavsen, GSEC - kl@vsen.dk - http://www.vsen.dk PGP: 7E063C62/2873 188C 968E 600D D8F8 B8DA 3D3A 0B79 7E06 3C62 "Those who do not understand Unix are condemned to reinvent it, poorly." --Henry Spencer From mal at egenix.com Sat Sep 11 23:51:30 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Mon Jan 23 12:01:00 2006 Subject: [egenix-users] bufferoverflow in egenix? In-Reply-To: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> References: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Message-ID: <41436552.6000906@egenix.com> Klavs Klavsen wrote: > Hi guys, > > Just installed a new gcc with stack-smashing protection - and while > recompiling modules with stack-smashing protection, I got this message: > -- > copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l > ib/python2.3/site-packages/mx/Misc > copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ > python2.3/site-packages/mx/Misc > writing byte-compilation script > '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' > /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py > usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: > SyntaxWarning: name 'debugging' is use > d prior to global declaration This is an error that the Python compiler generated. I'd suggest you report to the Python bug tracker. BTW, pytag.py is no longer used or maintained, so you can safely delete it. > python: stack smashing attack in function symtable_node() > error: command '/usr/bin/python' terminated by signal 6 > > !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. > !!! Function distutils_src_install, Line 43, Exitcode 1 > !!! (no error message) > > so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes > one in python) - I haven't done very much research as I can live without > egenix - but just wanted to let you know :) > > p.s. it's python-2.3.3. Thanks, -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 11 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From harrelson at gmail.com Thu Sep 30 17:48:13 2004 From: harrelson at gmail.com (Culley Harrelson) Date: Mon Jan 23 12:01:00 2006 Subject: [egenix-users] OS X 10.3.5: *** You don't have the (right) mxDateTime binaries installed ! Message-ID: <529825a30409301648507c0cf8@mail.gmail.com> I have successfully installed mxDateTime on my OS X 10.3.5 system, using the system Python installation. It installed but as soon as I try to import the module I get: === *** You don't have the (right) mxDateTime binaries installed ! Traceback (most recent call last): File "./testFeDb.py", line 4, in ? from mx import DateTime File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/__init__.py", line 8, in ? from DateTime import * File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/DateTime.py", line 9, in ? from mxDateTime import * File "/Library/Python/2.3/mx/DateTime/mxDateTime/__init__.py", line 13, in ? raise ImportError, why ImportError: Failure linking new module: : dyld: python Undefined symbols: /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyArg_ParseTuple expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCObject_FromVoidPtr expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCallable_Check expected to be defined in the executable /Library/Python/2.3/mx/Date === Has anyone experienced this? Any ideas how to fix it? culley From hanser at club-internet.fr Sat Sep 4 17:13:26 2004 From: hanser at club-internet.fr (Pierre Hanser) Date: Mon Jan 23 16:01:55 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 Message-ID: <4139CD86.6020403@club-internet.fr> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 hello seems that python2.4a3 is not compatible with the optimizations in mx/DateTime/mxDateTime/mxDateTime.c on Linux: from mx import DateTime -> core dump if I disable the optims, everything gets ok /* Define these to have the module use free lists (saves malloc calls) */ #define MXDATETIME_FREELIST #define MXDATETIMEDELTA_FREELIST #undef MXDATETIME_FREELIST #undef MXDATETIMEDELTA_FREELIST - -- Pierre -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBOc2GMQ2/jYUwmmwRAn70AJ4puAZm4p10+KTCK/GzLt20VzWd3ACfQzIo H8hLxq8iCE3KGYZ6AR5QUy8= =GA8t -----END PGP SIGNATURE----- From mal at egenix.com Sun Sep 5 19:53:02 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Mon Jan 23 16:01:55 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 In-Reply-To: <4139CD86.6020403@club-internet.fr> References: <4139CD86.6020403@club-internet.fr> Message-ID: <413B446E.40002@egenix.com> Pierre Hanser wrote: > hello > > seems that python2.4a3 is not compatible with the optimizations in > mx/DateTime/mxDateTime/mxDateTime.c on Linux: > > from mx import DateTime -> core dump > > if I disable the optims, everything gets ok > > /* Define these to have the module use free lists (saves malloc calls) */ > #define MXDATETIME_FREELIST > #define MXDATETIMEDELTA_FREELIST > #undef MXDATETIME_FREELIST > #undef MXDATETIMEDELTA_FREELIST This is more likely due to a bug in your C compiler. -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 05 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From aluton at rcseng.ac.uk Wed Sep 8 12:33:02 2004 From: aluton at rcseng.ac.uk (Alex Luton) Date: Mon Jan 23 16:01:55 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: References: Message-ID: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Hi, I'm trying to get the mxODBC DA working, but the product is broken with this error message: Traceback (most recent call last): File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product product=__import__(pname, global_dict, global_dict, silly) File "Products/mxODBCZopeDA/__init__.py", line 7, in ? File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? Any help would be much appreciated. Thanks -- Alex ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 From mal at egenix.com Wed Sep 8 13:37:44 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Mon Jan 23 16:01:55 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> References: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Message-ID: <413EE0F8.6050601@egenix.com> Alex Luton wrote: > Hi, > > I'm trying to get the mxODBC DA working, but the product is broken with > this error message: > > Traceback (most recent call last): > File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product > product=__import__(pname, global_dict, global_dict, silly) > File "Products/mxODBCZopeDA/__init__.py", line 7, in ? > File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? > ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString > > I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? RedHat chose to build Python with 4-byte Unicode which is causing all sorts of problems with pre-built extensions. We will start shipping UCS4 builds of the Zope DA with the next release. Until then, you can try the pre-release of 1.0.9: http://www.egenix.com/files/python/egenix-mxodbc-zopeda-1.0.9.linux-i686-py2.3ucs4.zip -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 08 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From kl at vsen.dk Sat Sep 11 20:21:57 2004 From: kl at vsen.dk (Klavs Klavsen) Date: Mon Jan 23 16:01:55 2006 Subject: [egenix-users] bufferoverflow in egenix? Message-ID: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Hi guys, Just installed a new gcc with stack-smashing protection - and while recompiling modules with stack-smashing protection, I got this message: -- copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l ib/python2.3/site-packages/mx/Misc copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ python2.3/site-packages/mx/Misc writing byte-compilation script '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: SyntaxWarning: name 'debugging' is use d prior to global declaration python: stack smashing attack in function symtable_node() error: command '/usr/bin/python' terminated by signal 6 !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. !!! Function distutils_src_install, Line 43, Exitcode 1 !!! (no error message) so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes one in python) - I haven't done very much research as I can live without egenix - but just wanted to let you know :) p.s. it's python-2.3.3. -- Regards, Klavs Klavsen, GSEC - kl@vsen.dk - http://www.vsen.dk PGP: 7E063C62/2873 188C 968E 600D D8F8 B8DA 3D3A 0B79 7E06 3C62 "Those who do not understand Unix are condemned to reinvent it, poorly." --Henry Spencer From mal at egenix.com Sat Sep 11 23:51:30 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Mon Jan 23 16:01:55 2006 Subject: [egenix-users] bufferoverflow in egenix? In-Reply-To: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> References: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Message-ID: <41436552.6000906@egenix.com> Klavs Klavsen wrote: > Hi guys, > > Just installed a new gcc with stack-smashing protection - and while > recompiling modules with stack-smashing protection, I got this message: > -- > copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l > ib/python2.3/site-packages/mx/Misc > copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ > python2.3/site-packages/mx/Misc > writing byte-compilation script > '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' > /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py > usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: > SyntaxWarning: name 'debugging' is use > d prior to global declaration This is an error that the Python compiler generated. I'd suggest you report to the Python bug tracker. BTW, pytag.py is no longer used or maintained, so you can safely delete it. > python: stack smashing attack in function symtable_node() > error: command '/usr/bin/python' terminated by signal 6 > > !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. > !!! Function distutils_src_install, Line 43, Exitcode 1 > !!! (no error message) > > so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes > one in python) - I haven't done very much research as I can live without > egenix - but just wanted to let you know :) > > p.s. it's python-2.3.3. Thanks, -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 11 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From harrelson at gmail.com Thu Sep 30 17:48:13 2004 From: harrelson at gmail.com (Culley Harrelson) Date: Mon Jan 23 16:01:55 2006 Subject: [egenix-users] OS X 10.3.5: *** You don't have the (right) mxDateTime binaries installed ! Message-ID: <529825a30409301648507c0cf8@mail.gmail.com> I have successfully installed mxDateTime on my OS X 10.3.5 system, using the system Python installation. It installed but as soon as I try to import the module I get: === *** You don't have the (right) mxDateTime binaries installed ! Traceback (most recent call last): File "./testFeDb.py", line 4, in ? from mx import DateTime File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/__init__.py", line 8, in ? from DateTime import * File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/DateTime.py", line 9, in ? from mxDateTime import * File "/Library/Python/2.3/mx/DateTime/mxDateTime/__init__.py", line 13, in ? raise ImportError, why ImportError: Failure linking new module: : dyld: python Undefined symbols: /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyArg_ParseTuple expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCObject_FromVoidPtr expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCallable_Check expected to be defined in the executable /Library/Python/2.3/mx/Date === Has anyone experienced this? Any ideas how to fix it? culley From hanser at club-internet.fr Sat Sep 4 17:13:26 2004 From: hanser at club-internet.fr (Pierre Hanser) Date: Mon Jan 23 20:00:55 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 Message-ID: <4139CD86.6020403@club-internet.fr> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 hello seems that python2.4a3 is not compatible with the optimizations in mx/DateTime/mxDateTime/mxDateTime.c on Linux: from mx import DateTime -> core dump if I disable the optims, everything gets ok /* Define these to have the module use free lists (saves malloc calls) */ #define MXDATETIME_FREELIST #define MXDATETIMEDELTA_FREELIST #undef MXDATETIME_FREELIST #undef MXDATETIMEDELTA_FREELIST - -- Pierre -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBOc2GMQ2/jYUwmmwRAn70AJ4puAZm4p10+KTCK/GzLt20VzWd3ACfQzIo H8hLxq8iCE3KGYZ6AR5QUy8= =GA8t -----END PGP SIGNATURE----- From mal at egenix.com Sun Sep 5 19:53:02 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Mon Jan 23 20:00:55 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 In-Reply-To: <4139CD86.6020403@club-internet.fr> References: <4139CD86.6020403@club-internet.fr> Message-ID: <413B446E.40002@egenix.com> Pierre Hanser wrote: > hello > > seems that python2.4a3 is not compatible with the optimizations in > mx/DateTime/mxDateTime/mxDateTime.c on Linux: > > from mx import DateTime -> core dump > > if I disable the optims, everything gets ok > > /* Define these to have the module use free lists (saves malloc calls) */ > #define MXDATETIME_FREELIST > #define MXDATETIMEDELTA_FREELIST > #undef MXDATETIME_FREELIST > #undef MXDATETIMEDELTA_FREELIST This is more likely due to a bug in your C compiler. -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 05 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From aluton at rcseng.ac.uk Wed Sep 8 12:33:02 2004 From: aluton at rcseng.ac.uk (Alex Luton) Date: Mon Jan 23 20:00:55 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: References: Message-ID: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Hi, I'm trying to get the mxODBC DA working, but the product is broken with this error message: Traceback (most recent call last): File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product product=__import__(pname, global_dict, global_dict, silly) File "Products/mxODBCZopeDA/__init__.py", line 7, in ? File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? Any help would be much appreciated. Thanks -- Alex ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 From mal at egenix.com Wed Sep 8 13:37:44 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Mon Jan 23 20:00:55 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> References: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Message-ID: <413EE0F8.6050601@egenix.com> Alex Luton wrote: > Hi, > > I'm trying to get the mxODBC DA working, but the product is broken with > this error message: > > Traceback (most recent call last): > File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product > product=__import__(pname, global_dict, global_dict, silly) > File "Products/mxODBCZopeDA/__init__.py", line 7, in ? > File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? > ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString > > I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? RedHat chose to build Python with 4-byte Unicode which is causing all sorts of problems with pre-built extensions. We will start shipping UCS4 builds of the Zope DA with the next release. Until then, you can try the pre-release of 1.0.9: http://www.egenix.com/files/python/egenix-mxodbc-zopeda-1.0.9.linux-i686-py2.3ucs4.zip -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 08 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From kl at vsen.dk Sat Sep 11 20:21:57 2004 From: kl at vsen.dk (Klavs Klavsen) Date: Mon Jan 23 20:00:55 2006 Subject: [egenix-users] bufferoverflow in egenix? Message-ID: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Hi guys, Just installed a new gcc with stack-smashing protection - and while recompiling modules with stack-smashing protection, I got this message: -- copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l ib/python2.3/site-packages/mx/Misc copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ python2.3/site-packages/mx/Misc writing byte-compilation script '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: SyntaxWarning: name 'debugging' is use d prior to global declaration python: stack smashing attack in function symtable_node() error: command '/usr/bin/python' terminated by signal 6 !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. !!! Function distutils_src_install, Line 43, Exitcode 1 !!! (no error message) so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes one in python) - I haven't done very much research as I can live without egenix - but just wanted to let you know :) p.s. it's python-2.3.3. -- Regards, Klavs Klavsen, GSEC - kl@vsen.dk - http://www.vsen.dk PGP: 7E063C62/2873 188C 968E 600D D8F8 B8DA 3D3A 0B79 7E06 3C62 "Those who do not understand Unix are condemned to reinvent it, poorly." --Henry Spencer From mal at egenix.com Sat Sep 11 23:51:30 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Mon Jan 23 20:00:55 2006 Subject: [egenix-users] bufferoverflow in egenix? In-Reply-To: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> References: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Message-ID: <41436552.6000906@egenix.com> Klavs Klavsen wrote: > Hi guys, > > Just installed a new gcc with stack-smashing protection - and while > recompiling modules with stack-smashing protection, I got this message: > -- > copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l > ib/python2.3/site-packages/mx/Misc > copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ > python2.3/site-packages/mx/Misc > writing byte-compilation script > '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' > /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py > usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: > SyntaxWarning: name 'debugging' is use > d prior to global declaration This is an error that the Python compiler generated. I'd suggest you report to the Python bug tracker. BTW, pytag.py is no longer used or maintained, so you can safely delete it. > python: stack smashing attack in function symtable_node() > error: command '/usr/bin/python' terminated by signal 6 > > !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. > !!! Function distutils_src_install, Line 43, Exitcode 1 > !!! (no error message) > > so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes > one in python) - I haven't done very much research as I can live without > egenix - but just wanted to let you know :) > > p.s. it's python-2.3.3. Thanks, -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 11 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From harrelson at gmail.com Thu Sep 30 17:48:13 2004 From: harrelson at gmail.com (Culley Harrelson) Date: Mon Jan 23 20:00:55 2006 Subject: [egenix-users] OS X 10.3.5: *** You don't have the (right) mxDateTime binaries installed ! Message-ID: <529825a30409301648507c0cf8@mail.gmail.com> I have successfully installed mxDateTime on my OS X 10.3.5 system, using the system Python installation. It installed but as soon as I try to import the module I get: === *** You don't have the (right) mxDateTime binaries installed ! Traceback (most recent call last): File "./testFeDb.py", line 4, in ? from mx import DateTime File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/__init__.py", line 8, in ? from DateTime import * File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/DateTime.py", line 9, in ? from mxDateTime import * File "/Library/Python/2.3/mx/DateTime/mxDateTime/__init__.py", line 13, in ? raise ImportError, why ImportError: Failure linking new module: : dyld: python Undefined symbols: /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyArg_ParseTuple expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCObject_FromVoidPtr expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCallable_Check expected to be defined in the executable /Library/Python/2.3/mx/Date === Has anyone experienced this? Any ideas how to fix it? culley From hanser at club-internet.fr Sat Sep 4 17:13:26 2004 From: hanser at club-internet.fr (Pierre Hanser) Date: Tue Jan 24 08:03:20 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 Message-ID: <4139CD86.6020403@club-internet.fr> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 hello seems that python2.4a3 is not compatible with the optimizations in mx/DateTime/mxDateTime/mxDateTime.c on Linux: from mx import DateTime -> core dump if I disable the optims, everything gets ok /* Define these to have the module use free lists (saves malloc calls) */ #define MXDATETIME_FREELIST #define MXDATETIMEDELTA_FREELIST #undef MXDATETIME_FREELIST #undef MXDATETIMEDELTA_FREELIST - -- Pierre -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBOc2GMQ2/jYUwmmwRAn70AJ4puAZm4p10+KTCK/GzLt20VzWd3ACfQzIo H8hLxq8iCE3KGYZ6AR5QUy8= =GA8t -----END PGP SIGNATURE----- From mal at egenix.com Sun Sep 5 19:53:02 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Tue Jan 24 08:03:20 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 In-Reply-To: <4139CD86.6020403@club-internet.fr> References: <4139CD86.6020403@club-internet.fr> Message-ID: <413B446E.40002@egenix.com> Pierre Hanser wrote: > hello > > seems that python2.4a3 is not compatible with the optimizations in > mx/DateTime/mxDateTime/mxDateTime.c on Linux: > > from mx import DateTime -> core dump > > if I disable the optims, everything gets ok > > /* Define these to have the module use free lists (saves malloc calls) */ > #define MXDATETIME_FREELIST > #define MXDATETIMEDELTA_FREELIST > #undef MXDATETIME_FREELIST > #undef MXDATETIMEDELTA_FREELIST This is more likely due to a bug in your C compiler. -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 05 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From aluton at rcseng.ac.uk Wed Sep 8 12:33:02 2004 From: aluton at rcseng.ac.uk (Alex Luton) Date: Tue Jan 24 08:03:20 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: References: Message-ID: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Hi, I'm trying to get the mxODBC DA working, but the product is broken with this error message: Traceback (most recent call last): File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product product=__import__(pname, global_dict, global_dict, silly) File "Products/mxODBCZopeDA/__init__.py", line 7, in ? File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? Any help would be much appreciated. Thanks -- Alex ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 From mal at egenix.com Wed Sep 8 13:37:44 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Tue Jan 24 08:03:20 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> References: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Message-ID: <413EE0F8.6050601@egenix.com> Alex Luton wrote: > Hi, > > I'm trying to get the mxODBC DA working, but the product is broken with > this error message: > > Traceback (most recent call last): > File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product > product=__import__(pname, global_dict, global_dict, silly) > File "Products/mxODBCZopeDA/__init__.py", line 7, in ? > File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? > ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString > > I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? RedHat chose to build Python with 4-byte Unicode which is causing all sorts of problems with pre-built extensions. We will start shipping UCS4 builds of the Zope DA with the next release. Until then, you can try the pre-release of 1.0.9: http://www.egenix.com/files/python/egenix-mxodbc-zopeda-1.0.9.linux-i686-py2.3ucs4.zip -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 08 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From kl at vsen.dk Sat Sep 11 20:21:57 2004 From: kl at vsen.dk (Klavs Klavsen) Date: Tue Jan 24 08:03:20 2006 Subject: [egenix-users] bufferoverflow in egenix? Message-ID: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Hi guys, Just installed a new gcc with stack-smashing protection - and while recompiling modules with stack-smashing protection, I got this message: -- copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l ib/python2.3/site-packages/mx/Misc copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ python2.3/site-packages/mx/Misc writing byte-compilation script '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: SyntaxWarning: name 'debugging' is use d prior to global declaration python: stack smashing attack in function symtable_node() error: command '/usr/bin/python' terminated by signal 6 !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. !!! Function distutils_src_install, Line 43, Exitcode 1 !!! (no error message) so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes one in python) - I haven't done very much research as I can live without egenix - but just wanted to let you know :) p.s. it's python-2.3.3. -- Regards, Klavs Klavsen, GSEC - kl@vsen.dk - http://www.vsen.dk PGP: 7E063C62/2873 188C 968E 600D D8F8 B8DA 3D3A 0B79 7E06 3C62 "Those who do not understand Unix are condemned to reinvent it, poorly." --Henry Spencer From mal at egenix.com Sat Sep 11 23:51:30 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Tue Jan 24 08:03:20 2006 Subject: [egenix-users] bufferoverflow in egenix? In-Reply-To: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> References: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Message-ID: <41436552.6000906@egenix.com> Klavs Klavsen wrote: > Hi guys, > > Just installed a new gcc with stack-smashing protection - and while > recompiling modules with stack-smashing protection, I got this message: > -- > copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l > ib/python2.3/site-packages/mx/Misc > copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ > python2.3/site-packages/mx/Misc > writing byte-compilation script > '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' > /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py > usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: > SyntaxWarning: name 'debugging' is use > d prior to global declaration This is an error that the Python compiler generated. I'd suggest you report to the Python bug tracker. BTW, pytag.py is no longer used or maintained, so you can safely delete it. > python: stack smashing attack in function symtable_node() > error: command '/usr/bin/python' terminated by signal 6 > > !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. > !!! Function distutils_src_install, Line 43, Exitcode 1 > !!! (no error message) > > so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes > one in python) - I haven't done very much research as I can live without > egenix - but just wanted to let you know :) > > p.s. it's python-2.3.3. Thanks, -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 11 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From harrelson at gmail.com Thu Sep 30 17:48:13 2004 From: harrelson at gmail.com (Culley Harrelson) Date: Tue Jan 24 08:03:20 2006 Subject: [egenix-users] OS X 10.3.5: *** You don't have the (right) mxDateTime binaries installed ! Message-ID: <529825a30409301648507c0cf8@mail.gmail.com> I have successfully installed mxDateTime on my OS X 10.3.5 system, using the system Python installation. It installed but as soon as I try to import the module I get: === *** You don't have the (right) mxDateTime binaries installed ! Traceback (most recent call last): File "./testFeDb.py", line 4, in ? from mx import DateTime File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/__init__.py", line 8, in ? from DateTime import * File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/DateTime.py", line 9, in ? from mxDateTime import * File "/Library/Python/2.3/mx/DateTime/mxDateTime/__init__.py", line 13, in ? raise ImportError, why ImportError: Failure linking new module: : dyld: python Undefined symbols: /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyArg_ParseTuple expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCObject_FromVoidPtr expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCallable_Check expected to be defined in the executable /Library/Python/2.3/mx/Date === Has anyone experienced this? Any ideas how to fix it? culley From hanser at club-internet.fr Sat Sep 4 17:13:26 2004 From: hanser at club-internet.fr (Pierre Hanser) Date: Tue Jan 24 12:03:13 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 Message-ID: <4139CD86.6020403@club-internet.fr> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 hello seems that python2.4a3 is not compatible with the optimizations in mx/DateTime/mxDateTime/mxDateTime.c on Linux: from mx import DateTime -> core dump if I disable the optims, everything gets ok /* Define these to have the module use free lists (saves malloc calls) */ #define MXDATETIME_FREELIST #define MXDATETIMEDELTA_FREELIST #undef MXDATETIME_FREELIST #undef MXDATETIMEDELTA_FREELIST - -- Pierre -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBOc2GMQ2/jYUwmmwRAn70AJ4puAZm4p10+KTCK/GzLt20VzWd3ACfQzIo H8hLxq8iCE3KGYZ6AR5QUy8= =GA8t -----END PGP SIGNATURE----- From mal at egenix.com Sun Sep 5 19:53:02 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Tue Jan 24 12:03:13 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 In-Reply-To: <4139CD86.6020403@club-internet.fr> References: <4139CD86.6020403@club-internet.fr> Message-ID: <413B446E.40002@egenix.com> Pierre Hanser wrote: > hello > > seems that python2.4a3 is not compatible with the optimizations in > mx/DateTime/mxDateTime/mxDateTime.c on Linux: > > from mx import DateTime -> core dump > > if I disable the optims, everything gets ok > > /* Define these to have the module use free lists (saves malloc calls) */ > #define MXDATETIME_FREELIST > #define MXDATETIMEDELTA_FREELIST > #undef MXDATETIME_FREELIST > #undef MXDATETIMEDELTA_FREELIST This is more likely due to a bug in your C compiler. -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 05 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From aluton at rcseng.ac.uk Wed Sep 8 12:33:02 2004 From: aluton at rcseng.ac.uk (Alex Luton) Date: Tue Jan 24 12:03:13 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: References: Message-ID: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Hi, I'm trying to get the mxODBC DA working, but the product is broken with this error message: Traceback (most recent call last): File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product product=__import__(pname, global_dict, global_dict, silly) File "Products/mxODBCZopeDA/__init__.py", line 7, in ? File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? Any help would be much appreciated. Thanks -- Alex ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 From mal at egenix.com Wed Sep 8 13:37:44 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Tue Jan 24 12:03:13 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> References: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Message-ID: <413EE0F8.6050601@egenix.com> Alex Luton wrote: > Hi, > > I'm trying to get the mxODBC DA working, but the product is broken with > this error message: > > Traceback (most recent call last): > File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product > product=__import__(pname, global_dict, global_dict, silly) > File "Products/mxODBCZopeDA/__init__.py", line 7, in ? > File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? > ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString > > I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? RedHat chose to build Python with 4-byte Unicode which is causing all sorts of problems with pre-built extensions. We will start shipping UCS4 builds of the Zope DA with the next release. Until then, you can try the pre-release of 1.0.9: http://www.egenix.com/files/python/egenix-mxodbc-zopeda-1.0.9.linux-i686-py2.3ucs4.zip -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 08 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From kl at vsen.dk Sat Sep 11 20:21:57 2004 From: kl at vsen.dk (Klavs Klavsen) Date: Tue Jan 24 12:03:13 2006 Subject: [egenix-users] bufferoverflow in egenix? Message-ID: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Hi guys, Just installed a new gcc with stack-smashing protection - and while recompiling modules with stack-smashing protection, I got this message: -- copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l ib/python2.3/site-packages/mx/Misc copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ python2.3/site-packages/mx/Misc writing byte-compilation script '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: SyntaxWarning: name 'debugging' is use d prior to global declaration python: stack smashing attack in function symtable_node() error: command '/usr/bin/python' terminated by signal 6 !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. !!! Function distutils_src_install, Line 43, Exitcode 1 !!! (no error message) so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes one in python) - I haven't done very much research as I can live without egenix - but just wanted to let you know :) p.s. it's python-2.3.3. -- Regards, Klavs Klavsen, GSEC - kl@vsen.dk - http://www.vsen.dk PGP: 7E063C62/2873 188C 968E 600D D8F8 B8DA 3D3A 0B79 7E06 3C62 "Those who do not understand Unix are condemned to reinvent it, poorly." --Henry Spencer From mal at egenix.com Sat Sep 11 23:51:30 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Tue Jan 24 12:03:13 2006 Subject: [egenix-users] bufferoverflow in egenix? In-Reply-To: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> References: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Message-ID: <41436552.6000906@egenix.com> Klavs Klavsen wrote: > Hi guys, > > Just installed a new gcc with stack-smashing protection - and while > recompiling modules with stack-smashing protection, I got this message: > -- > copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l > ib/python2.3/site-packages/mx/Misc > copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ > python2.3/site-packages/mx/Misc > writing byte-compilation script > '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' > /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py > usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: > SyntaxWarning: name 'debugging' is use > d prior to global declaration This is an error that the Python compiler generated. I'd suggest you report to the Python bug tracker. BTW, pytag.py is no longer used or maintained, so you can safely delete it. > python: stack smashing attack in function symtable_node() > error: command '/usr/bin/python' terminated by signal 6 > > !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. > !!! Function distutils_src_install, Line 43, Exitcode 1 > !!! (no error message) > > so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes > one in python) - I haven't done very much research as I can live without > egenix - but just wanted to let you know :) > > p.s. it's python-2.3.3. Thanks, -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 11 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From harrelson at gmail.com Thu Sep 30 17:48:13 2004 From: harrelson at gmail.com (Culley Harrelson) Date: Tue Jan 24 12:03:13 2006 Subject: [egenix-users] OS X 10.3.5: *** You don't have the (right) mxDateTime binaries installed ! Message-ID: <529825a30409301648507c0cf8@mail.gmail.com> I have successfully installed mxDateTime on my OS X 10.3.5 system, using the system Python installation. It installed but as soon as I try to import the module I get: === *** You don't have the (right) mxDateTime binaries installed ! Traceback (most recent call last): File "./testFeDb.py", line 4, in ? from mx import DateTime File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/__init__.py", line 8, in ? from DateTime import * File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/DateTime.py", line 9, in ? from mxDateTime import * File "/Library/Python/2.3/mx/DateTime/mxDateTime/__init__.py", line 13, in ? raise ImportError, why ImportError: Failure linking new module: : dyld: python Undefined symbols: /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyArg_ParseTuple expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCObject_FromVoidPtr expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCallable_Check expected to be defined in the executable /Library/Python/2.3/mx/Date === Has anyone experienced this? Any ideas how to fix it? culley From hanser at club-internet.fr Sat Sep 4 17:13:26 2004 From: hanser at club-internet.fr (Pierre Hanser) Date: Tue Jan 24 16:01:30 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 Message-ID: <4139CD86.6020403@club-internet.fr> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 hello seems that python2.4a3 is not compatible with the optimizations in mx/DateTime/mxDateTime/mxDateTime.c on Linux: from mx import DateTime -> core dump if I disable the optims, everything gets ok /* Define these to have the module use free lists (saves malloc calls) */ #define MXDATETIME_FREELIST #define MXDATETIMEDELTA_FREELIST #undef MXDATETIME_FREELIST #undef MXDATETIMEDELTA_FREELIST - -- Pierre -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBOc2GMQ2/jYUwmmwRAn70AJ4puAZm4p10+KTCK/GzLt20VzWd3ACfQzIo H8hLxq8iCE3KGYZ6AR5QUy8= =GA8t -----END PGP SIGNATURE----- From mal at egenix.com Sun Sep 5 19:53:02 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Tue Jan 24 16:01:30 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 In-Reply-To: <4139CD86.6020403@club-internet.fr> References: <4139CD86.6020403@club-internet.fr> Message-ID: <413B446E.40002@egenix.com> Pierre Hanser wrote: > hello > > seems that python2.4a3 is not compatible with the optimizations in > mx/DateTime/mxDateTime/mxDateTime.c on Linux: > > from mx import DateTime -> core dump > > if I disable the optims, everything gets ok > > /* Define these to have the module use free lists (saves malloc calls) */ > #define MXDATETIME_FREELIST > #define MXDATETIMEDELTA_FREELIST > #undef MXDATETIME_FREELIST > #undef MXDATETIMEDELTA_FREELIST This is more likely due to a bug in your C compiler. -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 05 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From aluton at rcseng.ac.uk Wed Sep 8 12:33:02 2004 From: aluton at rcseng.ac.uk (Alex Luton) Date: Tue Jan 24 16:01:30 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: References: Message-ID: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Hi, I'm trying to get the mxODBC DA working, but the product is broken with this error message: Traceback (most recent call last): File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product product=__import__(pname, global_dict, global_dict, silly) File "Products/mxODBCZopeDA/__init__.py", line 7, in ? File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? Any help would be much appreciated. Thanks -- Alex ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 From mal at egenix.com Wed Sep 8 13:37:44 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Tue Jan 24 16:01:30 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> References: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Message-ID: <413EE0F8.6050601@egenix.com> Alex Luton wrote: > Hi, > > I'm trying to get the mxODBC DA working, but the product is broken with > this error message: > > Traceback (most recent call last): > File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product > product=__import__(pname, global_dict, global_dict, silly) > File "Products/mxODBCZopeDA/__init__.py", line 7, in ? > File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? > ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString > > I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? RedHat chose to build Python with 4-byte Unicode which is causing all sorts of problems with pre-built extensions. We will start shipping UCS4 builds of the Zope DA with the next release. Until then, you can try the pre-release of 1.0.9: http://www.egenix.com/files/python/egenix-mxodbc-zopeda-1.0.9.linux-i686-py2.3ucs4.zip -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 08 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From kl at vsen.dk Sat Sep 11 20:21:57 2004 From: kl at vsen.dk (Klavs Klavsen) Date: Tue Jan 24 16:01:30 2006 Subject: [egenix-users] bufferoverflow in egenix? Message-ID: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Hi guys, Just installed a new gcc with stack-smashing protection - and while recompiling modules with stack-smashing protection, I got this message: -- copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l ib/python2.3/site-packages/mx/Misc copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ python2.3/site-packages/mx/Misc writing byte-compilation script '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: SyntaxWarning: name 'debugging' is use d prior to global declaration python: stack smashing attack in function symtable_node() error: command '/usr/bin/python' terminated by signal 6 !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. !!! Function distutils_src_install, Line 43, Exitcode 1 !!! (no error message) so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes one in python) - I haven't done very much research as I can live without egenix - but just wanted to let you know :) p.s. it's python-2.3.3. -- Regards, Klavs Klavsen, GSEC - kl@vsen.dk - http://www.vsen.dk PGP: 7E063C62/2873 188C 968E 600D D8F8 B8DA 3D3A 0B79 7E06 3C62 "Those who do not understand Unix are condemned to reinvent it, poorly." --Henry Spencer From mal at egenix.com Sat Sep 11 23:51:30 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Tue Jan 24 16:01:30 2006 Subject: [egenix-users] bufferoverflow in egenix? In-Reply-To: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> References: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Message-ID: <41436552.6000906@egenix.com> Klavs Klavsen wrote: > Hi guys, > > Just installed a new gcc with stack-smashing protection - and while > recompiling modules with stack-smashing protection, I got this message: > -- > copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l > ib/python2.3/site-packages/mx/Misc > copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ > python2.3/site-packages/mx/Misc > writing byte-compilation script > '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' > /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py > usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: > SyntaxWarning: name 'debugging' is use > d prior to global declaration This is an error that the Python compiler generated. I'd suggest you report to the Python bug tracker. BTW, pytag.py is no longer used or maintained, so you can safely delete it. > python: stack smashing attack in function symtable_node() > error: command '/usr/bin/python' terminated by signal 6 > > !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. > !!! Function distutils_src_install, Line 43, Exitcode 1 > !!! (no error message) > > so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes > one in python) - I haven't done very much research as I can live without > egenix - but just wanted to let you know :) > > p.s. it's python-2.3.3. Thanks, -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 11 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From harrelson at gmail.com Thu Sep 30 17:48:13 2004 From: harrelson at gmail.com (Culley Harrelson) Date: Tue Jan 24 16:01:30 2006 Subject: [egenix-users] OS X 10.3.5: *** You don't have the (right) mxDateTime binaries installed ! Message-ID: <529825a30409301648507c0cf8@mail.gmail.com> I have successfully installed mxDateTime on my OS X 10.3.5 system, using the system Python installation. It installed but as soon as I try to import the module I get: === *** You don't have the (right) mxDateTime binaries installed ! Traceback (most recent call last): File "./testFeDb.py", line 4, in ? from mx import DateTime File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/__init__.py", line 8, in ? from DateTime import * File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/DateTime.py", line 9, in ? from mxDateTime import * File "/Library/Python/2.3/mx/DateTime/mxDateTime/__init__.py", line 13, in ? raise ImportError, why ImportError: Failure linking new module: : dyld: python Undefined symbols: /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyArg_ParseTuple expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCObject_FromVoidPtr expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCallable_Check expected to be defined in the executable /Library/Python/2.3/mx/Date === Has anyone experienced this? Any ideas how to fix it? culley From hanser at club-internet.fr Sat Sep 4 17:13:26 2004 From: hanser at club-internet.fr (Pierre Hanser) Date: Tue Jan 24 20:02:00 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 Message-ID: <4139CD86.6020403@club-internet.fr> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 hello seems that python2.4a3 is not compatible with the optimizations in mx/DateTime/mxDateTime/mxDateTime.c on Linux: from mx import DateTime -> core dump if I disable the optims, everything gets ok /* Define these to have the module use free lists (saves malloc calls) */ #define MXDATETIME_FREELIST #define MXDATETIMEDELTA_FREELIST #undef MXDATETIME_FREELIST #undef MXDATETIMEDELTA_FREELIST - -- Pierre -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBOc2GMQ2/jYUwmmwRAn70AJ4puAZm4p10+KTCK/GzLt20VzWd3ACfQzIo H8hLxq8iCE3KGYZ6AR5QUy8= =GA8t -----END PGP SIGNATURE----- From mal at egenix.com Sun Sep 5 19:53:02 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Tue Jan 24 20:02:00 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 In-Reply-To: <4139CD86.6020403@club-internet.fr> References: <4139CD86.6020403@club-internet.fr> Message-ID: <413B446E.40002@egenix.com> Pierre Hanser wrote: > hello > > seems that python2.4a3 is not compatible with the optimizations in > mx/DateTime/mxDateTime/mxDateTime.c on Linux: > > from mx import DateTime -> core dump > > if I disable the optims, everything gets ok > > /* Define these to have the module use free lists (saves malloc calls) */ > #define MXDATETIME_FREELIST > #define MXDATETIMEDELTA_FREELIST > #undef MXDATETIME_FREELIST > #undef MXDATETIMEDELTA_FREELIST This is more likely due to a bug in your C compiler. -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 05 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From aluton at rcseng.ac.uk Wed Sep 8 12:33:02 2004 From: aluton at rcseng.ac.uk (Alex Luton) Date: Tue Jan 24 20:02:00 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: References: Message-ID: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Hi, I'm trying to get the mxODBC DA working, but the product is broken with this error message: Traceback (most recent call last): File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product product=__import__(pname, global_dict, global_dict, silly) File "Products/mxODBCZopeDA/__init__.py", line 7, in ? File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? Any help would be much appreciated. Thanks -- Alex ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 From mal at egenix.com Wed Sep 8 13:37:44 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Tue Jan 24 20:02:00 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> References: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Message-ID: <413EE0F8.6050601@egenix.com> Alex Luton wrote: > Hi, > > I'm trying to get the mxODBC DA working, but the product is broken with > this error message: > > Traceback (most recent call last): > File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product > product=__import__(pname, global_dict, global_dict, silly) > File "Products/mxODBCZopeDA/__init__.py", line 7, in ? > File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? > ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString > > I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? RedHat chose to build Python with 4-byte Unicode which is causing all sorts of problems with pre-built extensions. We will start shipping UCS4 builds of the Zope DA with the next release. Until then, you can try the pre-release of 1.0.9: http://www.egenix.com/files/python/egenix-mxodbc-zopeda-1.0.9.linux-i686-py2.3ucs4.zip -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 08 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From kl at vsen.dk Sat Sep 11 20:21:57 2004 From: kl at vsen.dk (Klavs Klavsen) Date: Tue Jan 24 20:02:00 2006 Subject: [egenix-users] bufferoverflow in egenix? Message-ID: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Hi guys, Just installed a new gcc with stack-smashing protection - and while recompiling modules with stack-smashing protection, I got this message: -- copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l ib/python2.3/site-packages/mx/Misc copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ python2.3/site-packages/mx/Misc writing byte-compilation script '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: SyntaxWarning: name 'debugging' is use d prior to global declaration python: stack smashing attack in function symtable_node() error: command '/usr/bin/python' terminated by signal 6 !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. !!! Function distutils_src_install, Line 43, Exitcode 1 !!! (no error message) so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes one in python) - I haven't done very much research as I can live without egenix - but just wanted to let you know :) p.s. it's python-2.3.3. -- Regards, Klavs Klavsen, GSEC - kl@vsen.dk - http://www.vsen.dk PGP: 7E063C62/2873 188C 968E 600D D8F8 B8DA 3D3A 0B79 7E06 3C62 "Those who do not understand Unix are condemned to reinvent it, poorly." --Henry Spencer From mal at egenix.com Sat Sep 11 23:51:30 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Tue Jan 24 20:02:00 2006 Subject: [egenix-users] bufferoverflow in egenix? In-Reply-To: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> References: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Message-ID: <41436552.6000906@egenix.com> Klavs Klavsen wrote: > Hi guys, > > Just installed a new gcc with stack-smashing protection - and while > recompiling modules with stack-smashing protection, I got this message: > -- > copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l > ib/python2.3/site-packages/mx/Misc > copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ > python2.3/site-packages/mx/Misc > writing byte-compilation script > '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' > /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py > usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: > SyntaxWarning: name 'debugging' is use > d prior to global declaration This is an error that the Python compiler generated. I'd suggest you report to the Python bug tracker. BTW, pytag.py is no longer used or maintained, so you can safely delete it. > python: stack smashing attack in function symtable_node() > error: command '/usr/bin/python' terminated by signal 6 > > !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. > !!! Function distutils_src_install, Line 43, Exitcode 1 > !!! (no error message) > > so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes > one in python) - I haven't done very much research as I can live without > egenix - but just wanted to let you know :) > > p.s. it's python-2.3.3. Thanks, -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 11 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From harrelson at gmail.com Thu Sep 30 17:48:13 2004 From: harrelson at gmail.com (Culley Harrelson) Date: Tue Jan 24 20:02:00 2006 Subject: [egenix-users] OS X 10.3.5: *** You don't have the (right) mxDateTime binaries installed ! Message-ID: <529825a30409301648507c0cf8@mail.gmail.com> I have successfully installed mxDateTime on my OS X 10.3.5 system, using the system Python installation. It installed but as soon as I try to import the module I get: === *** You don't have the (right) mxDateTime binaries installed ! Traceback (most recent call last): File "./testFeDb.py", line 4, in ? from mx import DateTime File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/__init__.py", line 8, in ? from DateTime import * File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/DateTime.py", line 9, in ? from mxDateTime import * File "/Library/Python/2.3/mx/DateTime/mxDateTime/__init__.py", line 13, in ? raise ImportError, why ImportError: Failure linking new module: : dyld: python Undefined symbols: /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyArg_ParseTuple expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCObject_FromVoidPtr expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCallable_Check expected to be defined in the executable /Library/Python/2.3/mx/Date === Has anyone experienced this? Any ideas how to fix it? culley From hanser at club-internet.fr Sat Sep 4 17:13:26 2004 From: hanser at club-internet.fr (Pierre Hanser) Date: Wed Jan 25 08:02:08 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 Message-ID: <4139CD86.6020403@club-internet.fr> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 hello seems that python2.4a3 is not compatible with the optimizations in mx/DateTime/mxDateTime/mxDateTime.c on Linux: from mx import DateTime -> core dump if I disable the optims, everything gets ok /* Define these to have the module use free lists (saves malloc calls) */ #define MXDATETIME_FREELIST #define MXDATETIMEDELTA_FREELIST #undef MXDATETIME_FREELIST #undef MXDATETIMEDELTA_FREELIST - -- Pierre -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBOc2GMQ2/jYUwmmwRAn70AJ4puAZm4p10+KTCK/GzLt20VzWd3ACfQzIo H8hLxq8iCE3KGYZ6AR5QUy8= =GA8t -----END PGP SIGNATURE----- From mal at egenix.com Sun Sep 5 19:53:02 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Wed Jan 25 08:02:08 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 In-Reply-To: <4139CD86.6020403@club-internet.fr> References: <4139CD86.6020403@club-internet.fr> Message-ID: <413B446E.40002@egenix.com> Pierre Hanser wrote: > hello > > seems that python2.4a3 is not compatible with the optimizations in > mx/DateTime/mxDateTime/mxDateTime.c on Linux: > > from mx import DateTime -> core dump > > if I disable the optims, everything gets ok > > /* Define these to have the module use free lists (saves malloc calls) */ > #define MXDATETIME_FREELIST > #define MXDATETIMEDELTA_FREELIST > #undef MXDATETIME_FREELIST > #undef MXDATETIMEDELTA_FREELIST This is more likely due to a bug in your C compiler. -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 05 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From aluton at rcseng.ac.uk Wed Sep 8 12:33:02 2004 From: aluton at rcseng.ac.uk (Alex Luton) Date: Wed Jan 25 08:02:08 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: References: Message-ID: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Hi, I'm trying to get the mxODBC DA working, but the product is broken with this error message: Traceback (most recent call last): File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product product=__import__(pname, global_dict, global_dict, silly) File "Products/mxODBCZopeDA/__init__.py", line 7, in ? File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? Any help would be much appreciated. Thanks -- Alex ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 From mal at egenix.com Wed Sep 8 13:37:44 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Wed Jan 25 08:02:08 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> References: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Message-ID: <413EE0F8.6050601@egenix.com> Alex Luton wrote: > Hi, > > I'm trying to get the mxODBC DA working, but the product is broken with > this error message: > > Traceback (most recent call last): > File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product > product=__import__(pname, global_dict, global_dict, silly) > File "Products/mxODBCZopeDA/__init__.py", line 7, in ? > File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? > ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString > > I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? RedHat chose to build Python with 4-byte Unicode which is causing all sorts of problems with pre-built extensions. We will start shipping UCS4 builds of the Zope DA with the next release. Until then, you can try the pre-release of 1.0.9: http://www.egenix.com/files/python/egenix-mxodbc-zopeda-1.0.9.linux-i686-py2.3ucs4.zip -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 08 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From kl at vsen.dk Sat Sep 11 20:21:57 2004 From: kl at vsen.dk (Klavs Klavsen) Date: Wed Jan 25 08:02:08 2006 Subject: [egenix-users] bufferoverflow in egenix? Message-ID: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Hi guys, Just installed a new gcc with stack-smashing protection - and while recompiling modules with stack-smashing protection, I got this message: -- copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l ib/python2.3/site-packages/mx/Misc copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ python2.3/site-packages/mx/Misc writing byte-compilation script '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: SyntaxWarning: name 'debugging' is use d prior to global declaration python: stack smashing attack in function symtable_node() error: command '/usr/bin/python' terminated by signal 6 !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. !!! Function distutils_src_install, Line 43, Exitcode 1 !!! (no error message) so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes one in python) - I haven't done very much research as I can live without egenix - but just wanted to let you know :) p.s. it's python-2.3.3. -- Regards, Klavs Klavsen, GSEC - kl@vsen.dk - http://www.vsen.dk PGP: 7E063C62/2873 188C 968E 600D D8F8 B8DA 3D3A 0B79 7E06 3C62 "Those who do not understand Unix are condemned to reinvent it, poorly." --Henry Spencer From mal at egenix.com Sat Sep 11 23:51:30 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Wed Jan 25 08:02:08 2006 Subject: [egenix-users] bufferoverflow in egenix? In-Reply-To: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> References: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Message-ID: <41436552.6000906@egenix.com> Klavs Klavsen wrote: > Hi guys, > > Just installed a new gcc with stack-smashing protection - and while > recompiling modules with stack-smashing protection, I got this message: > -- > copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l > ib/python2.3/site-packages/mx/Misc > copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ > python2.3/site-packages/mx/Misc > writing byte-compilation script > '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' > /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py > usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: > SyntaxWarning: name 'debugging' is use > d prior to global declaration This is an error that the Python compiler generated. I'd suggest you report to the Python bug tracker. BTW, pytag.py is no longer used or maintained, so you can safely delete it. > python: stack smashing attack in function symtable_node() > error: command '/usr/bin/python' terminated by signal 6 > > !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. > !!! Function distutils_src_install, Line 43, Exitcode 1 > !!! (no error message) > > so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes > one in python) - I haven't done very much research as I can live without > egenix - but just wanted to let you know :) > > p.s. it's python-2.3.3. Thanks, -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 11 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From harrelson at gmail.com Thu Sep 30 17:48:13 2004 From: harrelson at gmail.com (Culley Harrelson) Date: Wed Jan 25 08:02:08 2006 Subject: [egenix-users] OS X 10.3.5: *** You don't have the (right) mxDateTime binaries installed ! Message-ID: <529825a30409301648507c0cf8@mail.gmail.com> I have successfully installed mxDateTime on my OS X 10.3.5 system, using the system Python installation. It installed but as soon as I try to import the module I get: === *** You don't have the (right) mxDateTime binaries installed ! Traceback (most recent call last): File "./testFeDb.py", line 4, in ? from mx import DateTime File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/__init__.py", line 8, in ? from DateTime import * File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/DateTime.py", line 9, in ? from mxDateTime import * File "/Library/Python/2.3/mx/DateTime/mxDateTime/__init__.py", line 13, in ? raise ImportError, why ImportError: Failure linking new module: : dyld: python Undefined symbols: /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyArg_ParseTuple expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCObject_FromVoidPtr expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCallable_Check expected to be defined in the executable /Library/Python/2.3/mx/Date === Has anyone experienced this? Any ideas how to fix it? culley From hanser at club-internet.fr Sat Sep 4 17:13:26 2004 From: hanser at club-internet.fr (Pierre Hanser) Date: Wed Jan 25 12:01:09 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 Message-ID: <4139CD86.6020403@club-internet.fr> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 hello seems that python2.4a3 is not compatible with the optimizations in mx/DateTime/mxDateTime/mxDateTime.c on Linux: from mx import DateTime -> core dump if I disable the optims, everything gets ok /* Define these to have the module use free lists (saves malloc calls) */ #define MXDATETIME_FREELIST #define MXDATETIMEDELTA_FREELIST #undef MXDATETIME_FREELIST #undef MXDATETIMEDELTA_FREELIST - -- Pierre -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBOc2GMQ2/jYUwmmwRAn70AJ4puAZm4p10+KTCK/GzLt20VzWd3ACfQzIo H8hLxq8iCE3KGYZ6AR5QUy8= =GA8t -----END PGP SIGNATURE----- From mal at egenix.com Sun Sep 5 19:53:02 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Wed Jan 25 12:01:09 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 In-Reply-To: <4139CD86.6020403@club-internet.fr> References: <4139CD86.6020403@club-internet.fr> Message-ID: <413B446E.40002@egenix.com> Pierre Hanser wrote: > hello > > seems that python2.4a3 is not compatible with the optimizations in > mx/DateTime/mxDateTime/mxDateTime.c on Linux: > > from mx import DateTime -> core dump > > if I disable the optims, everything gets ok > > /* Define these to have the module use free lists (saves malloc calls) */ > #define MXDATETIME_FREELIST > #define MXDATETIMEDELTA_FREELIST > #undef MXDATETIME_FREELIST > #undef MXDATETIMEDELTA_FREELIST This is more likely due to a bug in your C compiler. -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 05 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From aluton at rcseng.ac.uk Wed Sep 8 12:33:02 2004 From: aluton at rcseng.ac.uk (Alex Luton) Date: Wed Jan 25 12:01:09 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: References: Message-ID: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Hi, I'm trying to get the mxODBC DA working, but the product is broken with this error message: Traceback (most recent call last): File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product product=__import__(pname, global_dict, global_dict, silly) File "Products/mxODBCZopeDA/__init__.py", line 7, in ? File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? Any help would be much appreciated. Thanks -- Alex ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 From mal at egenix.com Wed Sep 8 13:37:44 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Wed Jan 25 12:01:09 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> References: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Message-ID: <413EE0F8.6050601@egenix.com> Alex Luton wrote: > Hi, > > I'm trying to get the mxODBC DA working, but the product is broken with > this error message: > > Traceback (most recent call last): > File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product > product=__import__(pname, global_dict, global_dict, silly) > File "Products/mxODBCZopeDA/__init__.py", line 7, in ? > File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? > ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString > > I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? RedHat chose to build Python with 4-byte Unicode which is causing all sorts of problems with pre-built extensions. We will start shipping UCS4 builds of the Zope DA with the next release. Until then, you can try the pre-release of 1.0.9: http://www.egenix.com/files/python/egenix-mxodbc-zopeda-1.0.9.linux-i686-py2.3ucs4.zip -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 08 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From kl at vsen.dk Sat Sep 11 20:21:57 2004 From: kl at vsen.dk (Klavs Klavsen) Date: Wed Jan 25 12:01:09 2006 Subject: [egenix-users] bufferoverflow in egenix? Message-ID: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Hi guys, Just installed a new gcc with stack-smashing protection - and while recompiling modules with stack-smashing protection, I got this message: -- copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l ib/python2.3/site-packages/mx/Misc copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ python2.3/site-packages/mx/Misc writing byte-compilation script '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: SyntaxWarning: name 'debugging' is use d prior to global declaration python: stack smashing attack in function symtable_node() error: command '/usr/bin/python' terminated by signal 6 !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. !!! Function distutils_src_install, Line 43, Exitcode 1 !!! (no error message) so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes one in python) - I haven't done very much research as I can live without egenix - but just wanted to let you know :) p.s. it's python-2.3.3. -- Regards, Klavs Klavsen, GSEC - kl@vsen.dk - http://www.vsen.dk PGP: 7E063C62/2873 188C 968E 600D D8F8 B8DA 3D3A 0B79 7E06 3C62 "Those who do not understand Unix are condemned to reinvent it, poorly." --Henry Spencer From mal at egenix.com Sat Sep 11 23:51:30 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Wed Jan 25 12:01:09 2006 Subject: [egenix-users] bufferoverflow in egenix? In-Reply-To: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> References: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Message-ID: <41436552.6000906@egenix.com> Klavs Klavsen wrote: > Hi guys, > > Just installed a new gcc with stack-smashing protection - and while > recompiling modules with stack-smashing protection, I got this message: > -- > copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l > ib/python2.3/site-packages/mx/Misc > copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ > python2.3/site-packages/mx/Misc > writing byte-compilation script > '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' > /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py > usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: > SyntaxWarning: name 'debugging' is use > d prior to global declaration This is an error that the Python compiler generated. I'd suggest you report to the Python bug tracker. BTW, pytag.py is no longer used or maintained, so you can safely delete it. > python: stack smashing attack in function symtable_node() > error: command '/usr/bin/python' terminated by signal 6 > > !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. > !!! Function distutils_src_install, Line 43, Exitcode 1 > !!! (no error message) > > so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes > one in python) - I haven't done very much research as I can live without > egenix - but just wanted to let you know :) > > p.s. it's python-2.3.3. Thanks, -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 11 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From harrelson at gmail.com Thu Sep 30 17:48:13 2004 From: harrelson at gmail.com (Culley Harrelson) Date: Wed Jan 25 12:01:09 2006 Subject: [egenix-users] OS X 10.3.5: *** You don't have the (right) mxDateTime binaries installed ! Message-ID: <529825a30409301648507c0cf8@mail.gmail.com> I have successfully installed mxDateTime on my OS X 10.3.5 system, using the system Python installation. It installed but as soon as I try to import the module I get: === *** You don't have the (right) mxDateTime binaries installed ! Traceback (most recent call last): File "./testFeDb.py", line 4, in ? from mx import DateTime File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/__init__.py", line 8, in ? from DateTime import * File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/DateTime.py", line 9, in ? from mxDateTime import * File "/Library/Python/2.3/mx/DateTime/mxDateTime/__init__.py", line 13, in ? raise ImportError, why ImportError: Failure linking new module: : dyld: python Undefined symbols: /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyArg_ParseTuple expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCObject_FromVoidPtr expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCallable_Check expected to be defined in the executable /Library/Python/2.3/mx/Date === Has anyone experienced this? Any ideas how to fix it? culley From hanser at club-internet.fr Sat Sep 4 17:13:26 2004 From: hanser at club-internet.fr (Pierre Hanser) Date: Wed Jan 25 16:01:04 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 Message-ID: <4139CD86.6020403@club-internet.fr> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 hello seems that python2.4a3 is not compatible with the optimizations in mx/DateTime/mxDateTime/mxDateTime.c on Linux: from mx import DateTime -> core dump if I disable the optims, everything gets ok /* Define these to have the module use free lists (saves malloc calls) */ #define MXDATETIME_FREELIST #define MXDATETIMEDELTA_FREELIST #undef MXDATETIME_FREELIST #undef MXDATETIMEDELTA_FREELIST - -- Pierre -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBOc2GMQ2/jYUwmmwRAn70AJ4puAZm4p10+KTCK/GzLt20VzWd3ACfQzIo H8hLxq8iCE3KGYZ6AR5QUy8= =GA8t -----END PGP SIGNATURE----- From mal at egenix.com Sun Sep 5 19:53:02 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Wed Jan 25 16:01:04 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 In-Reply-To: <4139CD86.6020403@club-internet.fr> References: <4139CD86.6020403@club-internet.fr> Message-ID: <413B446E.40002@egenix.com> Pierre Hanser wrote: > hello > > seems that python2.4a3 is not compatible with the optimizations in > mx/DateTime/mxDateTime/mxDateTime.c on Linux: > > from mx import DateTime -> core dump > > if I disable the optims, everything gets ok > > /* Define these to have the module use free lists (saves malloc calls) */ > #define MXDATETIME_FREELIST > #define MXDATETIMEDELTA_FREELIST > #undef MXDATETIME_FREELIST > #undef MXDATETIMEDELTA_FREELIST This is more likely due to a bug in your C compiler. -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 05 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From aluton at rcseng.ac.uk Wed Sep 8 12:33:02 2004 From: aluton at rcseng.ac.uk (Alex Luton) Date: Wed Jan 25 16:01:04 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: References: Message-ID: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Hi, I'm trying to get the mxODBC DA working, but the product is broken with this error message: Traceback (most recent call last): File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product product=__import__(pname, global_dict, global_dict, silly) File "Products/mxODBCZopeDA/__init__.py", line 7, in ? File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? Any help would be much appreciated. Thanks -- Alex ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 From mal at egenix.com Wed Sep 8 13:37:44 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Wed Jan 25 16:01:04 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> References: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Message-ID: <413EE0F8.6050601@egenix.com> Alex Luton wrote: > Hi, > > I'm trying to get the mxODBC DA working, but the product is broken with > this error message: > > Traceback (most recent call last): > File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product > product=__import__(pname, global_dict, global_dict, silly) > File "Products/mxODBCZopeDA/__init__.py", line 7, in ? > File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? > ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString > > I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? RedHat chose to build Python with 4-byte Unicode which is causing all sorts of problems with pre-built extensions. We will start shipping UCS4 builds of the Zope DA with the next release. Until then, you can try the pre-release of 1.0.9: http://www.egenix.com/files/python/egenix-mxodbc-zopeda-1.0.9.linux-i686-py2.3ucs4.zip -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 08 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From kl at vsen.dk Sat Sep 11 20:21:57 2004 From: kl at vsen.dk (Klavs Klavsen) Date: Wed Jan 25 16:01:04 2006 Subject: [egenix-users] bufferoverflow in egenix? Message-ID: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Hi guys, Just installed a new gcc with stack-smashing protection - and while recompiling modules with stack-smashing protection, I got this message: -- copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l ib/python2.3/site-packages/mx/Misc copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ python2.3/site-packages/mx/Misc writing byte-compilation script '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: SyntaxWarning: name 'debugging' is use d prior to global declaration python: stack smashing attack in function symtable_node() error: command '/usr/bin/python' terminated by signal 6 !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. !!! Function distutils_src_install, Line 43, Exitcode 1 !!! (no error message) so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes one in python) - I haven't done very much research as I can live without egenix - but just wanted to let you know :) p.s. it's python-2.3.3. -- Regards, Klavs Klavsen, GSEC - kl@vsen.dk - http://www.vsen.dk PGP: 7E063C62/2873 188C 968E 600D D8F8 B8DA 3D3A 0B79 7E06 3C62 "Those who do not understand Unix are condemned to reinvent it, poorly." --Henry Spencer From mal at egenix.com Sat Sep 11 23:51:30 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Wed Jan 25 16:01:04 2006 Subject: [egenix-users] bufferoverflow in egenix? In-Reply-To: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> References: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Message-ID: <41436552.6000906@egenix.com> Klavs Klavsen wrote: > Hi guys, > > Just installed a new gcc with stack-smashing protection - and while > recompiling modules with stack-smashing protection, I got this message: > -- > copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l > ib/python2.3/site-packages/mx/Misc > copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ > python2.3/site-packages/mx/Misc > writing byte-compilation script > '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' > /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py > usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: > SyntaxWarning: name 'debugging' is use > d prior to global declaration This is an error that the Python compiler generated. I'd suggest you report to the Python bug tracker. BTW, pytag.py is no longer used or maintained, so you can safely delete it. > python: stack smashing attack in function symtable_node() > error: command '/usr/bin/python' terminated by signal 6 > > !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. > !!! Function distutils_src_install, Line 43, Exitcode 1 > !!! (no error message) > > so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes > one in python) - I haven't done very much research as I can live without > egenix - but just wanted to let you know :) > > p.s. it's python-2.3.3. Thanks, -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 11 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From harrelson at gmail.com Thu Sep 30 17:48:13 2004 From: harrelson at gmail.com (Culley Harrelson) Date: Wed Jan 25 16:01:04 2006 Subject: [egenix-users] OS X 10.3.5: *** You don't have the (right) mxDateTime binaries installed ! Message-ID: <529825a30409301648507c0cf8@mail.gmail.com> I have successfully installed mxDateTime on my OS X 10.3.5 system, using the system Python installation. It installed but as soon as I try to import the module I get: === *** You don't have the (right) mxDateTime binaries installed ! Traceback (most recent call last): File "./testFeDb.py", line 4, in ? from mx import DateTime File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/__init__.py", line 8, in ? from DateTime import * File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/DateTime.py", line 9, in ? from mxDateTime import * File "/Library/Python/2.3/mx/DateTime/mxDateTime/__init__.py", line 13, in ? raise ImportError, why ImportError: Failure linking new module: : dyld: python Undefined symbols: /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyArg_ParseTuple expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCObject_FromVoidPtr expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCallable_Check expected to be defined in the executable /Library/Python/2.3/mx/Date === Has anyone experienced this? Any ideas how to fix it? culley From hanser at club-internet.fr Sat Sep 4 17:13:26 2004 From: hanser at club-internet.fr (Pierre Hanser) Date: Wed Jan 25 20:01:00 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 Message-ID: <4139CD86.6020403@club-internet.fr> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 hello seems that python2.4a3 is not compatible with the optimizations in mx/DateTime/mxDateTime/mxDateTime.c on Linux: from mx import DateTime -> core dump if I disable the optims, everything gets ok /* Define these to have the module use free lists (saves malloc calls) */ #define MXDATETIME_FREELIST #define MXDATETIMEDELTA_FREELIST #undef MXDATETIME_FREELIST #undef MXDATETIMEDELTA_FREELIST - -- Pierre -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBOc2GMQ2/jYUwmmwRAn70AJ4puAZm4p10+KTCK/GzLt20VzWd3ACfQzIo H8hLxq8iCE3KGYZ6AR5QUy8= =GA8t -----END PGP SIGNATURE----- From mal at egenix.com Sun Sep 5 19:53:02 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Wed Jan 25 20:01:00 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 In-Reply-To: <4139CD86.6020403@club-internet.fr> References: <4139CD86.6020403@club-internet.fr> Message-ID: <413B446E.40002@egenix.com> Pierre Hanser wrote: > hello > > seems that python2.4a3 is not compatible with the optimizations in > mx/DateTime/mxDateTime/mxDateTime.c on Linux: > > from mx import DateTime -> core dump > > if I disable the optims, everything gets ok > > /* Define these to have the module use free lists (saves malloc calls) */ > #define MXDATETIME_FREELIST > #define MXDATETIMEDELTA_FREELIST > #undef MXDATETIME_FREELIST > #undef MXDATETIMEDELTA_FREELIST This is more likely due to a bug in your C compiler. -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 05 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From aluton at rcseng.ac.uk Wed Sep 8 12:33:02 2004 From: aluton at rcseng.ac.uk (Alex Luton) Date: Wed Jan 25 20:01:00 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: References: Message-ID: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Hi, I'm trying to get the mxODBC DA working, but the product is broken with this error message: Traceback (most recent call last): File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product product=__import__(pname, global_dict, global_dict, silly) File "Products/mxODBCZopeDA/__init__.py", line 7, in ? File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? Any help would be much appreciated. Thanks -- Alex ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 From mal at egenix.com Wed Sep 8 13:37:44 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Wed Jan 25 20:01:00 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> References: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Message-ID: <413EE0F8.6050601@egenix.com> Alex Luton wrote: > Hi, > > I'm trying to get the mxODBC DA working, but the product is broken with > this error message: > > Traceback (most recent call last): > File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product > product=__import__(pname, global_dict, global_dict, silly) > File "Products/mxODBCZopeDA/__init__.py", line 7, in ? > File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? > ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString > > I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? RedHat chose to build Python with 4-byte Unicode which is causing all sorts of problems with pre-built extensions. We will start shipping UCS4 builds of the Zope DA with the next release. Until then, you can try the pre-release of 1.0.9: http://www.egenix.com/files/python/egenix-mxodbc-zopeda-1.0.9.linux-i686-py2.3ucs4.zip -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 08 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From kl at vsen.dk Sat Sep 11 20:21:57 2004 From: kl at vsen.dk (Klavs Klavsen) Date: Wed Jan 25 20:01:00 2006 Subject: [egenix-users] bufferoverflow in egenix? Message-ID: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Hi guys, Just installed a new gcc with stack-smashing protection - and while recompiling modules with stack-smashing protection, I got this message: -- copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l ib/python2.3/site-packages/mx/Misc copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ python2.3/site-packages/mx/Misc writing byte-compilation script '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: SyntaxWarning: name 'debugging' is use d prior to global declaration python: stack smashing attack in function symtable_node() error: command '/usr/bin/python' terminated by signal 6 !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. !!! Function distutils_src_install, Line 43, Exitcode 1 !!! (no error message) so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes one in python) - I haven't done very much research as I can live without egenix - but just wanted to let you know :) p.s. it's python-2.3.3. -- Regards, Klavs Klavsen, GSEC - kl@vsen.dk - http://www.vsen.dk PGP: 7E063C62/2873 188C 968E 600D D8F8 B8DA 3D3A 0B79 7E06 3C62 "Those who do not understand Unix are condemned to reinvent it, poorly." --Henry Spencer From mal at egenix.com Sat Sep 11 23:51:30 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Wed Jan 25 20:01:00 2006 Subject: [egenix-users] bufferoverflow in egenix? In-Reply-To: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> References: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Message-ID: <41436552.6000906@egenix.com> Klavs Klavsen wrote: > Hi guys, > > Just installed a new gcc with stack-smashing protection - and while > recompiling modules with stack-smashing protection, I got this message: > -- > copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l > ib/python2.3/site-packages/mx/Misc > copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ > python2.3/site-packages/mx/Misc > writing byte-compilation script > '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' > /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py > usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: > SyntaxWarning: name 'debugging' is use > d prior to global declaration This is an error that the Python compiler generated. I'd suggest you report to the Python bug tracker. BTW, pytag.py is no longer used or maintained, so you can safely delete it. > python: stack smashing attack in function symtable_node() > error: command '/usr/bin/python' terminated by signal 6 > > !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. > !!! Function distutils_src_install, Line 43, Exitcode 1 > !!! (no error message) > > so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes > one in python) - I haven't done very much research as I can live without > egenix - but just wanted to let you know :) > > p.s. it's python-2.3.3. Thanks, -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 11 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From harrelson at gmail.com Thu Sep 30 17:48:13 2004 From: harrelson at gmail.com (Culley Harrelson) Date: Wed Jan 25 20:01:00 2006 Subject: [egenix-users] OS X 10.3.5: *** You don't have the (right) mxDateTime binaries installed ! Message-ID: <529825a30409301648507c0cf8@mail.gmail.com> I have successfully installed mxDateTime on my OS X 10.3.5 system, using the system Python installation. It installed but as soon as I try to import the module I get: === *** You don't have the (right) mxDateTime binaries installed ! Traceback (most recent call last): File "./testFeDb.py", line 4, in ? from mx import DateTime File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/__init__.py", line 8, in ? from DateTime import * File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/DateTime.py", line 9, in ? from mxDateTime import * File "/Library/Python/2.3/mx/DateTime/mxDateTime/__init__.py", line 13, in ? raise ImportError, why ImportError: Failure linking new module: : dyld: python Undefined symbols: /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyArg_ParseTuple expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCObject_FromVoidPtr expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCallable_Check expected to be defined in the executable /Library/Python/2.3/mx/Date === Has anyone experienced this? Any ideas how to fix it? culley From hanser at club-internet.fr Sat Sep 4 17:13:26 2004 From: hanser at club-internet.fr (Pierre Hanser) Date: Thu Jan 26 08:06:02 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 Message-ID: <4139CD86.6020403@club-internet.fr> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 hello seems that python2.4a3 is not compatible with the optimizations in mx/DateTime/mxDateTime/mxDateTime.c on Linux: from mx import DateTime -> core dump if I disable the optims, everything gets ok /* Define these to have the module use free lists (saves malloc calls) */ #define MXDATETIME_FREELIST #define MXDATETIMEDELTA_FREELIST #undef MXDATETIME_FREELIST #undef MXDATETIMEDELTA_FREELIST - -- Pierre -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBOc2GMQ2/jYUwmmwRAn70AJ4puAZm4p10+KTCK/GzLt20VzWd3ACfQzIo H8hLxq8iCE3KGYZ6AR5QUy8= =GA8t -----END PGP SIGNATURE----- From mal at egenix.com Sun Sep 5 19:53:02 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Thu Jan 26 08:06:02 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 In-Reply-To: <4139CD86.6020403@club-internet.fr> References: <4139CD86.6020403@club-internet.fr> Message-ID: <413B446E.40002@egenix.com> Pierre Hanser wrote: > hello > > seems that python2.4a3 is not compatible with the optimizations in > mx/DateTime/mxDateTime/mxDateTime.c on Linux: > > from mx import DateTime -> core dump > > if I disable the optims, everything gets ok > > /* Define these to have the module use free lists (saves malloc calls) */ > #define MXDATETIME_FREELIST > #define MXDATETIMEDELTA_FREELIST > #undef MXDATETIME_FREELIST > #undef MXDATETIMEDELTA_FREELIST This is more likely due to a bug in your C compiler. -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 05 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From aluton at rcseng.ac.uk Wed Sep 8 12:33:02 2004 From: aluton at rcseng.ac.uk (Alex Luton) Date: Thu Jan 26 08:06:02 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: References: Message-ID: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Hi, I'm trying to get the mxODBC DA working, but the product is broken with this error message: Traceback (most recent call last): File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product product=__import__(pname, global_dict, global_dict, silly) File "Products/mxODBCZopeDA/__init__.py", line 7, in ? File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? Any help would be much appreciated. Thanks -- Alex ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 From mal at egenix.com Wed Sep 8 13:37:44 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Thu Jan 26 08:06:02 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> References: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Message-ID: <413EE0F8.6050601@egenix.com> Alex Luton wrote: > Hi, > > I'm trying to get the mxODBC DA working, but the product is broken with > this error message: > > Traceback (most recent call last): > File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product > product=__import__(pname, global_dict, global_dict, silly) > File "Products/mxODBCZopeDA/__init__.py", line 7, in ? > File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? > ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString > > I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? RedHat chose to build Python with 4-byte Unicode which is causing all sorts of problems with pre-built extensions. We will start shipping UCS4 builds of the Zope DA with the next release. Until then, you can try the pre-release of 1.0.9: http://www.egenix.com/files/python/egenix-mxodbc-zopeda-1.0.9.linux-i686-py2.3ucs4.zip -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 08 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From kl at vsen.dk Sat Sep 11 20:21:57 2004 From: kl at vsen.dk (Klavs Klavsen) Date: Thu Jan 26 08:06:02 2006 Subject: [egenix-users] bufferoverflow in egenix? Message-ID: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Hi guys, Just installed a new gcc with stack-smashing protection - and while recompiling modules with stack-smashing protection, I got this message: -- copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l ib/python2.3/site-packages/mx/Misc copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ python2.3/site-packages/mx/Misc writing byte-compilation script '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: SyntaxWarning: name 'debugging' is use d prior to global declaration python: stack smashing attack in function symtable_node() error: command '/usr/bin/python' terminated by signal 6 !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. !!! Function distutils_src_install, Line 43, Exitcode 1 !!! (no error message) so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes one in python) - I haven't done very much research as I can live without egenix - but just wanted to let you know :) p.s. it's python-2.3.3. -- Regards, Klavs Klavsen, GSEC - kl@vsen.dk - http://www.vsen.dk PGP: 7E063C62/2873 188C 968E 600D D8F8 B8DA 3D3A 0B79 7E06 3C62 "Those who do not understand Unix are condemned to reinvent it, poorly." --Henry Spencer From mal at egenix.com Sat Sep 11 23:51:30 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Thu Jan 26 08:06:02 2006 Subject: [egenix-users] bufferoverflow in egenix? In-Reply-To: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> References: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Message-ID: <41436552.6000906@egenix.com> Klavs Klavsen wrote: > Hi guys, > > Just installed a new gcc with stack-smashing protection - and while > recompiling modules with stack-smashing protection, I got this message: > -- > copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l > ib/python2.3/site-packages/mx/Misc > copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ > python2.3/site-packages/mx/Misc > writing byte-compilation script > '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' > /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py > usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: > SyntaxWarning: name 'debugging' is use > d prior to global declaration This is an error that the Python compiler generated. I'd suggest you report to the Python bug tracker. BTW, pytag.py is no longer used or maintained, so you can safely delete it. > python: stack smashing attack in function symtable_node() > error: command '/usr/bin/python' terminated by signal 6 > > !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. > !!! Function distutils_src_install, Line 43, Exitcode 1 > !!! (no error message) > > so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes > one in python) - I haven't done very much research as I can live without > egenix - but just wanted to let you know :) > > p.s. it's python-2.3.3. Thanks, -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 11 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From harrelson at gmail.com Thu Sep 30 17:48:13 2004 From: harrelson at gmail.com (Culley Harrelson) Date: Thu Jan 26 08:06:02 2006 Subject: [egenix-users] OS X 10.3.5: *** You don't have the (right) mxDateTime binaries installed ! Message-ID: <529825a30409301648507c0cf8@mail.gmail.com> I have successfully installed mxDateTime on my OS X 10.3.5 system, using the system Python installation. It installed but as soon as I try to import the module I get: === *** You don't have the (right) mxDateTime binaries installed ! Traceback (most recent call last): File "./testFeDb.py", line 4, in ? from mx import DateTime File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/__init__.py", line 8, in ? from DateTime import * File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/DateTime.py", line 9, in ? from mxDateTime import * File "/Library/Python/2.3/mx/DateTime/mxDateTime/__init__.py", line 13, in ? raise ImportError, why ImportError: Failure linking new module: : dyld: python Undefined symbols: /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyArg_ParseTuple expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCObject_FromVoidPtr expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCallable_Check expected to be defined in the executable /Library/Python/2.3/mx/Date === Has anyone experienced this? Any ideas how to fix it? culley From hanser at club-internet.fr Sat Sep 4 17:13:26 2004 From: hanser at club-internet.fr (Pierre Hanser) Date: Thu Jan 26 12:01:11 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 Message-ID: <4139CD86.6020403@club-internet.fr> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 hello seems that python2.4a3 is not compatible with the optimizations in mx/DateTime/mxDateTime/mxDateTime.c on Linux: from mx import DateTime -> core dump if I disable the optims, everything gets ok /* Define these to have the module use free lists (saves malloc calls) */ #define MXDATETIME_FREELIST #define MXDATETIMEDELTA_FREELIST #undef MXDATETIME_FREELIST #undef MXDATETIMEDELTA_FREELIST - -- Pierre -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBOc2GMQ2/jYUwmmwRAn70AJ4puAZm4p10+KTCK/GzLt20VzWd3ACfQzIo H8hLxq8iCE3KGYZ6AR5QUy8= =GA8t -----END PGP SIGNATURE----- From mal at egenix.com Sun Sep 5 19:53:02 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Thu Jan 26 12:01:11 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 In-Reply-To: <4139CD86.6020403@club-internet.fr> References: <4139CD86.6020403@club-internet.fr> Message-ID: <413B446E.40002@egenix.com> Pierre Hanser wrote: > hello > > seems that python2.4a3 is not compatible with the optimizations in > mx/DateTime/mxDateTime/mxDateTime.c on Linux: > > from mx import DateTime -> core dump > > if I disable the optims, everything gets ok > > /* Define these to have the module use free lists (saves malloc calls) */ > #define MXDATETIME_FREELIST > #define MXDATETIMEDELTA_FREELIST > #undef MXDATETIME_FREELIST > #undef MXDATETIMEDELTA_FREELIST This is more likely due to a bug in your C compiler. -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 05 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From aluton at rcseng.ac.uk Wed Sep 8 12:33:02 2004 From: aluton at rcseng.ac.uk (Alex Luton) Date: Thu Jan 26 12:01:11 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: References: Message-ID: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Hi, I'm trying to get the mxODBC DA working, but the product is broken with this error message: Traceback (most recent call last): File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product product=__import__(pname, global_dict, global_dict, silly) File "Products/mxODBCZopeDA/__init__.py", line 7, in ? File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? Any help would be much appreciated. Thanks -- Alex ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 From mal at egenix.com Wed Sep 8 13:37:44 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Thu Jan 26 12:01:11 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> References: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Message-ID: <413EE0F8.6050601@egenix.com> Alex Luton wrote: > Hi, > > I'm trying to get the mxODBC DA working, but the product is broken with > this error message: > > Traceback (most recent call last): > File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product > product=__import__(pname, global_dict, global_dict, silly) > File "Products/mxODBCZopeDA/__init__.py", line 7, in ? > File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? > ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString > > I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? RedHat chose to build Python with 4-byte Unicode which is causing all sorts of problems with pre-built extensions. We will start shipping UCS4 builds of the Zope DA with the next release. Until then, you can try the pre-release of 1.0.9: http://www.egenix.com/files/python/egenix-mxodbc-zopeda-1.0.9.linux-i686-py2.3ucs4.zip -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 08 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From kl at vsen.dk Sat Sep 11 20:21:57 2004 From: kl at vsen.dk (Klavs Klavsen) Date: Thu Jan 26 12:01:11 2006 Subject: [egenix-users] bufferoverflow in egenix? Message-ID: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Hi guys, Just installed a new gcc with stack-smashing protection - and while recompiling modules with stack-smashing protection, I got this message: -- copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l ib/python2.3/site-packages/mx/Misc copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ python2.3/site-packages/mx/Misc writing byte-compilation script '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: SyntaxWarning: name 'debugging' is use d prior to global declaration python: stack smashing attack in function symtable_node() error: command '/usr/bin/python' terminated by signal 6 !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. !!! Function distutils_src_install, Line 43, Exitcode 1 !!! (no error message) so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes one in python) - I haven't done very much research as I can live without egenix - but just wanted to let you know :) p.s. it's python-2.3.3. -- Regards, Klavs Klavsen, GSEC - kl@vsen.dk - http://www.vsen.dk PGP: 7E063C62/2873 188C 968E 600D D8F8 B8DA 3D3A 0B79 7E06 3C62 "Those who do not understand Unix are condemned to reinvent it, poorly." --Henry Spencer From mal at egenix.com Sat Sep 11 23:51:30 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Thu Jan 26 12:01:11 2006 Subject: [egenix-users] bufferoverflow in egenix? In-Reply-To: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> References: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Message-ID: <41436552.6000906@egenix.com> Klavs Klavsen wrote: > Hi guys, > > Just installed a new gcc with stack-smashing protection - and while > recompiling modules with stack-smashing protection, I got this message: > -- > copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l > ib/python2.3/site-packages/mx/Misc > copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ > python2.3/site-packages/mx/Misc > writing byte-compilation script > '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' > /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py > usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: > SyntaxWarning: name 'debugging' is use > d prior to global declaration This is an error that the Python compiler generated. I'd suggest you report to the Python bug tracker. BTW, pytag.py is no longer used or maintained, so you can safely delete it. > python: stack smashing attack in function symtable_node() > error: command '/usr/bin/python' terminated by signal 6 > > !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. > !!! Function distutils_src_install, Line 43, Exitcode 1 > !!! (no error message) > > so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes > one in python) - I haven't done very much research as I can live without > egenix - but just wanted to let you know :) > > p.s. it's python-2.3.3. Thanks, -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 11 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From harrelson at gmail.com Thu Sep 30 17:48:13 2004 From: harrelson at gmail.com (Culley Harrelson) Date: Thu Jan 26 12:01:11 2006 Subject: [egenix-users] OS X 10.3.5: *** You don't have the (right) mxDateTime binaries installed ! Message-ID: <529825a30409301648507c0cf8@mail.gmail.com> I have successfully installed mxDateTime on my OS X 10.3.5 system, using the system Python installation. It installed but as soon as I try to import the module I get: === *** You don't have the (right) mxDateTime binaries installed ! Traceback (most recent call last): File "./testFeDb.py", line 4, in ? from mx import DateTime File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/__init__.py", line 8, in ? from DateTime import * File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/DateTime.py", line 9, in ? from mxDateTime import * File "/Library/Python/2.3/mx/DateTime/mxDateTime/__init__.py", line 13, in ? raise ImportError, why ImportError: Failure linking new module: : dyld: python Undefined symbols: /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyArg_ParseTuple expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCObject_FromVoidPtr expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCallable_Check expected to be defined in the executable /Library/Python/2.3/mx/Date === Has anyone experienced this? Any ideas how to fix it? culley From hanser at club-internet.fr Sat Sep 4 17:13:26 2004 From: hanser at club-internet.fr (Pierre Hanser) Date: Thu Jan 26 16:00:57 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 Message-ID: <4139CD86.6020403@club-internet.fr> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 hello seems that python2.4a3 is not compatible with the optimizations in mx/DateTime/mxDateTime/mxDateTime.c on Linux: from mx import DateTime -> core dump if I disable the optims, everything gets ok /* Define these to have the module use free lists (saves malloc calls) */ #define MXDATETIME_FREELIST #define MXDATETIMEDELTA_FREELIST #undef MXDATETIME_FREELIST #undef MXDATETIMEDELTA_FREELIST - -- Pierre -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBOc2GMQ2/jYUwmmwRAn70AJ4puAZm4p10+KTCK/GzLt20VzWd3ACfQzIo H8hLxq8iCE3KGYZ6AR5QUy8= =GA8t -----END PGP SIGNATURE----- From mal at egenix.com Sun Sep 5 19:53:02 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Thu Jan 26 16:00:57 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 In-Reply-To: <4139CD86.6020403@club-internet.fr> References: <4139CD86.6020403@club-internet.fr> Message-ID: <413B446E.40002@egenix.com> Pierre Hanser wrote: > hello > > seems that python2.4a3 is not compatible with the optimizations in > mx/DateTime/mxDateTime/mxDateTime.c on Linux: > > from mx import DateTime -> core dump > > if I disable the optims, everything gets ok > > /* Define these to have the module use free lists (saves malloc calls) */ > #define MXDATETIME_FREELIST > #define MXDATETIMEDELTA_FREELIST > #undef MXDATETIME_FREELIST > #undef MXDATETIMEDELTA_FREELIST This is more likely due to a bug in your C compiler. -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 05 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From aluton at rcseng.ac.uk Wed Sep 8 12:33:02 2004 From: aluton at rcseng.ac.uk (Alex Luton) Date: Thu Jan 26 16:00:57 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: References: Message-ID: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Hi, I'm trying to get the mxODBC DA working, but the product is broken with this error message: Traceback (most recent call last): File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product product=__import__(pname, global_dict, global_dict, silly) File "Products/mxODBCZopeDA/__init__.py", line 7, in ? File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? Any help would be much appreciated. Thanks -- Alex ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 From mal at egenix.com Wed Sep 8 13:37:44 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Thu Jan 26 16:00:58 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> References: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Message-ID: <413EE0F8.6050601@egenix.com> Alex Luton wrote: > Hi, > > I'm trying to get the mxODBC DA working, but the product is broken with > this error message: > > Traceback (most recent call last): > File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product > product=__import__(pname, global_dict, global_dict, silly) > File "Products/mxODBCZopeDA/__init__.py", line 7, in ? > File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? > ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString > > I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? RedHat chose to build Python with 4-byte Unicode which is causing all sorts of problems with pre-built extensions. We will start shipping UCS4 builds of the Zope DA with the next release. Until then, you can try the pre-release of 1.0.9: http://www.egenix.com/files/python/egenix-mxodbc-zopeda-1.0.9.linux-i686-py2.3ucs4.zip -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 08 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From kl at vsen.dk Sat Sep 11 20:21:57 2004 From: kl at vsen.dk (Klavs Klavsen) Date: Thu Jan 26 16:00:58 2006 Subject: [egenix-users] bufferoverflow in egenix? Message-ID: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Hi guys, Just installed a new gcc with stack-smashing protection - and while recompiling modules with stack-smashing protection, I got this message: -- copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l ib/python2.3/site-packages/mx/Misc copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ python2.3/site-packages/mx/Misc writing byte-compilation script '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: SyntaxWarning: name 'debugging' is use d prior to global declaration python: stack smashing attack in function symtable_node() error: command '/usr/bin/python' terminated by signal 6 !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. !!! Function distutils_src_install, Line 43, Exitcode 1 !!! (no error message) so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes one in python) - I haven't done very much research as I can live without egenix - but just wanted to let you know :) p.s. it's python-2.3.3. -- Regards, Klavs Klavsen, GSEC - kl@vsen.dk - http://www.vsen.dk PGP: 7E063C62/2873 188C 968E 600D D8F8 B8DA 3D3A 0B79 7E06 3C62 "Those who do not understand Unix are condemned to reinvent it, poorly." --Henry Spencer From mal at egenix.com Sat Sep 11 23:51:30 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Thu Jan 26 16:00:58 2006 Subject: [egenix-users] bufferoverflow in egenix? In-Reply-To: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> References: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Message-ID: <41436552.6000906@egenix.com> Klavs Klavsen wrote: > Hi guys, > > Just installed a new gcc with stack-smashing protection - and while > recompiling modules with stack-smashing protection, I got this message: > -- > copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l > ib/python2.3/site-packages/mx/Misc > copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ > python2.3/site-packages/mx/Misc > writing byte-compilation script > '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' > /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py > usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: > SyntaxWarning: name 'debugging' is use > d prior to global declaration This is an error that the Python compiler generated. I'd suggest you report to the Python bug tracker. BTW, pytag.py is no longer used or maintained, so you can safely delete it. > python: stack smashing attack in function symtable_node() > error: command '/usr/bin/python' terminated by signal 6 > > !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. > !!! Function distutils_src_install, Line 43, Exitcode 1 > !!! (no error message) > > so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes > one in python) - I haven't done very much research as I can live without > egenix - but just wanted to let you know :) > > p.s. it's python-2.3.3. Thanks, -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 11 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From harrelson at gmail.com Thu Sep 30 17:48:13 2004 From: harrelson at gmail.com (Culley Harrelson) Date: Thu Jan 26 16:00:58 2006 Subject: [egenix-users] OS X 10.3.5: *** You don't have the (right) mxDateTime binaries installed ! Message-ID: <529825a30409301648507c0cf8@mail.gmail.com> I have successfully installed mxDateTime on my OS X 10.3.5 system, using the system Python installation. It installed but as soon as I try to import the module I get: === *** You don't have the (right) mxDateTime binaries installed ! Traceback (most recent call last): File "./testFeDb.py", line 4, in ? from mx import DateTime File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/__init__.py", line 8, in ? from DateTime import * File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/DateTime.py", line 9, in ? from mxDateTime import * File "/Library/Python/2.3/mx/DateTime/mxDateTime/__init__.py", line 13, in ? raise ImportError, why ImportError: Failure linking new module: : dyld: python Undefined symbols: /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyArg_ParseTuple expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCObject_FromVoidPtr expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCallable_Check expected to be defined in the executable /Library/Python/2.3/mx/Date === Has anyone experienced this? Any ideas how to fix it? culley From hanser at club-internet.fr Sat Sep 4 17:13:26 2004 From: hanser at club-internet.fr (Pierre Hanser) Date: Thu Jan 26 20:00:50 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 Message-ID: <4139CD86.6020403@club-internet.fr> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 hello seems that python2.4a3 is not compatible with the optimizations in mx/DateTime/mxDateTime/mxDateTime.c on Linux: from mx import DateTime -> core dump if I disable the optims, everything gets ok /* Define these to have the module use free lists (saves malloc calls) */ #define MXDATETIME_FREELIST #define MXDATETIMEDELTA_FREELIST #undef MXDATETIME_FREELIST #undef MXDATETIMEDELTA_FREELIST - -- Pierre -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBOc2GMQ2/jYUwmmwRAn70AJ4puAZm4p10+KTCK/GzLt20VzWd3ACfQzIo H8hLxq8iCE3KGYZ6AR5QUy8= =GA8t -----END PGP SIGNATURE----- From mal at egenix.com Sun Sep 5 19:53:02 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Thu Jan 26 20:00:50 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 In-Reply-To: <4139CD86.6020403@club-internet.fr> References: <4139CD86.6020403@club-internet.fr> Message-ID: <413B446E.40002@egenix.com> Pierre Hanser wrote: > hello > > seems that python2.4a3 is not compatible with the optimizations in > mx/DateTime/mxDateTime/mxDateTime.c on Linux: > > from mx import DateTime -> core dump > > if I disable the optims, everything gets ok > > /* Define these to have the module use free lists (saves malloc calls) */ > #define MXDATETIME_FREELIST > #define MXDATETIMEDELTA_FREELIST > #undef MXDATETIME_FREELIST > #undef MXDATETIMEDELTA_FREELIST This is more likely due to a bug in your C compiler. -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 05 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From aluton at rcseng.ac.uk Wed Sep 8 12:33:02 2004 From: aluton at rcseng.ac.uk (Alex Luton) Date: Thu Jan 26 20:00:50 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: References: Message-ID: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Hi, I'm trying to get the mxODBC DA working, but the product is broken with this error message: Traceback (most recent call last): File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product product=__import__(pname, global_dict, global_dict, silly) File "Products/mxODBCZopeDA/__init__.py", line 7, in ? File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? Any help would be much appreciated. Thanks -- Alex ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 From mal at egenix.com Wed Sep 8 13:37:44 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Thu Jan 26 20:00:50 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> References: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Message-ID: <413EE0F8.6050601@egenix.com> Alex Luton wrote: > Hi, > > I'm trying to get the mxODBC DA working, but the product is broken with > this error message: > > Traceback (most recent call last): > File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product > product=__import__(pname, global_dict, global_dict, silly) > File "Products/mxODBCZopeDA/__init__.py", line 7, in ? > File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? > ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString > > I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? RedHat chose to build Python with 4-byte Unicode which is causing all sorts of problems with pre-built extensions. We will start shipping UCS4 builds of the Zope DA with the next release. Until then, you can try the pre-release of 1.0.9: http://www.egenix.com/files/python/egenix-mxodbc-zopeda-1.0.9.linux-i686-py2.3ucs4.zip -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 08 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From kl at vsen.dk Sat Sep 11 20:21:57 2004 From: kl at vsen.dk (Klavs Klavsen) Date: Thu Jan 26 20:00:50 2006 Subject: [egenix-users] bufferoverflow in egenix? Message-ID: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Hi guys, Just installed a new gcc with stack-smashing protection - and while recompiling modules with stack-smashing protection, I got this message: -- copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l ib/python2.3/site-packages/mx/Misc copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ python2.3/site-packages/mx/Misc writing byte-compilation script '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: SyntaxWarning: name 'debugging' is use d prior to global declaration python: stack smashing attack in function symtable_node() error: command '/usr/bin/python' terminated by signal 6 !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. !!! Function distutils_src_install, Line 43, Exitcode 1 !!! (no error message) so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes one in python) - I haven't done very much research as I can live without egenix - but just wanted to let you know :) p.s. it's python-2.3.3. -- Regards, Klavs Klavsen, GSEC - kl@vsen.dk - http://www.vsen.dk PGP: 7E063C62/2873 188C 968E 600D D8F8 B8DA 3D3A 0B79 7E06 3C62 "Those who do not understand Unix are condemned to reinvent it, poorly." --Henry Spencer From mal at egenix.com Sat Sep 11 23:51:30 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Thu Jan 26 20:00:50 2006 Subject: [egenix-users] bufferoverflow in egenix? In-Reply-To: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> References: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Message-ID: <41436552.6000906@egenix.com> Klavs Klavsen wrote: > Hi guys, > > Just installed a new gcc with stack-smashing protection - and while > recompiling modules with stack-smashing protection, I got this message: > -- > copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l > ib/python2.3/site-packages/mx/Misc > copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ > python2.3/site-packages/mx/Misc > writing byte-compilation script > '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' > /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py > usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: > SyntaxWarning: name 'debugging' is use > d prior to global declaration This is an error that the Python compiler generated. I'd suggest you report to the Python bug tracker. BTW, pytag.py is no longer used or maintained, so you can safely delete it. > python: stack smashing attack in function symtable_node() > error: command '/usr/bin/python' terminated by signal 6 > > !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. > !!! Function distutils_src_install, Line 43, Exitcode 1 > !!! (no error message) > > so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes > one in python) - I haven't done very much research as I can live without > egenix - but just wanted to let you know :) > > p.s. it's python-2.3.3. Thanks, -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 11 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From harrelson at gmail.com Thu Sep 30 17:48:13 2004 From: harrelson at gmail.com (Culley Harrelson) Date: Thu Jan 26 20:00:50 2006 Subject: [egenix-users] OS X 10.3.5: *** You don't have the (right) mxDateTime binaries installed ! Message-ID: <529825a30409301648507c0cf8@mail.gmail.com> I have successfully installed mxDateTime on my OS X 10.3.5 system, using the system Python installation. It installed but as soon as I try to import the module I get: === *** You don't have the (right) mxDateTime binaries installed ! Traceback (most recent call last): File "./testFeDb.py", line 4, in ? from mx import DateTime File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/__init__.py", line 8, in ? from DateTime import * File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/DateTime.py", line 9, in ? from mxDateTime import * File "/Library/Python/2.3/mx/DateTime/mxDateTime/__init__.py", line 13, in ? raise ImportError, why ImportError: Failure linking new module: : dyld: python Undefined symbols: /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyArg_ParseTuple expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCObject_FromVoidPtr expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCallable_Check expected to be defined in the executable /Library/Python/2.3/mx/Date === Has anyone experienced this? Any ideas how to fix it? culley From hanser at club-internet.fr Sat Sep 4 17:13:26 2004 From: hanser at club-internet.fr (Pierre Hanser) Date: Fri Jan 27 08:06:56 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 Message-ID: <4139CD86.6020403@club-internet.fr> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 hello seems that python2.4a3 is not compatible with the optimizations in mx/DateTime/mxDateTime/mxDateTime.c on Linux: from mx import DateTime -> core dump if I disable the optims, everything gets ok /* Define these to have the module use free lists (saves malloc calls) */ #define MXDATETIME_FREELIST #define MXDATETIMEDELTA_FREELIST #undef MXDATETIME_FREELIST #undef MXDATETIMEDELTA_FREELIST - -- Pierre -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBOc2GMQ2/jYUwmmwRAn70AJ4puAZm4p10+KTCK/GzLt20VzWd3ACfQzIo H8hLxq8iCE3KGYZ6AR5QUy8= =GA8t -----END PGP SIGNATURE----- From mal at egenix.com Sun Sep 5 19:53:02 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Fri Jan 27 08:06:56 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 In-Reply-To: <4139CD86.6020403@club-internet.fr> References: <4139CD86.6020403@club-internet.fr> Message-ID: <413B446E.40002@egenix.com> Pierre Hanser wrote: > hello > > seems that python2.4a3 is not compatible with the optimizations in > mx/DateTime/mxDateTime/mxDateTime.c on Linux: > > from mx import DateTime -> core dump > > if I disable the optims, everything gets ok > > /* Define these to have the module use free lists (saves malloc calls) */ > #define MXDATETIME_FREELIST > #define MXDATETIMEDELTA_FREELIST > #undef MXDATETIME_FREELIST > #undef MXDATETIMEDELTA_FREELIST This is more likely due to a bug in your C compiler. -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 05 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From aluton at rcseng.ac.uk Wed Sep 8 12:33:02 2004 From: aluton at rcseng.ac.uk (Alex Luton) Date: Fri Jan 27 08:06:56 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: References: Message-ID: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Hi, I'm trying to get the mxODBC DA working, but the product is broken with this error message: Traceback (most recent call last): File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product product=__import__(pname, global_dict, global_dict, silly) File "Products/mxODBCZopeDA/__init__.py", line 7, in ? File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? Any help would be much appreciated. Thanks -- Alex ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 From mal at egenix.com Wed Sep 8 13:37:44 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Fri Jan 27 08:06:56 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> References: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Message-ID: <413EE0F8.6050601@egenix.com> Alex Luton wrote: > Hi, > > I'm trying to get the mxODBC DA working, but the product is broken with > this error message: > > Traceback (most recent call last): > File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product > product=__import__(pname, global_dict, global_dict, silly) > File "Products/mxODBCZopeDA/__init__.py", line 7, in ? > File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? > ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString > > I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? RedHat chose to build Python with 4-byte Unicode which is causing all sorts of problems with pre-built extensions. We will start shipping UCS4 builds of the Zope DA with the next release. Until then, you can try the pre-release of 1.0.9: http://www.egenix.com/files/python/egenix-mxodbc-zopeda-1.0.9.linux-i686-py2.3ucs4.zip -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 08 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From kl at vsen.dk Sat Sep 11 20:21:57 2004 From: kl at vsen.dk (Klavs Klavsen) Date: Fri Jan 27 08:06:56 2006 Subject: [egenix-users] bufferoverflow in egenix? Message-ID: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Hi guys, Just installed a new gcc with stack-smashing protection - and while recompiling modules with stack-smashing protection, I got this message: -- copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l ib/python2.3/site-packages/mx/Misc copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ python2.3/site-packages/mx/Misc writing byte-compilation script '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: SyntaxWarning: name 'debugging' is use d prior to global declaration python: stack smashing attack in function symtable_node() error: command '/usr/bin/python' terminated by signal 6 !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. !!! Function distutils_src_install, Line 43, Exitcode 1 !!! (no error message) so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes one in python) - I haven't done very much research as I can live without egenix - but just wanted to let you know :) p.s. it's python-2.3.3. -- Regards, Klavs Klavsen, GSEC - kl@vsen.dk - http://www.vsen.dk PGP: 7E063C62/2873 188C 968E 600D D8F8 B8DA 3D3A 0B79 7E06 3C62 "Those who do not understand Unix are condemned to reinvent it, poorly." --Henry Spencer From mal at egenix.com Sat Sep 11 23:51:30 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Fri Jan 27 08:06:56 2006 Subject: [egenix-users] bufferoverflow in egenix? In-Reply-To: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> References: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Message-ID: <41436552.6000906@egenix.com> Klavs Klavsen wrote: > Hi guys, > > Just installed a new gcc with stack-smashing protection - and while > recompiling modules with stack-smashing protection, I got this message: > -- > copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l > ib/python2.3/site-packages/mx/Misc > copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ > python2.3/site-packages/mx/Misc > writing byte-compilation script > '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' > /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py > usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: > SyntaxWarning: name 'debugging' is use > d prior to global declaration This is an error that the Python compiler generated. I'd suggest you report to the Python bug tracker. BTW, pytag.py is no longer used or maintained, so you can safely delete it. > python: stack smashing attack in function symtable_node() > error: command '/usr/bin/python' terminated by signal 6 > > !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. > !!! Function distutils_src_install, Line 43, Exitcode 1 > !!! (no error message) > > so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes > one in python) - I haven't done very much research as I can live without > egenix - but just wanted to let you know :) > > p.s. it's python-2.3.3. Thanks, -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 11 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From harrelson at gmail.com Thu Sep 30 17:48:13 2004 From: harrelson at gmail.com (Culley Harrelson) Date: Fri Jan 27 08:06:57 2006 Subject: [egenix-users] OS X 10.3.5: *** You don't have the (right) mxDateTime binaries installed ! Message-ID: <529825a30409301648507c0cf8@mail.gmail.com> I have successfully installed mxDateTime on my OS X 10.3.5 system, using the system Python installation. It installed but as soon as I try to import the module I get: === *** You don't have the (right) mxDateTime binaries installed ! Traceback (most recent call last): File "./testFeDb.py", line 4, in ? from mx import DateTime File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/__init__.py", line 8, in ? from DateTime import * File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/DateTime.py", line 9, in ? from mxDateTime import * File "/Library/Python/2.3/mx/DateTime/mxDateTime/__init__.py", line 13, in ? raise ImportError, why ImportError: Failure linking new module: : dyld: python Undefined symbols: /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyArg_ParseTuple expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCObject_FromVoidPtr expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCallable_Check expected to be defined in the executable /Library/Python/2.3/mx/Date === Has anyone experienced this? Any ideas how to fix it? culley From hanser at club-internet.fr Sat Sep 4 17:13:26 2004 From: hanser at club-internet.fr (Pierre Hanser) Date: Fri Jan 27 12:02:17 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 Message-ID: <4139CD86.6020403@club-internet.fr> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 hello seems that python2.4a3 is not compatible with the optimizations in mx/DateTime/mxDateTime/mxDateTime.c on Linux: from mx import DateTime -> core dump if I disable the optims, everything gets ok /* Define these to have the module use free lists (saves malloc calls) */ #define MXDATETIME_FREELIST #define MXDATETIMEDELTA_FREELIST #undef MXDATETIME_FREELIST #undef MXDATETIMEDELTA_FREELIST - -- Pierre -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBOc2GMQ2/jYUwmmwRAn70AJ4puAZm4p10+KTCK/GzLt20VzWd3ACfQzIo H8hLxq8iCE3KGYZ6AR5QUy8= =GA8t -----END PGP SIGNATURE----- From mal at egenix.com Sun Sep 5 19:53:02 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Fri Jan 27 12:02:17 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 In-Reply-To: <4139CD86.6020403@club-internet.fr> References: <4139CD86.6020403@club-internet.fr> Message-ID: <413B446E.40002@egenix.com> Pierre Hanser wrote: > hello > > seems that python2.4a3 is not compatible with the optimizations in > mx/DateTime/mxDateTime/mxDateTime.c on Linux: > > from mx import DateTime -> core dump > > if I disable the optims, everything gets ok > > /* Define these to have the module use free lists (saves malloc calls) */ > #define MXDATETIME_FREELIST > #define MXDATETIMEDELTA_FREELIST > #undef MXDATETIME_FREELIST > #undef MXDATETIMEDELTA_FREELIST This is more likely due to a bug in your C compiler. -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 05 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From aluton at rcseng.ac.uk Wed Sep 8 12:33:02 2004 From: aluton at rcseng.ac.uk (Alex Luton) Date: Fri Jan 27 12:02:17 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: References: Message-ID: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Hi, I'm trying to get the mxODBC DA working, but the product is broken with this error message: Traceback (most recent call last): File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product product=__import__(pname, global_dict, global_dict, silly) File "Products/mxODBCZopeDA/__init__.py", line 7, in ? File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? Any help would be much appreciated. Thanks -- Alex ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 From mal at egenix.com Wed Sep 8 13:37:44 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Fri Jan 27 12:02:17 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> References: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Message-ID: <413EE0F8.6050601@egenix.com> Alex Luton wrote: > Hi, > > I'm trying to get the mxODBC DA working, but the product is broken with > this error message: > > Traceback (most recent call last): > File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product > product=__import__(pname, global_dict, global_dict, silly) > File "Products/mxODBCZopeDA/__init__.py", line 7, in ? > File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? > ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString > > I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? RedHat chose to build Python with 4-byte Unicode which is causing all sorts of problems with pre-built extensions. We will start shipping UCS4 builds of the Zope DA with the next release. Until then, you can try the pre-release of 1.0.9: http://www.egenix.com/files/python/egenix-mxodbc-zopeda-1.0.9.linux-i686-py2.3ucs4.zip -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 08 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From kl at vsen.dk Sat Sep 11 20:21:57 2004 From: kl at vsen.dk (Klavs Klavsen) Date: Fri Jan 27 12:02:17 2006 Subject: [egenix-users] bufferoverflow in egenix? Message-ID: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Hi guys, Just installed a new gcc with stack-smashing protection - and while recompiling modules with stack-smashing protection, I got this message: -- copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l ib/python2.3/site-packages/mx/Misc copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ python2.3/site-packages/mx/Misc writing byte-compilation script '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: SyntaxWarning: name 'debugging' is use d prior to global declaration python: stack smashing attack in function symtable_node() error: command '/usr/bin/python' terminated by signal 6 !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. !!! Function distutils_src_install, Line 43, Exitcode 1 !!! (no error message) so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes one in python) - I haven't done very much research as I can live without egenix - but just wanted to let you know :) p.s. it's python-2.3.3. -- Regards, Klavs Klavsen, GSEC - kl@vsen.dk - http://www.vsen.dk PGP: 7E063C62/2873 188C 968E 600D D8F8 B8DA 3D3A 0B79 7E06 3C62 "Those who do not understand Unix are condemned to reinvent it, poorly." --Henry Spencer From mal at egenix.com Sat Sep 11 23:51:30 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Fri Jan 27 12:02:17 2006 Subject: [egenix-users] bufferoverflow in egenix? In-Reply-To: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> References: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Message-ID: <41436552.6000906@egenix.com> Klavs Klavsen wrote: > Hi guys, > > Just installed a new gcc with stack-smashing protection - and while > recompiling modules with stack-smashing protection, I got this message: > -- > copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l > ib/python2.3/site-packages/mx/Misc > copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ > python2.3/site-packages/mx/Misc > writing byte-compilation script > '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' > /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py > usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: > SyntaxWarning: name 'debugging' is use > d prior to global declaration This is an error that the Python compiler generated. I'd suggest you report to the Python bug tracker. BTW, pytag.py is no longer used or maintained, so you can safely delete it. > python: stack smashing attack in function symtable_node() > error: command '/usr/bin/python' terminated by signal 6 > > !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. > !!! Function distutils_src_install, Line 43, Exitcode 1 > !!! (no error message) > > so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes > one in python) - I haven't done very much research as I can live without > egenix - but just wanted to let you know :) > > p.s. it's python-2.3.3. Thanks, -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 11 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From harrelson at gmail.com Thu Sep 30 17:48:13 2004 From: harrelson at gmail.com (Culley Harrelson) Date: Fri Jan 27 12:02:17 2006 Subject: [egenix-users] OS X 10.3.5: *** You don't have the (right) mxDateTime binaries installed ! Message-ID: <529825a30409301648507c0cf8@mail.gmail.com> I have successfully installed mxDateTime on my OS X 10.3.5 system, using the system Python installation. It installed but as soon as I try to import the module I get: === *** You don't have the (right) mxDateTime binaries installed ! Traceback (most recent call last): File "./testFeDb.py", line 4, in ? from mx import DateTime File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/__init__.py", line 8, in ? from DateTime import * File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/DateTime.py", line 9, in ? from mxDateTime import * File "/Library/Python/2.3/mx/DateTime/mxDateTime/__init__.py", line 13, in ? raise ImportError, why ImportError: Failure linking new module: : dyld: python Undefined symbols: /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyArg_ParseTuple expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCObject_FromVoidPtr expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCallable_Check expected to be defined in the executable /Library/Python/2.3/mx/Date === Has anyone experienced this? Any ideas how to fix it? culley From hanser at club-internet.fr Sat Sep 4 17:13:26 2004 From: hanser at club-internet.fr (Pierre Hanser) Date: Fri Jan 27 16:01:11 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 Message-ID: <4139CD86.6020403@club-internet.fr> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 hello seems that python2.4a3 is not compatible with the optimizations in mx/DateTime/mxDateTime/mxDateTime.c on Linux: from mx import DateTime -> core dump if I disable the optims, everything gets ok /* Define these to have the module use free lists (saves malloc calls) */ #define MXDATETIME_FREELIST #define MXDATETIMEDELTA_FREELIST #undef MXDATETIME_FREELIST #undef MXDATETIMEDELTA_FREELIST - -- Pierre -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBOc2GMQ2/jYUwmmwRAn70AJ4puAZm4p10+KTCK/GzLt20VzWd3ACfQzIo H8hLxq8iCE3KGYZ6AR5QUy8= =GA8t -----END PGP SIGNATURE----- From mal at egenix.com Sun Sep 5 19:53:02 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Fri Jan 27 16:01:12 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 In-Reply-To: <4139CD86.6020403@club-internet.fr> References: <4139CD86.6020403@club-internet.fr> Message-ID: <413B446E.40002@egenix.com> Pierre Hanser wrote: > hello > > seems that python2.4a3 is not compatible with the optimizations in > mx/DateTime/mxDateTime/mxDateTime.c on Linux: > > from mx import DateTime -> core dump > > if I disable the optims, everything gets ok > > /* Define these to have the module use free lists (saves malloc calls) */ > #define MXDATETIME_FREELIST > #define MXDATETIMEDELTA_FREELIST > #undef MXDATETIME_FREELIST > #undef MXDATETIMEDELTA_FREELIST This is more likely due to a bug in your C compiler. -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 05 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From aluton at rcseng.ac.uk Wed Sep 8 12:33:02 2004 From: aluton at rcseng.ac.uk (Alex Luton) Date: Fri Jan 27 16:01:12 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: References: Message-ID: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Hi, I'm trying to get the mxODBC DA working, but the product is broken with this error message: Traceback (most recent call last): File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product product=__import__(pname, global_dict, global_dict, silly) File "Products/mxODBCZopeDA/__init__.py", line 7, in ? File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? Any help would be much appreciated. Thanks -- Alex ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 From mal at egenix.com Wed Sep 8 13:37:44 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Fri Jan 27 16:01:12 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> References: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Message-ID: <413EE0F8.6050601@egenix.com> Alex Luton wrote: > Hi, > > I'm trying to get the mxODBC DA working, but the product is broken with > this error message: > > Traceback (most recent call last): > File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product > product=__import__(pname, global_dict, global_dict, silly) > File "Products/mxODBCZopeDA/__init__.py", line 7, in ? > File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? > ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString > > I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? RedHat chose to build Python with 4-byte Unicode which is causing all sorts of problems with pre-built extensions. We will start shipping UCS4 builds of the Zope DA with the next release. Until then, you can try the pre-release of 1.0.9: http://www.egenix.com/files/python/egenix-mxodbc-zopeda-1.0.9.linux-i686-py2.3ucs4.zip -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 08 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From kl at vsen.dk Sat Sep 11 20:21:57 2004 From: kl at vsen.dk (Klavs Klavsen) Date: Fri Jan 27 16:01:12 2006 Subject: [egenix-users] bufferoverflow in egenix? Message-ID: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Hi guys, Just installed a new gcc with stack-smashing protection - and while recompiling modules with stack-smashing protection, I got this message: -- copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l ib/python2.3/site-packages/mx/Misc copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ python2.3/site-packages/mx/Misc writing byte-compilation script '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: SyntaxWarning: name 'debugging' is use d prior to global declaration python: stack smashing attack in function symtable_node() error: command '/usr/bin/python' terminated by signal 6 !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. !!! Function distutils_src_install, Line 43, Exitcode 1 !!! (no error message) so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes one in python) - I haven't done very much research as I can live without egenix - but just wanted to let you know :) p.s. it's python-2.3.3. -- Regards, Klavs Klavsen, GSEC - kl@vsen.dk - http://www.vsen.dk PGP: 7E063C62/2873 188C 968E 600D D8F8 B8DA 3D3A 0B79 7E06 3C62 "Those who do not understand Unix are condemned to reinvent it, poorly." --Henry Spencer From mal at egenix.com Sat Sep 11 23:51:30 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Fri Jan 27 16:01:12 2006 Subject: [egenix-users] bufferoverflow in egenix? In-Reply-To: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> References: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Message-ID: <41436552.6000906@egenix.com> Klavs Klavsen wrote: > Hi guys, > > Just installed a new gcc with stack-smashing protection - and while > recompiling modules with stack-smashing protection, I got this message: > -- > copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l > ib/python2.3/site-packages/mx/Misc > copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ > python2.3/site-packages/mx/Misc > writing byte-compilation script > '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' > /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py > usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: > SyntaxWarning: name 'debugging' is use > d prior to global declaration This is an error that the Python compiler generated. I'd suggest you report to the Python bug tracker. BTW, pytag.py is no longer used or maintained, so you can safely delete it. > python: stack smashing attack in function symtable_node() > error: command '/usr/bin/python' terminated by signal 6 > > !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. > !!! Function distutils_src_install, Line 43, Exitcode 1 > !!! (no error message) > > so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes > one in python) - I haven't done very much research as I can live without > egenix - but just wanted to let you know :) > > p.s. it's python-2.3.3. Thanks, -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 11 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From harrelson at gmail.com Thu Sep 30 17:48:13 2004 From: harrelson at gmail.com (Culley Harrelson) Date: Fri Jan 27 16:01:12 2006 Subject: [egenix-users] OS X 10.3.5: *** You don't have the (right) mxDateTime binaries installed ! Message-ID: <529825a30409301648507c0cf8@mail.gmail.com> I have successfully installed mxDateTime on my OS X 10.3.5 system, using the system Python installation. It installed but as soon as I try to import the module I get: === *** You don't have the (right) mxDateTime binaries installed ! Traceback (most recent call last): File "./testFeDb.py", line 4, in ? from mx import DateTime File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/__init__.py", line 8, in ? from DateTime import * File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/DateTime.py", line 9, in ? from mxDateTime import * File "/Library/Python/2.3/mx/DateTime/mxDateTime/__init__.py", line 13, in ? raise ImportError, why ImportError: Failure linking new module: : dyld: python Undefined symbols: /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyArg_ParseTuple expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCObject_FromVoidPtr expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCallable_Check expected to be defined in the executable /Library/Python/2.3/mx/Date === Has anyone experienced this? Any ideas how to fix it? culley From hanser at club-internet.fr Sat Sep 4 17:13:26 2004 From: hanser at club-internet.fr (Pierre Hanser) Date: Fri Jan 27 20:01:02 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 Message-ID: <4139CD86.6020403@club-internet.fr> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 hello seems that python2.4a3 is not compatible with the optimizations in mx/DateTime/mxDateTime/mxDateTime.c on Linux: from mx import DateTime -> core dump if I disable the optims, everything gets ok /* Define these to have the module use free lists (saves malloc calls) */ #define MXDATETIME_FREELIST #define MXDATETIMEDELTA_FREELIST #undef MXDATETIME_FREELIST #undef MXDATETIMEDELTA_FREELIST - -- Pierre -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBOc2GMQ2/jYUwmmwRAn70AJ4puAZm4p10+KTCK/GzLt20VzWd3ACfQzIo H8hLxq8iCE3KGYZ6AR5QUy8= =GA8t -----END PGP SIGNATURE----- From mal at egenix.com Sun Sep 5 19:53:02 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Fri Jan 27 20:01:02 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 In-Reply-To: <4139CD86.6020403@club-internet.fr> References: <4139CD86.6020403@club-internet.fr> Message-ID: <413B446E.40002@egenix.com> Pierre Hanser wrote: > hello > > seems that python2.4a3 is not compatible with the optimizations in > mx/DateTime/mxDateTime/mxDateTime.c on Linux: > > from mx import DateTime -> core dump > > if I disable the optims, everything gets ok > > /* Define these to have the module use free lists (saves malloc calls) */ > #define MXDATETIME_FREELIST > #define MXDATETIMEDELTA_FREELIST > #undef MXDATETIME_FREELIST > #undef MXDATETIMEDELTA_FREELIST This is more likely due to a bug in your C compiler. -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 05 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From aluton at rcseng.ac.uk Wed Sep 8 12:33:02 2004 From: aluton at rcseng.ac.uk (Alex Luton) Date: Fri Jan 27 20:01:02 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: References: Message-ID: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Hi, I'm trying to get the mxODBC DA working, but the product is broken with this error message: Traceback (most recent call last): File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product product=__import__(pname, global_dict, global_dict, silly) File "Products/mxODBCZopeDA/__init__.py", line 7, in ? File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? Any help would be much appreciated. Thanks -- Alex ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 From mal at egenix.com Wed Sep 8 13:37:44 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Fri Jan 27 20:01:02 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> References: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Message-ID: <413EE0F8.6050601@egenix.com> Alex Luton wrote: > Hi, > > I'm trying to get the mxODBC DA working, but the product is broken with > this error message: > > Traceback (most recent call last): > File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product > product=__import__(pname, global_dict, global_dict, silly) > File "Products/mxODBCZopeDA/__init__.py", line 7, in ? > File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? > ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString > > I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? RedHat chose to build Python with 4-byte Unicode which is causing all sorts of problems with pre-built extensions. We will start shipping UCS4 builds of the Zope DA with the next release. Until then, you can try the pre-release of 1.0.9: http://www.egenix.com/files/python/egenix-mxodbc-zopeda-1.0.9.linux-i686-py2.3ucs4.zip -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 08 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From kl at vsen.dk Sat Sep 11 20:21:57 2004 From: kl at vsen.dk (Klavs Klavsen) Date: Fri Jan 27 20:01:02 2006 Subject: [egenix-users] bufferoverflow in egenix? Message-ID: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Hi guys, Just installed a new gcc with stack-smashing protection - and while recompiling modules with stack-smashing protection, I got this message: -- copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l ib/python2.3/site-packages/mx/Misc copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ python2.3/site-packages/mx/Misc writing byte-compilation script '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: SyntaxWarning: name 'debugging' is use d prior to global declaration python: stack smashing attack in function symtable_node() error: command '/usr/bin/python' terminated by signal 6 !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. !!! Function distutils_src_install, Line 43, Exitcode 1 !!! (no error message) so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes one in python) - I haven't done very much research as I can live without egenix - but just wanted to let you know :) p.s. it's python-2.3.3. -- Regards, Klavs Klavsen, GSEC - kl@vsen.dk - http://www.vsen.dk PGP: 7E063C62/2873 188C 968E 600D D8F8 B8DA 3D3A 0B79 7E06 3C62 "Those who do not understand Unix are condemned to reinvent it, poorly." --Henry Spencer From mal at egenix.com Sat Sep 11 23:51:30 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Fri Jan 27 20:01:02 2006 Subject: [egenix-users] bufferoverflow in egenix? In-Reply-To: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> References: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Message-ID: <41436552.6000906@egenix.com> Klavs Klavsen wrote: > Hi guys, > > Just installed a new gcc with stack-smashing protection - and while > recompiling modules with stack-smashing protection, I got this message: > -- > copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l > ib/python2.3/site-packages/mx/Misc > copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ > python2.3/site-packages/mx/Misc > writing byte-compilation script > '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' > /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py > usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: > SyntaxWarning: name 'debugging' is use > d prior to global declaration This is an error that the Python compiler generated. I'd suggest you report to the Python bug tracker. BTW, pytag.py is no longer used or maintained, so you can safely delete it. > python: stack smashing attack in function symtable_node() > error: command '/usr/bin/python' terminated by signal 6 > > !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. > !!! Function distutils_src_install, Line 43, Exitcode 1 > !!! (no error message) > > so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes > one in python) - I haven't done very much research as I can live without > egenix - but just wanted to let you know :) > > p.s. it's python-2.3.3. Thanks, -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 11 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From harrelson at gmail.com Thu Sep 30 17:48:13 2004 From: harrelson at gmail.com (Culley Harrelson) Date: Fri Jan 27 20:01:02 2006 Subject: [egenix-users] OS X 10.3.5: *** You don't have the (right) mxDateTime binaries installed ! Message-ID: <529825a30409301648507c0cf8@mail.gmail.com> I have successfully installed mxDateTime on my OS X 10.3.5 system, using the system Python installation. It installed but as soon as I try to import the module I get: === *** You don't have the (right) mxDateTime binaries installed ! Traceback (most recent call last): File "./testFeDb.py", line 4, in ? from mx import DateTime File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/__init__.py", line 8, in ? from DateTime import * File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/DateTime.py", line 9, in ? from mxDateTime import * File "/Library/Python/2.3/mx/DateTime/mxDateTime/__init__.py", line 13, in ? raise ImportError, why ImportError: Failure linking new module: : dyld: python Undefined symbols: /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyArg_ParseTuple expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCObject_FromVoidPtr expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCallable_Check expected to be defined in the executable /Library/Python/2.3/mx/Date === Has anyone experienced this? Any ideas how to fix it? culley From hanser at club-internet.fr Sat Sep 4 17:13:26 2004 From: hanser at club-internet.fr (Pierre Hanser) Date: Sat Jan 28 08:05:52 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 Message-ID: <4139CD86.6020403@club-internet.fr> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 hello seems that python2.4a3 is not compatible with the optimizations in mx/DateTime/mxDateTime/mxDateTime.c on Linux: from mx import DateTime -> core dump if I disable the optims, everything gets ok /* Define these to have the module use free lists (saves malloc calls) */ #define MXDATETIME_FREELIST #define MXDATETIMEDELTA_FREELIST #undef MXDATETIME_FREELIST #undef MXDATETIMEDELTA_FREELIST - -- Pierre -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBOc2GMQ2/jYUwmmwRAn70AJ4puAZm4p10+KTCK/GzLt20VzWd3ACfQzIo H8hLxq8iCE3KGYZ6AR5QUy8= =GA8t -----END PGP SIGNATURE----- From mal at egenix.com Sun Sep 5 19:53:02 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Sat Jan 28 08:05:53 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 In-Reply-To: <4139CD86.6020403@club-internet.fr> References: <4139CD86.6020403@club-internet.fr> Message-ID: <413B446E.40002@egenix.com> Pierre Hanser wrote: > hello > > seems that python2.4a3 is not compatible with the optimizations in > mx/DateTime/mxDateTime/mxDateTime.c on Linux: > > from mx import DateTime -> core dump > > if I disable the optims, everything gets ok > > /* Define these to have the module use free lists (saves malloc calls) */ > #define MXDATETIME_FREELIST > #define MXDATETIMEDELTA_FREELIST > #undef MXDATETIME_FREELIST > #undef MXDATETIMEDELTA_FREELIST This is more likely due to a bug in your C compiler. -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 05 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From aluton at rcseng.ac.uk Wed Sep 8 12:33:02 2004 From: aluton at rcseng.ac.uk (Alex Luton) Date: Sat Jan 28 08:05:53 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: References: Message-ID: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Hi, I'm trying to get the mxODBC DA working, but the product is broken with this error message: Traceback (most recent call last): File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product product=__import__(pname, global_dict, global_dict, silly) File "Products/mxODBCZopeDA/__init__.py", line 7, in ? File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? Any help would be much appreciated. Thanks -- Alex ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 From mal at egenix.com Wed Sep 8 13:37:44 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Sat Jan 28 08:05:53 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> References: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Message-ID: <413EE0F8.6050601@egenix.com> Alex Luton wrote: > Hi, > > I'm trying to get the mxODBC DA working, but the product is broken with > this error message: > > Traceback (most recent call last): > File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product > product=__import__(pname, global_dict, global_dict, silly) > File "Products/mxODBCZopeDA/__init__.py", line 7, in ? > File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? > ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString > > I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? RedHat chose to build Python with 4-byte Unicode which is causing all sorts of problems with pre-built extensions. We will start shipping UCS4 builds of the Zope DA with the next release. Until then, you can try the pre-release of 1.0.9: http://www.egenix.com/files/python/egenix-mxodbc-zopeda-1.0.9.linux-i686-py2.3ucs4.zip -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 08 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From kl at vsen.dk Sat Sep 11 20:21:57 2004 From: kl at vsen.dk (Klavs Klavsen) Date: Sat Jan 28 08:05:53 2006 Subject: [egenix-users] bufferoverflow in egenix? Message-ID: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Hi guys, Just installed a new gcc with stack-smashing protection - and while recompiling modules with stack-smashing protection, I got this message: -- copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l ib/python2.3/site-packages/mx/Misc copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ python2.3/site-packages/mx/Misc writing byte-compilation script '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: SyntaxWarning: name 'debugging' is use d prior to global declaration python: stack smashing attack in function symtable_node() error: command '/usr/bin/python' terminated by signal 6 !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. !!! Function distutils_src_install, Line 43, Exitcode 1 !!! (no error message) so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes one in python) - I haven't done very much research as I can live without egenix - but just wanted to let you know :) p.s. it's python-2.3.3. -- Regards, Klavs Klavsen, GSEC - kl@vsen.dk - http://www.vsen.dk PGP: 7E063C62/2873 188C 968E 600D D8F8 B8DA 3D3A 0B79 7E06 3C62 "Those who do not understand Unix are condemned to reinvent it, poorly." --Henry Spencer From mal at egenix.com Sat Sep 11 23:51:30 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Sat Jan 28 08:05:53 2006 Subject: [egenix-users] bufferoverflow in egenix? In-Reply-To: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> References: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Message-ID: <41436552.6000906@egenix.com> Klavs Klavsen wrote: > Hi guys, > > Just installed a new gcc with stack-smashing protection - and while > recompiling modules with stack-smashing protection, I got this message: > -- > copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l > ib/python2.3/site-packages/mx/Misc > copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ > python2.3/site-packages/mx/Misc > writing byte-compilation script > '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' > /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py > usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: > SyntaxWarning: name 'debugging' is use > d prior to global declaration This is an error that the Python compiler generated. I'd suggest you report to the Python bug tracker. BTW, pytag.py is no longer used or maintained, so you can safely delete it. > python: stack smashing attack in function symtable_node() > error: command '/usr/bin/python' terminated by signal 6 > > !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. > !!! Function distutils_src_install, Line 43, Exitcode 1 > !!! (no error message) > > so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes > one in python) - I haven't done very much research as I can live without > egenix - but just wanted to let you know :) > > p.s. it's python-2.3.3. Thanks, -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 11 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From harrelson at gmail.com Thu Sep 30 17:48:13 2004 From: harrelson at gmail.com (Culley Harrelson) Date: Sat Jan 28 08:05:53 2006 Subject: [egenix-users] OS X 10.3.5: *** You don't have the (right) mxDateTime binaries installed ! Message-ID: <529825a30409301648507c0cf8@mail.gmail.com> I have successfully installed mxDateTime on my OS X 10.3.5 system, using the system Python installation. It installed but as soon as I try to import the module I get: === *** You don't have the (right) mxDateTime binaries installed ! Traceback (most recent call last): File "./testFeDb.py", line 4, in ? from mx import DateTime File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/__init__.py", line 8, in ? from DateTime import * File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/DateTime.py", line 9, in ? from mxDateTime import * File "/Library/Python/2.3/mx/DateTime/mxDateTime/__init__.py", line 13, in ? raise ImportError, why ImportError: Failure linking new module: : dyld: python Undefined symbols: /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyArg_ParseTuple expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCObject_FromVoidPtr expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCallable_Check expected to be defined in the executable /Library/Python/2.3/mx/Date === Has anyone experienced this? Any ideas how to fix it? culley From hanser at club-internet.fr Sat Sep 4 17:13:26 2004 From: hanser at club-internet.fr (Pierre Hanser) Date: Sat Jan 28 12:02:00 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 Message-ID: <4139CD86.6020403@club-internet.fr> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 hello seems that python2.4a3 is not compatible with the optimizations in mx/DateTime/mxDateTime/mxDateTime.c on Linux: from mx import DateTime -> core dump if I disable the optims, everything gets ok /* Define these to have the module use free lists (saves malloc calls) */ #define MXDATETIME_FREELIST #define MXDATETIMEDELTA_FREELIST #undef MXDATETIME_FREELIST #undef MXDATETIMEDELTA_FREELIST - -- Pierre -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBOc2GMQ2/jYUwmmwRAn70AJ4puAZm4p10+KTCK/GzLt20VzWd3ACfQzIo H8hLxq8iCE3KGYZ6AR5QUy8= =GA8t -----END PGP SIGNATURE----- From mal at egenix.com Sun Sep 5 19:53:02 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Sat Jan 28 12:02:00 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 In-Reply-To: <4139CD86.6020403@club-internet.fr> References: <4139CD86.6020403@club-internet.fr> Message-ID: <413B446E.40002@egenix.com> Pierre Hanser wrote: > hello > > seems that python2.4a3 is not compatible with the optimizations in > mx/DateTime/mxDateTime/mxDateTime.c on Linux: > > from mx import DateTime -> core dump > > if I disable the optims, everything gets ok > > /* Define these to have the module use free lists (saves malloc calls) */ > #define MXDATETIME_FREELIST > #define MXDATETIMEDELTA_FREELIST > #undef MXDATETIME_FREELIST > #undef MXDATETIMEDELTA_FREELIST This is more likely due to a bug in your C compiler. -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 05 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From aluton at rcseng.ac.uk Wed Sep 8 12:33:02 2004 From: aluton at rcseng.ac.uk (Alex Luton) Date: Sat Jan 28 12:02:00 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: References: Message-ID: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Hi, I'm trying to get the mxODBC DA working, but the product is broken with this error message: Traceback (most recent call last): File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product product=__import__(pname, global_dict, global_dict, silly) File "Products/mxODBCZopeDA/__init__.py", line 7, in ? File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? Any help would be much appreciated. Thanks -- Alex ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 From mal at egenix.com Wed Sep 8 13:37:44 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Sat Jan 28 12:02:00 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> References: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Message-ID: <413EE0F8.6050601@egenix.com> Alex Luton wrote: > Hi, > > I'm trying to get the mxODBC DA working, but the product is broken with > this error message: > > Traceback (most recent call last): > File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product > product=__import__(pname, global_dict, global_dict, silly) > File "Products/mxODBCZopeDA/__init__.py", line 7, in ? > File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? > ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString > > I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? RedHat chose to build Python with 4-byte Unicode which is causing all sorts of problems with pre-built extensions. We will start shipping UCS4 builds of the Zope DA with the next release. Until then, you can try the pre-release of 1.0.9: http://www.egenix.com/files/python/egenix-mxodbc-zopeda-1.0.9.linux-i686-py2.3ucs4.zip -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 08 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From kl at vsen.dk Sat Sep 11 20:21:57 2004 From: kl at vsen.dk (Klavs Klavsen) Date: Sat Jan 28 12:02:00 2006 Subject: [egenix-users] bufferoverflow in egenix? Message-ID: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Hi guys, Just installed a new gcc with stack-smashing protection - and while recompiling modules with stack-smashing protection, I got this message: -- copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l ib/python2.3/site-packages/mx/Misc copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ python2.3/site-packages/mx/Misc writing byte-compilation script '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: SyntaxWarning: name 'debugging' is use d prior to global declaration python: stack smashing attack in function symtable_node() error: command '/usr/bin/python' terminated by signal 6 !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. !!! Function distutils_src_install, Line 43, Exitcode 1 !!! (no error message) so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes one in python) - I haven't done very much research as I can live without egenix - but just wanted to let you know :) p.s. it's python-2.3.3. -- Regards, Klavs Klavsen, GSEC - kl@vsen.dk - http://www.vsen.dk PGP: 7E063C62/2873 188C 968E 600D D8F8 B8DA 3D3A 0B79 7E06 3C62 "Those who do not understand Unix are condemned to reinvent it, poorly." --Henry Spencer From mal at egenix.com Sat Sep 11 23:51:30 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Sat Jan 28 12:02:00 2006 Subject: [egenix-users] bufferoverflow in egenix? In-Reply-To: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> References: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Message-ID: <41436552.6000906@egenix.com> Klavs Klavsen wrote: > Hi guys, > > Just installed a new gcc with stack-smashing protection - and while > recompiling modules with stack-smashing protection, I got this message: > -- > copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l > ib/python2.3/site-packages/mx/Misc > copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ > python2.3/site-packages/mx/Misc > writing byte-compilation script > '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' > /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py > usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: > SyntaxWarning: name 'debugging' is use > d prior to global declaration This is an error that the Python compiler generated. I'd suggest you report to the Python bug tracker. BTW, pytag.py is no longer used or maintained, so you can safely delete it. > python: stack smashing attack in function symtable_node() > error: command '/usr/bin/python' terminated by signal 6 > > !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. > !!! Function distutils_src_install, Line 43, Exitcode 1 > !!! (no error message) > > so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes > one in python) - I haven't done very much research as I can live without > egenix - but just wanted to let you know :) > > p.s. it's python-2.3.3. Thanks, -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 11 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From harrelson at gmail.com Thu Sep 30 17:48:13 2004 From: harrelson at gmail.com (Culley Harrelson) Date: Sat Jan 28 12:02:00 2006 Subject: [egenix-users] OS X 10.3.5: *** You don't have the (right) mxDateTime binaries installed ! Message-ID: <529825a30409301648507c0cf8@mail.gmail.com> I have successfully installed mxDateTime on my OS X 10.3.5 system, using the system Python installation. It installed but as soon as I try to import the module I get: === *** You don't have the (right) mxDateTime binaries installed ! Traceback (most recent call last): File "./testFeDb.py", line 4, in ? from mx import DateTime File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/__init__.py", line 8, in ? from DateTime import * File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/DateTime.py", line 9, in ? from mxDateTime import * File "/Library/Python/2.3/mx/DateTime/mxDateTime/__init__.py", line 13, in ? raise ImportError, why ImportError: Failure linking new module: : dyld: python Undefined symbols: /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyArg_ParseTuple expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCObject_FromVoidPtr expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCallable_Check expected to be defined in the executable /Library/Python/2.3/mx/Date === Has anyone experienced this? Any ideas how to fix it? culley From hanser at club-internet.fr Sat Sep 4 17:13:26 2004 From: hanser at club-internet.fr (Pierre Hanser) Date: Sat Jan 28 16:01:00 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 Message-ID: <4139CD86.6020403@club-internet.fr> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 hello seems that python2.4a3 is not compatible with the optimizations in mx/DateTime/mxDateTime/mxDateTime.c on Linux: from mx import DateTime -> core dump if I disable the optims, everything gets ok /* Define these to have the module use free lists (saves malloc calls) */ #define MXDATETIME_FREELIST #define MXDATETIMEDELTA_FREELIST #undef MXDATETIME_FREELIST #undef MXDATETIMEDELTA_FREELIST - -- Pierre -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBOc2GMQ2/jYUwmmwRAn70AJ4puAZm4p10+KTCK/GzLt20VzWd3ACfQzIo H8hLxq8iCE3KGYZ6AR5QUy8= =GA8t -----END PGP SIGNATURE----- From mal at egenix.com Sun Sep 5 19:53:02 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Sat Jan 28 16:01:00 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 In-Reply-To: <4139CD86.6020403@club-internet.fr> References: <4139CD86.6020403@club-internet.fr> Message-ID: <413B446E.40002@egenix.com> Pierre Hanser wrote: > hello > > seems that python2.4a3 is not compatible with the optimizations in > mx/DateTime/mxDateTime/mxDateTime.c on Linux: > > from mx import DateTime -> core dump > > if I disable the optims, everything gets ok > > /* Define these to have the module use free lists (saves malloc calls) */ > #define MXDATETIME_FREELIST > #define MXDATETIMEDELTA_FREELIST > #undef MXDATETIME_FREELIST > #undef MXDATETIMEDELTA_FREELIST This is more likely due to a bug in your C compiler. -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 05 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From aluton at rcseng.ac.uk Wed Sep 8 12:33:02 2004 From: aluton at rcseng.ac.uk (Alex Luton) Date: Sat Jan 28 16:01:00 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: References: Message-ID: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Hi, I'm trying to get the mxODBC DA working, but the product is broken with this error message: Traceback (most recent call last): File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product product=__import__(pname, global_dict, global_dict, silly) File "Products/mxODBCZopeDA/__init__.py", line 7, in ? File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? Any help would be much appreciated. Thanks -- Alex ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 From mal at egenix.com Wed Sep 8 13:37:44 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Sat Jan 28 16:01:00 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> References: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Message-ID: <413EE0F8.6050601@egenix.com> Alex Luton wrote: > Hi, > > I'm trying to get the mxODBC DA working, but the product is broken with > this error message: > > Traceback (most recent call last): > File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product > product=__import__(pname, global_dict, global_dict, silly) > File "Products/mxODBCZopeDA/__init__.py", line 7, in ? > File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? > ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString > > I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? RedHat chose to build Python with 4-byte Unicode which is causing all sorts of problems with pre-built extensions. We will start shipping UCS4 builds of the Zope DA with the next release. Until then, you can try the pre-release of 1.0.9: http://www.egenix.com/files/python/egenix-mxodbc-zopeda-1.0.9.linux-i686-py2.3ucs4.zip -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 08 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From kl at vsen.dk Sat Sep 11 20:21:57 2004 From: kl at vsen.dk (Klavs Klavsen) Date: Sat Jan 28 16:01:00 2006 Subject: [egenix-users] bufferoverflow in egenix? Message-ID: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Hi guys, Just installed a new gcc with stack-smashing protection - and while recompiling modules with stack-smashing protection, I got this message: -- copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l ib/python2.3/site-packages/mx/Misc copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ python2.3/site-packages/mx/Misc writing byte-compilation script '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: SyntaxWarning: name 'debugging' is use d prior to global declaration python: stack smashing attack in function symtable_node() error: command '/usr/bin/python' terminated by signal 6 !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. !!! Function distutils_src_install, Line 43, Exitcode 1 !!! (no error message) so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes one in python) - I haven't done very much research as I can live without egenix - but just wanted to let you know :) p.s. it's python-2.3.3. -- Regards, Klavs Klavsen, GSEC - kl@vsen.dk - http://www.vsen.dk PGP: 7E063C62/2873 188C 968E 600D D8F8 B8DA 3D3A 0B79 7E06 3C62 "Those who do not understand Unix are condemned to reinvent it, poorly." --Henry Spencer From mal at egenix.com Sat Sep 11 23:51:30 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Sat Jan 28 16:01:00 2006 Subject: [egenix-users] bufferoverflow in egenix? In-Reply-To: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> References: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Message-ID: <41436552.6000906@egenix.com> Klavs Klavsen wrote: > Hi guys, > > Just installed a new gcc with stack-smashing protection - and while > recompiling modules with stack-smashing protection, I got this message: > -- > copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l > ib/python2.3/site-packages/mx/Misc > copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ > python2.3/site-packages/mx/Misc > writing byte-compilation script > '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' > /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py > usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: > SyntaxWarning: name 'debugging' is use > d prior to global declaration This is an error that the Python compiler generated. I'd suggest you report to the Python bug tracker. BTW, pytag.py is no longer used or maintained, so you can safely delete it. > python: stack smashing attack in function symtable_node() > error: command '/usr/bin/python' terminated by signal 6 > > !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. > !!! Function distutils_src_install, Line 43, Exitcode 1 > !!! (no error message) > > so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes > one in python) - I haven't done very much research as I can live without > egenix - but just wanted to let you know :) > > p.s. it's python-2.3.3. Thanks, -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 11 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From harrelson at gmail.com Thu Sep 30 17:48:13 2004 From: harrelson at gmail.com (Culley Harrelson) Date: Sat Jan 28 16:01:00 2006 Subject: [egenix-users] OS X 10.3.5: *** You don't have the (right) mxDateTime binaries installed ! Message-ID: <529825a30409301648507c0cf8@mail.gmail.com> I have successfully installed mxDateTime on my OS X 10.3.5 system, using the system Python installation. It installed but as soon as I try to import the module I get: === *** You don't have the (right) mxDateTime binaries installed ! Traceback (most recent call last): File "./testFeDb.py", line 4, in ? from mx import DateTime File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/__init__.py", line 8, in ? from DateTime import * File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/DateTime.py", line 9, in ? from mxDateTime import * File "/Library/Python/2.3/mx/DateTime/mxDateTime/__init__.py", line 13, in ? raise ImportError, why ImportError: Failure linking new module: : dyld: python Undefined symbols: /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyArg_ParseTuple expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCObject_FromVoidPtr expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCallable_Check expected to be defined in the executable /Library/Python/2.3/mx/Date === Has anyone experienced this? Any ideas how to fix it? culley From hanser at club-internet.fr Sat Sep 4 17:13:26 2004 From: hanser at club-internet.fr (Pierre Hanser) Date: Sat Jan 28 20:01:00 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 Message-ID: <4139CD86.6020403@club-internet.fr> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 hello seems that python2.4a3 is not compatible with the optimizations in mx/DateTime/mxDateTime/mxDateTime.c on Linux: from mx import DateTime -> core dump if I disable the optims, everything gets ok /* Define these to have the module use free lists (saves malloc calls) */ #define MXDATETIME_FREELIST #define MXDATETIMEDELTA_FREELIST #undef MXDATETIME_FREELIST #undef MXDATETIMEDELTA_FREELIST - -- Pierre -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBOc2GMQ2/jYUwmmwRAn70AJ4puAZm4p10+KTCK/GzLt20VzWd3ACfQzIo H8hLxq8iCE3KGYZ6AR5QUy8= =GA8t -----END PGP SIGNATURE----- From mal at egenix.com Sun Sep 5 19:53:02 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Sat Jan 28 20:01:00 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 In-Reply-To: <4139CD86.6020403@club-internet.fr> References: <4139CD86.6020403@club-internet.fr> Message-ID: <413B446E.40002@egenix.com> Pierre Hanser wrote: > hello > > seems that python2.4a3 is not compatible with the optimizations in > mx/DateTime/mxDateTime/mxDateTime.c on Linux: > > from mx import DateTime -> core dump > > if I disable the optims, everything gets ok > > /* Define these to have the module use free lists (saves malloc calls) */ > #define MXDATETIME_FREELIST > #define MXDATETIMEDELTA_FREELIST > #undef MXDATETIME_FREELIST > #undef MXDATETIMEDELTA_FREELIST This is more likely due to a bug in your C compiler. -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 05 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From aluton at rcseng.ac.uk Wed Sep 8 12:33:02 2004 From: aluton at rcseng.ac.uk (Alex Luton) Date: Sat Jan 28 20:01:00 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: References: Message-ID: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Hi, I'm trying to get the mxODBC DA working, but the product is broken with this error message: Traceback (most recent call last): File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product product=__import__(pname, global_dict, global_dict, silly) File "Products/mxODBCZopeDA/__init__.py", line 7, in ? File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? Any help would be much appreciated. Thanks -- Alex ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 From mal at egenix.com Wed Sep 8 13:37:44 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Sat Jan 28 20:01:00 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> References: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Message-ID: <413EE0F8.6050601@egenix.com> Alex Luton wrote: > Hi, > > I'm trying to get the mxODBC DA working, but the product is broken with > this error message: > > Traceback (most recent call last): > File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product > product=__import__(pname, global_dict, global_dict, silly) > File "Products/mxODBCZopeDA/__init__.py", line 7, in ? > File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? > ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString > > I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? RedHat chose to build Python with 4-byte Unicode which is causing all sorts of problems with pre-built extensions. We will start shipping UCS4 builds of the Zope DA with the next release. Until then, you can try the pre-release of 1.0.9: http://www.egenix.com/files/python/egenix-mxodbc-zopeda-1.0.9.linux-i686-py2.3ucs4.zip -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 08 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From kl at vsen.dk Sat Sep 11 20:21:57 2004 From: kl at vsen.dk (Klavs Klavsen) Date: Sat Jan 28 20:01:00 2006 Subject: [egenix-users] bufferoverflow in egenix? Message-ID: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Hi guys, Just installed a new gcc with stack-smashing protection - and while recompiling modules with stack-smashing protection, I got this message: -- copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l ib/python2.3/site-packages/mx/Misc copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ python2.3/site-packages/mx/Misc writing byte-compilation script '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: SyntaxWarning: name 'debugging' is use d prior to global declaration python: stack smashing attack in function symtable_node() error: command '/usr/bin/python' terminated by signal 6 !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. !!! Function distutils_src_install, Line 43, Exitcode 1 !!! (no error message) so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes one in python) - I haven't done very much research as I can live without egenix - but just wanted to let you know :) p.s. it's python-2.3.3. -- Regards, Klavs Klavsen, GSEC - kl@vsen.dk - http://www.vsen.dk PGP: 7E063C62/2873 188C 968E 600D D8F8 B8DA 3D3A 0B79 7E06 3C62 "Those who do not understand Unix are condemned to reinvent it, poorly." --Henry Spencer From mal at egenix.com Sat Sep 11 23:51:30 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Sat Jan 28 20:01:00 2006 Subject: [egenix-users] bufferoverflow in egenix? In-Reply-To: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> References: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Message-ID: <41436552.6000906@egenix.com> Klavs Klavsen wrote: > Hi guys, > > Just installed a new gcc with stack-smashing protection - and while > recompiling modules with stack-smashing protection, I got this message: > -- > copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l > ib/python2.3/site-packages/mx/Misc > copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ > python2.3/site-packages/mx/Misc > writing byte-compilation script > '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' > /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py > usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: > SyntaxWarning: name 'debugging' is use > d prior to global declaration This is an error that the Python compiler generated. I'd suggest you report to the Python bug tracker. BTW, pytag.py is no longer used or maintained, so you can safely delete it. > python: stack smashing attack in function symtable_node() > error: command '/usr/bin/python' terminated by signal 6 > > !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. > !!! Function distutils_src_install, Line 43, Exitcode 1 > !!! (no error message) > > so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes > one in python) - I haven't done very much research as I can live without > egenix - but just wanted to let you know :) > > p.s. it's python-2.3.3. Thanks, -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 11 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From harrelson at gmail.com Thu Sep 30 17:48:13 2004 From: harrelson at gmail.com (Culley Harrelson) Date: Sat Jan 28 20:01:00 2006 Subject: [egenix-users] OS X 10.3.5: *** You don't have the (right) mxDateTime binaries installed ! Message-ID: <529825a30409301648507c0cf8@mail.gmail.com> I have successfully installed mxDateTime on my OS X 10.3.5 system, using the system Python installation. It installed but as soon as I try to import the module I get: === *** You don't have the (right) mxDateTime binaries installed ! Traceback (most recent call last): File "./testFeDb.py", line 4, in ? from mx import DateTime File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/__init__.py", line 8, in ? from DateTime import * File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/DateTime.py", line 9, in ? from mxDateTime import * File "/Library/Python/2.3/mx/DateTime/mxDateTime/__init__.py", line 13, in ? raise ImportError, why ImportError: Failure linking new module: : dyld: python Undefined symbols: /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyArg_ParseTuple expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCObject_FromVoidPtr expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCallable_Check expected to be defined in the executable /Library/Python/2.3/mx/Date === Has anyone experienced this? Any ideas how to fix it? culley From hanser at club-internet.fr Sat Sep 4 17:13:26 2004 From: hanser at club-internet.fr (Pierre Hanser) Date: Sun Jan 29 08:07:40 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 Message-ID: <4139CD86.6020403@club-internet.fr> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 hello seems that python2.4a3 is not compatible with the optimizations in mx/DateTime/mxDateTime/mxDateTime.c on Linux: from mx import DateTime -> core dump if I disable the optims, everything gets ok /* Define these to have the module use free lists (saves malloc calls) */ #define MXDATETIME_FREELIST #define MXDATETIMEDELTA_FREELIST #undef MXDATETIME_FREELIST #undef MXDATETIMEDELTA_FREELIST - -- Pierre -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBOc2GMQ2/jYUwmmwRAn70AJ4puAZm4p10+KTCK/GzLt20VzWd3ACfQzIo H8hLxq8iCE3KGYZ6AR5QUy8= =GA8t -----END PGP SIGNATURE----- From mal at egenix.com Sun Sep 5 19:53:02 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Sun Jan 29 08:07:40 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 In-Reply-To: <4139CD86.6020403@club-internet.fr> References: <4139CD86.6020403@club-internet.fr> Message-ID: <413B446E.40002@egenix.com> Pierre Hanser wrote: > hello > > seems that python2.4a3 is not compatible with the optimizations in > mx/DateTime/mxDateTime/mxDateTime.c on Linux: > > from mx import DateTime -> core dump > > if I disable the optims, everything gets ok > > /* Define these to have the module use free lists (saves malloc calls) */ > #define MXDATETIME_FREELIST > #define MXDATETIMEDELTA_FREELIST > #undef MXDATETIME_FREELIST > #undef MXDATETIMEDELTA_FREELIST This is more likely due to a bug in your C compiler. -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 05 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From aluton at rcseng.ac.uk Wed Sep 8 12:33:02 2004 From: aluton at rcseng.ac.uk (Alex Luton) Date: Sun Jan 29 08:07:40 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: References: Message-ID: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Hi, I'm trying to get the mxODBC DA working, but the product is broken with this error message: Traceback (most recent call last): File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product product=__import__(pname, global_dict, global_dict, silly) File "Products/mxODBCZopeDA/__init__.py", line 7, in ? File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? Any help would be much appreciated. Thanks -- Alex ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 From mal at egenix.com Wed Sep 8 13:37:44 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Sun Jan 29 08:07:40 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> References: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Message-ID: <413EE0F8.6050601@egenix.com> Alex Luton wrote: > Hi, > > I'm trying to get the mxODBC DA working, but the product is broken with > this error message: > > Traceback (most recent call last): > File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product > product=__import__(pname, global_dict, global_dict, silly) > File "Products/mxODBCZopeDA/__init__.py", line 7, in ? > File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? > ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString > > I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? RedHat chose to build Python with 4-byte Unicode which is causing all sorts of problems with pre-built extensions. We will start shipping UCS4 builds of the Zope DA with the next release. Until then, you can try the pre-release of 1.0.9: http://www.egenix.com/files/python/egenix-mxodbc-zopeda-1.0.9.linux-i686-py2.3ucs4.zip -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 08 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From kl at vsen.dk Sat Sep 11 20:21:57 2004 From: kl at vsen.dk (Klavs Klavsen) Date: Sun Jan 29 08:07:40 2006 Subject: [egenix-users] bufferoverflow in egenix? Message-ID: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Hi guys, Just installed a new gcc with stack-smashing protection - and while recompiling modules with stack-smashing protection, I got this message: -- copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l ib/python2.3/site-packages/mx/Misc copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ python2.3/site-packages/mx/Misc writing byte-compilation script '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: SyntaxWarning: name 'debugging' is use d prior to global declaration python: stack smashing attack in function symtable_node() error: command '/usr/bin/python' terminated by signal 6 !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. !!! Function distutils_src_install, Line 43, Exitcode 1 !!! (no error message) so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes one in python) - I haven't done very much research as I can live without egenix - but just wanted to let you know :) p.s. it's python-2.3.3. -- Regards, Klavs Klavsen, GSEC - kl@vsen.dk - http://www.vsen.dk PGP: 7E063C62/2873 188C 968E 600D D8F8 B8DA 3D3A 0B79 7E06 3C62 "Those who do not understand Unix are condemned to reinvent it, poorly." --Henry Spencer From mal at egenix.com Sat Sep 11 23:51:30 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Sun Jan 29 08:07:40 2006 Subject: [egenix-users] bufferoverflow in egenix? In-Reply-To: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> References: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Message-ID: <41436552.6000906@egenix.com> Klavs Klavsen wrote: > Hi guys, > > Just installed a new gcc with stack-smashing protection - and while > recompiling modules with stack-smashing protection, I got this message: > -- > copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l > ib/python2.3/site-packages/mx/Misc > copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ > python2.3/site-packages/mx/Misc > writing byte-compilation script > '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' > /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py > usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: > SyntaxWarning: name 'debugging' is use > d prior to global declaration This is an error that the Python compiler generated. I'd suggest you report to the Python bug tracker. BTW, pytag.py is no longer used or maintained, so you can safely delete it. > python: stack smashing attack in function symtable_node() > error: command '/usr/bin/python' terminated by signal 6 > > !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. > !!! Function distutils_src_install, Line 43, Exitcode 1 > !!! (no error message) > > so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes > one in python) - I haven't done very much research as I can live without > egenix - but just wanted to let you know :) > > p.s. it's python-2.3.3. Thanks, -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 11 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From harrelson at gmail.com Thu Sep 30 17:48:13 2004 From: harrelson at gmail.com (Culley Harrelson) Date: Sun Jan 29 08:07:40 2006 Subject: [egenix-users] OS X 10.3.5: *** You don't have the (right) mxDateTime binaries installed ! Message-ID: <529825a30409301648507c0cf8@mail.gmail.com> I have successfully installed mxDateTime on my OS X 10.3.5 system, using the system Python installation. It installed but as soon as I try to import the module I get: === *** You don't have the (right) mxDateTime binaries installed ! Traceback (most recent call last): File "./testFeDb.py", line 4, in ? from mx import DateTime File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/__init__.py", line 8, in ? from DateTime import * File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/DateTime.py", line 9, in ? from mxDateTime import * File "/Library/Python/2.3/mx/DateTime/mxDateTime/__init__.py", line 13, in ? raise ImportError, why ImportError: Failure linking new module: : dyld: python Undefined symbols: /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyArg_ParseTuple expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCObject_FromVoidPtr expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCallable_Check expected to be defined in the executable /Library/Python/2.3/mx/Date === Has anyone experienced this? Any ideas how to fix it? culley From hanser at club-internet.fr Sat Sep 4 17:13:26 2004 From: hanser at club-internet.fr (Pierre Hanser) Date: Sun Jan 29 12:01:06 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 Message-ID: <4139CD86.6020403@club-internet.fr> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 hello seems that python2.4a3 is not compatible with the optimizations in mx/DateTime/mxDateTime/mxDateTime.c on Linux: from mx import DateTime -> core dump if I disable the optims, everything gets ok /* Define these to have the module use free lists (saves malloc calls) */ #define MXDATETIME_FREELIST #define MXDATETIMEDELTA_FREELIST #undef MXDATETIME_FREELIST #undef MXDATETIMEDELTA_FREELIST - -- Pierre -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBOc2GMQ2/jYUwmmwRAn70AJ4puAZm4p10+KTCK/GzLt20VzWd3ACfQzIo H8hLxq8iCE3KGYZ6AR5QUy8= =GA8t -----END PGP SIGNATURE----- From mal at egenix.com Sun Sep 5 19:53:02 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Sun Jan 29 12:01:06 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 In-Reply-To: <4139CD86.6020403@club-internet.fr> References: <4139CD86.6020403@club-internet.fr> Message-ID: <413B446E.40002@egenix.com> Pierre Hanser wrote: > hello > > seems that python2.4a3 is not compatible with the optimizations in > mx/DateTime/mxDateTime/mxDateTime.c on Linux: > > from mx import DateTime -> core dump > > if I disable the optims, everything gets ok > > /* Define these to have the module use free lists (saves malloc calls) */ > #define MXDATETIME_FREELIST > #define MXDATETIMEDELTA_FREELIST > #undef MXDATETIME_FREELIST > #undef MXDATETIMEDELTA_FREELIST This is more likely due to a bug in your C compiler. -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 05 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From aluton at rcseng.ac.uk Wed Sep 8 12:33:02 2004 From: aluton at rcseng.ac.uk (Alex Luton) Date: Sun Jan 29 12:01:06 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: References: Message-ID: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Hi, I'm trying to get the mxODBC DA working, but the product is broken with this error message: Traceback (most recent call last): File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product product=__import__(pname, global_dict, global_dict, silly) File "Products/mxODBCZopeDA/__init__.py", line 7, in ? File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? Any help would be much appreciated. Thanks -- Alex ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 From mal at egenix.com Wed Sep 8 13:37:44 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Sun Jan 29 12:01:06 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> References: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Message-ID: <413EE0F8.6050601@egenix.com> Alex Luton wrote: > Hi, > > I'm trying to get the mxODBC DA working, but the product is broken with > this error message: > > Traceback (most recent call last): > File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product > product=__import__(pname, global_dict, global_dict, silly) > File "Products/mxODBCZopeDA/__init__.py", line 7, in ? > File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? > ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString > > I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? RedHat chose to build Python with 4-byte Unicode which is causing all sorts of problems with pre-built extensions. We will start shipping UCS4 builds of the Zope DA with the next release. Until then, you can try the pre-release of 1.0.9: http://www.egenix.com/files/python/egenix-mxodbc-zopeda-1.0.9.linux-i686-py2.3ucs4.zip -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 08 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From kl at vsen.dk Sat Sep 11 20:21:57 2004 From: kl at vsen.dk (Klavs Klavsen) Date: Sun Jan 29 12:01:06 2006 Subject: [egenix-users] bufferoverflow in egenix? Message-ID: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Hi guys, Just installed a new gcc with stack-smashing protection - and while recompiling modules with stack-smashing protection, I got this message: -- copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l ib/python2.3/site-packages/mx/Misc copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ python2.3/site-packages/mx/Misc writing byte-compilation script '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: SyntaxWarning: name 'debugging' is use d prior to global declaration python: stack smashing attack in function symtable_node() error: command '/usr/bin/python' terminated by signal 6 !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. !!! Function distutils_src_install, Line 43, Exitcode 1 !!! (no error message) so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes one in python) - I haven't done very much research as I can live without egenix - but just wanted to let you know :) p.s. it's python-2.3.3. -- Regards, Klavs Klavsen, GSEC - kl@vsen.dk - http://www.vsen.dk PGP: 7E063C62/2873 188C 968E 600D D8F8 B8DA 3D3A 0B79 7E06 3C62 "Those who do not understand Unix are condemned to reinvent it, poorly." --Henry Spencer From mal at egenix.com Sat Sep 11 23:51:30 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Sun Jan 29 12:01:06 2006 Subject: [egenix-users] bufferoverflow in egenix? In-Reply-To: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> References: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Message-ID: <41436552.6000906@egenix.com> Klavs Klavsen wrote: > Hi guys, > > Just installed a new gcc with stack-smashing protection - and while > recompiling modules with stack-smashing protection, I got this message: > -- > copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l > ib/python2.3/site-packages/mx/Misc > copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ > python2.3/site-packages/mx/Misc > writing byte-compilation script > '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' > /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py > usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: > SyntaxWarning: name 'debugging' is use > d prior to global declaration This is an error that the Python compiler generated. I'd suggest you report to the Python bug tracker. BTW, pytag.py is no longer used or maintained, so you can safely delete it. > python: stack smashing attack in function symtable_node() > error: command '/usr/bin/python' terminated by signal 6 > > !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. > !!! Function distutils_src_install, Line 43, Exitcode 1 > !!! (no error message) > > so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes > one in python) - I haven't done very much research as I can live without > egenix - but just wanted to let you know :) > > p.s. it's python-2.3.3. Thanks, -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 11 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From harrelson at gmail.com Thu Sep 30 17:48:13 2004 From: harrelson at gmail.com (Culley Harrelson) Date: Sun Jan 29 12:01:06 2006 Subject: [egenix-users] OS X 10.3.5: *** You don't have the (right) mxDateTime binaries installed ! Message-ID: <529825a30409301648507c0cf8@mail.gmail.com> I have successfully installed mxDateTime on my OS X 10.3.5 system, using the system Python installation. It installed but as soon as I try to import the module I get: === *** You don't have the (right) mxDateTime binaries installed ! Traceback (most recent call last): File "./testFeDb.py", line 4, in ? from mx import DateTime File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/__init__.py", line 8, in ? from DateTime import * File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/DateTime.py", line 9, in ? from mxDateTime import * File "/Library/Python/2.3/mx/DateTime/mxDateTime/__init__.py", line 13, in ? raise ImportError, why ImportError: Failure linking new module: : dyld: python Undefined symbols: /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyArg_ParseTuple expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCObject_FromVoidPtr expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCallable_Check expected to be defined in the executable /Library/Python/2.3/mx/Date === Has anyone experienced this? Any ideas how to fix it? culley From hanser at club-internet.fr Sat Sep 4 17:13:26 2004 From: hanser at club-internet.fr (Pierre Hanser) Date: Sun Jan 29 16:00:58 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 Message-ID: <4139CD86.6020403@club-internet.fr> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 hello seems that python2.4a3 is not compatible with the optimizations in mx/DateTime/mxDateTime/mxDateTime.c on Linux: from mx import DateTime -> core dump if I disable the optims, everything gets ok /* Define these to have the module use free lists (saves malloc calls) */ #define MXDATETIME_FREELIST #define MXDATETIMEDELTA_FREELIST #undef MXDATETIME_FREELIST #undef MXDATETIMEDELTA_FREELIST - -- Pierre -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBOc2GMQ2/jYUwmmwRAn70AJ4puAZm4p10+KTCK/GzLt20VzWd3ACfQzIo H8hLxq8iCE3KGYZ6AR5QUy8= =GA8t -----END PGP SIGNATURE----- From mal at egenix.com Sun Sep 5 19:53:02 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Sun Jan 29 16:00:58 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 In-Reply-To: <4139CD86.6020403@club-internet.fr> References: <4139CD86.6020403@club-internet.fr> Message-ID: <413B446E.40002@egenix.com> Pierre Hanser wrote: > hello > > seems that python2.4a3 is not compatible with the optimizations in > mx/DateTime/mxDateTime/mxDateTime.c on Linux: > > from mx import DateTime -> core dump > > if I disable the optims, everything gets ok > > /* Define these to have the module use free lists (saves malloc calls) */ > #define MXDATETIME_FREELIST > #define MXDATETIMEDELTA_FREELIST > #undef MXDATETIME_FREELIST > #undef MXDATETIMEDELTA_FREELIST This is more likely due to a bug in your C compiler. -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 05 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From aluton at rcseng.ac.uk Wed Sep 8 12:33:02 2004 From: aluton at rcseng.ac.uk (Alex Luton) Date: Sun Jan 29 16:00:58 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: References: Message-ID: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Hi, I'm trying to get the mxODBC DA working, but the product is broken with this error message: Traceback (most recent call last): File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product product=__import__(pname, global_dict, global_dict, silly) File "Products/mxODBCZopeDA/__init__.py", line 7, in ? File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? Any help would be much appreciated. Thanks -- Alex ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 From mal at egenix.com Wed Sep 8 13:37:44 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Sun Jan 29 16:00:58 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> References: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Message-ID: <413EE0F8.6050601@egenix.com> Alex Luton wrote: > Hi, > > I'm trying to get the mxODBC DA working, but the product is broken with > this error message: > > Traceback (most recent call last): > File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product > product=__import__(pname, global_dict, global_dict, silly) > File "Products/mxODBCZopeDA/__init__.py", line 7, in ? > File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? > ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString > > I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? RedHat chose to build Python with 4-byte Unicode which is causing all sorts of problems with pre-built extensions. We will start shipping UCS4 builds of the Zope DA with the next release. Until then, you can try the pre-release of 1.0.9: http://www.egenix.com/files/python/egenix-mxodbc-zopeda-1.0.9.linux-i686-py2.3ucs4.zip -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 08 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From kl at vsen.dk Sat Sep 11 20:21:57 2004 From: kl at vsen.dk (Klavs Klavsen) Date: Sun Jan 29 16:00:58 2006 Subject: [egenix-users] bufferoverflow in egenix? Message-ID: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Hi guys, Just installed a new gcc with stack-smashing protection - and while recompiling modules with stack-smashing protection, I got this message: -- copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l ib/python2.3/site-packages/mx/Misc copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ python2.3/site-packages/mx/Misc writing byte-compilation script '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: SyntaxWarning: name 'debugging' is use d prior to global declaration python: stack smashing attack in function symtable_node() error: command '/usr/bin/python' terminated by signal 6 !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. !!! Function distutils_src_install, Line 43, Exitcode 1 !!! (no error message) so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes one in python) - I haven't done very much research as I can live without egenix - but just wanted to let you know :) p.s. it's python-2.3.3. -- Regards, Klavs Klavsen, GSEC - kl@vsen.dk - http://www.vsen.dk PGP: 7E063C62/2873 188C 968E 600D D8F8 B8DA 3D3A 0B79 7E06 3C62 "Those who do not understand Unix are condemned to reinvent it, poorly." --Henry Spencer From mal at egenix.com Sat Sep 11 23:51:30 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Sun Jan 29 16:00:58 2006 Subject: [egenix-users] bufferoverflow in egenix? In-Reply-To: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> References: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Message-ID: <41436552.6000906@egenix.com> Klavs Klavsen wrote: > Hi guys, > > Just installed a new gcc with stack-smashing protection - and while > recompiling modules with stack-smashing protection, I got this message: > -- > copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l > ib/python2.3/site-packages/mx/Misc > copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ > python2.3/site-packages/mx/Misc > writing byte-compilation script > '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' > /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py > usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: > SyntaxWarning: name 'debugging' is use > d prior to global declaration This is an error that the Python compiler generated. I'd suggest you report to the Python bug tracker. BTW, pytag.py is no longer used or maintained, so you can safely delete it. > python: stack smashing attack in function symtable_node() > error: command '/usr/bin/python' terminated by signal 6 > > !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. > !!! Function distutils_src_install, Line 43, Exitcode 1 > !!! (no error message) > > so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes > one in python) - I haven't done very much research as I can live without > egenix - but just wanted to let you know :) > > p.s. it's python-2.3.3. Thanks, -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 11 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From harrelson at gmail.com Thu Sep 30 17:48:13 2004 From: harrelson at gmail.com (Culley Harrelson) Date: Sun Jan 29 16:00:58 2006 Subject: [egenix-users] OS X 10.3.5: *** You don't have the (right) mxDateTime binaries installed ! Message-ID: <529825a30409301648507c0cf8@mail.gmail.com> I have successfully installed mxDateTime on my OS X 10.3.5 system, using the system Python installation. It installed but as soon as I try to import the module I get: === *** You don't have the (right) mxDateTime binaries installed ! Traceback (most recent call last): File "./testFeDb.py", line 4, in ? from mx import DateTime File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/__init__.py", line 8, in ? from DateTime import * File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/DateTime.py", line 9, in ? from mxDateTime import * File "/Library/Python/2.3/mx/DateTime/mxDateTime/__init__.py", line 13, in ? raise ImportError, why ImportError: Failure linking new module: : dyld: python Undefined symbols: /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyArg_ParseTuple expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCObject_FromVoidPtr expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCallable_Check expected to be defined in the executable /Library/Python/2.3/mx/Date === Has anyone experienced this? Any ideas how to fix it? culley From hanser at club-internet.fr Sat Sep 4 17:13:26 2004 From: hanser at club-internet.fr (Pierre Hanser) Date: Sun Jan 29 20:01:00 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 Message-ID: <4139CD86.6020403@club-internet.fr> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 hello seems that python2.4a3 is not compatible with the optimizations in mx/DateTime/mxDateTime/mxDateTime.c on Linux: from mx import DateTime -> core dump if I disable the optims, everything gets ok /* Define these to have the module use free lists (saves malloc calls) */ #define MXDATETIME_FREELIST #define MXDATETIMEDELTA_FREELIST #undef MXDATETIME_FREELIST #undef MXDATETIMEDELTA_FREELIST - -- Pierre -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBOc2GMQ2/jYUwmmwRAn70AJ4puAZm4p10+KTCK/GzLt20VzWd3ACfQzIo H8hLxq8iCE3KGYZ6AR5QUy8= =GA8t -----END PGP SIGNATURE----- From mal at egenix.com Sun Sep 5 19:53:02 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Sun Jan 29 20:01:00 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 In-Reply-To: <4139CD86.6020403@club-internet.fr> References: <4139CD86.6020403@club-internet.fr> Message-ID: <413B446E.40002@egenix.com> Pierre Hanser wrote: > hello > > seems that python2.4a3 is not compatible with the optimizations in > mx/DateTime/mxDateTime/mxDateTime.c on Linux: > > from mx import DateTime -> core dump > > if I disable the optims, everything gets ok > > /* Define these to have the module use free lists (saves malloc calls) */ > #define MXDATETIME_FREELIST > #define MXDATETIMEDELTA_FREELIST > #undef MXDATETIME_FREELIST > #undef MXDATETIMEDELTA_FREELIST This is more likely due to a bug in your C compiler. -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 05 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From aluton at rcseng.ac.uk Wed Sep 8 12:33:02 2004 From: aluton at rcseng.ac.uk (Alex Luton) Date: Sun Jan 29 20:01:01 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: References: Message-ID: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Hi, I'm trying to get the mxODBC DA working, but the product is broken with this error message: Traceback (most recent call last): File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product product=__import__(pname, global_dict, global_dict, silly) File "Products/mxODBCZopeDA/__init__.py", line 7, in ? File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? Any help would be much appreciated. Thanks -- Alex ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 From mal at egenix.com Wed Sep 8 13:37:44 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Sun Jan 29 20:01:01 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> References: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Message-ID: <413EE0F8.6050601@egenix.com> Alex Luton wrote: > Hi, > > I'm trying to get the mxODBC DA working, but the product is broken with > this error message: > > Traceback (most recent call last): > File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product > product=__import__(pname, global_dict, global_dict, silly) > File "Products/mxODBCZopeDA/__init__.py", line 7, in ? > File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? > ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString > > I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? RedHat chose to build Python with 4-byte Unicode which is causing all sorts of problems with pre-built extensions. We will start shipping UCS4 builds of the Zope DA with the next release. Until then, you can try the pre-release of 1.0.9: http://www.egenix.com/files/python/egenix-mxodbc-zopeda-1.0.9.linux-i686-py2.3ucs4.zip -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 08 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From kl at vsen.dk Sat Sep 11 20:21:57 2004 From: kl at vsen.dk (Klavs Klavsen) Date: Sun Jan 29 20:01:01 2006 Subject: [egenix-users] bufferoverflow in egenix? Message-ID: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Hi guys, Just installed a new gcc with stack-smashing protection - and while recompiling modules with stack-smashing protection, I got this message: -- copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l ib/python2.3/site-packages/mx/Misc copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ python2.3/site-packages/mx/Misc writing byte-compilation script '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: SyntaxWarning: name 'debugging' is use d prior to global declaration python: stack smashing attack in function symtable_node() error: command '/usr/bin/python' terminated by signal 6 !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. !!! Function distutils_src_install, Line 43, Exitcode 1 !!! (no error message) so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes one in python) - I haven't done very much research as I can live without egenix - but just wanted to let you know :) p.s. it's python-2.3.3. -- Regards, Klavs Klavsen, GSEC - kl@vsen.dk - http://www.vsen.dk PGP: 7E063C62/2873 188C 968E 600D D8F8 B8DA 3D3A 0B79 7E06 3C62 "Those who do not understand Unix are condemned to reinvent it, poorly." --Henry Spencer From mal at egenix.com Sat Sep 11 23:51:30 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Sun Jan 29 20:01:01 2006 Subject: [egenix-users] bufferoverflow in egenix? In-Reply-To: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> References: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Message-ID: <41436552.6000906@egenix.com> Klavs Klavsen wrote: > Hi guys, > > Just installed a new gcc with stack-smashing protection - and while > recompiling modules with stack-smashing protection, I got this message: > -- > copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l > ib/python2.3/site-packages/mx/Misc > copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ > python2.3/site-packages/mx/Misc > writing byte-compilation script > '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' > /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py > usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: > SyntaxWarning: name 'debugging' is use > d prior to global declaration This is an error that the Python compiler generated. I'd suggest you report to the Python bug tracker. BTW, pytag.py is no longer used or maintained, so you can safely delete it. > python: stack smashing attack in function symtable_node() > error: command '/usr/bin/python' terminated by signal 6 > > !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. > !!! Function distutils_src_install, Line 43, Exitcode 1 > !!! (no error message) > > so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes > one in python) - I haven't done very much research as I can live without > egenix - but just wanted to let you know :) > > p.s. it's python-2.3.3. Thanks, -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 11 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From harrelson at gmail.com Thu Sep 30 17:48:13 2004 From: harrelson at gmail.com (Culley Harrelson) Date: Sun Jan 29 20:01:01 2006 Subject: [egenix-users] OS X 10.3.5: *** You don't have the (right) mxDateTime binaries installed ! Message-ID: <529825a30409301648507c0cf8@mail.gmail.com> I have successfully installed mxDateTime on my OS X 10.3.5 system, using the system Python installation. It installed but as soon as I try to import the module I get: === *** You don't have the (right) mxDateTime binaries installed ! Traceback (most recent call last): File "./testFeDb.py", line 4, in ? from mx import DateTime File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/__init__.py", line 8, in ? from DateTime import * File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/DateTime.py", line 9, in ? from mxDateTime import * File "/Library/Python/2.3/mx/DateTime/mxDateTime/__init__.py", line 13, in ? raise ImportError, why ImportError: Failure linking new module: : dyld: python Undefined symbols: /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyArg_ParseTuple expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCObject_FromVoidPtr expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCallable_Check expected to be defined in the executable /Library/Python/2.3/mx/Date === Has anyone experienced this? Any ideas how to fix it? culley From hanser at club-internet.fr Sat Sep 4 17:13:26 2004 From: hanser at club-internet.fr (Pierre Hanser) Date: Mon Jan 30 08:09:20 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 Message-ID: <4139CD86.6020403@club-internet.fr> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 hello seems that python2.4a3 is not compatible with the optimizations in mx/DateTime/mxDateTime/mxDateTime.c on Linux: from mx import DateTime -> core dump if I disable the optims, everything gets ok /* Define these to have the module use free lists (saves malloc calls) */ #define MXDATETIME_FREELIST #define MXDATETIMEDELTA_FREELIST #undef MXDATETIME_FREELIST #undef MXDATETIMEDELTA_FREELIST - -- Pierre -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBOc2GMQ2/jYUwmmwRAn70AJ4puAZm4p10+KTCK/GzLt20VzWd3ACfQzIo H8hLxq8iCE3KGYZ6AR5QUy8= =GA8t -----END PGP SIGNATURE----- From mal at egenix.com Sun Sep 5 19:53:02 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Mon Jan 30 08:09:21 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 In-Reply-To: <4139CD86.6020403@club-internet.fr> References: <4139CD86.6020403@club-internet.fr> Message-ID: <413B446E.40002@egenix.com> Pierre Hanser wrote: > hello > > seems that python2.4a3 is not compatible with the optimizations in > mx/DateTime/mxDateTime/mxDateTime.c on Linux: > > from mx import DateTime -> core dump > > if I disable the optims, everything gets ok > > /* Define these to have the module use free lists (saves malloc calls) */ > #define MXDATETIME_FREELIST > #define MXDATETIMEDELTA_FREELIST > #undef MXDATETIME_FREELIST > #undef MXDATETIMEDELTA_FREELIST This is more likely due to a bug in your C compiler. -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 05 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From aluton at rcseng.ac.uk Wed Sep 8 12:33:02 2004 From: aluton at rcseng.ac.uk (Alex Luton) Date: Mon Jan 30 08:09:21 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: References: Message-ID: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Hi, I'm trying to get the mxODBC DA working, but the product is broken with this error message: Traceback (most recent call last): File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product product=__import__(pname, global_dict, global_dict, silly) File "Products/mxODBCZopeDA/__init__.py", line 7, in ? File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? Any help would be much appreciated. Thanks -- Alex ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 From mal at egenix.com Wed Sep 8 13:37:44 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Mon Jan 30 08:09:21 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> References: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Message-ID: <413EE0F8.6050601@egenix.com> Alex Luton wrote: > Hi, > > I'm trying to get the mxODBC DA working, but the product is broken with > this error message: > > Traceback (most recent call last): > File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product > product=__import__(pname, global_dict, global_dict, silly) > File "Products/mxODBCZopeDA/__init__.py", line 7, in ? > File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? > ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString > > I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? RedHat chose to build Python with 4-byte Unicode which is causing all sorts of problems with pre-built extensions. We will start shipping UCS4 builds of the Zope DA with the next release. Until then, you can try the pre-release of 1.0.9: http://www.egenix.com/files/python/egenix-mxodbc-zopeda-1.0.9.linux-i686-py2.3ucs4.zip -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 08 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From kl at vsen.dk Sat Sep 11 20:21:57 2004 From: kl at vsen.dk (Klavs Klavsen) Date: Mon Jan 30 08:09:21 2006 Subject: [egenix-users] bufferoverflow in egenix? Message-ID: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Hi guys, Just installed a new gcc with stack-smashing protection - and while recompiling modules with stack-smashing protection, I got this message: -- copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l ib/python2.3/site-packages/mx/Misc copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ python2.3/site-packages/mx/Misc writing byte-compilation script '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: SyntaxWarning: name 'debugging' is use d prior to global declaration python: stack smashing attack in function symtable_node() error: command '/usr/bin/python' terminated by signal 6 !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. !!! Function distutils_src_install, Line 43, Exitcode 1 !!! (no error message) so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes one in python) - I haven't done very much research as I can live without egenix - but just wanted to let you know :) p.s. it's python-2.3.3. -- Regards, Klavs Klavsen, GSEC - kl@vsen.dk - http://www.vsen.dk PGP: 7E063C62/2873 188C 968E 600D D8F8 B8DA 3D3A 0B79 7E06 3C62 "Those who do not understand Unix are condemned to reinvent it, poorly." --Henry Spencer From mal at egenix.com Sat Sep 11 23:51:30 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Mon Jan 30 08:09:21 2006 Subject: [egenix-users] bufferoverflow in egenix? In-Reply-To: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> References: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Message-ID: <41436552.6000906@egenix.com> Klavs Klavsen wrote: > Hi guys, > > Just installed a new gcc with stack-smashing protection - and while > recompiling modules with stack-smashing protection, I got this message: > -- > copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l > ib/python2.3/site-packages/mx/Misc > copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ > python2.3/site-packages/mx/Misc > writing byte-compilation script > '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' > /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py > usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: > SyntaxWarning: name 'debugging' is use > d prior to global declaration This is an error that the Python compiler generated. I'd suggest you report to the Python bug tracker. BTW, pytag.py is no longer used or maintained, so you can safely delete it. > python: stack smashing attack in function symtable_node() > error: command '/usr/bin/python' terminated by signal 6 > > !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. > !!! Function distutils_src_install, Line 43, Exitcode 1 > !!! (no error message) > > so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes > one in python) - I haven't done very much research as I can live without > egenix - but just wanted to let you know :) > > p.s. it's python-2.3.3. Thanks, -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 11 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From harrelson at gmail.com Thu Sep 30 17:48:13 2004 From: harrelson at gmail.com (Culley Harrelson) Date: Mon Jan 30 08:09:21 2006 Subject: [egenix-users] OS X 10.3.5: *** You don't have the (right) mxDateTime binaries installed ! Message-ID: <529825a30409301648507c0cf8@mail.gmail.com> I have successfully installed mxDateTime on my OS X 10.3.5 system, using the system Python installation. It installed but as soon as I try to import the module I get: === *** You don't have the (right) mxDateTime binaries installed ! Traceback (most recent call last): File "./testFeDb.py", line 4, in ? from mx import DateTime File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/__init__.py", line 8, in ? from DateTime import * File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/DateTime.py", line 9, in ? from mxDateTime import * File "/Library/Python/2.3/mx/DateTime/mxDateTime/__init__.py", line 13, in ? raise ImportError, why ImportError: Failure linking new module: : dyld: python Undefined symbols: /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyArg_ParseTuple expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCObject_FromVoidPtr expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCallable_Check expected to be defined in the executable /Library/Python/2.3/mx/Date === Has anyone experienced this? Any ideas how to fix it? culley From hanser at club-internet.fr Sat Sep 4 17:13:26 2004 From: hanser at club-internet.fr (Pierre Hanser) Date: Mon Jan 30 12:04:03 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 Message-ID: <4139CD86.6020403@club-internet.fr> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 hello seems that python2.4a3 is not compatible with the optimizations in mx/DateTime/mxDateTime/mxDateTime.c on Linux: from mx import DateTime -> core dump if I disable the optims, everything gets ok /* Define these to have the module use free lists (saves malloc calls) */ #define MXDATETIME_FREELIST #define MXDATETIMEDELTA_FREELIST #undef MXDATETIME_FREELIST #undef MXDATETIMEDELTA_FREELIST - -- Pierre -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBOc2GMQ2/jYUwmmwRAn70AJ4puAZm4p10+KTCK/GzLt20VzWd3ACfQzIo H8hLxq8iCE3KGYZ6AR5QUy8= =GA8t -----END PGP SIGNATURE----- From mal at egenix.com Sun Sep 5 19:53:02 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Mon Jan 30 12:04:03 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 In-Reply-To: <4139CD86.6020403@club-internet.fr> References: <4139CD86.6020403@club-internet.fr> Message-ID: <413B446E.40002@egenix.com> Pierre Hanser wrote: > hello > > seems that python2.4a3 is not compatible with the optimizations in > mx/DateTime/mxDateTime/mxDateTime.c on Linux: > > from mx import DateTime -> core dump > > if I disable the optims, everything gets ok > > /* Define these to have the module use free lists (saves malloc calls) */ > #define MXDATETIME_FREELIST > #define MXDATETIMEDELTA_FREELIST > #undef MXDATETIME_FREELIST > #undef MXDATETIMEDELTA_FREELIST This is more likely due to a bug in your C compiler. -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 05 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From aluton at rcseng.ac.uk Wed Sep 8 12:33:02 2004 From: aluton at rcseng.ac.uk (Alex Luton) Date: Mon Jan 30 12:04:03 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: References: Message-ID: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Hi, I'm trying to get the mxODBC DA working, but the product is broken with this error message: Traceback (most recent call last): File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product product=__import__(pname, global_dict, global_dict, silly) File "Products/mxODBCZopeDA/__init__.py", line 7, in ? File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? Any help would be much appreciated. Thanks -- Alex ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 From mal at egenix.com Wed Sep 8 13:37:44 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Mon Jan 30 12:04:03 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> References: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Message-ID: <413EE0F8.6050601@egenix.com> Alex Luton wrote: > Hi, > > I'm trying to get the mxODBC DA working, but the product is broken with > this error message: > > Traceback (most recent call last): > File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product > product=__import__(pname, global_dict, global_dict, silly) > File "Products/mxODBCZopeDA/__init__.py", line 7, in ? > File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? > ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString > > I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? RedHat chose to build Python with 4-byte Unicode which is causing all sorts of problems with pre-built extensions. We will start shipping UCS4 builds of the Zope DA with the next release. Until then, you can try the pre-release of 1.0.9: http://www.egenix.com/files/python/egenix-mxodbc-zopeda-1.0.9.linux-i686-py2.3ucs4.zip -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 08 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From kl at vsen.dk Sat Sep 11 20:21:57 2004 From: kl at vsen.dk (Klavs Klavsen) Date: Mon Jan 30 12:04:03 2006 Subject: [egenix-users] bufferoverflow in egenix? Message-ID: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Hi guys, Just installed a new gcc with stack-smashing protection - and while recompiling modules with stack-smashing protection, I got this message: -- copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l ib/python2.3/site-packages/mx/Misc copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ python2.3/site-packages/mx/Misc writing byte-compilation script '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: SyntaxWarning: name 'debugging' is use d prior to global declaration python: stack smashing attack in function symtable_node() error: command '/usr/bin/python' terminated by signal 6 !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. !!! Function distutils_src_install, Line 43, Exitcode 1 !!! (no error message) so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes one in python) - I haven't done very much research as I can live without egenix - but just wanted to let you know :) p.s. it's python-2.3.3. -- Regards, Klavs Klavsen, GSEC - kl@vsen.dk - http://www.vsen.dk PGP: 7E063C62/2873 188C 968E 600D D8F8 B8DA 3D3A 0B79 7E06 3C62 "Those who do not understand Unix are condemned to reinvent it, poorly." --Henry Spencer From mal at egenix.com Sat Sep 11 23:51:30 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Mon Jan 30 12:04:03 2006 Subject: [egenix-users] bufferoverflow in egenix? In-Reply-To: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> References: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Message-ID: <41436552.6000906@egenix.com> Klavs Klavsen wrote: > Hi guys, > > Just installed a new gcc with stack-smashing protection - and while > recompiling modules with stack-smashing protection, I got this message: > -- > copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l > ib/python2.3/site-packages/mx/Misc > copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ > python2.3/site-packages/mx/Misc > writing byte-compilation script > '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' > /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py > usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: > SyntaxWarning: name 'debugging' is use > d prior to global declaration This is an error that the Python compiler generated. I'd suggest you report to the Python bug tracker. BTW, pytag.py is no longer used or maintained, so you can safely delete it. > python: stack smashing attack in function symtable_node() > error: command '/usr/bin/python' terminated by signal 6 > > !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. > !!! Function distutils_src_install, Line 43, Exitcode 1 > !!! (no error message) > > so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes > one in python) - I haven't done very much research as I can live without > egenix - but just wanted to let you know :) > > p.s. it's python-2.3.3. Thanks, -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 11 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From harrelson at gmail.com Thu Sep 30 17:48:13 2004 From: harrelson at gmail.com (Culley Harrelson) Date: Mon Jan 30 12:04:03 2006 Subject: [egenix-users] OS X 10.3.5: *** You don't have the (right) mxDateTime binaries installed ! Message-ID: <529825a30409301648507c0cf8@mail.gmail.com> I have successfully installed mxDateTime on my OS X 10.3.5 system, using the system Python installation. It installed but as soon as I try to import the module I get: === *** You don't have the (right) mxDateTime binaries installed ! Traceback (most recent call last): File "./testFeDb.py", line 4, in ? from mx import DateTime File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/__init__.py", line 8, in ? from DateTime import * File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/DateTime.py", line 9, in ? from mxDateTime import * File "/Library/Python/2.3/mx/DateTime/mxDateTime/__init__.py", line 13, in ? raise ImportError, why ImportError: Failure linking new module: : dyld: python Undefined symbols: /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyArg_ParseTuple expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCObject_FromVoidPtr expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCallable_Check expected to be defined in the executable /Library/Python/2.3/mx/Date === Has anyone experienced this? Any ideas how to fix it? culley From hanser at club-internet.fr Sat Sep 4 17:13:26 2004 From: hanser at club-internet.fr (Pierre Hanser) Date: Mon Jan 30 16:04:21 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 Message-ID: <4139CD86.6020403@club-internet.fr> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 hello seems that python2.4a3 is not compatible with the optimizations in mx/DateTime/mxDateTime/mxDateTime.c on Linux: from mx import DateTime -> core dump if I disable the optims, everything gets ok /* Define these to have the module use free lists (saves malloc calls) */ #define MXDATETIME_FREELIST #define MXDATETIMEDELTA_FREELIST #undef MXDATETIME_FREELIST #undef MXDATETIMEDELTA_FREELIST - -- Pierre -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBOc2GMQ2/jYUwmmwRAn70AJ4puAZm4p10+KTCK/GzLt20VzWd3ACfQzIo H8hLxq8iCE3KGYZ6AR5QUy8= =GA8t -----END PGP SIGNATURE----- From mal at egenix.com Sun Sep 5 19:53:02 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Mon Jan 30 16:04:21 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 In-Reply-To: <4139CD86.6020403@club-internet.fr> References: <4139CD86.6020403@club-internet.fr> Message-ID: <413B446E.40002@egenix.com> Pierre Hanser wrote: > hello > > seems that python2.4a3 is not compatible with the optimizations in > mx/DateTime/mxDateTime/mxDateTime.c on Linux: > > from mx import DateTime -> core dump > > if I disable the optims, everything gets ok > > /* Define these to have the module use free lists (saves malloc calls) */ > #define MXDATETIME_FREELIST > #define MXDATETIMEDELTA_FREELIST > #undef MXDATETIME_FREELIST > #undef MXDATETIMEDELTA_FREELIST This is more likely due to a bug in your C compiler. -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 05 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From aluton at rcseng.ac.uk Wed Sep 8 12:33:02 2004 From: aluton at rcseng.ac.uk (Alex Luton) Date: Mon Jan 30 16:04:21 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: References: Message-ID: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Hi, I'm trying to get the mxODBC DA working, but the product is broken with this error message: Traceback (most recent call last): File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product product=__import__(pname, global_dict, global_dict, silly) File "Products/mxODBCZopeDA/__init__.py", line 7, in ? File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? Any help would be much appreciated. Thanks -- Alex ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 From mal at egenix.com Wed Sep 8 13:37:44 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Mon Jan 30 16:04:21 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> References: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Message-ID: <413EE0F8.6050601@egenix.com> Alex Luton wrote: > Hi, > > I'm trying to get the mxODBC DA working, but the product is broken with > this error message: > > Traceback (most recent call last): > File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product > product=__import__(pname, global_dict, global_dict, silly) > File "Products/mxODBCZopeDA/__init__.py", line 7, in ? > File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? > ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString > > I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? RedHat chose to build Python with 4-byte Unicode which is causing all sorts of problems with pre-built extensions. We will start shipping UCS4 builds of the Zope DA with the next release. Until then, you can try the pre-release of 1.0.9: http://www.egenix.com/files/python/egenix-mxodbc-zopeda-1.0.9.linux-i686-py2.3ucs4.zip -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 08 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From kl at vsen.dk Sat Sep 11 20:21:57 2004 From: kl at vsen.dk (Klavs Klavsen) Date: Mon Jan 30 16:04:21 2006 Subject: [egenix-users] bufferoverflow in egenix? Message-ID: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Hi guys, Just installed a new gcc with stack-smashing protection - and while recompiling modules with stack-smashing protection, I got this message: -- copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l ib/python2.3/site-packages/mx/Misc copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ python2.3/site-packages/mx/Misc writing byte-compilation script '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: SyntaxWarning: name 'debugging' is use d prior to global declaration python: stack smashing attack in function symtable_node() error: command '/usr/bin/python' terminated by signal 6 !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. !!! Function distutils_src_install, Line 43, Exitcode 1 !!! (no error message) so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes one in python) - I haven't done very much research as I can live without egenix - but just wanted to let you know :) p.s. it's python-2.3.3. -- Regards, Klavs Klavsen, GSEC - kl@vsen.dk - http://www.vsen.dk PGP: 7E063C62/2873 188C 968E 600D D8F8 B8DA 3D3A 0B79 7E06 3C62 "Those who do not understand Unix are condemned to reinvent it, poorly." --Henry Spencer From mal at egenix.com Sat Sep 11 23:51:30 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Mon Jan 30 16:04:21 2006 Subject: [egenix-users] bufferoverflow in egenix? In-Reply-To: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> References: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Message-ID: <41436552.6000906@egenix.com> Klavs Klavsen wrote: > Hi guys, > > Just installed a new gcc with stack-smashing protection - and while > recompiling modules with stack-smashing protection, I got this message: > -- > copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l > ib/python2.3/site-packages/mx/Misc > copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ > python2.3/site-packages/mx/Misc > writing byte-compilation script > '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' > /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py > usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: > SyntaxWarning: name 'debugging' is use > d prior to global declaration This is an error that the Python compiler generated. I'd suggest you report to the Python bug tracker. BTW, pytag.py is no longer used or maintained, so you can safely delete it. > python: stack smashing attack in function symtable_node() > error: command '/usr/bin/python' terminated by signal 6 > > !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. > !!! Function distutils_src_install, Line 43, Exitcode 1 > !!! (no error message) > > so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes > one in python) - I haven't done very much research as I can live without > egenix - but just wanted to let you know :) > > p.s. it's python-2.3.3. Thanks, -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 11 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From harrelson at gmail.com Thu Sep 30 17:48:13 2004 From: harrelson at gmail.com (Culley Harrelson) Date: Mon Jan 30 16:04:21 2006 Subject: [egenix-users] OS X 10.3.5: *** You don't have the (right) mxDateTime binaries installed ! Message-ID: <529825a30409301648507c0cf8@mail.gmail.com> I have successfully installed mxDateTime on my OS X 10.3.5 system, using the system Python installation. It installed but as soon as I try to import the module I get: === *** You don't have the (right) mxDateTime binaries installed ! Traceback (most recent call last): File "./testFeDb.py", line 4, in ? from mx import DateTime File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/__init__.py", line 8, in ? from DateTime import * File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/DateTime.py", line 9, in ? from mxDateTime import * File "/Library/Python/2.3/mx/DateTime/mxDateTime/__init__.py", line 13, in ? raise ImportError, why ImportError: Failure linking new module: : dyld: python Undefined symbols: /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyArg_ParseTuple expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCObject_FromVoidPtr expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCallable_Check expected to be defined in the executable /Library/Python/2.3/mx/Date === Has anyone experienced this? Any ideas how to fix it? culley From hanser at club-internet.fr Sat Sep 4 17:13:26 2004 From: hanser at club-internet.fr (Pierre Hanser) Date: Mon Jan 30 20:02:20 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 Message-ID: <4139CD86.6020403@club-internet.fr> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 hello seems that python2.4a3 is not compatible with the optimizations in mx/DateTime/mxDateTime/mxDateTime.c on Linux: from mx import DateTime -> core dump if I disable the optims, everything gets ok /* Define these to have the module use free lists (saves malloc calls) */ #define MXDATETIME_FREELIST #define MXDATETIMEDELTA_FREELIST #undef MXDATETIME_FREELIST #undef MXDATETIMEDELTA_FREELIST - -- Pierre -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBOc2GMQ2/jYUwmmwRAn70AJ4puAZm4p10+KTCK/GzLt20VzWd3ACfQzIo H8hLxq8iCE3KGYZ6AR5QUy8= =GA8t -----END PGP SIGNATURE----- From mal at egenix.com Sun Sep 5 19:53:02 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Mon Jan 30 20:02:20 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 In-Reply-To: <4139CD86.6020403@club-internet.fr> References: <4139CD86.6020403@club-internet.fr> Message-ID: <413B446E.40002@egenix.com> Pierre Hanser wrote: > hello > > seems that python2.4a3 is not compatible with the optimizations in > mx/DateTime/mxDateTime/mxDateTime.c on Linux: > > from mx import DateTime -> core dump > > if I disable the optims, everything gets ok > > /* Define these to have the module use free lists (saves malloc calls) */ > #define MXDATETIME_FREELIST > #define MXDATETIMEDELTA_FREELIST > #undef MXDATETIME_FREELIST > #undef MXDATETIMEDELTA_FREELIST This is more likely due to a bug in your C compiler. -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 05 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From aluton at rcseng.ac.uk Wed Sep 8 12:33:02 2004 From: aluton at rcseng.ac.uk (Alex Luton) Date: Mon Jan 30 20:02:20 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: References: Message-ID: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Hi, I'm trying to get the mxODBC DA working, but the product is broken with this error message: Traceback (most recent call last): File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product product=__import__(pname, global_dict, global_dict, silly) File "Products/mxODBCZopeDA/__init__.py", line 7, in ? File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? Any help would be much appreciated. Thanks -- Alex ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 From mal at egenix.com Wed Sep 8 13:37:44 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Mon Jan 30 20:02:20 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> References: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Message-ID: <413EE0F8.6050601@egenix.com> Alex Luton wrote: > Hi, > > I'm trying to get the mxODBC DA working, but the product is broken with > this error message: > > Traceback (most recent call last): > File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product > product=__import__(pname, global_dict, global_dict, silly) > File "Products/mxODBCZopeDA/__init__.py", line 7, in ? > File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? > ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString > > I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? RedHat chose to build Python with 4-byte Unicode which is causing all sorts of problems with pre-built extensions. We will start shipping UCS4 builds of the Zope DA with the next release. Until then, you can try the pre-release of 1.0.9: http://www.egenix.com/files/python/egenix-mxodbc-zopeda-1.0.9.linux-i686-py2.3ucs4.zip -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 08 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From kl at vsen.dk Sat Sep 11 20:21:57 2004 From: kl at vsen.dk (Klavs Klavsen) Date: Mon Jan 30 20:02:20 2006 Subject: [egenix-users] bufferoverflow in egenix? Message-ID: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Hi guys, Just installed a new gcc with stack-smashing protection - and while recompiling modules with stack-smashing protection, I got this message: -- copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l ib/python2.3/site-packages/mx/Misc copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ python2.3/site-packages/mx/Misc writing byte-compilation script '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: SyntaxWarning: name 'debugging' is use d prior to global declaration python: stack smashing attack in function symtable_node() error: command '/usr/bin/python' terminated by signal 6 !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. !!! Function distutils_src_install, Line 43, Exitcode 1 !!! (no error message) so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes one in python) - I haven't done very much research as I can live without egenix - but just wanted to let you know :) p.s. it's python-2.3.3. -- Regards, Klavs Klavsen, GSEC - kl@vsen.dk - http://www.vsen.dk PGP: 7E063C62/2873 188C 968E 600D D8F8 B8DA 3D3A 0B79 7E06 3C62 "Those who do not understand Unix are condemned to reinvent it, poorly." --Henry Spencer From mal at egenix.com Sat Sep 11 23:51:30 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Mon Jan 30 20:02:20 2006 Subject: [egenix-users] bufferoverflow in egenix? In-Reply-To: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> References: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Message-ID: <41436552.6000906@egenix.com> Klavs Klavsen wrote: > Hi guys, > > Just installed a new gcc with stack-smashing protection - and while > recompiling modules with stack-smashing protection, I got this message: > -- > copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l > ib/python2.3/site-packages/mx/Misc > copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ > python2.3/site-packages/mx/Misc > writing byte-compilation script > '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' > /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py > usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: > SyntaxWarning: name 'debugging' is use > d prior to global declaration This is an error that the Python compiler generated. I'd suggest you report to the Python bug tracker. BTW, pytag.py is no longer used or maintained, so you can safely delete it. > python: stack smashing attack in function symtable_node() > error: command '/usr/bin/python' terminated by signal 6 > > !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. > !!! Function distutils_src_install, Line 43, Exitcode 1 > !!! (no error message) > > so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes > one in python) - I haven't done very much research as I can live without > egenix - but just wanted to let you know :) > > p.s. it's python-2.3.3. Thanks, -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 11 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From harrelson at gmail.com Thu Sep 30 17:48:13 2004 From: harrelson at gmail.com (Culley Harrelson) Date: Mon Jan 30 20:02:20 2006 Subject: [egenix-users] OS X 10.3.5: *** You don't have the (right) mxDateTime binaries installed ! Message-ID: <529825a30409301648507c0cf8@mail.gmail.com> I have successfully installed mxDateTime on my OS X 10.3.5 system, using the system Python installation. It installed but as soon as I try to import the module I get: === *** You don't have the (right) mxDateTime binaries installed ! Traceback (most recent call last): File "./testFeDb.py", line 4, in ? from mx import DateTime File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/__init__.py", line 8, in ? from DateTime import * File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/DateTime.py", line 9, in ? from mxDateTime import * File "/Library/Python/2.3/mx/DateTime/mxDateTime/__init__.py", line 13, in ? raise ImportError, why ImportError: Failure linking new module: : dyld: python Undefined symbols: /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyArg_ParseTuple expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCObject_FromVoidPtr expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCallable_Check expected to be defined in the executable /Library/Python/2.3/mx/Date === Has anyone experienced this? Any ideas how to fix it? culley From hanser at club-internet.fr Sat Sep 4 17:13:26 2004 From: hanser at club-internet.fr (Pierre Hanser) Date: Tue Jan 31 08:08:03 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 Message-ID: <4139CD86.6020403@club-internet.fr> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 hello seems that python2.4a3 is not compatible with the optimizations in mx/DateTime/mxDateTime/mxDateTime.c on Linux: from mx import DateTime -> core dump if I disable the optims, everything gets ok /* Define these to have the module use free lists (saves malloc calls) */ #define MXDATETIME_FREELIST #define MXDATETIMEDELTA_FREELIST #undef MXDATETIME_FREELIST #undef MXDATETIMEDELTA_FREELIST - -- Pierre -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBOc2GMQ2/jYUwmmwRAn70AJ4puAZm4p10+KTCK/GzLt20VzWd3ACfQzIo H8hLxq8iCE3KGYZ6AR5QUy8= =GA8t -----END PGP SIGNATURE----- From mal at egenix.com Sun Sep 5 19:53:02 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Tue Jan 31 08:08:03 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 In-Reply-To: <4139CD86.6020403@club-internet.fr> References: <4139CD86.6020403@club-internet.fr> Message-ID: <413B446E.40002@egenix.com> Pierre Hanser wrote: > hello > > seems that python2.4a3 is not compatible with the optimizations in > mx/DateTime/mxDateTime/mxDateTime.c on Linux: > > from mx import DateTime -> core dump > > if I disable the optims, everything gets ok > > /* Define these to have the module use free lists (saves malloc calls) */ > #define MXDATETIME_FREELIST > #define MXDATETIMEDELTA_FREELIST > #undef MXDATETIME_FREELIST > #undef MXDATETIMEDELTA_FREELIST This is more likely due to a bug in your C compiler. -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 05 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From aluton at rcseng.ac.uk Wed Sep 8 12:33:02 2004 From: aluton at rcseng.ac.uk (Alex Luton) Date: Tue Jan 31 08:08:03 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: References: Message-ID: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Hi, I'm trying to get the mxODBC DA working, but the product is broken with this error message: Traceback (most recent call last): File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product product=__import__(pname, global_dict, global_dict, silly) File "Products/mxODBCZopeDA/__init__.py", line 7, in ? File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? Any help would be much appreciated. Thanks -- Alex ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 From mal at egenix.com Wed Sep 8 13:37:44 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Tue Jan 31 08:08:03 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> References: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Message-ID: <413EE0F8.6050601@egenix.com> Alex Luton wrote: > Hi, > > I'm trying to get the mxODBC DA working, but the product is broken with > this error message: > > Traceback (most recent call last): > File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product > product=__import__(pname, global_dict, global_dict, silly) > File "Products/mxODBCZopeDA/__init__.py", line 7, in ? > File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? > ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString > > I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? RedHat chose to build Python with 4-byte Unicode which is causing all sorts of problems with pre-built extensions. We will start shipping UCS4 builds of the Zope DA with the next release. Until then, you can try the pre-release of 1.0.9: http://www.egenix.com/files/python/egenix-mxodbc-zopeda-1.0.9.linux-i686-py2.3ucs4.zip -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 08 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From kl at vsen.dk Sat Sep 11 20:21:57 2004 From: kl at vsen.dk (Klavs Klavsen) Date: Tue Jan 31 08:08:03 2006 Subject: [egenix-users] bufferoverflow in egenix? Message-ID: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Hi guys, Just installed a new gcc with stack-smashing protection - and while recompiling modules with stack-smashing protection, I got this message: -- copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l ib/python2.3/site-packages/mx/Misc copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ python2.3/site-packages/mx/Misc writing byte-compilation script '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: SyntaxWarning: name 'debugging' is use d prior to global declaration python: stack smashing attack in function symtable_node() error: command '/usr/bin/python' terminated by signal 6 !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. !!! Function distutils_src_install, Line 43, Exitcode 1 !!! (no error message) so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes one in python) - I haven't done very much research as I can live without egenix - but just wanted to let you know :) p.s. it's python-2.3.3. -- Regards, Klavs Klavsen, GSEC - kl@vsen.dk - http://www.vsen.dk PGP: 7E063C62/2873 188C 968E 600D D8F8 B8DA 3D3A 0B79 7E06 3C62 "Those who do not understand Unix are condemned to reinvent it, poorly." --Henry Spencer From mal at egenix.com Sat Sep 11 23:51:30 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Tue Jan 31 08:08:03 2006 Subject: [egenix-users] bufferoverflow in egenix? In-Reply-To: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> References: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Message-ID: <41436552.6000906@egenix.com> Klavs Klavsen wrote: > Hi guys, > > Just installed a new gcc with stack-smashing protection - and while > recompiling modules with stack-smashing protection, I got this message: > -- > copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l > ib/python2.3/site-packages/mx/Misc > copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ > python2.3/site-packages/mx/Misc > writing byte-compilation script > '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' > /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py > usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: > SyntaxWarning: name 'debugging' is use > d prior to global declaration This is an error that the Python compiler generated. I'd suggest you report to the Python bug tracker. BTW, pytag.py is no longer used or maintained, so you can safely delete it. > python: stack smashing attack in function symtable_node() > error: command '/usr/bin/python' terminated by signal 6 > > !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. > !!! Function distutils_src_install, Line 43, Exitcode 1 > !!! (no error message) > > so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes > one in python) - I haven't done very much research as I can live without > egenix - but just wanted to let you know :) > > p.s. it's python-2.3.3. Thanks, -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 11 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From harrelson at gmail.com Thu Sep 30 17:48:13 2004 From: harrelson at gmail.com (Culley Harrelson) Date: Tue Jan 31 08:08:04 2006 Subject: [egenix-users] OS X 10.3.5: *** You don't have the (right) mxDateTime binaries installed ! Message-ID: <529825a30409301648507c0cf8@mail.gmail.com> I have successfully installed mxDateTime on my OS X 10.3.5 system, using the system Python installation. It installed but as soon as I try to import the module I get: === *** You don't have the (right) mxDateTime binaries installed ! Traceback (most recent call last): File "./testFeDb.py", line 4, in ? from mx import DateTime File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/__init__.py", line 8, in ? from DateTime import * File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/DateTime.py", line 9, in ? from mxDateTime import * File "/Library/Python/2.3/mx/DateTime/mxDateTime/__init__.py", line 13, in ? raise ImportError, why ImportError: Failure linking new module: : dyld: python Undefined symbols: /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyArg_ParseTuple expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCObject_FromVoidPtr expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCallable_Check expected to be defined in the executable /Library/Python/2.3/mx/Date === Has anyone experienced this? Any ideas how to fix it? culley From hanser at club-internet.fr Sat Sep 4 17:13:26 2004 From: hanser at club-internet.fr (Pierre Hanser) Date: Tue Jan 31 12:04:25 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 Message-ID: <4139CD86.6020403@club-internet.fr> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 hello seems that python2.4a3 is not compatible with the optimizations in mx/DateTime/mxDateTime/mxDateTime.c on Linux: from mx import DateTime -> core dump if I disable the optims, everything gets ok /* Define these to have the module use free lists (saves malloc calls) */ #define MXDATETIME_FREELIST #define MXDATETIMEDELTA_FREELIST #undef MXDATETIME_FREELIST #undef MXDATETIMEDELTA_FREELIST - -- Pierre -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBOc2GMQ2/jYUwmmwRAn70AJ4puAZm4p10+KTCK/GzLt20VzWd3ACfQzIo H8hLxq8iCE3KGYZ6AR5QUy8= =GA8t -----END PGP SIGNATURE----- From mal at egenix.com Sun Sep 5 19:53:02 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Tue Jan 31 12:04:25 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 In-Reply-To: <4139CD86.6020403@club-internet.fr> References: <4139CD86.6020403@club-internet.fr> Message-ID: <413B446E.40002@egenix.com> Pierre Hanser wrote: > hello > > seems that python2.4a3 is not compatible with the optimizations in > mx/DateTime/mxDateTime/mxDateTime.c on Linux: > > from mx import DateTime -> core dump > > if I disable the optims, everything gets ok > > /* Define these to have the module use free lists (saves malloc calls) */ > #define MXDATETIME_FREELIST > #define MXDATETIMEDELTA_FREELIST > #undef MXDATETIME_FREELIST > #undef MXDATETIMEDELTA_FREELIST This is more likely due to a bug in your C compiler. -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 05 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From aluton at rcseng.ac.uk Wed Sep 8 12:33:02 2004 From: aluton at rcseng.ac.uk (Alex Luton) Date: Tue Jan 31 12:04:25 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: References: Message-ID: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Hi, I'm trying to get the mxODBC DA working, but the product is broken with this error message: Traceback (most recent call last): File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product product=__import__(pname, global_dict, global_dict, silly) File "Products/mxODBCZopeDA/__init__.py", line 7, in ? File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? Any help would be much appreciated. Thanks -- Alex ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 From mal at egenix.com Wed Sep 8 13:37:44 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Tue Jan 31 12:04:25 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> References: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Message-ID: <413EE0F8.6050601@egenix.com> Alex Luton wrote: > Hi, > > I'm trying to get the mxODBC DA working, but the product is broken with > this error message: > > Traceback (most recent call last): > File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product > product=__import__(pname, global_dict, global_dict, silly) > File "Products/mxODBCZopeDA/__init__.py", line 7, in ? > File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? > ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString > > I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? RedHat chose to build Python with 4-byte Unicode which is causing all sorts of problems with pre-built extensions. We will start shipping UCS4 builds of the Zope DA with the next release. Until then, you can try the pre-release of 1.0.9: http://www.egenix.com/files/python/egenix-mxodbc-zopeda-1.0.9.linux-i686-py2.3ucs4.zip -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 08 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From kl at vsen.dk Sat Sep 11 20:21:57 2004 From: kl at vsen.dk (Klavs Klavsen) Date: Tue Jan 31 12:04:25 2006 Subject: [egenix-users] bufferoverflow in egenix? Message-ID: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Hi guys, Just installed a new gcc with stack-smashing protection - and while recompiling modules with stack-smashing protection, I got this message: -- copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l ib/python2.3/site-packages/mx/Misc copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ python2.3/site-packages/mx/Misc writing byte-compilation script '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: SyntaxWarning: name 'debugging' is use d prior to global declaration python: stack smashing attack in function symtable_node() error: command '/usr/bin/python' terminated by signal 6 !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. !!! Function distutils_src_install, Line 43, Exitcode 1 !!! (no error message) so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes one in python) - I haven't done very much research as I can live without egenix - but just wanted to let you know :) p.s. it's python-2.3.3. -- Regards, Klavs Klavsen, GSEC - kl@vsen.dk - http://www.vsen.dk PGP: 7E063C62/2873 188C 968E 600D D8F8 B8DA 3D3A 0B79 7E06 3C62 "Those who do not understand Unix are condemned to reinvent it, poorly." --Henry Spencer From mal at egenix.com Sat Sep 11 23:51:30 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Tue Jan 31 12:04:25 2006 Subject: [egenix-users] bufferoverflow in egenix? In-Reply-To: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> References: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Message-ID: <41436552.6000906@egenix.com> Klavs Klavsen wrote: > Hi guys, > > Just installed a new gcc with stack-smashing protection - and while > recompiling modules with stack-smashing protection, I got this message: > -- > copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l > ib/python2.3/site-packages/mx/Misc > copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ > python2.3/site-packages/mx/Misc > writing byte-compilation script > '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' > /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py > usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: > SyntaxWarning: name 'debugging' is use > d prior to global declaration This is an error that the Python compiler generated. I'd suggest you report to the Python bug tracker. BTW, pytag.py is no longer used or maintained, so you can safely delete it. > python: stack smashing attack in function symtable_node() > error: command '/usr/bin/python' terminated by signal 6 > > !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. > !!! Function distutils_src_install, Line 43, Exitcode 1 > !!! (no error message) > > so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes > one in python) - I haven't done very much research as I can live without > egenix - but just wanted to let you know :) > > p.s. it's python-2.3.3. Thanks, -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 11 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From harrelson at gmail.com Thu Sep 30 17:48:13 2004 From: harrelson at gmail.com (Culley Harrelson) Date: Tue Jan 31 12:04:25 2006 Subject: [egenix-users] OS X 10.3.5: *** You don't have the (right) mxDateTime binaries installed ! Message-ID: <529825a30409301648507c0cf8@mail.gmail.com> I have successfully installed mxDateTime on my OS X 10.3.5 system, using the system Python installation. It installed but as soon as I try to import the module I get: === *** You don't have the (right) mxDateTime binaries installed ! Traceback (most recent call last): File "./testFeDb.py", line 4, in ? from mx import DateTime File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/__init__.py", line 8, in ? from DateTime import * File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/DateTime.py", line 9, in ? from mxDateTime import * File "/Library/Python/2.3/mx/DateTime/mxDateTime/__init__.py", line 13, in ? raise ImportError, why ImportError: Failure linking new module: : dyld: python Undefined symbols: /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyArg_ParseTuple expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCObject_FromVoidPtr expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCallable_Check expected to be defined in the executable /Library/Python/2.3/mx/Date === Has anyone experienced this? Any ideas how to fix it? culley From hanser at club-internet.fr Sat Sep 4 17:13:26 2004 From: hanser at club-internet.fr (Pierre Hanser) Date: Tue Jan 31 16:02:28 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 Message-ID: <4139CD86.6020403@club-internet.fr> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 hello seems that python2.4a3 is not compatible with the optimizations in mx/DateTime/mxDateTime/mxDateTime.c on Linux: from mx import DateTime -> core dump if I disable the optims, everything gets ok /* Define these to have the module use free lists (saves malloc calls) */ #define MXDATETIME_FREELIST #define MXDATETIMEDELTA_FREELIST #undef MXDATETIME_FREELIST #undef MXDATETIMEDELTA_FREELIST - -- Pierre -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBOc2GMQ2/jYUwmmwRAn70AJ4puAZm4p10+KTCK/GzLt20VzWd3ACfQzIo H8hLxq8iCE3KGYZ6AR5QUy8= =GA8t -----END PGP SIGNATURE----- From mal at egenix.com Sun Sep 5 19:53:02 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Tue Jan 31 16:02:28 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 In-Reply-To: <4139CD86.6020403@club-internet.fr> References: <4139CD86.6020403@club-internet.fr> Message-ID: <413B446E.40002@egenix.com> Pierre Hanser wrote: > hello > > seems that python2.4a3 is not compatible with the optimizations in > mx/DateTime/mxDateTime/mxDateTime.c on Linux: > > from mx import DateTime -> core dump > > if I disable the optims, everything gets ok > > /* Define these to have the module use free lists (saves malloc calls) */ > #define MXDATETIME_FREELIST > #define MXDATETIMEDELTA_FREELIST > #undef MXDATETIME_FREELIST > #undef MXDATETIMEDELTA_FREELIST This is more likely due to a bug in your C compiler. -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 05 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From aluton at rcseng.ac.uk Wed Sep 8 12:33:02 2004 From: aluton at rcseng.ac.uk (Alex Luton) Date: Tue Jan 31 16:02:28 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: References: Message-ID: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Hi, I'm trying to get the mxODBC DA working, but the product is broken with this error message: Traceback (most recent call last): File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product product=__import__(pname, global_dict, global_dict, silly) File "Products/mxODBCZopeDA/__init__.py", line 7, in ? File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? Any help would be much appreciated. Thanks -- Alex ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 From mal at egenix.com Wed Sep 8 13:37:44 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Tue Jan 31 16:02:28 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> References: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Message-ID: <413EE0F8.6050601@egenix.com> Alex Luton wrote: > Hi, > > I'm trying to get the mxODBC DA working, but the product is broken with > this error message: > > Traceback (most recent call last): > File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product > product=__import__(pname, global_dict, global_dict, silly) > File "Products/mxODBCZopeDA/__init__.py", line 7, in ? > File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? > ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString > > I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? RedHat chose to build Python with 4-byte Unicode which is causing all sorts of problems with pre-built extensions. We will start shipping UCS4 builds of the Zope DA with the next release. Until then, you can try the pre-release of 1.0.9: http://www.egenix.com/files/python/egenix-mxodbc-zopeda-1.0.9.linux-i686-py2.3ucs4.zip -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 08 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From kl at vsen.dk Sat Sep 11 20:21:57 2004 From: kl at vsen.dk (Klavs Klavsen) Date: Tue Jan 31 16:02:28 2006 Subject: [egenix-users] bufferoverflow in egenix? Message-ID: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Hi guys, Just installed a new gcc with stack-smashing protection - and while recompiling modules with stack-smashing protection, I got this message: -- copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l ib/python2.3/site-packages/mx/Misc copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ python2.3/site-packages/mx/Misc writing byte-compilation script '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: SyntaxWarning: name 'debugging' is use d prior to global declaration python: stack smashing attack in function symtable_node() error: command '/usr/bin/python' terminated by signal 6 !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. !!! Function distutils_src_install, Line 43, Exitcode 1 !!! (no error message) so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes one in python) - I haven't done very much research as I can live without egenix - but just wanted to let you know :) p.s. it's python-2.3.3. -- Regards, Klavs Klavsen, GSEC - kl@vsen.dk - http://www.vsen.dk PGP: 7E063C62/2873 188C 968E 600D D8F8 B8DA 3D3A 0B79 7E06 3C62 "Those who do not understand Unix are condemned to reinvent it, poorly." --Henry Spencer From mal at egenix.com Sat Sep 11 23:51:30 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Tue Jan 31 16:02:28 2006 Subject: [egenix-users] bufferoverflow in egenix? In-Reply-To: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> References: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Message-ID: <41436552.6000906@egenix.com> Klavs Klavsen wrote: > Hi guys, > > Just installed a new gcc with stack-smashing protection - and while > recompiling modules with stack-smashing protection, I got this message: > -- > copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l > ib/python2.3/site-packages/mx/Misc > copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ > python2.3/site-packages/mx/Misc > writing byte-compilation script > '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' > /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py > usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: > SyntaxWarning: name 'debugging' is use > d prior to global declaration This is an error that the Python compiler generated. I'd suggest you report to the Python bug tracker. BTW, pytag.py is no longer used or maintained, so you can safely delete it. > python: stack smashing attack in function symtable_node() > error: command '/usr/bin/python' terminated by signal 6 > > !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. > !!! Function distutils_src_install, Line 43, Exitcode 1 > !!! (no error message) > > so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes > one in python) - I haven't done very much research as I can live without > egenix - but just wanted to let you know :) > > p.s. it's python-2.3.3. Thanks, -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 11 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From harrelson at gmail.com Thu Sep 30 17:48:13 2004 From: harrelson at gmail.com (Culley Harrelson) Date: Tue Jan 31 16:02:28 2006 Subject: [egenix-users] OS X 10.3.5: *** You don't have the (right) mxDateTime binaries installed ! Message-ID: <529825a30409301648507c0cf8@mail.gmail.com> I have successfully installed mxDateTime on my OS X 10.3.5 system, using the system Python installation. It installed but as soon as I try to import the module I get: === *** You don't have the (right) mxDateTime binaries installed ! Traceback (most recent call last): File "./testFeDb.py", line 4, in ? from mx import DateTime File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/__init__.py", line 8, in ? from DateTime import * File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/DateTime.py", line 9, in ? from mxDateTime import * File "/Library/Python/2.3/mx/DateTime/mxDateTime/__init__.py", line 13, in ? raise ImportError, why ImportError: Failure linking new module: : dyld: python Undefined symbols: /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyArg_ParseTuple expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCObject_FromVoidPtr expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCallable_Check expected to be defined in the executable /Library/Python/2.3/mx/Date === Has anyone experienced this? Any ideas how to fix it? culley From hanser at club-internet.fr Sat Sep 4 17:13:26 2004 From: hanser at club-internet.fr (Pierre Hanser) Date: Tue Jan 31 20:01:13 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 Message-ID: <4139CD86.6020403@club-internet.fr> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 hello seems that python2.4a3 is not compatible with the optimizations in mx/DateTime/mxDateTime/mxDateTime.c on Linux: from mx import DateTime -> core dump if I disable the optims, everything gets ok /* Define these to have the module use free lists (saves malloc calls) */ #define MXDATETIME_FREELIST #define MXDATETIMEDELTA_FREELIST #undef MXDATETIME_FREELIST #undef MXDATETIMEDELTA_FREELIST - -- Pierre -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBOc2GMQ2/jYUwmmwRAn70AJ4puAZm4p10+KTCK/GzLt20VzWd3ACfQzIo H8hLxq8iCE3KGYZ6AR5QUy8= =GA8t -----END PGP SIGNATURE----- From mal at egenix.com Sun Sep 5 19:53:02 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Tue Jan 31 20:01:13 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 In-Reply-To: <4139CD86.6020403@club-internet.fr> References: <4139CD86.6020403@club-internet.fr> Message-ID: <413B446E.40002@egenix.com> Pierre Hanser wrote: > hello > > seems that python2.4a3 is not compatible with the optimizations in > mx/DateTime/mxDateTime/mxDateTime.c on Linux: > > from mx import DateTime -> core dump > > if I disable the optims, everything gets ok > > /* Define these to have the module use free lists (saves malloc calls) */ > #define MXDATETIME_FREELIST > #define MXDATETIMEDELTA_FREELIST > #undef MXDATETIME_FREELIST > #undef MXDATETIMEDELTA_FREELIST This is more likely due to a bug in your C compiler. -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 05 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From aluton at rcseng.ac.uk Wed Sep 8 12:33:02 2004 From: aluton at rcseng.ac.uk (Alex Luton) Date: Tue Jan 31 20:01:13 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: References: Message-ID: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Hi, I'm trying to get the mxODBC DA working, but the product is broken with this error message: Traceback (most recent call last): File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product product=__import__(pname, global_dict, global_dict, silly) File "Products/mxODBCZopeDA/__init__.py", line 7, in ? File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? Any help would be much appreciated. Thanks -- Alex ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 From mal at egenix.com Wed Sep 8 13:37:44 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Tue Jan 31 20:01:13 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> References: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Message-ID: <413EE0F8.6050601@egenix.com> Alex Luton wrote: > Hi, > > I'm trying to get the mxODBC DA working, but the product is broken with > this error message: > > Traceback (most recent call last): > File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product > product=__import__(pname, global_dict, global_dict, silly) > File "Products/mxODBCZopeDA/__init__.py", line 7, in ? > File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? > ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString > > I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? RedHat chose to build Python with 4-byte Unicode which is causing all sorts of problems with pre-built extensions. We will start shipping UCS4 builds of the Zope DA with the next release. Until then, you can try the pre-release of 1.0.9: http://www.egenix.com/files/python/egenix-mxodbc-zopeda-1.0.9.linux-i686-py2.3ucs4.zip -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 08 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From kl at vsen.dk Sat Sep 11 20:21:57 2004 From: kl at vsen.dk (Klavs Klavsen) Date: Tue Jan 31 20:01:13 2006 Subject: [egenix-users] bufferoverflow in egenix? Message-ID: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Hi guys, Just installed a new gcc with stack-smashing protection - and while recompiling modules with stack-smashing protection, I got this message: -- copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l ib/python2.3/site-packages/mx/Misc copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ python2.3/site-packages/mx/Misc writing byte-compilation script '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: SyntaxWarning: name 'debugging' is use d prior to global declaration python: stack smashing attack in function symtable_node() error: command '/usr/bin/python' terminated by signal 6 !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. !!! Function distutils_src_install, Line 43, Exitcode 1 !!! (no error message) so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes one in python) - I haven't done very much research as I can live without egenix - but just wanted to let you know :) p.s. it's python-2.3.3. -- Regards, Klavs Klavsen, GSEC - kl@vsen.dk - http://www.vsen.dk PGP: 7E063C62/2873 188C 968E 600D D8F8 B8DA 3D3A 0B79 7E06 3C62 "Those who do not understand Unix are condemned to reinvent it, poorly." --Henry Spencer From mal at egenix.com Sat Sep 11 23:51:30 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Tue Jan 31 20:01:13 2006 Subject: [egenix-users] bufferoverflow in egenix? In-Reply-To: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> References: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Message-ID: <41436552.6000906@egenix.com> Klavs Klavsen wrote: > Hi guys, > > Just installed a new gcc with stack-smashing protection - and while > recompiling modules with stack-smashing protection, I got this message: > -- > copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l > ib/python2.3/site-packages/mx/Misc > copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ > python2.3/site-packages/mx/Misc > writing byte-compilation script > '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' > /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py > usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: > SyntaxWarning: name 'debugging' is use > d prior to global declaration This is an error that the Python compiler generated. I'd suggest you report to the Python bug tracker. BTW, pytag.py is no longer used or maintained, so you can safely delete it. > python: stack smashing attack in function symtable_node() > error: command '/usr/bin/python' terminated by signal 6 > > !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. > !!! Function distutils_src_install, Line 43, Exitcode 1 > !!! (no error message) > > so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes > one in python) - I haven't done very much research as I can live without > egenix - but just wanted to let you know :) > > p.s. it's python-2.3.3. Thanks, -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 11 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From harrelson at gmail.com Thu Sep 30 17:48:13 2004 From: harrelson at gmail.com (Culley Harrelson) Date: Tue Jan 31 20:01:13 2006 Subject: [egenix-users] OS X 10.3.5: *** You don't have the (right) mxDateTime binaries installed ! Message-ID: <529825a30409301648507c0cf8@mail.gmail.com> I have successfully installed mxDateTime on my OS X 10.3.5 system, using the system Python installation. It installed but as soon as I try to import the module I get: === *** You don't have the (right) mxDateTime binaries installed ! Traceback (most recent call last): File "./testFeDb.py", line 4, in ? from mx import DateTime File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/__init__.py", line 8, in ? from DateTime import * File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/DateTime.py", line 9, in ? from mxDateTime import * File "/Library/Python/2.3/mx/DateTime/mxDateTime/__init__.py", line 13, in ? raise ImportError, why ImportError: Failure linking new module: : dyld: python Undefined symbols: /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyArg_ParseTuple expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCObject_FromVoidPtr expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCallable_Check expected to be defined in the executable /Library/Python/2.3/mx/Date === Has anyone experienced this? Any ideas how to fix it? culley From hanser at club-internet.fr Sat Sep 4 17:13:26 2004 From: hanser at club-internet.fr (Pierre Hanser) Date: Wed Feb 1 08:10:08 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 Message-ID: <4139CD86.6020403@club-internet.fr> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 hello seems that python2.4a3 is not compatible with the optimizations in mx/DateTime/mxDateTime/mxDateTime.c on Linux: from mx import DateTime -> core dump if I disable the optims, everything gets ok /* Define these to have the module use free lists (saves malloc calls) */ #define MXDATETIME_FREELIST #define MXDATETIMEDELTA_FREELIST #undef MXDATETIME_FREELIST #undef MXDATETIMEDELTA_FREELIST - -- Pierre -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBOc2GMQ2/jYUwmmwRAn70AJ4puAZm4p10+KTCK/GzLt20VzWd3ACfQzIo H8hLxq8iCE3KGYZ6AR5QUy8= =GA8t -----END PGP SIGNATURE----- From mal at egenix.com Sun Sep 5 19:53:02 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Wed Feb 1 08:10:09 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 In-Reply-To: <4139CD86.6020403@club-internet.fr> References: <4139CD86.6020403@club-internet.fr> Message-ID: <413B446E.40002@egenix.com> Pierre Hanser wrote: > hello > > seems that python2.4a3 is not compatible with the optimizations in > mx/DateTime/mxDateTime/mxDateTime.c on Linux: > > from mx import DateTime -> core dump > > if I disable the optims, everything gets ok > > /* Define these to have the module use free lists (saves malloc calls) */ > #define MXDATETIME_FREELIST > #define MXDATETIMEDELTA_FREELIST > #undef MXDATETIME_FREELIST > #undef MXDATETIMEDELTA_FREELIST This is more likely due to a bug in your C compiler. -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 05 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From aluton at rcseng.ac.uk Wed Sep 8 12:33:02 2004 From: aluton at rcseng.ac.uk (Alex Luton) Date: Wed Feb 1 08:10:09 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: References: Message-ID: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Hi, I'm trying to get the mxODBC DA working, but the product is broken with this error message: Traceback (most recent call last): File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product product=__import__(pname, global_dict, global_dict, silly) File "Products/mxODBCZopeDA/__init__.py", line 7, in ? File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? Any help would be much appreciated. Thanks -- Alex ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 From mal at egenix.com Wed Sep 8 13:37:44 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Wed Feb 1 08:10:09 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> References: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Message-ID: <413EE0F8.6050601@egenix.com> Alex Luton wrote: > Hi, > > I'm trying to get the mxODBC DA working, but the product is broken with > this error message: > > Traceback (most recent call last): > File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product > product=__import__(pname, global_dict, global_dict, silly) > File "Products/mxODBCZopeDA/__init__.py", line 7, in ? > File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? > ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString > > I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? RedHat chose to build Python with 4-byte Unicode which is causing all sorts of problems with pre-built extensions. We will start shipping UCS4 builds of the Zope DA with the next release. Until then, you can try the pre-release of 1.0.9: http://www.egenix.com/files/python/egenix-mxodbc-zopeda-1.0.9.linux-i686-py2.3ucs4.zip -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 08 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From kl at vsen.dk Sat Sep 11 20:21:57 2004 From: kl at vsen.dk (Klavs Klavsen) Date: Wed Feb 1 08:10:09 2006 Subject: [egenix-users] bufferoverflow in egenix? Message-ID: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Hi guys, Just installed a new gcc with stack-smashing protection - and while recompiling modules with stack-smashing protection, I got this message: -- copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l ib/python2.3/site-packages/mx/Misc copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ python2.3/site-packages/mx/Misc writing byte-compilation script '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: SyntaxWarning: name 'debugging' is use d prior to global declaration python: stack smashing attack in function symtable_node() error: command '/usr/bin/python' terminated by signal 6 !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. !!! Function distutils_src_install, Line 43, Exitcode 1 !!! (no error message) so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes one in python) - I haven't done very much research as I can live without egenix - but just wanted to let you know :) p.s. it's python-2.3.3. -- Regards, Klavs Klavsen, GSEC - kl@vsen.dk - http://www.vsen.dk PGP: 7E063C62/2873 188C 968E 600D D8F8 B8DA 3D3A 0B79 7E06 3C62 "Those who do not understand Unix are condemned to reinvent it, poorly." --Henry Spencer From mal at egenix.com Sat Sep 11 23:51:30 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Wed Feb 1 08:10:09 2006 Subject: [egenix-users] bufferoverflow in egenix? In-Reply-To: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> References: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Message-ID: <41436552.6000906@egenix.com> Klavs Klavsen wrote: > Hi guys, > > Just installed a new gcc with stack-smashing protection - and while > recompiling modules with stack-smashing protection, I got this message: > -- > copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l > ib/python2.3/site-packages/mx/Misc > copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ > python2.3/site-packages/mx/Misc > writing byte-compilation script > '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' > /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py > usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: > SyntaxWarning: name 'debugging' is use > d prior to global declaration This is an error that the Python compiler generated. I'd suggest you report to the Python bug tracker. BTW, pytag.py is no longer used or maintained, so you can safely delete it. > python: stack smashing attack in function symtable_node() > error: command '/usr/bin/python' terminated by signal 6 > > !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. > !!! Function distutils_src_install, Line 43, Exitcode 1 > !!! (no error message) > > so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes > one in python) - I haven't done very much research as I can live without > egenix - but just wanted to let you know :) > > p.s. it's python-2.3.3. Thanks, -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 11 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From harrelson at gmail.com Thu Sep 30 17:48:13 2004 From: harrelson at gmail.com (Culley Harrelson) Date: Wed Feb 1 08:10:09 2006 Subject: [egenix-users] OS X 10.3.5: *** You don't have the (right) mxDateTime binaries installed ! Message-ID: <529825a30409301648507c0cf8@mail.gmail.com> I have successfully installed mxDateTime on my OS X 10.3.5 system, using the system Python installation. It installed but as soon as I try to import the module I get: === *** You don't have the (right) mxDateTime binaries installed ! Traceback (most recent call last): File "./testFeDb.py", line 4, in ? from mx import DateTime File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/__init__.py", line 8, in ? from DateTime import * File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/DateTime.py", line 9, in ? from mxDateTime import * File "/Library/Python/2.3/mx/DateTime/mxDateTime/__init__.py", line 13, in ? raise ImportError, why ImportError: Failure linking new module: : dyld: python Undefined symbols: /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyArg_ParseTuple expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCObject_FromVoidPtr expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCallable_Check expected to be defined in the executable /Library/Python/2.3/mx/Date === Has anyone experienced this? Any ideas how to fix it? culley From hanser at club-internet.fr Sat Sep 4 17:13:26 2004 From: hanser at club-internet.fr (Pierre Hanser) Date: Wed Feb 1 12:02:50 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 Message-ID: <4139CD86.6020403@club-internet.fr> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 hello seems that python2.4a3 is not compatible with the optimizations in mx/DateTime/mxDateTime/mxDateTime.c on Linux: from mx import DateTime -> core dump if I disable the optims, everything gets ok /* Define these to have the module use free lists (saves malloc calls) */ #define MXDATETIME_FREELIST #define MXDATETIMEDELTA_FREELIST #undef MXDATETIME_FREELIST #undef MXDATETIMEDELTA_FREELIST - -- Pierre -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBOc2GMQ2/jYUwmmwRAn70AJ4puAZm4p10+KTCK/GzLt20VzWd3ACfQzIo H8hLxq8iCE3KGYZ6AR5QUy8= =GA8t -----END PGP SIGNATURE----- From mal at egenix.com Sun Sep 5 19:53:02 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Wed Feb 1 12:02:50 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 In-Reply-To: <4139CD86.6020403@club-internet.fr> References: <4139CD86.6020403@club-internet.fr> Message-ID: <413B446E.40002@egenix.com> Pierre Hanser wrote: > hello > > seems that python2.4a3 is not compatible with the optimizations in > mx/DateTime/mxDateTime/mxDateTime.c on Linux: > > from mx import DateTime -> core dump > > if I disable the optims, everything gets ok > > /* Define these to have the module use free lists (saves malloc calls) */ > #define MXDATETIME_FREELIST > #define MXDATETIMEDELTA_FREELIST > #undef MXDATETIME_FREELIST > #undef MXDATETIMEDELTA_FREELIST This is more likely due to a bug in your C compiler. -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 05 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From aluton at rcseng.ac.uk Wed Sep 8 12:33:02 2004 From: aluton at rcseng.ac.uk (Alex Luton) Date: Wed Feb 1 12:02:50 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: References: Message-ID: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Hi, I'm trying to get the mxODBC DA working, but the product is broken with this error message: Traceback (most recent call last): File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product product=__import__(pname, global_dict, global_dict, silly) File "Products/mxODBCZopeDA/__init__.py", line 7, in ? File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? Any help would be much appreciated. Thanks -- Alex ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 From mal at egenix.com Wed Sep 8 13:37:44 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Wed Feb 1 12:02:50 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> References: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Message-ID: <413EE0F8.6050601@egenix.com> Alex Luton wrote: > Hi, > > I'm trying to get the mxODBC DA working, but the product is broken with > this error message: > > Traceback (most recent call last): > File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product > product=__import__(pname, global_dict, global_dict, silly) > File "Products/mxODBCZopeDA/__init__.py", line 7, in ? > File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? > ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString > > I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? RedHat chose to build Python with 4-byte Unicode which is causing all sorts of problems with pre-built extensions. We will start shipping UCS4 builds of the Zope DA with the next release. Until then, you can try the pre-release of 1.0.9: http://www.egenix.com/files/python/egenix-mxodbc-zopeda-1.0.9.linux-i686-py2.3ucs4.zip -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 08 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From kl at vsen.dk Sat Sep 11 20:21:57 2004 From: kl at vsen.dk (Klavs Klavsen) Date: Wed Feb 1 12:02:50 2006 Subject: [egenix-users] bufferoverflow in egenix? Message-ID: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Hi guys, Just installed a new gcc with stack-smashing protection - and while recompiling modules with stack-smashing protection, I got this message: -- copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l ib/python2.3/site-packages/mx/Misc copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ python2.3/site-packages/mx/Misc writing byte-compilation script '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: SyntaxWarning: name 'debugging' is use d prior to global declaration python: stack smashing attack in function symtable_node() error: command '/usr/bin/python' terminated by signal 6 !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. !!! Function distutils_src_install, Line 43, Exitcode 1 !!! (no error message) so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes one in python) - I haven't done very much research as I can live without egenix - but just wanted to let you know :) p.s. it's python-2.3.3. -- Regards, Klavs Klavsen, GSEC - kl@vsen.dk - http://www.vsen.dk PGP: 7E063C62/2873 188C 968E 600D D8F8 B8DA 3D3A 0B79 7E06 3C62 "Those who do not understand Unix are condemned to reinvent it, poorly." --Henry Spencer From mal at egenix.com Sat Sep 11 23:51:30 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Wed Feb 1 12:02:50 2006 Subject: [egenix-users] bufferoverflow in egenix? In-Reply-To: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> References: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Message-ID: <41436552.6000906@egenix.com> Klavs Klavsen wrote: > Hi guys, > > Just installed a new gcc with stack-smashing protection - and while > recompiling modules with stack-smashing protection, I got this message: > -- > copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l > ib/python2.3/site-packages/mx/Misc > copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ > python2.3/site-packages/mx/Misc > writing byte-compilation script > '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' > /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py > usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: > SyntaxWarning: name 'debugging' is use > d prior to global declaration This is an error that the Python compiler generated. I'd suggest you report to the Python bug tracker. BTW, pytag.py is no longer used or maintained, so you can safely delete it. > python: stack smashing attack in function symtable_node() > error: command '/usr/bin/python' terminated by signal 6 > > !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. > !!! Function distutils_src_install, Line 43, Exitcode 1 > !!! (no error message) > > so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes > one in python) - I haven't done very much research as I can live without > egenix - but just wanted to let you know :) > > p.s. it's python-2.3.3. Thanks, -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 11 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From harrelson at gmail.com Thu Sep 30 17:48:13 2004 From: harrelson at gmail.com (Culley Harrelson) Date: Wed Feb 1 12:02:51 2006 Subject: [egenix-users] OS X 10.3.5: *** You don't have the (right) mxDateTime binaries installed ! Message-ID: <529825a30409301648507c0cf8@mail.gmail.com> I have successfully installed mxDateTime on my OS X 10.3.5 system, using the system Python installation. It installed but as soon as I try to import the module I get: === *** You don't have the (right) mxDateTime binaries installed ! Traceback (most recent call last): File "./testFeDb.py", line 4, in ? from mx import DateTime File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/__init__.py", line 8, in ? from DateTime import * File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/DateTime.py", line 9, in ? from mxDateTime import * File "/Library/Python/2.3/mx/DateTime/mxDateTime/__init__.py", line 13, in ? raise ImportError, why ImportError: Failure linking new module: : dyld: python Undefined symbols: /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyArg_ParseTuple expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCObject_FromVoidPtr expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCallable_Check expected to be defined in the executable /Library/Python/2.3/mx/Date === Has anyone experienced this? Any ideas how to fix it? culley From hanser at club-internet.fr Sat Sep 4 17:13:26 2004 From: hanser at club-internet.fr (Pierre Hanser) Date: Wed Feb 1 16:01:13 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 Message-ID: <4139CD86.6020403@club-internet.fr> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 hello seems that python2.4a3 is not compatible with the optimizations in mx/DateTime/mxDateTime/mxDateTime.c on Linux: from mx import DateTime -> core dump if I disable the optims, everything gets ok /* Define these to have the module use free lists (saves malloc calls) */ #define MXDATETIME_FREELIST #define MXDATETIMEDELTA_FREELIST #undef MXDATETIME_FREELIST #undef MXDATETIMEDELTA_FREELIST - -- Pierre -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBOc2GMQ2/jYUwmmwRAn70AJ4puAZm4p10+KTCK/GzLt20VzWd3ACfQzIo H8hLxq8iCE3KGYZ6AR5QUy8= =GA8t -----END PGP SIGNATURE----- From mal at egenix.com Sun Sep 5 19:53:02 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Wed Feb 1 16:01:13 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 In-Reply-To: <4139CD86.6020403@club-internet.fr> References: <4139CD86.6020403@club-internet.fr> Message-ID: <413B446E.40002@egenix.com> Pierre Hanser wrote: > hello > > seems that python2.4a3 is not compatible with the optimizations in > mx/DateTime/mxDateTime/mxDateTime.c on Linux: > > from mx import DateTime -> core dump > > if I disable the optims, everything gets ok > > /* Define these to have the module use free lists (saves malloc calls) */ > #define MXDATETIME_FREELIST > #define MXDATETIMEDELTA_FREELIST > #undef MXDATETIME_FREELIST > #undef MXDATETIMEDELTA_FREELIST This is more likely due to a bug in your C compiler. -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 05 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From aluton at rcseng.ac.uk Wed Sep 8 12:33:02 2004 From: aluton at rcseng.ac.uk (Alex Luton) Date: Wed Feb 1 16:01:13 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: References: Message-ID: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Hi, I'm trying to get the mxODBC DA working, but the product is broken with this error message: Traceback (most recent call last): File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product product=__import__(pname, global_dict, global_dict, silly) File "Products/mxODBCZopeDA/__init__.py", line 7, in ? File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? Any help would be much appreciated. Thanks -- Alex ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 From mal at egenix.com Wed Sep 8 13:37:44 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Wed Feb 1 16:01:13 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> References: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Message-ID: <413EE0F8.6050601@egenix.com> Alex Luton wrote: > Hi, > > I'm trying to get the mxODBC DA working, but the product is broken with > this error message: > > Traceback (most recent call last): > File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product > product=__import__(pname, global_dict, global_dict, silly) > File "Products/mxODBCZopeDA/__init__.py", line 7, in ? > File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? > ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString > > I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? RedHat chose to build Python with 4-byte Unicode which is causing all sorts of problems with pre-built extensions. We will start shipping UCS4 builds of the Zope DA with the next release. Until then, you can try the pre-release of 1.0.9: http://www.egenix.com/files/python/egenix-mxodbc-zopeda-1.0.9.linux-i686-py2.3ucs4.zip -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 08 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From kl at vsen.dk Sat Sep 11 20:21:57 2004 From: kl at vsen.dk (Klavs Klavsen) Date: Wed Feb 1 16:01:13 2006 Subject: [egenix-users] bufferoverflow in egenix? Message-ID: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Hi guys, Just installed a new gcc with stack-smashing protection - and while recompiling modules with stack-smashing protection, I got this message: -- copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l ib/python2.3/site-packages/mx/Misc copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ python2.3/site-packages/mx/Misc writing byte-compilation script '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: SyntaxWarning: name 'debugging' is use d prior to global declaration python: stack smashing attack in function symtable_node() error: command '/usr/bin/python' terminated by signal 6 !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. !!! Function distutils_src_install, Line 43, Exitcode 1 !!! (no error message) so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes one in python) - I haven't done very much research as I can live without egenix - but just wanted to let you know :) p.s. it's python-2.3.3. -- Regards, Klavs Klavsen, GSEC - kl@vsen.dk - http://www.vsen.dk PGP: 7E063C62/2873 188C 968E 600D D8F8 B8DA 3D3A 0B79 7E06 3C62 "Those who do not understand Unix are condemned to reinvent it, poorly." --Henry Spencer From mal at egenix.com Sat Sep 11 23:51:30 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Wed Feb 1 16:01:13 2006 Subject: [egenix-users] bufferoverflow in egenix? In-Reply-To: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> References: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Message-ID: <41436552.6000906@egenix.com> Klavs Klavsen wrote: > Hi guys, > > Just installed a new gcc with stack-smashing protection - and while > recompiling modules with stack-smashing protection, I got this message: > -- > copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l > ib/python2.3/site-packages/mx/Misc > copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ > python2.3/site-packages/mx/Misc > writing byte-compilation script > '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' > /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py > usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: > SyntaxWarning: name 'debugging' is use > d prior to global declaration This is an error that the Python compiler generated. I'd suggest you report to the Python bug tracker. BTW, pytag.py is no longer used or maintained, so you can safely delete it. > python: stack smashing attack in function symtable_node() > error: command '/usr/bin/python' terminated by signal 6 > > !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. > !!! Function distutils_src_install, Line 43, Exitcode 1 > !!! (no error message) > > so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes > one in python) - I haven't done very much research as I can live without > egenix - but just wanted to let you know :) > > p.s. it's python-2.3.3. Thanks, -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 11 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From harrelson at gmail.com Thu Sep 30 17:48:13 2004 From: harrelson at gmail.com (Culley Harrelson) Date: Wed Feb 1 16:01:13 2006 Subject: [egenix-users] OS X 10.3.5: *** You don't have the (right) mxDateTime binaries installed ! Message-ID: <529825a30409301648507c0cf8@mail.gmail.com> I have successfully installed mxDateTime on my OS X 10.3.5 system, using the system Python installation. It installed but as soon as I try to import the module I get: === *** You don't have the (right) mxDateTime binaries installed ! Traceback (most recent call last): File "./testFeDb.py", line 4, in ? from mx import DateTime File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/__init__.py", line 8, in ? from DateTime import * File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/DateTime.py", line 9, in ? from mxDateTime import * File "/Library/Python/2.3/mx/DateTime/mxDateTime/__init__.py", line 13, in ? raise ImportError, why ImportError: Failure linking new module: : dyld: python Undefined symbols: /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyArg_ParseTuple expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCObject_FromVoidPtr expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCallable_Check expected to be defined in the executable /Library/Python/2.3/mx/Date === Has anyone experienced this? Any ideas how to fix it? culley From hanser at club-internet.fr Sat Sep 4 17:13:26 2004 From: hanser at club-internet.fr (Pierre Hanser) Date: Wed Feb 1 20:01:07 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 Message-ID: <4139CD86.6020403@club-internet.fr> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 hello seems that python2.4a3 is not compatible with the optimizations in mx/DateTime/mxDateTime/mxDateTime.c on Linux: from mx import DateTime -> core dump if I disable the optims, everything gets ok /* Define these to have the module use free lists (saves malloc calls) */ #define MXDATETIME_FREELIST #define MXDATETIMEDELTA_FREELIST #undef MXDATETIME_FREELIST #undef MXDATETIMEDELTA_FREELIST - -- Pierre -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBOc2GMQ2/jYUwmmwRAn70AJ4puAZm4p10+KTCK/GzLt20VzWd3ACfQzIo H8hLxq8iCE3KGYZ6AR5QUy8= =GA8t -----END PGP SIGNATURE----- From mal at egenix.com Sun Sep 5 19:53:02 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Wed Feb 1 20:01:07 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 In-Reply-To: <4139CD86.6020403@club-internet.fr> References: <4139CD86.6020403@club-internet.fr> Message-ID: <413B446E.40002@egenix.com> Pierre Hanser wrote: > hello > > seems that python2.4a3 is not compatible with the optimizations in > mx/DateTime/mxDateTime/mxDateTime.c on Linux: > > from mx import DateTime -> core dump > > if I disable the optims, everything gets ok > > /* Define these to have the module use free lists (saves malloc calls) */ > #define MXDATETIME_FREELIST > #define MXDATETIMEDELTA_FREELIST > #undef MXDATETIME_FREELIST > #undef MXDATETIMEDELTA_FREELIST This is more likely due to a bug in your C compiler. -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 05 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From aluton at rcseng.ac.uk Wed Sep 8 12:33:02 2004 From: aluton at rcseng.ac.uk (Alex Luton) Date: Wed Feb 1 20:01:07 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: References: Message-ID: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Hi, I'm trying to get the mxODBC DA working, but the product is broken with this error message: Traceback (most recent call last): File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product product=__import__(pname, global_dict, global_dict, silly) File "Products/mxODBCZopeDA/__init__.py", line 7, in ? File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? Any help would be much appreciated. Thanks -- Alex ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 From mal at egenix.com Wed Sep 8 13:37:44 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Wed Feb 1 20:01:07 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> References: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Message-ID: <413EE0F8.6050601@egenix.com> Alex Luton wrote: > Hi, > > I'm trying to get the mxODBC DA working, but the product is broken with > this error message: > > Traceback (most recent call last): > File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product > product=__import__(pname, global_dict, global_dict, silly) > File "Products/mxODBCZopeDA/__init__.py", line 7, in ? > File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? > ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString > > I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? RedHat chose to build Python with 4-byte Unicode which is causing all sorts of problems with pre-built extensions. We will start shipping UCS4 builds of the Zope DA with the next release. Until then, you can try the pre-release of 1.0.9: http://www.egenix.com/files/python/egenix-mxodbc-zopeda-1.0.9.linux-i686-py2.3ucs4.zip -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 08 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From kl at vsen.dk Sat Sep 11 20:21:57 2004 From: kl at vsen.dk (Klavs Klavsen) Date: Wed Feb 1 20:01:07 2006 Subject: [egenix-users] bufferoverflow in egenix? Message-ID: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Hi guys, Just installed a new gcc with stack-smashing protection - and while recompiling modules with stack-smashing protection, I got this message: -- copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l ib/python2.3/site-packages/mx/Misc copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ python2.3/site-packages/mx/Misc writing byte-compilation script '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: SyntaxWarning: name 'debugging' is use d prior to global declaration python: stack smashing attack in function symtable_node() error: command '/usr/bin/python' terminated by signal 6 !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. !!! Function distutils_src_install, Line 43, Exitcode 1 !!! (no error message) so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes one in python) - I haven't done very much research as I can live without egenix - but just wanted to let you know :) p.s. it's python-2.3.3. -- Regards, Klavs Klavsen, GSEC - kl@vsen.dk - http://www.vsen.dk PGP: 7E063C62/2873 188C 968E 600D D8F8 B8DA 3D3A 0B79 7E06 3C62 "Those who do not understand Unix are condemned to reinvent it, poorly." --Henry Spencer From mal at egenix.com Sat Sep 11 23:51:30 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Wed Feb 1 20:01:07 2006 Subject: [egenix-users] bufferoverflow in egenix? In-Reply-To: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> References: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Message-ID: <41436552.6000906@egenix.com> Klavs Klavsen wrote: > Hi guys, > > Just installed a new gcc with stack-smashing protection - and while > recompiling modules with stack-smashing protection, I got this message: > -- > copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l > ib/python2.3/site-packages/mx/Misc > copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ > python2.3/site-packages/mx/Misc > writing byte-compilation script > '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' > /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py > usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: > SyntaxWarning: name 'debugging' is use > d prior to global declaration This is an error that the Python compiler generated. I'd suggest you report to the Python bug tracker. BTW, pytag.py is no longer used or maintained, so you can safely delete it. > python: stack smashing attack in function symtable_node() > error: command '/usr/bin/python' terminated by signal 6 > > !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. > !!! Function distutils_src_install, Line 43, Exitcode 1 > !!! (no error message) > > so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes > one in python) - I haven't done very much research as I can live without > egenix - but just wanted to let you know :) > > p.s. it's python-2.3.3. Thanks, -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 11 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From harrelson at gmail.com Thu Sep 30 17:48:13 2004 From: harrelson at gmail.com (Culley Harrelson) Date: Wed Feb 1 20:01:07 2006 Subject: [egenix-users] OS X 10.3.5: *** You don't have the (right) mxDateTime binaries installed ! Message-ID: <529825a30409301648507c0cf8@mail.gmail.com> I have successfully installed mxDateTime on my OS X 10.3.5 system, using the system Python installation. It installed but as soon as I try to import the module I get: === *** You don't have the (right) mxDateTime binaries installed ! Traceback (most recent call last): File "./testFeDb.py", line 4, in ? from mx import DateTime File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/__init__.py", line 8, in ? from DateTime import * File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/DateTime.py", line 9, in ? from mxDateTime import * File "/Library/Python/2.3/mx/DateTime/mxDateTime/__init__.py", line 13, in ? raise ImportError, why ImportError: Failure linking new module: : dyld: python Undefined symbols: /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyArg_ParseTuple expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCObject_FromVoidPtr expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCallable_Check expected to be defined in the executable /Library/Python/2.3/mx/Date === Has anyone experienced this? Any ideas how to fix it? culley From hanser at club-internet.fr Sat Sep 4 17:13:26 2004 From: hanser at club-internet.fr (Pierre Hanser) Date: Thu Feb 2 08:13:23 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 Message-ID: <4139CD86.6020403@club-internet.fr> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 hello seems that python2.4a3 is not compatible with the optimizations in mx/DateTime/mxDateTime/mxDateTime.c on Linux: from mx import DateTime -> core dump if I disable the optims, everything gets ok /* Define these to have the module use free lists (saves malloc calls) */ #define MXDATETIME_FREELIST #define MXDATETIMEDELTA_FREELIST #undef MXDATETIME_FREELIST #undef MXDATETIMEDELTA_FREELIST - -- Pierre -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBOc2GMQ2/jYUwmmwRAn70AJ4puAZm4p10+KTCK/GzLt20VzWd3ACfQzIo H8hLxq8iCE3KGYZ6AR5QUy8= =GA8t -----END PGP SIGNATURE----- From mal at egenix.com Sun Sep 5 19:53:02 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Thu Feb 2 08:13:24 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 In-Reply-To: <4139CD86.6020403@club-internet.fr> References: <4139CD86.6020403@club-internet.fr> Message-ID: <413B446E.40002@egenix.com> Pierre Hanser wrote: > hello > > seems that python2.4a3 is not compatible with the optimizations in > mx/DateTime/mxDateTime/mxDateTime.c on Linux: > > from mx import DateTime -> core dump > > if I disable the optims, everything gets ok > > /* Define these to have the module use free lists (saves malloc calls) */ > #define MXDATETIME_FREELIST > #define MXDATETIMEDELTA_FREELIST > #undef MXDATETIME_FREELIST > #undef MXDATETIMEDELTA_FREELIST This is more likely due to a bug in your C compiler. -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 05 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From aluton at rcseng.ac.uk Wed Sep 8 12:33:02 2004 From: aluton at rcseng.ac.uk (Alex Luton) Date: Thu Feb 2 08:13:24 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: References: Message-ID: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Hi, I'm trying to get the mxODBC DA working, but the product is broken with this error message: Traceback (most recent call last): File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product product=__import__(pname, global_dict, global_dict, silly) File "Products/mxODBCZopeDA/__init__.py", line 7, in ? File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? Any help would be much appreciated. Thanks -- Alex ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 From mal at egenix.com Wed Sep 8 13:37:44 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Thu Feb 2 08:13:24 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> References: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Message-ID: <413EE0F8.6050601@egenix.com> Alex Luton wrote: > Hi, > > I'm trying to get the mxODBC DA working, but the product is broken with > this error message: > > Traceback (most recent call last): > File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product > product=__import__(pname, global_dict, global_dict, silly) > File "Products/mxODBCZopeDA/__init__.py", line 7, in ? > File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? > ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString > > I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? RedHat chose to build Python with 4-byte Unicode which is causing all sorts of problems with pre-built extensions. We will start shipping UCS4 builds of the Zope DA with the next release. Until then, you can try the pre-release of 1.0.9: http://www.egenix.com/files/python/egenix-mxodbc-zopeda-1.0.9.linux-i686-py2.3ucs4.zip -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 08 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From kl at vsen.dk Sat Sep 11 20:21:57 2004 From: kl at vsen.dk (Klavs Klavsen) Date: Thu Feb 2 08:13:24 2006 Subject: [egenix-users] bufferoverflow in egenix? Message-ID: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Hi guys, Just installed a new gcc with stack-smashing protection - and while recompiling modules with stack-smashing protection, I got this message: -- copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l ib/python2.3/site-packages/mx/Misc copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ python2.3/site-packages/mx/Misc writing byte-compilation script '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: SyntaxWarning: name 'debugging' is use d prior to global declaration python: stack smashing attack in function symtable_node() error: command '/usr/bin/python' terminated by signal 6 !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. !!! Function distutils_src_install, Line 43, Exitcode 1 !!! (no error message) so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes one in python) - I haven't done very much research as I can live without egenix - but just wanted to let you know :) p.s. it's python-2.3.3. -- Regards, Klavs Klavsen, GSEC - kl@vsen.dk - http://www.vsen.dk PGP: 7E063C62/2873 188C 968E 600D D8F8 B8DA 3D3A 0B79 7E06 3C62 "Those who do not understand Unix are condemned to reinvent it, poorly." --Henry Spencer From mal at egenix.com Sat Sep 11 23:51:30 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Thu Feb 2 08:13:24 2006 Subject: [egenix-users] bufferoverflow in egenix? In-Reply-To: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> References: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Message-ID: <41436552.6000906@egenix.com> Klavs Klavsen wrote: > Hi guys, > > Just installed a new gcc with stack-smashing protection - and while > recompiling modules with stack-smashing protection, I got this message: > -- > copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l > ib/python2.3/site-packages/mx/Misc > copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ > python2.3/site-packages/mx/Misc > writing byte-compilation script > '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' > /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py > usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: > SyntaxWarning: name 'debugging' is use > d prior to global declaration This is an error that the Python compiler generated. I'd suggest you report to the Python bug tracker. BTW, pytag.py is no longer used or maintained, so you can safely delete it. > python: stack smashing attack in function symtable_node() > error: command '/usr/bin/python' terminated by signal 6 > > !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. > !!! Function distutils_src_install, Line 43, Exitcode 1 > !!! (no error message) > > so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes > one in python) - I haven't done very much research as I can live without > egenix - but just wanted to let you know :) > > p.s. it's python-2.3.3. Thanks, -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 11 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From harrelson at gmail.com Thu Sep 30 17:48:13 2004 From: harrelson at gmail.com (Culley Harrelson) Date: Thu Feb 2 08:13:24 2006 Subject: [egenix-users] OS X 10.3.5: *** You don't have the (right) mxDateTime binaries installed ! Message-ID: <529825a30409301648507c0cf8@mail.gmail.com> I have successfully installed mxDateTime on my OS X 10.3.5 system, using the system Python installation. It installed but as soon as I try to import the module I get: === *** You don't have the (right) mxDateTime binaries installed ! Traceback (most recent call last): File "./testFeDb.py", line 4, in ? from mx import DateTime File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/__init__.py", line 8, in ? from DateTime import * File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/DateTime.py", line 9, in ? from mxDateTime import * File "/Library/Python/2.3/mx/DateTime/mxDateTime/__init__.py", line 13, in ? raise ImportError, why ImportError: Failure linking new module: : dyld: python Undefined symbols: /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyArg_ParseTuple expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCObject_FromVoidPtr expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCallable_Check expected to be defined in the executable /Library/Python/2.3/mx/Date === Has anyone experienced this? Any ideas how to fix it? culley From hanser at club-internet.fr Sat Sep 4 17:13:26 2004 From: hanser at club-internet.fr (Pierre Hanser) Date: Thu Feb 2 12:02:57 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 Message-ID: <4139CD86.6020403@club-internet.fr> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 hello seems that python2.4a3 is not compatible with the optimizations in mx/DateTime/mxDateTime/mxDateTime.c on Linux: from mx import DateTime -> core dump if I disable the optims, everything gets ok /* Define these to have the module use free lists (saves malloc calls) */ #define MXDATETIME_FREELIST #define MXDATETIMEDELTA_FREELIST #undef MXDATETIME_FREELIST #undef MXDATETIMEDELTA_FREELIST - -- Pierre -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBOc2GMQ2/jYUwmmwRAn70AJ4puAZm4p10+KTCK/GzLt20VzWd3ACfQzIo H8hLxq8iCE3KGYZ6AR5QUy8= =GA8t -----END PGP SIGNATURE----- From mal at egenix.com Sun Sep 5 19:53:02 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Thu Feb 2 12:02:57 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 In-Reply-To: <4139CD86.6020403@club-internet.fr> References: <4139CD86.6020403@club-internet.fr> Message-ID: <413B446E.40002@egenix.com> Pierre Hanser wrote: > hello > > seems that python2.4a3 is not compatible with the optimizations in > mx/DateTime/mxDateTime/mxDateTime.c on Linux: > > from mx import DateTime -> core dump > > if I disable the optims, everything gets ok > > /* Define these to have the module use free lists (saves malloc calls) */ > #define MXDATETIME_FREELIST > #define MXDATETIMEDELTA_FREELIST > #undef MXDATETIME_FREELIST > #undef MXDATETIMEDELTA_FREELIST This is more likely due to a bug in your C compiler. -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 05 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From aluton at rcseng.ac.uk Wed Sep 8 12:33:02 2004 From: aluton at rcseng.ac.uk (Alex Luton) Date: Thu Feb 2 12:02:57 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: References: Message-ID: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Hi, I'm trying to get the mxODBC DA working, but the product is broken with this error message: Traceback (most recent call last): File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product product=__import__(pname, global_dict, global_dict, silly) File "Products/mxODBCZopeDA/__init__.py", line 7, in ? File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? Any help would be much appreciated. Thanks -- Alex ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 From mal at egenix.com Wed Sep 8 13:37:44 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Thu Feb 2 12:02:57 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> References: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Message-ID: <413EE0F8.6050601@egenix.com> Alex Luton wrote: > Hi, > > I'm trying to get the mxODBC DA working, but the product is broken with > this error message: > > Traceback (most recent call last): > File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product > product=__import__(pname, global_dict, global_dict, silly) > File "Products/mxODBCZopeDA/__init__.py", line 7, in ? > File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? > ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString > > I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? RedHat chose to build Python with 4-byte Unicode which is causing all sorts of problems with pre-built extensions. We will start shipping UCS4 builds of the Zope DA with the next release. Until then, you can try the pre-release of 1.0.9: http://www.egenix.com/files/python/egenix-mxodbc-zopeda-1.0.9.linux-i686-py2.3ucs4.zip -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 08 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From kl at vsen.dk Sat Sep 11 20:21:57 2004 From: kl at vsen.dk (Klavs Klavsen) Date: Thu Feb 2 12:02:57 2006 Subject: [egenix-users] bufferoverflow in egenix? Message-ID: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Hi guys, Just installed a new gcc with stack-smashing protection - and while recompiling modules with stack-smashing protection, I got this message: -- copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l ib/python2.3/site-packages/mx/Misc copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ python2.3/site-packages/mx/Misc writing byte-compilation script '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: SyntaxWarning: name 'debugging' is use d prior to global declaration python: stack smashing attack in function symtable_node() error: command '/usr/bin/python' terminated by signal 6 !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. !!! Function distutils_src_install, Line 43, Exitcode 1 !!! (no error message) so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes one in python) - I haven't done very much research as I can live without egenix - but just wanted to let you know :) p.s. it's python-2.3.3. -- Regards, Klavs Klavsen, GSEC - kl@vsen.dk - http://www.vsen.dk PGP: 7E063C62/2873 188C 968E 600D D8F8 B8DA 3D3A 0B79 7E06 3C62 "Those who do not understand Unix are condemned to reinvent it, poorly." --Henry Spencer From mal at egenix.com Sat Sep 11 23:51:30 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Thu Feb 2 12:02:57 2006 Subject: [egenix-users] bufferoverflow in egenix? In-Reply-To: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> References: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Message-ID: <41436552.6000906@egenix.com> Klavs Klavsen wrote: > Hi guys, > > Just installed a new gcc with stack-smashing protection - and while > recompiling modules with stack-smashing protection, I got this message: > -- > copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l > ib/python2.3/site-packages/mx/Misc > copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ > python2.3/site-packages/mx/Misc > writing byte-compilation script > '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' > /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py > usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: > SyntaxWarning: name 'debugging' is use > d prior to global declaration This is an error that the Python compiler generated. I'd suggest you report to the Python bug tracker. BTW, pytag.py is no longer used or maintained, so you can safely delete it. > python: stack smashing attack in function symtable_node() > error: command '/usr/bin/python' terminated by signal 6 > > !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. > !!! Function distutils_src_install, Line 43, Exitcode 1 > !!! (no error message) > > so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes > one in python) - I haven't done very much research as I can live without > egenix - but just wanted to let you know :) > > p.s. it's python-2.3.3. Thanks, -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 11 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From harrelson at gmail.com Thu Sep 30 17:48:13 2004 From: harrelson at gmail.com (Culley Harrelson) Date: Thu Feb 2 12:02:57 2006 Subject: [egenix-users] OS X 10.3.5: *** You don't have the (right) mxDateTime binaries installed ! Message-ID: <529825a30409301648507c0cf8@mail.gmail.com> I have successfully installed mxDateTime on my OS X 10.3.5 system, using the system Python installation. It installed but as soon as I try to import the module I get: === *** You don't have the (right) mxDateTime binaries installed ! Traceback (most recent call last): File "./testFeDb.py", line 4, in ? from mx import DateTime File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/__init__.py", line 8, in ? from DateTime import * File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/DateTime.py", line 9, in ? from mxDateTime import * File "/Library/Python/2.3/mx/DateTime/mxDateTime/__init__.py", line 13, in ? raise ImportError, why ImportError: Failure linking new module: : dyld: python Undefined symbols: /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyArg_ParseTuple expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCObject_FromVoidPtr expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCallable_Check expected to be defined in the executable /Library/Python/2.3/mx/Date === Has anyone experienced this? Any ideas how to fix it? culley From hanser at club-internet.fr Sat Sep 4 17:13:26 2004 From: hanser at club-internet.fr (Pierre Hanser) Date: Thu Feb 2 16:01:17 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 Message-ID: <4139CD86.6020403@club-internet.fr> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 hello seems that python2.4a3 is not compatible with the optimizations in mx/DateTime/mxDateTime/mxDateTime.c on Linux: from mx import DateTime -> core dump if I disable the optims, everything gets ok /* Define these to have the module use free lists (saves malloc calls) */ #define MXDATETIME_FREELIST #define MXDATETIMEDELTA_FREELIST #undef MXDATETIME_FREELIST #undef MXDATETIMEDELTA_FREELIST - -- Pierre -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBOc2GMQ2/jYUwmmwRAn70AJ4puAZm4p10+KTCK/GzLt20VzWd3ACfQzIo H8hLxq8iCE3KGYZ6AR5QUy8= =GA8t -----END PGP SIGNATURE----- From mal at egenix.com Sun Sep 5 19:53:02 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Thu Feb 2 16:01:17 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 In-Reply-To: <4139CD86.6020403@club-internet.fr> References: <4139CD86.6020403@club-internet.fr> Message-ID: <413B446E.40002@egenix.com> Pierre Hanser wrote: > hello > > seems that python2.4a3 is not compatible with the optimizations in > mx/DateTime/mxDateTime/mxDateTime.c on Linux: > > from mx import DateTime -> core dump > > if I disable the optims, everything gets ok > > /* Define these to have the module use free lists (saves malloc calls) */ > #define MXDATETIME_FREELIST > #define MXDATETIMEDELTA_FREELIST > #undef MXDATETIME_FREELIST > #undef MXDATETIMEDELTA_FREELIST This is more likely due to a bug in your C compiler. -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 05 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From aluton at rcseng.ac.uk Wed Sep 8 12:33:02 2004 From: aluton at rcseng.ac.uk (Alex Luton) Date: Thu Feb 2 16:01:17 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: References: Message-ID: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Hi, I'm trying to get the mxODBC DA working, but the product is broken with this error message: Traceback (most recent call last): File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product product=__import__(pname, global_dict, global_dict, silly) File "Products/mxODBCZopeDA/__init__.py", line 7, in ? File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? Any help would be much appreciated. Thanks -- Alex ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 From mal at egenix.com Wed Sep 8 13:37:44 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Thu Feb 2 16:01:17 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> References: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Message-ID: <413EE0F8.6050601@egenix.com> Alex Luton wrote: > Hi, > > I'm trying to get the mxODBC DA working, but the product is broken with > this error message: > > Traceback (most recent call last): > File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product > product=__import__(pname, global_dict, global_dict, silly) > File "Products/mxODBCZopeDA/__init__.py", line 7, in ? > File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? > ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString > > I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? RedHat chose to build Python with 4-byte Unicode which is causing all sorts of problems with pre-built extensions. We will start shipping UCS4 builds of the Zope DA with the next release. Until then, you can try the pre-release of 1.0.9: http://www.egenix.com/files/python/egenix-mxodbc-zopeda-1.0.9.linux-i686-py2.3ucs4.zip -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 08 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From kl at vsen.dk Sat Sep 11 20:21:57 2004 From: kl at vsen.dk (Klavs Klavsen) Date: Thu Feb 2 16:01:17 2006 Subject: [egenix-users] bufferoverflow in egenix? Message-ID: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Hi guys, Just installed a new gcc with stack-smashing protection - and while recompiling modules with stack-smashing protection, I got this message: -- copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l ib/python2.3/site-packages/mx/Misc copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ python2.3/site-packages/mx/Misc writing byte-compilation script '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: SyntaxWarning: name 'debugging' is use d prior to global declaration python: stack smashing attack in function symtable_node() error: command '/usr/bin/python' terminated by signal 6 !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. !!! Function distutils_src_install, Line 43, Exitcode 1 !!! (no error message) so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes one in python) - I haven't done very much research as I can live without egenix - but just wanted to let you know :) p.s. it's python-2.3.3. -- Regards, Klavs Klavsen, GSEC - kl@vsen.dk - http://www.vsen.dk PGP: 7E063C62/2873 188C 968E 600D D8F8 B8DA 3D3A 0B79 7E06 3C62 "Those who do not understand Unix are condemned to reinvent it, poorly." --Henry Spencer From mal at egenix.com Sat Sep 11 23:51:30 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Thu Feb 2 16:01:17 2006 Subject: [egenix-users] bufferoverflow in egenix? In-Reply-To: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> References: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Message-ID: <41436552.6000906@egenix.com> Klavs Klavsen wrote: > Hi guys, > > Just installed a new gcc with stack-smashing protection - and while > recompiling modules with stack-smashing protection, I got this message: > -- > copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l > ib/python2.3/site-packages/mx/Misc > copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ > python2.3/site-packages/mx/Misc > writing byte-compilation script > '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' > /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py > usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: > SyntaxWarning: name 'debugging' is use > d prior to global declaration This is an error that the Python compiler generated. I'd suggest you report to the Python bug tracker. BTW, pytag.py is no longer used or maintained, so you can safely delete it. > python: stack smashing attack in function symtable_node() > error: command '/usr/bin/python' terminated by signal 6 > > !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. > !!! Function distutils_src_install, Line 43, Exitcode 1 > !!! (no error message) > > so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes > one in python) - I haven't done very much research as I can live without > egenix - but just wanted to let you know :) > > p.s. it's python-2.3.3. Thanks, -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 11 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From harrelson at gmail.com Thu Sep 30 17:48:13 2004 From: harrelson at gmail.com (Culley Harrelson) Date: Thu Feb 2 16:01:17 2006 Subject: [egenix-users] OS X 10.3.5: *** You don't have the (right) mxDateTime binaries installed ! Message-ID: <529825a30409301648507c0cf8@mail.gmail.com> I have successfully installed mxDateTime on my OS X 10.3.5 system, using the system Python installation. It installed but as soon as I try to import the module I get: === *** You don't have the (right) mxDateTime binaries installed ! Traceback (most recent call last): File "./testFeDb.py", line 4, in ? from mx import DateTime File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/__init__.py", line 8, in ? from DateTime import * File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/DateTime.py", line 9, in ? from mxDateTime import * File "/Library/Python/2.3/mx/DateTime/mxDateTime/__init__.py", line 13, in ? raise ImportError, why ImportError: Failure linking new module: : dyld: python Undefined symbols: /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyArg_ParseTuple expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCObject_FromVoidPtr expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCallable_Check expected to be defined in the executable /Library/Python/2.3/mx/Date === Has anyone experienced this? Any ideas how to fix it? culley From hanser at club-internet.fr Sat Sep 4 17:13:26 2004 From: hanser at club-internet.fr (Pierre Hanser) Date: Thu Feb 2 20:01:07 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 Message-ID: <4139CD86.6020403@club-internet.fr> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 hello seems that python2.4a3 is not compatible with the optimizations in mx/DateTime/mxDateTime/mxDateTime.c on Linux: from mx import DateTime -> core dump if I disable the optims, everything gets ok /* Define these to have the module use free lists (saves malloc calls) */ #define MXDATETIME_FREELIST #define MXDATETIMEDELTA_FREELIST #undef MXDATETIME_FREELIST #undef MXDATETIMEDELTA_FREELIST - -- Pierre -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBOc2GMQ2/jYUwmmwRAn70AJ4puAZm4p10+KTCK/GzLt20VzWd3ACfQzIo H8hLxq8iCE3KGYZ6AR5QUy8= =GA8t -----END PGP SIGNATURE----- From mal at egenix.com Sun Sep 5 19:53:02 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Thu Feb 2 20:01:07 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 In-Reply-To: <4139CD86.6020403@club-internet.fr> References: <4139CD86.6020403@club-internet.fr> Message-ID: <413B446E.40002@egenix.com> Pierre Hanser wrote: > hello > > seems that python2.4a3 is not compatible with the optimizations in > mx/DateTime/mxDateTime/mxDateTime.c on Linux: > > from mx import DateTime -> core dump > > if I disable the optims, everything gets ok > > /* Define these to have the module use free lists (saves malloc calls) */ > #define MXDATETIME_FREELIST > #define MXDATETIMEDELTA_FREELIST > #undef MXDATETIME_FREELIST > #undef MXDATETIMEDELTA_FREELIST This is more likely due to a bug in your C compiler. -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 05 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From aluton at rcseng.ac.uk Wed Sep 8 12:33:02 2004 From: aluton at rcseng.ac.uk (Alex Luton) Date: Thu Feb 2 20:01:07 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: References: Message-ID: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Hi, I'm trying to get the mxODBC DA working, but the product is broken with this error message: Traceback (most recent call last): File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product product=__import__(pname, global_dict, global_dict, silly) File "Products/mxODBCZopeDA/__init__.py", line 7, in ? File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? Any help would be much appreciated. Thanks -- Alex ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 From mal at egenix.com Wed Sep 8 13:37:44 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Thu Feb 2 20:01:07 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> References: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Message-ID: <413EE0F8.6050601@egenix.com> Alex Luton wrote: > Hi, > > I'm trying to get the mxODBC DA working, but the product is broken with > this error message: > > Traceback (most recent call last): > File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product > product=__import__(pname, global_dict, global_dict, silly) > File "Products/mxODBCZopeDA/__init__.py", line 7, in ? > File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? > ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString > > I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? RedHat chose to build Python with 4-byte Unicode which is causing all sorts of problems with pre-built extensions. We will start shipping UCS4 builds of the Zope DA with the next release. Until then, you can try the pre-release of 1.0.9: http://www.egenix.com/files/python/egenix-mxodbc-zopeda-1.0.9.linux-i686-py2.3ucs4.zip -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 08 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From kl at vsen.dk Sat Sep 11 20:21:57 2004 From: kl at vsen.dk (Klavs Klavsen) Date: Thu Feb 2 20:01:07 2006 Subject: [egenix-users] bufferoverflow in egenix? Message-ID: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Hi guys, Just installed a new gcc with stack-smashing protection - and while recompiling modules with stack-smashing protection, I got this message: -- copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l ib/python2.3/site-packages/mx/Misc copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ python2.3/site-packages/mx/Misc writing byte-compilation script '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: SyntaxWarning: name 'debugging' is use d prior to global declaration python: stack smashing attack in function symtable_node() error: command '/usr/bin/python' terminated by signal 6 !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. !!! Function distutils_src_install, Line 43, Exitcode 1 !!! (no error message) so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes one in python) - I haven't done very much research as I can live without egenix - but just wanted to let you know :) p.s. it's python-2.3.3. -- Regards, Klavs Klavsen, GSEC - kl@vsen.dk - http://www.vsen.dk PGP: 7E063C62/2873 188C 968E 600D D8F8 B8DA 3D3A 0B79 7E06 3C62 "Those who do not understand Unix are condemned to reinvent it, poorly." --Henry Spencer From mal at egenix.com Sat Sep 11 23:51:30 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Thu Feb 2 20:01:07 2006 Subject: [egenix-users] bufferoverflow in egenix? In-Reply-To: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> References: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Message-ID: <41436552.6000906@egenix.com> Klavs Klavsen wrote: > Hi guys, > > Just installed a new gcc with stack-smashing protection - and while > recompiling modules with stack-smashing protection, I got this message: > -- > copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l > ib/python2.3/site-packages/mx/Misc > copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ > python2.3/site-packages/mx/Misc > writing byte-compilation script > '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' > /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py > usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: > SyntaxWarning: name 'debugging' is use > d prior to global declaration This is an error that the Python compiler generated. I'd suggest you report to the Python bug tracker. BTW, pytag.py is no longer used or maintained, so you can safely delete it. > python: stack smashing attack in function symtable_node() > error: command '/usr/bin/python' terminated by signal 6 > > !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. > !!! Function distutils_src_install, Line 43, Exitcode 1 > !!! (no error message) > > so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes > one in python) - I haven't done very much research as I can live without > egenix - but just wanted to let you know :) > > p.s. it's python-2.3.3. Thanks, -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 11 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From harrelson at gmail.com Thu Sep 30 17:48:13 2004 From: harrelson at gmail.com (Culley Harrelson) Date: Thu Feb 2 20:01:07 2006 Subject: [egenix-users] OS X 10.3.5: *** You don't have the (right) mxDateTime binaries installed ! Message-ID: <529825a30409301648507c0cf8@mail.gmail.com> I have successfully installed mxDateTime on my OS X 10.3.5 system, using the system Python installation. It installed but as soon as I try to import the module I get: === *** You don't have the (right) mxDateTime binaries installed ! Traceback (most recent call last): File "./testFeDb.py", line 4, in ? from mx import DateTime File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/__init__.py", line 8, in ? from DateTime import * File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/DateTime.py", line 9, in ? from mxDateTime import * File "/Library/Python/2.3/mx/DateTime/mxDateTime/__init__.py", line 13, in ? raise ImportError, why ImportError: Failure linking new module: : dyld: python Undefined symbols: /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyArg_ParseTuple expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCObject_FromVoidPtr expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCallable_Check expected to be defined in the executable /Library/Python/2.3/mx/Date === Has anyone experienced this? Any ideas how to fix it? culley From hanser at club-internet.fr Sat Sep 4 17:13:26 2004 From: hanser at club-internet.fr (Pierre Hanser) Date: Fri Feb 3 08:12:34 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 Message-ID: <4139CD86.6020403@club-internet.fr> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 hello seems that python2.4a3 is not compatible with the optimizations in mx/DateTime/mxDateTime/mxDateTime.c on Linux: from mx import DateTime -> core dump if I disable the optims, everything gets ok /* Define these to have the module use free lists (saves malloc calls) */ #define MXDATETIME_FREELIST #define MXDATETIMEDELTA_FREELIST #undef MXDATETIME_FREELIST #undef MXDATETIMEDELTA_FREELIST - -- Pierre -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBOc2GMQ2/jYUwmmwRAn70AJ4puAZm4p10+KTCK/GzLt20VzWd3ACfQzIo H8hLxq8iCE3KGYZ6AR5QUy8= =GA8t -----END PGP SIGNATURE----- From mal at egenix.com Sun Sep 5 19:53:02 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Fri Feb 3 08:12:35 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 In-Reply-To: <4139CD86.6020403@club-internet.fr> References: <4139CD86.6020403@club-internet.fr> Message-ID: <413B446E.40002@egenix.com> Pierre Hanser wrote: > hello > > seems that python2.4a3 is not compatible with the optimizations in > mx/DateTime/mxDateTime/mxDateTime.c on Linux: > > from mx import DateTime -> core dump > > if I disable the optims, everything gets ok > > /* Define these to have the module use free lists (saves malloc calls) */ > #define MXDATETIME_FREELIST > #define MXDATETIMEDELTA_FREELIST > #undef MXDATETIME_FREELIST > #undef MXDATETIMEDELTA_FREELIST This is more likely due to a bug in your C compiler. -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 05 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From aluton at rcseng.ac.uk Wed Sep 8 12:33:02 2004 From: aluton at rcseng.ac.uk (Alex Luton) Date: Fri Feb 3 08:12:35 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: References: Message-ID: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Hi, I'm trying to get the mxODBC DA working, but the product is broken with this error message: Traceback (most recent call last): File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product product=__import__(pname, global_dict, global_dict, silly) File "Products/mxODBCZopeDA/__init__.py", line 7, in ? File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? Any help would be much appreciated. Thanks -- Alex ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 From mal at egenix.com Wed Sep 8 13:37:44 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Fri Feb 3 08:12:35 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> References: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Message-ID: <413EE0F8.6050601@egenix.com> Alex Luton wrote: > Hi, > > I'm trying to get the mxODBC DA working, but the product is broken with > this error message: > > Traceback (most recent call last): > File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product > product=__import__(pname, global_dict, global_dict, silly) > File "Products/mxODBCZopeDA/__init__.py", line 7, in ? > File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? > ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString > > I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? RedHat chose to build Python with 4-byte Unicode which is causing all sorts of problems with pre-built extensions. We will start shipping UCS4 builds of the Zope DA with the next release. Until then, you can try the pre-release of 1.0.9: http://www.egenix.com/files/python/egenix-mxodbc-zopeda-1.0.9.linux-i686-py2.3ucs4.zip -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 08 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From kl at vsen.dk Sat Sep 11 20:21:57 2004 From: kl at vsen.dk (Klavs Klavsen) Date: Fri Feb 3 08:12:35 2006 Subject: [egenix-users] bufferoverflow in egenix? Message-ID: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Hi guys, Just installed a new gcc with stack-smashing protection - and while recompiling modules with stack-smashing protection, I got this message: -- copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l ib/python2.3/site-packages/mx/Misc copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ python2.3/site-packages/mx/Misc writing byte-compilation script '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: SyntaxWarning: name 'debugging' is use d prior to global declaration python: stack smashing attack in function symtable_node() error: command '/usr/bin/python' terminated by signal 6 !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. !!! Function distutils_src_install, Line 43, Exitcode 1 !!! (no error message) so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes one in python) - I haven't done very much research as I can live without egenix - but just wanted to let you know :) p.s. it's python-2.3.3. -- Regards, Klavs Klavsen, GSEC - kl@vsen.dk - http://www.vsen.dk PGP: 7E063C62/2873 188C 968E 600D D8F8 B8DA 3D3A 0B79 7E06 3C62 "Those who do not understand Unix are condemned to reinvent it, poorly." --Henry Spencer From mal at egenix.com Sat Sep 11 23:51:30 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Fri Feb 3 08:12:35 2006 Subject: [egenix-users] bufferoverflow in egenix? In-Reply-To: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> References: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Message-ID: <41436552.6000906@egenix.com> Klavs Klavsen wrote: > Hi guys, > > Just installed a new gcc with stack-smashing protection - and while > recompiling modules with stack-smashing protection, I got this message: > -- > copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l > ib/python2.3/site-packages/mx/Misc > copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ > python2.3/site-packages/mx/Misc > writing byte-compilation script > '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' > /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py > usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: > SyntaxWarning: name 'debugging' is use > d prior to global declaration This is an error that the Python compiler generated. I'd suggest you report to the Python bug tracker. BTW, pytag.py is no longer used or maintained, so you can safely delete it. > python: stack smashing attack in function symtable_node() > error: command '/usr/bin/python' terminated by signal 6 > > !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. > !!! Function distutils_src_install, Line 43, Exitcode 1 > !!! (no error message) > > so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes > one in python) - I haven't done very much research as I can live without > egenix - but just wanted to let you know :) > > p.s. it's python-2.3.3. Thanks, -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 11 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From harrelson at gmail.com Thu Sep 30 17:48:13 2004 From: harrelson at gmail.com (Culley Harrelson) Date: Fri Feb 3 08:12:35 2006 Subject: [egenix-users] OS X 10.3.5: *** You don't have the (right) mxDateTime binaries installed ! Message-ID: <529825a30409301648507c0cf8@mail.gmail.com> I have successfully installed mxDateTime on my OS X 10.3.5 system, using the system Python installation. It installed but as soon as I try to import the module I get: === *** You don't have the (right) mxDateTime binaries installed ! Traceback (most recent call last): File "./testFeDb.py", line 4, in ? from mx import DateTime File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/__init__.py", line 8, in ? from DateTime import * File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/DateTime.py", line 9, in ? from mxDateTime import * File "/Library/Python/2.3/mx/DateTime/mxDateTime/__init__.py", line 13, in ? raise ImportError, why ImportError: Failure linking new module: : dyld: python Undefined symbols: /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyArg_ParseTuple expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCObject_FromVoidPtr expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCallable_Check expected to be defined in the executable /Library/Python/2.3/mx/Date === Has anyone experienced this? Any ideas how to fix it? culley From hanser at club-internet.fr Sat Sep 4 17:13:26 2004 From: hanser at club-internet.fr (Pierre Hanser) Date: Fri Feb 3 12:02:49 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 Message-ID: <4139CD86.6020403@club-internet.fr> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 hello seems that python2.4a3 is not compatible with the optimizations in mx/DateTime/mxDateTime/mxDateTime.c on Linux: from mx import DateTime -> core dump if I disable the optims, everything gets ok /* Define these to have the module use free lists (saves malloc calls) */ #define MXDATETIME_FREELIST #define MXDATETIMEDELTA_FREELIST #undef MXDATETIME_FREELIST #undef MXDATETIMEDELTA_FREELIST - -- Pierre -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBOc2GMQ2/jYUwmmwRAn70AJ4puAZm4p10+KTCK/GzLt20VzWd3ACfQzIo H8hLxq8iCE3KGYZ6AR5QUy8= =GA8t -----END PGP SIGNATURE----- From mal at egenix.com Sun Sep 5 19:53:02 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Fri Feb 3 12:02:49 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 In-Reply-To: <4139CD86.6020403@club-internet.fr> References: <4139CD86.6020403@club-internet.fr> Message-ID: <413B446E.40002@egenix.com> Pierre Hanser wrote: > hello > > seems that python2.4a3 is not compatible with the optimizations in > mx/DateTime/mxDateTime/mxDateTime.c on Linux: > > from mx import DateTime -> core dump > > if I disable the optims, everything gets ok > > /* Define these to have the module use free lists (saves malloc calls) */ > #define MXDATETIME_FREELIST > #define MXDATETIMEDELTA_FREELIST > #undef MXDATETIME_FREELIST > #undef MXDATETIMEDELTA_FREELIST This is more likely due to a bug in your C compiler. -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 05 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From aluton at rcseng.ac.uk Wed Sep 8 12:33:02 2004 From: aluton at rcseng.ac.uk (Alex Luton) Date: Fri Feb 3 12:02:49 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: References: Message-ID: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Hi, I'm trying to get the mxODBC DA working, but the product is broken with this error message: Traceback (most recent call last): File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product product=__import__(pname, global_dict, global_dict, silly) File "Products/mxODBCZopeDA/__init__.py", line 7, in ? File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? Any help would be much appreciated. Thanks -- Alex ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 From mal at egenix.com Wed Sep 8 13:37:44 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Fri Feb 3 12:02:49 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> References: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Message-ID: <413EE0F8.6050601@egenix.com> Alex Luton wrote: > Hi, > > I'm trying to get the mxODBC DA working, but the product is broken with > this error message: > > Traceback (most recent call last): > File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product > product=__import__(pname, global_dict, global_dict, silly) > File "Products/mxODBCZopeDA/__init__.py", line 7, in ? > File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? > ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString > > I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? RedHat chose to build Python with 4-byte Unicode which is causing all sorts of problems with pre-built extensions. We will start shipping UCS4 builds of the Zope DA with the next release. Until then, you can try the pre-release of 1.0.9: http://www.egenix.com/files/python/egenix-mxodbc-zopeda-1.0.9.linux-i686-py2.3ucs4.zip -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 08 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From kl at vsen.dk Sat Sep 11 20:21:57 2004 From: kl at vsen.dk (Klavs Klavsen) Date: Fri Feb 3 12:02:49 2006 Subject: [egenix-users] bufferoverflow in egenix? Message-ID: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Hi guys, Just installed a new gcc with stack-smashing protection - and while recompiling modules with stack-smashing protection, I got this message: -- copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l ib/python2.3/site-packages/mx/Misc copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ python2.3/site-packages/mx/Misc writing byte-compilation script '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: SyntaxWarning: name 'debugging' is use d prior to global declaration python: stack smashing attack in function symtable_node() error: command '/usr/bin/python' terminated by signal 6 !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. !!! Function distutils_src_install, Line 43, Exitcode 1 !!! (no error message) so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes one in python) - I haven't done very much research as I can live without egenix - but just wanted to let you know :) p.s. it's python-2.3.3. -- Regards, Klavs Klavsen, GSEC - kl@vsen.dk - http://www.vsen.dk PGP: 7E063C62/2873 188C 968E 600D D8F8 B8DA 3D3A 0B79 7E06 3C62 "Those who do not understand Unix are condemned to reinvent it, poorly." --Henry Spencer From mal at egenix.com Sat Sep 11 23:51:30 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Fri Feb 3 12:02:49 2006 Subject: [egenix-users] bufferoverflow in egenix? In-Reply-To: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> References: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Message-ID: <41436552.6000906@egenix.com> Klavs Klavsen wrote: > Hi guys, > > Just installed a new gcc with stack-smashing protection - and while > recompiling modules with stack-smashing protection, I got this message: > -- > copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l > ib/python2.3/site-packages/mx/Misc > copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ > python2.3/site-packages/mx/Misc > writing byte-compilation script > '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' > /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py > usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: > SyntaxWarning: name 'debugging' is use > d prior to global declaration This is an error that the Python compiler generated. I'd suggest you report to the Python bug tracker. BTW, pytag.py is no longer used or maintained, so you can safely delete it. > python: stack smashing attack in function symtable_node() > error: command '/usr/bin/python' terminated by signal 6 > > !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. > !!! Function distutils_src_install, Line 43, Exitcode 1 > !!! (no error message) > > so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes > one in python) - I haven't done very much research as I can live without > egenix - but just wanted to let you know :) > > p.s. it's python-2.3.3. Thanks, -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 11 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From harrelson at gmail.com Thu Sep 30 17:48:13 2004 From: harrelson at gmail.com (Culley Harrelson) Date: Fri Feb 3 12:02:50 2006 Subject: [egenix-users] OS X 10.3.5: *** You don't have the (right) mxDateTime binaries installed ! Message-ID: <529825a30409301648507c0cf8@mail.gmail.com> I have successfully installed mxDateTime on my OS X 10.3.5 system, using the system Python installation. It installed but as soon as I try to import the module I get: === *** You don't have the (right) mxDateTime binaries installed ! Traceback (most recent call last): File "./testFeDb.py", line 4, in ? from mx import DateTime File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/__init__.py", line 8, in ? from DateTime import * File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/DateTime.py", line 9, in ? from mxDateTime import * File "/Library/Python/2.3/mx/DateTime/mxDateTime/__init__.py", line 13, in ? raise ImportError, why ImportError: Failure linking new module: : dyld: python Undefined symbols: /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyArg_ParseTuple expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCObject_FromVoidPtr expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCallable_Check expected to be defined in the executable /Library/Python/2.3/mx/Date === Has anyone experienced this? Any ideas how to fix it? culley From hanser at club-internet.fr Sat Sep 4 17:13:26 2004 From: hanser at club-internet.fr (Pierre Hanser) Date: Fri Feb 3 16:01:07 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 Message-ID: <4139CD86.6020403@club-internet.fr> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 hello seems that python2.4a3 is not compatible with the optimizations in mx/DateTime/mxDateTime/mxDateTime.c on Linux: from mx import DateTime -> core dump if I disable the optims, everything gets ok /* Define these to have the module use free lists (saves malloc calls) */ #define MXDATETIME_FREELIST #define MXDATETIMEDELTA_FREELIST #undef MXDATETIME_FREELIST #undef MXDATETIMEDELTA_FREELIST - -- Pierre -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBOc2GMQ2/jYUwmmwRAn70AJ4puAZm4p10+KTCK/GzLt20VzWd3ACfQzIo H8hLxq8iCE3KGYZ6AR5QUy8= =GA8t -----END PGP SIGNATURE----- From mal at egenix.com Sun Sep 5 19:53:02 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Fri Feb 3 16:01:07 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 In-Reply-To: <4139CD86.6020403@club-internet.fr> References: <4139CD86.6020403@club-internet.fr> Message-ID: <413B446E.40002@egenix.com> Pierre Hanser wrote: > hello > > seems that python2.4a3 is not compatible with the optimizations in > mx/DateTime/mxDateTime/mxDateTime.c on Linux: > > from mx import DateTime -> core dump > > if I disable the optims, everything gets ok > > /* Define these to have the module use free lists (saves malloc calls) */ > #define MXDATETIME_FREELIST > #define MXDATETIMEDELTA_FREELIST > #undef MXDATETIME_FREELIST > #undef MXDATETIMEDELTA_FREELIST This is more likely due to a bug in your C compiler. -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 05 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From aluton at rcseng.ac.uk Wed Sep 8 12:33:02 2004 From: aluton at rcseng.ac.uk (Alex Luton) Date: Fri Feb 3 16:01:07 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: References: Message-ID: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Hi, I'm trying to get the mxODBC DA working, but the product is broken with this error message: Traceback (most recent call last): File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product product=__import__(pname, global_dict, global_dict, silly) File "Products/mxODBCZopeDA/__init__.py", line 7, in ? File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? Any help would be much appreciated. Thanks -- Alex ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 From mal at egenix.com Wed Sep 8 13:37:44 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Fri Feb 3 16:01:07 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> References: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Message-ID: <413EE0F8.6050601@egenix.com> Alex Luton wrote: > Hi, > > I'm trying to get the mxODBC DA working, but the product is broken with > this error message: > > Traceback (most recent call last): > File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product > product=__import__(pname, global_dict, global_dict, silly) > File "Products/mxODBCZopeDA/__init__.py", line 7, in ? > File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? > ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString > > I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? RedHat chose to build Python with 4-byte Unicode which is causing all sorts of problems with pre-built extensions. We will start shipping UCS4 builds of the Zope DA with the next release. Until then, you can try the pre-release of 1.0.9: http://www.egenix.com/files/python/egenix-mxodbc-zopeda-1.0.9.linux-i686-py2.3ucs4.zip -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 08 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From kl at vsen.dk Sat Sep 11 20:21:57 2004 From: kl at vsen.dk (Klavs Klavsen) Date: Fri Feb 3 16:01:07 2006 Subject: [egenix-users] bufferoverflow in egenix? Message-ID: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Hi guys, Just installed a new gcc with stack-smashing protection - and while recompiling modules with stack-smashing protection, I got this message: -- copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l ib/python2.3/site-packages/mx/Misc copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ python2.3/site-packages/mx/Misc writing byte-compilation script '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: SyntaxWarning: name 'debugging' is use d prior to global declaration python: stack smashing attack in function symtable_node() error: command '/usr/bin/python' terminated by signal 6 !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. !!! Function distutils_src_install, Line 43, Exitcode 1 !!! (no error message) so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes one in python) - I haven't done very much research as I can live without egenix - but just wanted to let you know :) p.s. it's python-2.3.3. -- Regards, Klavs Klavsen, GSEC - kl@vsen.dk - http://www.vsen.dk PGP: 7E063C62/2873 188C 968E 600D D8F8 B8DA 3D3A 0B79 7E06 3C62 "Those who do not understand Unix are condemned to reinvent it, poorly." --Henry Spencer From mal at egenix.com Sat Sep 11 23:51:30 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Fri Feb 3 16:01:07 2006 Subject: [egenix-users] bufferoverflow in egenix? In-Reply-To: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> References: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Message-ID: <41436552.6000906@egenix.com> Klavs Klavsen wrote: > Hi guys, > > Just installed a new gcc with stack-smashing protection - and while > recompiling modules with stack-smashing protection, I got this message: > -- > copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l > ib/python2.3/site-packages/mx/Misc > copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ > python2.3/site-packages/mx/Misc > writing byte-compilation script > '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' > /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py > usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: > SyntaxWarning: name 'debugging' is use > d prior to global declaration This is an error that the Python compiler generated. I'd suggest you report to the Python bug tracker. BTW, pytag.py is no longer used or maintained, so you can safely delete it. > python: stack smashing attack in function symtable_node() > error: command '/usr/bin/python' terminated by signal 6 > > !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. > !!! Function distutils_src_install, Line 43, Exitcode 1 > !!! (no error message) > > so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes > one in python) - I haven't done very much research as I can live without > egenix - but just wanted to let you know :) > > p.s. it's python-2.3.3. Thanks, -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 11 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From harrelson at gmail.com Thu Sep 30 17:48:13 2004 From: harrelson at gmail.com (Culley Harrelson) Date: Fri Feb 3 16:01:07 2006 Subject: [egenix-users] OS X 10.3.5: *** You don't have the (right) mxDateTime binaries installed ! Message-ID: <529825a30409301648507c0cf8@mail.gmail.com> I have successfully installed mxDateTime on my OS X 10.3.5 system, using the system Python installation. It installed but as soon as I try to import the module I get: === *** You don't have the (right) mxDateTime binaries installed ! Traceback (most recent call last): File "./testFeDb.py", line 4, in ? from mx import DateTime File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/__init__.py", line 8, in ? from DateTime import * File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/DateTime.py", line 9, in ? from mxDateTime import * File "/Library/Python/2.3/mx/DateTime/mxDateTime/__init__.py", line 13, in ? raise ImportError, why ImportError: Failure linking new module: : dyld: python Undefined symbols: /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyArg_ParseTuple expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCObject_FromVoidPtr expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCallable_Check expected to be defined in the executable /Library/Python/2.3/mx/Date === Has anyone experienced this? Any ideas how to fix it? culley From hanser at club-internet.fr Sat Sep 4 17:13:26 2004 From: hanser at club-internet.fr (Pierre Hanser) Date: Fri Feb 3 20:01:13 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 Message-ID: <4139CD86.6020403@club-internet.fr> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 hello seems that python2.4a3 is not compatible with the optimizations in mx/DateTime/mxDateTime/mxDateTime.c on Linux: from mx import DateTime -> core dump if I disable the optims, everything gets ok /* Define these to have the module use free lists (saves malloc calls) */ #define MXDATETIME_FREELIST #define MXDATETIMEDELTA_FREELIST #undef MXDATETIME_FREELIST #undef MXDATETIMEDELTA_FREELIST - -- Pierre -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBOc2GMQ2/jYUwmmwRAn70AJ4puAZm4p10+KTCK/GzLt20VzWd3ACfQzIo H8hLxq8iCE3KGYZ6AR5QUy8= =GA8t -----END PGP SIGNATURE----- From mal at egenix.com Sun Sep 5 19:53:02 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Fri Feb 3 20:01:13 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 In-Reply-To: <4139CD86.6020403@club-internet.fr> References: <4139CD86.6020403@club-internet.fr> Message-ID: <413B446E.40002@egenix.com> Pierre Hanser wrote: > hello > > seems that python2.4a3 is not compatible with the optimizations in > mx/DateTime/mxDateTime/mxDateTime.c on Linux: > > from mx import DateTime -> core dump > > if I disable the optims, everything gets ok > > /* Define these to have the module use free lists (saves malloc calls) */ > #define MXDATETIME_FREELIST > #define MXDATETIMEDELTA_FREELIST > #undef MXDATETIME_FREELIST > #undef MXDATETIMEDELTA_FREELIST This is more likely due to a bug in your C compiler. -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 05 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From aluton at rcseng.ac.uk Wed Sep 8 12:33:02 2004 From: aluton at rcseng.ac.uk (Alex Luton) Date: Fri Feb 3 20:01:13 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: References: Message-ID: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Hi, I'm trying to get the mxODBC DA working, but the product is broken with this error message: Traceback (most recent call last): File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product product=__import__(pname, global_dict, global_dict, silly) File "Products/mxODBCZopeDA/__init__.py", line 7, in ? File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? Any help would be much appreciated. Thanks -- Alex ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 From mal at egenix.com Wed Sep 8 13:37:44 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Fri Feb 3 20:01:13 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> References: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Message-ID: <413EE0F8.6050601@egenix.com> Alex Luton wrote: > Hi, > > I'm trying to get the mxODBC DA working, but the product is broken with > this error message: > > Traceback (most recent call last): > File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product > product=__import__(pname, global_dict, global_dict, silly) > File "Products/mxODBCZopeDA/__init__.py", line 7, in ? > File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? > ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString > > I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? RedHat chose to build Python with 4-byte Unicode which is causing all sorts of problems with pre-built extensions. We will start shipping UCS4 builds of the Zope DA with the next release. Until then, you can try the pre-release of 1.0.9: http://www.egenix.com/files/python/egenix-mxodbc-zopeda-1.0.9.linux-i686-py2.3ucs4.zip -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 08 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From kl at vsen.dk Sat Sep 11 20:21:57 2004 From: kl at vsen.dk (Klavs Klavsen) Date: Fri Feb 3 20:01:13 2006 Subject: [egenix-users] bufferoverflow in egenix? Message-ID: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Hi guys, Just installed a new gcc with stack-smashing protection - and while recompiling modules with stack-smashing protection, I got this message: -- copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l ib/python2.3/site-packages/mx/Misc copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ python2.3/site-packages/mx/Misc writing byte-compilation script '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: SyntaxWarning: name 'debugging' is use d prior to global declaration python: stack smashing attack in function symtable_node() error: command '/usr/bin/python' terminated by signal 6 !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. !!! Function distutils_src_install, Line 43, Exitcode 1 !!! (no error message) so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes one in python) - I haven't done very much research as I can live without egenix - but just wanted to let you know :) p.s. it's python-2.3.3. -- Regards, Klavs Klavsen, GSEC - kl@vsen.dk - http://www.vsen.dk PGP: 7E063C62/2873 188C 968E 600D D8F8 B8DA 3D3A 0B79 7E06 3C62 "Those who do not understand Unix are condemned to reinvent it, poorly." --Henry Spencer From mal at egenix.com Sat Sep 11 23:51:30 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Fri Feb 3 20:01:13 2006 Subject: [egenix-users] bufferoverflow in egenix? In-Reply-To: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> References: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Message-ID: <41436552.6000906@egenix.com> Klavs Klavsen wrote: > Hi guys, > > Just installed a new gcc with stack-smashing protection - and while > recompiling modules with stack-smashing protection, I got this message: > -- > copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l > ib/python2.3/site-packages/mx/Misc > copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ > python2.3/site-packages/mx/Misc > writing byte-compilation script > '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' > /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py > usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: > SyntaxWarning: name 'debugging' is use > d prior to global declaration This is an error that the Python compiler generated. I'd suggest you report to the Python bug tracker. BTW, pytag.py is no longer used or maintained, so you can safely delete it. > python: stack smashing attack in function symtable_node() > error: command '/usr/bin/python' terminated by signal 6 > > !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. > !!! Function distutils_src_install, Line 43, Exitcode 1 > !!! (no error message) > > so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes > one in python) - I haven't done very much research as I can live without > egenix - but just wanted to let you know :) > > p.s. it's python-2.3.3. Thanks, -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 11 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From harrelson at gmail.com Thu Sep 30 17:48:13 2004 From: harrelson at gmail.com (Culley Harrelson) Date: Fri Feb 3 20:01:13 2006 Subject: [egenix-users] OS X 10.3.5: *** You don't have the (right) mxDateTime binaries installed ! Message-ID: <529825a30409301648507c0cf8@mail.gmail.com> I have successfully installed mxDateTime on my OS X 10.3.5 system, using the system Python installation. It installed but as soon as I try to import the module I get: === *** You don't have the (right) mxDateTime binaries installed ! Traceback (most recent call last): File "./testFeDb.py", line 4, in ? from mx import DateTime File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/__init__.py", line 8, in ? from DateTime import * File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/DateTime.py", line 9, in ? from mxDateTime import * File "/Library/Python/2.3/mx/DateTime/mxDateTime/__init__.py", line 13, in ? raise ImportError, why ImportError: Failure linking new module: : dyld: python Undefined symbols: /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyArg_ParseTuple expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCObject_FromVoidPtr expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCallable_Check expected to be defined in the executable /Library/Python/2.3/mx/Date === Has anyone experienced this? Any ideas how to fix it? culley From hanser at club-internet.fr Sat Sep 4 17:13:26 2004 From: hanser at club-internet.fr (Pierre Hanser) Date: Sat Feb 4 08:08:20 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 Message-ID: <4139CD86.6020403@club-internet.fr> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 hello seems that python2.4a3 is not compatible with the optimizations in mx/DateTime/mxDateTime/mxDateTime.c on Linux: from mx import DateTime -> core dump if I disable the optims, everything gets ok /* Define these to have the module use free lists (saves malloc calls) */ #define MXDATETIME_FREELIST #define MXDATETIMEDELTA_FREELIST #undef MXDATETIME_FREELIST #undef MXDATETIMEDELTA_FREELIST - -- Pierre -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBOc2GMQ2/jYUwmmwRAn70AJ4puAZm4p10+KTCK/GzLt20VzWd3ACfQzIo H8hLxq8iCE3KGYZ6AR5QUy8= =GA8t -----END PGP SIGNATURE----- From mal at egenix.com Sun Sep 5 19:53:02 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Sat Feb 4 08:08:21 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 In-Reply-To: <4139CD86.6020403@club-internet.fr> References: <4139CD86.6020403@club-internet.fr> Message-ID: <413B446E.40002@egenix.com> Pierre Hanser wrote: > hello > > seems that python2.4a3 is not compatible with the optimizations in > mx/DateTime/mxDateTime/mxDateTime.c on Linux: > > from mx import DateTime -> core dump > > if I disable the optims, everything gets ok > > /* Define these to have the module use free lists (saves malloc calls) */ > #define MXDATETIME_FREELIST > #define MXDATETIMEDELTA_FREELIST > #undef MXDATETIME_FREELIST > #undef MXDATETIMEDELTA_FREELIST This is more likely due to a bug in your C compiler. -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 05 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From aluton at rcseng.ac.uk Wed Sep 8 12:33:02 2004 From: aluton at rcseng.ac.uk (Alex Luton) Date: Sat Feb 4 08:08:21 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: References: Message-ID: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Hi, I'm trying to get the mxODBC DA working, but the product is broken with this error message: Traceback (most recent call last): File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product product=__import__(pname, global_dict, global_dict, silly) File "Products/mxODBCZopeDA/__init__.py", line 7, in ? File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? Any help would be much appreciated. Thanks -- Alex ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 From mal at egenix.com Wed Sep 8 13:37:44 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Sat Feb 4 08:08:21 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> References: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Message-ID: <413EE0F8.6050601@egenix.com> Alex Luton wrote: > Hi, > > I'm trying to get the mxODBC DA working, but the product is broken with > this error message: > > Traceback (most recent call last): > File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product > product=__import__(pname, global_dict, global_dict, silly) > File "Products/mxODBCZopeDA/__init__.py", line 7, in ? > File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? > ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString > > I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? RedHat chose to build Python with 4-byte Unicode which is causing all sorts of problems with pre-built extensions. We will start shipping UCS4 builds of the Zope DA with the next release. Until then, you can try the pre-release of 1.0.9: http://www.egenix.com/files/python/egenix-mxodbc-zopeda-1.0.9.linux-i686-py2.3ucs4.zip -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 08 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From kl at vsen.dk Sat Sep 11 20:21:57 2004 From: kl at vsen.dk (Klavs Klavsen) Date: Sat Feb 4 08:08:21 2006 Subject: [egenix-users] bufferoverflow in egenix? Message-ID: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Hi guys, Just installed a new gcc with stack-smashing protection - and while recompiling modules with stack-smashing protection, I got this message: -- copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l ib/python2.3/site-packages/mx/Misc copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ python2.3/site-packages/mx/Misc writing byte-compilation script '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: SyntaxWarning: name 'debugging' is use d prior to global declaration python: stack smashing attack in function symtable_node() error: command '/usr/bin/python' terminated by signal 6 !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. !!! Function distutils_src_install, Line 43, Exitcode 1 !!! (no error message) so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes one in python) - I haven't done very much research as I can live without egenix - but just wanted to let you know :) p.s. it's python-2.3.3. -- Regards, Klavs Klavsen, GSEC - kl@vsen.dk - http://www.vsen.dk PGP: 7E063C62/2873 188C 968E 600D D8F8 B8DA 3D3A 0B79 7E06 3C62 "Those who do not understand Unix are condemned to reinvent it, poorly." --Henry Spencer From mal at egenix.com Sat Sep 11 23:51:30 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Sat Feb 4 08:08:21 2006 Subject: [egenix-users] bufferoverflow in egenix? In-Reply-To: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> References: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Message-ID: <41436552.6000906@egenix.com> Klavs Klavsen wrote: > Hi guys, > > Just installed a new gcc with stack-smashing protection - and while > recompiling modules with stack-smashing protection, I got this message: > -- > copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l > ib/python2.3/site-packages/mx/Misc > copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ > python2.3/site-packages/mx/Misc > writing byte-compilation script > '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' > /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py > usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: > SyntaxWarning: name 'debugging' is use > d prior to global declaration This is an error that the Python compiler generated. I'd suggest you report to the Python bug tracker. BTW, pytag.py is no longer used or maintained, so you can safely delete it. > python: stack smashing attack in function symtable_node() > error: command '/usr/bin/python' terminated by signal 6 > > !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. > !!! Function distutils_src_install, Line 43, Exitcode 1 > !!! (no error message) > > so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes > one in python) - I haven't done very much research as I can live without > egenix - but just wanted to let you know :) > > p.s. it's python-2.3.3. Thanks, -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 11 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From harrelson at gmail.com Thu Sep 30 17:48:13 2004 From: harrelson at gmail.com (Culley Harrelson) Date: Sat Feb 4 08:08:21 2006 Subject: [egenix-users] OS X 10.3.5: *** You don't have the (right) mxDateTime binaries installed ! Message-ID: <529825a30409301648507c0cf8@mail.gmail.com> I have successfully installed mxDateTime on my OS X 10.3.5 system, using the system Python installation. It installed but as soon as I try to import the module I get: === *** You don't have the (right) mxDateTime binaries installed ! Traceback (most recent call last): File "./testFeDb.py", line 4, in ? from mx import DateTime File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/__init__.py", line 8, in ? from DateTime import * File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/DateTime.py", line 9, in ? from mxDateTime import * File "/Library/Python/2.3/mx/DateTime/mxDateTime/__init__.py", line 13, in ? raise ImportError, why ImportError: Failure linking new module: : dyld: python Undefined symbols: /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyArg_ParseTuple expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCObject_FromVoidPtr expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCallable_Check expected to be defined in the executable /Library/Python/2.3/mx/Date === Has anyone experienced this? Any ideas how to fix it? culley From hanser at club-internet.fr Sat Sep 4 17:13:26 2004 From: hanser at club-internet.fr (Pierre Hanser) Date: Sat Feb 4 12:02:50 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 Message-ID: <4139CD86.6020403@club-internet.fr> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 hello seems that python2.4a3 is not compatible with the optimizations in mx/DateTime/mxDateTime/mxDateTime.c on Linux: from mx import DateTime -> core dump if I disable the optims, everything gets ok /* Define these to have the module use free lists (saves malloc calls) */ #define MXDATETIME_FREELIST #define MXDATETIMEDELTA_FREELIST #undef MXDATETIME_FREELIST #undef MXDATETIMEDELTA_FREELIST - -- Pierre -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBOc2GMQ2/jYUwmmwRAn70AJ4puAZm4p10+KTCK/GzLt20VzWd3ACfQzIo H8hLxq8iCE3KGYZ6AR5QUy8= =GA8t -----END PGP SIGNATURE----- From mal at egenix.com Sun Sep 5 19:53:02 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Sat Feb 4 12:02:50 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 In-Reply-To: <4139CD86.6020403@club-internet.fr> References: <4139CD86.6020403@club-internet.fr> Message-ID: <413B446E.40002@egenix.com> Pierre Hanser wrote: > hello > > seems that python2.4a3 is not compatible with the optimizations in > mx/DateTime/mxDateTime/mxDateTime.c on Linux: > > from mx import DateTime -> core dump > > if I disable the optims, everything gets ok > > /* Define these to have the module use free lists (saves malloc calls) */ > #define MXDATETIME_FREELIST > #define MXDATETIMEDELTA_FREELIST > #undef MXDATETIME_FREELIST > #undef MXDATETIMEDELTA_FREELIST This is more likely due to a bug in your C compiler. -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 05 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From aluton at rcseng.ac.uk Wed Sep 8 12:33:02 2004 From: aluton at rcseng.ac.uk (Alex Luton) Date: Sat Feb 4 12:02:50 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: References: Message-ID: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Hi, I'm trying to get the mxODBC DA working, but the product is broken with this error message: Traceback (most recent call last): File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product product=__import__(pname, global_dict, global_dict, silly) File "Products/mxODBCZopeDA/__init__.py", line 7, in ? File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? Any help would be much appreciated. Thanks -- Alex ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 From mal at egenix.com Wed Sep 8 13:37:44 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Sat Feb 4 12:02:50 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> References: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Message-ID: <413EE0F8.6050601@egenix.com> Alex Luton wrote: > Hi, > > I'm trying to get the mxODBC DA working, but the product is broken with > this error message: > > Traceback (most recent call last): > File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product > product=__import__(pname, global_dict, global_dict, silly) > File "Products/mxODBCZopeDA/__init__.py", line 7, in ? > File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? > ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString > > I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? RedHat chose to build Python with 4-byte Unicode which is causing all sorts of problems with pre-built extensions. We will start shipping UCS4 builds of the Zope DA with the next release. Until then, you can try the pre-release of 1.0.9: http://www.egenix.com/files/python/egenix-mxodbc-zopeda-1.0.9.linux-i686-py2.3ucs4.zip -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 08 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From kl at vsen.dk Sat Sep 11 20:21:57 2004 From: kl at vsen.dk (Klavs Klavsen) Date: Sat Feb 4 12:02:50 2006 Subject: [egenix-users] bufferoverflow in egenix? Message-ID: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Hi guys, Just installed a new gcc with stack-smashing protection - and while recompiling modules with stack-smashing protection, I got this message: -- copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l ib/python2.3/site-packages/mx/Misc copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ python2.3/site-packages/mx/Misc writing byte-compilation script '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: SyntaxWarning: name 'debugging' is use d prior to global declaration python: stack smashing attack in function symtable_node() error: command '/usr/bin/python' terminated by signal 6 !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. !!! Function distutils_src_install, Line 43, Exitcode 1 !!! (no error message) so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes one in python) - I haven't done very much research as I can live without egenix - but just wanted to let you know :) p.s. it's python-2.3.3. -- Regards, Klavs Klavsen, GSEC - kl@vsen.dk - http://www.vsen.dk PGP: 7E063C62/2873 188C 968E 600D D8F8 B8DA 3D3A 0B79 7E06 3C62 "Those who do not understand Unix are condemned to reinvent it, poorly." --Henry Spencer From mal at egenix.com Sat Sep 11 23:51:30 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Sat Feb 4 12:02:50 2006 Subject: [egenix-users] bufferoverflow in egenix? In-Reply-To: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> References: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Message-ID: <41436552.6000906@egenix.com> Klavs Klavsen wrote: > Hi guys, > > Just installed a new gcc with stack-smashing protection - and while > recompiling modules with stack-smashing protection, I got this message: > -- > copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l > ib/python2.3/site-packages/mx/Misc > copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ > python2.3/site-packages/mx/Misc > writing byte-compilation script > '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' > /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py > usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: > SyntaxWarning: name 'debugging' is use > d prior to global declaration This is an error that the Python compiler generated. I'd suggest you report to the Python bug tracker. BTW, pytag.py is no longer used or maintained, so you can safely delete it. > python: stack smashing attack in function symtable_node() > error: command '/usr/bin/python' terminated by signal 6 > > !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. > !!! Function distutils_src_install, Line 43, Exitcode 1 > !!! (no error message) > > so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes > one in python) - I haven't done very much research as I can live without > egenix - but just wanted to let you know :) > > p.s. it's python-2.3.3. Thanks, -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 11 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From harrelson at gmail.com Thu Sep 30 17:48:13 2004 From: harrelson at gmail.com (Culley Harrelson) Date: Sat Feb 4 12:02:50 2006 Subject: [egenix-users] OS X 10.3.5: *** You don't have the (right) mxDateTime binaries installed ! Message-ID: <529825a30409301648507c0cf8@mail.gmail.com> I have successfully installed mxDateTime on my OS X 10.3.5 system, using the system Python installation. It installed but as soon as I try to import the module I get: === *** You don't have the (right) mxDateTime binaries installed ! Traceback (most recent call last): File "./testFeDb.py", line 4, in ? from mx import DateTime File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/__init__.py", line 8, in ? from DateTime import * File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/DateTime.py", line 9, in ? from mxDateTime import * File "/Library/Python/2.3/mx/DateTime/mxDateTime/__init__.py", line 13, in ? raise ImportError, why ImportError: Failure linking new module: : dyld: python Undefined symbols: /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyArg_ParseTuple expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCObject_FromVoidPtr expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCallable_Check expected to be defined in the executable /Library/Python/2.3/mx/Date === Has anyone experienced this? Any ideas how to fix it? culley From hanser at club-internet.fr Sat Sep 4 17:13:26 2004 From: hanser at club-internet.fr (Pierre Hanser) Date: Sat Feb 4 16:01:18 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 Message-ID: <4139CD86.6020403@club-internet.fr> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 hello seems that python2.4a3 is not compatible with the optimizations in mx/DateTime/mxDateTime/mxDateTime.c on Linux: from mx import DateTime -> core dump if I disable the optims, everything gets ok /* Define these to have the module use free lists (saves malloc calls) */ #define MXDATETIME_FREELIST #define MXDATETIMEDELTA_FREELIST #undef MXDATETIME_FREELIST #undef MXDATETIMEDELTA_FREELIST - -- Pierre -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBOc2GMQ2/jYUwmmwRAn70AJ4puAZm4p10+KTCK/GzLt20VzWd3ACfQzIo H8hLxq8iCE3KGYZ6AR5QUy8= =GA8t -----END PGP SIGNATURE----- From mal at egenix.com Sun Sep 5 19:53:02 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Sat Feb 4 16:01:18 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 In-Reply-To: <4139CD86.6020403@club-internet.fr> References: <4139CD86.6020403@club-internet.fr> Message-ID: <413B446E.40002@egenix.com> Pierre Hanser wrote: > hello > > seems that python2.4a3 is not compatible with the optimizations in > mx/DateTime/mxDateTime/mxDateTime.c on Linux: > > from mx import DateTime -> core dump > > if I disable the optims, everything gets ok > > /* Define these to have the module use free lists (saves malloc calls) */ > #define MXDATETIME_FREELIST > #define MXDATETIMEDELTA_FREELIST > #undef MXDATETIME_FREELIST > #undef MXDATETIMEDELTA_FREELIST This is more likely due to a bug in your C compiler. -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 05 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From aluton at rcseng.ac.uk Wed Sep 8 12:33:02 2004 From: aluton at rcseng.ac.uk (Alex Luton) Date: Sat Feb 4 16:01:18 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: References: Message-ID: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Hi, I'm trying to get the mxODBC DA working, but the product is broken with this error message: Traceback (most recent call last): File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product product=__import__(pname, global_dict, global_dict, silly) File "Products/mxODBCZopeDA/__init__.py", line 7, in ? File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? Any help would be much appreciated. Thanks -- Alex ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 From mal at egenix.com Wed Sep 8 13:37:44 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Sat Feb 4 16:01:18 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> References: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Message-ID: <413EE0F8.6050601@egenix.com> Alex Luton wrote: > Hi, > > I'm trying to get the mxODBC DA working, but the product is broken with > this error message: > > Traceback (most recent call last): > File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product > product=__import__(pname, global_dict, global_dict, silly) > File "Products/mxODBCZopeDA/__init__.py", line 7, in ? > File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? > ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString > > I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? RedHat chose to build Python with 4-byte Unicode which is causing all sorts of problems with pre-built extensions. We will start shipping UCS4 builds of the Zope DA with the next release. Until then, you can try the pre-release of 1.0.9: http://www.egenix.com/files/python/egenix-mxodbc-zopeda-1.0.9.linux-i686-py2.3ucs4.zip -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 08 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From kl at vsen.dk Sat Sep 11 20:21:57 2004 From: kl at vsen.dk (Klavs Klavsen) Date: Sat Feb 4 16:01:18 2006 Subject: [egenix-users] bufferoverflow in egenix? Message-ID: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Hi guys, Just installed a new gcc with stack-smashing protection - and while recompiling modules with stack-smashing protection, I got this message: -- copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l ib/python2.3/site-packages/mx/Misc copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ python2.3/site-packages/mx/Misc writing byte-compilation script '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: SyntaxWarning: name 'debugging' is use d prior to global declaration python: stack smashing attack in function symtable_node() error: command '/usr/bin/python' terminated by signal 6 !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. !!! Function distutils_src_install, Line 43, Exitcode 1 !!! (no error message) so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes one in python) - I haven't done very much research as I can live without egenix - but just wanted to let you know :) p.s. it's python-2.3.3. -- Regards, Klavs Klavsen, GSEC - kl@vsen.dk - http://www.vsen.dk PGP: 7E063C62/2873 188C 968E 600D D8F8 B8DA 3D3A 0B79 7E06 3C62 "Those who do not understand Unix are condemned to reinvent it, poorly." --Henry Spencer From mal at egenix.com Sat Sep 11 23:51:30 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Sat Feb 4 16:01:18 2006 Subject: [egenix-users] bufferoverflow in egenix? In-Reply-To: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> References: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Message-ID: <41436552.6000906@egenix.com> Klavs Klavsen wrote: > Hi guys, > > Just installed a new gcc with stack-smashing protection - and while > recompiling modules with stack-smashing protection, I got this message: > -- > copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l > ib/python2.3/site-packages/mx/Misc > copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ > python2.3/site-packages/mx/Misc > writing byte-compilation script > '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' > /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py > usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: > SyntaxWarning: name 'debugging' is use > d prior to global declaration This is an error that the Python compiler generated. I'd suggest you report to the Python bug tracker. BTW, pytag.py is no longer used or maintained, so you can safely delete it. > python: stack smashing attack in function symtable_node() > error: command '/usr/bin/python' terminated by signal 6 > > !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. > !!! Function distutils_src_install, Line 43, Exitcode 1 > !!! (no error message) > > so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes > one in python) - I haven't done very much research as I can live without > egenix - but just wanted to let you know :) > > p.s. it's python-2.3.3. Thanks, -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 11 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From harrelson at gmail.com Thu Sep 30 17:48:13 2004 From: harrelson at gmail.com (Culley Harrelson) Date: Sat Feb 4 16:01:18 2006 Subject: [egenix-users] OS X 10.3.5: *** You don't have the (right) mxDateTime binaries installed ! Message-ID: <529825a30409301648507c0cf8@mail.gmail.com> I have successfully installed mxDateTime on my OS X 10.3.5 system, using the system Python installation. It installed but as soon as I try to import the module I get: === *** You don't have the (right) mxDateTime binaries installed ! Traceback (most recent call last): File "./testFeDb.py", line 4, in ? from mx import DateTime File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/__init__.py", line 8, in ? from DateTime import * File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/DateTime.py", line 9, in ? from mxDateTime import * File "/Library/Python/2.3/mx/DateTime/mxDateTime/__init__.py", line 13, in ? raise ImportError, why ImportError: Failure linking new module: : dyld: python Undefined symbols: /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyArg_ParseTuple expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCObject_FromVoidPtr expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCallable_Check expected to be defined in the executable /Library/Python/2.3/mx/Date === Has anyone experienced this? Any ideas how to fix it? culley From hanser at club-internet.fr Sat Sep 4 17:13:26 2004 From: hanser at club-internet.fr (Pierre Hanser) Date: Sat Feb 4 20:01:09 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 Message-ID: <4139CD86.6020403@club-internet.fr> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 hello seems that python2.4a3 is not compatible with the optimizations in mx/DateTime/mxDateTime/mxDateTime.c on Linux: from mx import DateTime -> core dump if I disable the optims, everything gets ok /* Define these to have the module use free lists (saves malloc calls) */ #define MXDATETIME_FREELIST #define MXDATETIMEDELTA_FREELIST #undef MXDATETIME_FREELIST #undef MXDATETIMEDELTA_FREELIST - -- Pierre -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBOc2GMQ2/jYUwmmwRAn70AJ4puAZm4p10+KTCK/GzLt20VzWd3ACfQzIo H8hLxq8iCE3KGYZ6AR5QUy8= =GA8t -----END PGP SIGNATURE----- From mal at egenix.com Sun Sep 5 19:53:02 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Sat Feb 4 20:01:09 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 In-Reply-To: <4139CD86.6020403@club-internet.fr> References: <4139CD86.6020403@club-internet.fr> Message-ID: <413B446E.40002@egenix.com> Pierre Hanser wrote: > hello > > seems that python2.4a3 is not compatible with the optimizations in > mx/DateTime/mxDateTime/mxDateTime.c on Linux: > > from mx import DateTime -> core dump > > if I disable the optims, everything gets ok > > /* Define these to have the module use free lists (saves malloc calls) */ > #define MXDATETIME_FREELIST > #define MXDATETIMEDELTA_FREELIST > #undef MXDATETIME_FREELIST > #undef MXDATETIMEDELTA_FREELIST This is more likely due to a bug in your C compiler. -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 05 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From aluton at rcseng.ac.uk Wed Sep 8 12:33:02 2004 From: aluton at rcseng.ac.uk (Alex Luton) Date: Sat Feb 4 20:01:09 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: References: Message-ID: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Hi, I'm trying to get the mxODBC DA working, but the product is broken with this error message: Traceback (most recent call last): File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product product=__import__(pname, global_dict, global_dict, silly) File "Products/mxODBCZopeDA/__init__.py", line 7, in ? File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? Any help would be much appreciated. Thanks -- Alex ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 From mal at egenix.com Wed Sep 8 13:37:44 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Sat Feb 4 20:01:09 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> References: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Message-ID: <413EE0F8.6050601@egenix.com> Alex Luton wrote: > Hi, > > I'm trying to get the mxODBC DA working, but the product is broken with > this error message: > > Traceback (most recent call last): > File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product > product=__import__(pname, global_dict, global_dict, silly) > File "Products/mxODBCZopeDA/__init__.py", line 7, in ? > File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? > ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString > > I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? RedHat chose to build Python with 4-byte Unicode which is causing all sorts of problems with pre-built extensions. We will start shipping UCS4 builds of the Zope DA with the next release. Until then, you can try the pre-release of 1.0.9: http://www.egenix.com/files/python/egenix-mxodbc-zopeda-1.0.9.linux-i686-py2.3ucs4.zip -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 08 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From kl at vsen.dk Sat Sep 11 20:21:57 2004 From: kl at vsen.dk (Klavs Klavsen) Date: Sat Feb 4 20:01:09 2006 Subject: [egenix-users] bufferoverflow in egenix? Message-ID: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Hi guys, Just installed a new gcc with stack-smashing protection - and while recompiling modules with stack-smashing protection, I got this message: -- copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l ib/python2.3/site-packages/mx/Misc copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ python2.3/site-packages/mx/Misc writing byte-compilation script '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: SyntaxWarning: name 'debugging' is use d prior to global declaration python: stack smashing attack in function symtable_node() error: command '/usr/bin/python' terminated by signal 6 !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. !!! Function distutils_src_install, Line 43, Exitcode 1 !!! (no error message) so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes one in python) - I haven't done very much research as I can live without egenix - but just wanted to let you know :) p.s. it's python-2.3.3. -- Regards, Klavs Klavsen, GSEC - kl@vsen.dk - http://www.vsen.dk PGP: 7E063C62/2873 188C 968E 600D D8F8 B8DA 3D3A 0B79 7E06 3C62 "Those who do not understand Unix are condemned to reinvent it, poorly." --Henry Spencer From mal at egenix.com Sat Sep 11 23:51:30 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Sat Feb 4 20:01:09 2006 Subject: [egenix-users] bufferoverflow in egenix? In-Reply-To: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> References: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Message-ID: <41436552.6000906@egenix.com> Klavs Klavsen wrote: > Hi guys, > > Just installed a new gcc with stack-smashing protection - and while > recompiling modules with stack-smashing protection, I got this message: > -- > copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l > ib/python2.3/site-packages/mx/Misc > copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ > python2.3/site-packages/mx/Misc > writing byte-compilation script > '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' > /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py > usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: > SyntaxWarning: name 'debugging' is use > d prior to global declaration This is an error that the Python compiler generated. I'd suggest you report to the Python bug tracker. BTW, pytag.py is no longer used or maintained, so you can safely delete it. > python: stack smashing attack in function symtable_node() > error: command '/usr/bin/python' terminated by signal 6 > > !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. > !!! Function distutils_src_install, Line 43, Exitcode 1 > !!! (no error message) > > so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes > one in python) - I haven't done very much research as I can live without > egenix - but just wanted to let you know :) > > p.s. it's python-2.3.3. Thanks, -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 11 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From harrelson at gmail.com Thu Sep 30 17:48:13 2004 From: harrelson at gmail.com (Culley Harrelson) Date: Sat Feb 4 20:01:09 2006 Subject: [egenix-users] OS X 10.3.5: *** You don't have the (right) mxDateTime binaries installed ! Message-ID: <529825a30409301648507c0cf8@mail.gmail.com> I have successfully installed mxDateTime on my OS X 10.3.5 system, using the system Python installation. It installed but as soon as I try to import the module I get: === *** You don't have the (right) mxDateTime binaries installed ! Traceback (most recent call last): File "./testFeDb.py", line 4, in ? from mx import DateTime File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/__init__.py", line 8, in ? from DateTime import * File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/DateTime.py", line 9, in ? from mxDateTime import * File "/Library/Python/2.3/mx/DateTime/mxDateTime/__init__.py", line 13, in ? raise ImportError, why ImportError: Failure linking new module: : dyld: python Undefined symbols: /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyArg_ParseTuple expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCObject_FromVoidPtr expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCallable_Check expected to be defined in the executable /Library/Python/2.3/mx/Date === Has anyone experienced this? Any ideas how to fix it? culley From hanser at club-internet.fr Sat Sep 4 17:13:26 2004 From: hanser at club-internet.fr (Pierre Hanser) Date: Sun Feb 5 08:08:04 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 Message-ID: <4139CD86.6020403@club-internet.fr> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 hello seems that python2.4a3 is not compatible with the optimizations in mx/DateTime/mxDateTime/mxDateTime.c on Linux: from mx import DateTime -> core dump if I disable the optims, everything gets ok /* Define these to have the module use free lists (saves malloc calls) */ #define MXDATETIME_FREELIST #define MXDATETIMEDELTA_FREELIST #undef MXDATETIME_FREELIST #undef MXDATETIMEDELTA_FREELIST - -- Pierre -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBOc2GMQ2/jYUwmmwRAn70AJ4puAZm4p10+KTCK/GzLt20VzWd3ACfQzIo H8hLxq8iCE3KGYZ6AR5QUy8= =GA8t -----END PGP SIGNATURE----- From mal at egenix.com Sun Sep 5 19:53:02 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Sun Feb 5 08:08:04 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 In-Reply-To: <4139CD86.6020403@club-internet.fr> References: <4139CD86.6020403@club-internet.fr> Message-ID: <413B446E.40002@egenix.com> Pierre Hanser wrote: > hello > > seems that python2.4a3 is not compatible with the optimizations in > mx/DateTime/mxDateTime/mxDateTime.c on Linux: > > from mx import DateTime -> core dump > > if I disable the optims, everything gets ok > > /* Define these to have the module use free lists (saves malloc calls) */ > #define MXDATETIME_FREELIST > #define MXDATETIMEDELTA_FREELIST > #undef MXDATETIME_FREELIST > #undef MXDATETIMEDELTA_FREELIST This is more likely due to a bug in your C compiler. -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 05 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From aluton at rcseng.ac.uk Wed Sep 8 12:33:02 2004 From: aluton at rcseng.ac.uk (Alex Luton) Date: Sun Feb 5 08:08:04 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: References: Message-ID: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Hi, I'm trying to get the mxODBC DA working, but the product is broken with this error message: Traceback (most recent call last): File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product product=__import__(pname, global_dict, global_dict, silly) File "Products/mxODBCZopeDA/__init__.py", line 7, in ? File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? Any help would be much appreciated. Thanks -- Alex ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 From mal at egenix.com Wed Sep 8 13:37:44 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Sun Feb 5 08:08:04 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> References: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Message-ID: <413EE0F8.6050601@egenix.com> Alex Luton wrote: > Hi, > > I'm trying to get the mxODBC DA working, but the product is broken with > this error message: > > Traceback (most recent call last): > File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product > product=__import__(pname, global_dict, global_dict, silly) > File "Products/mxODBCZopeDA/__init__.py", line 7, in ? > File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? > ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString > > I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? RedHat chose to build Python with 4-byte Unicode which is causing all sorts of problems with pre-built extensions. We will start shipping UCS4 builds of the Zope DA with the next release. Until then, you can try the pre-release of 1.0.9: http://www.egenix.com/files/python/egenix-mxodbc-zopeda-1.0.9.linux-i686-py2.3ucs4.zip -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 08 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From kl at vsen.dk Sat Sep 11 20:21:57 2004 From: kl at vsen.dk (Klavs Klavsen) Date: Sun Feb 5 08:08:04 2006 Subject: [egenix-users] bufferoverflow in egenix? Message-ID: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Hi guys, Just installed a new gcc with stack-smashing protection - and while recompiling modules with stack-smashing protection, I got this message: -- copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l ib/python2.3/site-packages/mx/Misc copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ python2.3/site-packages/mx/Misc writing byte-compilation script '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: SyntaxWarning: name 'debugging' is use d prior to global declaration python: stack smashing attack in function symtable_node() error: command '/usr/bin/python' terminated by signal 6 !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. !!! Function distutils_src_install, Line 43, Exitcode 1 !!! (no error message) so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes one in python) - I haven't done very much research as I can live without egenix - but just wanted to let you know :) p.s. it's python-2.3.3. -- Regards, Klavs Klavsen, GSEC - kl@vsen.dk - http://www.vsen.dk PGP: 7E063C62/2873 188C 968E 600D D8F8 B8DA 3D3A 0B79 7E06 3C62 "Those who do not understand Unix are condemned to reinvent it, poorly." --Henry Spencer From mal at egenix.com Sat Sep 11 23:51:30 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Sun Feb 5 08:08:04 2006 Subject: [egenix-users] bufferoverflow in egenix? In-Reply-To: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> References: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Message-ID: <41436552.6000906@egenix.com> Klavs Klavsen wrote: > Hi guys, > > Just installed a new gcc with stack-smashing protection - and while > recompiling modules with stack-smashing protection, I got this message: > -- > copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l > ib/python2.3/site-packages/mx/Misc > copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ > python2.3/site-packages/mx/Misc > writing byte-compilation script > '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' > /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py > usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: > SyntaxWarning: name 'debugging' is use > d prior to global declaration This is an error that the Python compiler generated. I'd suggest you report to the Python bug tracker. BTW, pytag.py is no longer used or maintained, so you can safely delete it. > python: stack smashing attack in function symtable_node() > error: command '/usr/bin/python' terminated by signal 6 > > !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. > !!! Function distutils_src_install, Line 43, Exitcode 1 > !!! (no error message) > > so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes > one in python) - I haven't done very much research as I can live without > egenix - but just wanted to let you know :) > > p.s. it's python-2.3.3. Thanks, -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 11 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From harrelson at gmail.com Thu Sep 30 17:48:13 2004 From: harrelson at gmail.com (Culley Harrelson) Date: Sun Feb 5 08:08:04 2006 Subject: [egenix-users] OS X 10.3.5: *** You don't have the (right) mxDateTime binaries installed ! Message-ID: <529825a30409301648507c0cf8@mail.gmail.com> I have successfully installed mxDateTime on my OS X 10.3.5 system, using the system Python installation. It installed but as soon as I try to import the module I get: === *** You don't have the (right) mxDateTime binaries installed ! Traceback (most recent call last): File "./testFeDb.py", line 4, in ? from mx import DateTime File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/__init__.py", line 8, in ? from DateTime import * File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/DateTime.py", line 9, in ? from mxDateTime import * File "/Library/Python/2.3/mx/DateTime/mxDateTime/__init__.py", line 13, in ? raise ImportError, why ImportError: Failure linking new module: : dyld: python Undefined symbols: /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyArg_ParseTuple expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCObject_FromVoidPtr expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCallable_Check expected to be defined in the executable /Library/Python/2.3/mx/Date === Has anyone experienced this? Any ideas how to fix it? culley From hanser at club-internet.fr Sat Sep 4 17:13:26 2004 From: hanser at club-internet.fr (Pierre Hanser) Date: Sun Feb 5 12:02:51 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 Message-ID: <4139CD86.6020403@club-internet.fr> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 hello seems that python2.4a3 is not compatible with the optimizations in mx/DateTime/mxDateTime/mxDateTime.c on Linux: from mx import DateTime -> core dump if I disable the optims, everything gets ok /* Define these to have the module use free lists (saves malloc calls) */ #define MXDATETIME_FREELIST #define MXDATETIMEDELTA_FREELIST #undef MXDATETIME_FREELIST #undef MXDATETIMEDELTA_FREELIST - -- Pierre -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBOc2GMQ2/jYUwmmwRAn70AJ4puAZm4p10+KTCK/GzLt20VzWd3ACfQzIo H8hLxq8iCE3KGYZ6AR5QUy8= =GA8t -----END PGP SIGNATURE----- From mal at egenix.com Sun Sep 5 19:53:02 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Sun Feb 5 12:02:51 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 In-Reply-To: <4139CD86.6020403@club-internet.fr> References: <4139CD86.6020403@club-internet.fr> Message-ID: <413B446E.40002@egenix.com> Pierre Hanser wrote: > hello > > seems that python2.4a3 is not compatible with the optimizations in > mx/DateTime/mxDateTime/mxDateTime.c on Linux: > > from mx import DateTime -> core dump > > if I disable the optims, everything gets ok > > /* Define these to have the module use free lists (saves malloc calls) */ > #define MXDATETIME_FREELIST > #define MXDATETIMEDELTA_FREELIST > #undef MXDATETIME_FREELIST > #undef MXDATETIMEDELTA_FREELIST This is more likely due to a bug in your C compiler. -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 05 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From aluton at rcseng.ac.uk Wed Sep 8 12:33:02 2004 From: aluton at rcseng.ac.uk (Alex Luton) Date: Sun Feb 5 12:02:52 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: References: Message-ID: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Hi, I'm trying to get the mxODBC DA working, but the product is broken with this error message: Traceback (most recent call last): File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product product=__import__(pname, global_dict, global_dict, silly) File "Products/mxODBCZopeDA/__init__.py", line 7, in ? File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? Any help would be much appreciated. Thanks -- Alex ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 From mal at egenix.com Wed Sep 8 13:37:44 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Sun Feb 5 12:02:52 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> References: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Message-ID: <413EE0F8.6050601@egenix.com> Alex Luton wrote: > Hi, > > I'm trying to get the mxODBC DA working, but the product is broken with > this error message: > > Traceback (most recent call last): > File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product > product=__import__(pname, global_dict, global_dict, silly) > File "Products/mxODBCZopeDA/__init__.py", line 7, in ? > File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? > ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString > > I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? RedHat chose to build Python with 4-byte Unicode which is causing all sorts of problems with pre-built extensions. We will start shipping UCS4 builds of the Zope DA with the next release. Until then, you can try the pre-release of 1.0.9: http://www.egenix.com/files/python/egenix-mxodbc-zopeda-1.0.9.linux-i686-py2.3ucs4.zip -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 08 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From kl at vsen.dk Sat Sep 11 20:21:57 2004 From: kl at vsen.dk (Klavs Klavsen) Date: Sun Feb 5 12:02:52 2006 Subject: [egenix-users] bufferoverflow in egenix? Message-ID: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Hi guys, Just installed a new gcc with stack-smashing protection - and while recompiling modules with stack-smashing protection, I got this message: -- copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l ib/python2.3/site-packages/mx/Misc copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ python2.3/site-packages/mx/Misc writing byte-compilation script '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: SyntaxWarning: name 'debugging' is use d prior to global declaration python: stack smashing attack in function symtable_node() error: command '/usr/bin/python' terminated by signal 6 !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. !!! Function distutils_src_install, Line 43, Exitcode 1 !!! (no error message) so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes one in python) - I haven't done very much research as I can live without egenix - but just wanted to let you know :) p.s. it's python-2.3.3. -- Regards, Klavs Klavsen, GSEC - kl@vsen.dk - http://www.vsen.dk PGP: 7E063C62/2873 188C 968E 600D D8F8 B8DA 3D3A 0B79 7E06 3C62 "Those who do not understand Unix are condemned to reinvent it, poorly." --Henry Spencer From mal at egenix.com Sat Sep 11 23:51:30 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Sun Feb 5 12:02:52 2006 Subject: [egenix-users] bufferoverflow in egenix? In-Reply-To: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> References: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Message-ID: <41436552.6000906@egenix.com> Klavs Klavsen wrote: > Hi guys, > > Just installed a new gcc with stack-smashing protection - and while > recompiling modules with stack-smashing protection, I got this message: > -- > copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l > ib/python2.3/site-packages/mx/Misc > copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ > python2.3/site-packages/mx/Misc > writing byte-compilation script > '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' > /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py > usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: > SyntaxWarning: name 'debugging' is use > d prior to global declaration This is an error that the Python compiler generated. I'd suggest you report to the Python bug tracker. BTW, pytag.py is no longer used or maintained, so you can safely delete it. > python: stack smashing attack in function symtable_node() > error: command '/usr/bin/python' terminated by signal 6 > > !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. > !!! Function distutils_src_install, Line 43, Exitcode 1 > !!! (no error message) > > so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes > one in python) - I haven't done very much research as I can live without > egenix - but just wanted to let you know :) > > p.s. it's python-2.3.3. Thanks, -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 11 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From harrelson at gmail.com Thu Sep 30 17:48:13 2004 From: harrelson at gmail.com (Culley Harrelson) Date: Sun Feb 5 12:02:52 2006 Subject: [egenix-users] OS X 10.3.5: *** You don't have the (right) mxDateTime binaries installed ! Message-ID: <529825a30409301648507c0cf8@mail.gmail.com> I have successfully installed mxDateTime on my OS X 10.3.5 system, using the system Python installation. It installed but as soon as I try to import the module I get: === *** You don't have the (right) mxDateTime binaries installed ! Traceback (most recent call last): File "./testFeDb.py", line 4, in ? from mx import DateTime File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/__init__.py", line 8, in ? from DateTime import * File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/DateTime.py", line 9, in ? from mxDateTime import * File "/Library/Python/2.3/mx/DateTime/mxDateTime/__init__.py", line 13, in ? raise ImportError, why ImportError: Failure linking new module: : dyld: python Undefined symbols: /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyArg_ParseTuple expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCObject_FromVoidPtr expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCallable_Check expected to be defined in the executable /Library/Python/2.3/mx/Date === Has anyone experienced this? Any ideas how to fix it? culley From hanser at club-internet.fr Sat Sep 4 17:13:26 2004 From: hanser at club-internet.fr (Pierre Hanser) Date: Sun Feb 5 16:01:14 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 Message-ID: <4139CD86.6020403@club-internet.fr> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 hello seems that python2.4a3 is not compatible with the optimizations in mx/DateTime/mxDateTime/mxDateTime.c on Linux: from mx import DateTime -> core dump if I disable the optims, everything gets ok /* Define these to have the module use free lists (saves malloc calls) */ #define MXDATETIME_FREELIST #define MXDATETIMEDELTA_FREELIST #undef MXDATETIME_FREELIST #undef MXDATETIMEDELTA_FREELIST - -- Pierre -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBOc2GMQ2/jYUwmmwRAn70AJ4puAZm4p10+KTCK/GzLt20VzWd3ACfQzIo H8hLxq8iCE3KGYZ6AR5QUy8= =GA8t -----END PGP SIGNATURE----- From mal at egenix.com Sun Sep 5 19:53:02 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Sun Feb 5 16:01:14 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 In-Reply-To: <4139CD86.6020403@club-internet.fr> References: <4139CD86.6020403@club-internet.fr> Message-ID: <413B446E.40002@egenix.com> Pierre Hanser wrote: > hello > > seems that python2.4a3 is not compatible with the optimizations in > mx/DateTime/mxDateTime/mxDateTime.c on Linux: > > from mx import DateTime -> core dump > > if I disable the optims, everything gets ok > > /* Define these to have the module use free lists (saves malloc calls) */ > #define MXDATETIME_FREELIST > #define MXDATETIMEDELTA_FREELIST > #undef MXDATETIME_FREELIST > #undef MXDATETIMEDELTA_FREELIST This is more likely due to a bug in your C compiler. -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 05 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From aluton at rcseng.ac.uk Wed Sep 8 12:33:02 2004 From: aluton at rcseng.ac.uk (Alex Luton) Date: Sun Feb 5 16:01:14 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: References: Message-ID: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Hi, I'm trying to get the mxODBC DA working, but the product is broken with this error message: Traceback (most recent call last): File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product product=__import__(pname, global_dict, global_dict, silly) File "Products/mxODBCZopeDA/__init__.py", line 7, in ? File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? Any help would be much appreciated. Thanks -- Alex ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 From mal at egenix.com Wed Sep 8 13:37:44 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Sun Feb 5 16:01:14 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> References: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Message-ID: <413EE0F8.6050601@egenix.com> Alex Luton wrote: > Hi, > > I'm trying to get the mxODBC DA working, but the product is broken with > this error message: > > Traceback (most recent call last): > File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product > product=__import__(pname, global_dict, global_dict, silly) > File "Products/mxODBCZopeDA/__init__.py", line 7, in ? > File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? > ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString > > I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? RedHat chose to build Python with 4-byte Unicode which is causing all sorts of problems with pre-built extensions. We will start shipping UCS4 builds of the Zope DA with the next release. Until then, you can try the pre-release of 1.0.9: http://www.egenix.com/files/python/egenix-mxodbc-zopeda-1.0.9.linux-i686-py2.3ucs4.zip -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 08 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From kl at vsen.dk Sat Sep 11 20:21:57 2004 From: kl at vsen.dk (Klavs Klavsen) Date: Sun Feb 5 16:01:14 2006 Subject: [egenix-users] bufferoverflow in egenix? Message-ID: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Hi guys, Just installed a new gcc with stack-smashing protection - and while recompiling modules with stack-smashing protection, I got this message: -- copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l ib/python2.3/site-packages/mx/Misc copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ python2.3/site-packages/mx/Misc writing byte-compilation script '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: SyntaxWarning: name 'debugging' is use d prior to global declaration python: stack smashing attack in function symtable_node() error: command '/usr/bin/python' terminated by signal 6 !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. !!! Function distutils_src_install, Line 43, Exitcode 1 !!! (no error message) so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes one in python) - I haven't done very much research as I can live without egenix - but just wanted to let you know :) p.s. it's python-2.3.3. -- Regards, Klavs Klavsen, GSEC - kl@vsen.dk - http://www.vsen.dk PGP: 7E063C62/2873 188C 968E 600D D8F8 B8DA 3D3A 0B79 7E06 3C62 "Those who do not understand Unix are condemned to reinvent it, poorly." --Henry Spencer From mal at egenix.com Sat Sep 11 23:51:30 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Sun Feb 5 16:01:14 2006 Subject: [egenix-users] bufferoverflow in egenix? In-Reply-To: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> References: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Message-ID: <41436552.6000906@egenix.com> Klavs Klavsen wrote: > Hi guys, > > Just installed a new gcc with stack-smashing protection - and while > recompiling modules with stack-smashing protection, I got this message: > -- > copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l > ib/python2.3/site-packages/mx/Misc > copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ > python2.3/site-packages/mx/Misc > writing byte-compilation script > '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' > /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py > usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: > SyntaxWarning: name 'debugging' is use > d prior to global declaration This is an error that the Python compiler generated. I'd suggest you report to the Python bug tracker. BTW, pytag.py is no longer used or maintained, so you can safely delete it. > python: stack smashing attack in function symtable_node() > error: command '/usr/bin/python' terminated by signal 6 > > !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. > !!! Function distutils_src_install, Line 43, Exitcode 1 > !!! (no error message) > > so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes > one in python) - I haven't done very much research as I can live without > egenix - but just wanted to let you know :) > > p.s. it's python-2.3.3. Thanks, -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 11 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From harrelson at gmail.com Thu Sep 30 17:48:13 2004 From: harrelson at gmail.com (Culley Harrelson) Date: Sun Feb 5 16:01:14 2006 Subject: [egenix-users] OS X 10.3.5: *** You don't have the (right) mxDateTime binaries installed ! Message-ID: <529825a30409301648507c0cf8@mail.gmail.com> I have successfully installed mxDateTime on my OS X 10.3.5 system, using the system Python installation. It installed but as soon as I try to import the module I get: === *** You don't have the (right) mxDateTime binaries installed ! Traceback (most recent call last): File "./testFeDb.py", line 4, in ? from mx import DateTime File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/__init__.py", line 8, in ? from DateTime import * File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/DateTime.py", line 9, in ? from mxDateTime import * File "/Library/Python/2.3/mx/DateTime/mxDateTime/__init__.py", line 13, in ? raise ImportError, why ImportError: Failure linking new module: : dyld: python Undefined symbols: /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyArg_ParseTuple expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCObject_FromVoidPtr expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCallable_Check expected to be defined in the executable /Library/Python/2.3/mx/Date === Has anyone experienced this? Any ideas how to fix it? culley From hanser at club-internet.fr Sat Sep 4 17:13:26 2004 From: hanser at club-internet.fr (Pierre Hanser) Date: Sun Feb 5 20:01:04 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 Message-ID: <4139CD86.6020403@club-internet.fr> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 hello seems that python2.4a3 is not compatible with the optimizations in mx/DateTime/mxDateTime/mxDateTime.c on Linux: from mx import DateTime -> core dump if I disable the optims, everything gets ok /* Define these to have the module use free lists (saves malloc calls) */ #define MXDATETIME_FREELIST #define MXDATETIMEDELTA_FREELIST #undef MXDATETIME_FREELIST #undef MXDATETIMEDELTA_FREELIST - -- Pierre -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBOc2GMQ2/jYUwmmwRAn70AJ4puAZm4p10+KTCK/GzLt20VzWd3ACfQzIo H8hLxq8iCE3KGYZ6AR5QUy8= =GA8t -----END PGP SIGNATURE----- From mal at egenix.com Sun Sep 5 19:53:02 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Sun Feb 5 20:01:04 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 In-Reply-To: <4139CD86.6020403@club-internet.fr> References: <4139CD86.6020403@club-internet.fr> Message-ID: <413B446E.40002@egenix.com> Pierre Hanser wrote: > hello > > seems that python2.4a3 is not compatible with the optimizations in > mx/DateTime/mxDateTime/mxDateTime.c on Linux: > > from mx import DateTime -> core dump > > if I disable the optims, everything gets ok > > /* Define these to have the module use free lists (saves malloc calls) */ > #define MXDATETIME_FREELIST > #define MXDATETIMEDELTA_FREELIST > #undef MXDATETIME_FREELIST > #undef MXDATETIMEDELTA_FREELIST This is more likely due to a bug in your C compiler. -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 05 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From aluton at rcseng.ac.uk Wed Sep 8 12:33:02 2004 From: aluton at rcseng.ac.uk (Alex Luton) Date: Sun Feb 5 20:01:04 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: References: Message-ID: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Hi, I'm trying to get the mxODBC DA working, but the product is broken with this error message: Traceback (most recent call last): File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product product=__import__(pname, global_dict, global_dict, silly) File "Products/mxODBCZopeDA/__init__.py", line 7, in ? File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? Any help would be much appreciated. Thanks -- Alex ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 From mal at egenix.com Wed Sep 8 13:37:44 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Sun Feb 5 20:01:04 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> References: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Message-ID: <413EE0F8.6050601@egenix.com> Alex Luton wrote: > Hi, > > I'm trying to get the mxODBC DA working, but the product is broken with > this error message: > > Traceback (most recent call last): > File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product > product=__import__(pname, global_dict, global_dict, silly) > File "Products/mxODBCZopeDA/__init__.py", line 7, in ? > File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? > ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString > > I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? RedHat chose to build Python with 4-byte Unicode which is causing all sorts of problems with pre-built extensions. We will start shipping UCS4 builds of the Zope DA with the next release. Until then, you can try the pre-release of 1.0.9: http://www.egenix.com/files/python/egenix-mxodbc-zopeda-1.0.9.linux-i686-py2.3ucs4.zip -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 08 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From kl at vsen.dk Sat Sep 11 20:21:57 2004 From: kl at vsen.dk (Klavs Klavsen) Date: Sun Feb 5 20:01:04 2006 Subject: [egenix-users] bufferoverflow in egenix? Message-ID: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Hi guys, Just installed a new gcc with stack-smashing protection - and while recompiling modules with stack-smashing protection, I got this message: -- copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l ib/python2.3/site-packages/mx/Misc copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ python2.3/site-packages/mx/Misc writing byte-compilation script '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: SyntaxWarning: name 'debugging' is use d prior to global declaration python: stack smashing attack in function symtable_node() error: command '/usr/bin/python' terminated by signal 6 !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. !!! Function distutils_src_install, Line 43, Exitcode 1 !!! (no error message) so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes one in python) - I haven't done very much research as I can live without egenix - but just wanted to let you know :) p.s. it's python-2.3.3. -- Regards, Klavs Klavsen, GSEC - kl@vsen.dk - http://www.vsen.dk PGP: 7E063C62/2873 188C 968E 600D D8F8 B8DA 3D3A 0B79 7E06 3C62 "Those who do not understand Unix are condemned to reinvent it, poorly." --Henry Spencer From mal at egenix.com Sat Sep 11 23:51:30 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Sun Feb 5 20:01:04 2006 Subject: [egenix-users] bufferoverflow in egenix? In-Reply-To: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> References: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Message-ID: <41436552.6000906@egenix.com> Klavs Klavsen wrote: > Hi guys, > > Just installed a new gcc with stack-smashing protection - and while > recompiling modules with stack-smashing protection, I got this message: > -- > copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l > ib/python2.3/site-packages/mx/Misc > copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ > python2.3/site-packages/mx/Misc > writing byte-compilation script > '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' > /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py > usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: > SyntaxWarning: name 'debugging' is use > d prior to global declaration This is an error that the Python compiler generated. I'd suggest you report to the Python bug tracker. BTW, pytag.py is no longer used or maintained, so you can safely delete it. > python: stack smashing attack in function symtable_node() > error: command '/usr/bin/python' terminated by signal 6 > > !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. > !!! Function distutils_src_install, Line 43, Exitcode 1 > !!! (no error message) > > so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes > one in python) - I haven't done very much research as I can live without > egenix - but just wanted to let you know :) > > p.s. it's python-2.3.3. Thanks, -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 11 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From harrelson at gmail.com Thu Sep 30 17:48:13 2004 From: harrelson at gmail.com (Culley Harrelson) Date: Sun Feb 5 20:01:04 2006 Subject: [egenix-users] OS X 10.3.5: *** You don't have the (right) mxDateTime binaries installed ! Message-ID: <529825a30409301648507c0cf8@mail.gmail.com> I have successfully installed mxDateTime on my OS X 10.3.5 system, using the system Python installation. It installed but as soon as I try to import the module I get: === *** You don't have the (right) mxDateTime binaries installed ! Traceback (most recent call last): File "./testFeDb.py", line 4, in ? from mx import DateTime File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/__init__.py", line 8, in ? from DateTime import * File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/DateTime.py", line 9, in ? from mxDateTime import * File "/Library/Python/2.3/mx/DateTime/mxDateTime/__init__.py", line 13, in ? raise ImportError, why ImportError: Failure linking new module: : dyld: python Undefined symbols: /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyArg_ParseTuple expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCObject_FromVoidPtr expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCallable_Check expected to be defined in the executable /Library/Python/2.3/mx/Date === Has anyone experienced this? Any ideas how to fix it? culley From hanser at club-internet.fr Sat Sep 4 17:13:26 2004 From: hanser at club-internet.fr (Pierre Hanser) Date: Mon Feb 6 08:15:52 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 Message-ID: <4139CD86.6020403@club-internet.fr> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 hello seems that python2.4a3 is not compatible with the optimizations in mx/DateTime/mxDateTime/mxDateTime.c on Linux: from mx import DateTime -> core dump if I disable the optims, everything gets ok /* Define these to have the module use free lists (saves malloc calls) */ #define MXDATETIME_FREELIST #define MXDATETIMEDELTA_FREELIST #undef MXDATETIME_FREELIST #undef MXDATETIMEDELTA_FREELIST - -- Pierre -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBOc2GMQ2/jYUwmmwRAn70AJ4puAZm4p10+KTCK/GzLt20VzWd3ACfQzIo H8hLxq8iCE3KGYZ6AR5QUy8= =GA8t -----END PGP SIGNATURE----- From mal at egenix.com Sun Sep 5 19:53:02 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Mon Feb 6 08:15:52 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 In-Reply-To: <4139CD86.6020403@club-internet.fr> References: <4139CD86.6020403@club-internet.fr> Message-ID: <413B446E.40002@egenix.com> Pierre Hanser wrote: > hello > > seems that python2.4a3 is not compatible with the optimizations in > mx/DateTime/mxDateTime/mxDateTime.c on Linux: > > from mx import DateTime -> core dump > > if I disable the optims, everything gets ok > > /* Define these to have the module use free lists (saves malloc calls) */ > #define MXDATETIME_FREELIST > #define MXDATETIMEDELTA_FREELIST > #undef MXDATETIME_FREELIST > #undef MXDATETIMEDELTA_FREELIST This is more likely due to a bug in your C compiler. -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 05 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From aluton at rcseng.ac.uk Wed Sep 8 12:33:02 2004 From: aluton at rcseng.ac.uk (Alex Luton) Date: Mon Feb 6 08:15:52 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: References: Message-ID: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Hi, I'm trying to get the mxODBC DA working, but the product is broken with this error message: Traceback (most recent call last): File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product product=__import__(pname, global_dict, global_dict, silly) File "Products/mxODBCZopeDA/__init__.py", line 7, in ? File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? Any help would be much appreciated. Thanks -- Alex ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 From mal at egenix.com Wed Sep 8 13:37:44 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Mon Feb 6 08:15:52 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> References: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Message-ID: <413EE0F8.6050601@egenix.com> Alex Luton wrote: > Hi, > > I'm trying to get the mxODBC DA working, but the product is broken with > this error message: > > Traceback (most recent call last): > File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product > product=__import__(pname, global_dict, global_dict, silly) > File "Products/mxODBCZopeDA/__init__.py", line 7, in ? > File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? > ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString > > I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? RedHat chose to build Python with 4-byte Unicode which is causing all sorts of problems with pre-built extensions. We will start shipping UCS4 builds of the Zope DA with the next release. Until then, you can try the pre-release of 1.0.9: http://www.egenix.com/files/python/egenix-mxodbc-zopeda-1.0.9.linux-i686-py2.3ucs4.zip -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 08 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From kl at vsen.dk Sat Sep 11 20:21:57 2004 From: kl at vsen.dk (Klavs Klavsen) Date: Mon Feb 6 08:15:52 2006 Subject: [egenix-users] bufferoverflow in egenix? Message-ID: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Hi guys, Just installed a new gcc with stack-smashing protection - and while recompiling modules with stack-smashing protection, I got this message: -- copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l ib/python2.3/site-packages/mx/Misc copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ python2.3/site-packages/mx/Misc writing byte-compilation script '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: SyntaxWarning: name 'debugging' is use d prior to global declaration python: stack smashing attack in function symtable_node() error: command '/usr/bin/python' terminated by signal 6 !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. !!! Function distutils_src_install, Line 43, Exitcode 1 !!! (no error message) so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes one in python) - I haven't done very much research as I can live without egenix - but just wanted to let you know :) p.s. it's python-2.3.3. -- Regards, Klavs Klavsen, GSEC - kl@vsen.dk - http://www.vsen.dk PGP: 7E063C62/2873 188C 968E 600D D8F8 B8DA 3D3A 0B79 7E06 3C62 "Those who do not understand Unix are condemned to reinvent it, poorly." --Henry Spencer From mal at egenix.com Sat Sep 11 23:51:30 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Mon Feb 6 08:15:52 2006 Subject: [egenix-users] bufferoverflow in egenix? In-Reply-To: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> References: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Message-ID: <41436552.6000906@egenix.com> Klavs Klavsen wrote: > Hi guys, > > Just installed a new gcc with stack-smashing protection - and while > recompiling modules with stack-smashing protection, I got this message: > -- > copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l > ib/python2.3/site-packages/mx/Misc > copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ > python2.3/site-packages/mx/Misc > writing byte-compilation script > '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' > /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py > usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: > SyntaxWarning: name 'debugging' is use > d prior to global declaration This is an error that the Python compiler generated. I'd suggest you report to the Python bug tracker. BTW, pytag.py is no longer used or maintained, so you can safely delete it. > python: stack smashing attack in function symtable_node() > error: command '/usr/bin/python' terminated by signal 6 > > !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. > !!! Function distutils_src_install, Line 43, Exitcode 1 > !!! (no error message) > > so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes > one in python) - I haven't done very much research as I can live without > egenix - but just wanted to let you know :) > > p.s. it's python-2.3.3. Thanks, -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 11 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From harrelson at gmail.com Thu Sep 30 17:48:13 2004 From: harrelson at gmail.com (Culley Harrelson) Date: Mon Feb 6 08:15:52 2006 Subject: [egenix-users] OS X 10.3.5: *** You don't have the (right) mxDateTime binaries installed ! Message-ID: <529825a30409301648507c0cf8@mail.gmail.com> I have successfully installed mxDateTime on my OS X 10.3.5 system, using the system Python installation. It installed but as soon as I try to import the module I get: === *** You don't have the (right) mxDateTime binaries installed ! Traceback (most recent call last): File "./testFeDb.py", line 4, in ? from mx import DateTime File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/__init__.py", line 8, in ? from DateTime import * File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/DateTime.py", line 9, in ? from mxDateTime import * File "/Library/Python/2.3/mx/DateTime/mxDateTime/__init__.py", line 13, in ? raise ImportError, why ImportError: Failure linking new module: : dyld: python Undefined symbols: /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyArg_ParseTuple expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCObject_FromVoidPtr expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCallable_Check expected to be defined in the executable /Library/Python/2.3/mx/Date === Has anyone experienced this? Any ideas how to fix it? culley From hanser at club-internet.fr Sat Sep 4 17:13:26 2004 From: hanser at club-internet.fr (Pierre Hanser) Date: Mon Feb 6 12:02:51 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 Message-ID: <4139CD86.6020403@club-internet.fr> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 hello seems that python2.4a3 is not compatible with the optimizations in mx/DateTime/mxDateTime/mxDateTime.c on Linux: from mx import DateTime -> core dump if I disable the optims, everything gets ok /* Define these to have the module use free lists (saves malloc calls) */ #define MXDATETIME_FREELIST #define MXDATETIMEDELTA_FREELIST #undef MXDATETIME_FREELIST #undef MXDATETIMEDELTA_FREELIST - -- Pierre -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBOc2GMQ2/jYUwmmwRAn70AJ4puAZm4p10+KTCK/GzLt20VzWd3ACfQzIo H8hLxq8iCE3KGYZ6AR5QUy8= =GA8t -----END PGP SIGNATURE----- From mal at egenix.com Sun Sep 5 19:53:02 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Mon Feb 6 12:02:52 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 In-Reply-To: <4139CD86.6020403@club-internet.fr> References: <4139CD86.6020403@club-internet.fr> Message-ID: <413B446E.40002@egenix.com> Pierre Hanser wrote: > hello > > seems that python2.4a3 is not compatible with the optimizations in > mx/DateTime/mxDateTime/mxDateTime.c on Linux: > > from mx import DateTime -> core dump > > if I disable the optims, everything gets ok > > /* Define these to have the module use free lists (saves malloc calls) */ > #define MXDATETIME_FREELIST > #define MXDATETIMEDELTA_FREELIST > #undef MXDATETIME_FREELIST > #undef MXDATETIMEDELTA_FREELIST This is more likely due to a bug in your C compiler. -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 05 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From aluton at rcseng.ac.uk Wed Sep 8 12:33:02 2004 From: aluton at rcseng.ac.uk (Alex Luton) Date: Mon Feb 6 12:02:52 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: References: Message-ID: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Hi, I'm trying to get the mxODBC DA working, but the product is broken with this error message: Traceback (most recent call last): File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product product=__import__(pname, global_dict, global_dict, silly) File "Products/mxODBCZopeDA/__init__.py", line 7, in ? File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? Any help would be much appreciated. Thanks -- Alex ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 From mal at egenix.com Wed Sep 8 13:37:44 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Mon Feb 6 12:02:52 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> References: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Message-ID: <413EE0F8.6050601@egenix.com> Alex Luton wrote: > Hi, > > I'm trying to get the mxODBC DA working, but the product is broken with > this error message: > > Traceback (most recent call last): > File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product > product=__import__(pname, global_dict, global_dict, silly) > File "Products/mxODBCZopeDA/__init__.py", line 7, in ? > File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? > ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString > > I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? RedHat chose to build Python with 4-byte Unicode which is causing all sorts of problems with pre-built extensions. We will start shipping UCS4 builds of the Zope DA with the next release. Until then, you can try the pre-release of 1.0.9: http://www.egenix.com/files/python/egenix-mxodbc-zopeda-1.0.9.linux-i686-py2.3ucs4.zip -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 08 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From kl at vsen.dk Sat Sep 11 20:21:57 2004 From: kl at vsen.dk (Klavs Klavsen) Date: Mon Feb 6 12:02:52 2006 Subject: [egenix-users] bufferoverflow in egenix? Message-ID: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Hi guys, Just installed a new gcc with stack-smashing protection - and while recompiling modules with stack-smashing protection, I got this message: -- copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l ib/python2.3/site-packages/mx/Misc copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ python2.3/site-packages/mx/Misc writing byte-compilation script '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: SyntaxWarning: name 'debugging' is use d prior to global declaration python: stack smashing attack in function symtable_node() error: command '/usr/bin/python' terminated by signal 6 !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. !!! Function distutils_src_install, Line 43, Exitcode 1 !!! (no error message) so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes one in python) - I haven't done very much research as I can live without egenix - but just wanted to let you know :) p.s. it's python-2.3.3. -- Regards, Klavs Klavsen, GSEC - kl@vsen.dk - http://www.vsen.dk PGP: 7E063C62/2873 188C 968E 600D D8F8 B8DA 3D3A 0B79 7E06 3C62 "Those who do not understand Unix are condemned to reinvent it, poorly." --Henry Spencer From mal at egenix.com Sat Sep 11 23:51:30 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Mon Feb 6 12:02:52 2006 Subject: [egenix-users] bufferoverflow in egenix? In-Reply-To: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> References: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Message-ID: <41436552.6000906@egenix.com> Klavs Klavsen wrote: > Hi guys, > > Just installed a new gcc with stack-smashing protection - and while > recompiling modules with stack-smashing protection, I got this message: > -- > copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l > ib/python2.3/site-packages/mx/Misc > copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ > python2.3/site-packages/mx/Misc > writing byte-compilation script > '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' > /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py > usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: > SyntaxWarning: name 'debugging' is use > d prior to global declaration This is an error that the Python compiler generated. I'd suggest you report to the Python bug tracker. BTW, pytag.py is no longer used or maintained, so you can safely delete it. > python: stack smashing attack in function symtable_node() > error: command '/usr/bin/python' terminated by signal 6 > > !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. > !!! Function distutils_src_install, Line 43, Exitcode 1 > !!! (no error message) > > so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes > one in python) - I haven't done very much research as I can live without > egenix - but just wanted to let you know :) > > p.s. it's python-2.3.3. Thanks, -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 11 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From harrelson at gmail.com Thu Sep 30 17:48:13 2004 From: harrelson at gmail.com (Culley Harrelson) Date: Mon Feb 6 12:02:52 2006 Subject: [egenix-users] OS X 10.3.5: *** You don't have the (right) mxDateTime binaries installed ! Message-ID: <529825a30409301648507c0cf8@mail.gmail.com> I have successfully installed mxDateTime on my OS X 10.3.5 system, using the system Python installation. It installed but as soon as I try to import the module I get: === *** You don't have the (right) mxDateTime binaries installed ! Traceback (most recent call last): File "./testFeDb.py", line 4, in ? from mx import DateTime File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/__init__.py", line 8, in ? from DateTime import * File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/DateTime.py", line 9, in ? from mxDateTime import * File "/Library/Python/2.3/mx/DateTime/mxDateTime/__init__.py", line 13, in ? raise ImportError, why ImportError: Failure linking new module: : dyld: python Undefined symbols: /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyArg_ParseTuple expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCObject_FromVoidPtr expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCallable_Check expected to be defined in the executable /Library/Python/2.3/mx/Date === Has anyone experienced this? Any ideas how to fix it? culley From hanser at club-internet.fr Sat Sep 4 17:13:26 2004 From: hanser at club-internet.fr (Pierre Hanser) Date: Mon Feb 6 16:01:10 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 Message-ID: <4139CD86.6020403@club-internet.fr> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 hello seems that python2.4a3 is not compatible with the optimizations in mx/DateTime/mxDateTime/mxDateTime.c on Linux: from mx import DateTime -> core dump if I disable the optims, everything gets ok /* Define these to have the module use free lists (saves malloc calls) */ #define MXDATETIME_FREELIST #define MXDATETIMEDELTA_FREELIST #undef MXDATETIME_FREELIST #undef MXDATETIMEDELTA_FREELIST - -- Pierre -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBOc2GMQ2/jYUwmmwRAn70AJ4puAZm4p10+KTCK/GzLt20VzWd3ACfQzIo H8hLxq8iCE3KGYZ6AR5QUy8= =GA8t -----END PGP SIGNATURE----- From mal at egenix.com Sun Sep 5 19:53:02 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Mon Feb 6 16:01:11 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 In-Reply-To: <4139CD86.6020403@club-internet.fr> References: <4139CD86.6020403@club-internet.fr> Message-ID: <413B446E.40002@egenix.com> Pierre Hanser wrote: > hello > > seems that python2.4a3 is not compatible with the optimizations in > mx/DateTime/mxDateTime/mxDateTime.c on Linux: > > from mx import DateTime -> core dump > > if I disable the optims, everything gets ok > > /* Define these to have the module use free lists (saves malloc calls) */ > #define MXDATETIME_FREELIST > #define MXDATETIMEDELTA_FREELIST > #undef MXDATETIME_FREELIST > #undef MXDATETIMEDELTA_FREELIST This is more likely due to a bug in your C compiler. -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 05 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From aluton at rcseng.ac.uk Wed Sep 8 12:33:02 2004 From: aluton at rcseng.ac.uk (Alex Luton) Date: Mon Feb 6 16:01:11 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: References: Message-ID: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Hi, I'm trying to get the mxODBC DA working, but the product is broken with this error message: Traceback (most recent call last): File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product product=__import__(pname, global_dict, global_dict, silly) File "Products/mxODBCZopeDA/__init__.py", line 7, in ? File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? Any help would be much appreciated. Thanks -- Alex ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 From mal at egenix.com Wed Sep 8 13:37:44 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Mon Feb 6 16:01:11 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> References: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Message-ID: <413EE0F8.6050601@egenix.com> Alex Luton wrote: > Hi, > > I'm trying to get the mxODBC DA working, but the product is broken with > this error message: > > Traceback (most recent call last): > File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product > product=__import__(pname, global_dict, global_dict, silly) > File "Products/mxODBCZopeDA/__init__.py", line 7, in ? > File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? > ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString > > I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? RedHat chose to build Python with 4-byte Unicode which is causing all sorts of problems with pre-built extensions. We will start shipping UCS4 builds of the Zope DA with the next release. Until then, you can try the pre-release of 1.0.9: http://www.egenix.com/files/python/egenix-mxodbc-zopeda-1.0.9.linux-i686-py2.3ucs4.zip -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 08 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From kl at vsen.dk Sat Sep 11 20:21:57 2004 From: kl at vsen.dk (Klavs Klavsen) Date: Mon Feb 6 16:01:11 2006 Subject: [egenix-users] bufferoverflow in egenix? Message-ID: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Hi guys, Just installed a new gcc with stack-smashing protection - and while recompiling modules with stack-smashing protection, I got this message: -- copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l ib/python2.3/site-packages/mx/Misc copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ python2.3/site-packages/mx/Misc writing byte-compilation script '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: SyntaxWarning: name 'debugging' is use d prior to global declaration python: stack smashing attack in function symtable_node() error: command '/usr/bin/python' terminated by signal 6 !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. !!! Function distutils_src_install, Line 43, Exitcode 1 !!! (no error message) so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes one in python) - I haven't done very much research as I can live without egenix - but just wanted to let you know :) p.s. it's python-2.3.3. -- Regards, Klavs Klavsen, GSEC - kl@vsen.dk - http://www.vsen.dk PGP: 7E063C62/2873 188C 968E 600D D8F8 B8DA 3D3A 0B79 7E06 3C62 "Those who do not understand Unix are condemned to reinvent it, poorly." --Henry Spencer From mal at egenix.com Sat Sep 11 23:51:30 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Mon Feb 6 16:01:11 2006 Subject: [egenix-users] bufferoverflow in egenix? In-Reply-To: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> References: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Message-ID: <41436552.6000906@egenix.com> Klavs Klavsen wrote: > Hi guys, > > Just installed a new gcc with stack-smashing protection - and while > recompiling modules with stack-smashing protection, I got this message: > -- > copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l > ib/python2.3/site-packages/mx/Misc > copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ > python2.3/site-packages/mx/Misc > writing byte-compilation script > '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' > /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py > usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: > SyntaxWarning: name 'debugging' is use > d prior to global declaration This is an error that the Python compiler generated. I'd suggest you report to the Python bug tracker. BTW, pytag.py is no longer used or maintained, so you can safely delete it. > python: stack smashing attack in function symtable_node() > error: command '/usr/bin/python' terminated by signal 6 > > !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. > !!! Function distutils_src_install, Line 43, Exitcode 1 > !!! (no error message) > > so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes > one in python) - I haven't done very much research as I can live without > egenix - but just wanted to let you know :) > > p.s. it's python-2.3.3. Thanks, -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 11 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From harrelson at gmail.com Thu Sep 30 17:48:13 2004 From: harrelson at gmail.com (Culley Harrelson) Date: Mon Feb 6 16:01:11 2006 Subject: [egenix-users] OS X 10.3.5: *** You don't have the (right) mxDateTime binaries installed ! Message-ID: <529825a30409301648507c0cf8@mail.gmail.com> I have successfully installed mxDateTime on my OS X 10.3.5 system, using the system Python installation. It installed but as soon as I try to import the module I get: === *** You don't have the (right) mxDateTime binaries installed ! Traceback (most recent call last): File "./testFeDb.py", line 4, in ? from mx import DateTime File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/__init__.py", line 8, in ? from DateTime import * File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/DateTime.py", line 9, in ? from mxDateTime import * File "/Library/Python/2.3/mx/DateTime/mxDateTime/__init__.py", line 13, in ? raise ImportError, why ImportError: Failure linking new module: : dyld: python Undefined symbols: /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyArg_ParseTuple expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCObject_FromVoidPtr expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCallable_Check expected to be defined in the executable /Library/Python/2.3/mx/Date === Has anyone experienced this? Any ideas how to fix it? culley From hanser at club-internet.fr Sat Sep 4 17:13:26 2004 From: hanser at club-internet.fr (Pierre Hanser) Date: Mon Feb 6 20:01:05 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 Message-ID: <4139CD86.6020403@club-internet.fr> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 hello seems that python2.4a3 is not compatible with the optimizations in mx/DateTime/mxDateTime/mxDateTime.c on Linux: from mx import DateTime -> core dump if I disable the optims, everything gets ok /* Define these to have the module use free lists (saves malloc calls) */ #define MXDATETIME_FREELIST #define MXDATETIMEDELTA_FREELIST #undef MXDATETIME_FREELIST #undef MXDATETIMEDELTA_FREELIST - -- Pierre -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBOc2GMQ2/jYUwmmwRAn70AJ4puAZm4p10+KTCK/GzLt20VzWd3ACfQzIo H8hLxq8iCE3KGYZ6AR5QUy8= =GA8t -----END PGP SIGNATURE----- From mal at egenix.com Sun Sep 5 19:53:02 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Mon Feb 6 20:01:05 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 In-Reply-To: <4139CD86.6020403@club-internet.fr> References: <4139CD86.6020403@club-internet.fr> Message-ID: <413B446E.40002@egenix.com> Pierre Hanser wrote: > hello > > seems that python2.4a3 is not compatible with the optimizations in > mx/DateTime/mxDateTime/mxDateTime.c on Linux: > > from mx import DateTime -> core dump > > if I disable the optims, everything gets ok > > /* Define these to have the module use free lists (saves malloc calls) */ > #define MXDATETIME_FREELIST > #define MXDATETIMEDELTA_FREELIST > #undef MXDATETIME_FREELIST > #undef MXDATETIMEDELTA_FREELIST This is more likely due to a bug in your C compiler. -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 05 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From aluton at rcseng.ac.uk Wed Sep 8 12:33:02 2004 From: aluton at rcseng.ac.uk (Alex Luton) Date: Mon Feb 6 20:01:05 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: References: Message-ID: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Hi, I'm trying to get the mxODBC DA working, but the product is broken with this error message: Traceback (most recent call last): File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product product=__import__(pname, global_dict, global_dict, silly) File "Products/mxODBCZopeDA/__init__.py", line 7, in ? File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? Any help would be much appreciated. Thanks -- Alex ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 From mal at egenix.com Wed Sep 8 13:37:44 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Mon Feb 6 20:01:05 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> References: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Message-ID: <413EE0F8.6050601@egenix.com> Alex Luton wrote: > Hi, > > I'm trying to get the mxODBC DA working, but the product is broken with > this error message: > > Traceback (most recent call last): > File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product > product=__import__(pname, global_dict, global_dict, silly) > File "Products/mxODBCZopeDA/__init__.py", line 7, in ? > File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? > ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString > > I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? RedHat chose to build Python with 4-byte Unicode which is causing all sorts of problems with pre-built extensions. We will start shipping UCS4 builds of the Zope DA with the next release. Until then, you can try the pre-release of 1.0.9: http://www.egenix.com/files/python/egenix-mxodbc-zopeda-1.0.9.linux-i686-py2.3ucs4.zip -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 08 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From kl at vsen.dk Sat Sep 11 20:21:57 2004 From: kl at vsen.dk (Klavs Klavsen) Date: Mon Feb 6 20:01:05 2006 Subject: [egenix-users] bufferoverflow in egenix? Message-ID: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Hi guys, Just installed a new gcc with stack-smashing protection - and while recompiling modules with stack-smashing protection, I got this message: -- copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l ib/python2.3/site-packages/mx/Misc copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ python2.3/site-packages/mx/Misc writing byte-compilation script '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: SyntaxWarning: name 'debugging' is use d prior to global declaration python: stack smashing attack in function symtable_node() error: command '/usr/bin/python' terminated by signal 6 !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. !!! Function distutils_src_install, Line 43, Exitcode 1 !!! (no error message) so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes one in python) - I haven't done very much research as I can live without egenix - but just wanted to let you know :) p.s. it's python-2.3.3. -- Regards, Klavs Klavsen, GSEC - kl@vsen.dk - http://www.vsen.dk PGP: 7E063C62/2873 188C 968E 600D D8F8 B8DA 3D3A 0B79 7E06 3C62 "Those who do not understand Unix are condemned to reinvent it, poorly." --Henry Spencer From mal at egenix.com Sat Sep 11 23:51:30 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Mon Feb 6 20:01:05 2006 Subject: [egenix-users] bufferoverflow in egenix? In-Reply-To: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> References: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Message-ID: <41436552.6000906@egenix.com> Klavs Klavsen wrote: > Hi guys, > > Just installed a new gcc with stack-smashing protection - and while > recompiling modules with stack-smashing protection, I got this message: > -- > copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l > ib/python2.3/site-packages/mx/Misc > copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ > python2.3/site-packages/mx/Misc > writing byte-compilation script > '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' > /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py > usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: > SyntaxWarning: name 'debugging' is use > d prior to global declaration This is an error that the Python compiler generated. I'd suggest you report to the Python bug tracker. BTW, pytag.py is no longer used or maintained, so you can safely delete it. > python: stack smashing attack in function symtable_node() > error: command '/usr/bin/python' terminated by signal 6 > > !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. > !!! Function distutils_src_install, Line 43, Exitcode 1 > !!! (no error message) > > so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes > one in python) - I haven't done very much research as I can live without > egenix - but just wanted to let you know :) > > p.s. it's python-2.3.3. Thanks, -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 11 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From harrelson at gmail.com Thu Sep 30 17:48:13 2004 From: harrelson at gmail.com (Culley Harrelson) Date: Mon Feb 6 20:01:05 2006 Subject: [egenix-users] OS X 10.3.5: *** You don't have the (right) mxDateTime binaries installed ! Message-ID: <529825a30409301648507c0cf8@mail.gmail.com> I have successfully installed mxDateTime on my OS X 10.3.5 system, using the system Python installation. It installed but as soon as I try to import the module I get: === *** You don't have the (right) mxDateTime binaries installed ! Traceback (most recent call last): File "./testFeDb.py", line 4, in ? from mx import DateTime File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/__init__.py", line 8, in ? from DateTime import * File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/DateTime.py", line 9, in ? from mxDateTime import * File "/Library/Python/2.3/mx/DateTime/mxDateTime/__init__.py", line 13, in ? raise ImportError, why ImportError: Failure linking new module: : dyld: python Undefined symbols: /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyArg_ParseTuple expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCObject_FromVoidPtr expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCallable_Check expected to be defined in the executable /Library/Python/2.3/mx/Date === Has anyone experienced this? Any ideas how to fix it? culley From hanser at club-internet.fr Sat Sep 4 17:13:26 2004 From: hanser at club-internet.fr (Pierre Hanser) Date: Tue Feb 7 08:24:39 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 Message-ID: <4139CD86.6020403@club-internet.fr> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 hello seems that python2.4a3 is not compatible with the optimizations in mx/DateTime/mxDateTime/mxDateTime.c on Linux: from mx import DateTime -> core dump if I disable the optims, everything gets ok /* Define these to have the module use free lists (saves malloc calls) */ #define MXDATETIME_FREELIST #define MXDATETIMEDELTA_FREELIST #undef MXDATETIME_FREELIST #undef MXDATETIMEDELTA_FREELIST - -- Pierre -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBOc2GMQ2/jYUwmmwRAn70AJ4puAZm4p10+KTCK/GzLt20VzWd3ACfQzIo H8hLxq8iCE3KGYZ6AR5QUy8= =GA8t -----END PGP SIGNATURE----- From mal at egenix.com Sun Sep 5 19:53:02 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Tue Feb 7 08:24:40 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 In-Reply-To: <4139CD86.6020403@club-internet.fr> References: <4139CD86.6020403@club-internet.fr> Message-ID: <413B446E.40002@egenix.com> Pierre Hanser wrote: > hello > > seems that python2.4a3 is not compatible with the optimizations in > mx/DateTime/mxDateTime/mxDateTime.c on Linux: > > from mx import DateTime -> core dump > > if I disable the optims, everything gets ok > > /* Define these to have the module use free lists (saves malloc calls) */ > #define MXDATETIME_FREELIST > #define MXDATETIMEDELTA_FREELIST > #undef MXDATETIME_FREELIST > #undef MXDATETIMEDELTA_FREELIST This is more likely due to a bug in your C compiler. -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 05 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From aluton at rcseng.ac.uk Wed Sep 8 12:33:02 2004 From: aluton at rcseng.ac.uk (Alex Luton) Date: Tue Feb 7 08:24:41 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: References: Message-ID: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Hi, I'm trying to get the mxODBC DA working, but the product is broken with this error message: Traceback (most recent call last): File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product product=__import__(pname, global_dict, global_dict, silly) File "Products/mxODBCZopeDA/__init__.py", line 7, in ? File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? Any help would be much appreciated. Thanks -- Alex ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 From mal at egenix.com Wed Sep 8 13:37:44 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Tue Feb 7 08:24:41 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> References: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Message-ID: <413EE0F8.6050601@egenix.com> Alex Luton wrote: > Hi, > > I'm trying to get the mxODBC DA working, but the product is broken with > this error message: > > Traceback (most recent call last): > File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product > product=__import__(pname, global_dict, global_dict, silly) > File "Products/mxODBCZopeDA/__init__.py", line 7, in ? > File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? > ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString > > I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? RedHat chose to build Python with 4-byte Unicode which is causing all sorts of problems with pre-built extensions. We will start shipping UCS4 builds of the Zope DA with the next release. Until then, you can try the pre-release of 1.0.9: http://www.egenix.com/files/python/egenix-mxodbc-zopeda-1.0.9.linux-i686-py2.3ucs4.zip -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 08 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From kl at vsen.dk Sat Sep 11 20:21:57 2004 From: kl at vsen.dk (Klavs Klavsen) Date: Tue Feb 7 08:24:41 2006 Subject: [egenix-users] bufferoverflow in egenix? Message-ID: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Hi guys, Just installed a new gcc with stack-smashing protection - and while recompiling modules with stack-smashing protection, I got this message: -- copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l ib/python2.3/site-packages/mx/Misc copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ python2.3/site-packages/mx/Misc writing byte-compilation script '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: SyntaxWarning: name 'debugging' is use d prior to global declaration python: stack smashing attack in function symtable_node() error: command '/usr/bin/python' terminated by signal 6 !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. !!! Function distutils_src_install, Line 43, Exitcode 1 !!! (no error message) so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes one in python) - I haven't done very much research as I can live without egenix - but just wanted to let you know :) p.s. it's python-2.3.3. -- Regards, Klavs Klavsen, GSEC - kl@vsen.dk - http://www.vsen.dk PGP: 7E063C62/2873 188C 968E 600D D8F8 B8DA 3D3A 0B79 7E06 3C62 "Those who do not understand Unix are condemned to reinvent it, poorly." --Henry Spencer From mal at egenix.com Sat Sep 11 23:51:30 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Tue Feb 7 08:24:41 2006 Subject: [egenix-users] bufferoverflow in egenix? In-Reply-To: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> References: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Message-ID: <41436552.6000906@egenix.com> Klavs Klavsen wrote: > Hi guys, > > Just installed a new gcc with stack-smashing protection - and while > recompiling modules with stack-smashing protection, I got this message: > -- > copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l > ib/python2.3/site-packages/mx/Misc > copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ > python2.3/site-packages/mx/Misc > writing byte-compilation script > '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' > /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py > usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: > SyntaxWarning: name 'debugging' is use > d prior to global declaration This is an error that the Python compiler generated. I'd suggest you report to the Python bug tracker. BTW, pytag.py is no longer used or maintained, so you can safely delete it. > python: stack smashing attack in function symtable_node() > error: command '/usr/bin/python' terminated by signal 6 > > !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. > !!! Function distutils_src_install, Line 43, Exitcode 1 > !!! (no error message) > > so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes > one in python) - I haven't done very much research as I can live without > egenix - but just wanted to let you know :) > > p.s. it's python-2.3.3. Thanks, -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 11 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From harrelson at gmail.com Thu Sep 30 17:48:13 2004 From: harrelson at gmail.com (Culley Harrelson) Date: Tue Feb 7 08:24:41 2006 Subject: [egenix-users] OS X 10.3.5: *** You don't have the (right) mxDateTime binaries installed ! Message-ID: <529825a30409301648507c0cf8@mail.gmail.com> I have successfully installed mxDateTime on my OS X 10.3.5 system, using the system Python installation. It installed but as soon as I try to import the module I get: === *** You don't have the (right) mxDateTime binaries installed ! Traceback (most recent call last): File "./testFeDb.py", line 4, in ? from mx import DateTime File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/__init__.py", line 8, in ? from DateTime import * File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/DateTime.py", line 9, in ? from mxDateTime import * File "/Library/Python/2.3/mx/DateTime/mxDateTime/__init__.py", line 13, in ? raise ImportError, why ImportError: Failure linking new module: : dyld: python Undefined symbols: /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyArg_ParseTuple expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCObject_FromVoidPtr expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCallable_Check expected to be defined in the executable /Library/Python/2.3/mx/Date === Has anyone experienced this? Any ideas how to fix it? culley From hanser at club-internet.fr Sat Sep 4 17:13:26 2004 From: hanser at club-internet.fr (Pierre Hanser) Date: Tue Feb 7 12:03:30 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 Message-ID: <4139CD86.6020403@club-internet.fr> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 hello seems that python2.4a3 is not compatible with the optimizations in mx/DateTime/mxDateTime/mxDateTime.c on Linux: from mx import DateTime -> core dump if I disable the optims, everything gets ok /* Define these to have the module use free lists (saves malloc calls) */ #define MXDATETIME_FREELIST #define MXDATETIMEDELTA_FREELIST #undef MXDATETIME_FREELIST #undef MXDATETIMEDELTA_FREELIST - -- Pierre -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBOc2GMQ2/jYUwmmwRAn70AJ4puAZm4p10+KTCK/GzLt20VzWd3ACfQzIo H8hLxq8iCE3KGYZ6AR5QUy8= =GA8t -----END PGP SIGNATURE----- From mal at egenix.com Sun Sep 5 19:53:02 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Tue Feb 7 12:03:30 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 In-Reply-To: <4139CD86.6020403@club-internet.fr> References: <4139CD86.6020403@club-internet.fr> Message-ID: <413B446E.40002@egenix.com> Pierre Hanser wrote: > hello > > seems that python2.4a3 is not compatible with the optimizations in > mx/DateTime/mxDateTime/mxDateTime.c on Linux: > > from mx import DateTime -> core dump > > if I disable the optims, everything gets ok > > /* Define these to have the module use free lists (saves malloc calls) */ > #define MXDATETIME_FREELIST > #define MXDATETIMEDELTA_FREELIST > #undef MXDATETIME_FREELIST > #undef MXDATETIMEDELTA_FREELIST This is more likely due to a bug in your C compiler. -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 05 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From aluton at rcseng.ac.uk Wed Sep 8 12:33:02 2004 From: aluton at rcseng.ac.uk (Alex Luton) Date: Tue Feb 7 12:03:30 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: References: Message-ID: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Hi, I'm trying to get the mxODBC DA working, but the product is broken with this error message: Traceback (most recent call last): File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product product=__import__(pname, global_dict, global_dict, silly) File "Products/mxODBCZopeDA/__init__.py", line 7, in ? File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? Any help would be much appreciated. Thanks -- Alex ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 From mal at egenix.com Wed Sep 8 13:37:44 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Tue Feb 7 12:03:30 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> References: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Message-ID: <413EE0F8.6050601@egenix.com> Alex Luton wrote: > Hi, > > I'm trying to get the mxODBC DA working, but the product is broken with > this error message: > > Traceback (most recent call last): > File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product > product=__import__(pname, global_dict, global_dict, silly) > File "Products/mxODBCZopeDA/__init__.py", line 7, in ? > File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? > ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString > > I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? RedHat chose to build Python with 4-byte Unicode which is causing all sorts of problems with pre-built extensions. We will start shipping UCS4 builds of the Zope DA with the next release. Until then, you can try the pre-release of 1.0.9: http://www.egenix.com/files/python/egenix-mxodbc-zopeda-1.0.9.linux-i686-py2.3ucs4.zip -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 08 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From kl at vsen.dk Sat Sep 11 20:21:57 2004 From: kl at vsen.dk (Klavs Klavsen) Date: Tue Feb 7 12:03:30 2006 Subject: [egenix-users] bufferoverflow in egenix? Message-ID: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Hi guys, Just installed a new gcc with stack-smashing protection - and while recompiling modules with stack-smashing protection, I got this message: -- copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l ib/python2.3/site-packages/mx/Misc copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ python2.3/site-packages/mx/Misc writing byte-compilation script '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: SyntaxWarning: name 'debugging' is use d prior to global declaration python: stack smashing attack in function symtable_node() error: command '/usr/bin/python' terminated by signal 6 !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. !!! Function distutils_src_install, Line 43, Exitcode 1 !!! (no error message) so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes one in python) - I haven't done very much research as I can live without egenix - but just wanted to let you know :) p.s. it's python-2.3.3. -- Regards, Klavs Klavsen, GSEC - kl@vsen.dk - http://www.vsen.dk PGP: 7E063C62/2873 188C 968E 600D D8F8 B8DA 3D3A 0B79 7E06 3C62 "Those who do not understand Unix are condemned to reinvent it, poorly." --Henry Spencer From mal at egenix.com Sat Sep 11 23:51:30 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Tue Feb 7 12:03:30 2006 Subject: [egenix-users] bufferoverflow in egenix? In-Reply-To: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> References: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Message-ID: <41436552.6000906@egenix.com> Klavs Klavsen wrote: > Hi guys, > > Just installed a new gcc with stack-smashing protection - and while > recompiling modules with stack-smashing protection, I got this message: > -- > copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l > ib/python2.3/site-packages/mx/Misc > copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ > python2.3/site-packages/mx/Misc > writing byte-compilation script > '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' > /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py > usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: > SyntaxWarning: name 'debugging' is use > d prior to global declaration This is an error that the Python compiler generated. I'd suggest you report to the Python bug tracker. BTW, pytag.py is no longer used or maintained, so you can safely delete it. > python: stack smashing attack in function symtable_node() > error: command '/usr/bin/python' terminated by signal 6 > > !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. > !!! Function distutils_src_install, Line 43, Exitcode 1 > !!! (no error message) > > so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes > one in python) - I haven't done very much research as I can live without > egenix - but just wanted to let you know :) > > p.s. it's python-2.3.3. Thanks, -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 11 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From harrelson at gmail.com Thu Sep 30 17:48:13 2004 From: harrelson at gmail.com (Culley Harrelson) Date: Tue Feb 7 12:03:30 2006 Subject: [egenix-users] OS X 10.3.5: *** You don't have the (right) mxDateTime binaries installed ! Message-ID: <529825a30409301648507c0cf8@mail.gmail.com> I have successfully installed mxDateTime on my OS X 10.3.5 system, using the system Python installation. It installed but as soon as I try to import the module I get: === *** You don't have the (right) mxDateTime binaries installed ! Traceback (most recent call last): File "./testFeDb.py", line 4, in ? from mx import DateTime File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/__init__.py", line 8, in ? from DateTime import * File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/DateTime.py", line 9, in ? from mxDateTime import * File "/Library/Python/2.3/mx/DateTime/mxDateTime/__init__.py", line 13, in ? raise ImportError, why ImportError: Failure linking new module: : dyld: python Undefined symbols: /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyArg_ParseTuple expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCObject_FromVoidPtr expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCallable_Check expected to be defined in the executable /Library/Python/2.3/mx/Date === Has anyone experienced this? Any ideas how to fix it? culley From hanser at club-internet.fr Sat Sep 4 17:13:26 2004 From: hanser at club-internet.fr (Pierre Hanser) Date: Tue Feb 7 16:01:14 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 Message-ID: <4139CD86.6020403@club-internet.fr> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 hello seems that python2.4a3 is not compatible with the optimizations in mx/DateTime/mxDateTime/mxDateTime.c on Linux: from mx import DateTime -> core dump if I disable the optims, everything gets ok /* Define these to have the module use free lists (saves malloc calls) */ #define MXDATETIME_FREELIST #define MXDATETIMEDELTA_FREELIST #undef MXDATETIME_FREELIST #undef MXDATETIMEDELTA_FREELIST - -- Pierre -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBOc2GMQ2/jYUwmmwRAn70AJ4puAZm4p10+KTCK/GzLt20VzWd3ACfQzIo H8hLxq8iCE3KGYZ6AR5QUy8= =GA8t -----END PGP SIGNATURE----- From mal at egenix.com Sun Sep 5 19:53:02 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Tue Feb 7 16:01:14 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 In-Reply-To: <4139CD86.6020403@club-internet.fr> References: <4139CD86.6020403@club-internet.fr> Message-ID: <413B446E.40002@egenix.com> Pierre Hanser wrote: > hello > > seems that python2.4a3 is not compatible with the optimizations in > mx/DateTime/mxDateTime/mxDateTime.c on Linux: > > from mx import DateTime -> core dump > > if I disable the optims, everything gets ok > > /* Define these to have the module use free lists (saves malloc calls) */ > #define MXDATETIME_FREELIST > #define MXDATETIMEDELTA_FREELIST > #undef MXDATETIME_FREELIST > #undef MXDATETIMEDELTA_FREELIST This is more likely due to a bug in your C compiler. -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 05 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From aluton at rcseng.ac.uk Wed Sep 8 12:33:02 2004 From: aluton at rcseng.ac.uk (Alex Luton) Date: Tue Feb 7 16:01:14 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: References: Message-ID: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Hi, I'm trying to get the mxODBC DA working, but the product is broken with this error message: Traceback (most recent call last): File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product product=__import__(pname, global_dict, global_dict, silly) File "Products/mxODBCZopeDA/__init__.py", line 7, in ? File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? Any help would be much appreciated. Thanks -- Alex ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 From mal at egenix.com Wed Sep 8 13:37:44 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Tue Feb 7 16:01:14 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> References: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Message-ID: <413EE0F8.6050601@egenix.com> Alex Luton wrote: > Hi, > > I'm trying to get the mxODBC DA working, but the product is broken with > this error message: > > Traceback (most recent call last): > File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product > product=__import__(pname, global_dict, global_dict, silly) > File "Products/mxODBCZopeDA/__init__.py", line 7, in ? > File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? > ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString > > I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? RedHat chose to build Python with 4-byte Unicode which is causing all sorts of problems with pre-built extensions. We will start shipping UCS4 builds of the Zope DA with the next release. Until then, you can try the pre-release of 1.0.9: http://www.egenix.com/files/python/egenix-mxodbc-zopeda-1.0.9.linux-i686-py2.3ucs4.zip -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 08 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From kl at vsen.dk Sat Sep 11 20:21:57 2004 From: kl at vsen.dk (Klavs Klavsen) Date: Tue Feb 7 16:01:14 2006 Subject: [egenix-users] bufferoverflow in egenix? Message-ID: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Hi guys, Just installed a new gcc with stack-smashing protection - and while recompiling modules with stack-smashing protection, I got this message: -- copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l ib/python2.3/site-packages/mx/Misc copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ python2.3/site-packages/mx/Misc writing byte-compilation script '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: SyntaxWarning: name 'debugging' is use d prior to global declaration python: stack smashing attack in function symtable_node() error: command '/usr/bin/python' terminated by signal 6 !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. !!! Function distutils_src_install, Line 43, Exitcode 1 !!! (no error message) so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes one in python) - I haven't done very much research as I can live without egenix - but just wanted to let you know :) p.s. it's python-2.3.3. -- Regards, Klavs Klavsen, GSEC - kl@vsen.dk - http://www.vsen.dk PGP: 7E063C62/2873 188C 968E 600D D8F8 B8DA 3D3A 0B79 7E06 3C62 "Those who do not understand Unix are condemned to reinvent it, poorly." --Henry Spencer From mal at egenix.com Sat Sep 11 23:51:30 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Tue Feb 7 16:01:14 2006 Subject: [egenix-users] bufferoverflow in egenix? In-Reply-To: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> References: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Message-ID: <41436552.6000906@egenix.com> Klavs Klavsen wrote: > Hi guys, > > Just installed a new gcc with stack-smashing protection - and while > recompiling modules with stack-smashing protection, I got this message: > -- > copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l > ib/python2.3/site-packages/mx/Misc > copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ > python2.3/site-packages/mx/Misc > writing byte-compilation script > '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' > /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py > usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: > SyntaxWarning: name 'debugging' is use > d prior to global declaration This is an error that the Python compiler generated. I'd suggest you report to the Python bug tracker. BTW, pytag.py is no longer used or maintained, so you can safely delete it. > python: stack smashing attack in function symtable_node() > error: command '/usr/bin/python' terminated by signal 6 > > !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. > !!! Function distutils_src_install, Line 43, Exitcode 1 > !!! (no error message) > > so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes > one in python) - I haven't done very much research as I can live without > egenix - but just wanted to let you know :) > > p.s. it's python-2.3.3. Thanks, -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 11 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From harrelson at gmail.com Thu Sep 30 17:48:13 2004 From: harrelson at gmail.com (Culley Harrelson) Date: Tue Feb 7 16:01:14 2006 Subject: [egenix-users] OS X 10.3.5: *** You don't have the (right) mxDateTime binaries installed ! Message-ID: <529825a30409301648507c0cf8@mail.gmail.com> I have successfully installed mxDateTime on my OS X 10.3.5 system, using the system Python installation. It installed but as soon as I try to import the module I get: === *** You don't have the (right) mxDateTime binaries installed ! Traceback (most recent call last): File "./testFeDb.py", line 4, in ? from mx import DateTime File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/__init__.py", line 8, in ? from DateTime import * File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/DateTime.py", line 9, in ? from mxDateTime import * File "/Library/Python/2.3/mx/DateTime/mxDateTime/__init__.py", line 13, in ? raise ImportError, why ImportError: Failure linking new module: : dyld: python Undefined symbols: /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyArg_ParseTuple expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCObject_FromVoidPtr expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCallable_Check expected to be defined in the executable /Library/Python/2.3/mx/Date === Has anyone experienced this? Any ideas how to fix it? culley From hanser at club-internet.fr Sat Sep 4 17:13:26 2004 From: hanser at club-internet.fr (Pierre Hanser) Date: Tue Feb 7 20:01:10 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 Message-ID: <4139CD86.6020403@club-internet.fr> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 hello seems that python2.4a3 is not compatible with the optimizations in mx/DateTime/mxDateTime/mxDateTime.c on Linux: from mx import DateTime -> core dump if I disable the optims, everything gets ok /* Define these to have the module use free lists (saves malloc calls) */ #define MXDATETIME_FREELIST #define MXDATETIMEDELTA_FREELIST #undef MXDATETIME_FREELIST #undef MXDATETIMEDELTA_FREELIST - -- Pierre -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBOc2GMQ2/jYUwmmwRAn70AJ4puAZm4p10+KTCK/GzLt20VzWd3ACfQzIo H8hLxq8iCE3KGYZ6AR5QUy8= =GA8t -----END PGP SIGNATURE----- From mal at egenix.com Sun Sep 5 19:53:02 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Tue Feb 7 20:01:10 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 In-Reply-To: <4139CD86.6020403@club-internet.fr> References: <4139CD86.6020403@club-internet.fr> Message-ID: <413B446E.40002@egenix.com> Pierre Hanser wrote: > hello > > seems that python2.4a3 is not compatible with the optimizations in > mx/DateTime/mxDateTime/mxDateTime.c on Linux: > > from mx import DateTime -> core dump > > if I disable the optims, everything gets ok > > /* Define these to have the module use free lists (saves malloc calls) */ > #define MXDATETIME_FREELIST > #define MXDATETIMEDELTA_FREELIST > #undef MXDATETIME_FREELIST > #undef MXDATETIMEDELTA_FREELIST This is more likely due to a bug in your C compiler. -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 05 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From aluton at rcseng.ac.uk Wed Sep 8 12:33:02 2004 From: aluton at rcseng.ac.uk (Alex Luton) Date: Tue Feb 7 20:01:10 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: References: Message-ID: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Hi, I'm trying to get the mxODBC DA working, but the product is broken with this error message: Traceback (most recent call last): File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product product=__import__(pname, global_dict, global_dict, silly) File "Products/mxODBCZopeDA/__init__.py", line 7, in ? File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? Any help would be much appreciated. Thanks -- Alex ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 From mal at egenix.com Wed Sep 8 13:37:44 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Tue Feb 7 20:01:10 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> References: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Message-ID: <413EE0F8.6050601@egenix.com> Alex Luton wrote: > Hi, > > I'm trying to get the mxODBC DA working, but the product is broken with > this error message: > > Traceback (most recent call last): > File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product > product=__import__(pname, global_dict, global_dict, silly) > File "Products/mxODBCZopeDA/__init__.py", line 7, in ? > File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? > ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString > > I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? RedHat chose to build Python with 4-byte Unicode which is causing all sorts of problems with pre-built extensions. We will start shipping UCS4 builds of the Zope DA with the next release. Until then, you can try the pre-release of 1.0.9: http://www.egenix.com/files/python/egenix-mxodbc-zopeda-1.0.9.linux-i686-py2.3ucs4.zip -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 08 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From kl at vsen.dk Sat Sep 11 20:21:57 2004 From: kl at vsen.dk (Klavs Klavsen) Date: Tue Feb 7 20:01:10 2006 Subject: [egenix-users] bufferoverflow in egenix? Message-ID: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Hi guys, Just installed a new gcc with stack-smashing protection - and while recompiling modules with stack-smashing protection, I got this message: -- copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l ib/python2.3/site-packages/mx/Misc copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ python2.3/site-packages/mx/Misc writing byte-compilation script '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: SyntaxWarning: name 'debugging' is use d prior to global declaration python: stack smashing attack in function symtable_node() error: command '/usr/bin/python' terminated by signal 6 !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. !!! Function distutils_src_install, Line 43, Exitcode 1 !!! (no error message) so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes one in python) - I haven't done very much research as I can live without egenix - but just wanted to let you know :) p.s. it's python-2.3.3. -- Regards, Klavs Klavsen, GSEC - kl@vsen.dk - http://www.vsen.dk PGP: 7E063C62/2873 188C 968E 600D D8F8 B8DA 3D3A 0B79 7E06 3C62 "Those who do not understand Unix are condemned to reinvent it, poorly." --Henry Spencer From mal at egenix.com Sat Sep 11 23:51:30 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Tue Feb 7 20:01:10 2006 Subject: [egenix-users] bufferoverflow in egenix? In-Reply-To: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> References: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Message-ID: <41436552.6000906@egenix.com> Klavs Klavsen wrote: > Hi guys, > > Just installed a new gcc with stack-smashing protection - and while > recompiling modules with stack-smashing protection, I got this message: > -- > copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l > ib/python2.3/site-packages/mx/Misc > copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ > python2.3/site-packages/mx/Misc > writing byte-compilation script > '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' > /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py > usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: > SyntaxWarning: name 'debugging' is use > d prior to global declaration This is an error that the Python compiler generated. I'd suggest you report to the Python bug tracker. BTW, pytag.py is no longer used or maintained, so you can safely delete it. > python: stack smashing attack in function symtable_node() > error: command '/usr/bin/python' terminated by signal 6 > > !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. > !!! Function distutils_src_install, Line 43, Exitcode 1 > !!! (no error message) > > so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes > one in python) - I haven't done very much research as I can live without > egenix - but just wanted to let you know :) > > p.s. it's python-2.3.3. Thanks, -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 11 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From harrelson at gmail.com Thu Sep 30 17:48:13 2004 From: harrelson at gmail.com (Culley Harrelson) Date: Tue Feb 7 20:01:10 2006 Subject: [egenix-users] OS X 10.3.5: *** You don't have the (right) mxDateTime binaries installed ! Message-ID: <529825a30409301648507c0cf8@mail.gmail.com> I have successfully installed mxDateTime on my OS X 10.3.5 system, using the system Python installation. It installed but as soon as I try to import the module I get: === *** You don't have the (right) mxDateTime binaries installed ! Traceback (most recent call last): File "./testFeDb.py", line 4, in ? from mx import DateTime File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/__init__.py", line 8, in ? from DateTime import * File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/DateTime.py", line 9, in ? from mxDateTime import * File "/Library/Python/2.3/mx/DateTime/mxDateTime/__init__.py", line 13, in ? raise ImportError, why ImportError: Failure linking new module: : dyld: python Undefined symbols: /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyArg_ParseTuple expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCObject_FromVoidPtr expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCallable_Check expected to be defined in the executable /Library/Python/2.3/mx/Date === Has anyone experienced this? Any ideas how to fix it? culley From hanser at club-internet.fr Sat Sep 4 17:13:26 2004 From: hanser at club-internet.fr (Pierre Hanser) Date: Wed Feb 8 08:23:30 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 Message-ID: <4139CD86.6020403@club-internet.fr> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 hello seems that python2.4a3 is not compatible with the optimizations in mx/DateTime/mxDateTime/mxDateTime.c on Linux: from mx import DateTime -> core dump if I disable the optims, everything gets ok /* Define these to have the module use free lists (saves malloc calls) */ #define MXDATETIME_FREELIST #define MXDATETIMEDELTA_FREELIST #undef MXDATETIME_FREELIST #undef MXDATETIMEDELTA_FREELIST - -- Pierre -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBOc2GMQ2/jYUwmmwRAn70AJ4puAZm4p10+KTCK/GzLt20VzWd3ACfQzIo H8hLxq8iCE3KGYZ6AR5QUy8= =GA8t -----END PGP SIGNATURE----- From mal at egenix.com Sun Sep 5 19:53:02 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Wed Feb 8 08:23:31 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 In-Reply-To: <4139CD86.6020403@club-internet.fr> References: <4139CD86.6020403@club-internet.fr> Message-ID: <413B446E.40002@egenix.com> Pierre Hanser wrote: > hello > > seems that python2.4a3 is not compatible with the optimizations in > mx/DateTime/mxDateTime/mxDateTime.c on Linux: > > from mx import DateTime -> core dump > > if I disable the optims, everything gets ok > > /* Define these to have the module use free lists (saves malloc calls) */ > #define MXDATETIME_FREELIST > #define MXDATETIMEDELTA_FREELIST > #undef MXDATETIME_FREELIST > #undef MXDATETIMEDELTA_FREELIST This is more likely due to a bug in your C compiler. -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 05 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From aluton at rcseng.ac.uk Wed Sep 8 12:33:02 2004 From: aluton at rcseng.ac.uk (Alex Luton) Date: Wed Feb 8 08:23:31 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: References: Message-ID: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Hi, I'm trying to get the mxODBC DA working, but the product is broken with this error message: Traceback (most recent call last): File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product product=__import__(pname, global_dict, global_dict, silly) File "Products/mxODBCZopeDA/__init__.py", line 7, in ? File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? Any help would be much appreciated. Thanks -- Alex ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 From mal at egenix.com Wed Sep 8 13:37:44 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Wed Feb 8 08:23:31 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> References: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Message-ID: <413EE0F8.6050601@egenix.com> Alex Luton wrote: > Hi, > > I'm trying to get the mxODBC DA working, but the product is broken with > this error message: > > Traceback (most recent call last): > File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product > product=__import__(pname, global_dict, global_dict, silly) > File "Products/mxODBCZopeDA/__init__.py", line 7, in ? > File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? > ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString > > I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? RedHat chose to build Python with 4-byte Unicode which is causing all sorts of problems with pre-built extensions. We will start shipping UCS4 builds of the Zope DA with the next release. Until then, you can try the pre-release of 1.0.9: http://www.egenix.com/files/python/egenix-mxodbc-zopeda-1.0.9.linux-i686-py2.3ucs4.zip -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 08 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From kl at vsen.dk Sat Sep 11 20:21:57 2004 From: kl at vsen.dk (Klavs Klavsen) Date: Wed Feb 8 08:23:31 2006 Subject: [egenix-users] bufferoverflow in egenix? Message-ID: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Hi guys, Just installed a new gcc with stack-smashing protection - and while recompiling modules with stack-smashing protection, I got this message: -- copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l ib/python2.3/site-packages/mx/Misc copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ python2.3/site-packages/mx/Misc writing byte-compilation script '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: SyntaxWarning: name 'debugging' is use d prior to global declaration python: stack smashing attack in function symtable_node() error: command '/usr/bin/python' terminated by signal 6 !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. !!! Function distutils_src_install, Line 43, Exitcode 1 !!! (no error message) so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes one in python) - I haven't done very much research as I can live without egenix - but just wanted to let you know :) p.s. it's python-2.3.3. -- Regards, Klavs Klavsen, GSEC - kl@vsen.dk - http://www.vsen.dk PGP: 7E063C62/2873 188C 968E 600D D8F8 B8DA 3D3A 0B79 7E06 3C62 "Those who do not understand Unix are condemned to reinvent it, poorly." --Henry Spencer From mal at egenix.com Sat Sep 11 23:51:30 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Wed Feb 8 08:23:31 2006 Subject: [egenix-users] bufferoverflow in egenix? In-Reply-To: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> References: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Message-ID: <41436552.6000906@egenix.com> Klavs Klavsen wrote: > Hi guys, > > Just installed a new gcc with stack-smashing protection - and while > recompiling modules with stack-smashing protection, I got this message: > -- > copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l > ib/python2.3/site-packages/mx/Misc > copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ > python2.3/site-packages/mx/Misc > writing byte-compilation script > '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' > /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py > usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: > SyntaxWarning: name 'debugging' is use > d prior to global declaration This is an error that the Python compiler generated. I'd suggest you report to the Python bug tracker. BTW, pytag.py is no longer used or maintained, so you can safely delete it. > python: stack smashing attack in function symtable_node() > error: command '/usr/bin/python' terminated by signal 6 > > !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. > !!! Function distutils_src_install, Line 43, Exitcode 1 > !!! (no error message) > > so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes > one in python) - I haven't done very much research as I can live without > egenix - but just wanted to let you know :) > > p.s. it's python-2.3.3. Thanks, -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 11 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From harrelson at gmail.com Thu Sep 30 17:48:13 2004 From: harrelson at gmail.com (Culley Harrelson) Date: Wed Feb 8 08:23:31 2006 Subject: [egenix-users] OS X 10.3.5: *** You don't have the (right) mxDateTime binaries installed ! Message-ID: <529825a30409301648507c0cf8@mail.gmail.com> I have successfully installed mxDateTime on my OS X 10.3.5 system, using the system Python installation. It installed but as soon as I try to import the module I get: === *** You don't have the (right) mxDateTime binaries installed ! Traceback (most recent call last): File "./testFeDb.py", line 4, in ? from mx import DateTime File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/__init__.py", line 8, in ? from DateTime import * File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/DateTime.py", line 9, in ? from mxDateTime import * File "/Library/Python/2.3/mx/DateTime/mxDateTime/__init__.py", line 13, in ? raise ImportError, why ImportError: Failure linking new module: : dyld: python Undefined symbols: /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyArg_ParseTuple expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCObject_FromVoidPtr expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCallable_Check expected to be defined in the executable /Library/Python/2.3/mx/Date === Has anyone experienced this? Any ideas how to fix it? culley From hanser at club-internet.fr Sat Sep 4 17:13:26 2004 From: hanser at club-internet.fr (Pierre Hanser) Date: Wed Feb 8 12:03:32 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 Message-ID: <4139CD86.6020403@club-internet.fr> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 hello seems that python2.4a3 is not compatible with the optimizations in mx/DateTime/mxDateTime/mxDateTime.c on Linux: from mx import DateTime -> core dump if I disable the optims, everything gets ok /* Define these to have the module use free lists (saves malloc calls) */ #define MXDATETIME_FREELIST #define MXDATETIMEDELTA_FREELIST #undef MXDATETIME_FREELIST #undef MXDATETIMEDELTA_FREELIST - -- Pierre -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBOc2GMQ2/jYUwmmwRAn70AJ4puAZm4p10+KTCK/GzLt20VzWd3ACfQzIo H8hLxq8iCE3KGYZ6AR5QUy8= =GA8t -----END PGP SIGNATURE----- From mal at egenix.com Sun Sep 5 19:53:02 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Wed Feb 8 12:03:32 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 In-Reply-To: <4139CD86.6020403@club-internet.fr> References: <4139CD86.6020403@club-internet.fr> Message-ID: <413B446E.40002@egenix.com> Pierre Hanser wrote: > hello > > seems that python2.4a3 is not compatible with the optimizations in > mx/DateTime/mxDateTime/mxDateTime.c on Linux: > > from mx import DateTime -> core dump > > if I disable the optims, everything gets ok > > /* Define these to have the module use free lists (saves malloc calls) */ > #define MXDATETIME_FREELIST > #define MXDATETIMEDELTA_FREELIST > #undef MXDATETIME_FREELIST > #undef MXDATETIMEDELTA_FREELIST This is more likely due to a bug in your C compiler. -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 05 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From aluton at rcseng.ac.uk Wed Sep 8 12:33:02 2004 From: aluton at rcseng.ac.uk (Alex Luton) Date: Wed Feb 8 12:03:32 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: References: Message-ID: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Hi, I'm trying to get the mxODBC DA working, but the product is broken with this error message: Traceback (most recent call last): File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product product=__import__(pname, global_dict, global_dict, silly) File "Products/mxODBCZopeDA/__init__.py", line 7, in ? File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? Any help would be much appreciated. Thanks -- Alex ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 From mal at egenix.com Wed Sep 8 13:37:44 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Wed Feb 8 12:03:32 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> References: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Message-ID: <413EE0F8.6050601@egenix.com> Alex Luton wrote: > Hi, > > I'm trying to get the mxODBC DA working, but the product is broken with > this error message: > > Traceback (most recent call last): > File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product > product=__import__(pname, global_dict, global_dict, silly) > File "Products/mxODBCZopeDA/__init__.py", line 7, in ? > File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? > ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString > > I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? RedHat chose to build Python with 4-byte Unicode which is causing all sorts of problems with pre-built extensions. We will start shipping UCS4 builds of the Zope DA with the next release. Until then, you can try the pre-release of 1.0.9: http://www.egenix.com/files/python/egenix-mxodbc-zopeda-1.0.9.linux-i686-py2.3ucs4.zip -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 08 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From kl at vsen.dk Sat Sep 11 20:21:57 2004 From: kl at vsen.dk (Klavs Klavsen) Date: Wed Feb 8 12:03:32 2006 Subject: [egenix-users] bufferoverflow in egenix? Message-ID: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Hi guys, Just installed a new gcc with stack-smashing protection - and while recompiling modules with stack-smashing protection, I got this message: -- copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l ib/python2.3/site-packages/mx/Misc copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ python2.3/site-packages/mx/Misc writing byte-compilation script '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: SyntaxWarning: name 'debugging' is use d prior to global declaration python: stack smashing attack in function symtable_node() error: command '/usr/bin/python' terminated by signal 6 !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. !!! Function distutils_src_install, Line 43, Exitcode 1 !!! (no error message) so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes one in python) - I haven't done very much research as I can live without egenix - but just wanted to let you know :) p.s. it's python-2.3.3. -- Regards, Klavs Klavsen, GSEC - kl@vsen.dk - http://www.vsen.dk PGP: 7E063C62/2873 188C 968E 600D D8F8 B8DA 3D3A 0B79 7E06 3C62 "Those who do not understand Unix are condemned to reinvent it, poorly." --Henry Spencer From mal at egenix.com Sat Sep 11 23:51:30 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Wed Feb 8 12:03:32 2006 Subject: [egenix-users] bufferoverflow in egenix? In-Reply-To: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> References: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Message-ID: <41436552.6000906@egenix.com> Klavs Klavsen wrote: > Hi guys, > > Just installed a new gcc with stack-smashing protection - and while > recompiling modules with stack-smashing protection, I got this message: > -- > copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l > ib/python2.3/site-packages/mx/Misc > copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ > python2.3/site-packages/mx/Misc > writing byte-compilation script > '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' > /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py > usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: > SyntaxWarning: name 'debugging' is use > d prior to global declaration This is an error that the Python compiler generated. I'd suggest you report to the Python bug tracker. BTW, pytag.py is no longer used or maintained, so you can safely delete it. > python: stack smashing attack in function symtable_node() > error: command '/usr/bin/python' terminated by signal 6 > > !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. > !!! Function distutils_src_install, Line 43, Exitcode 1 > !!! (no error message) > > so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes > one in python) - I haven't done very much research as I can live without > egenix - but just wanted to let you know :) > > p.s. it's python-2.3.3. Thanks, -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 11 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From harrelson at gmail.com Thu Sep 30 17:48:13 2004 From: harrelson at gmail.com (Culley Harrelson) Date: Wed Feb 8 12:03:32 2006 Subject: [egenix-users] OS X 10.3.5: *** You don't have the (right) mxDateTime binaries installed ! Message-ID: <529825a30409301648507c0cf8@mail.gmail.com> I have successfully installed mxDateTime on my OS X 10.3.5 system, using the system Python installation. It installed but as soon as I try to import the module I get: === *** You don't have the (right) mxDateTime binaries installed ! Traceback (most recent call last): File "./testFeDb.py", line 4, in ? from mx import DateTime File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/__init__.py", line 8, in ? from DateTime import * File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/DateTime.py", line 9, in ? from mxDateTime import * File "/Library/Python/2.3/mx/DateTime/mxDateTime/__init__.py", line 13, in ? raise ImportError, why ImportError: Failure linking new module: : dyld: python Undefined symbols: /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyArg_ParseTuple expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCObject_FromVoidPtr expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCallable_Check expected to be defined in the executable /Library/Python/2.3/mx/Date === Has anyone experienced this? Any ideas how to fix it? culley From hanser at club-internet.fr Sat Sep 4 17:13:26 2004 From: hanser at club-internet.fr (Pierre Hanser) Date: Wed Feb 8 16:01:23 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 Message-ID: <4139CD86.6020403@club-internet.fr> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 hello seems that python2.4a3 is not compatible with the optimizations in mx/DateTime/mxDateTime/mxDateTime.c on Linux: from mx import DateTime -> core dump if I disable the optims, everything gets ok /* Define these to have the module use free lists (saves malloc calls) */ #define MXDATETIME_FREELIST #define MXDATETIMEDELTA_FREELIST #undef MXDATETIME_FREELIST #undef MXDATETIMEDELTA_FREELIST - -- Pierre -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBOc2GMQ2/jYUwmmwRAn70AJ4puAZm4p10+KTCK/GzLt20VzWd3ACfQzIo H8hLxq8iCE3KGYZ6AR5QUy8= =GA8t -----END PGP SIGNATURE----- From mal at egenix.com Sun Sep 5 19:53:02 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Wed Feb 8 16:01:23 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 In-Reply-To: <4139CD86.6020403@club-internet.fr> References: <4139CD86.6020403@club-internet.fr> Message-ID: <413B446E.40002@egenix.com> Pierre Hanser wrote: > hello > > seems that python2.4a3 is not compatible with the optimizations in > mx/DateTime/mxDateTime/mxDateTime.c on Linux: > > from mx import DateTime -> core dump > > if I disable the optims, everything gets ok > > /* Define these to have the module use free lists (saves malloc calls) */ > #define MXDATETIME_FREELIST > #define MXDATETIMEDELTA_FREELIST > #undef MXDATETIME_FREELIST > #undef MXDATETIMEDELTA_FREELIST This is more likely due to a bug in your C compiler. -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 05 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From aluton at rcseng.ac.uk Wed Sep 8 12:33:02 2004 From: aluton at rcseng.ac.uk (Alex Luton) Date: Wed Feb 8 16:01:23 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: References: Message-ID: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Hi, I'm trying to get the mxODBC DA working, but the product is broken with this error message: Traceback (most recent call last): File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product product=__import__(pname, global_dict, global_dict, silly) File "Products/mxODBCZopeDA/__init__.py", line 7, in ? File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? Any help would be much appreciated. Thanks -- Alex ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 From mal at egenix.com Wed Sep 8 13:37:44 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Wed Feb 8 16:01:23 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> References: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Message-ID: <413EE0F8.6050601@egenix.com> Alex Luton wrote: > Hi, > > I'm trying to get the mxODBC DA working, but the product is broken with > this error message: > > Traceback (most recent call last): > File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product > product=__import__(pname, global_dict, global_dict, silly) > File "Products/mxODBCZopeDA/__init__.py", line 7, in ? > File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? > ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString > > I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? RedHat chose to build Python with 4-byte Unicode which is causing all sorts of problems with pre-built extensions. We will start shipping UCS4 builds of the Zope DA with the next release. Until then, you can try the pre-release of 1.0.9: http://www.egenix.com/files/python/egenix-mxodbc-zopeda-1.0.9.linux-i686-py2.3ucs4.zip -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 08 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From kl at vsen.dk Sat Sep 11 20:21:57 2004 From: kl at vsen.dk (Klavs Klavsen) Date: Wed Feb 8 16:01:23 2006 Subject: [egenix-users] bufferoverflow in egenix? Message-ID: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Hi guys, Just installed a new gcc with stack-smashing protection - and while recompiling modules with stack-smashing protection, I got this message: -- copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l ib/python2.3/site-packages/mx/Misc copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ python2.3/site-packages/mx/Misc writing byte-compilation script '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: SyntaxWarning: name 'debugging' is use d prior to global declaration python: stack smashing attack in function symtable_node() error: command '/usr/bin/python' terminated by signal 6 !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. !!! Function distutils_src_install, Line 43, Exitcode 1 !!! (no error message) so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes one in python) - I haven't done very much research as I can live without egenix - but just wanted to let you know :) p.s. it's python-2.3.3. -- Regards, Klavs Klavsen, GSEC - kl@vsen.dk - http://www.vsen.dk PGP: 7E063C62/2873 188C 968E 600D D8F8 B8DA 3D3A 0B79 7E06 3C62 "Those who do not understand Unix are condemned to reinvent it, poorly." --Henry Spencer From mal at egenix.com Sat Sep 11 23:51:30 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Wed Feb 8 16:01:23 2006 Subject: [egenix-users] bufferoverflow in egenix? In-Reply-To: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> References: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Message-ID: <41436552.6000906@egenix.com> Klavs Klavsen wrote: > Hi guys, > > Just installed a new gcc with stack-smashing protection - and while > recompiling modules with stack-smashing protection, I got this message: > -- > copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l > ib/python2.3/site-packages/mx/Misc > copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ > python2.3/site-packages/mx/Misc > writing byte-compilation script > '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' > /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py > usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: > SyntaxWarning: name 'debugging' is use > d prior to global declaration This is an error that the Python compiler generated. I'd suggest you report to the Python bug tracker. BTW, pytag.py is no longer used or maintained, so you can safely delete it. > python: stack smashing attack in function symtable_node() > error: command '/usr/bin/python' terminated by signal 6 > > !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. > !!! Function distutils_src_install, Line 43, Exitcode 1 > !!! (no error message) > > so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes > one in python) - I haven't done very much research as I can live without > egenix - but just wanted to let you know :) > > p.s. it's python-2.3.3. Thanks, -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 11 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From harrelson at gmail.com Thu Sep 30 17:48:13 2004 From: harrelson at gmail.com (Culley Harrelson) Date: Wed Feb 8 16:01:23 2006 Subject: [egenix-users] OS X 10.3.5: *** You don't have the (right) mxDateTime binaries installed ! Message-ID: <529825a30409301648507c0cf8@mail.gmail.com> I have successfully installed mxDateTime on my OS X 10.3.5 system, using the system Python installation. It installed but as soon as I try to import the module I get: === *** You don't have the (right) mxDateTime binaries installed ! Traceback (most recent call last): File "./testFeDb.py", line 4, in ? from mx import DateTime File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/__init__.py", line 8, in ? from DateTime import * File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/DateTime.py", line 9, in ? from mxDateTime import * File "/Library/Python/2.3/mx/DateTime/mxDateTime/__init__.py", line 13, in ? raise ImportError, why ImportError: Failure linking new module: : dyld: python Undefined symbols: /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyArg_ParseTuple expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCObject_FromVoidPtr expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCallable_Check expected to be defined in the executable /Library/Python/2.3/mx/Date === Has anyone experienced this? Any ideas how to fix it? culley From hanser at club-internet.fr Sat Sep 4 17:13:26 2004 From: hanser at club-internet.fr (Pierre Hanser) Date: Wed Feb 8 20:01:10 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 Message-ID: <4139CD86.6020403@club-internet.fr> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 hello seems that python2.4a3 is not compatible with the optimizations in mx/DateTime/mxDateTime/mxDateTime.c on Linux: from mx import DateTime -> core dump if I disable the optims, everything gets ok /* Define these to have the module use free lists (saves malloc calls) */ #define MXDATETIME_FREELIST #define MXDATETIMEDELTA_FREELIST #undef MXDATETIME_FREELIST #undef MXDATETIMEDELTA_FREELIST - -- Pierre -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBOc2GMQ2/jYUwmmwRAn70AJ4puAZm4p10+KTCK/GzLt20VzWd3ACfQzIo H8hLxq8iCE3KGYZ6AR5QUy8= =GA8t -----END PGP SIGNATURE----- From mal at egenix.com Sun Sep 5 19:53:02 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Wed Feb 8 20:01:10 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 In-Reply-To: <4139CD86.6020403@club-internet.fr> References: <4139CD86.6020403@club-internet.fr> Message-ID: <413B446E.40002@egenix.com> Pierre Hanser wrote: > hello > > seems that python2.4a3 is not compatible with the optimizations in > mx/DateTime/mxDateTime/mxDateTime.c on Linux: > > from mx import DateTime -> core dump > > if I disable the optims, everything gets ok > > /* Define these to have the module use free lists (saves malloc calls) */ > #define MXDATETIME_FREELIST > #define MXDATETIMEDELTA_FREELIST > #undef MXDATETIME_FREELIST > #undef MXDATETIMEDELTA_FREELIST This is more likely due to a bug in your C compiler. -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 05 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From aluton at rcseng.ac.uk Wed Sep 8 12:33:02 2004 From: aluton at rcseng.ac.uk (Alex Luton) Date: Wed Feb 8 20:01:10 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: References: Message-ID: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Hi, I'm trying to get the mxODBC DA working, but the product is broken with this error message: Traceback (most recent call last): File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product product=__import__(pname, global_dict, global_dict, silly) File "Products/mxODBCZopeDA/__init__.py", line 7, in ? File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? Any help would be much appreciated. Thanks -- Alex ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 From mal at egenix.com Wed Sep 8 13:37:44 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Wed Feb 8 20:01:10 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> References: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Message-ID: <413EE0F8.6050601@egenix.com> Alex Luton wrote: > Hi, > > I'm trying to get the mxODBC DA working, but the product is broken with > this error message: > > Traceback (most recent call last): > File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product > product=__import__(pname, global_dict, global_dict, silly) > File "Products/mxODBCZopeDA/__init__.py", line 7, in ? > File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? > ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString > > I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? RedHat chose to build Python with 4-byte Unicode which is causing all sorts of problems with pre-built extensions. We will start shipping UCS4 builds of the Zope DA with the next release. Until then, you can try the pre-release of 1.0.9: http://www.egenix.com/files/python/egenix-mxodbc-zopeda-1.0.9.linux-i686-py2.3ucs4.zip -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 08 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From kl at vsen.dk Sat Sep 11 20:21:57 2004 From: kl at vsen.dk (Klavs Klavsen) Date: Wed Feb 8 20:01:10 2006 Subject: [egenix-users] bufferoverflow in egenix? Message-ID: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Hi guys, Just installed a new gcc with stack-smashing protection - and while recompiling modules with stack-smashing protection, I got this message: -- copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l ib/python2.3/site-packages/mx/Misc copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ python2.3/site-packages/mx/Misc writing byte-compilation script '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: SyntaxWarning: name 'debugging' is use d prior to global declaration python: stack smashing attack in function symtable_node() error: command '/usr/bin/python' terminated by signal 6 !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. !!! Function distutils_src_install, Line 43, Exitcode 1 !!! (no error message) so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes one in python) - I haven't done very much research as I can live without egenix - but just wanted to let you know :) p.s. it's python-2.3.3. -- Regards, Klavs Klavsen, GSEC - kl@vsen.dk - http://www.vsen.dk PGP: 7E063C62/2873 188C 968E 600D D8F8 B8DA 3D3A 0B79 7E06 3C62 "Those who do not understand Unix are condemned to reinvent it, poorly." --Henry Spencer From mal at egenix.com Sat Sep 11 23:51:30 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Wed Feb 8 20:01:10 2006 Subject: [egenix-users] bufferoverflow in egenix? In-Reply-To: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> References: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Message-ID: <41436552.6000906@egenix.com> Klavs Klavsen wrote: > Hi guys, > > Just installed a new gcc with stack-smashing protection - and while > recompiling modules with stack-smashing protection, I got this message: > -- > copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l > ib/python2.3/site-packages/mx/Misc > copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ > python2.3/site-packages/mx/Misc > writing byte-compilation script > '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' > /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py > usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: > SyntaxWarning: name 'debugging' is use > d prior to global declaration This is an error that the Python compiler generated. I'd suggest you report to the Python bug tracker. BTW, pytag.py is no longer used or maintained, so you can safely delete it. > python: stack smashing attack in function symtable_node() > error: command '/usr/bin/python' terminated by signal 6 > > !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. > !!! Function distutils_src_install, Line 43, Exitcode 1 > !!! (no error message) > > so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes > one in python) - I haven't done very much research as I can live without > egenix - but just wanted to let you know :) > > p.s. it's python-2.3.3. Thanks, -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 11 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From harrelson at gmail.com Thu Sep 30 17:48:13 2004 From: harrelson at gmail.com (Culley Harrelson) Date: Wed Feb 8 20:01:10 2006 Subject: [egenix-users] OS X 10.3.5: *** You don't have the (right) mxDateTime binaries installed ! Message-ID: <529825a30409301648507c0cf8@mail.gmail.com> I have successfully installed mxDateTime on my OS X 10.3.5 system, using the system Python installation. It installed but as soon as I try to import the module I get: === *** You don't have the (right) mxDateTime binaries installed ! Traceback (most recent call last): File "./testFeDb.py", line 4, in ? from mx import DateTime File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/__init__.py", line 8, in ? from DateTime import * File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/DateTime.py", line 9, in ? from mxDateTime import * File "/Library/Python/2.3/mx/DateTime/mxDateTime/__init__.py", line 13, in ? raise ImportError, why ImportError: Failure linking new module: : dyld: python Undefined symbols: /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyArg_ParseTuple expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCObject_FromVoidPtr expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCallable_Check expected to be defined in the executable /Library/Python/2.3/mx/Date === Has anyone experienced this? Any ideas how to fix it? culley From hanser at club-internet.fr Sat Sep 4 17:13:26 2004 From: hanser at club-internet.fr (Pierre Hanser) Date: Thu Feb 9 08:09:44 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 Message-ID: <4139CD86.6020403@club-internet.fr> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 hello seems that python2.4a3 is not compatible with the optimizations in mx/DateTime/mxDateTime/mxDateTime.c on Linux: from mx import DateTime -> core dump if I disable the optims, everything gets ok /* Define these to have the module use free lists (saves malloc calls) */ #define MXDATETIME_FREELIST #define MXDATETIMEDELTA_FREELIST #undef MXDATETIME_FREELIST #undef MXDATETIMEDELTA_FREELIST - -- Pierre -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBOc2GMQ2/jYUwmmwRAn70AJ4puAZm4p10+KTCK/GzLt20VzWd3ACfQzIo H8hLxq8iCE3KGYZ6AR5QUy8= =GA8t -----END PGP SIGNATURE----- From mal at egenix.com Sun Sep 5 19:53:02 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Thu Feb 9 08:09:46 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 In-Reply-To: <4139CD86.6020403@club-internet.fr> References: <4139CD86.6020403@club-internet.fr> Message-ID: <413B446E.40002@egenix.com> Pierre Hanser wrote: > hello > > seems that python2.4a3 is not compatible with the optimizations in > mx/DateTime/mxDateTime/mxDateTime.c on Linux: > > from mx import DateTime -> core dump > > if I disable the optims, everything gets ok > > /* Define these to have the module use free lists (saves malloc calls) */ > #define MXDATETIME_FREELIST > #define MXDATETIMEDELTA_FREELIST > #undef MXDATETIME_FREELIST > #undef MXDATETIMEDELTA_FREELIST This is more likely due to a bug in your C compiler. -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 05 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From aluton at rcseng.ac.uk Wed Sep 8 12:33:02 2004 From: aluton at rcseng.ac.uk (Alex Luton) Date: Thu Feb 9 08:09:46 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: References: Message-ID: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Hi, I'm trying to get the mxODBC DA working, but the product is broken with this error message: Traceback (most recent call last): File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product product=__import__(pname, global_dict, global_dict, silly) File "Products/mxODBCZopeDA/__init__.py", line 7, in ? File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? Any help would be much appreciated. Thanks -- Alex ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 From mal at egenix.com Wed Sep 8 13:37:44 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Thu Feb 9 08:09:46 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> References: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Message-ID: <413EE0F8.6050601@egenix.com> Alex Luton wrote: > Hi, > > I'm trying to get the mxODBC DA working, but the product is broken with > this error message: > > Traceback (most recent call last): > File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product > product=__import__(pname, global_dict, global_dict, silly) > File "Products/mxODBCZopeDA/__init__.py", line 7, in ? > File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? > ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString > > I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? RedHat chose to build Python with 4-byte Unicode which is causing all sorts of problems with pre-built extensions. We will start shipping UCS4 builds of the Zope DA with the next release. Until then, you can try the pre-release of 1.0.9: http://www.egenix.com/files/python/egenix-mxodbc-zopeda-1.0.9.linux-i686-py2.3ucs4.zip -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 08 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From kl at vsen.dk Sat Sep 11 20:21:57 2004 From: kl at vsen.dk (Klavs Klavsen) Date: Thu Feb 9 08:09:46 2006 Subject: [egenix-users] bufferoverflow in egenix? Message-ID: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Hi guys, Just installed a new gcc with stack-smashing protection - and while recompiling modules with stack-smashing protection, I got this message: -- copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l ib/python2.3/site-packages/mx/Misc copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ python2.3/site-packages/mx/Misc writing byte-compilation script '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: SyntaxWarning: name 'debugging' is use d prior to global declaration python: stack smashing attack in function symtable_node() error: command '/usr/bin/python' terminated by signal 6 !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. !!! Function distutils_src_install, Line 43, Exitcode 1 !!! (no error message) so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes one in python) - I haven't done very much research as I can live without egenix - but just wanted to let you know :) p.s. it's python-2.3.3. -- Regards, Klavs Klavsen, GSEC - kl@vsen.dk - http://www.vsen.dk PGP: 7E063C62/2873 188C 968E 600D D8F8 B8DA 3D3A 0B79 7E06 3C62 "Those who do not understand Unix are condemned to reinvent it, poorly." --Henry Spencer From mal at egenix.com Sat Sep 11 23:51:30 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Thu Feb 9 08:09:46 2006 Subject: [egenix-users] bufferoverflow in egenix? In-Reply-To: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> References: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Message-ID: <41436552.6000906@egenix.com> Klavs Klavsen wrote: > Hi guys, > > Just installed a new gcc with stack-smashing protection - and while > recompiling modules with stack-smashing protection, I got this message: > -- > copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l > ib/python2.3/site-packages/mx/Misc > copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ > python2.3/site-packages/mx/Misc > writing byte-compilation script > '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' > /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py > usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: > SyntaxWarning: name 'debugging' is use > d prior to global declaration This is an error that the Python compiler generated. I'd suggest you report to the Python bug tracker. BTW, pytag.py is no longer used or maintained, so you can safely delete it. > python: stack smashing attack in function symtable_node() > error: command '/usr/bin/python' terminated by signal 6 > > !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. > !!! Function distutils_src_install, Line 43, Exitcode 1 > !!! (no error message) > > so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes > one in python) - I haven't done very much research as I can live without > egenix - but just wanted to let you know :) > > p.s. it's python-2.3.3. Thanks, -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 11 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From harrelson at gmail.com Thu Sep 30 17:48:13 2004 From: harrelson at gmail.com (Culley Harrelson) Date: Thu Feb 9 08:09:46 2006 Subject: [egenix-users] OS X 10.3.5: *** You don't have the (right) mxDateTime binaries installed ! Message-ID: <529825a30409301648507c0cf8@mail.gmail.com> I have successfully installed mxDateTime on my OS X 10.3.5 system, using the system Python installation. It installed but as soon as I try to import the module I get: === *** You don't have the (right) mxDateTime binaries installed ! Traceback (most recent call last): File "./testFeDb.py", line 4, in ? from mx import DateTime File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/__init__.py", line 8, in ? from DateTime import * File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/DateTime.py", line 9, in ? from mxDateTime import * File "/Library/Python/2.3/mx/DateTime/mxDateTime/__init__.py", line 13, in ? raise ImportError, why ImportError: Failure linking new module: : dyld: python Undefined symbols: /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyArg_ParseTuple expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCObject_FromVoidPtr expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCallable_Check expected to be defined in the executable /Library/Python/2.3/mx/Date === Has anyone experienced this? Any ideas how to fix it? culley From hanser at club-internet.fr Sat Sep 4 17:13:26 2004 From: hanser at club-internet.fr (Pierre Hanser) Date: Thu Feb 9 12:03:26 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 Message-ID: <4139CD86.6020403@club-internet.fr> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 hello seems that python2.4a3 is not compatible with the optimizations in mx/DateTime/mxDateTime/mxDateTime.c on Linux: from mx import DateTime -> core dump if I disable the optims, everything gets ok /* Define these to have the module use free lists (saves malloc calls) */ #define MXDATETIME_FREELIST #define MXDATETIMEDELTA_FREELIST #undef MXDATETIME_FREELIST #undef MXDATETIMEDELTA_FREELIST - -- Pierre -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBOc2GMQ2/jYUwmmwRAn70AJ4puAZm4p10+KTCK/GzLt20VzWd3ACfQzIo H8hLxq8iCE3KGYZ6AR5QUy8= =GA8t -----END PGP SIGNATURE----- From mal at egenix.com Sun Sep 5 19:53:02 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Thu Feb 9 12:03:26 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 In-Reply-To: <4139CD86.6020403@club-internet.fr> References: <4139CD86.6020403@club-internet.fr> Message-ID: <413B446E.40002@egenix.com> Pierre Hanser wrote: > hello > > seems that python2.4a3 is not compatible with the optimizations in > mx/DateTime/mxDateTime/mxDateTime.c on Linux: > > from mx import DateTime -> core dump > > if I disable the optims, everything gets ok > > /* Define these to have the module use free lists (saves malloc calls) */ > #define MXDATETIME_FREELIST > #define MXDATETIMEDELTA_FREELIST > #undef MXDATETIME_FREELIST > #undef MXDATETIMEDELTA_FREELIST This is more likely due to a bug in your C compiler. -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 05 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From aluton at rcseng.ac.uk Wed Sep 8 12:33:02 2004 From: aluton at rcseng.ac.uk (Alex Luton) Date: Thu Feb 9 12:03:26 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: References: Message-ID: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Hi, I'm trying to get the mxODBC DA working, but the product is broken with this error message: Traceback (most recent call last): File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product product=__import__(pname, global_dict, global_dict, silly) File "Products/mxODBCZopeDA/__init__.py", line 7, in ? File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? Any help would be much appreciated. Thanks -- Alex ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 From mal at egenix.com Wed Sep 8 13:37:44 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Thu Feb 9 12:03:26 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> References: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Message-ID: <413EE0F8.6050601@egenix.com> Alex Luton wrote: > Hi, > > I'm trying to get the mxODBC DA working, but the product is broken with > this error message: > > Traceback (most recent call last): > File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product > product=__import__(pname, global_dict, global_dict, silly) > File "Products/mxODBCZopeDA/__init__.py", line 7, in ? > File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? > ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString > > I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? RedHat chose to build Python with 4-byte Unicode which is causing all sorts of problems with pre-built extensions. We will start shipping UCS4 builds of the Zope DA with the next release. Until then, you can try the pre-release of 1.0.9: http://www.egenix.com/files/python/egenix-mxodbc-zopeda-1.0.9.linux-i686-py2.3ucs4.zip -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 08 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From kl at vsen.dk Sat Sep 11 20:21:57 2004 From: kl at vsen.dk (Klavs Klavsen) Date: Thu Feb 9 12:03:26 2006 Subject: [egenix-users] bufferoverflow in egenix? Message-ID: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Hi guys, Just installed a new gcc with stack-smashing protection - and while recompiling modules with stack-smashing protection, I got this message: -- copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l ib/python2.3/site-packages/mx/Misc copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ python2.3/site-packages/mx/Misc writing byte-compilation script '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: SyntaxWarning: name 'debugging' is use d prior to global declaration python: stack smashing attack in function symtable_node() error: command '/usr/bin/python' terminated by signal 6 !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. !!! Function distutils_src_install, Line 43, Exitcode 1 !!! (no error message) so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes one in python) - I haven't done very much research as I can live without egenix - but just wanted to let you know :) p.s. it's python-2.3.3. -- Regards, Klavs Klavsen, GSEC - kl@vsen.dk - http://www.vsen.dk PGP: 7E063C62/2873 188C 968E 600D D8F8 B8DA 3D3A 0B79 7E06 3C62 "Those who do not understand Unix are condemned to reinvent it, poorly." --Henry Spencer From mal at egenix.com Sat Sep 11 23:51:30 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Thu Feb 9 12:03:26 2006 Subject: [egenix-users] bufferoverflow in egenix? In-Reply-To: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> References: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Message-ID: <41436552.6000906@egenix.com> Klavs Klavsen wrote: > Hi guys, > > Just installed a new gcc with stack-smashing protection - and while > recompiling modules with stack-smashing protection, I got this message: > -- > copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l > ib/python2.3/site-packages/mx/Misc > copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ > python2.3/site-packages/mx/Misc > writing byte-compilation script > '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' > /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py > usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: > SyntaxWarning: name 'debugging' is use > d prior to global declaration This is an error that the Python compiler generated. I'd suggest you report to the Python bug tracker. BTW, pytag.py is no longer used or maintained, so you can safely delete it. > python: stack smashing attack in function symtable_node() > error: command '/usr/bin/python' terminated by signal 6 > > !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. > !!! Function distutils_src_install, Line 43, Exitcode 1 > !!! (no error message) > > so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes > one in python) - I haven't done very much research as I can live without > egenix - but just wanted to let you know :) > > p.s. it's python-2.3.3. Thanks, -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 11 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From harrelson at gmail.com Thu Sep 30 17:48:13 2004 From: harrelson at gmail.com (Culley Harrelson) Date: Thu Feb 9 12:03:26 2006 Subject: [egenix-users] OS X 10.3.5: *** You don't have the (right) mxDateTime binaries installed ! Message-ID: <529825a30409301648507c0cf8@mail.gmail.com> I have successfully installed mxDateTime on my OS X 10.3.5 system, using the system Python installation. It installed but as soon as I try to import the module I get: === *** You don't have the (right) mxDateTime binaries installed ! Traceback (most recent call last): File "./testFeDb.py", line 4, in ? from mx import DateTime File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/__init__.py", line 8, in ? from DateTime import * File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/DateTime.py", line 9, in ? from mxDateTime import * File "/Library/Python/2.3/mx/DateTime/mxDateTime/__init__.py", line 13, in ? raise ImportError, why ImportError: Failure linking new module: : dyld: python Undefined symbols: /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyArg_ParseTuple expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCObject_FromVoidPtr expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCallable_Check expected to be defined in the executable /Library/Python/2.3/mx/Date === Has anyone experienced this? Any ideas how to fix it? culley From hanser at club-internet.fr Sat Sep 4 17:13:26 2004 From: hanser at club-internet.fr (Pierre Hanser) Date: Thu Feb 9 16:01:19 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 Message-ID: <4139CD86.6020403@club-internet.fr> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 hello seems that python2.4a3 is not compatible with the optimizations in mx/DateTime/mxDateTime/mxDateTime.c on Linux: from mx import DateTime -> core dump if I disable the optims, everything gets ok /* Define these to have the module use free lists (saves malloc calls) */ #define MXDATETIME_FREELIST #define MXDATETIMEDELTA_FREELIST #undef MXDATETIME_FREELIST #undef MXDATETIMEDELTA_FREELIST - -- Pierre -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBOc2GMQ2/jYUwmmwRAn70AJ4puAZm4p10+KTCK/GzLt20VzWd3ACfQzIo H8hLxq8iCE3KGYZ6AR5QUy8= =GA8t -----END PGP SIGNATURE----- From mal at egenix.com Sun Sep 5 19:53:02 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Thu Feb 9 16:01:19 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 In-Reply-To: <4139CD86.6020403@club-internet.fr> References: <4139CD86.6020403@club-internet.fr> Message-ID: <413B446E.40002@egenix.com> Pierre Hanser wrote: > hello > > seems that python2.4a3 is not compatible with the optimizations in > mx/DateTime/mxDateTime/mxDateTime.c on Linux: > > from mx import DateTime -> core dump > > if I disable the optims, everything gets ok > > /* Define these to have the module use free lists (saves malloc calls) */ > #define MXDATETIME_FREELIST > #define MXDATETIMEDELTA_FREELIST > #undef MXDATETIME_FREELIST > #undef MXDATETIMEDELTA_FREELIST This is more likely due to a bug in your C compiler. -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 05 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From aluton at rcseng.ac.uk Wed Sep 8 12:33:02 2004 From: aluton at rcseng.ac.uk (Alex Luton) Date: Thu Feb 9 16:01:19 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: References: Message-ID: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Hi, I'm trying to get the mxODBC DA working, but the product is broken with this error message: Traceback (most recent call last): File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product product=__import__(pname, global_dict, global_dict, silly) File "Products/mxODBCZopeDA/__init__.py", line 7, in ? File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? Any help would be much appreciated. Thanks -- Alex ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 From mal at egenix.com Wed Sep 8 13:37:44 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Thu Feb 9 16:01:19 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> References: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Message-ID: <413EE0F8.6050601@egenix.com> Alex Luton wrote: > Hi, > > I'm trying to get the mxODBC DA working, but the product is broken with > this error message: > > Traceback (most recent call last): > File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product > product=__import__(pname, global_dict, global_dict, silly) > File "Products/mxODBCZopeDA/__init__.py", line 7, in ? > File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? > ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString > > I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? RedHat chose to build Python with 4-byte Unicode which is causing all sorts of problems with pre-built extensions. We will start shipping UCS4 builds of the Zope DA with the next release. Until then, you can try the pre-release of 1.0.9: http://www.egenix.com/files/python/egenix-mxodbc-zopeda-1.0.9.linux-i686-py2.3ucs4.zip -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 08 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From kl at vsen.dk Sat Sep 11 20:21:57 2004 From: kl at vsen.dk (Klavs Klavsen) Date: Thu Feb 9 16:01:19 2006 Subject: [egenix-users] bufferoverflow in egenix? Message-ID: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Hi guys, Just installed a new gcc with stack-smashing protection - and while recompiling modules with stack-smashing protection, I got this message: -- copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l ib/python2.3/site-packages/mx/Misc copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ python2.3/site-packages/mx/Misc writing byte-compilation script '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: SyntaxWarning: name 'debugging' is use d prior to global declaration python: stack smashing attack in function symtable_node() error: command '/usr/bin/python' terminated by signal 6 !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. !!! Function distutils_src_install, Line 43, Exitcode 1 !!! (no error message) so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes one in python) - I haven't done very much research as I can live without egenix - but just wanted to let you know :) p.s. it's python-2.3.3. -- Regards, Klavs Klavsen, GSEC - kl@vsen.dk - http://www.vsen.dk PGP: 7E063C62/2873 188C 968E 600D D8F8 B8DA 3D3A 0B79 7E06 3C62 "Those who do not understand Unix are condemned to reinvent it, poorly." --Henry Spencer From mal at egenix.com Sat Sep 11 23:51:30 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Thu Feb 9 16:01:19 2006 Subject: [egenix-users] bufferoverflow in egenix? In-Reply-To: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> References: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Message-ID: <41436552.6000906@egenix.com> Klavs Klavsen wrote: > Hi guys, > > Just installed a new gcc with stack-smashing protection - and while > recompiling modules with stack-smashing protection, I got this message: > -- > copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l > ib/python2.3/site-packages/mx/Misc > copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ > python2.3/site-packages/mx/Misc > writing byte-compilation script > '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' > /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py > usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: > SyntaxWarning: name 'debugging' is use > d prior to global declaration This is an error that the Python compiler generated. I'd suggest you report to the Python bug tracker. BTW, pytag.py is no longer used or maintained, so you can safely delete it. > python: stack smashing attack in function symtable_node() > error: command '/usr/bin/python' terminated by signal 6 > > !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. > !!! Function distutils_src_install, Line 43, Exitcode 1 > !!! (no error message) > > so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes > one in python) - I haven't done very much research as I can live without > egenix - but just wanted to let you know :) > > p.s. it's python-2.3.3. Thanks, -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 11 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From harrelson at gmail.com Thu Sep 30 17:48:13 2004 From: harrelson at gmail.com (Culley Harrelson) Date: Thu Feb 9 16:01:19 2006 Subject: [egenix-users] OS X 10.3.5: *** You don't have the (right) mxDateTime binaries installed ! Message-ID: <529825a30409301648507c0cf8@mail.gmail.com> I have successfully installed mxDateTime on my OS X 10.3.5 system, using the system Python installation. It installed but as soon as I try to import the module I get: === *** You don't have the (right) mxDateTime binaries installed ! Traceback (most recent call last): File "./testFeDb.py", line 4, in ? from mx import DateTime File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/__init__.py", line 8, in ? from DateTime import * File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/DateTime.py", line 9, in ? from mxDateTime import * File "/Library/Python/2.3/mx/DateTime/mxDateTime/__init__.py", line 13, in ? raise ImportError, why ImportError: Failure linking new module: : dyld: python Undefined symbols: /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyArg_ParseTuple expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCObject_FromVoidPtr expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCallable_Check expected to be defined in the executable /Library/Python/2.3/mx/Date === Has anyone experienced this? Any ideas how to fix it? culley From hanser at club-internet.fr Sat Sep 4 17:13:26 2004 From: hanser at club-internet.fr (Pierre Hanser) Date: Thu Feb 9 20:01:17 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 Message-ID: <4139CD86.6020403@club-internet.fr> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 hello seems that python2.4a3 is not compatible with the optimizations in mx/DateTime/mxDateTime/mxDateTime.c on Linux: from mx import DateTime -> core dump if I disable the optims, everything gets ok /* Define these to have the module use free lists (saves malloc calls) */ #define MXDATETIME_FREELIST #define MXDATETIMEDELTA_FREELIST #undef MXDATETIME_FREELIST #undef MXDATETIMEDELTA_FREELIST - -- Pierre -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBOc2GMQ2/jYUwmmwRAn70AJ4puAZm4p10+KTCK/GzLt20VzWd3ACfQzIo H8hLxq8iCE3KGYZ6AR5QUy8= =GA8t -----END PGP SIGNATURE----- From mal at egenix.com Sun Sep 5 19:53:02 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Thu Feb 9 20:01:17 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 In-Reply-To: <4139CD86.6020403@club-internet.fr> References: <4139CD86.6020403@club-internet.fr> Message-ID: <413B446E.40002@egenix.com> Pierre Hanser wrote: > hello > > seems that python2.4a3 is not compatible with the optimizations in > mx/DateTime/mxDateTime/mxDateTime.c on Linux: > > from mx import DateTime -> core dump > > if I disable the optims, everything gets ok > > /* Define these to have the module use free lists (saves malloc calls) */ > #define MXDATETIME_FREELIST > #define MXDATETIMEDELTA_FREELIST > #undef MXDATETIME_FREELIST > #undef MXDATETIMEDELTA_FREELIST This is more likely due to a bug in your C compiler. -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 05 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From aluton at rcseng.ac.uk Wed Sep 8 12:33:02 2004 From: aluton at rcseng.ac.uk (Alex Luton) Date: Thu Feb 9 20:01:17 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: References: Message-ID: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Hi, I'm trying to get the mxODBC DA working, but the product is broken with this error message: Traceback (most recent call last): File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product product=__import__(pname, global_dict, global_dict, silly) File "Products/mxODBCZopeDA/__init__.py", line 7, in ? File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? Any help would be much appreciated. Thanks -- Alex ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 From mal at egenix.com Wed Sep 8 13:37:44 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Thu Feb 9 20:01:17 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> References: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Message-ID: <413EE0F8.6050601@egenix.com> Alex Luton wrote: > Hi, > > I'm trying to get the mxODBC DA working, but the product is broken with > this error message: > > Traceback (most recent call last): > File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product > product=__import__(pname, global_dict, global_dict, silly) > File "Products/mxODBCZopeDA/__init__.py", line 7, in ? > File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? > ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString > > I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? RedHat chose to build Python with 4-byte Unicode which is causing all sorts of problems with pre-built extensions. We will start shipping UCS4 builds of the Zope DA with the next release. Until then, you can try the pre-release of 1.0.9: http://www.egenix.com/files/python/egenix-mxodbc-zopeda-1.0.9.linux-i686-py2.3ucs4.zip -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 08 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From kl at vsen.dk Sat Sep 11 20:21:57 2004 From: kl at vsen.dk (Klavs Klavsen) Date: Thu Feb 9 20:01:17 2006 Subject: [egenix-users] bufferoverflow in egenix? Message-ID: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Hi guys, Just installed a new gcc with stack-smashing protection - and while recompiling modules with stack-smashing protection, I got this message: -- copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l ib/python2.3/site-packages/mx/Misc copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ python2.3/site-packages/mx/Misc writing byte-compilation script '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: SyntaxWarning: name 'debugging' is use d prior to global declaration python: stack smashing attack in function symtable_node() error: command '/usr/bin/python' terminated by signal 6 !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. !!! Function distutils_src_install, Line 43, Exitcode 1 !!! (no error message) so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes one in python) - I haven't done very much research as I can live without egenix - but just wanted to let you know :) p.s. it's python-2.3.3. -- Regards, Klavs Klavsen, GSEC - kl@vsen.dk - http://www.vsen.dk PGP: 7E063C62/2873 188C 968E 600D D8F8 B8DA 3D3A 0B79 7E06 3C62 "Those who do not understand Unix are condemned to reinvent it, poorly." --Henry Spencer From mal at egenix.com Sat Sep 11 23:51:30 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Thu Feb 9 20:01:17 2006 Subject: [egenix-users] bufferoverflow in egenix? In-Reply-To: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> References: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Message-ID: <41436552.6000906@egenix.com> Klavs Klavsen wrote: > Hi guys, > > Just installed a new gcc with stack-smashing protection - and while > recompiling modules with stack-smashing protection, I got this message: > -- > copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l > ib/python2.3/site-packages/mx/Misc > copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ > python2.3/site-packages/mx/Misc > writing byte-compilation script > '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' > /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py > usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: > SyntaxWarning: name 'debugging' is use > d prior to global declaration This is an error that the Python compiler generated. I'd suggest you report to the Python bug tracker. BTW, pytag.py is no longer used or maintained, so you can safely delete it. > python: stack smashing attack in function symtable_node() > error: command '/usr/bin/python' terminated by signal 6 > > !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. > !!! Function distutils_src_install, Line 43, Exitcode 1 > !!! (no error message) > > so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes > one in python) - I haven't done very much research as I can live without > egenix - but just wanted to let you know :) > > p.s. it's python-2.3.3. Thanks, -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 11 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From harrelson at gmail.com Thu Sep 30 17:48:13 2004 From: harrelson at gmail.com (Culley Harrelson) Date: Thu Feb 9 20:01:17 2006 Subject: [egenix-users] OS X 10.3.5: *** You don't have the (right) mxDateTime binaries installed ! Message-ID: <529825a30409301648507c0cf8@mail.gmail.com> I have successfully installed mxDateTime on my OS X 10.3.5 system, using the system Python installation. It installed but as soon as I try to import the module I get: === *** You don't have the (right) mxDateTime binaries installed ! Traceback (most recent call last): File "./testFeDb.py", line 4, in ? from mx import DateTime File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/__init__.py", line 8, in ? from DateTime import * File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/DateTime.py", line 9, in ? from mxDateTime import * File "/Library/Python/2.3/mx/DateTime/mxDateTime/__init__.py", line 13, in ? raise ImportError, why ImportError: Failure linking new module: : dyld: python Undefined symbols: /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyArg_ParseTuple expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCObject_FromVoidPtr expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCallable_Check expected to be defined in the executable /Library/Python/2.3/mx/Date === Has anyone experienced this? Any ideas how to fix it? culley From hanser at club-internet.fr Sat Sep 4 17:13:26 2004 From: hanser at club-internet.fr (Pierre Hanser) Date: Fri Feb 10 08:21:07 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 Message-ID: <4139CD86.6020403@club-internet.fr> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 hello seems that python2.4a3 is not compatible with the optimizations in mx/DateTime/mxDateTime/mxDateTime.c on Linux: from mx import DateTime -> core dump if I disable the optims, everything gets ok /* Define these to have the module use free lists (saves malloc calls) */ #define MXDATETIME_FREELIST #define MXDATETIMEDELTA_FREELIST #undef MXDATETIME_FREELIST #undef MXDATETIMEDELTA_FREELIST - -- Pierre -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBOc2GMQ2/jYUwmmwRAn70AJ4puAZm4p10+KTCK/GzLt20VzWd3ACfQzIo H8hLxq8iCE3KGYZ6AR5QUy8= =GA8t -----END PGP SIGNATURE----- From mal at egenix.com Sun Sep 5 19:53:02 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Fri Feb 10 08:21:07 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 In-Reply-To: <4139CD86.6020403@club-internet.fr> References: <4139CD86.6020403@club-internet.fr> Message-ID: <413B446E.40002@egenix.com> Pierre Hanser wrote: > hello > > seems that python2.4a3 is not compatible with the optimizations in > mx/DateTime/mxDateTime/mxDateTime.c on Linux: > > from mx import DateTime -> core dump > > if I disable the optims, everything gets ok > > /* Define these to have the module use free lists (saves malloc calls) */ > #define MXDATETIME_FREELIST > #define MXDATETIMEDELTA_FREELIST > #undef MXDATETIME_FREELIST > #undef MXDATETIMEDELTA_FREELIST This is more likely due to a bug in your C compiler. -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 05 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From aluton at rcseng.ac.uk Wed Sep 8 12:33:02 2004 From: aluton at rcseng.ac.uk (Alex Luton) Date: Fri Feb 10 08:21:07 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: References: Message-ID: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Hi, I'm trying to get the mxODBC DA working, but the product is broken with this error message: Traceback (most recent call last): File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product product=__import__(pname, global_dict, global_dict, silly) File "Products/mxODBCZopeDA/__init__.py", line 7, in ? File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? Any help would be much appreciated. Thanks -- Alex ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 From mal at egenix.com Wed Sep 8 13:37:44 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Fri Feb 10 08:21:07 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> References: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Message-ID: <413EE0F8.6050601@egenix.com> Alex Luton wrote: > Hi, > > I'm trying to get the mxODBC DA working, but the product is broken with > this error message: > > Traceback (most recent call last): > File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product > product=__import__(pname, global_dict, global_dict, silly) > File "Products/mxODBCZopeDA/__init__.py", line 7, in ? > File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? > ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString > > I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? RedHat chose to build Python with 4-byte Unicode which is causing all sorts of problems with pre-built extensions. We will start shipping UCS4 builds of the Zope DA with the next release. Until then, you can try the pre-release of 1.0.9: http://www.egenix.com/files/python/egenix-mxodbc-zopeda-1.0.9.linux-i686-py2.3ucs4.zip -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 08 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From kl at vsen.dk Sat Sep 11 20:21:57 2004 From: kl at vsen.dk (Klavs Klavsen) Date: Fri Feb 10 08:21:07 2006 Subject: [egenix-users] bufferoverflow in egenix? Message-ID: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Hi guys, Just installed a new gcc with stack-smashing protection - and while recompiling modules with stack-smashing protection, I got this message: -- copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l ib/python2.3/site-packages/mx/Misc copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ python2.3/site-packages/mx/Misc writing byte-compilation script '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: SyntaxWarning: name 'debugging' is use d prior to global declaration python: stack smashing attack in function symtable_node() error: command '/usr/bin/python' terminated by signal 6 !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. !!! Function distutils_src_install, Line 43, Exitcode 1 !!! (no error message) so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes one in python) - I haven't done very much research as I can live without egenix - but just wanted to let you know :) p.s. it's python-2.3.3. -- Regards, Klavs Klavsen, GSEC - kl@vsen.dk - http://www.vsen.dk PGP: 7E063C62/2873 188C 968E 600D D8F8 B8DA 3D3A 0B79 7E06 3C62 "Those who do not understand Unix are condemned to reinvent it, poorly." --Henry Spencer From mal at egenix.com Sat Sep 11 23:51:30 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Fri Feb 10 08:21:07 2006 Subject: [egenix-users] bufferoverflow in egenix? In-Reply-To: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> References: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Message-ID: <41436552.6000906@egenix.com> Klavs Klavsen wrote: > Hi guys, > > Just installed a new gcc with stack-smashing protection - and while > recompiling modules with stack-smashing protection, I got this message: > -- > copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l > ib/python2.3/site-packages/mx/Misc > copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ > python2.3/site-packages/mx/Misc > writing byte-compilation script > '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' > /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py > usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: > SyntaxWarning: name 'debugging' is use > d prior to global declaration This is an error that the Python compiler generated. I'd suggest you report to the Python bug tracker. BTW, pytag.py is no longer used or maintained, so you can safely delete it. > python: stack smashing attack in function symtable_node() > error: command '/usr/bin/python' terminated by signal 6 > > !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. > !!! Function distutils_src_install, Line 43, Exitcode 1 > !!! (no error message) > > so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes > one in python) - I haven't done very much research as I can live without > egenix - but just wanted to let you know :) > > p.s. it's python-2.3.3. Thanks, -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 11 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From harrelson at gmail.com Thu Sep 30 17:48:13 2004 From: harrelson at gmail.com (Culley Harrelson) Date: Fri Feb 10 08:21:07 2006 Subject: [egenix-users] OS X 10.3.5: *** You don't have the (right) mxDateTime binaries installed ! Message-ID: <529825a30409301648507c0cf8@mail.gmail.com> I have successfully installed mxDateTime on my OS X 10.3.5 system, using the system Python installation. It installed but as soon as I try to import the module I get: === *** You don't have the (right) mxDateTime binaries installed ! Traceback (most recent call last): File "./testFeDb.py", line 4, in ? from mx import DateTime File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/__init__.py", line 8, in ? from DateTime import * File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/DateTime.py", line 9, in ? from mxDateTime import * File "/Library/Python/2.3/mx/DateTime/mxDateTime/__init__.py", line 13, in ? raise ImportError, why ImportError: Failure linking new module: : dyld: python Undefined symbols: /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyArg_ParseTuple expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCObject_FromVoidPtr expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCallable_Check expected to be defined in the executable /Library/Python/2.3/mx/Date === Has anyone experienced this? Any ideas how to fix it? culley From hanser at club-internet.fr Sat Sep 4 17:13:26 2004 From: hanser at club-internet.fr (Pierre Hanser) Date: Fri Feb 10 12:03:47 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 Message-ID: <4139CD86.6020403@club-internet.fr> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 hello seems that python2.4a3 is not compatible with the optimizations in mx/DateTime/mxDateTime/mxDateTime.c on Linux: from mx import DateTime -> core dump if I disable the optims, everything gets ok /* Define these to have the module use free lists (saves malloc calls) */ #define MXDATETIME_FREELIST #define MXDATETIMEDELTA_FREELIST #undef MXDATETIME_FREELIST #undef MXDATETIMEDELTA_FREELIST - -- Pierre -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBOc2GMQ2/jYUwmmwRAn70AJ4puAZm4p10+KTCK/GzLt20VzWd3ACfQzIo H8hLxq8iCE3KGYZ6AR5QUy8= =GA8t -----END PGP SIGNATURE----- From mal at egenix.com Sun Sep 5 19:53:02 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Fri Feb 10 12:03:47 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 In-Reply-To: <4139CD86.6020403@club-internet.fr> References: <4139CD86.6020403@club-internet.fr> Message-ID: <413B446E.40002@egenix.com> Pierre Hanser wrote: > hello > > seems that python2.4a3 is not compatible with the optimizations in > mx/DateTime/mxDateTime/mxDateTime.c on Linux: > > from mx import DateTime -> core dump > > if I disable the optims, everything gets ok > > /* Define these to have the module use free lists (saves malloc calls) */ > #define MXDATETIME_FREELIST > #define MXDATETIMEDELTA_FREELIST > #undef MXDATETIME_FREELIST > #undef MXDATETIMEDELTA_FREELIST This is more likely due to a bug in your C compiler. -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 05 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From aluton at rcseng.ac.uk Wed Sep 8 12:33:02 2004 From: aluton at rcseng.ac.uk (Alex Luton) Date: Fri Feb 10 12:03:47 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: References: Message-ID: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Hi, I'm trying to get the mxODBC DA working, but the product is broken with this error message: Traceback (most recent call last): File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product product=__import__(pname, global_dict, global_dict, silly) File "Products/mxODBCZopeDA/__init__.py", line 7, in ? File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? Any help would be much appreciated. Thanks -- Alex ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 From mal at egenix.com Wed Sep 8 13:37:44 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Fri Feb 10 12:03:47 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> References: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Message-ID: <413EE0F8.6050601@egenix.com> Alex Luton wrote: > Hi, > > I'm trying to get the mxODBC DA working, but the product is broken with > this error message: > > Traceback (most recent call last): > File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product > product=__import__(pname, global_dict, global_dict, silly) > File "Products/mxODBCZopeDA/__init__.py", line 7, in ? > File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? > ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString > > I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? RedHat chose to build Python with 4-byte Unicode which is causing all sorts of problems with pre-built extensions. We will start shipping UCS4 builds of the Zope DA with the next release. Until then, you can try the pre-release of 1.0.9: http://www.egenix.com/files/python/egenix-mxodbc-zopeda-1.0.9.linux-i686-py2.3ucs4.zip -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 08 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From kl at vsen.dk Sat Sep 11 20:21:57 2004 From: kl at vsen.dk (Klavs Klavsen) Date: Fri Feb 10 12:03:47 2006 Subject: [egenix-users] bufferoverflow in egenix? Message-ID: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Hi guys, Just installed a new gcc with stack-smashing protection - and while recompiling modules with stack-smashing protection, I got this message: -- copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l ib/python2.3/site-packages/mx/Misc copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ python2.3/site-packages/mx/Misc writing byte-compilation script '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: SyntaxWarning: name 'debugging' is use d prior to global declaration python: stack smashing attack in function symtable_node() error: command '/usr/bin/python' terminated by signal 6 !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. !!! Function distutils_src_install, Line 43, Exitcode 1 !!! (no error message) so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes one in python) - I haven't done very much research as I can live without egenix - but just wanted to let you know :) p.s. it's python-2.3.3. -- Regards, Klavs Klavsen, GSEC - kl@vsen.dk - http://www.vsen.dk PGP: 7E063C62/2873 188C 968E 600D D8F8 B8DA 3D3A 0B79 7E06 3C62 "Those who do not understand Unix are condemned to reinvent it, poorly." --Henry Spencer From mal at egenix.com Sat Sep 11 23:51:30 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Fri Feb 10 12:03:47 2006 Subject: [egenix-users] bufferoverflow in egenix? In-Reply-To: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> References: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Message-ID: <41436552.6000906@egenix.com> Klavs Klavsen wrote: > Hi guys, > > Just installed a new gcc with stack-smashing protection - and while > recompiling modules with stack-smashing protection, I got this message: > -- > copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l > ib/python2.3/site-packages/mx/Misc > copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ > python2.3/site-packages/mx/Misc > writing byte-compilation script > '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' > /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py > usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: > SyntaxWarning: name 'debugging' is use > d prior to global declaration This is an error that the Python compiler generated. I'd suggest you report to the Python bug tracker. BTW, pytag.py is no longer used or maintained, so you can safely delete it. > python: stack smashing attack in function symtable_node() > error: command '/usr/bin/python' terminated by signal 6 > > !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. > !!! Function distutils_src_install, Line 43, Exitcode 1 > !!! (no error message) > > so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes > one in python) - I haven't done very much research as I can live without > egenix - but just wanted to let you know :) > > p.s. it's python-2.3.3. Thanks, -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 11 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From harrelson at gmail.com Thu Sep 30 17:48:13 2004 From: harrelson at gmail.com (Culley Harrelson) Date: Fri Feb 10 12:03:47 2006 Subject: [egenix-users] OS X 10.3.5: *** You don't have the (right) mxDateTime binaries installed ! Message-ID: <529825a30409301648507c0cf8@mail.gmail.com> I have successfully installed mxDateTime on my OS X 10.3.5 system, using the system Python installation. It installed but as soon as I try to import the module I get: === *** You don't have the (right) mxDateTime binaries installed ! Traceback (most recent call last): File "./testFeDb.py", line 4, in ? from mx import DateTime File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/__init__.py", line 8, in ? from DateTime import * File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/DateTime.py", line 9, in ? from mxDateTime import * File "/Library/Python/2.3/mx/DateTime/mxDateTime/__init__.py", line 13, in ? raise ImportError, why ImportError: Failure linking new module: : dyld: python Undefined symbols: /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyArg_ParseTuple expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCObject_FromVoidPtr expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCallable_Check expected to be defined in the executable /Library/Python/2.3/mx/Date === Has anyone experienced this? Any ideas how to fix it? culley From hanser at club-internet.fr Sat Sep 4 17:13:26 2004 From: hanser at club-internet.fr (Pierre Hanser) Date: Fri Feb 10 16:01:15 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 Message-ID: <4139CD86.6020403@club-internet.fr> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 hello seems that python2.4a3 is not compatible with the optimizations in mx/DateTime/mxDateTime/mxDateTime.c on Linux: from mx import DateTime -> core dump if I disable the optims, everything gets ok /* Define these to have the module use free lists (saves malloc calls) */ #define MXDATETIME_FREELIST #define MXDATETIMEDELTA_FREELIST #undef MXDATETIME_FREELIST #undef MXDATETIMEDELTA_FREELIST - -- Pierre -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBOc2GMQ2/jYUwmmwRAn70AJ4puAZm4p10+KTCK/GzLt20VzWd3ACfQzIo H8hLxq8iCE3KGYZ6AR5QUy8= =GA8t -----END PGP SIGNATURE----- From mal at egenix.com Sun Sep 5 19:53:02 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Fri Feb 10 16:01:15 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 In-Reply-To: <4139CD86.6020403@club-internet.fr> References: <4139CD86.6020403@club-internet.fr> Message-ID: <413B446E.40002@egenix.com> Pierre Hanser wrote: > hello > > seems that python2.4a3 is not compatible with the optimizations in > mx/DateTime/mxDateTime/mxDateTime.c on Linux: > > from mx import DateTime -> core dump > > if I disable the optims, everything gets ok > > /* Define these to have the module use free lists (saves malloc calls) */ > #define MXDATETIME_FREELIST > #define MXDATETIMEDELTA_FREELIST > #undef MXDATETIME_FREELIST > #undef MXDATETIMEDELTA_FREELIST This is more likely due to a bug in your C compiler. -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 05 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From aluton at rcseng.ac.uk Wed Sep 8 12:33:02 2004 From: aluton at rcseng.ac.uk (Alex Luton) Date: Fri Feb 10 16:01:15 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: References: Message-ID: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Hi, I'm trying to get the mxODBC DA working, but the product is broken with this error message: Traceback (most recent call last): File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product product=__import__(pname, global_dict, global_dict, silly) File "Products/mxODBCZopeDA/__init__.py", line 7, in ? File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? Any help would be much appreciated. Thanks -- Alex ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 From mal at egenix.com Wed Sep 8 13:37:44 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Fri Feb 10 16:01:15 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> References: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Message-ID: <413EE0F8.6050601@egenix.com> Alex Luton wrote: > Hi, > > I'm trying to get the mxODBC DA working, but the product is broken with > this error message: > > Traceback (most recent call last): > File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product > product=__import__(pname, global_dict, global_dict, silly) > File "Products/mxODBCZopeDA/__init__.py", line 7, in ? > File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? > ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString > > I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? RedHat chose to build Python with 4-byte Unicode which is causing all sorts of problems with pre-built extensions. We will start shipping UCS4 builds of the Zope DA with the next release. Until then, you can try the pre-release of 1.0.9: http://www.egenix.com/files/python/egenix-mxodbc-zopeda-1.0.9.linux-i686-py2.3ucs4.zip -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 08 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From kl at vsen.dk Sat Sep 11 20:21:57 2004 From: kl at vsen.dk (Klavs Klavsen) Date: Fri Feb 10 16:01:15 2006 Subject: [egenix-users] bufferoverflow in egenix? Message-ID: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Hi guys, Just installed a new gcc with stack-smashing protection - and while recompiling modules with stack-smashing protection, I got this message: -- copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l ib/python2.3/site-packages/mx/Misc copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ python2.3/site-packages/mx/Misc writing byte-compilation script '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: SyntaxWarning: name 'debugging' is use d prior to global declaration python: stack smashing attack in function symtable_node() error: command '/usr/bin/python' terminated by signal 6 !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. !!! Function distutils_src_install, Line 43, Exitcode 1 !!! (no error message) so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes one in python) - I haven't done very much research as I can live without egenix - but just wanted to let you know :) p.s. it's python-2.3.3. -- Regards, Klavs Klavsen, GSEC - kl@vsen.dk - http://www.vsen.dk PGP: 7E063C62/2873 188C 968E 600D D8F8 B8DA 3D3A 0B79 7E06 3C62 "Those who do not understand Unix are condemned to reinvent it, poorly." --Henry Spencer From mal at egenix.com Sat Sep 11 23:51:30 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Fri Feb 10 16:01:15 2006 Subject: [egenix-users] bufferoverflow in egenix? In-Reply-To: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> References: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Message-ID: <41436552.6000906@egenix.com> Klavs Klavsen wrote: > Hi guys, > > Just installed a new gcc with stack-smashing protection - and while > recompiling modules with stack-smashing protection, I got this message: > -- > copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l > ib/python2.3/site-packages/mx/Misc > copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ > python2.3/site-packages/mx/Misc > writing byte-compilation script > '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' > /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py > usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: > SyntaxWarning: name 'debugging' is use > d prior to global declaration This is an error that the Python compiler generated. I'd suggest you report to the Python bug tracker. BTW, pytag.py is no longer used or maintained, so you can safely delete it. > python: stack smashing attack in function symtable_node() > error: command '/usr/bin/python' terminated by signal 6 > > !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. > !!! Function distutils_src_install, Line 43, Exitcode 1 > !!! (no error message) > > so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes > one in python) - I haven't done very much research as I can live without > egenix - but just wanted to let you know :) > > p.s. it's python-2.3.3. Thanks, -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 11 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From harrelson at gmail.com Thu Sep 30 17:48:13 2004 From: harrelson at gmail.com (Culley Harrelson) Date: Fri Feb 10 16:01:15 2006 Subject: [egenix-users] OS X 10.3.5: *** You don't have the (right) mxDateTime binaries installed ! Message-ID: <529825a30409301648507c0cf8@mail.gmail.com> I have successfully installed mxDateTime on my OS X 10.3.5 system, using the system Python installation. It installed but as soon as I try to import the module I get: === *** You don't have the (right) mxDateTime binaries installed ! Traceback (most recent call last): File "./testFeDb.py", line 4, in ? from mx import DateTime File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/__init__.py", line 8, in ? from DateTime import * File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/DateTime.py", line 9, in ? from mxDateTime import * File "/Library/Python/2.3/mx/DateTime/mxDateTime/__init__.py", line 13, in ? raise ImportError, why ImportError: Failure linking new module: : dyld: python Undefined symbols: /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyArg_ParseTuple expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCObject_FromVoidPtr expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCallable_Check expected to be defined in the executable /Library/Python/2.3/mx/Date === Has anyone experienced this? Any ideas how to fix it? culley From hanser at club-internet.fr Sat Sep 4 17:13:26 2004 From: hanser at club-internet.fr (Pierre Hanser) Date: Fri Feb 10 20:01:18 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 Message-ID: <4139CD86.6020403@club-internet.fr> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 hello seems that python2.4a3 is not compatible with the optimizations in mx/DateTime/mxDateTime/mxDateTime.c on Linux: from mx import DateTime -> core dump if I disable the optims, everything gets ok /* Define these to have the module use free lists (saves malloc calls) */ #define MXDATETIME_FREELIST #define MXDATETIMEDELTA_FREELIST #undef MXDATETIME_FREELIST #undef MXDATETIMEDELTA_FREELIST - -- Pierre -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBOc2GMQ2/jYUwmmwRAn70AJ4puAZm4p10+KTCK/GzLt20VzWd3ACfQzIo H8hLxq8iCE3KGYZ6AR5QUy8= =GA8t -----END PGP SIGNATURE----- From mal at egenix.com Sun Sep 5 19:53:02 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Fri Feb 10 20:01:18 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 In-Reply-To: <4139CD86.6020403@club-internet.fr> References: <4139CD86.6020403@club-internet.fr> Message-ID: <413B446E.40002@egenix.com> Pierre Hanser wrote: > hello > > seems that python2.4a3 is not compatible with the optimizations in > mx/DateTime/mxDateTime/mxDateTime.c on Linux: > > from mx import DateTime -> core dump > > if I disable the optims, everything gets ok > > /* Define these to have the module use free lists (saves malloc calls) */ > #define MXDATETIME_FREELIST > #define MXDATETIMEDELTA_FREELIST > #undef MXDATETIME_FREELIST > #undef MXDATETIMEDELTA_FREELIST This is more likely due to a bug in your C compiler. -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 05 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From aluton at rcseng.ac.uk Wed Sep 8 12:33:02 2004 From: aluton at rcseng.ac.uk (Alex Luton) Date: Fri Feb 10 20:01:18 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: References: Message-ID: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Hi, I'm trying to get the mxODBC DA working, but the product is broken with this error message: Traceback (most recent call last): File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product product=__import__(pname, global_dict, global_dict, silly) File "Products/mxODBCZopeDA/__init__.py", line 7, in ? File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? Any help would be much appreciated. Thanks -- Alex ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 From mal at egenix.com Wed Sep 8 13:37:44 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Fri Feb 10 20:01:18 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> References: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Message-ID: <413EE0F8.6050601@egenix.com> Alex Luton wrote: > Hi, > > I'm trying to get the mxODBC DA working, but the product is broken with > this error message: > > Traceback (most recent call last): > File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product > product=__import__(pname, global_dict, global_dict, silly) > File "Products/mxODBCZopeDA/__init__.py", line 7, in ? > File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? > ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString > > I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? RedHat chose to build Python with 4-byte Unicode which is causing all sorts of problems with pre-built extensions. We will start shipping UCS4 builds of the Zope DA with the next release. Until then, you can try the pre-release of 1.0.9: http://www.egenix.com/files/python/egenix-mxodbc-zopeda-1.0.9.linux-i686-py2.3ucs4.zip -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 08 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From kl at vsen.dk Sat Sep 11 20:21:57 2004 From: kl at vsen.dk (Klavs Klavsen) Date: Fri Feb 10 20:01:18 2006 Subject: [egenix-users] bufferoverflow in egenix? Message-ID: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Hi guys, Just installed a new gcc with stack-smashing protection - and while recompiling modules with stack-smashing protection, I got this message: -- copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l ib/python2.3/site-packages/mx/Misc copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ python2.3/site-packages/mx/Misc writing byte-compilation script '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: SyntaxWarning: name 'debugging' is use d prior to global declaration python: stack smashing attack in function symtable_node() error: command '/usr/bin/python' terminated by signal 6 !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. !!! Function distutils_src_install, Line 43, Exitcode 1 !!! (no error message) so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes one in python) - I haven't done very much research as I can live without egenix - but just wanted to let you know :) p.s. it's python-2.3.3. -- Regards, Klavs Klavsen, GSEC - kl@vsen.dk - http://www.vsen.dk PGP: 7E063C62/2873 188C 968E 600D D8F8 B8DA 3D3A 0B79 7E06 3C62 "Those who do not understand Unix are condemned to reinvent it, poorly." --Henry Spencer From mal at egenix.com Sat Sep 11 23:51:30 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Fri Feb 10 20:01:18 2006 Subject: [egenix-users] bufferoverflow in egenix? In-Reply-To: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> References: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Message-ID: <41436552.6000906@egenix.com> Klavs Klavsen wrote: > Hi guys, > > Just installed a new gcc with stack-smashing protection - and while > recompiling modules with stack-smashing protection, I got this message: > -- > copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l > ib/python2.3/site-packages/mx/Misc > copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ > python2.3/site-packages/mx/Misc > writing byte-compilation script > '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' > /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py > usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: > SyntaxWarning: name 'debugging' is use > d prior to global declaration This is an error that the Python compiler generated. I'd suggest you report to the Python bug tracker. BTW, pytag.py is no longer used or maintained, so you can safely delete it. > python: stack smashing attack in function symtable_node() > error: command '/usr/bin/python' terminated by signal 6 > > !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. > !!! Function distutils_src_install, Line 43, Exitcode 1 > !!! (no error message) > > so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes > one in python) - I haven't done very much research as I can live without > egenix - but just wanted to let you know :) > > p.s. it's python-2.3.3. Thanks, -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 11 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From harrelson at gmail.com Thu Sep 30 17:48:13 2004 From: harrelson at gmail.com (Culley Harrelson) Date: Fri Feb 10 20:01:18 2006 Subject: [egenix-users] OS X 10.3.5: *** You don't have the (right) mxDateTime binaries installed ! Message-ID: <529825a30409301648507c0cf8@mail.gmail.com> I have successfully installed mxDateTime on my OS X 10.3.5 system, using the system Python installation. It installed but as soon as I try to import the module I get: === *** You don't have the (right) mxDateTime binaries installed ! Traceback (most recent call last): File "./testFeDb.py", line 4, in ? from mx import DateTime File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/__init__.py", line 8, in ? from DateTime import * File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/DateTime.py", line 9, in ? from mxDateTime import * File "/Library/Python/2.3/mx/DateTime/mxDateTime/__init__.py", line 13, in ? raise ImportError, why ImportError: Failure linking new module: : dyld: python Undefined symbols: /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyArg_ParseTuple expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCObject_FromVoidPtr expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCallable_Check expected to be defined in the executable /Library/Python/2.3/mx/Date === Has anyone experienced this? Any ideas how to fix it? culley From hanser at club-internet.fr Sat Sep 4 17:13:26 2004 From: hanser at club-internet.fr (Pierre Hanser) Date: Sat Feb 11 08:13:11 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 Message-ID: <4139CD86.6020403@club-internet.fr> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 hello seems that python2.4a3 is not compatible with the optimizations in mx/DateTime/mxDateTime/mxDateTime.c on Linux: from mx import DateTime -> core dump if I disable the optims, everything gets ok /* Define these to have the module use free lists (saves malloc calls) */ #define MXDATETIME_FREELIST #define MXDATETIMEDELTA_FREELIST #undef MXDATETIME_FREELIST #undef MXDATETIMEDELTA_FREELIST - -- Pierre -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBOc2GMQ2/jYUwmmwRAn70AJ4puAZm4p10+KTCK/GzLt20VzWd3ACfQzIo H8hLxq8iCE3KGYZ6AR5QUy8= =GA8t -----END PGP SIGNATURE----- From mal at egenix.com Sun Sep 5 19:53:02 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Sat Feb 11 08:13:11 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 In-Reply-To: <4139CD86.6020403@club-internet.fr> References: <4139CD86.6020403@club-internet.fr> Message-ID: <413B446E.40002@egenix.com> Pierre Hanser wrote: > hello > > seems that python2.4a3 is not compatible with the optimizations in > mx/DateTime/mxDateTime/mxDateTime.c on Linux: > > from mx import DateTime -> core dump > > if I disable the optims, everything gets ok > > /* Define these to have the module use free lists (saves malloc calls) */ > #define MXDATETIME_FREELIST > #define MXDATETIMEDELTA_FREELIST > #undef MXDATETIME_FREELIST > #undef MXDATETIMEDELTA_FREELIST This is more likely due to a bug in your C compiler. -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 05 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From aluton at rcseng.ac.uk Wed Sep 8 12:33:02 2004 From: aluton at rcseng.ac.uk (Alex Luton) Date: Sat Feb 11 08:13:11 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: References: Message-ID: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Hi, I'm trying to get the mxODBC DA working, but the product is broken with this error message: Traceback (most recent call last): File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product product=__import__(pname, global_dict, global_dict, silly) File "Products/mxODBCZopeDA/__init__.py", line 7, in ? File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? Any help would be much appreciated. Thanks -- Alex ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 From mal at egenix.com Wed Sep 8 13:37:44 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Sat Feb 11 08:13:11 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> References: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Message-ID: <413EE0F8.6050601@egenix.com> Alex Luton wrote: > Hi, > > I'm trying to get the mxODBC DA working, but the product is broken with > this error message: > > Traceback (most recent call last): > File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product > product=__import__(pname, global_dict, global_dict, silly) > File "Products/mxODBCZopeDA/__init__.py", line 7, in ? > File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? > ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString > > I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? RedHat chose to build Python with 4-byte Unicode which is causing all sorts of problems with pre-built extensions. We will start shipping UCS4 builds of the Zope DA with the next release. Until then, you can try the pre-release of 1.0.9: http://www.egenix.com/files/python/egenix-mxodbc-zopeda-1.0.9.linux-i686-py2.3ucs4.zip -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 08 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From kl at vsen.dk Sat Sep 11 20:21:57 2004 From: kl at vsen.dk (Klavs Klavsen) Date: Sat Feb 11 08:13:11 2006 Subject: [egenix-users] bufferoverflow in egenix? Message-ID: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Hi guys, Just installed a new gcc with stack-smashing protection - and while recompiling modules with stack-smashing protection, I got this message: -- copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l ib/python2.3/site-packages/mx/Misc copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ python2.3/site-packages/mx/Misc writing byte-compilation script '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: SyntaxWarning: name 'debugging' is use d prior to global declaration python: stack smashing attack in function symtable_node() error: command '/usr/bin/python' terminated by signal 6 !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. !!! Function distutils_src_install, Line 43, Exitcode 1 !!! (no error message) so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes one in python) - I haven't done very much research as I can live without egenix - but just wanted to let you know :) p.s. it's python-2.3.3. -- Regards, Klavs Klavsen, GSEC - kl@vsen.dk - http://www.vsen.dk PGP: 7E063C62/2873 188C 968E 600D D8F8 B8DA 3D3A 0B79 7E06 3C62 "Those who do not understand Unix are condemned to reinvent it, poorly." --Henry Spencer From mal at egenix.com Sat Sep 11 23:51:30 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Sat Feb 11 08:13:11 2006 Subject: [egenix-users] bufferoverflow in egenix? In-Reply-To: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> References: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Message-ID: <41436552.6000906@egenix.com> Klavs Klavsen wrote: > Hi guys, > > Just installed a new gcc with stack-smashing protection - and while > recompiling modules with stack-smashing protection, I got this message: > -- > copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l > ib/python2.3/site-packages/mx/Misc > copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ > python2.3/site-packages/mx/Misc > writing byte-compilation script > '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' > /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py > usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: > SyntaxWarning: name 'debugging' is use > d prior to global declaration This is an error that the Python compiler generated. I'd suggest you report to the Python bug tracker. BTW, pytag.py is no longer used or maintained, so you can safely delete it. > python: stack smashing attack in function symtable_node() > error: command '/usr/bin/python' terminated by signal 6 > > !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. > !!! Function distutils_src_install, Line 43, Exitcode 1 > !!! (no error message) > > so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes > one in python) - I haven't done very much research as I can live without > egenix - but just wanted to let you know :) > > p.s. it's python-2.3.3. Thanks, -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 11 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From harrelson at gmail.com Thu Sep 30 17:48:13 2004 From: harrelson at gmail.com (Culley Harrelson) Date: Sat Feb 11 08:13:11 2006 Subject: [egenix-users] OS X 10.3.5: *** You don't have the (right) mxDateTime binaries installed ! Message-ID: <529825a30409301648507c0cf8@mail.gmail.com> I have successfully installed mxDateTime on my OS X 10.3.5 system, using the system Python installation. It installed but as soon as I try to import the module I get: === *** You don't have the (right) mxDateTime binaries installed ! Traceback (most recent call last): File "./testFeDb.py", line 4, in ? from mx import DateTime File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/__init__.py", line 8, in ? from DateTime import * File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/DateTime.py", line 9, in ? from mxDateTime import * File "/Library/Python/2.3/mx/DateTime/mxDateTime/__init__.py", line 13, in ? raise ImportError, why ImportError: Failure linking new module: : dyld: python Undefined symbols: /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyArg_ParseTuple expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCObject_FromVoidPtr expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCallable_Check expected to be defined in the executable /Library/Python/2.3/mx/Date === Has anyone experienced this? Any ideas how to fix it? culley From hanser at club-internet.fr Sat Sep 4 17:13:26 2004 From: hanser at club-internet.fr (Pierre Hanser) Date: Sat Feb 11 12:02:46 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 Message-ID: <4139CD86.6020403@club-internet.fr> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 hello seems that python2.4a3 is not compatible with the optimizations in mx/DateTime/mxDateTime/mxDateTime.c on Linux: from mx import DateTime -> core dump if I disable the optims, everything gets ok /* Define these to have the module use free lists (saves malloc calls) */ #define MXDATETIME_FREELIST #define MXDATETIMEDELTA_FREELIST #undef MXDATETIME_FREELIST #undef MXDATETIMEDELTA_FREELIST - -- Pierre -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBOc2GMQ2/jYUwmmwRAn70AJ4puAZm4p10+KTCK/GzLt20VzWd3ACfQzIo H8hLxq8iCE3KGYZ6AR5QUy8= =GA8t -----END PGP SIGNATURE----- From mal at egenix.com Sun Sep 5 19:53:02 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Sat Feb 11 12:02:46 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 In-Reply-To: <4139CD86.6020403@club-internet.fr> References: <4139CD86.6020403@club-internet.fr> Message-ID: <413B446E.40002@egenix.com> Pierre Hanser wrote: > hello > > seems that python2.4a3 is not compatible with the optimizations in > mx/DateTime/mxDateTime/mxDateTime.c on Linux: > > from mx import DateTime -> core dump > > if I disable the optims, everything gets ok > > /* Define these to have the module use free lists (saves malloc calls) */ > #define MXDATETIME_FREELIST > #define MXDATETIMEDELTA_FREELIST > #undef MXDATETIME_FREELIST > #undef MXDATETIMEDELTA_FREELIST This is more likely due to a bug in your C compiler. -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 05 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From aluton at rcseng.ac.uk Wed Sep 8 12:33:02 2004 From: aluton at rcseng.ac.uk (Alex Luton) Date: Sat Feb 11 12:02:46 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: References: Message-ID: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Hi, I'm trying to get the mxODBC DA working, but the product is broken with this error message: Traceback (most recent call last): File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product product=__import__(pname, global_dict, global_dict, silly) File "Products/mxODBCZopeDA/__init__.py", line 7, in ? File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? Any help would be much appreciated. Thanks -- Alex ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 From mal at egenix.com Wed Sep 8 13:37:44 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Sat Feb 11 12:02:46 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> References: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Message-ID: <413EE0F8.6050601@egenix.com> Alex Luton wrote: > Hi, > > I'm trying to get the mxODBC DA working, but the product is broken with > this error message: > > Traceback (most recent call last): > File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product > product=__import__(pname, global_dict, global_dict, silly) > File "Products/mxODBCZopeDA/__init__.py", line 7, in ? > File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? > ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString > > I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? RedHat chose to build Python with 4-byte Unicode which is causing all sorts of problems with pre-built extensions. We will start shipping UCS4 builds of the Zope DA with the next release. Until then, you can try the pre-release of 1.0.9: http://www.egenix.com/files/python/egenix-mxodbc-zopeda-1.0.9.linux-i686-py2.3ucs4.zip -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 08 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From kl at vsen.dk Sat Sep 11 20:21:57 2004 From: kl at vsen.dk (Klavs Klavsen) Date: Sat Feb 11 12:02:46 2006 Subject: [egenix-users] bufferoverflow in egenix? Message-ID: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Hi guys, Just installed a new gcc with stack-smashing protection - and while recompiling modules with stack-smashing protection, I got this message: -- copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l ib/python2.3/site-packages/mx/Misc copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ python2.3/site-packages/mx/Misc writing byte-compilation script '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: SyntaxWarning: name 'debugging' is use d prior to global declaration python: stack smashing attack in function symtable_node() error: command '/usr/bin/python' terminated by signal 6 !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. !!! Function distutils_src_install, Line 43, Exitcode 1 !!! (no error message) so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes one in python) - I haven't done very much research as I can live without egenix - but just wanted to let you know :) p.s. it's python-2.3.3. -- Regards, Klavs Klavsen, GSEC - kl@vsen.dk - http://www.vsen.dk PGP: 7E063C62/2873 188C 968E 600D D8F8 B8DA 3D3A 0B79 7E06 3C62 "Those who do not understand Unix are condemned to reinvent it, poorly." --Henry Spencer From mal at egenix.com Sat Sep 11 23:51:30 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Sat Feb 11 12:02:46 2006 Subject: [egenix-users] bufferoverflow in egenix? In-Reply-To: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> References: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Message-ID: <41436552.6000906@egenix.com> Klavs Klavsen wrote: > Hi guys, > > Just installed a new gcc with stack-smashing protection - and while > recompiling modules with stack-smashing protection, I got this message: > -- > copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l > ib/python2.3/site-packages/mx/Misc > copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ > python2.3/site-packages/mx/Misc > writing byte-compilation script > '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' > /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py > usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: > SyntaxWarning: name 'debugging' is use > d prior to global declaration This is an error that the Python compiler generated. I'd suggest you report to the Python bug tracker. BTW, pytag.py is no longer used or maintained, so you can safely delete it. > python: stack smashing attack in function symtable_node() > error: command '/usr/bin/python' terminated by signal 6 > > !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. > !!! Function distutils_src_install, Line 43, Exitcode 1 > !!! (no error message) > > so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes > one in python) - I haven't done very much research as I can live without > egenix - but just wanted to let you know :) > > p.s. it's python-2.3.3. Thanks, -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 11 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From harrelson at gmail.com Thu Sep 30 17:48:13 2004 From: harrelson at gmail.com (Culley Harrelson) Date: Sat Feb 11 12:02:47 2006 Subject: [egenix-users] OS X 10.3.5: *** You don't have the (right) mxDateTime binaries installed ! Message-ID: <529825a30409301648507c0cf8@mail.gmail.com> I have successfully installed mxDateTime on my OS X 10.3.5 system, using the system Python installation. It installed but as soon as I try to import the module I get: === *** You don't have the (right) mxDateTime binaries installed ! Traceback (most recent call last): File "./testFeDb.py", line 4, in ? from mx import DateTime File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/__init__.py", line 8, in ? from DateTime import * File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/DateTime.py", line 9, in ? from mxDateTime import * File "/Library/Python/2.3/mx/DateTime/mxDateTime/__init__.py", line 13, in ? raise ImportError, why ImportError: Failure linking new module: : dyld: python Undefined symbols: /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyArg_ParseTuple expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCObject_FromVoidPtr expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCallable_Check expected to be defined in the executable /Library/Python/2.3/mx/Date === Has anyone experienced this? Any ideas how to fix it? culley From hanser at club-internet.fr Sat Sep 4 17:13:26 2004 From: hanser at club-internet.fr (Pierre Hanser) Date: Sat Feb 11 16:01:11 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 Message-ID: <4139CD86.6020403@club-internet.fr> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 hello seems that python2.4a3 is not compatible with the optimizations in mx/DateTime/mxDateTime/mxDateTime.c on Linux: from mx import DateTime -> core dump if I disable the optims, everything gets ok /* Define these to have the module use free lists (saves malloc calls) */ #define MXDATETIME_FREELIST #define MXDATETIMEDELTA_FREELIST #undef MXDATETIME_FREELIST #undef MXDATETIMEDELTA_FREELIST - -- Pierre -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBOc2GMQ2/jYUwmmwRAn70AJ4puAZm4p10+KTCK/GzLt20VzWd3ACfQzIo H8hLxq8iCE3KGYZ6AR5QUy8= =GA8t -----END PGP SIGNATURE----- From mal at egenix.com Sun Sep 5 19:53:02 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Sat Feb 11 16:01:11 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 In-Reply-To: <4139CD86.6020403@club-internet.fr> References: <4139CD86.6020403@club-internet.fr> Message-ID: <413B446E.40002@egenix.com> Pierre Hanser wrote: > hello > > seems that python2.4a3 is not compatible with the optimizations in > mx/DateTime/mxDateTime/mxDateTime.c on Linux: > > from mx import DateTime -> core dump > > if I disable the optims, everything gets ok > > /* Define these to have the module use free lists (saves malloc calls) */ > #define MXDATETIME_FREELIST > #define MXDATETIMEDELTA_FREELIST > #undef MXDATETIME_FREELIST > #undef MXDATETIMEDELTA_FREELIST This is more likely due to a bug in your C compiler. -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 05 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From aluton at rcseng.ac.uk Wed Sep 8 12:33:02 2004 From: aluton at rcseng.ac.uk (Alex Luton) Date: Sat Feb 11 16:01:11 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: References: Message-ID: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Hi, I'm trying to get the mxODBC DA working, but the product is broken with this error message: Traceback (most recent call last): File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product product=__import__(pname, global_dict, global_dict, silly) File "Products/mxODBCZopeDA/__init__.py", line 7, in ? File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? Any help would be much appreciated. Thanks -- Alex ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 From mal at egenix.com Wed Sep 8 13:37:44 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Sat Feb 11 16:01:11 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> References: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Message-ID: <413EE0F8.6050601@egenix.com> Alex Luton wrote: > Hi, > > I'm trying to get the mxODBC DA working, but the product is broken with > this error message: > > Traceback (most recent call last): > File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product > product=__import__(pname, global_dict, global_dict, silly) > File "Products/mxODBCZopeDA/__init__.py", line 7, in ? > File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? > ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString > > I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? RedHat chose to build Python with 4-byte Unicode which is causing all sorts of problems with pre-built extensions. We will start shipping UCS4 builds of the Zope DA with the next release. Until then, you can try the pre-release of 1.0.9: http://www.egenix.com/files/python/egenix-mxodbc-zopeda-1.0.9.linux-i686-py2.3ucs4.zip -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 08 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From kl at vsen.dk Sat Sep 11 20:21:57 2004 From: kl at vsen.dk (Klavs Klavsen) Date: Sat Feb 11 16:01:11 2006 Subject: [egenix-users] bufferoverflow in egenix? Message-ID: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Hi guys, Just installed a new gcc with stack-smashing protection - and while recompiling modules with stack-smashing protection, I got this message: -- copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l ib/python2.3/site-packages/mx/Misc copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ python2.3/site-packages/mx/Misc writing byte-compilation script '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: SyntaxWarning: name 'debugging' is use d prior to global declaration python: stack smashing attack in function symtable_node() error: command '/usr/bin/python' terminated by signal 6 !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. !!! Function distutils_src_install, Line 43, Exitcode 1 !!! (no error message) so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes one in python) - I haven't done very much research as I can live without egenix - but just wanted to let you know :) p.s. it's python-2.3.3. -- Regards, Klavs Klavsen, GSEC - kl@vsen.dk - http://www.vsen.dk PGP: 7E063C62/2873 188C 968E 600D D8F8 B8DA 3D3A 0B79 7E06 3C62 "Those who do not understand Unix are condemned to reinvent it, poorly." --Henry Spencer From mal at egenix.com Sat Sep 11 23:51:30 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Sat Feb 11 16:01:11 2006 Subject: [egenix-users] bufferoverflow in egenix? In-Reply-To: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> References: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Message-ID: <41436552.6000906@egenix.com> Klavs Klavsen wrote: > Hi guys, > > Just installed a new gcc with stack-smashing protection - and while > recompiling modules with stack-smashing protection, I got this message: > -- > copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l > ib/python2.3/site-packages/mx/Misc > copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ > python2.3/site-packages/mx/Misc > writing byte-compilation script > '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' > /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py > usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: > SyntaxWarning: name 'debugging' is use > d prior to global declaration This is an error that the Python compiler generated. I'd suggest you report to the Python bug tracker. BTW, pytag.py is no longer used or maintained, so you can safely delete it. > python: stack smashing attack in function symtable_node() > error: command '/usr/bin/python' terminated by signal 6 > > !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. > !!! Function distutils_src_install, Line 43, Exitcode 1 > !!! (no error message) > > so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes > one in python) - I haven't done very much research as I can live without > egenix - but just wanted to let you know :) > > p.s. it's python-2.3.3. Thanks, -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 11 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From harrelson at gmail.com Thu Sep 30 17:48:13 2004 From: harrelson at gmail.com (Culley Harrelson) Date: Sat Feb 11 16:01:11 2006 Subject: [egenix-users] OS X 10.3.5: *** You don't have the (right) mxDateTime binaries installed ! Message-ID: <529825a30409301648507c0cf8@mail.gmail.com> I have successfully installed mxDateTime on my OS X 10.3.5 system, using the system Python installation. It installed but as soon as I try to import the module I get: === *** You don't have the (right) mxDateTime binaries installed ! Traceback (most recent call last): File "./testFeDb.py", line 4, in ? from mx import DateTime File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/__init__.py", line 8, in ? from DateTime import * File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/DateTime.py", line 9, in ? from mxDateTime import * File "/Library/Python/2.3/mx/DateTime/mxDateTime/__init__.py", line 13, in ? raise ImportError, why ImportError: Failure linking new module: : dyld: python Undefined symbols: /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyArg_ParseTuple expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCObject_FromVoidPtr expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCallable_Check expected to be defined in the executable /Library/Python/2.3/mx/Date === Has anyone experienced this? Any ideas how to fix it? culley From hanser at club-internet.fr Sat Sep 4 17:13:26 2004 From: hanser at club-internet.fr (Pierre Hanser) Date: Sat Feb 11 20:01:02 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 Message-ID: <4139CD86.6020403@club-internet.fr> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 hello seems that python2.4a3 is not compatible with the optimizations in mx/DateTime/mxDateTime/mxDateTime.c on Linux: from mx import DateTime -> core dump if I disable the optims, everything gets ok /* Define these to have the module use free lists (saves malloc calls) */ #define MXDATETIME_FREELIST #define MXDATETIMEDELTA_FREELIST #undef MXDATETIME_FREELIST #undef MXDATETIMEDELTA_FREELIST - -- Pierre -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBOc2GMQ2/jYUwmmwRAn70AJ4puAZm4p10+KTCK/GzLt20VzWd3ACfQzIo H8hLxq8iCE3KGYZ6AR5QUy8= =GA8t -----END PGP SIGNATURE----- From mal at egenix.com Sun Sep 5 19:53:02 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Sat Feb 11 20:01:02 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 In-Reply-To: <4139CD86.6020403@club-internet.fr> References: <4139CD86.6020403@club-internet.fr> Message-ID: <413B446E.40002@egenix.com> Pierre Hanser wrote: > hello > > seems that python2.4a3 is not compatible with the optimizations in > mx/DateTime/mxDateTime/mxDateTime.c on Linux: > > from mx import DateTime -> core dump > > if I disable the optims, everything gets ok > > /* Define these to have the module use free lists (saves malloc calls) */ > #define MXDATETIME_FREELIST > #define MXDATETIMEDELTA_FREELIST > #undef MXDATETIME_FREELIST > #undef MXDATETIMEDELTA_FREELIST This is more likely due to a bug in your C compiler. -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 05 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From aluton at rcseng.ac.uk Wed Sep 8 12:33:02 2004 From: aluton at rcseng.ac.uk (Alex Luton) Date: Sat Feb 11 20:01:02 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: References: Message-ID: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Hi, I'm trying to get the mxODBC DA working, but the product is broken with this error message: Traceback (most recent call last): File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product product=__import__(pname, global_dict, global_dict, silly) File "Products/mxODBCZopeDA/__init__.py", line 7, in ? File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? Any help would be much appreciated. Thanks -- Alex ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 From mal at egenix.com Wed Sep 8 13:37:44 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Sat Feb 11 20:01:02 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> References: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Message-ID: <413EE0F8.6050601@egenix.com> Alex Luton wrote: > Hi, > > I'm trying to get the mxODBC DA working, but the product is broken with > this error message: > > Traceback (most recent call last): > File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product > product=__import__(pname, global_dict, global_dict, silly) > File "Products/mxODBCZopeDA/__init__.py", line 7, in ? > File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? > ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString > > I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? RedHat chose to build Python with 4-byte Unicode which is causing all sorts of problems with pre-built extensions. We will start shipping UCS4 builds of the Zope DA with the next release. Until then, you can try the pre-release of 1.0.9: http://www.egenix.com/files/python/egenix-mxodbc-zopeda-1.0.9.linux-i686-py2.3ucs4.zip -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 08 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From kl at vsen.dk Sat Sep 11 20:21:57 2004 From: kl at vsen.dk (Klavs Klavsen) Date: Sat Feb 11 20:01:02 2006 Subject: [egenix-users] bufferoverflow in egenix? Message-ID: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Hi guys, Just installed a new gcc with stack-smashing protection - and while recompiling modules with stack-smashing protection, I got this message: -- copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l ib/python2.3/site-packages/mx/Misc copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ python2.3/site-packages/mx/Misc writing byte-compilation script '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: SyntaxWarning: name 'debugging' is use d prior to global declaration python: stack smashing attack in function symtable_node() error: command '/usr/bin/python' terminated by signal 6 !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. !!! Function distutils_src_install, Line 43, Exitcode 1 !!! (no error message) so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes one in python) - I haven't done very much research as I can live without egenix - but just wanted to let you know :) p.s. it's python-2.3.3. -- Regards, Klavs Klavsen, GSEC - kl@vsen.dk - http://www.vsen.dk PGP: 7E063C62/2873 188C 968E 600D D8F8 B8DA 3D3A 0B79 7E06 3C62 "Those who do not understand Unix are condemned to reinvent it, poorly." --Henry Spencer From mal at egenix.com Sat Sep 11 23:51:30 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Sat Feb 11 20:01:02 2006 Subject: [egenix-users] bufferoverflow in egenix? In-Reply-To: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> References: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Message-ID: <41436552.6000906@egenix.com> Klavs Klavsen wrote: > Hi guys, > > Just installed a new gcc with stack-smashing protection - and while > recompiling modules with stack-smashing protection, I got this message: > -- > copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l > ib/python2.3/site-packages/mx/Misc > copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ > python2.3/site-packages/mx/Misc > writing byte-compilation script > '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' > /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py > usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: > SyntaxWarning: name 'debugging' is use > d prior to global declaration This is an error that the Python compiler generated. I'd suggest you report to the Python bug tracker. BTW, pytag.py is no longer used or maintained, so you can safely delete it. > python: stack smashing attack in function symtable_node() > error: command '/usr/bin/python' terminated by signal 6 > > !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. > !!! Function distutils_src_install, Line 43, Exitcode 1 > !!! (no error message) > > so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes > one in python) - I haven't done very much research as I can live without > egenix - but just wanted to let you know :) > > p.s. it's python-2.3.3. Thanks, -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 11 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From harrelson at gmail.com Thu Sep 30 17:48:13 2004 From: harrelson at gmail.com (Culley Harrelson) Date: Sat Feb 11 20:01:02 2006 Subject: [egenix-users] OS X 10.3.5: *** You don't have the (right) mxDateTime binaries installed ! Message-ID: <529825a30409301648507c0cf8@mail.gmail.com> I have successfully installed mxDateTime on my OS X 10.3.5 system, using the system Python installation. It installed but as soon as I try to import the module I get: === *** You don't have the (right) mxDateTime binaries installed ! Traceback (most recent call last): File "./testFeDb.py", line 4, in ? from mx import DateTime File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/__init__.py", line 8, in ? from DateTime import * File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/DateTime.py", line 9, in ? from mxDateTime import * File "/Library/Python/2.3/mx/DateTime/mxDateTime/__init__.py", line 13, in ? raise ImportError, why ImportError: Failure linking new module: : dyld: python Undefined symbols: /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyArg_ParseTuple expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCObject_FromVoidPtr expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCallable_Check expected to be defined in the executable /Library/Python/2.3/mx/Date === Has anyone experienced this? Any ideas how to fix it? culley From hanser at club-internet.fr Sat Sep 4 17:13:26 2004 From: hanser at club-internet.fr (Pierre Hanser) Date: Sun Feb 12 08:09:45 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 Message-ID: <4139CD86.6020403@club-internet.fr> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 hello seems that python2.4a3 is not compatible with the optimizations in mx/DateTime/mxDateTime/mxDateTime.c on Linux: from mx import DateTime -> core dump if I disable the optims, everything gets ok /* Define these to have the module use free lists (saves malloc calls) */ #define MXDATETIME_FREELIST #define MXDATETIMEDELTA_FREELIST #undef MXDATETIME_FREELIST #undef MXDATETIMEDELTA_FREELIST - -- Pierre -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBOc2GMQ2/jYUwmmwRAn70AJ4puAZm4p10+KTCK/GzLt20VzWd3ACfQzIo H8hLxq8iCE3KGYZ6AR5QUy8= =GA8t -----END PGP SIGNATURE----- From mal at egenix.com Sun Sep 5 19:53:02 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Sun Feb 12 08:09:45 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 In-Reply-To: <4139CD86.6020403@club-internet.fr> References: <4139CD86.6020403@club-internet.fr> Message-ID: <413B446E.40002@egenix.com> Pierre Hanser wrote: > hello > > seems that python2.4a3 is not compatible with the optimizations in > mx/DateTime/mxDateTime/mxDateTime.c on Linux: > > from mx import DateTime -> core dump > > if I disable the optims, everything gets ok > > /* Define these to have the module use free lists (saves malloc calls) */ > #define MXDATETIME_FREELIST > #define MXDATETIMEDELTA_FREELIST > #undef MXDATETIME_FREELIST > #undef MXDATETIMEDELTA_FREELIST This is more likely due to a bug in your C compiler. -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 05 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From aluton at rcseng.ac.uk Wed Sep 8 12:33:02 2004 From: aluton at rcseng.ac.uk (Alex Luton) Date: Sun Feb 12 08:09:45 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: References: Message-ID: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Hi, I'm trying to get the mxODBC DA working, but the product is broken with this error message: Traceback (most recent call last): File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product product=__import__(pname, global_dict, global_dict, silly) File "Products/mxODBCZopeDA/__init__.py", line 7, in ? File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? Any help would be much appreciated. Thanks -- Alex ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 From mal at egenix.com Wed Sep 8 13:37:44 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Sun Feb 12 08:09:45 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> References: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Message-ID: <413EE0F8.6050601@egenix.com> Alex Luton wrote: > Hi, > > I'm trying to get the mxODBC DA working, but the product is broken with > this error message: > > Traceback (most recent call last): > File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product > product=__import__(pname, global_dict, global_dict, silly) > File "Products/mxODBCZopeDA/__init__.py", line 7, in ? > File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? > ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString > > I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? RedHat chose to build Python with 4-byte Unicode which is causing all sorts of problems with pre-built extensions. We will start shipping UCS4 builds of the Zope DA with the next release. Until then, you can try the pre-release of 1.0.9: http://www.egenix.com/files/python/egenix-mxodbc-zopeda-1.0.9.linux-i686-py2.3ucs4.zip -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 08 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From kl at vsen.dk Sat Sep 11 20:21:57 2004 From: kl at vsen.dk (Klavs Klavsen) Date: Sun Feb 12 08:09:45 2006 Subject: [egenix-users] bufferoverflow in egenix? Message-ID: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Hi guys, Just installed a new gcc with stack-smashing protection - and while recompiling modules with stack-smashing protection, I got this message: -- copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l ib/python2.3/site-packages/mx/Misc copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ python2.3/site-packages/mx/Misc writing byte-compilation script '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: SyntaxWarning: name 'debugging' is use d prior to global declaration python: stack smashing attack in function symtable_node() error: command '/usr/bin/python' terminated by signal 6 !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. !!! Function distutils_src_install, Line 43, Exitcode 1 !!! (no error message) so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes one in python) - I haven't done very much research as I can live without egenix - but just wanted to let you know :) p.s. it's python-2.3.3. -- Regards, Klavs Klavsen, GSEC - kl@vsen.dk - http://www.vsen.dk PGP: 7E063C62/2873 188C 968E 600D D8F8 B8DA 3D3A 0B79 7E06 3C62 "Those who do not understand Unix are condemned to reinvent it, poorly." --Henry Spencer From mal at egenix.com Sat Sep 11 23:51:30 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Sun Feb 12 08:09:45 2006 Subject: [egenix-users] bufferoverflow in egenix? In-Reply-To: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> References: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Message-ID: <41436552.6000906@egenix.com> Klavs Klavsen wrote: > Hi guys, > > Just installed a new gcc with stack-smashing protection - and while > recompiling modules with stack-smashing protection, I got this message: > -- > copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l > ib/python2.3/site-packages/mx/Misc > copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ > python2.3/site-packages/mx/Misc > writing byte-compilation script > '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' > /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py > usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: > SyntaxWarning: name 'debugging' is use > d prior to global declaration This is an error that the Python compiler generated. I'd suggest you report to the Python bug tracker. BTW, pytag.py is no longer used or maintained, so you can safely delete it. > python: stack smashing attack in function symtable_node() > error: command '/usr/bin/python' terminated by signal 6 > > !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. > !!! Function distutils_src_install, Line 43, Exitcode 1 > !!! (no error message) > > so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes > one in python) - I haven't done very much research as I can live without > egenix - but just wanted to let you know :) > > p.s. it's python-2.3.3. Thanks, -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 11 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From harrelson at gmail.com Thu Sep 30 17:48:13 2004 From: harrelson at gmail.com (Culley Harrelson) Date: Sun Feb 12 08:09:45 2006 Subject: [egenix-users] OS X 10.3.5: *** You don't have the (right) mxDateTime binaries installed ! Message-ID: <529825a30409301648507c0cf8@mail.gmail.com> I have successfully installed mxDateTime on my OS X 10.3.5 system, using the system Python installation. It installed but as soon as I try to import the module I get: === *** You don't have the (right) mxDateTime binaries installed ! Traceback (most recent call last): File "./testFeDb.py", line 4, in ? from mx import DateTime File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/__init__.py", line 8, in ? from DateTime import * File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/DateTime.py", line 9, in ? from mxDateTime import * File "/Library/Python/2.3/mx/DateTime/mxDateTime/__init__.py", line 13, in ? raise ImportError, why ImportError: Failure linking new module: : dyld: python Undefined symbols: /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyArg_ParseTuple expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCObject_FromVoidPtr expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCallable_Check expected to be defined in the executable /Library/Python/2.3/mx/Date === Has anyone experienced this? Any ideas how to fix it? culley From hanser at club-internet.fr Sat Sep 4 17:13:26 2004 From: hanser at club-internet.fr (Pierre Hanser) Date: Sun Feb 12 12:02:55 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 Message-ID: <4139CD86.6020403@club-internet.fr> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 hello seems that python2.4a3 is not compatible with the optimizations in mx/DateTime/mxDateTime/mxDateTime.c on Linux: from mx import DateTime -> core dump if I disable the optims, everything gets ok /* Define these to have the module use free lists (saves malloc calls) */ #define MXDATETIME_FREELIST #define MXDATETIMEDELTA_FREELIST #undef MXDATETIME_FREELIST #undef MXDATETIMEDELTA_FREELIST - -- Pierre -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBOc2GMQ2/jYUwmmwRAn70AJ4puAZm4p10+KTCK/GzLt20VzWd3ACfQzIo H8hLxq8iCE3KGYZ6AR5QUy8= =GA8t -----END PGP SIGNATURE----- From mal at egenix.com Sun Sep 5 19:53:02 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Sun Feb 12 12:02:55 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 In-Reply-To: <4139CD86.6020403@club-internet.fr> References: <4139CD86.6020403@club-internet.fr> Message-ID: <413B446E.40002@egenix.com> Pierre Hanser wrote: > hello > > seems that python2.4a3 is not compatible with the optimizations in > mx/DateTime/mxDateTime/mxDateTime.c on Linux: > > from mx import DateTime -> core dump > > if I disable the optims, everything gets ok > > /* Define these to have the module use free lists (saves malloc calls) */ > #define MXDATETIME_FREELIST > #define MXDATETIMEDELTA_FREELIST > #undef MXDATETIME_FREELIST > #undef MXDATETIMEDELTA_FREELIST This is more likely due to a bug in your C compiler. -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 05 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From aluton at rcseng.ac.uk Wed Sep 8 12:33:02 2004 From: aluton at rcseng.ac.uk (Alex Luton) Date: Sun Feb 12 12:02:56 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: References: Message-ID: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Hi, I'm trying to get the mxODBC DA working, but the product is broken with this error message: Traceback (most recent call last): File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product product=__import__(pname, global_dict, global_dict, silly) File "Products/mxODBCZopeDA/__init__.py", line 7, in ? File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? Any help would be much appreciated. Thanks -- Alex ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 From mal at egenix.com Wed Sep 8 13:37:44 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Sun Feb 12 12:02:56 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> References: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Message-ID: <413EE0F8.6050601@egenix.com> Alex Luton wrote: > Hi, > > I'm trying to get the mxODBC DA working, but the product is broken with > this error message: > > Traceback (most recent call last): > File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product > product=__import__(pname, global_dict, global_dict, silly) > File "Products/mxODBCZopeDA/__init__.py", line 7, in ? > File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? > ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString > > I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? RedHat chose to build Python with 4-byte Unicode which is causing all sorts of problems with pre-built extensions. We will start shipping UCS4 builds of the Zope DA with the next release. Until then, you can try the pre-release of 1.0.9: http://www.egenix.com/files/python/egenix-mxodbc-zopeda-1.0.9.linux-i686-py2.3ucs4.zip -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 08 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From kl at vsen.dk Sat Sep 11 20:21:57 2004 From: kl at vsen.dk (Klavs Klavsen) Date: Sun Feb 12 12:02:56 2006 Subject: [egenix-users] bufferoverflow in egenix? Message-ID: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Hi guys, Just installed a new gcc with stack-smashing protection - and while recompiling modules with stack-smashing protection, I got this message: -- copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l ib/python2.3/site-packages/mx/Misc copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ python2.3/site-packages/mx/Misc writing byte-compilation script '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: SyntaxWarning: name 'debugging' is use d prior to global declaration python: stack smashing attack in function symtable_node() error: command '/usr/bin/python' terminated by signal 6 !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. !!! Function distutils_src_install, Line 43, Exitcode 1 !!! (no error message) so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes one in python) - I haven't done very much research as I can live without egenix - but just wanted to let you know :) p.s. it's python-2.3.3. -- Regards, Klavs Klavsen, GSEC - kl@vsen.dk - http://www.vsen.dk PGP: 7E063C62/2873 188C 968E 600D D8F8 B8DA 3D3A 0B79 7E06 3C62 "Those who do not understand Unix are condemned to reinvent it, poorly." --Henry Spencer From mal at egenix.com Sat Sep 11 23:51:30 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Sun Feb 12 12:02:56 2006 Subject: [egenix-users] bufferoverflow in egenix? In-Reply-To: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> References: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Message-ID: <41436552.6000906@egenix.com> Klavs Klavsen wrote: > Hi guys, > > Just installed a new gcc with stack-smashing protection - and while > recompiling modules with stack-smashing protection, I got this message: > -- > copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l > ib/python2.3/site-packages/mx/Misc > copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ > python2.3/site-packages/mx/Misc > writing byte-compilation script > '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' > /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py > usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: > SyntaxWarning: name 'debugging' is use > d prior to global declaration This is an error that the Python compiler generated. I'd suggest you report to the Python bug tracker. BTW, pytag.py is no longer used or maintained, so you can safely delete it. > python: stack smashing attack in function symtable_node() > error: command '/usr/bin/python' terminated by signal 6 > > !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. > !!! Function distutils_src_install, Line 43, Exitcode 1 > !!! (no error message) > > so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes > one in python) - I haven't done very much research as I can live without > egenix - but just wanted to let you know :) > > p.s. it's python-2.3.3. Thanks, -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 11 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From harrelson at gmail.com Thu Sep 30 17:48:13 2004 From: harrelson at gmail.com (Culley Harrelson) Date: Sun Feb 12 12:02:56 2006 Subject: [egenix-users] OS X 10.3.5: *** You don't have the (right) mxDateTime binaries installed ! Message-ID: <529825a30409301648507c0cf8@mail.gmail.com> I have successfully installed mxDateTime on my OS X 10.3.5 system, using the system Python installation. It installed but as soon as I try to import the module I get: === *** You don't have the (right) mxDateTime binaries installed ! Traceback (most recent call last): File "./testFeDb.py", line 4, in ? from mx import DateTime File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/__init__.py", line 8, in ? from DateTime import * File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/DateTime.py", line 9, in ? from mxDateTime import * File "/Library/Python/2.3/mx/DateTime/mxDateTime/__init__.py", line 13, in ? raise ImportError, why ImportError: Failure linking new module: : dyld: python Undefined symbols: /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyArg_ParseTuple expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCObject_FromVoidPtr expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCallable_Check expected to be defined in the executable /Library/Python/2.3/mx/Date === Has anyone experienced this? Any ideas how to fix it? culley From hanser at club-internet.fr Sat Sep 4 17:13:26 2004 From: hanser at club-internet.fr (Pierre Hanser) Date: Sun Feb 12 16:01:15 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 Message-ID: <4139CD86.6020403@club-internet.fr> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 hello seems that python2.4a3 is not compatible with the optimizations in mx/DateTime/mxDateTime/mxDateTime.c on Linux: from mx import DateTime -> core dump if I disable the optims, everything gets ok /* Define these to have the module use free lists (saves malloc calls) */ #define MXDATETIME_FREELIST #define MXDATETIMEDELTA_FREELIST #undef MXDATETIME_FREELIST #undef MXDATETIMEDELTA_FREELIST - -- Pierre -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBOc2GMQ2/jYUwmmwRAn70AJ4puAZm4p10+KTCK/GzLt20VzWd3ACfQzIo H8hLxq8iCE3KGYZ6AR5QUy8= =GA8t -----END PGP SIGNATURE----- From mal at egenix.com Sun Sep 5 19:53:02 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Sun Feb 12 16:01:15 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 In-Reply-To: <4139CD86.6020403@club-internet.fr> References: <4139CD86.6020403@club-internet.fr> Message-ID: <413B446E.40002@egenix.com> Pierre Hanser wrote: > hello > > seems that python2.4a3 is not compatible with the optimizations in > mx/DateTime/mxDateTime/mxDateTime.c on Linux: > > from mx import DateTime -> core dump > > if I disable the optims, everything gets ok > > /* Define these to have the module use free lists (saves malloc calls) */ > #define MXDATETIME_FREELIST > #define MXDATETIMEDELTA_FREELIST > #undef MXDATETIME_FREELIST > #undef MXDATETIMEDELTA_FREELIST This is more likely due to a bug in your C compiler. -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 05 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From aluton at rcseng.ac.uk Wed Sep 8 12:33:02 2004 From: aluton at rcseng.ac.uk (Alex Luton) Date: Sun Feb 12 16:01:16 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: References: Message-ID: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Hi, I'm trying to get the mxODBC DA working, but the product is broken with this error message: Traceback (most recent call last): File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product product=__import__(pname, global_dict, global_dict, silly) File "Products/mxODBCZopeDA/__init__.py", line 7, in ? File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? Any help would be much appreciated. Thanks -- Alex ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 From mal at egenix.com Wed Sep 8 13:37:44 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Sun Feb 12 16:01:16 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> References: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Message-ID: <413EE0F8.6050601@egenix.com> Alex Luton wrote: > Hi, > > I'm trying to get the mxODBC DA working, but the product is broken with > this error message: > > Traceback (most recent call last): > File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product > product=__import__(pname, global_dict, global_dict, silly) > File "Products/mxODBCZopeDA/__init__.py", line 7, in ? > File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? > ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString > > I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? RedHat chose to build Python with 4-byte Unicode which is causing all sorts of problems with pre-built extensions. We will start shipping UCS4 builds of the Zope DA with the next release. Until then, you can try the pre-release of 1.0.9: http://www.egenix.com/files/python/egenix-mxodbc-zopeda-1.0.9.linux-i686-py2.3ucs4.zip -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 08 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From kl at vsen.dk Sat Sep 11 20:21:57 2004 From: kl at vsen.dk (Klavs Klavsen) Date: Sun Feb 12 16:01:16 2006 Subject: [egenix-users] bufferoverflow in egenix? Message-ID: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Hi guys, Just installed a new gcc with stack-smashing protection - and while recompiling modules with stack-smashing protection, I got this message: -- copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l ib/python2.3/site-packages/mx/Misc copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ python2.3/site-packages/mx/Misc writing byte-compilation script '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: SyntaxWarning: name 'debugging' is use d prior to global declaration python: stack smashing attack in function symtable_node() error: command '/usr/bin/python' terminated by signal 6 !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. !!! Function distutils_src_install, Line 43, Exitcode 1 !!! (no error message) so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes one in python) - I haven't done very much research as I can live without egenix - but just wanted to let you know :) p.s. it's python-2.3.3. -- Regards, Klavs Klavsen, GSEC - kl@vsen.dk - http://www.vsen.dk PGP: 7E063C62/2873 188C 968E 600D D8F8 B8DA 3D3A 0B79 7E06 3C62 "Those who do not understand Unix are condemned to reinvent it, poorly." --Henry Spencer From mal at egenix.com Sat Sep 11 23:51:30 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Sun Feb 12 16:01:16 2006 Subject: [egenix-users] bufferoverflow in egenix? In-Reply-To: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> References: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Message-ID: <41436552.6000906@egenix.com> Klavs Klavsen wrote: > Hi guys, > > Just installed a new gcc with stack-smashing protection - and while > recompiling modules with stack-smashing protection, I got this message: > -- > copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l > ib/python2.3/site-packages/mx/Misc > copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ > python2.3/site-packages/mx/Misc > writing byte-compilation script > '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' > /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py > usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: > SyntaxWarning: name 'debugging' is use > d prior to global declaration This is an error that the Python compiler generated. I'd suggest you report to the Python bug tracker. BTW, pytag.py is no longer used or maintained, so you can safely delete it. > python: stack smashing attack in function symtable_node() > error: command '/usr/bin/python' terminated by signal 6 > > !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. > !!! Function distutils_src_install, Line 43, Exitcode 1 > !!! (no error message) > > so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes > one in python) - I haven't done very much research as I can live without > egenix - but just wanted to let you know :) > > p.s. it's python-2.3.3. Thanks, -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 11 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From harrelson at gmail.com Thu Sep 30 17:48:13 2004 From: harrelson at gmail.com (Culley Harrelson) Date: Sun Feb 12 16:01:16 2006 Subject: [egenix-users] OS X 10.3.5: *** You don't have the (right) mxDateTime binaries installed ! Message-ID: <529825a30409301648507c0cf8@mail.gmail.com> I have successfully installed mxDateTime on my OS X 10.3.5 system, using the system Python installation. It installed but as soon as I try to import the module I get: === *** You don't have the (right) mxDateTime binaries installed ! Traceback (most recent call last): File "./testFeDb.py", line 4, in ? from mx import DateTime File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/__init__.py", line 8, in ? from DateTime import * File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/DateTime.py", line 9, in ? from mxDateTime import * File "/Library/Python/2.3/mx/DateTime/mxDateTime/__init__.py", line 13, in ? raise ImportError, why ImportError: Failure linking new module: : dyld: python Undefined symbols: /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyArg_ParseTuple expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCObject_FromVoidPtr expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCallable_Check expected to be defined in the executable /Library/Python/2.3/mx/Date === Has anyone experienced this? Any ideas how to fix it? culley From hanser at club-internet.fr Sat Sep 4 17:13:26 2004 From: hanser at club-internet.fr (Pierre Hanser) Date: Sun Feb 12 20:01:08 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 Message-ID: <4139CD86.6020403@club-internet.fr> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 hello seems that python2.4a3 is not compatible with the optimizations in mx/DateTime/mxDateTime/mxDateTime.c on Linux: from mx import DateTime -> core dump if I disable the optims, everything gets ok /* Define these to have the module use free lists (saves malloc calls) */ #define MXDATETIME_FREELIST #define MXDATETIMEDELTA_FREELIST #undef MXDATETIME_FREELIST #undef MXDATETIMEDELTA_FREELIST - -- Pierre -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBOc2GMQ2/jYUwmmwRAn70AJ4puAZm4p10+KTCK/GzLt20VzWd3ACfQzIo H8hLxq8iCE3KGYZ6AR5QUy8= =GA8t -----END PGP SIGNATURE----- From mal at egenix.com Sun Sep 5 19:53:02 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Sun Feb 12 20:01:08 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 In-Reply-To: <4139CD86.6020403@club-internet.fr> References: <4139CD86.6020403@club-internet.fr> Message-ID: <413B446E.40002@egenix.com> Pierre Hanser wrote: > hello > > seems that python2.4a3 is not compatible with the optimizations in > mx/DateTime/mxDateTime/mxDateTime.c on Linux: > > from mx import DateTime -> core dump > > if I disable the optims, everything gets ok > > /* Define these to have the module use free lists (saves malloc calls) */ > #define MXDATETIME_FREELIST > #define MXDATETIMEDELTA_FREELIST > #undef MXDATETIME_FREELIST > #undef MXDATETIMEDELTA_FREELIST This is more likely due to a bug in your C compiler. -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 05 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From aluton at rcseng.ac.uk Wed Sep 8 12:33:02 2004 From: aluton at rcseng.ac.uk (Alex Luton) Date: Sun Feb 12 20:01:08 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: References: Message-ID: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Hi, I'm trying to get the mxODBC DA working, but the product is broken with this error message: Traceback (most recent call last): File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product product=__import__(pname, global_dict, global_dict, silly) File "Products/mxODBCZopeDA/__init__.py", line 7, in ? File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? Any help would be much appreciated. Thanks -- Alex ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 From mal at egenix.com Wed Sep 8 13:37:44 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Sun Feb 12 20:01:08 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> References: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Message-ID: <413EE0F8.6050601@egenix.com> Alex Luton wrote: > Hi, > > I'm trying to get the mxODBC DA working, but the product is broken with > this error message: > > Traceback (most recent call last): > File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product > product=__import__(pname, global_dict, global_dict, silly) > File "Products/mxODBCZopeDA/__init__.py", line 7, in ? > File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? > ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString > > I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? RedHat chose to build Python with 4-byte Unicode which is causing all sorts of problems with pre-built extensions. We will start shipping UCS4 builds of the Zope DA with the next release. Until then, you can try the pre-release of 1.0.9: http://www.egenix.com/files/python/egenix-mxodbc-zopeda-1.0.9.linux-i686-py2.3ucs4.zip -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 08 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From kl at vsen.dk Sat Sep 11 20:21:57 2004 From: kl at vsen.dk (Klavs Klavsen) Date: Sun Feb 12 20:01:08 2006 Subject: [egenix-users] bufferoverflow in egenix? Message-ID: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Hi guys, Just installed a new gcc with stack-smashing protection - and while recompiling modules with stack-smashing protection, I got this message: -- copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l ib/python2.3/site-packages/mx/Misc copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ python2.3/site-packages/mx/Misc writing byte-compilation script '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: SyntaxWarning: name 'debugging' is use d prior to global declaration python: stack smashing attack in function symtable_node() error: command '/usr/bin/python' terminated by signal 6 !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. !!! Function distutils_src_install, Line 43, Exitcode 1 !!! (no error message) so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes one in python) - I haven't done very much research as I can live without egenix - but just wanted to let you know :) p.s. it's python-2.3.3. -- Regards, Klavs Klavsen, GSEC - kl@vsen.dk - http://www.vsen.dk PGP: 7E063C62/2873 188C 968E 600D D8F8 B8DA 3D3A 0B79 7E06 3C62 "Those who do not understand Unix are condemned to reinvent it, poorly." --Henry Spencer From mal at egenix.com Sat Sep 11 23:51:30 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Sun Feb 12 20:01:08 2006 Subject: [egenix-users] bufferoverflow in egenix? In-Reply-To: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> References: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Message-ID: <41436552.6000906@egenix.com> Klavs Klavsen wrote: > Hi guys, > > Just installed a new gcc with stack-smashing protection - and while > recompiling modules with stack-smashing protection, I got this message: > -- > copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l > ib/python2.3/site-packages/mx/Misc > copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ > python2.3/site-packages/mx/Misc > writing byte-compilation script > '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' > /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py > usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: > SyntaxWarning: name 'debugging' is use > d prior to global declaration This is an error that the Python compiler generated. I'd suggest you report to the Python bug tracker. BTW, pytag.py is no longer used or maintained, so you can safely delete it. > python: stack smashing attack in function symtable_node() > error: command '/usr/bin/python' terminated by signal 6 > > !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. > !!! Function distutils_src_install, Line 43, Exitcode 1 > !!! (no error message) > > so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes > one in python) - I haven't done very much research as I can live without > egenix - but just wanted to let you know :) > > p.s. it's python-2.3.3. Thanks, -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 11 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From harrelson at gmail.com Thu Sep 30 17:48:13 2004 From: harrelson at gmail.com (Culley Harrelson) Date: Sun Feb 12 20:01:08 2006 Subject: [egenix-users] OS X 10.3.5: *** You don't have the (right) mxDateTime binaries installed ! Message-ID: <529825a30409301648507c0cf8@mail.gmail.com> I have successfully installed mxDateTime on my OS X 10.3.5 system, using the system Python installation. It installed but as soon as I try to import the module I get: === *** You don't have the (right) mxDateTime binaries installed ! Traceback (most recent call last): File "./testFeDb.py", line 4, in ? from mx import DateTime File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/__init__.py", line 8, in ? from DateTime import * File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/DateTime.py", line 9, in ? from mxDateTime import * File "/Library/Python/2.3/mx/DateTime/mxDateTime/__init__.py", line 13, in ? raise ImportError, why ImportError: Failure linking new module: : dyld: python Undefined symbols: /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyArg_ParseTuple expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCObject_FromVoidPtr expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCallable_Check expected to be defined in the executable /Library/Python/2.3/mx/Date === Has anyone experienced this? Any ideas how to fix it? culley From hanser at club-internet.fr Sat Sep 4 17:13:26 2004 From: hanser at club-internet.fr (Pierre Hanser) Date: Mon Feb 13 08:17:38 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 Message-ID: <4139CD86.6020403@club-internet.fr> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 hello seems that python2.4a3 is not compatible with the optimizations in mx/DateTime/mxDateTime/mxDateTime.c on Linux: from mx import DateTime -> core dump if I disable the optims, everything gets ok /* Define these to have the module use free lists (saves malloc calls) */ #define MXDATETIME_FREELIST #define MXDATETIMEDELTA_FREELIST #undef MXDATETIME_FREELIST #undef MXDATETIMEDELTA_FREELIST - -- Pierre -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBOc2GMQ2/jYUwmmwRAn70AJ4puAZm4p10+KTCK/GzLt20VzWd3ACfQzIo H8hLxq8iCE3KGYZ6AR5QUy8= =GA8t -----END PGP SIGNATURE----- From mal at egenix.com Sun Sep 5 19:53:02 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Mon Feb 13 08:17:39 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 In-Reply-To: <4139CD86.6020403@club-internet.fr> References: <4139CD86.6020403@club-internet.fr> Message-ID: <413B446E.40002@egenix.com> Pierre Hanser wrote: > hello > > seems that python2.4a3 is not compatible with the optimizations in > mx/DateTime/mxDateTime/mxDateTime.c on Linux: > > from mx import DateTime -> core dump > > if I disable the optims, everything gets ok > > /* Define these to have the module use free lists (saves malloc calls) */ > #define MXDATETIME_FREELIST > #define MXDATETIMEDELTA_FREELIST > #undef MXDATETIME_FREELIST > #undef MXDATETIMEDELTA_FREELIST This is more likely due to a bug in your C compiler. -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 05 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From aluton at rcseng.ac.uk Wed Sep 8 12:33:02 2004 From: aluton at rcseng.ac.uk (Alex Luton) Date: Mon Feb 13 08:17:39 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: References: Message-ID: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Hi, I'm trying to get the mxODBC DA working, but the product is broken with this error message: Traceback (most recent call last): File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product product=__import__(pname, global_dict, global_dict, silly) File "Products/mxODBCZopeDA/__init__.py", line 7, in ? File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? Any help would be much appreciated. Thanks -- Alex ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 From mal at egenix.com Wed Sep 8 13:37:44 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Mon Feb 13 08:17:39 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> References: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Message-ID: <413EE0F8.6050601@egenix.com> Alex Luton wrote: > Hi, > > I'm trying to get the mxODBC DA working, but the product is broken with > this error message: > > Traceback (most recent call last): > File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product > product=__import__(pname, global_dict, global_dict, silly) > File "Products/mxODBCZopeDA/__init__.py", line 7, in ? > File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? > ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString > > I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? RedHat chose to build Python with 4-byte Unicode which is causing all sorts of problems with pre-built extensions. We will start shipping UCS4 builds of the Zope DA with the next release. Until then, you can try the pre-release of 1.0.9: http://www.egenix.com/files/python/egenix-mxodbc-zopeda-1.0.9.linux-i686-py2.3ucs4.zip -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 08 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From kl at vsen.dk Sat Sep 11 20:21:57 2004 From: kl at vsen.dk (Klavs Klavsen) Date: Mon Feb 13 08:17:39 2006 Subject: [egenix-users] bufferoverflow in egenix? Message-ID: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Hi guys, Just installed a new gcc with stack-smashing protection - and while recompiling modules with stack-smashing protection, I got this message: -- copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l ib/python2.3/site-packages/mx/Misc copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ python2.3/site-packages/mx/Misc writing byte-compilation script '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: SyntaxWarning: name 'debugging' is use d prior to global declaration python: stack smashing attack in function symtable_node() error: command '/usr/bin/python' terminated by signal 6 !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. !!! Function distutils_src_install, Line 43, Exitcode 1 !!! (no error message) so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes one in python) - I haven't done very much research as I can live without egenix - but just wanted to let you know :) p.s. it's python-2.3.3. -- Regards, Klavs Klavsen, GSEC - kl@vsen.dk - http://www.vsen.dk PGP: 7E063C62/2873 188C 968E 600D D8F8 B8DA 3D3A 0B79 7E06 3C62 "Those who do not understand Unix are condemned to reinvent it, poorly." --Henry Spencer From mal at egenix.com Sat Sep 11 23:51:30 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Mon Feb 13 08:17:39 2006 Subject: [egenix-users] bufferoverflow in egenix? In-Reply-To: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> References: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Message-ID: <41436552.6000906@egenix.com> Klavs Klavsen wrote: > Hi guys, > > Just installed a new gcc with stack-smashing protection - and while > recompiling modules with stack-smashing protection, I got this message: > -- > copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l > ib/python2.3/site-packages/mx/Misc > copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ > python2.3/site-packages/mx/Misc > writing byte-compilation script > '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' > /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py > usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: > SyntaxWarning: name 'debugging' is use > d prior to global declaration This is an error that the Python compiler generated. I'd suggest you report to the Python bug tracker. BTW, pytag.py is no longer used or maintained, so you can safely delete it. > python: stack smashing attack in function symtable_node() > error: command '/usr/bin/python' terminated by signal 6 > > !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. > !!! Function distutils_src_install, Line 43, Exitcode 1 > !!! (no error message) > > so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes > one in python) - I haven't done very much research as I can live without > egenix - but just wanted to let you know :) > > p.s. it's python-2.3.3. Thanks, -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 11 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From harrelson at gmail.com Thu Sep 30 17:48:13 2004 From: harrelson at gmail.com (Culley Harrelson) Date: Mon Feb 13 08:17:39 2006 Subject: [egenix-users] OS X 10.3.5: *** You don't have the (right) mxDateTime binaries installed ! Message-ID: <529825a30409301648507c0cf8@mail.gmail.com> I have successfully installed mxDateTime on my OS X 10.3.5 system, using the system Python installation. It installed but as soon as I try to import the module I get: === *** You don't have the (right) mxDateTime binaries installed ! Traceback (most recent call last): File "./testFeDb.py", line 4, in ? from mx import DateTime File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/__init__.py", line 8, in ? from DateTime import * File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/DateTime.py", line 9, in ? from mxDateTime import * File "/Library/Python/2.3/mx/DateTime/mxDateTime/__init__.py", line 13, in ? raise ImportError, why ImportError: Failure linking new module: : dyld: python Undefined symbols: /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyArg_ParseTuple expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCObject_FromVoidPtr expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCallable_Check expected to be defined in the executable /Library/Python/2.3/mx/Date === Has anyone experienced this? Any ideas how to fix it? culley From hanser at club-internet.fr Sat Sep 4 17:13:26 2004 From: hanser at club-internet.fr (Pierre Hanser) Date: Mon Feb 13 12:03:16 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 Message-ID: <4139CD86.6020403@club-internet.fr> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 hello seems that python2.4a3 is not compatible with the optimizations in mx/DateTime/mxDateTime/mxDateTime.c on Linux: from mx import DateTime -> core dump if I disable the optims, everything gets ok /* Define these to have the module use free lists (saves malloc calls) */ #define MXDATETIME_FREELIST #define MXDATETIMEDELTA_FREELIST #undef MXDATETIME_FREELIST #undef MXDATETIMEDELTA_FREELIST - -- Pierre -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBOc2GMQ2/jYUwmmwRAn70AJ4puAZm4p10+KTCK/GzLt20VzWd3ACfQzIo H8hLxq8iCE3KGYZ6AR5QUy8= =GA8t -----END PGP SIGNATURE----- From mal at egenix.com Sun Sep 5 19:53:02 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Mon Feb 13 12:03:16 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 In-Reply-To: <4139CD86.6020403@club-internet.fr> References: <4139CD86.6020403@club-internet.fr> Message-ID: <413B446E.40002@egenix.com> Pierre Hanser wrote: > hello > > seems that python2.4a3 is not compatible with the optimizations in > mx/DateTime/mxDateTime/mxDateTime.c on Linux: > > from mx import DateTime -> core dump > > if I disable the optims, everything gets ok > > /* Define these to have the module use free lists (saves malloc calls) */ > #define MXDATETIME_FREELIST > #define MXDATETIMEDELTA_FREELIST > #undef MXDATETIME_FREELIST > #undef MXDATETIMEDELTA_FREELIST This is more likely due to a bug in your C compiler. -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 05 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From aluton at rcseng.ac.uk Wed Sep 8 12:33:02 2004 From: aluton at rcseng.ac.uk (Alex Luton) Date: Mon Feb 13 12:03:16 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: References: Message-ID: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Hi, I'm trying to get the mxODBC DA working, but the product is broken with this error message: Traceback (most recent call last): File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product product=__import__(pname, global_dict, global_dict, silly) File "Products/mxODBCZopeDA/__init__.py", line 7, in ? File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? Any help would be much appreciated. Thanks -- Alex ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 From mal at egenix.com Wed Sep 8 13:37:44 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Mon Feb 13 12:03:16 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> References: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Message-ID: <413EE0F8.6050601@egenix.com> Alex Luton wrote: > Hi, > > I'm trying to get the mxODBC DA working, but the product is broken with > this error message: > > Traceback (most recent call last): > File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product > product=__import__(pname, global_dict, global_dict, silly) > File "Products/mxODBCZopeDA/__init__.py", line 7, in ? > File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? > ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString > > I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? RedHat chose to build Python with 4-byte Unicode which is causing all sorts of problems with pre-built extensions. We will start shipping UCS4 builds of the Zope DA with the next release. Until then, you can try the pre-release of 1.0.9: http://www.egenix.com/files/python/egenix-mxodbc-zopeda-1.0.9.linux-i686-py2.3ucs4.zip -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 08 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From kl at vsen.dk Sat Sep 11 20:21:57 2004 From: kl at vsen.dk (Klavs Klavsen) Date: Mon Feb 13 12:03:16 2006 Subject: [egenix-users] bufferoverflow in egenix? Message-ID: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Hi guys, Just installed a new gcc with stack-smashing protection - and while recompiling modules with stack-smashing protection, I got this message: -- copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l ib/python2.3/site-packages/mx/Misc copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ python2.3/site-packages/mx/Misc writing byte-compilation script '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: SyntaxWarning: name 'debugging' is use d prior to global declaration python: stack smashing attack in function symtable_node() error: command '/usr/bin/python' terminated by signal 6 !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. !!! Function distutils_src_install, Line 43, Exitcode 1 !!! (no error message) so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes one in python) - I haven't done very much research as I can live without egenix - but just wanted to let you know :) p.s. it's python-2.3.3. -- Regards, Klavs Klavsen, GSEC - kl@vsen.dk - http://www.vsen.dk PGP: 7E063C62/2873 188C 968E 600D D8F8 B8DA 3D3A 0B79 7E06 3C62 "Those who do not understand Unix are condemned to reinvent it, poorly." --Henry Spencer From mal at egenix.com Sat Sep 11 23:51:30 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Mon Feb 13 12:03:16 2006 Subject: [egenix-users] bufferoverflow in egenix? In-Reply-To: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> References: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Message-ID: <41436552.6000906@egenix.com> Klavs Klavsen wrote: > Hi guys, > > Just installed a new gcc with stack-smashing protection - and while > recompiling modules with stack-smashing protection, I got this message: > -- > copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l > ib/python2.3/site-packages/mx/Misc > copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ > python2.3/site-packages/mx/Misc > writing byte-compilation script > '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' > /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py > usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: > SyntaxWarning: name 'debugging' is use > d prior to global declaration This is an error that the Python compiler generated. I'd suggest you report to the Python bug tracker. BTW, pytag.py is no longer used or maintained, so you can safely delete it. > python: stack smashing attack in function symtable_node() > error: command '/usr/bin/python' terminated by signal 6 > > !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. > !!! Function distutils_src_install, Line 43, Exitcode 1 > !!! (no error message) > > so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes > one in python) - I haven't done very much research as I can live without > egenix - but just wanted to let you know :) > > p.s. it's python-2.3.3. Thanks, -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 11 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From harrelson at gmail.com Thu Sep 30 17:48:13 2004 From: harrelson at gmail.com (Culley Harrelson) Date: Mon Feb 13 12:03:16 2006 Subject: [egenix-users] OS X 10.3.5: *** You don't have the (right) mxDateTime binaries installed ! Message-ID: <529825a30409301648507c0cf8@mail.gmail.com> I have successfully installed mxDateTime on my OS X 10.3.5 system, using the system Python installation. It installed but as soon as I try to import the module I get: === *** You don't have the (right) mxDateTime binaries installed ! Traceback (most recent call last): File "./testFeDb.py", line 4, in ? from mx import DateTime File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/__init__.py", line 8, in ? from DateTime import * File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/DateTime.py", line 9, in ? from mxDateTime import * File "/Library/Python/2.3/mx/DateTime/mxDateTime/__init__.py", line 13, in ? raise ImportError, why ImportError: Failure linking new module: : dyld: python Undefined symbols: /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyArg_ParseTuple expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCObject_FromVoidPtr expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCallable_Check expected to be defined in the executable /Library/Python/2.3/mx/Date === Has anyone experienced this? Any ideas how to fix it? culley From hanser at club-internet.fr Sat Sep 4 17:13:26 2004 From: hanser at club-internet.fr (Pierre Hanser) Date: Mon Feb 13 16:01:31 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 Message-ID: <4139CD86.6020403@club-internet.fr> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 hello seems that python2.4a3 is not compatible with the optimizations in mx/DateTime/mxDateTime/mxDateTime.c on Linux: from mx import DateTime -> core dump if I disable the optims, everything gets ok /* Define these to have the module use free lists (saves malloc calls) */ #define MXDATETIME_FREELIST #define MXDATETIMEDELTA_FREELIST #undef MXDATETIME_FREELIST #undef MXDATETIMEDELTA_FREELIST - -- Pierre -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBOc2GMQ2/jYUwmmwRAn70AJ4puAZm4p10+KTCK/GzLt20VzWd3ACfQzIo H8hLxq8iCE3KGYZ6AR5QUy8= =GA8t -----END PGP SIGNATURE----- From mal at egenix.com Sun Sep 5 19:53:02 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Mon Feb 13 16:01:31 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 In-Reply-To: <4139CD86.6020403@club-internet.fr> References: <4139CD86.6020403@club-internet.fr> Message-ID: <413B446E.40002@egenix.com> Pierre Hanser wrote: > hello > > seems that python2.4a3 is not compatible with the optimizations in > mx/DateTime/mxDateTime/mxDateTime.c on Linux: > > from mx import DateTime -> core dump > > if I disable the optims, everything gets ok > > /* Define these to have the module use free lists (saves malloc calls) */ > #define MXDATETIME_FREELIST > #define MXDATETIMEDELTA_FREELIST > #undef MXDATETIME_FREELIST > #undef MXDATETIMEDELTA_FREELIST This is more likely due to a bug in your C compiler. -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 05 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From aluton at rcseng.ac.uk Wed Sep 8 12:33:02 2004 From: aluton at rcseng.ac.uk (Alex Luton) Date: Mon Feb 13 16:01:31 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: References: Message-ID: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Hi, I'm trying to get the mxODBC DA working, but the product is broken with this error message: Traceback (most recent call last): File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product product=__import__(pname, global_dict, global_dict, silly) File "Products/mxODBCZopeDA/__init__.py", line 7, in ? File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? Any help would be much appreciated. Thanks -- Alex ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 From mal at egenix.com Wed Sep 8 13:37:44 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Mon Feb 13 16:01:31 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> References: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Message-ID: <413EE0F8.6050601@egenix.com> Alex Luton wrote: > Hi, > > I'm trying to get the mxODBC DA working, but the product is broken with > this error message: > > Traceback (most recent call last): > File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product > product=__import__(pname, global_dict, global_dict, silly) > File "Products/mxODBCZopeDA/__init__.py", line 7, in ? > File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? > ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString > > I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? RedHat chose to build Python with 4-byte Unicode which is causing all sorts of problems with pre-built extensions. We will start shipping UCS4 builds of the Zope DA with the next release. Until then, you can try the pre-release of 1.0.9: http://www.egenix.com/files/python/egenix-mxodbc-zopeda-1.0.9.linux-i686-py2.3ucs4.zip -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 08 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From kl at vsen.dk Sat Sep 11 20:21:57 2004 From: kl at vsen.dk (Klavs Klavsen) Date: Mon Feb 13 16:01:31 2006 Subject: [egenix-users] bufferoverflow in egenix? Message-ID: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Hi guys, Just installed a new gcc with stack-smashing protection - and while recompiling modules with stack-smashing protection, I got this message: -- copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l ib/python2.3/site-packages/mx/Misc copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ python2.3/site-packages/mx/Misc writing byte-compilation script '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: SyntaxWarning: name 'debugging' is use d prior to global declaration python: stack smashing attack in function symtable_node() error: command '/usr/bin/python' terminated by signal 6 !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. !!! Function distutils_src_install, Line 43, Exitcode 1 !!! (no error message) so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes one in python) - I haven't done very much research as I can live without egenix - but just wanted to let you know :) p.s. it's python-2.3.3. -- Regards, Klavs Klavsen, GSEC - kl@vsen.dk - http://www.vsen.dk PGP: 7E063C62/2873 188C 968E 600D D8F8 B8DA 3D3A 0B79 7E06 3C62 "Those who do not understand Unix are condemned to reinvent it, poorly." --Henry Spencer From mal at egenix.com Sat Sep 11 23:51:30 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Mon Feb 13 16:01:31 2006 Subject: [egenix-users] bufferoverflow in egenix? In-Reply-To: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> References: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Message-ID: <41436552.6000906@egenix.com> Klavs Klavsen wrote: > Hi guys, > > Just installed a new gcc with stack-smashing protection - and while > recompiling modules with stack-smashing protection, I got this message: > -- > copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l > ib/python2.3/site-packages/mx/Misc > copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ > python2.3/site-packages/mx/Misc > writing byte-compilation script > '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' > /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py > usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: > SyntaxWarning: name 'debugging' is use > d prior to global declaration This is an error that the Python compiler generated. I'd suggest you report to the Python bug tracker. BTW, pytag.py is no longer used or maintained, so you can safely delete it. > python: stack smashing attack in function symtable_node() > error: command '/usr/bin/python' terminated by signal 6 > > !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. > !!! Function distutils_src_install, Line 43, Exitcode 1 > !!! (no error message) > > so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes > one in python) - I haven't done very much research as I can live without > egenix - but just wanted to let you know :) > > p.s. it's python-2.3.3. Thanks, -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 11 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From harrelson at gmail.com Thu Sep 30 17:48:13 2004 From: harrelson at gmail.com (Culley Harrelson) Date: Mon Feb 13 16:01:31 2006 Subject: [egenix-users] OS X 10.3.5: *** You don't have the (right) mxDateTime binaries installed ! Message-ID: <529825a30409301648507c0cf8@mail.gmail.com> I have successfully installed mxDateTime on my OS X 10.3.5 system, using the system Python installation. It installed but as soon as I try to import the module I get: === *** You don't have the (right) mxDateTime binaries installed ! Traceback (most recent call last): File "./testFeDb.py", line 4, in ? from mx import DateTime File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/__init__.py", line 8, in ? from DateTime import * File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/DateTime.py", line 9, in ? from mxDateTime import * File "/Library/Python/2.3/mx/DateTime/mxDateTime/__init__.py", line 13, in ? raise ImportError, why ImportError: Failure linking new module: : dyld: python Undefined symbols: /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyArg_ParseTuple expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCObject_FromVoidPtr expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCallable_Check expected to be defined in the executable /Library/Python/2.3/mx/Date === Has anyone experienced this? Any ideas how to fix it? culley From hanser at club-internet.fr Sat Sep 4 17:13:26 2004 From: hanser at club-internet.fr (Pierre Hanser) Date: Mon Feb 13 20:01:14 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 Message-ID: <4139CD86.6020403@club-internet.fr> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 hello seems that python2.4a3 is not compatible with the optimizations in mx/DateTime/mxDateTime/mxDateTime.c on Linux: from mx import DateTime -> core dump if I disable the optims, everything gets ok /* Define these to have the module use free lists (saves malloc calls) */ #define MXDATETIME_FREELIST #define MXDATETIMEDELTA_FREELIST #undef MXDATETIME_FREELIST #undef MXDATETIMEDELTA_FREELIST - -- Pierre -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBOc2GMQ2/jYUwmmwRAn70AJ4puAZm4p10+KTCK/GzLt20VzWd3ACfQzIo H8hLxq8iCE3KGYZ6AR5QUy8= =GA8t -----END PGP SIGNATURE----- From mal at egenix.com Sun Sep 5 19:53:02 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Mon Feb 13 20:01:14 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 In-Reply-To: <4139CD86.6020403@club-internet.fr> References: <4139CD86.6020403@club-internet.fr> Message-ID: <413B446E.40002@egenix.com> Pierre Hanser wrote: > hello > > seems that python2.4a3 is not compatible with the optimizations in > mx/DateTime/mxDateTime/mxDateTime.c on Linux: > > from mx import DateTime -> core dump > > if I disable the optims, everything gets ok > > /* Define these to have the module use free lists (saves malloc calls) */ > #define MXDATETIME_FREELIST > #define MXDATETIMEDELTA_FREELIST > #undef MXDATETIME_FREELIST > #undef MXDATETIMEDELTA_FREELIST This is more likely due to a bug in your C compiler. -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 05 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From aluton at rcseng.ac.uk Wed Sep 8 12:33:02 2004 From: aluton at rcseng.ac.uk (Alex Luton) Date: Mon Feb 13 20:01:14 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: References: Message-ID: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Hi, I'm trying to get the mxODBC DA working, but the product is broken with this error message: Traceback (most recent call last): File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product product=__import__(pname, global_dict, global_dict, silly) File "Products/mxODBCZopeDA/__init__.py", line 7, in ? File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? Any help would be much appreciated. Thanks -- Alex ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 From mal at egenix.com Wed Sep 8 13:37:44 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Mon Feb 13 20:01:14 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> References: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Message-ID: <413EE0F8.6050601@egenix.com> Alex Luton wrote: > Hi, > > I'm trying to get the mxODBC DA working, but the product is broken with > this error message: > > Traceback (most recent call last): > File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product > product=__import__(pname, global_dict, global_dict, silly) > File "Products/mxODBCZopeDA/__init__.py", line 7, in ? > File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? > ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString > > I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? RedHat chose to build Python with 4-byte Unicode which is causing all sorts of problems with pre-built extensions. We will start shipping UCS4 builds of the Zope DA with the next release. Until then, you can try the pre-release of 1.0.9: http://www.egenix.com/files/python/egenix-mxodbc-zopeda-1.0.9.linux-i686-py2.3ucs4.zip -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 08 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From kl at vsen.dk Sat Sep 11 20:21:57 2004 From: kl at vsen.dk (Klavs Klavsen) Date: Mon Feb 13 20:01:14 2006 Subject: [egenix-users] bufferoverflow in egenix? Message-ID: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Hi guys, Just installed a new gcc with stack-smashing protection - and while recompiling modules with stack-smashing protection, I got this message: -- copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l ib/python2.3/site-packages/mx/Misc copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ python2.3/site-packages/mx/Misc writing byte-compilation script '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: SyntaxWarning: name 'debugging' is use d prior to global declaration python: stack smashing attack in function symtable_node() error: command '/usr/bin/python' terminated by signal 6 !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. !!! Function distutils_src_install, Line 43, Exitcode 1 !!! (no error message) so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes one in python) - I haven't done very much research as I can live without egenix - but just wanted to let you know :) p.s. it's python-2.3.3. -- Regards, Klavs Klavsen, GSEC - kl@vsen.dk - http://www.vsen.dk PGP: 7E063C62/2873 188C 968E 600D D8F8 B8DA 3D3A 0B79 7E06 3C62 "Those who do not understand Unix are condemned to reinvent it, poorly." --Henry Spencer From mal at egenix.com Sat Sep 11 23:51:30 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Mon Feb 13 20:01:14 2006 Subject: [egenix-users] bufferoverflow in egenix? In-Reply-To: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> References: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Message-ID: <41436552.6000906@egenix.com> Klavs Klavsen wrote: > Hi guys, > > Just installed a new gcc with stack-smashing protection - and while > recompiling modules with stack-smashing protection, I got this message: > -- > copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l > ib/python2.3/site-packages/mx/Misc > copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ > python2.3/site-packages/mx/Misc > writing byte-compilation script > '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' > /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py > usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: > SyntaxWarning: name 'debugging' is use > d prior to global declaration This is an error that the Python compiler generated. I'd suggest you report to the Python bug tracker. BTW, pytag.py is no longer used or maintained, so you can safely delete it. > python: stack smashing attack in function symtable_node() > error: command '/usr/bin/python' terminated by signal 6 > > !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. > !!! Function distutils_src_install, Line 43, Exitcode 1 > !!! (no error message) > > so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes > one in python) - I haven't done very much research as I can live without > egenix - but just wanted to let you know :) > > p.s. it's python-2.3.3. Thanks, -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 11 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From harrelson at gmail.com Thu Sep 30 17:48:13 2004 From: harrelson at gmail.com (Culley Harrelson) Date: Mon Feb 13 20:01:14 2006 Subject: [egenix-users] OS X 10.3.5: *** You don't have the (right) mxDateTime binaries installed ! Message-ID: <529825a30409301648507c0cf8@mail.gmail.com> I have successfully installed mxDateTime on my OS X 10.3.5 system, using the system Python installation. It installed but as soon as I try to import the module I get: === *** You don't have the (right) mxDateTime binaries installed ! Traceback (most recent call last): File "./testFeDb.py", line 4, in ? from mx import DateTime File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/__init__.py", line 8, in ? from DateTime import * File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/DateTime.py", line 9, in ? from mxDateTime import * File "/Library/Python/2.3/mx/DateTime/mxDateTime/__init__.py", line 13, in ? raise ImportError, why ImportError: Failure linking new module: : dyld: python Undefined symbols: /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyArg_ParseTuple expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCObject_FromVoidPtr expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCallable_Check expected to be defined in the executable /Library/Python/2.3/mx/Date === Has anyone experienced this? Any ideas how to fix it? culley From hanser at club-internet.fr Sat Sep 4 17:13:26 2004 From: hanser at club-internet.fr (Pierre Hanser) Date: Tue Feb 14 08:19:48 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 Message-ID: <4139CD86.6020403@club-internet.fr> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 hello seems that python2.4a3 is not compatible with the optimizations in mx/DateTime/mxDateTime/mxDateTime.c on Linux: from mx import DateTime -> core dump if I disable the optims, everything gets ok /* Define these to have the module use free lists (saves malloc calls) */ #define MXDATETIME_FREELIST #define MXDATETIMEDELTA_FREELIST #undef MXDATETIME_FREELIST #undef MXDATETIMEDELTA_FREELIST - -- Pierre -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBOc2GMQ2/jYUwmmwRAn70AJ4puAZm4p10+KTCK/GzLt20VzWd3ACfQzIo H8hLxq8iCE3KGYZ6AR5QUy8= =GA8t -----END PGP SIGNATURE----- From mal at egenix.com Sun Sep 5 19:53:02 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Tue Feb 14 08:19:48 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 In-Reply-To: <4139CD86.6020403@club-internet.fr> References: <4139CD86.6020403@club-internet.fr> Message-ID: <413B446E.40002@egenix.com> Pierre Hanser wrote: > hello > > seems that python2.4a3 is not compatible with the optimizations in > mx/DateTime/mxDateTime/mxDateTime.c on Linux: > > from mx import DateTime -> core dump > > if I disable the optims, everything gets ok > > /* Define these to have the module use free lists (saves malloc calls) */ > #define MXDATETIME_FREELIST > #define MXDATETIMEDELTA_FREELIST > #undef MXDATETIME_FREELIST > #undef MXDATETIMEDELTA_FREELIST This is more likely due to a bug in your C compiler. -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 05 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From aluton at rcseng.ac.uk Wed Sep 8 12:33:02 2004 From: aluton at rcseng.ac.uk (Alex Luton) Date: Tue Feb 14 08:19:48 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: References: Message-ID: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Hi, I'm trying to get the mxODBC DA working, but the product is broken with this error message: Traceback (most recent call last): File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product product=__import__(pname, global_dict, global_dict, silly) File "Products/mxODBCZopeDA/__init__.py", line 7, in ? File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? Any help would be much appreciated. Thanks -- Alex ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 From mal at egenix.com Wed Sep 8 13:37:44 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Tue Feb 14 08:19:48 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> References: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Message-ID: <413EE0F8.6050601@egenix.com> Alex Luton wrote: > Hi, > > I'm trying to get the mxODBC DA working, but the product is broken with > this error message: > > Traceback (most recent call last): > File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product > product=__import__(pname, global_dict, global_dict, silly) > File "Products/mxODBCZopeDA/__init__.py", line 7, in ? > File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? > ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString > > I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? RedHat chose to build Python with 4-byte Unicode which is causing all sorts of problems with pre-built extensions. We will start shipping UCS4 builds of the Zope DA with the next release. Until then, you can try the pre-release of 1.0.9: http://www.egenix.com/files/python/egenix-mxodbc-zopeda-1.0.9.linux-i686-py2.3ucs4.zip -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 08 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From kl at vsen.dk Sat Sep 11 20:21:57 2004 From: kl at vsen.dk (Klavs Klavsen) Date: Tue Feb 14 08:19:48 2006 Subject: [egenix-users] bufferoverflow in egenix? Message-ID: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Hi guys, Just installed a new gcc with stack-smashing protection - and while recompiling modules with stack-smashing protection, I got this message: -- copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l ib/python2.3/site-packages/mx/Misc copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ python2.3/site-packages/mx/Misc writing byte-compilation script '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: SyntaxWarning: name 'debugging' is use d prior to global declaration python: stack smashing attack in function symtable_node() error: command '/usr/bin/python' terminated by signal 6 !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. !!! Function distutils_src_install, Line 43, Exitcode 1 !!! (no error message) so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes one in python) - I haven't done very much research as I can live without egenix - but just wanted to let you know :) p.s. it's python-2.3.3. -- Regards, Klavs Klavsen, GSEC - kl@vsen.dk - http://www.vsen.dk PGP: 7E063C62/2873 188C 968E 600D D8F8 B8DA 3D3A 0B79 7E06 3C62 "Those who do not understand Unix are condemned to reinvent it, poorly." --Henry Spencer From mal at egenix.com Sat Sep 11 23:51:30 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Tue Feb 14 08:19:49 2006 Subject: [egenix-users] bufferoverflow in egenix? In-Reply-To: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> References: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Message-ID: <41436552.6000906@egenix.com> Klavs Klavsen wrote: > Hi guys, > > Just installed a new gcc with stack-smashing protection - and while > recompiling modules with stack-smashing protection, I got this message: > -- > copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l > ib/python2.3/site-packages/mx/Misc > copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ > python2.3/site-packages/mx/Misc > writing byte-compilation script > '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' > /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py > usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: > SyntaxWarning: name 'debugging' is use > d prior to global declaration This is an error that the Python compiler generated. I'd suggest you report to the Python bug tracker. BTW, pytag.py is no longer used or maintained, so you can safely delete it. > python: stack smashing attack in function symtable_node() > error: command '/usr/bin/python' terminated by signal 6 > > !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. > !!! Function distutils_src_install, Line 43, Exitcode 1 > !!! (no error message) > > so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes > one in python) - I haven't done very much research as I can live without > egenix - but just wanted to let you know :) > > p.s. it's python-2.3.3. Thanks, -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 11 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From harrelson at gmail.com Thu Sep 30 17:48:13 2004 From: harrelson at gmail.com (Culley Harrelson) Date: Tue Feb 14 08:19:49 2006 Subject: [egenix-users] OS X 10.3.5: *** You don't have the (right) mxDateTime binaries installed ! Message-ID: <529825a30409301648507c0cf8@mail.gmail.com> I have successfully installed mxDateTime on my OS X 10.3.5 system, using the system Python installation. It installed but as soon as I try to import the module I get: === *** You don't have the (right) mxDateTime binaries installed ! Traceback (most recent call last): File "./testFeDb.py", line 4, in ? from mx import DateTime File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/__init__.py", line 8, in ? from DateTime import * File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/DateTime.py", line 9, in ? from mxDateTime import * File "/Library/Python/2.3/mx/DateTime/mxDateTime/__init__.py", line 13, in ? raise ImportError, why ImportError: Failure linking new module: : dyld: python Undefined symbols: /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyArg_ParseTuple expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCObject_FromVoidPtr expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCallable_Check expected to be defined in the executable /Library/Python/2.3/mx/Date === Has anyone experienced this? Any ideas how to fix it? culley From hanser at club-internet.fr Sat Sep 4 17:13:26 2004 From: hanser at club-internet.fr (Pierre Hanser) Date: Tue Feb 14 12:03:31 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 Message-ID: <4139CD86.6020403@club-internet.fr> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 hello seems that python2.4a3 is not compatible with the optimizations in mx/DateTime/mxDateTime/mxDateTime.c on Linux: from mx import DateTime -> core dump if I disable the optims, everything gets ok /* Define these to have the module use free lists (saves malloc calls) */ #define MXDATETIME_FREELIST #define MXDATETIMEDELTA_FREELIST #undef MXDATETIME_FREELIST #undef MXDATETIMEDELTA_FREELIST - -- Pierre -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBOc2GMQ2/jYUwmmwRAn70AJ4puAZm4p10+KTCK/GzLt20VzWd3ACfQzIo H8hLxq8iCE3KGYZ6AR5QUy8= =GA8t -----END PGP SIGNATURE----- From mal at egenix.com Sun Sep 5 19:53:02 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Tue Feb 14 12:03:31 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 In-Reply-To: <4139CD86.6020403@club-internet.fr> References: <4139CD86.6020403@club-internet.fr> Message-ID: <413B446E.40002@egenix.com> Pierre Hanser wrote: > hello > > seems that python2.4a3 is not compatible with the optimizations in > mx/DateTime/mxDateTime/mxDateTime.c on Linux: > > from mx import DateTime -> core dump > > if I disable the optims, everything gets ok > > /* Define these to have the module use free lists (saves malloc calls) */ > #define MXDATETIME_FREELIST > #define MXDATETIMEDELTA_FREELIST > #undef MXDATETIME_FREELIST > #undef MXDATETIMEDELTA_FREELIST This is more likely due to a bug in your C compiler. -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 05 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From aluton at rcseng.ac.uk Wed Sep 8 12:33:02 2004 From: aluton at rcseng.ac.uk (Alex Luton) Date: Tue Feb 14 12:03:31 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: References: Message-ID: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Hi, I'm trying to get the mxODBC DA working, but the product is broken with this error message: Traceback (most recent call last): File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product product=__import__(pname, global_dict, global_dict, silly) File "Products/mxODBCZopeDA/__init__.py", line 7, in ? File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? Any help would be much appreciated. Thanks -- Alex ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 From mal at egenix.com Wed Sep 8 13:37:44 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Tue Feb 14 12:03:31 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> References: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Message-ID: <413EE0F8.6050601@egenix.com> Alex Luton wrote: > Hi, > > I'm trying to get the mxODBC DA working, but the product is broken with > this error message: > > Traceback (most recent call last): > File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product > product=__import__(pname, global_dict, global_dict, silly) > File "Products/mxODBCZopeDA/__init__.py", line 7, in ? > File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? > ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString > > I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? RedHat chose to build Python with 4-byte Unicode which is causing all sorts of problems with pre-built extensions. We will start shipping UCS4 builds of the Zope DA with the next release. Until then, you can try the pre-release of 1.0.9: http://www.egenix.com/files/python/egenix-mxodbc-zopeda-1.0.9.linux-i686-py2.3ucs4.zip -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 08 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From kl at vsen.dk Sat Sep 11 20:21:57 2004 From: kl at vsen.dk (Klavs Klavsen) Date: Tue Feb 14 12:03:31 2006 Subject: [egenix-users] bufferoverflow in egenix? Message-ID: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Hi guys, Just installed a new gcc with stack-smashing protection - and while recompiling modules with stack-smashing protection, I got this message: -- copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l ib/python2.3/site-packages/mx/Misc copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ python2.3/site-packages/mx/Misc writing byte-compilation script '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: SyntaxWarning: name 'debugging' is use d prior to global declaration python: stack smashing attack in function symtable_node() error: command '/usr/bin/python' terminated by signal 6 !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. !!! Function distutils_src_install, Line 43, Exitcode 1 !!! (no error message) so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes one in python) - I haven't done very much research as I can live without egenix - but just wanted to let you know :) p.s. it's python-2.3.3. -- Regards, Klavs Klavsen, GSEC - kl@vsen.dk - http://www.vsen.dk PGP: 7E063C62/2873 188C 968E 600D D8F8 B8DA 3D3A 0B79 7E06 3C62 "Those who do not understand Unix are condemned to reinvent it, poorly." --Henry Spencer From mal at egenix.com Sat Sep 11 23:51:30 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Tue Feb 14 12:03:31 2006 Subject: [egenix-users] bufferoverflow in egenix? In-Reply-To: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> References: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Message-ID: <41436552.6000906@egenix.com> Klavs Klavsen wrote: > Hi guys, > > Just installed a new gcc with stack-smashing protection - and while > recompiling modules with stack-smashing protection, I got this message: > -- > copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l > ib/python2.3/site-packages/mx/Misc > copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ > python2.3/site-packages/mx/Misc > writing byte-compilation script > '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' > /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py > usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: > SyntaxWarning: name 'debugging' is use > d prior to global declaration This is an error that the Python compiler generated. I'd suggest you report to the Python bug tracker. BTW, pytag.py is no longer used or maintained, so you can safely delete it. > python: stack smashing attack in function symtable_node() > error: command '/usr/bin/python' terminated by signal 6 > > !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. > !!! Function distutils_src_install, Line 43, Exitcode 1 > !!! (no error message) > > so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes > one in python) - I haven't done very much research as I can live without > egenix - but just wanted to let you know :) > > p.s. it's python-2.3.3. Thanks, -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 11 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From harrelson at gmail.com Thu Sep 30 17:48:13 2004 From: harrelson at gmail.com (Culley Harrelson) Date: Tue Feb 14 12:03:31 2006 Subject: [egenix-users] OS X 10.3.5: *** You don't have the (right) mxDateTime binaries installed ! Message-ID: <529825a30409301648507c0cf8@mail.gmail.com> I have successfully installed mxDateTime on my OS X 10.3.5 system, using the system Python installation. It installed but as soon as I try to import the module I get: === *** You don't have the (right) mxDateTime binaries installed ! Traceback (most recent call last): File "./testFeDb.py", line 4, in ? from mx import DateTime File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/__init__.py", line 8, in ? from DateTime import * File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/DateTime.py", line 9, in ? from mxDateTime import * File "/Library/Python/2.3/mx/DateTime/mxDateTime/__init__.py", line 13, in ? raise ImportError, why ImportError: Failure linking new module: : dyld: python Undefined symbols: /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyArg_ParseTuple expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCObject_FromVoidPtr expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCallable_Check expected to be defined in the executable /Library/Python/2.3/mx/Date === Has anyone experienced this? Any ideas how to fix it? culley From hanser at club-internet.fr Sat Sep 4 17:13:26 2004 From: hanser at club-internet.fr (Pierre Hanser) Date: Tue Feb 14 16:01:44 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 Message-ID: <4139CD86.6020403@club-internet.fr> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 hello seems that python2.4a3 is not compatible with the optimizations in mx/DateTime/mxDateTime/mxDateTime.c on Linux: from mx import DateTime -> core dump if I disable the optims, everything gets ok /* Define these to have the module use free lists (saves malloc calls) */ #define MXDATETIME_FREELIST #define MXDATETIMEDELTA_FREELIST #undef MXDATETIME_FREELIST #undef MXDATETIMEDELTA_FREELIST - -- Pierre -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBOc2GMQ2/jYUwmmwRAn70AJ4puAZm4p10+KTCK/GzLt20VzWd3ACfQzIo H8hLxq8iCE3KGYZ6AR5QUy8= =GA8t -----END PGP SIGNATURE----- From mal at egenix.com Sun Sep 5 19:53:02 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Tue Feb 14 16:01:44 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 In-Reply-To: <4139CD86.6020403@club-internet.fr> References: <4139CD86.6020403@club-internet.fr> Message-ID: <413B446E.40002@egenix.com> Pierre Hanser wrote: > hello > > seems that python2.4a3 is not compatible with the optimizations in > mx/DateTime/mxDateTime/mxDateTime.c on Linux: > > from mx import DateTime -> core dump > > if I disable the optims, everything gets ok > > /* Define these to have the module use free lists (saves malloc calls) */ > #define MXDATETIME_FREELIST > #define MXDATETIMEDELTA_FREELIST > #undef MXDATETIME_FREELIST > #undef MXDATETIMEDELTA_FREELIST This is more likely due to a bug in your C compiler. -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 05 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From aluton at rcseng.ac.uk Wed Sep 8 12:33:02 2004 From: aluton at rcseng.ac.uk (Alex Luton) Date: Tue Feb 14 16:01:44 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: References: Message-ID: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Hi, I'm trying to get the mxODBC DA working, but the product is broken with this error message: Traceback (most recent call last): File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product product=__import__(pname, global_dict, global_dict, silly) File "Products/mxODBCZopeDA/__init__.py", line 7, in ? File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? Any help would be much appreciated. Thanks -- Alex ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 From mal at egenix.com Wed Sep 8 13:37:44 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Tue Feb 14 16:01:44 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> References: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Message-ID: <413EE0F8.6050601@egenix.com> Alex Luton wrote: > Hi, > > I'm trying to get the mxODBC DA working, but the product is broken with > this error message: > > Traceback (most recent call last): > File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product > product=__import__(pname, global_dict, global_dict, silly) > File "Products/mxODBCZopeDA/__init__.py", line 7, in ? > File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? > ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString > > I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? RedHat chose to build Python with 4-byte Unicode which is causing all sorts of problems with pre-built extensions. We will start shipping UCS4 builds of the Zope DA with the next release. Until then, you can try the pre-release of 1.0.9: http://www.egenix.com/files/python/egenix-mxodbc-zopeda-1.0.9.linux-i686-py2.3ucs4.zip -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 08 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From kl at vsen.dk Sat Sep 11 20:21:57 2004 From: kl at vsen.dk (Klavs Klavsen) Date: Tue Feb 14 16:01:44 2006 Subject: [egenix-users] bufferoverflow in egenix? Message-ID: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Hi guys, Just installed a new gcc with stack-smashing protection - and while recompiling modules with stack-smashing protection, I got this message: -- copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l ib/python2.3/site-packages/mx/Misc copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ python2.3/site-packages/mx/Misc writing byte-compilation script '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: SyntaxWarning: name 'debugging' is use d prior to global declaration python: stack smashing attack in function symtable_node() error: command '/usr/bin/python' terminated by signal 6 !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. !!! Function distutils_src_install, Line 43, Exitcode 1 !!! (no error message) so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes one in python) - I haven't done very much research as I can live without egenix - but just wanted to let you know :) p.s. it's python-2.3.3. -- Regards, Klavs Klavsen, GSEC - kl@vsen.dk - http://www.vsen.dk PGP: 7E063C62/2873 188C 968E 600D D8F8 B8DA 3D3A 0B79 7E06 3C62 "Those who do not understand Unix are condemned to reinvent it, poorly." --Henry Spencer From mal at egenix.com Sat Sep 11 23:51:30 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Tue Feb 14 16:01:44 2006 Subject: [egenix-users] bufferoverflow in egenix? In-Reply-To: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> References: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Message-ID: <41436552.6000906@egenix.com> Klavs Klavsen wrote: > Hi guys, > > Just installed a new gcc with stack-smashing protection - and while > recompiling modules with stack-smashing protection, I got this message: > -- > copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l > ib/python2.3/site-packages/mx/Misc > copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ > python2.3/site-packages/mx/Misc > writing byte-compilation script > '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' > /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py > usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: > SyntaxWarning: name 'debugging' is use > d prior to global declaration This is an error that the Python compiler generated. I'd suggest you report to the Python bug tracker. BTW, pytag.py is no longer used or maintained, so you can safely delete it. > python: stack smashing attack in function symtable_node() > error: command '/usr/bin/python' terminated by signal 6 > > !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. > !!! Function distutils_src_install, Line 43, Exitcode 1 > !!! (no error message) > > so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes > one in python) - I haven't done very much research as I can live without > egenix - but just wanted to let you know :) > > p.s. it's python-2.3.3. Thanks, -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 11 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From harrelson at gmail.com Thu Sep 30 17:48:13 2004 From: harrelson at gmail.com (Culley Harrelson) Date: Tue Feb 14 16:01:44 2006 Subject: [egenix-users] OS X 10.3.5: *** You don't have the (right) mxDateTime binaries installed ! Message-ID: <529825a30409301648507c0cf8@mail.gmail.com> I have successfully installed mxDateTime on my OS X 10.3.5 system, using the system Python installation. It installed but as soon as I try to import the module I get: === *** You don't have the (right) mxDateTime binaries installed ! Traceback (most recent call last): File "./testFeDb.py", line 4, in ? from mx import DateTime File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/__init__.py", line 8, in ? from DateTime import * File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/DateTime.py", line 9, in ? from mxDateTime import * File "/Library/Python/2.3/mx/DateTime/mxDateTime/__init__.py", line 13, in ? raise ImportError, why ImportError: Failure linking new module: : dyld: python Undefined symbols: /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyArg_ParseTuple expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCObject_FromVoidPtr expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCallable_Check expected to be defined in the executable /Library/Python/2.3/mx/Date === Has anyone experienced this? Any ideas how to fix it? culley From hanser at club-internet.fr Sat Sep 4 17:13:26 2004 From: hanser at club-internet.fr (Pierre Hanser) Date: Tue Feb 14 20:01:16 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 Message-ID: <4139CD86.6020403@club-internet.fr> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 hello seems that python2.4a3 is not compatible with the optimizations in mx/DateTime/mxDateTime/mxDateTime.c on Linux: from mx import DateTime -> core dump if I disable the optims, everything gets ok /* Define these to have the module use free lists (saves malloc calls) */ #define MXDATETIME_FREELIST #define MXDATETIMEDELTA_FREELIST #undef MXDATETIME_FREELIST #undef MXDATETIMEDELTA_FREELIST - -- Pierre -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBOc2GMQ2/jYUwmmwRAn70AJ4puAZm4p10+KTCK/GzLt20VzWd3ACfQzIo H8hLxq8iCE3KGYZ6AR5QUy8= =GA8t -----END PGP SIGNATURE----- From mal at egenix.com Sun Sep 5 19:53:02 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Tue Feb 14 20:01:16 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 In-Reply-To: <4139CD86.6020403@club-internet.fr> References: <4139CD86.6020403@club-internet.fr> Message-ID: <413B446E.40002@egenix.com> Pierre Hanser wrote: > hello > > seems that python2.4a3 is not compatible with the optimizations in > mx/DateTime/mxDateTime/mxDateTime.c on Linux: > > from mx import DateTime -> core dump > > if I disable the optims, everything gets ok > > /* Define these to have the module use free lists (saves malloc calls) */ > #define MXDATETIME_FREELIST > #define MXDATETIMEDELTA_FREELIST > #undef MXDATETIME_FREELIST > #undef MXDATETIMEDELTA_FREELIST This is more likely due to a bug in your C compiler. -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 05 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From aluton at rcseng.ac.uk Wed Sep 8 12:33:02 2004 From: aluton at rcseng.ac.uk (Alex Luton) Date: Tue Feb 14 20:01:16 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: References: Message-ID: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Hi, I'm trying to get the mxODBC DA working, but the product is broken with this error message: Traceback (most recent call last): File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product product=__import__(pname, global_dict, global_dict, silly) File "Products/mxODBCZopeDA/__init__.py", line 7, in ? File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? Any help would be much appreciated. Thanks -- Alex ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 From mal at egenix.com Wed Sep 8 13:37:44 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Tue Feb 14 20:01:16 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> References: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Message-ID: <413EE0F8.6050601@egenix.com> Alex Luton wrote: > Hi, > > I'm trying to get the mxODBC DA working, but the product is broken with > this error message: > > Traceback (most recent call last): > File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product > product=__import__(pname, global_dict, global_dict, silly) > File "Products/mxODBCZopeDA/__init__.py", line 7, in ? > File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? > ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString > > I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? RedHat chose to build Python with 4-byte Unicode which is causing all sorts of problems with pre-built extensions. We will start shipping UCS4 builds of the Zope DA with the next release. Until then, you can try the pre-release of 1.0.9: http://www.egenix.com/files/python/egenix-mxodbc-zopeda-1.0.9.linux-i686-py2.3ucs4.zip -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 08 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From kl at vsen.dk Sat Sep 11 20:21:57 2004 From: kl at vsen.dk (Klavs Klavsen) Date: Tue Feb 14 20:01:16 2006 Subject: [egenix-users] bufferoverflow in egenix? Message-ID: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Hi guys, Just installed a new gcc with stack-smashing protection - and while recompiling modules with stack-smashing protection, I got this message: -- copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l ib/python2.3/site-packages/mx/Misc copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ python2.3/site-packages/mx/Misc writing byte-compilation script '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: SyntaxWarning: name 'debugging' is use d prior to global declaration python: stack smashing attack in function symtable_node() error: command '/usr/bin/python' terminated by signal 6 !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. !!! Function distutils_src_install, Line 43, Exitcode 1 !!! (no error message) so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes one in python) - I haven't done very much research as I can live without egenix - but just wanted to let you know :) p.s. it's python-2.3.3. -- Regards, Klavs Klavsen, GSEC - kl@vsen.dk - http://www.vsen.dk PGP: 7E063C62/2873 188C 968E 600D D8F8 B8DA 3D3A 0B79 7E06 3C62 "Those who do not understand Unix are condemned to reinvent it, poorly." --Henry Spencer From mal at egenix.com Sat Sep 11 23:51:30 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Tue Feb 14 20:01:16 2006 Subject: [egenix-users] bufferoverflow in egenix? In-Reply-To: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> References: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Message-ID: <41436552.6000906@egenix.com> Klavs Klavsen wrote: > Hi guys, > > Just installed a new gcc with stack-smashing protection - and while > recompiling modules with stack-smashing protection, I got this message: > -- > copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l > ib/python2.3/site-packages/mx/Misc > copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ > python2.3/site-packages/mx/Misc > writing byte-compilation script > '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' > /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py > usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: > SyntaxWarning: name 'debugging' is use > d prior to global declaration This is an error that the Python compiler generated. I'd suggest you report to the Python bug tracker. BTW, pytag.py is no longer used or maintained, so you can safely delete it. > python: stack smashing attack in function symtable_node() > error: command '/usr/bin/python' terminated by signal 6 > > !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. > !!! Function distutils_src_install, Line 43, Exitcode 1 > !!! (no error message) > > so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes > one in python) - I haven't done very much research as I can live without > egenix - but just wanted to let you know :) > > p.s. it's python-2.3.3. Thanks, -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 11 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From harrelson at gmail.com Thu Sep 30 17:48:13 2004 From: harrelson at gmail.com (Culley Harrelson) Date: Tue Feb 14 20:01:16 2006 Subject: [egenix-users] OS X 10.3.5: *** You don't have the (right) mxDateTime binaries installed ! Message-ID: <529825a30409301648507c0cf8@mail.gmail.com> I have successfully installed mxDateTime on my OS X 10.3.5 system, using the system Python installation. It installed but as soon as I try to import the module I get: === *** You don't have the (right) mxDateTime binaries installed ! Traceback (most recent call last): File "./testFeDb.py", line 4, in ? from mx import DateTime File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/__init__.py", line 8, in ? from DateTime import * File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/DateTime.py", line 9, in ? from mxDateTime import * File "/Library/Python/2.3/mx/DateTime/mxDateTime/__init__.py", line 13, in ? raise ImportError, why ImportError: Failure linking new module: : dyld: python Undefined symbols: /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyArg_ParseTuple expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCObject_FromVoidPtr expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCallable_Check expected to be defined in the executable /Library/Python/2.3/mx/Date === Has anyone experienced this? Any ideas how to fix it? culley From hanser at club-internet.fr Sat Sep 4 17:13:26 2004 From: hanser at club-internet.fr (Pierre Hanser) Date: Wed Feb 15 08:29:02 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 Message-ID: <4139CD86.6020403@club-internet.fr> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 hello seems that python2.4a3 is not compatible with the optimizations in mx/DateTime/mxDateTime/mxDateTime.c on Linux: from mx import DateTime -> core dump if I disable the optims, everything gets ok /* Define these to have the module use free lists (saves malloc calls) */ #define MXDATETIME_FREELIST #define MXDATETIMEDELTA_FREELIST #undef MXDATETIME_FREELIST #undef MXDATETIMEDELTA_FREELIST - -- Pierre -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBOc2GMQ2/jYUwmmwRAn70AJ4puAZm4p10+KTCK/GzLt20VzWd3ACfQzIo H8hLxq8iCE3KGYZ6AR5QUy8= =GA8t -----END PGP SIGNATURE----- From mal at egenix.com Sun Sep 5 19:53:02 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Wed Feb 15 08:29:02 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 In-Reply-To: <4139CD86.6020403@club-internet.fr> References: <4139CD86.6020403@club-internet.fr> Message-ID: <413B446E.40002@egenix.com> Pierre Hanser wrote: > hello > > seems that python2.4a3 is not compatible with the optimizations in > mx/DateTime/mxDateTime/mxDateTime.c on Linux: > > from mx import DateTime -> core dump > > if I disable the optims, everything gets ok > > /* Define these to have the module use free lists (saves malloc calls) */ > #define MXDATETIME_FREELIST > #define MXDATETIMEDELTA_FREELIST > #undef MXDATETIME_FREELIST > #undef MXDATETIMEDELTA_FREELIST This is more likely due to a bug in your C compiler. -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 05 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From aluton at rcseng.ac.uk Wed Sep 8 12:33:02 2004 From: aluton at rcseng.ac.uk (Alex Luton) Date: Wed Feb 15 08:29:03 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: References: Message-ID: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Hi, I'm trying to get the mxODBC DA working, but the product is broken with this error message: Traceback (most recent call last): File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product product=__import__(pname, global_dict, global_dict, silly) File "Products/mxODBCZopeDA/__init__.py", line 7, in ? File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? Any help would be much appreciated. Thanks -- Alex ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 From mal at egenix.com Wed Sep 8 13:37:44 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Wed Feb 15 08:29:03 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> References: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Message-ID: <413EE0F8.6050601@egenix.com> Alex Luton wrote: > Hi, > > I'm trying to get the mxODBC DA working, but the product is broken with > this error message: > > Traceback (most recent call last): > File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product > product=__import__(pname, global_dict, global_dict, silly) > File "Products/mxODBCZopeDA/__init__.py", line 7, in ? > File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? > ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString > > I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? RedHat chose to build Python with 4-byte Unicode which is causing all sorts of problems with pre-built extensions. We will start shipping UCS4 builds of the Zope DA with the next release. Until then, you can try the pre-release of 1.0.9: http://www.egenix.com/files/python/egenix-mxodbc-zopeda-1.0.9.linux-i686-py2.3ucs4.zip -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 08 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From kl at vsen.dk Sat Sep 11 20:21:57 2004 From: kl at vsen.dk (Klavs Klavsen) Date: Wed Feb 15 08:29:03 2006 Subject: [egenix-users] bufferoverflow in egenix? Message-ID: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Hi guys, Just installed a new gcc with stack-smashing protection - and while recompiling modules with stack-smashing protection, I got this message: -- copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l ib/python2.3/site-packages/mx/Misc copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ python2.3/site-packages/mx/Misc writing byte-compilation script '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: SyntaxWarning: name 'debugging' is use d prior to global declaration python: stack smashing attack in function symtable_node() error: command '/usr/bin/python' terminated by signal 6 !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. !!! Function distutils_src_install, Line 43, Exitcode 1 !!! (no error message) so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes one in python) - I haven't done very much research as I can live without egenix - but just wanted to let you know :) p.s. it's python-2.3.3. -- Regards, Klavs Klavsen, GSEC - kl@vsen.dk - http://www.vsen.dk PGP: 7E063C62/2873 188C 968E 600D D8F8 B8DA 3D3A 0B79 7E06 3C62 "Those who do not understand Unix are condemned to reinvent it, poorly." --Henry Spencer From mal at egenix.com Sat Sep 11 23:51:30 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Wed Feb 15 08:29:03 2006 Subject: [egenix-users] bufferoverflow in egenix? In-Reply-To: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> References: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Message-ID: <41436552.6000906@egenix.com> Klavs Klavsen wrote: > Hi guys, > > Just installed a new gcc with stack-smashing protection - and while > recompiling modules with stack-smashing protection, I got this message: > -- > copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l > ib/python2.3/site-packages/mx/Misc > copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ > python2.3/site-packages/mx/Misc > writing byte-compilation script > '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' > /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py > usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: > SyntaxWarning: name 'debugging' is use > d prior to global declaration This is an error that the Python compiler generated. I'd suggest you report to the Python bug tracker. BTW, pytag.py is no longer used or maintained, so you can safely delete it. > python: stack smashing attack in function symtable_node() > error: command '/usr/bin/python' terminated by signal 6 > > !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. > !!! Function distutils_src_install, Line 43, Exitcode 1 > !!! (no error message) > > so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes > one in python) - I haven't done very much research as I can live without > egenix - but just wanted to let you know :) > > p.s. it's python-2.3.3. Thanks, -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 11 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From harrelson at gmail.com Thu Sep 30 17:48:13 2004 From: harrelson at gmail.com (Culley Harrelson) Date: Wed Feb 15 08:29:03 2006 Subject: [egenix-users] OS X 10.3.5: *** You don't have the (right) mxDateTime binaries installed ! Message-ID: <529825a30409301648507c0cf8@mail.gmail.com> I have successfully installed mxDateTime on my OS X 10.3.5 system, using the system Python installation. It installed but as soon as I try to import the module I get: === *** You don't have the (right) mxDateTime binaries installed ! Traceback (most recent call last): File "./testFeDb.py", line 4, in ? from mx import DateTime File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/__init__.py", line 8, in ? from DateTime import * File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/DateTime.py", line 9, in ? from mxDateTime import * File "/Library/Python/2.3/mx/DateTime/mxDateTime/__init__.py", line 13, in ? raise ImportError, why ImportError: Failure linking new module: : dyld: python Undefined symbols: /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyArg_ParseTuple expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCObject_FromVoidPtr expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCallable_Check expected to be defined in the executable /Library/Python/2.3/mx/Date === Has anyone experienced this? Any ideas how to fix it? culley From hanser at club-internet.fr Sat Sep 4 17:13:26 2004 From: hanser at club-internet.fr (Pierre Hanser) Date: Wed Feb 15 12:05:37 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 Message-ID: <4139CD86.6020403@club-internet.fr> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 hello seems that python2.4a3 is not compatible with the optimizations in mx/DateTime/mxDateTime/mxDateTime.c on Linux: from mx import DateTime -> core dump if I disable the optims, everything gets ok /* Define these to have the module use free lists (saves malloc calls) */ #define MXDATETIME_FREELIST #define MXDATETIMEDELTA_FREELIST #undef MXDATETIME_FREELIST #undef MXDATETIMEDELTA_FREELIST - -- Pierre -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBOc2GMQ2/jYUwmmwRAn70AJ4puAZm4p10+KTCK/GzLt20VzWd3ACfQzIo H8hLxq8iCE3KGYZ6AR5QUy8= =GA8t -----END PGP SIGNATURE----- From mal at egenix.com Sun Sep 5 19:53:02 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Wed Feb 15 12:05:37 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 In-Reply-To: <4139CD86.6020403@club-internet.fr> References: <4139CD86.6020403@club-internet.fr> Message-ID: <413B446E.40002@egenix.com> Pierre Hanser wrote: > hello > > seems that python2.4a3 is not compatible with the optimizations in > mx/DateTime/mxDateTime/mxDateTime.c on Linux: > > from mx import DateTime -> core dump > > if I disable the optims, everything gets ok > > /* Define these to have the module use free lists (saves malloc calls) */ > #define MXDATETIME_FREELIST > #define MXDATETIMEDELTA_FREELIST > #undef MXDATETIME_FREELIST > #undef MXDATETIMEDELTA_FREELIST This is more likely due to a bug in your C compiler. -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 05 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From aluton at rcseng.ac.uk Wed Sep 8 12:33:02 2004 From: aluton at rcseng.ac.uk (Alex Luton) Date: Wed Feb 15 12:05:37 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: References: Message-ID: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Hi, I'm trying to get the mxODBC DA working, but the product is broken with this error message: Traceback (most recent call last): File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product product=__import__(pname, global_dict, global_dict, silly) File "Products/mxODBCZopeDA/__init__.py", line 7, in ? File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? Any help would be much appreciated. Thanks -- Alex ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 From mal at egenix.com Wed Sep 8 13:37:44 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Wed Feb 15 12:05:37 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> References: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Message-ID: <413EE0F8.6050601@egenix.com> Alex Luton wrote: > Hi, > > I'm trying to get the mxODBC DA working, but the product is broken with > this error message: > > Traceback (most recent call last): > File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product > product=__import__(pname, global_dict, global_dict, silly) > File "Products/mxODBCZopeDA/__init__.py", line 7, in ? > File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? > ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString > > I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? RedHat chose to build Python with 4-byte Unicode which is causing all sorts of problems with pre-built extensions. We will start shipping UCS4 builds of the Zope DA with the next release. Until then, you can try the pre-release of 1.0.9: http://www.egenix.com/files/python/egenix-mxodbc-zopeda-1.0.9.linux-i686-py2.3ucs4.zip -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 08 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From kl at vsen.dk Sat Sep 11 20:21:57 2004 From: kl at vsen.dk (Klavs Klavsen) Date: Wed Feb 15 12:05:37 2006 Subject: [egenix-users] bufferoverflow in egenix? Message-ID: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Hi guys, Just installed a new gcc with stack-smashing protection - and while recompiling modules with stack-smashing protection, I got this message: -- copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l ib/python2.3/site-packages/mx/Misc copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ python2.3/site-packages/mx/Misc writing byte-compilation script '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: SyntaxWarning: name 'debugging' is use d prior to global declaration python: stack smashing attack in function symtable_node() error: command '/usr/bin/python' terminated by signal 6 !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. !!! Function distutils_src_install, Line 43, Exitcode 1 !!! (no error message) so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes one in python) - I haven't done very much research as I can live without egenix - but just wanted to let you know :) p.s. it's python-2.3.3. -- Regards, Klavs Klavsen, GSEC - kl@vsen.dk - http://www.vsen.dk PGP: 7E063C62/2873 188C 968E 600D D8F8 B8DA 3D3A 0B79 7E06 3C62 "Those who do not understand Unix are condemned to reinvent it, poorly." --Henry Spencer From mal at egenix.com Sat Sep 11 23:51:30 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Wed Feb 15 12:05:37 2006 Subject: [egenix-users] bufferoverflow in egenix? In-Reply-To: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> References: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Message-ID: <41436552.6000906@egenix.com> Klavs Klavsen wrote: > Hi guys, > > Just installed a new gcc with stack-smashing protection - and while > recompiling modules with stack-smashing protection, I got this message: > -- > copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l > ib/python2.3/site-packages/mx/Misc > copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ > python2.3/site-packages/mx/Misc > writing byte-compilation script > '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' > /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py > usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: > SyntaxWarning: name 'debugging' is use > d prior to global declaration This is an error that the Python compiler generated. I'd suggest you report to the Python bug tracker. BTW, pytag.py is no longer used or maintained, so you can safely delete it. > python: stack smashing attack in function symtable_node() > error: command '/usr/bin/python' terminated by signal 6 > > !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. > !!! Function distutils_src_install, Line 43, Exitcode 1 > !!! (no error message) > > so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes > one in python) - I haven't done very much research as I can live without > egenix - but just wanted to let you know :) > > p.s. it's python-2.3.3. Thanks, -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 11 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From harrelson at gmail.com Thu Sep 30 17:48:13 2004 From: harrelson at gmail.com (Culley Harrelson) Date: Wed Feb 15 12:05:37 2006 Subject: [egenix-users] OS X 10.3.5: *** You don't have the (right) mxDateTime binaries installed ! Message-ID: <529825a30409301648507c0cf8@mail.gmail.com> I have successfully installed mxDateTime on my OS X 10.3.5 system, using the system Python installation. It installed but as soon as I try to import the module I get: === *** You don't have the (right) mxDateTime binaries installed ! Traceback (most recent call last): File "./testFeDb.py", line 4, in ? from mx import DateTime File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/__init__.py", line 8, in ? from DateTime import * File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/DateTime.py", line 9, in ? from mxDateTime import * File "/Library/Python/2.3/mx/DateTime/mxDateTime/__init__.py", line 13, in ? raise ImportError, why ImportError: Failure linking new module: : dyld: python Undefined symbols: /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyArg_ParseTuple expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCObject_FromVoidPtr expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCallable_Check expected to be defined in the executable /Library/Python/2.3/mx/Date === Has anyone experienced this? Any ideas how to fix it? culley From hanser at club-internet.fr Sat Sep 4 17:13:26 2004 From: hanser at club-internet.fr (Pierre Hanser) Date: Wed Feb 15 16:01:40 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 Message-ID: <4139CD86.6020403@club-internet.fr> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 hello seems that python2.4a3 is not compatible with the optimizations in mx/DateTime/mxDateTime/mxDateTime.c on Linux: from mx import DateTime -> core dump if I disable the optims, everything gets ok /* Define these to have the module use free lists (saves malloc calls) */ #define MXDATETIME_FREELIST #define MXDATETIMEDELTA_FREELIST #undef MXDATETIME_FREELIST #undef MXDATETIMEDELTA_FREELIST - -- Pierre -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBOc2GMQ2/jYUwmmwRAn70AJ4puAZm4p10+KTCK/GzLt20VzWd3ACfQzIo H8hLxq8iCE3KGYZ6AR5QUy8= =GA8t -----END PGP SIGNATURE----- From mal at egenix.com Sun Sep 5 19:53:02 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Wed Feb 15 16:01:40 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 In-Reply-To: <4139CD86.6020403@club-internet.fr> References: <4139CD86.6020403@club-internet.fr> Message-ID: <413B446E.40002@egenix.com> Pierre Hanser wrote: > hello > > seems that python2.4a3 is not compatible with the optimizations in > mx/DateTime/mxDateTime/mxDateTime.c on Linux: > > from mx import DateTime -> core dump > > if I disable the optims, everything gets ok > > /* Define these to have the module use free lists (saves malloc calls) */ > #define MXDATETIME_FREELIST > #define MXDATETIMEDELTA_FREELIST > #undef MXDATETIME_FREELIST > #undef MXDATETIMEDELTA_FREELIST This is more likely due to a bug in your C compiler. -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 05 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From aluton at rcseng.ac.uk Wed Sep 8 12:33:02 2004 From: aluton at rcseng.ac.uk (Alex Luton) Date: Wed Feb 15 16:01:40 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: References: Message-ID: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Hi, I'm trying to get the mxODBC DA working, but the product is broken with this error message: Traceback (most recent call last): File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product product=__import__(pname, global_dict, global_dict, silly) File "Products/mxODBCZopeDA/__init__.py", line 7, in ? File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? Any help would be much appreciated. Thanks -- Alex ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 From mal at egenix.com Wed Sep 8 13:37:44 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Wed Feb 15 16:01:40 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> References: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Message-ID: <413EE0F8.6050601@egenix.com> Alex Luton wrote: > Hi, > > I'm trying to get the mxODBC DA working, but the product is broken with > this error message: > > Traceback (most recent call last): > File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product > product=__import__(pname, global_dict, global_dict, silly) > File "Products/mxODBCZopeDA/__init__.py", line 7, in ? > File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? > ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString > > I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? RedHat chose to build Python with 4-byte Unicode which is causing all sorts of problems with pre-built extensions. We will start shipping UCS4 builds of the Zope DA with the next release. Until then, you can try the pre-release of 1.0.9: http://www.egenix.com/files/python/egenix-mxodbc-zopeda-1.0.9.linux-i686-py2.3ucs4.zip -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 08 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From kl at vsen.dk Sat Sep 11 20:21:57 2004 From: kl at vsen.dk (Klavs Klavsen) Date: Wed Feb 15 16:01:40 2006 Subject: [egenix-users] bufferoverflow in egenix? Message-ID: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Hi guys, Just installed a new gcc with stack-smashing protection - and while recompiling modules with stack-smashing protection, I got this message: -- copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l ib/python2.3/site-packages/mx/Misc copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ python2.3/site-packages/mx/Misc writing byte-compilation script '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: SyntaxWarning: name 'debugging' is use d prior to global declaration python: stack smashing attack in function symtable_node() error: command '/usr/bin/python' terminated by signal 6 !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. !!! Function distutils_src_install, Line 43, Exitcode 1 !!! (no error message) so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes one in python) - I haven't done very much research as I can live without egenix - but just wanted to let you know :) p.s. it's python-2.3.3. -- Regards, Klavs Klavsen, GSEC - kl@vsen.dk - http://www.vsen.dk PGP: 7E063C62/2873 188C 968E 600D D8F8 B8DA 3D3A 0B79 7E06 3C62 "Those who do not understand Unix are condemned to reinvent it, poorly." --Henry Spencer From mal at egenix.com Sat Sep 11 23:51:30 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Wed Feb 15 16:01:40 2006 Subject: [egenix-users] bufferoverflow in egenix? In-Reply-To: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> References: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Message-ID: <41436552.6000906@egenix.com> Klavs Klavsen wrote: > Hi guys, > > Just installed a new gcc with stack-smashing protection - and while > recompiling modules with stack-smashing protection, I got this message: > -- > copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l > ib/python2.3/site-packages/mx/Misc > copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ > python2.3/site-packages/mx/Misc > writing byte-compilation script > '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' > /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py > usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: > SyntaxWarning: name 'debugging' is use > d prior to global declaration This is an error that the Python compiler generated. I'd suggest you report to the Python bug tracker. BTW, pytag.py is no longer used or maintained, so you can safely delete it. > python: stack smashing attack in function symtable_node() > error: command '/usr/bin/python' terminated by signal 6 > > !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. > !!! Function distutils_src_install, Line 43, Exitcode 1 > !!! (no error message) > > so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes > one in python) - I haven't done very much research as I can live without > egenix - but just wanted to let you know :) > > p.s. it's python-2.3.3. Thanks, -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 11 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From harrelson at gmail.com Thu Sep 30 17:48:13 2004 From: harrelson at gmail.com (Culley Harrelson) Date: Wed Feb 15 16:01:40 2006 Subject: [egenix-users] OS X 10.3.5: *** You don't have the (right) mxDateTime binaries installed ! Message-ID: <529825a30409301648507c0cf8@mail.gmail.com> I have successfully installed mxDateTime on my OS X 10.3.5 system, using the system Python installation. It installed but as soon as I try to import the module I get: === *** You don't have the (right) mxDateTime binaries installed ! Traceback (most recent call last): File "./testFeDb.py", line 4, in ? from mx import DateTime File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/__init__.py", line 8, in ? from DateTime import * File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/DateTime.py", line 9, in ? from mxDateTime import * File "/Library/Python/2.3/mx/DateTime/mxDateTime/__init__.py", line 13, in ? raise ImportError, why ImportError: Failure linking new module: : dyld: python Undefined symbols: /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyArg_ParseTuple expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCObject_FromVoidPtr expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCallable_Check expected to be defined in the executable /Library/Python/2.3/mx/Date === Has anyone experienced this? Any ideas how to fix it? culley From hanser at club-internet.fr Sat Sep 4 17:13:26 2004 From: hanser at club-internet.fr (Pierre Hanser) Date: Wed Feb 15 19:28:13 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 Message-ID: <4139CD86.6020403@club-internet.fr> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 hello seems that python2.4a3 is not compatible with the optimizations in mx/DateTime/mxDateTime/mxDateTime.c on Linux: from mx import DateTime -> core dump if I disable the optims, everything gets ok /* Define these to have the module use free lists (saves malloc calls) */ #define MXDATETIME_FREELIST #define MXDATETIMEDELTA_FREELIST #undef MXDATETIME_FREELIST #undef MXDATETIMEDELTA_FREELIST - -- Pierre -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBOc2GMQ2/jYUwmmwRAn70AJ4puAZm4p10+KTCK/GzLt20VzWd3ACfQzIo H8hLxq8iCE3KGYZ6AR5QUy8= =GA8t -----END PGP SIGNATURE----- From mal at egenix.com Sun Sep 5 19:53:02 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Wed Feb 15 19:28:13 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 In-Reply-To: <4139CD86.6020403@club-internet.fr> References: <4139CD86.6020403@club-internet.fr> Message-ID: <413B446E.40002@egenix.com> Pierre Hanser wrote: > hello > > seems that python2.4a3 is not compatible with the optimizations in > mx/DateTime/mxDateTime/mxDateTime.c on Linux: > > from mx import DateTime -> core dump > > if I disable the optims, everything gets ok > > /* Define these to have the module use free lists (saves malloc calls) */ > #define MXDATETIME_FREELIST > #define MXDATETIMEDELTA_FREELIST > #undef MXDATETIME_FREELIST > #undef MXDATETIMEDELTA_FREELIST This is more likely due to a bug in your C compiler. -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 05 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From aluton at rcseng.ac.uk Wed Sep 8 12:33:02 2004 From: aluton at rcseng.ac.uk (Alex Luton) Date: Wed Feb 15 19:28:13 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: References: Message-ID: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Hi, I'm trying to get the mxODBC DA working, but the product is broken with this error message: Traceback (most recent call last): File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product product=__import__(pname, global_dict, global_dict, silly) File "Products/mxODBCZopeDA/__init__.py", line 7, in ? File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? Any help would be much appreciated. Thanks -- Alex ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 From mal at egenix.com Wed Sep 8 13:37:44 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Wed Feb 15 19:28:13 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> References: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Message-ID: <413EE0F8.6050601@egenix.com> Alex Luton wrote: > Hi, > > I'm trying to get the mxODBC DA working, but the product is broken with > this error message: > > Traceback (most recent call last): > File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product > product=__import__(pname, global_dict, global_dict, silly) > File "Products/mxODBCZopeDA/__init__.py", line 7, in ? > File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? > ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString > > I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? RedHat chose to build Python with 4-byte Unicode which is causing all sorts of problems with pre-built extensions. We will start shipping UCS4 builds of the Zope DA with the next release. Until then, you can try the pre-release of 1.0.9: http://www.egenix.com/files/python/egenix-mxodbc-zopeda-1.0.9.linux-i686-py2.3ucs4.zip -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 08 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From kl at vsen.dk Sat Sep 11 20:21:57 2004 From: kl at vsen.dk (Klavs Klavsen) Date: Wed Feb 15 19:28:13 2006 Subject: [egenix-users] bufferoverflow in egenix? Message-ID: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Hi guys, Just installed a new gcc with stack-smashing protection - and while recompiling modules with stack-smashing protection, I got this message: -- copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l ib/python2.3/site-packages/mx/Misc copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ python2.3/site-packages/mx/Misc writing byte-compilation script '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: SyntaxWarning: name 'debugging' is use d prior to global declaration python: stack smashing attack in function symtable_node() error: command '/usr/bin/python' terminated by signal 6 !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. !!! Function distutils_src_install, Line 43, Exitcode 1 !!! (no error message) so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes one in python) - I haven't done very much research as I can live without egenix - but just wanted to let you know :) p.s. it's python-2.3.3. -- Regards, Klavs Klavsen, GSEC - kl@vsen.dk - http://www.vsen.dk PGP: 7E063C62/2873 188C 968E 600D D8F8 B8DA 3D3A 0B79 7E06 3C62 "Those who do not understand Unix are condemned to reinvent it, poorly." --Henry Spencer From mal at egenix.com Sat Sep 11 23:51:30 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Wed Feb 15 19:28:13 2006 Subject: [egenix-users] bufferoverflow in egenix? In-Reply-To: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> References: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Message-ID: <41436552.6000906@egenix.com> Klavs Klavsen wrote: > Hi guys, > > Just installed a new gcc with stack-smashing protection - and while > recompiling modules with stack-smashing protection, I got this message: > -- > copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l > ib/python2.3/site-packages/mx/Misc > copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ > python2.3/site-packages/mx/Misc > writing byte-compilation script > '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' > /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py > usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: > SyntaxWarning: name 'debugging' is use > d prior to global declaration This is an error that the Python compiler generated. I'd suggest you report to the Python bug tracker. BTW, pytag.py is no longer used or maintained, so you can safely delete it. > python: stack smashing attack in function symtable_node() > error: command '/usr/bin/python' terminated by signal 6 > > !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. > !!! Function distutils_src_install, Line 43, Exitcode 1 > !!! (no error message) > > so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes > one in python) - I haven't done very much research as I can live without > egenix - but just wanted to let you know :) > > p.s. it's python-2.3.3. Thanks, -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 11 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From harrelson at gmail.com Thu Sep 30 17:48:13 2004 From: harrelson at gmail.com (Culley Harrelson) Date: Wed Feb 15 19:28:13 2006 Subject: [egenix-users] OS X 10.3.5: *** You don't have the (right) mxDateTime binaries installed ! Message-ID: <529825a30409301648507c0cf8@mail.gmail.com> I have successfully installed mxDateTime on my OS X 10.3.5 system, using the system Python installation. It installed but as soon as I try to import the module I get: === *** You don't have the (right) mxDateTime binaries installed ! Traceback (most recent call last): File "./testFeDb.py", line 4, in ? from mx import DateTime File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/__init__.py", line 8, in ? from DateTime import * File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/DateTime.py", line 9, in ? from mxDateTime import * File "/Library/Python/2.3/mx/DateTime/mxDateTime/__init__.py", line 13, in ? raise ImportError, why ImportError: Failure linking new module: : dyld: python Undefined symbols: /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyArg_ParseTuple expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCObject_FromVoidPtr expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCallable_Check expected to be defined in the executable /Library/Python/2.3/mx/Date === Has anyone experienced this? Any ideas how to fix it? culley From hanser at club-internet.fr Sat Sep 4 17:13:26 2004 From: hanser at club-internet.fr (Pierre Hanser) Date: Wed Feb 15 20:14:00 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 Message-ID: <4139CD86.6020403@club-internet.fr> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 hello seems that python2.4a3 is not compatible with the optimizations in mx/DateTime/mxDateTime/mxDateTime.c on Linux: from mx import DateTime -> core dump if I disable the optims, everything gets ok /* Define these to have the module use free lists (saves malloc calls) */ #define MXDATETIME_FREELIST #define MXDATETIMEDELTA_FREELIST #undef MXDATETIME_FREELIST #undef MXDATETIMEDELTA_FREELIST - -- Pierre -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBOc2GMQ2/jYUwmmwRAn70AJ4puAZm4p10+KTCK/GzLt20VzWd3ACfQzIo H8hLxq8iCE3KGYZ6AR5QUy8= =GA8t -----END PGP SIGNATURE----- From mal at egenix.com Sun Sep 5 19:53:02 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Wed Feb 15 20:14:00 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 In-Reply-To: <4139CD86.6020403@club-internet.fr> References: <4139CD86.6020403@club-internet.fr> Message-ID: <413B446E.40002@egenix.com> Pierre Hanser wrote: > hello > > seems that python2.4a3 is not compatible with the optimizations in > mx/DateTime/mxDateTime/mxDateTime.c on Linux: > > from mx import DateTime -> core dump > > if I disable the optims, everything gets ok > > /* Define these to have the module use free lists (saves malloc calls) */ > #define MXDATETIME_FREELIST > #define MXDATETIMEDELTA_FREELIST > #undef MXDATETIME_FREELIST > #undef MXDATETIMEDELTA_FREELIST This is more likely due to a bug in your C compiler. -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 05 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From aluton at rcseng.ac.uk Wed Sep 8 12:33:02 2004 From: aluton at rcseng.ac.uk (Alex Luton) Date: Wed Feb 15 20:14:00 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: References: Message-ID: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Hi, I'm trying to get the mxODBC DA working, but the product is broken with this error message: Traceback (most recent call last): File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product product=__import__(pname, global_dict, global_dict, silly) File "Products/mxODBCZopeDA/__init__.py", line 7, in ? File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? Any help would be much appreciated. Thanks -- Alex ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 From mal at egenix.com Wed Sep 8 13:37:44 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Wed Feb 15 20:14:00 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> References: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Message-ID: <413EE0F8.6050601@egenix.com> Alex Luton wrote: > Hi, > > I'm trying to get the mxODBC DA working, but the product is broken with > this error message: > > Traceback (most recent call last): > File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product > product=__import__(pname, global_dict, global_dict, silly) > File "Products/mxODBCZopeDA/__init__.py", line 7, in ? > File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? > ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString > > I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? RedHat chose to build Python with 4-byte Unicode which is causing all sorts of problems with pre-built extensions. We will start shipping UCS4 builds of the Zope DA with the next release. Until then, you can try the pre-release of 1.0.9: http://www.egenix.com/files/python/egenix-mxodbc-zopeda-1.0.9.linux-i686-py2.3ucs4.zip -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 08 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From kl at vsen.dk Sat Sep 11 20:21:57 2004 From: kl at vsen.dk (Klavs Klavsen) Date: Wed Feb 15 20:14:00 2006 Subject: [egenix-users] bufferoverflow in egenix? Message-ID: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Hi guys, Just installed a new gcc with stack-smashing protection - and while recompiling modules with stack-smashing protection, I got this message: -- copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l ib/python2.3/site-packages/mx/Misc copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ python2.3/site-packages/mx/Misc writing byte-compilation script '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: SyntaxWarning: name 'debugging' is use d prior to global declaration python: stack smashing attack in function symtable_node() error: command '/usr/bin/python' terminated by signal 6 !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. !!! Function distutils_src_install, Line 43, Exitcode 1 !!! (no error message) so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes one in python) - I haven't done very much research as I can live without egenix - but just wanted to let you know :) p.s. it's python-2.3.3. -- Regards, Klavs Klavsen, GSEC - kl@vsen.dk - http://www.vsen.dk PGP: 7E063C62/2873 188C 968E 600D D8F8 B8DA 3D3A 0B79 7E06 3C62 "Those who do not understand Unix are condemned to reinvent it, poorly." --Henry Spencer From mal at egenix.com Sat Sep 11 23:51:30 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Wed Feb 15 20:14:00 2006 Subject: [egenix-users] bufferoverflow in egenix? In-Reply-To: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> References: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Message-ID: <41436552.6000906@egenix.com> Klavs Klavsen wrote: > Hi guys, > > Just installed a new gcc with stack-smashing protection - and while > recompiling modules with stack-smashing protection, I got this message: > -- > copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l > ib/python2.3/site-packages/mx/Misc > copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ > python2.3/site-packages/mx/Misc > writing byte-compilation script > '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' > /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py > usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: > SyntaxWarning: name 'debugging' is use > d prior to global declaration This is an error that the Python compiler generated. I'd suggest you report to the Python bug tracker. BTW, pytag.py is no longer used or maintained, so you can safely delete it. > python: stack smashing attack in function symtable_node() > error: command '/usr/bin/python' terminated by signal 6 > > !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. > !!! Function distutils_src_install, Line 43, Exitcode 1 > !!! (no error message) > > so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes > one in python) - I haven't done very much research as I can live without > egenix - but just wanted to let you know :) > > p.s. it's python-2.3.3. Thanks, -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 11 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From harrelson at gmail.com Thu Sep 30 17:48:13 2004 From: harrelson at gmail.com (Culley Harrelson) Date: Wed Feb 15 20:14:00 2006 Subject: [egenix-users] OS X 10.3.5: *** You don't have the (right) mxDateTime binaries installed ! Message-ID: <529825a30409301648507c0cf8@mail.gmail.com> I have successfully installed mxDateTime on my OS X 10.3.5 system, using the system Python installation. It installed but as soon as I try to import the module I get: === *** You don't have the (right) mxDateTime binaries installed ! Traceback (most recent call last): File "./testFeDb.py", line 4, in ? from mx import DateTime File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/__init__.py", line 8, in ? from DateTime import * File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/DateTime.py", line 9, in ? from mxDateTime import * File "/Library/Python/2.3/mx/DateTime/mxDateTime/__init__.py", line 13, in ? raise ImportError, why ImportError: Failure linking new module: : dyld: python Undefined symbols: /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyArg_ParseTuple expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCObject_FromVoidPtr expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCallable_Check expected to be defined in the executable /Library/Python/2.3/mx/Date === Has anyone experienced this? Any ideas how to fix it? culley From hanser at club-internet.fr Sat Sep 4 17:13:26 2004 From: hanser at club-internet.fr (Pierre Hanser) Date: Thu Feb 16 08:47:07 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 Message-ID: <4139CD86.6020403@club-internet.fr> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 hello seems that python2.4a3 is not compatible with the optimizations in mx/DateTime/mxDateTime/mxDateTime.c on Linux: from mx import DateTime -> core dump if I disable the optims, everything gets ok /* Define these to have the module use free lists (saves malloc calls) */ #define MXDATETIME_FREELIST #define MXDATETIMEDELTA_FREELIST #undef MXDATETIME_FREELIST #undef MXDATETIMEDELTA_FREELIST - -- Pierre -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBOc2GMQ2/jYUwmmwRAn70AJ4puAZm4p10+KTCK/GzLt20VzWd3ACfQzIo H8hLxq8iCE3KGYZ6AR5QUy8= =GA8t -----END PGP SIGNATURE----- From mal at egenix.com Sun Sep 5 19:53:02 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Thu Feb 16 08:47:08 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 In-Reply-To: <4139CD86.6020403@club-internet.fr> References: <4139CD86.6020403@club-internet.fr> Message-ID: <413B446E.40002@egenix.com> Pierre Hanser wrote: > hello > > seems that python2.4a3 is not compatible with the optimizations in > mx/DateTime/mxDateTime/mxDateTime.c on Linux: > > from mx import DateTime -> core dump > > if I disable the optims, everything gets ok > > /* Define these to have the module use free lists (saves malloc calls) */ > #define MXDATETIME_FREELIST > #define MXDATETIMEDELTA_FREELIST > #undef MXDATETIME_FREELIST > #undef MXDATETIMEDELTA_FREELIST This is more likely due to a bug in your C compiler. -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 05 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From aluton at rcseng.ac.uk Wed Sep 8 12:33:02 2004 From: aluton at rcseng.ac.uk (Alex Luton) Date: Thu Feb 16 08:47:08 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: References: Message-ID: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Hi, I'm trying to get the mxODBC DA working, but the product is broken with this error message: Traceback (most recent call last): File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product product=__import__(pname, global_dict, global_dict, silly) File "Products/mxODBCZopeDA/__init__.py", line 7, in ? File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? Any help would be much appreciated. Thanks -- Alex ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 From mal at egenix.com Wed Sep 8 13:37:44 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Thu Feb 16 08:47:08 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> References: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Message-ID: <413EE0F8.6050601@egenix.com> Alex Luton wrote: > Hi, > > I'm trying to get the mxODBC DA working, but the product is broken with > this error message: > > Traceback (most recent call last): > File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product > product=__import__(pname, global_dict, global_dict, silly) > File "Products/mxODBCZopeDA/__init__.py", line 7, in ? > File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? > ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString > > I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? RedHat chose to build Python with 4-byte Unicode which is causing all sorts of problems with pre-built extensions. We will start shipping UCS4 builds of the Zope DA with the next release. Until then, you can try the pre-release of 1.0.9: http://www.egenix.com/files/python/egenix-mxodbc-zopeda-1.0.9.linux-i686-py2.3ucs4.zip -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 08 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From kl at vsen.dk Sat Sep 11 20:21:57 2004 From: kl at vsen.dk (Klavs Klavsen) Date: Thu Feb 16 08:47:08 2006 Subject: [egenix-users] bufferoverflow in egenix? Message-ID: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Hi guys, Just installed a new gcc with stack-smashing protection - and while recompiling modules with stack-smashing protection, I got this message: -- copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l ib/python2.3/site-packages/mx/Misc copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ python2.3/site-packages/mx/Misc writing byte-compilation script '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: SyntaxWarning: name 'debugging' is use d prior to global declaration python: stack smashing attack in function symtable_node() error: command '/usr/bin/python' terminated by signal 6 !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. !!! Function distutils_src_install, Line 43, Exitcode 1 !!! (no error message) so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes one in python) - I haven't done very much research as I can live without egenix - but just wanted to let you know :) p.s. it's python-2.3.3. -- Regards, Klavs Klavsen, GSEC - kl@vsen.dk - http://www.vsen.dk PGP: 7E063C62/2873 188C 968E 600D D8F8 B8DA 3D3A 0B79 7E06 3C62 "Those who do not understand Unix are condemned to reinvent it, poorly." --Henry Spencer From mal at egenix.com Sat Sep 11 23:51:30 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Thu Feb 16 08:47:08 2006 Subject: [egenix-users] bufferoverflow in egenix? In-Reply-To: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> References: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Message-ID: <41436552.6000906@egenix.com> Klavs Klavsen wrote: > Hi guys, > > Just installed a new gcc with stack-smashing protection - and while > recompiling modules with stack-smashing protection, I got this message: > -- > copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l > ib/python2.3/site-packages/mx/Misc > copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ > python2.3/site-packages/mx/Misc > writing byte-compilation script > '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' > /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py > usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: > SyntaxWarning: name 'debugging' is use > d prior to global declaration This is an error that the Python compiler generated. I'd suggest you report to the Python bug tracker. BTW, pytag.py is no longer used or maintained, so you can safely delete it. > python: stack smashing attack in function symtable_node() > error: command '/usr/bin/python' terminated by signal 6 > > !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. > !!! Function distutils_src_install, Line 43, Exitcode 1 > !!! (no error message) > > so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes > one in python) - I haven't done very much research as I can live without > egenix - but just wanted to let you know :) > > p.s. it's python-2.3.3. Thanks, -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 11 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From harrelson at gmail.com Thu Sep 30 17:48:13 2004 From: harrelson at gmail.com (Culley Harrelson) Date: Thu Feb 16 08:47:08 2006 Subject: [egenix-users] OS X 10.3.5: *** You don't have the (right) mxDateTime binaries installed ! Message-ID: <529825a30409301648507c0cf8@mail.gmail.com> I have successfully installed mxDateTime on my OS X 10.3.5 system, using the system Python installation. It installed but as soon as I try to import the module I get: === *** You don't have the (right) mxDateTime binaries installed ! Traceback (most recent call last): File "./testFeDb.py", line 4, in ? from mx import DateTime File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/__init__.py", line 8, in ? from DateTime import * File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/DateTime.py", line 9, in ? from mxDateTime import * File "/Library/Python/2.3/mx/DateTime/mxDateTime/__init__.py", line 13, in ? raise ImportError, why ImportError: Failure linking new module: : dyld: python Undefined symbols: /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyArg_ParseTuple expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCObject_FromVoidPtr expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCallable_Check expected to be defined in the executable /Library/Python/2.3/mx/Date === Has anyone experienced this? Any ideas how to fix it? culley From hanser at club-internet.fr Sat Sep 4 17:13:26 2004 From: hanser at club-internet.fr (Pierre Hanser) Date: Fri Mar 31 16:33:49 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 Message-ID: <4139CD86.6020403@club-internet.fr> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 hello seems that python2.4a3 is not compatible with the optimizations in mx/DateTime/mxDateTime/mxDateTime.c on Linux: from mx import DateTime -> core dump if I disable the optims, everything gets ok /* Define these to have the module use free lists (saves malloc calls) */ #define MXDATETIME_FREELIST #define MXDATETIMEDELTA_FREELIST #undef MXDATETIME_FREELIST #undef MXDATETIMEDELTA_FREELIST - -- Pierre -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBOc2GMQ2/jYUwmmwRAn70AJ4puAZm4p10+KTCK/GzLt20VzWd3ACfQzIo H8hLxq8iCE3KGYZ6AR5QUy8= =GA8t -----END PGP SIGNATURE----- From mal at egenix.com Sun Sep 5 19:53:02 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Fri Mar 31 16:33:49 2006 Subject: [egenix-users] egenix-mx-base-2.0.5 + python2.4a3 In-Reply-To: <4139CD86.6020403@club-internet.fr> References: <4139CD86.6020403@club-internet.fr> Message-ID: <413B446E.40002@egenix.com> Pierre Hanser wrote: > hello > > seems that python2.4a3 is not compatible with the optimizations in > mx/DateTime/mxDateTime/mxDateTime.c on Linux: > > from mx import DateTime -> core dump > > if I disable the optims, everything gets ok > > /* Define these to have the module use free lists (saves malloc calls) */ > #define MXDATETIME_FREELIST > #define MXDATETIMEDELTA_FREELIST > #undef MXDATETIME_FREELIST > #undef MXDATETIMEDELTA_FREELIST This is more likely due to a bug in your C compiler. -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 05 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From aluton at rcseng.ac.uk Wed Sep 8 12:33:02 2004 From: aluton at rcseng.ac.uk (Alex Luton) Date: Fri Mar 31 16:33:49 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: References: Message-ID: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Hi, I'm trying to get the mxODBC DA working, but the product is broken with this error message: Traceback (most recent call last): File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product product=__import__(pname, global_dict, global_dict, silly) File "Products/mxODBCZopeDA/__init__.py", line 7, in ? File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? Any help would be much appreciated. Thanks -- Alex ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 ************************************************************************************** This e-mail and any attached files are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originators personal views and opinions, which do not necessarily reflect those of The Royal College of Surgeons of England. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. http://www.rcseng.ac.uk Registered Charity Number: 212808 From mal at egenix.com Wed Sep 8 13:37:44 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Fri Mar 31 16:33:49 2006 Subject: [egenix-users] mxODBC DA with Plone 2 and Redhat 9 In-Reply-To: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> References: <1094639582.4881.4.camel@al9fgb51j.rcseng.ac.uk> Message-ID: <413EE0F8.6050601@egenix.com> Alex Luton wrote: > Hi, > > I'm trying to get the mxODBC DA working, but the product is broken with > this error message: > > Traceback (most recent call last): > File "/usr/lib/plone2/lib/python/OFS/Application.py", line 654, in import_product > product=__import__(pname, global_dict, global_dict, silly) > File "Products/mxODBCZopeDA/__init__.py", line 7, in ? > File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ? > ImportError: /usr/lib/plone2/lib/python/mx/TextTools/mxTextTools/mxTextTools.so: undefined symbol: PyUnicodeUCS2_AsEncodedString > > I know Plone uses Python 2.3.3 and some form of Zope 2.7. Surely this isn't a very exotic configuration these days? RedHat chose to build Python with 4-byte Unicode which is causing all sorts of problems with pre-built extensions. We will start shipping UCS4 builds of the Zope DA with the next release. Until then, you can try the pre-release of 1.0.9: http://www.egenix.com/files/python/egenix-mxodbc-zopeda-1.0.9.linux-i686-py2.3ucs4.zip -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 08 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From kl at vsen.dk Sat Sep 11 20:21:57 2004 From: kl at vsen.dk (Klavs Klavsen) Date: Fri Mar 31 16:33:49 2006 Subject: [egenix-users] bufferoverflow in egenix? Message-ID: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Hi guys, Just installed a new gcc with stack-smashing protection - and while recompiling modules with stack-smashing protection, I got this message: -- copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l ib/python2.3/site-packages/mx/Misc copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ python2.3/site-packages/mx/Misc writing byte-compilation script '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: SyntaxWarning: name 'debugging' is use d prior to global declaration python: stack smashing attack in function symtable_node() error: command '/usr/bin/python' terminated by signal 6 !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. !!! Function distutils_src_install, Line 43, Exitcode 1 !!! (no error message) so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes one in python) - I haven't done very much research as I can live without egenix - but just wanted to let you know :) p.s. it's python-2.3.3. -- Regards, Klavs Klavsen, GSEC - kl@vsen.dk - http://www.vsen.dk PGP: 7E063C62/2873 188C 968E 600D D8F8 B8DA 3D3A 0B79 7E06 3C62 "Those who do not understand Unix are condemned to reinvent it, poorly." --Henry Spencer From mal at egenix.com Sat Sep 11 23:51:30 2004 From: mal at egenix.com (M.-A. Lemburg) Date: Fri Mar 31 16:33:49 2006 Subject: [egenix-users] bufferoverflow in egenix? In-Reply-To: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> References: <33183.10.0.0.51.1094923317.squirrel@10.0.0.51> Message-ID: <41436552.6000906@egenix.com> Klavs Klavsen wrote: > Hi guys, > > Just installed a new gcc with stack-smashing protection - and while > recompiling modules with stack-smashing protection, I got this message: > -- > copying build/lib.linux-i686-2.3/mx/Misc/__init__.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/l > ib/python2.3/site-packages/mx/Misc > copying build/lib.linux-i686-2.3/mx/Misc/Cache.py -> > /var/tmp/portage/egenix-mx-base-2.0.5/image/usr/lib/ > python2.3/site-packages/mx/Misc > writing byte-compilation script > '/var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py' > /usr/bin/python -O /var/tmp/portage/egenix-mx-base-2.0.5/temp/tmpTQ2rvx.py > usr/lib/python2.3/site-packages/mx/TextTools/Examples/pytag.py:47: > SyntaxWarning: name 'debugging' is use > d prior to global declaration This is an error that the Python compiler generated. I'd suggest you report to the Python bug tracker. BTW, pytag.py is no longer used or maintained, so you can safely delete it. > python: stack smashing attack in function symtable_node() > error: command '/usr/bin/python' terminated by signal 6 > > !!! ERROR: dev-python/egenix-mx-base-2.0.5 failed. > !!! Function distutils_src_install, Line 43, Exitcode 1 > !!! (no error message) > > so it seems egenix-mx-base causes a bufferoverflow (or perhaps it causes > one in python) - I haven't done very much research as I can live without > egenix - but just wanted to let you know :) > > p.s. it's python-2.3.3. Thanks, -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 11 2004) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From harrelson at gmail.com Thu Sep 30 17:48:13 2004 From: harrelson at gmail.com (Culley Harrelson) Date: Fri Mar 31 16:33:49 2006 Subject: [egenix-users] OS X 10.3.5: *** You don't have the (right) mxDateTime binaries installed ! Message-ID: <529825a30409301648507c0cf8@mail.gmail.com> I have successfully installed mxDateTime on my OS X 10.3.5 system, using the system Python installation. It installed but as soon as I try to import the module I get: === *** You don't have the (right) mxDateTime binaries installed ! Traceback (most recent call last): File "./testFeDb.py", line 4, in ? from mx import DateTime File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/__init__.py", line 8, in ? from DateTime import * File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mx/DateTime/DateTime.py", line 9, in ? from mxDateTime import * File "/Library/Python/2.3/mx/DateTime/mxDateTime/__init__.py", line 13, in ? raise ImportError, why ImportError: Failure linking new module: : dyld: python Undefined symbols: /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyArg_ParseTuple expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCObject_FromVoidPtr expected to be defined in the executable /Library/Python/2.3/mx/DateTime/mxDateTime/mxDateTime.so undefined reference to _PyCallable_Check expected to be defined in the executable /Library/Python/2.3/mx/Date === Has anyone experienced this? Any ideas how to fix it? culley