From info at egenix.com Wed Oct 1 20:49:41 2008 From: info at egenix.com (eGenix Team: M.-A. Lemburg) Date: Wed Oct 1 19:50:59 2008 Subject: [egenix-users] ANN: eGenix mxODBC Connect Database Interface for Python 0.9.2 (beta) Message-ID: <48E3B835.7070404@egenix.com> ________________________________________________________________________ ANNOUNCING eGenix.com mxODBC Connect Database Interface for Python Version 0.9.2 (beta) Our new client-server product for connecting Python applications to relational databases - from all major platforms This announcement is also available on our web-site for online reading: http://www.egenix.com/company/news/eGenix-mxODBC-Connect-0.9.2-beta.html ________________________________________________________________________ INTRODUCTION The mxODBC Connect Database Interface for Python allows users to easily connect Python applications to all major databases on the market today in a highly portable and convenient way. Unlike our mxODBC Python extension, mxODBC Connect is designed as client-server application, so you no longer need to find production quality ODBC drivers for all the platforms you target with your Python application. Instead you use an easy to install Python client library which connects directly to the mxODBC Connect database server over the network. This makes mxODBC Connect the ideal basis for writing cross-platform database programs and utilities in Python, especially if you run applications that need to communicate with databases such as MS SQL Server, Oracle or DB2 that run on Windows or Linux machines. By removing the need to install and configure ODBC drivers on the client side, mxODBC Connect greatly simplifies setup and configuration of database driven client applications, while at the same time making the network communication between client and database server more efficient and more secure. For more information, please have a look at the product page: http://www.egenix.com/products/python/mxODBCConnect/ * About Python: Python is an object-oriented Open Source programming language which runs on all modern platforms (http://www.python.org/). By integrating ease-of-use, clarity in coding, enterprise application connectivity and rapid application design, Python establishes an ideal programming platform for todays IT challenges. * About eGenix: eGenix is a consulting and software product company focused on providing professional quality services and products to Python users and developers (http://www.egenix.com/). ________________________________________________________________________ NEWS mxODBC Connect 0.9.2 is our second public beta release of the new mxODBC Connect product. It comes with improved documentation, enhanced SQL Server support on Linux and now runs on Python 2.6 as well (in addition to Python 2.3, 2.4 and 2.5). *SPECIAL OFFER* If you would like to participate in the beta as tester, please see our beta program page: http://www.egenix.com/products/python/mxODBCConnect/beta.html In order to make participation in the beta program more interesting for our users, we will be giving out *free discount coupons* to all participants who report back bugs in the product. ________________________________________________________________________ DOWNLOADS The download archives as well as instructions for installation and configuration of the product can be found on the product page: http://www.egenix.com/products/python/mxODBCConnect/ _______________________________________________________________________ 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, Oct 01 2008) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ :::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,MacOSX 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 From info at egenix.com Wed Oct 15 18:41:57 2008 From: info at egenix.com (eGenix Team: M.-A. Lemburg) Date: Wed Oct 15 17:43:21 2008 Subject: [egenix-users] ANN: eGenix mxODBC - ODBC Database Interface for Python 3.0.2 Message-ID: <48F60F45.9050500@egenix.com> ________________________________________________________________________ ANNOUNCING eGenix.com mxODBC - ODBC Database Interface for Python Version 3.0.2 mxODBC is our commercially supported Python extension providing ODBC database connectivity to Python applications on Windows and Unix platforms This announcement is also available on our web-site for online reading: http://www.egenix.com/company/news/eGenix-mxODBC-3.0.2-GA.html ________________________________________________________________________ INTRODUCTION mxODBC provides an easy-to-use, high-performance, reliable and robust Python interface to ODBC compatible databases such as MS SQL Server, MS Access, Oracle Database, IBM DB2 and Informix , Sybase ASE and Sybase Anywhere, MySQL, PostgreSQL, SAP MaxDB and many more. The "eGenix mxODBC - ODBC Database Interface for Python" product is a commercial extension to our open-source eGenix mx Base Distribution. * About Python: Python is an object-oriented Open Source programming language which runs on all modern platforms (http://www.python.org/). By integrating ease-of-use, clarity in coding, enterprise application connectivity and rapid application design, Python establishes an ideal programming platform for todays IT challenges. * About eGenix: eGenix is a consulting and software product company focused on providing professional quality services and products to Python users and developers (http://www.egenix.com/). ________________________________________________________________________ NEWS mxODBC 3.0.2 is a patch-level release and includes the following updates: * Python 2.6 support mxODBC 3.0.2 is now available for Python 2.6, compiled with the same MS VS 2008 edition used by the Python developers to build Python 2.6 binaries for enhanced compatibility. * Enhanced support for using TEXT and VARCHAR columns with binary data ODBC drivers which need the Python type binding, like e.g. the FreeTDS ODBC driver, will now be able to pass binary data to text columns in most cases. * Updated work-arounds for various ODBC drivers eGenix always aims to make using mxODBC as easy and robust as possible. For this reason, we regularly add or update work-arounds for problems found in recent ODBC driver versions. This release includes updated or new work-arounds for the MySQL ODBC driver, the Informix ODBC driver and the SQL Server 2005 ODBC driver. * Enhanced Python datetime module support mxODBC 3.0 already supports the datetime module found in Python 2.4 and later. With this release, we have additionally added support for the datetime module found in Python 2.3. For the full set of changes please check the mxODBC change log: http://www.egenix.com/products/python/mxODBC/changelog.html ________________________________________________________________________ DOWNLOADS The download archives and instructions for installing the package can be found at: http://www.egenix.com/products/python/mxODBC/ In order to use the eGenix mxODBC package you will first need to install the eGenix mx Base package: http://www.egenix.com/products/python/mxBase/ ________________________________________________________________________ UPGRADING You are encouraged to upgrade to this latest mxODBC release, especially if you are using MS SQL Server or Informix as database server. Customers who have purchased mxODBC 3.0 licenses can download and install this patch-level release on top of their existing installations. The licenses will continue to work with version 3.0.2. Users of mxODBC 2.0 will have to purchase new licenses from our online shop in order to upgrade to mxODBC 3.0.2. You can request 30-day evaluation licenses by visiting our web-site at http://www.egenix.com/products/python/mxODBC/#Evaluation or writing to sales@egenix.com, stating your name (or the name of the company) and the number of eval licenses that you need. _______________________________________________________________________ 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, Oct 15 2008) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ :::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,MacOSX 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 From info at egenix.com Wed Oct 15 18:41:09 2008 From: info at egenix.com (eGenix Team: M.-A. Lemburg) Date: Wed Oct 15 17:43:28 2008 Subject: [egenix-users] ANN: eGenix mx Base Distribution 3.1.1 for Python 2.6 Message-ID: <48F60F15.2060505@egenix.com> ________________________________________________________________________ ANNOUNCING eGenix.com mx Base Distribution Version 3.1.1 for Python 2.6 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.1.1-for-Python-2.6.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 - 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. * About Python: Python is an object-oriented Open Source programming language which runs on all modern platforms (http://www.python.org/). By integrating ease-of-use, clarity in coding, enterprise application connectivity and rapid application design, Python establishes an ideal programming platform for todays IT challenges. * About eGenix: eGenix is a consulting and software product company focused on providing professional quality services and products to Python users and developers (http://www.egenix.com/). ________________________________________________________________________ NEWS The 3.1.1 release of the eGenix mx Base Distribution is the latest release of our open-source Python extensions. Now that Python 2.6 has been released by the Python Software Foundation, we have added pre-built binaries for all supported platforms, currently: Windows 32-bit, Linux 32-bit, Linux 64-bit, FreeBSD 32-bit, FreeBSD 64-bit. 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 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 a CNRI Python License style Open Source license. You can use the package 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, Oct 15 2008) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ :::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,MacOSX 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 From icarr at compx.com Tue Oct 21 11:53:53 2008 From: icarr at compx.com (Israel Carr) Date: Tue Oct 21 16:56:03 2008 Subject: [egenix-users] re: Plone 3.1, Buildout, and MX ODBC Zope DA Message-ID: > Cliff > > If you are using the collective.recipe from svn you are going to drive > yourself nuts... It took me 2 weeks to figure out that that recipe is > just for the python mx product. We need Zope version. > > here's what i did and it is working great. not sure where you are at: > > make sure that you have Unix ODBC installed and functioning. > > download the MX ODBC Zope DA product from engenix. Make sure you use > the correct version UC 2 or 4. > > license file has to be placed within /opt/Plone-3.1/zeocluster/ as > mxodbc-licenses.zip > > Unzip it in any directory. move the mx folder to your src directory > under /opt/Plone-3.1/zeocluster/src > > Under Zopey I added the following. (Zopey = zope instance's python > interpreter located at /opt/Plone-3.1/Python-2.4/bin/python) > > extra-paths = ${zope2:location}/lib/python > src/mx > > This way python can find the mx parts to function. > > > Now move mxODBCZopeDA folder to the products folder. > > > > Make sure permissions on all files are the same as you plone user > (guessing chown -R plone:plone *) > > restart zeo/zope etc and check you products setup in the control panel > looking for mxODBCZopeDA & mx (not sure if that shows up) or look at > the page of your database connection in the zmi. > > hope that helps.. > > Regards > > Eric Tyrer When following the above advice I am unable to get my instance to start. When trying to start the instance I get: "ImportError: cannot import name TextTools" >From zopepy I can see that mx is being imported from: /usr/lib/python2.4/site-packages/mx Instead of the src/mx folder in my buildout. Any ideas? Here is my [zopepy] section from buildout.cfg: [zopepy] recipe = zc.recipe.egg eggs = ${instance:eggs} interpreter = zopepy extra-paths = ${zope2:location}/lib/python ${buildout:directory}/src/mx src/mx scripts = zopepy Is there a better way to get mxODBCZopeDA working with buildout? Is there more information I should include to make this easier to troubleshoot? Thanks for any advice. Israel From mal at egenix.com Fri Oct 24 12:13:08 2008 From: mal at egenix.com (M.-A. Lemburg) Date: Fri Oct 24 11:13:14 2008 Subject: [egenix-users] re: Plone 3.1, Buildout, and MX ODBC Zope DA In-Reply-To: References: Message-ID: <490191A4.8050901@egenix.com> On 2008-10-21 16:53, Israel Carr wrote: >> Cliff >> >> If you are using the collective.recipe from svn you are going to drive > >> yourself nuts... It took me 2 weeks to figure out that that recipe is > >> just for the python mx product. We need Zope version. >> >> here's what i did and it is working great. not sure where you are at: >> >> make sure that you have Unix ODBC installed and functioning. >> >> download the MX ODBC Zope DA product from engenix. Make sure you use >> the correct version UC 2 or 4. >> >> license file has to be placed within /opt/Plone-3.1/zeocluster/ as >> mxodbc-licenses.zip >> >> Unzip it in any directory. move the mx folder to your src directory >> under /opt/Plone-3.1/zeocluster/src >> >> Under Zopey I added the following. (Zopey = zope instance's python >> interpreter located at /opt/Plone-3.1/Python-2.4/bin/python) >> >> extra-paths = ${zope2:location}/lib/python >> src/mx >> >> This way python can find the mx parts to function. >> Now move mxODBCZopeDA folder to the products folder. >> Make sure permissions on all files are the same as you plone user >> (guessing chown -R plone:plone *) >> >> restart zeo/zope etc and check you products setup in the control panel > >> looking for mxODBCZopeDA & mx (not sure if that shows up) or look at >> the page of your database connection in the zmi. >> >> hope that helps.. >> >> Regards >> >> Eric Tyrer > > When following the above advice I am unable to get my instance to start. > When trying to start the instance I get: > "ImportError: cannot import name TextTools" >>From zopepy I can see that mx is being imported from: > /usr/lib/python2.4/site-packages/mx > Instead of the src/mx folder in my buildout. Any ideas? > > Here is my [zopepy] section from buildout.cfg: > [zopepy] > recipe = zc.recipe.egg > eggs = ${instance:eggs} > interpreter = zopepy > extra-paths = > ${zope2:location}/lib/python > ${buildout:directory}/src/mx > src/mx What's in those src/mx folders ? Note that you should not put the mx package itself on sys.path, but instead its parent path. > scripts = zopepy > > Is there a better way to get mxODBCZopeDA working with buildout? > Is there more information I should include to make this easier to > troubleshoot? You could start python using the -vv flag. It will then print all the locations it search for modules and packages. -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Oct 24 2008) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ :::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,MacOSX 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