From info at egenix.com Tue Aug 2 22:01:50 2011 From: info at egenix.com (eGenix Team: M.-A. Lemburg) Date: Tue Aug 2 21:11:05 2011 Subject: [egenix-users] ANN: eGenix mx Base Distribution 3.2.1 (mxDateTime, mxTextTools, etc.) Message-ID: <4E38499E.4020200@egenix.com> ________________________________________________________________________ ANNOUNCING eGenix.com mx Base Distribution Version 3.2.1 for Python 2.4 - 2.7 Open Source Python extensions providing important and useful services for Python programmers. This announcement is also available on our web-site for online reading: http://www.egenix.com/company/news/eGenix-mx-Base-Distribution-3.2.1-GA.html ________________________________________________________________________ ABOUT The eGenix.com mx Base Distribution for Python is a collection of professional quality software tools which enhance Python's usability in many important areas such as fast text searching, date/time processing and high speed data types. The tools have a proven record of being portable across many Unix and Windows platforms. You can write applications which use the tools on Windows and then run them on Unix platforms without change due to the consistent platform independent interfaces. Contents of the distribution: * mxDateTime - Easy to use Date/Time Library for Python * mxTextTools - Fast Text Parsing and Processing Tools for Python * mxProxy - Object Access Control for Python * mxBeeBase - On-disk B+Tree Based Database Kit for Python * mxURL - Flexible URL Data-Type for Python * mxUID - Fast Universal Identifiers for Python * mxStack - Fast and Memory-Efficient Stack Type for Python * mxQueue - Fast and Memory-Efficient Queue Type for Python * mxTools - Fast Everyday Helpers for Python All available packages have proven their stability and usefulness in many mission critical applications and various commercial settings all around the world. For more information, please see the distribution page: http://www.egenix.com/products/python/mxBase/ ________________________________________________________________________ NEWS The 3.2.1 release of the eGenix mx Base Distribution is the latest release of our open-source Python extensions. The new patch-level version includes a few important fixes: * Fixed a segfault in mxDateTime. * Fixed a possible buffer overflow in the mxDebugPrintf() function. * Fixed a problem in mxSetup mx_autoconf: Python.h was not found by some tests. If you are upgrading from eGenix mx Base 3.1.x, please also see the eGenix mx Base Distribution 3.2.0 release notes for details on what has changed and which new features are available: http://www.egenix.com/company/news/eGenix-mx-Base-Distribution-3.2.0-GA.html As always, we are providing pre-built binaries for all common platforms: Windows 32/64-bit, Linux 32/64-bit, FreeBSD 32/64-bit, Mac OS X 32/64-bit. Source code archives are available for installation on all other Python platforms, such as Solaris, AIX, HP-UX, etc. To simplify installation in Zope/Plone and other egg-based systems, we have also precompiled egg distributions for all platforms. These are available on our own PyPI-style index server for easy and automatic download. Whether you are using a pre-built package or the source distribution, installation is a simple "python setup.py install" command in all cases. The only difference is that the pre-built packages do not require a compiler or the Python development packages to be installed. For a list of changes, please refer to the eGenix mx Base Distribution change log at http://www.egenix.com/products/python/mxBase/changelog.html and the change logs of the various included Python packages. ________________________________________________________________________ DOWNLOADS The download archives and instructions for installing the packages can be found on the eGenix mx Base Distribution page: http://www.egenix.com/products/python/mxBase/ ________________________________________________________________________ LICENSE The eGenix mx Base package is distributed under the eGenix.com Public License 1.1.0 which is an Open Source license similar to the Python license. You can use the packages in both commercial and non-commercial settings without fee or charge. The package comes with full source code ________________________________________________________________________ SUPPORT Commercial support for this product is available from eGenix.com. Please see http://www.egenix.com/services/support/ for details about our support offerings. Enjoy, -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Aug 02 2011) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try our new mxODBC.Connect Python Database Interface for free ! :::: eGenix.com Software, Skills and Services GmbH Pastor-Loeh-Str.48 D-40764 Langenfeld, Germany. CEO Dipl.-Math. Marc-Andre Lemburg Registered at Amtsgericht Duesseldorf: HRB 46611 http://www.egenix.com/company/contact/ From mal at egenix.com Wed Aug 3 12:02:18 2011 From: mal at egenix.com (M.-A. Lemburg) Date: Wed Aug 3 11:02:29 2011 Subject: [egenix-users] ANN: eGenix mx Base Distribution 3.2.1 (mxDateTime, mxTextTools, etc.) In-Reply-To: <4E38499E.4020200@egenix.com> References: <4E38499E.4020200@egenix.com> Message-ID: <4E390E9A.2060702@egenix.com> Dear eGenix Users, turns out we forgot to change the packages' version numbers to 3.2.1, e.g. mx.__version__ still points to '3.2.0'. We have fixed that now in all downloads for 3.2.1 (and just that detail), instead of issuing a new release. If this change is important to you, please redownload the release files you need. Sorry for any inconvenience caused by this. Thanks, -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Aug 03 2011) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try our new mxODBC.Connect Python Database Interface for free ! :::: eGenix.com Software, Skills and Services GmbH Pastor-Loeh-Str.48 D-40764 Langenfeld, Germany. CEO Dipl.-Math. Marc-Andre Lemburg Registered at Amtsgericht Duesseldorf: HRB 46611 http://www.egenix.com/company/contact/ eGenix Team: M.-A. Lemburg wrote: > ________________________________________________________________________ > > ANNOUNCING > > eGenix.com mx Base Distribution > > Version 3.2.1 for Python 2.4 - 2.7 > > Open Source Python extensions providing > important and useful services > for Python programmers. > > This announcement is also available on our web-site for online reading: > http://www.egenix.com/company/news/eGenix-mx-Base-Distribution-3.2.1-GA.html > > ________________________________________________________________________ > > ABOUT > > The eGenix.com mx Base Distribution for Python is a collection of > professional quality software tools which enhance Python's usability > in many important areas such as fast text searching, date/time > processing and high speed data types. > > The tools have a proven record of being portable across many Unix and > Windows platforms. You can write applications which use the tools on > Windows and then run them on Unix platforms without change due to the > consistent platform independent interfaces. > > Contents of the distribution: > > * mxDateTime - Easy to use Date/Time Library for Python > * mxTextTools - Fast Text Parsing and Processing Tools for Python > * mxProxy - Object Access Control for Python > * mxBeeBase - On-disk B+Tree Based Database Kit for Python > * mxURL - Flexible URL Data-Type for Python > * mxUID - Fast Universal Identifiers for Python > * mxStack - Fast and Memory-Efficient Stack Type for Python > * mxQueue - Fast and Memory-Efficient Queue Type for Python > * mxTools - Fast Everyday Helpers for Python > > All available packages have proven their stability and usefulness in > many mission critical applications and various commercial settings all > around the world. > > For more information, please see the distribution page: > > http://www.egenix.com/products/python/mxBase/ > > ________________________________________________________________________ > > NEWS > > The 3.2.1 release of the eGenix mx Base Distribution is the latest > release of our open-source Python extensions. > > The new patch-level version includes a few important fixes: > > * Fixed a segfault in mxDateTime. > * Fixed a possible buffer overflow in the mxDebugPrintf() > function. > * Fixed a problem in mxSetup mx_autoconf: Python.h was not > found by some tests. > > If you are upgrading from eGenix mx Base 3.1.x, please also see the > eGenix mx Base Distribution 3.2.0 release notes for details on what > has changed and which new features are available: > > http://www.egenix.com/company/news/eGenix-mx-Base-Distribution-3.2.0-GA.html > > As always, we are providing pre-built binaries for all common > platforms: Windows 32/64-bit, Linux 32/64-bit, FreeBSD 32/64-bit, Mac > OS X 32/64-bit. Source code archives are available for installation on > all other Python platforms, such as Solaris, AIX, HP-UX, etc. > > To simplify installation in Zope/Plone and other egg-based systems, we > have also precompiled egg distributions for all platforms. These are > available on our own PyPI-style index server for easy and automatic > download. > > Whether you are using a pre-built package or the source distribution, > installation is a simple "python setup.py install" command in all > cases. The only difference is that the pre-built packages do not > require a compiler or the Python development packages to be installed. > > For a list of changes, please refer to the eGenix mx Base Distribution > change log at > > http://www.egenix.com/products/python/mxBase/changelog.html > > and the change logs of the various included Python packages. > > ________________________________________________________________________ > > DOWNLOADS > > The download archives and instructions for installing the packages can > be found on the eGenix mx Base Distribution page: > > http://www.egenix.com/products/python/mxBase/ > > ________________________________________________________________________ > > LICENSE > > The eGenix mx Base package is distributed under the eGenix.com Public > License 1.1.0 which is an Open Source license similar to the Python > license. You can use the packages in both commercial and non-commercial > settings without fee or charge. > > The package comes with full source code > > ________________________________________________________________________ > > SUPPORT > > Commercial support for this product is available from eGenix.com. > Please see > > http://www.egenix.com/services/support/ > > for details about our support offerings. > > Enjoy, From cliffq at islandwood.org Sun Aug 28 16:11:59 2011 From: cliffq at islandwood.org (Cliff Quinn) Date: Mon Aug 29 00:15:01 2011 Subject: [egenix-users] No module named threadlock? Message-ID: <7CD69867FCBA0F4694B0C053BF09331303A42A29@POSTINO.pselc.internal> I've installed the mxODBC package using buildout on a new Plone 4.1 instance installed on Ubuntu 11 Buildout seems to run fine, but when I run the client1 instance in foreground I get the following error message and the instance exits. Any help would be appreciated. I don't see any references like this on the list or the web. Am I missing installing a product ? make_top_level_package: Importing embedded mx package Products.mxODBCZopeDA.mx make_top_level_package: No pre-existing mx top-level package found. make_top_level_package: Installing embedded mx package as top-level package. 2011-08-28 14:58:19 ERROR Application Could not import Products.mxODBCZopeDA Traceback (most recent call last): File "/usr/local/Plone/buildout-cache/eggs/Zope2-2.13.8-py2.6.egg/OFS/Applica tion.py", line 606, in import_product product=__import__(pname, global_dict, global_dict, silly) File "Products/mxODBCZopeDA/__init__.py", line 33, in File "Products/mxODBCZopeDA/ZopeDA.py", line 32, in ImportError: No module named ThreadLock Traceback (most recent call last): File "/usr/local/Plone/buildout-cache/eggs/Zope2-2.13.8-py2.6.egg/Zope2/Start up/run.py", line 72, in run() File "/usr/local/Plone/buildout-cache/eggs/Zope2-2.13.8-py2.6.egg/Zope2/Start up/run.py", line 21, in run starter.prepare() File "/usr/local/Plone/buildout-cache/eggs/Zope2-2.13.8-py2.6.egg/Zope2/Start up/__init__.py", line 86, in prepare self.startZope() File "/usr/local/Plone/buildout-cache/eggs/Zope2-2.13.8-py2.6.egg/Zope2/Start up/__init__.py", line 259, in startZope Zope2.startup() File "/usr/local/Plone/buildout-cache/eggs/Zope2-2.13.8-py2.6.egg/Zope2/__ini t__.py", line 47, in startup _startup() File "/usr/local/Plone/buildout-cache/eggs/Zope2-2.13.8-py2.6.egg/Zope2/App/s tartup.py", line 67, in startup OFS.Application.import_products() File "/usr/local/Plone/buildout-cache/eggs/Zope2-2.13.8-py2.6.egg/OFS/Applica tion.py", line 583, in import_products import_product(product_dir, product_name, raise_exc=debug_mode) File "/usr/local/Plone/buildout-cache/eggs/Zope2-2.13.8-py2.6.egg/OFS/Applica tion.py", line 606, in import_product product=__import__(pname, global_dict, global_dict, silly) File "Products/mxODBCZopeDA/__init__.py", line 33, in def get_starter(): File "Products/mxODBCZopeDA/ZopeDA.py", line 32, in ImportError: No module named ThreadLock ____________________________________________________ Cliff Quinn, IT Manager IslandWood 4450 Blakely Avenue NE Bainbridge Island WA 98110 206.855.4300 www.IslandWood.org The mission of IslandWood is to provide exceptional learning experiences and to inspire lifelong environmental and community stewardship. -------------- next part -------------- An HTML attachment was scrubbed... URL: /mailman-archives/egenix-users/attachments/20110828/ad91e8a1/attachment.htm From mal at egenix.com Mon Aug 29 13:34:08 2011 From: mal at egenix.com (M.-A. Lemburg) Date: Mon Aug 29 12:34:15 2011 Subject: [egenix-users] No module named threadlock? In-Reply-To: <7CD69867FCBA0F4694B0C053BF09331303A42A29@POSTINO.pselc.internal> References: <7CD69867FCBA0F4694B0C053BF09331303A42A29@POSTINO.pselc.internal> Message-ID: <4E5B6B20.6050301@egenix.com> Cliff Quinn wrote: > I've installed the mxODBC package using buildout on a new Plone 4.1 > instance installed on Ubuntu 11 > > > > Buildout seems to run fine, but when I run the client1 instance in > foreground I get the following error message and the instance exits. Any > help would be appreciated. I don't see any references like this on the > list or the web. Am I missing installing a product ? Indeed. The mxODBC Zope DA 2.0 does not officially support Plone 4.1 yet (we will add that to version 2.1), but you should be able to get it to work by making these Zope related changes in your setup when using Zope 2.13: In Zope 2.13 two packages that used to ship with the Zope have been removed as default dependency: http://pypi.python.org/pypi/ThreadLock/ http://pypi.python.org/pypi/Products.ZSQLMethods/ You will need to add those two your buildout.cfg eggs list: [buildout] ... eggs = ... Products.ZSQLMethods ThreadLock ... and add versions to the [versions] section: [versions] ... Products.ZSQLMethods = 2.13.0 ThreadLock = 2.13.4 ... > make_top_level_package: Importing embedded mx package > Products.mxODBCZopeDA.mx > > make_top_level_package: No pre-existing mx top-level package found. > > make_top_level_package: Installing embedded mx package as top-level > package. > > 2011-08-28 14:58:19 ERROR Application Could not import > Products.mxODBCZopeDA > > Traceback (most recent call last): > > File > "/usr/local/Plone/buildout-cache/eggs/Zope2-2.13.8-py2.6.egg/OFS/Applica > tion.py", line 606, in import_product > > product=__import__(pname, global_dict, global_dict, silly) > > File "Products/mxODBCZopeDA/__init__.py", line 33, in > > File "Products/mxODBCZopeDA/ZopeDA.py", line 32, in > > ImportError: No module named ThreadLock > > Traceback (most recent call last): > > File > "/usr/local/Plone/buildout-cache/eggs/Zope2-2.13.8-py2.6.egg/Zope2/Start > up/run.py", line 72, in > > run() > > File > "/usr/local/Plone/buildout-cache/eggs/Zope2-2.13.8-py2.6.egg/Zope2/Start > up/run.py", line 21, in run > > starter.prepare() > > File > "/usr/local/Plone/buildout-cache/eggs/Zope2-2.13.8-py2.6.egg/Zope2/Start > up/__init__.py", line 86, in prepare > > self.startZope() > > File > "/usr/local/Plone/buildout-cache/eggs/Zope2-2.13.8-py2.6.egg/Zope2/Start > up/__init__.py", line 259, in startZope > > Zope2.startup() > > File > "/usr/local/Plone/buildout-cache/eggs/Zope2-2.13.8-py2.6.egg/Zope2/__ini > t__.py", line 47, in startup > > _startup() > > File > "/usr/local/Plone/buildout-cache/eggs/Zope2-2.13.8-py2.6.egg/Zope2/App/s > tartup.py", line 67, in startup > > OFS.Application.import_products() > > File > "/usr/local/Plone/buildout-cache/eggs/Zope2-2.13.8-py2.6.egg/OFS/Applica > tion.py", line 583, in import_products > > import_product(product_dir, product_name, raise_exc=debug_mode) > > File > "/usr/local/Plone/buildout-cache/eggs/Zope2-2.13.8-py2.6.egg/OFS/Applica > tion.py", line 606, in import_product > > product=__import__(pname, global_dict, global_dict, silly) > > File "Products/mxODBCZopeDA/__init__.py", line 33, in > > def get_starter(): > > File "Products/mxODBCZopeDA/ZopeDA.py", line 32, in > > ImportError: No module named ThreadLock > > > > ____________________________________________________ > > Cliff Quinn, IT Manager > IslandWood > 4450 Blakely Avenue NE > Bainbridge Island WA 98110 > 206.855.4300 > ft\Signatures\www.IslandWood.org> www.IslandWood.org > > > The mission of IslandWood is to provide exceptional learning experiences > and to inspire lifelong environmental and community stewardship. > > > > > > > > > _______________________________________________________________________ > eGenix.com User Mailing List http://www.egenix.com/ > https://www.egenix.com/mailman/listinfo/egenix-users -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Aug 29 2011) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ 2011-10-04: PyCon DE 2011, Leipzig, Germany 36 days to go ::: Try our new mxODBC.Connect Python Database Interface for free ! :::: eGenix.com Software, Skills and Services GmbH Pastor-Loeh-Str.48 D-40764 Langenfeld, Germany. CEO Dipl.-Math. Marc-Andre Lemburg Registered at Amtsgericht Duesseldorf: HRB 46611 http://www.egenix.com/company/contact/ From cliffq at islandwood.org Mon Aug 29 22:33:38 2011 From: cliffq at islandwood.org (Cliff Quinn) Date: Tue Aug 30 06:36:50 2011 Subject: [egenix-users] No module named threadlock? In-Reply-To: <4E5B6B20.6050301@egenix.com> References: <7CD69867FCBA0F4694B0C053BF09331303A42A29@POSTINO.pselc.internal> <4E5B6B20.6050301@egenix.com> Message-ID: <7CD69867FCBA0F4694B0C053BF09331303A42AB7@POSTINO.pselc.internal> > > Cliff Quinn wrote: > > I've installed the mxODBC package using buildout on a new Plone 4.1 > > instance installed on Ubuntu 11 > > > > > > > > Buildout seems to run fine, but when I run the client1 instance in > > foreground I get the following error message and the instance exits. Any > > help would be appreciated. I don't see any references like this on the > > list or the web. Am I missing installing a product ? > > Indeed. The mxODBC Zope DA 2.0 does not officially support Plone 4.1 > yet (we will add that to version 2.1), but you should be able to get > it to work by making these Zope related changes in your setup when using > Zope 2.13: > > In Zope 2.13 two packages that used to ship with the Zope > have been removed as default dependency: > > http://pypi.python.org/pypi/ThreadLock/ > http://pypi.python.org/pypi/Products.ZSQLMethods/ > > You will need to add those two your buildout.cfg eggs list: > > [buildout] > ... > eggs = > ... > Products.ZSQLMethods > ThreadLock > ... > > and add versions to the [versions] section: > > [versions] > ... > Products.ZSQLMethods = 2.13.0 > ThreadLock = 2.13.4 > ... > [Cliff Quinn] I wonder if you have those two versions mixed up. There is no Threadlock 2.13.4 at PyPI, just 2.13.0, and there is a ZSQLMethods 2.13.4 from this last July. In any case I switched those two versions, and tried it with both versions at 2.13.0, and in both cases get the following new error on startup of the client instance. Python reports UCS4 to "python -c 'print("UCS%s"%len(u"x".encode("unicode-internal")))'" and I have the line "http://downloads.egenix.com/python/index/ucs4/" in the find-links= section of buildout. Cliff 2011-08-29 21:23:52 INFO root eGenix mxODBC Zope DA: 2011-08-29 21:23:52 ERROR Application Could not import Products.mxODBCZopeDA Traceback (most recent call last): File "/usr/local/Plone/buildout-cache/eggs/Zope2-2.13.8-py2.6.egg/OFS/Applica tion.py", line 606, in import_product product=__import__(pname, global_dict, global_dict, silly) File "Products/mxODBCZopeDA/__init__.py", line 33, in File "Products/mxODBCZopeDA/ZopeDA.py", line 108, in ImportError: /usr/local/Plone/buildout-cache/eggs/egenix_mxodbc_zopeda-2.0.1-py2.6-li nux-x86_64.egg/Products/mxODBCZopeDA/mx/TextTools/mxTextTools/mxTextTool s.so: undefined symbol: PyUnicodeUCS4_FromEncodedObject Traceback (most recent call last): File "/usr/local/Plone/buildout-cache/eggs/Zope2-2.13.8-py2.6.egg/Zope2/Start up/run.py", line 72, in run() File "/usr/local/Plone/buildout-cache/eggs/Zope2-2.13.8-py2.6.egg/Zope2/Start up/run.py", line 21, in run starter.prepare() File "/usr/local/Plone/buildout-cache/eggs/Zope2-2.13.8-py2.6.egg/Zope2/Start up/__init__.py", line 86, in prepare self.startZope() File "/usr/local/Plone/buildout-cache/eggs/Zope2-2.13.8-py2.6.egg/Zope2/Start up/__init__.py", line 259, in startZope Zope2.startup() File "/usr/local/Plone/buildout-cache/eggs/Zope2-2.13.8-py2.6.egg/Zope2/__ini t__.py", line 47, in startup _startup() File "/usr/local/Plone/buildout-cache/eggs/Zope2-2.13.8-py2.6.egg/Zope2/App/s tartup.py", line 67, in startup OFS.Application.import_products() File "/usr/local/Plone/buildout-cache/eggs/Zope2-2.13.8-py2.6.egg/OFS/Applica tion.py", line 583, in import_products import_product(product_dir, product_name, raise_exc=debug_mode) File "/usr/local/Plone/buildout-cache/eggs/Zope2-2.13.8-py2.6.egg/OFS/Applica tion.py", line 606, in import_product product=__import__(pname, global_dict, global_dict, silly) File "Products/mxODBCZopeDA/__init__.py", line 33, in def get_starter(): File "Products/mxODBCZopeDA/ZopeDA.py", line 108, in ImportError: /usr/local/Plone/buildout-cache/eggs/egenix_mxodbc_zopeda-2.0.1-py2.6-li nux-x86_64.egg/Products/mxODBCZopeDA/mx/TextTools/mxTextTools/mxTextTool s.so: undefined symbol: PyUnicodeUCS4_FromEncodedObject Cliff > > make_top_level_package: Importing embedded mx package > > Products.mxODBCZopeDA.mx > > > > make_top_level_package: No pre-existing mx top-level package found. > > > > make_top_level_package: Installing embedded mx package as top-level > > package. > > > > 2011-08-28 14:58:19 ERROR Application Could not import > > Products.mxODBCZopeDA > > > > Traceback (most recent call last): > > > > File > > "/usr/local/Plone/buildout-cache/eggs/Zope2-2.13.8-py2.6.egg/OFS/Applica > > tion.py", line 606, in import_product > > > > product=__import__(pname, global_dict, global_dict, silly) > > > > File "Products/mxODBCZopeDA/__init__.py", line 33, in > > > > File "Products/mxODBCZopeDA/ZopeDA.py", line 32, in > > > > ImportError: No module named ThreadLock > > > > Traceback (most recent call last): > > > > File > > "/usr/local/Plone/buildout-cache/eggs/Zope2-2.13.8-py2.6.egg/Zope2/Start > > up/run.py", line 72, in > > > > run() > > > > File > > "/usr/local/Plone/buildout-cache/eggs/Zope2-2.13.8-py2.6.egg/Zope2/Start > > up/run.py", line 21, in run > > > > starter.prepare() > > > > File > > "/usr/local/Plone/buildout-cache/eggs/Zope2-2.13.8-py2.6.egg/Zope2/Start > > up/__init__.py", line 86, in prepare > > > > self.startZope() > > > > File > > "/usr/local/Plone/buildout-cache/eggs/Zope2-2.13.8-py2.6.egg/Zope2/Start > > up/__init__.py", line 259, in startZope > > > > Zope2.startup() > > > > File > > "/usr/local/Plone/buildout-cache/eggs/Zope2-2.13.8-py2.6.egg/Zope2/__ini > > t__.py", line 47, in startup > > > > _startup() > > > > File > > "/usr/local/Plone/buildout-cache/eggs/Zope2-2.13.8-py2.6.egg/Zope2/App/s > > tartup.py", line 67, in startup > > > > OFS.Application.import_products() > > > > File > > "/usr/local/Plone/buildout-cache/eggs/Zope2-2.13.8-py2.6.egg/OFS/Applica > > tion.py", line 583, in import_products > > > > import_product(product_dir, product_name, raise_exc=debug_mode) > > > > File > > "/usr/local/Plone/buildout-cache/eggs/Zope2-2.13.8-py2.6.egg/OFS/Applica > > tion.py", line 606, in import_product > > > > product=__import__(pname, global_dict, global_dict, silly) > > > > File "Products/mxODBCZopeDA/__init__.py", line 33, in > > > > def get_starter(): > > > > File "Products/mxODBCZopeDA/ZopeDA.py", line 32, in > > > > ImportError: No module named ThreadLock > > > > > > > > ____________________________________________________ > > > > Cliff Quinn, IT Manager > > IslandWood > > 4450 Blakely Avenue NE > > Bainbridge Island WA 98110 > > 206.855.4300 > > > ft\Signatures\www.IslandWood.org> www.IslandWood.org > > > > > > The mission of IslandWood is to provide exceptional learning experiences > > and to inspire lifelong environmental and community stewardship. > > > > > > > > > > > > > > > > > > _______________________________________________________________________ > > eGenix.com User Mailing List http://www.egenix.com/ > > https://www.egenix.com/mailman/listinfo/egenix-users > > -- > Marc-Andre Lemburg > eGenix.com > > Professional Python Services directly from the Source (#1, Aug 29 2011) > >>> Python/Zope Consulting and Support ... http://www.egenix.com/ > >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ > >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ > ________________________________________________________________________ > 2011-10-04: PyCon DE 2011, Leipzig, Germany 36 days to go > > ::: Try our new mxODBC.Connect Python Database Interface for free ! :::: > > > eGenix.com Software, Skills and Services GmbH Pastor-Loeh-Str.48 > D-40764 Langenfeld, Germany. CEO Dipl.-Math. Marc-Andre Lemburg > Registered at Amtsgericht Duesseldorf: HRB 46611 > http://www.egenix.com/company/contact/ -------------- next part -------------- An HTML attachment was scrubbed... URL: /mailman-archives/egenix-users/attachments/20110829/617cfc98/attachment.htm From mal at egenix.com Tue Aug 30 11:01:34 2011 From: mal at egenix.com (M.-A. Lemburg) Date: Tue Aug 30 10:01:42 2011 Subject: [egenix-users] No module named threadlock? In-Reply-To: <7CD69867FCBA0F4694B0C053BF09331303A42AB7@POSTINO.pselc.internal> References: <7CD69867FCBA0F4694B0C053BF09331303A42A29@POSTINO.pselc.internal> <4E5B6B20.6050301@egenix.com> <7CD69867FCBA0F4694B0C053BF09331303A42AB7@POSTINO.pselc.internal> Message-ID: <4E5C98DE.70806@egenix.com> Cliff Quinn wrote: >> [versions] > >> ... > >> Products.ZSQLMethods = 2.13.0 > >> ThreadLock = 2.13.4 > >> ... > >> > > > > [Cliff Quinn] > > I wonder if you have those two versions mixed up. Yes, sorry. The vesions should read: [versions] ... Products.ZSQLMethods = 2.13.4 ThreadLock = 2.13.0 ... > There is no Threadlock > 2.13.4 at PyPI, just 2.13.0, and there is a ZSQLMethods 2.13.4 from this > last July. In any case I switched those two versions, and tried it with > both versions at 2.13.0, and in both cases get the following new error > on startup of the client instance. Python reports UCS4 to "python -c > 'print("UCS%s"%len(u"x".encode("unicode-internal")))'" and I have the > line "http://downloads.egenix.com/python/index/ucs4/" > > in the find-links= section of buildout. The error indicates that you are running a UCS2 Python version. Unless you have configured Plone to use an already installed Python during installation, Plone will build a private copy which uses the Python default setting of UCS2. You can either reinstall Plone to use your system Python version or install the UCS2 version of the Zope DA. > Cliff > > > > 2011-08-29 21:23:52 INFO root eGenix mxODBC Zope DA: > > 2011-08-29 21:23:52 ERROR Application Could not import > Products.mxODBCZopeDA > > Traceback (most recent call last): > > File > "/usr/local/Plone/buildout-cache/eggs/Zope2-2.13.8-py2.6.egg/OFS/Applica > tion.py", line 606, in import_product > > product=__import__(pname, global_dict, global_dict, silly) > > File "Products/mxODBCZopeDA/__init__.py", line 33, in > > File "Products/mxODBCZopeDA/ZopeDA.py", line 108, in > > ImportError: > /usr/local/Plone/buildout-cache/eggs/egenix_mxodbc_zopeda-2.0.1-py2.6-li > nux-x86_64.egg/Products/mxODBCZopeDA/mx/TextTools/mxTextTools/mxTextTool > s.so: undefined symbol: PyUnicodeUCS4_FromEncodedObject -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Aug 30 2011) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ 2011-10-04: PyCon DE 2011, Leipzig, Germany 35 days to go ::: Try our new mxODBC.Connect Python Database Interface for free ! :::: eGenix.com Software, Skills and Services GmbH Pastor-Loeh-Str.48 D-40764 Langenfeld, Germany. CEO Dipl.-Math. Marc-Andre Lemburg Registered at Amtsgericht Duesseldorf: HRB 46611 http://www.egenix.com/company/contact/ From cliffq at islandwood.org Tue Aug 30 11:00:33 2011 From: cliffq at islandwood.org (Cliff Quinn) Date: Tue Aug 30 19:00:58 2011 Subject: [egenix-users] No module named threadlock? In-Reply-To: <4E5C98DE.70806@egenix.com> References: <7CD69867FCBA0F4694B0C053BF09331303A42A29@POSTINO.pselc.internal> <4E5B6B20.6050301@egenix.com> <7CD69867FCBA0F4694B0C053BF09331303A42AB7@POSTINO.pselc.internal> <4E5C98DE.70806@egenix.com> Message-ID: <7CD69867FCBA0F4694B0C053BF09331303A42AC3@POSTINO.pselc.internal> > > The error indicates that you are running a UCS2 Python version. > > Unless you have configured Plone to use an already installed > Python during installation, Plone will build a private copy which > uses the Python default setting of UCS2. > > You can either reinstall Plone to use your system Python > version or install the UCS2 version of the Zope DA. > [Cliff Quinn] I tried changing the find-links section to find-links = http://downloads.egenix.com/python/index/ucs2/ but I still get the same error: ImportError: /usr/local/Plone/buildout-cache/eggs/egenix_mxodbc_zopeda-2.0.1-py2.6-li nux-x86_64.egg/Products/mxODBCZopeDA/mx/TextTools/mxTextTools/mxTextTool s.so: undefined symbol: PyUnicodeUCS4_FromEncodedObject Is there a way to get the UCS2 version using the version section? Cliff From mal at egenix.com Tue Aug 30 22:57:38 2011 From: mal at egenix.com (M.-A. Lemburg) Date: Tue Aug 30 21:57:44 2011 Subject: [egenix-users] No module named threadlock? In-Reply-To: <7CD69867FCBA0F4694B0C053BF09331303A42AC3@POSTINO.pselc.internal> References: <7CD69867FCBA0F4694B0C053BF09331303A42A29@POSTINO.pselc.internal> <4E5B6B20.6050301@egenix.com> <7CD69867FCBA0F4694B0C053BF09331303A42AB7@POSTINO.pselc.internal> <4E5C98DE.70806@egenix.com> <7CD69867FCBA0F4694B0C053BF09331303A42AC3@POSTINO.pselc.internal> Message-ID: <4E5D40B2.40007@egenix.com> Cliff Quinn wrote: >> >> The error indicates that you are running a UCS2 Python version. >> >> Unless you have configured Plone to use an already installed >> Python during installation, Plone will build a private copy which >> uses the Python default setting of UCS2. >> >> You can either reinstall Plone to use your system Python >> version or install the UCS2 version of the Zope DA. >> > > [Cliff Quinn] > > I tried changing the find-links section to > find-links = > http://downloads.egenix.com/python/index/ucs2/ > > but I still get the same error: > > ImportError: > /usr/local/Plone/buildout-cache/eggs/egenix_mxodbc_zopeda-2.0.1-py2.6-li > nux-x86_64.egg/Products/mxODBCZopeDA/mx/TextTools/mxTextTools/mxTextTool > s.so: undefined symbol: PyUnicodeUCS4_FromEncodedObject > > Is there a way to get the UCS2 version using the version section? No. The problem you are hitting is setuptools being ignorant about the fact that Python can be built as UCS2 or UCS4 version. Both egg files have the same names - which is why we had to setup separate indexes for UCS2 and UCS4. Now, since you've already had the egg installed as UCS4 version, the egg file will be in your buildout egg cache and doesn't get downloaded again. Instead, buildout will happily use the UCS4 version, thinking it is the right one. Please clear out the egg file from the cache and retry. Hope that helps, -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Aug 30 2011) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ 2011-10-04: PyCon DE 2011, Leipzig, Germany 35 days to go ::: Try our new mxODBC.Connect Python Database Interface for free ! :::: eGenix.com Software, Skills and Services GmbH Pastor-Loeh-Str.48 D-40764 Langenfeld, Germany. CEO Dipl.-Math. Marc-Andre Lemburg Registered at Amtsgericht Duesseldorf: HRB 46611 http://www.egenix.com/company/contact/ From cliffq at islandwood.org Wed Aug 31 00:04:34 2011 From: cliffq at islandwood.org (Cliff Quinn) Date: Wed Aug 31 08:06:07 2011 Subject: [egenix-users] No module named threadlock? In-Reply-To: <4E5D40B2.40007@egenix.com> References: <7CD69867FCBA0F4694B0C053BF09331303A42A29@POSTINO.pselc.internal> <4E5B6B20.6050301@egenix.com> <7CD69867FCBA0F4694B0C053BF09331303A42AB7@POSTINO.pselc.internal> <4E5C98DE.70806@egenix.com> <7CD69867FCBA0F4694B0C053BF09331303A42AC3@POSTINO.pselc.internal> <4E5D40B2.40007@egenix.com> Message-ID: <7CD69867FCBA0F4694B0C053BF09331303A42AE5@POSTINO.pselc.internal> > > Please clear out the egg file from the cache and retry. > > Hope that helps, [Cliff Quinn] So I cleared out everything from the Plone/buildout-cache/download/dist and the egenix folder from Plone/buildout-cache/eggs, and things seem better on the UCS front. Last problem I hope: File "Products/mxODBCZopeDA/__init__.py", line 33, in def get_starter(): File "Products/mxODBCZopeDA/ZopeDA.py", line 351, in ImportError: eGenix mxODBC Zope DA could not find license module In the zeo version of buildout there is no ${instance:location} value as recommended in your documentation for the "output = ${instance:location}/lib/python/mxodbc_zopeda_license.py" line in the [egenix-mxodbc-zopeda-license] section. I tried using the ${buildout:directory} value instead, and this doesn't seem to work. I tried hard-coding the absolute path, and that didn't work. I noted that the products/lib/python directories were owned by root:root, and I chmoded them to plone:root, and that didn't work. Where exactly is the program looking? Cliff From mal at egenix.com Wed Aug 31 15:30:23 2011 From: mal at egenix.com (M.-A. Lemburg) Date: Wed Aug 31 14:30:31 2011 Subject: [egenix-users] Using mxODBC Zope DA 2.0 with Plone 4.1 (was: No module named threadlock?) In-Reply-To: <7CD69867FCBA0F4694B0C053BF09331303A42AE5@POSTINO.pselc.internal> References: <7CD69867FCBA0F4694B0C053BF09331303A42A29@POSTINO.pselc.internal> <4E5B6B20.6050301@egenix.com> <7CD69867FCBA0F4694B0C053BF09331303A42AB7@POSTINO.pselc.internal> <4E5C98DE.70806@egenix.com> <7CD69867FCBA0F4694B0C053BF09331303A42AC3@POSTINO.pselc.internal> <4E5D40B2.40007@egenix.com> <7CD69867FCBA0F4694B0C053BF09331303A42AE5@POSTINO.pselc.internal> Message-ID: <4E5E295F.3080300@egenix.com> Cliff Quinn wrote: >> >> Please clear out the egg file from the cache and retry. >> >> Hope that helps, > > [Cliff Quinn] > So I cleared out everything from the Plone/buildout-cache/download/dist > and the egenix folder from Plone/buildout-cache/eggs, and things seem > better on the UCS front. > > Last problem I hope: > > File "Products/mxODBCZopeDA/__init__.py", line 33, in > def get_starter(): > File "Products/mxODBCZopeDA/ZopeDA.py", line 351, in > ImportError: eGenix mxODBC Zope DA could not find license module > > In the zeo version of buildout there is no ${instance:location} value as > recommended in your documentation for the > > "output = ${instance:location}/lib/python/mxodbc_zopeda_license.py" > > line in the [egenix-mxodbc-zopeda-license] section. I tried using the > ${buildout:directory} value instead, and this doesn't seem to work. I > tried hard-coding the absolute path, and that didn't work. I noted that > the products/lib/python directories were owned by root:root, and I > chmoded them to plone:root, and that didn't work. Where exactly is the > program looking? In a ZEO setup, each client will have to get a license, so you need multiple [egenix-mxodbc-zopeda-license] sections, one for each client. Here's an example buildout.cfg file for a ZEO cluster with two clients client1 and client2: """ [buildout] ... eggs = ... egenix-mxodbc-zopeda ThreadLock Products.ZSQLMethods parts = ... egenix-mxodbc-zopeda-license-client1 egenix-mxodbc-zopeda-license-client2 find-links = http://downloads.egenix.com/python/index/ucs2/ ### Install the Zope instance licenses for egenix-mxodbc-zopeda [egenix-mxodbc-zopeda-license-client1] recipe = collective.recipe.template input = /path-to-license-dir-for-client-1/mxodbc_zopeda_license.py output = ${client1:location}/lib/python/mxodbc_zopeda_license.py [egenix-mxodbc-zopeda-license-client2] recipe = collective.recipe.template input = /path-to-license-dir-for-client-2/mxodbc_zopeda_license.py output = ${client2:location}/lib/python/mxodbc_zopeda_license.py [versions] ... egenix-mxodbc-zopeda = 2.0.1 ThreadLock = 2.13.0 Products.ZSQLMethods = 2.13.4 """ Something I forgot earlier on: Please also make sure you pin down the egenix-mxodbc-zopeda version in [versions]. I've added the needed line to the above example. With this setup, mxODBC Zope DA 2.0.1 will also run in Plone 4.1 using the default Python version that comes with Plone (Python 2.6.6+ UCS2). Regards, -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Aug 31 2011) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ 2011-10-04: PyCon DE 2011, Leipzig, Germany 34 days to go ::: Try our new mxODBC.Connect Python Database Interface for free ! :::: eGenix.com Software, Skills and Services GmbH Pastor-Loeh-Str.48 D-40764 Langenfeld, Germany. CEO Dipl.-Math. Marc-Andre Lemburg Registered at Amtsgericht Duesseldorf: HRB 46611 http://www.egenix.com/company/contact/