RE: Using mxODBC Zope DA 2.0 with Plone 4.1 (was: No module named threadlock?)

"Cliff Quinn" <[email protected]> Mon, 5 Sep 2011 15:24:25 -0700
Newsgroups gmane.comp.python.egenix.user
Message-ID <[email protected]>
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
> 


_______________________________________________________________________
eGenix.com User Mailing List                     http://www.egenix.com/
https://www.egenix.com/mailman/listinfo/egenix-users