From cliffq at islandwood.org Mon Sep 5 16:24:25 2011 From: cliffq at islandwood.org (Cliff Quinn) Date: Tue Sep 6 00:27:22 2011 Subject: [egenix-users] Using mxODBC Zope DA 2.0 with Plone 4.1 (was: No module named threadlock?) In-Reply-To: <4E5E295F.3080300@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> <7CD69867FCBA0F4694B0C053BF09331303A42AE5@POSTINO.pselc.internal> <4E5E295F.3080300@egenix.com> Message-ID: <7CD69867FCBA0F4694B0C053BF09331303A42D00@POSTINO.pselc.internal> Hi Marc-Andre, I've tried a number of different versions of the string to the location of the license file, and can't get anything to work - I'm still getting the error: ImportError: eGenix mxODBC Zope DA could not find license module I tried these strings (I'm only starting one client), and the buildout succeeds in all cases (it fails if I get the input directory wrong): input = ${buildout:directory}/var/client1/9999-9999-9999-9999-9999-9999/license. py input = ${buildout:directory}/var/client1/9999-9999-9999-9999-9999-9999/mxodbc_z opeda_license.py input = /usr/local/Plone/longhouse2/var/client1/9999-9999-9999-9999-9999-9999/mx odbc_zopeda_license.py I'm beginning to think that the license file that's there is not correct. First of all, it's not named "mxodbc_zopeda_license.py" but "license.py". I've tried making a copy of the file(s) with the new name and that doesn't help. The license is from 2008, and says it's for version 2.1. Do I need a new license? Do I have to change something in the contents of the license? I understood it would be good for all versions. Cliff ____________________________________________________ > > ### 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 > From mal at egenix.com Tue Sep 6 01:32:45 2011 From: mal at egenix.com (M.-A. Lemburg) Date: Tue Sep 6 00:32:50 2011 Subject: [egenix-users] Using mxODBC Zope DA 2.0 with Plone 4.1 In-Reply-To: <7CD69867FCBA0F4694B0C053BF09331303A42D00@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> <4E5E295F.3080300@egenix.com> <7CD69867FCBA0F4694B0C053BF09331303A42D00@POSTINO.pselc.internal> Message-ID: <4E654E0D.4090001@egenix.com> Hi Cliff, Cliff Quinn wrote: > Hi Marc-Andre, > > I've tried a number of different versions of the string to the location > of the license file, and can't get anything to work - I'm still getting > the error: > > ImportError: eGenix mxODBC Zope DA could not find license module > > I tried these strings (I'm only starting one client), and the buildout > succeeds in all cases (it fails if I get the input directory wrong): > > input = > ${buildout:directory}/var/client1/9999-9999-9999-9999-9999-9999/license. > py > input = > ${buildout:directory}/var/client1/9999-9999-9999-9999-9999-9999/mxodbc_z > opeda_license.py > input = > /usr/local/Plone/longhouse2/var/client1/9999-9999-9999-9999-9999-9999/mx > odbc_zopeda_license.py > > I'm beginning to think that the license file that's there is not > correct. First of all, it's not named "mxodbc_zopeda_license.py" but > "license.py". I've tried making a copy of the file(s) with the new name > and that doesn't help. > > The license is from 2008, and says it's for version 2.1. Do I need a new > license? Do I have to change something in the contents of the license? I > understood it would be good for all versions. Those license files are for version 1.0 of the Zope DA (including all patch-level releases). The version 2.0 uses the new names mxodbc_zopeda_license.py and allows for a more flexible way of installing the license files. Please get new evaluation licenses for mxODBC Zope DA 2.0 to try the setup: http://www.egenix.com/products/zope/mxODBCZopeDA/#Evaluation Thanks, -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 06 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 28 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/