Hey,
yes i have it installed at
instance/Python-2.4.3/lib/python2.4/site-packages/psycopg2 and i had also
moved the adapter to the
instance/client1/Products folder, but still it is giving me the version
mismatch error. Also i checked the psycopg* in my system but
over there also i can see th
I had the same problem but found that if I just modified the list of
acceptable psycopg versions everything worked fine.
Rowan
Amir wrote:
> Hey,
> yes i have it installed at
> instance/Python-2.4.3/lib/python2.4/site-packages/psycopg2 and i had also
> moved the adapter to the
> instance/
Things that i have noticed
1)running and importing psycopg2
gives this error
Traceback (most recent call last):
File "", line 1, in ?
File "/usr/lib/python2.4/site-packages/psycopg2/__init__.py", line 60, in
?
from _psycopg import BINARY, NUMBER, STRING, DATETIME, ROWID
ImportError: /usr
Ok, look at the error message again. It says
raise ImportError("psycopg version mismatch (imported %s)" %
ImportError: psycopg version mismatch (imported 2.0.11 (dt dec ext pq3))
so the version being reported back is '2.0.11 (dt dec ext pq3)' not '2.0.11'
Rowan
Amir wrote:
> Things that i have
so I was able to fix instance/Python-2.4.3/bin/python errors that I was
getting by editing the psycopg1.py file and changing the following statement
:-
import _psycopg as _2psycopg
to
import _2psycopg
now I am able to import psycopg2 @ zope python level but not yet on zope
because when I add t
looks like DA.py is using psycopg2.__version__ not psycopg2.__version__[:5]
with the index of 5. You might want to check that. Also,
psycopg2.__version__[:5] is 2.0.1 not 2.0.11 and 2.0.1 is not in the list on
my install from today. The index should be 6 not 5 for versions higher than
2.0.
Hi list
I have 2 templates, in second template I need render a only when the
first template have defined a variable.
template1:
template2:
span2
span2
span2
span2
span3
any condition in span not work :(
--
Lo bueno de vi
On Thu, Jun 25, 2009 at 00:17, Miguel Beltran R. wrote:
> Hi list
>
> I have 2 templates, in second template I need render a only when the
> first template have defined a variable.
>
> template1:
>
>
>
>
>
> template2:
>
>
>span2
>span2
>span2
>span2
>span3
>
>