[Zope] Openflow_ZPygresqlDA_products_broken_on_ZMI

2010-12-16 Thread Smita Kamdar
Hi,

 

I am sorry to start new threads for just a single issue. Now I will stick to 
only this thread (with subject: Openflow_ZPygresqlDA_products_broken_on_ZMI) for

my issue.  

 

Thanks all for your suggestions.

I have already started installing new products (of the same version as on live) 
from scratch (as suggested by lennart) on development env. I have already 
finished installing Zope-2.6.2, python-2.1.3, Openflow-engine-1.1.0, 
postgresql-7.4.13. Now I am in the process of installing ZPygresqlDA-0.0.3 & 
for its installation I followed the below steps - 

 

1)  I downloaded & untared ZPygresqlDA-0.0.3 in zope's Products dir i.e. 
(lib/python/Products) 

2)  I added the below line to Setup file in ZPygresqlDA/src directory -

 

-
 

 

  *shared*

 _pg pgmodule.c -I/home/test/Python/2.1.3/lib/python2.1 
-I/usr/local/pgsql/include -I/usr/local/pgsql/include/server 
-L/usr/local/pgsql/lib -lpq -lcrypt

 

 
--

 

   Where python is installed at /home/test/Python/2.1.3

  Postgresql is installed at /usr/local/pgsql

  Zope is installed at /opt/zope

 

3)  I copied pg.py to /home/test/Python/2.1.3/lib/python2.1

4)  make -f Makefile.pre.in boot 

5)  make & make install

 

 Upto 4th step it worked fine. But in the 5th step (i.e. make & make install) 
it shows the below error -

 

---

 gcc -fPIC -g -O2 -Wall -Wstrict-prototypes 
-I/home/test/Python/2.1.3/include/python2.1 
-I/home/test/Python/2.1.3/include/python2.1 -DHAVE_CONFIG_H  
-I/home/test/Python/2.1.3/lib/python2.1 -I/usr/local/pgsql/include 
-I/usr/local/pgsql/include/server -c ././pgmodule.c -o ./pgmodule.o

././pgmodule.c: In function âpgconnectâ:

././pgmodule.c:694: warning: passing argument 4 of 
âPyArg_ParseTupleAndKeywordsâ from incompatible pointer type

/home/test/Python/2.1.3/include/python2.1/modsupport.h:14: note: expected âchar 
**â but argument is of type âconst char **â

././pgmodule.c:2128:5: warning: missing terminating " character

././pgmodule.c: In function âpgsetdefpasswdâ:

././pgmodule.c:2128: error: missing terminating " character

././pgmodule.c:2129: error: âNoneâ undeclared (first use in this function)

././pgmodule.c:2129: error: (Each undeclared identifier is reported only once

././pgmodule.c:2129: error: for each function it appears in.)

././pgmodule.c:2129:7: warning: missing terminating " character

././pgmodule.c:2129: error: missing terminating " character

././pgmodule.c:2130: error: expected identifier before âreturnâ

make: *** [pgmodule.o] Error 1

  
--

 

I am not able to solve this. Am I missing any step?? Please help. 

 

Thanks & Regards,

Smita Kamdar 

 

 

 


Disclaimer:
  This message and the information contained herein is proprietary and 
confidential and subject to the Tech Mahindra policy statement, you may review 
the policy at http://www.techmahindra.com/Disclaimer.html";>http://www.techmahindra.com/Disclaimer.html
 externally and http://tim.techmahindra.com/Disclaimer.html";>http://tim.techmahindra.com/Disclaimer.html
 internally within Tech 
Mahindra.
___
Zope maillist  -  Zope@zope.org
https://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Openflow_ZPygresqlDA_products_broken_on_ZMI

2010-12-15 Thread Lennart Regebro
On Tue, Dec 14, 2010 at 14:32, Smita Kamdar  wrote:
>
> Hi,
>
> As suggested by you I have downloaded all the zope products of the same 
> version as they are on live to remove the mismatch of versions. But before I 
> install those products on dev environment, I will have to uninstall all the 
> products that I had installed earlier (i.e. on dev env). Earlier, I had 
> installed all the products from the source tar balls. So can u please suggest 
> how do I uninstall these products on dev env?

I'd recommend you that you make an exact replica of the production
environment, from scratch. Anything else will just give you error you
do not have in production, or hide errors you *do* have in production.

//Lennart
___
Zope maillist  -  Zope@zope.org
https://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Openflow_ZPygresqlDA_products_broken_on_ZMI

2010-12-14 Thread Andreas Jung
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Could you *please* stop with starting a new thread for the same topic?
Your Openflow problem already has *five* different threads on this list.

This is kind of annoying.

Andreas


Smita Kamdar wrote:
> Hi,
> 
>  
> 
> As suggested by you I have downloaded all the zope products of the same
> version as they are on live to remove the mismatch of versions. But
> before I install those products on dev environment, I will have to
> uninstall all the products that I had installed earlier (i.e. on dev
> env). Earlier, I had installed all the products from the source tar
> balls. So can u please suggest how do I uninstall these products on dev
> env?  
> 
>  
> 
> **Thanks & Regards,**
> 
> **Smita Kamdar | NGN-SOLNS | TechMahindra**
> 
>  
> 
> **Oberoi Estate Gardens, Chandivali, Andheri(E) Mumbai-72***
> **Office: +91 22 66882000 | Extn: 6185 ***
> 
> **Email:smita.kam...@techmahindra.com
> **
> 
>  
> 
> /"A professional is someone who can do his best work when he doesn’t
> feel like it."/
> 
> *Go green: Don’t hit PRINT***
> 
>  
> 
>  
> 
>  
> 
> Disclaimer:
>   This message and the information contained herein is proprietary and 
> confidential and subject to the Tech Mahindra policy statement, you may 
> review the policy at http://www.techmahindra.com/Disclaimer.html externally 
> and http://tim.techmahindra.com/Disclaimer.html internally within Tech 
> Mahindra.
> 
> ___
> Zope maillist  -  Zope@zope.org
> https://mail.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists - 
>  https://mail.zope.org/mailman/listinfo/zope-announce
>  https://mail.zope.org/mailman/listinfo/zope-dev )


- -- 
ZOPYX Limited   | zopyx group
Charlottenstr. 37/1 | The full-service network for Zope & Plone
D-72070 Tübingen| Produce & Publish
www.zopyx.com   | www.produce-and-publish.com
- 
E-Publishing, Python, Zope & Plone development, Consulting


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQGUBAEBAgAGBQJNB3cDAAoJEADcfz7u4AZjKmQLvRMo4QxwgxgwyhB0zmDhDYvQ
e5lS4nfwljTsKKYh84LSMi+9t6l2Kac4dyhlKNNFNSof2yxJAXjeFtz/eeE56Zpn
wX+qIVWxU91poT6EjamYRy1BW07Rtmg2IighlYVCuFwxyTESCx2L7+e/aEaNyQqa
YVbNS5fvMKoAjIGESVltHO02ajDYauapNAOdrUdxn/NDLIw6DuKAde5G2ndhn9Er
2jIbM1Z0Qq3kEd+t4lnTgqYSQgvr3p/5HAwP3pXmRpVQjJmF7qjioumjzkfzpdYr
YlMHT/3lbh8HnuFRW3ZwUF6BK2jJjgldOn9UsyuyOvW0G0goGImHUTixmNZk1wL7
cBVtr/fEjiw1zi44iAt3r2OaSY/D2PcLV59cRB53+9xh4A9OeaxcgRutQjBJnvn+
GHX064LC8QR9zUmmF7u3giM/ZAn2hz7OhCvrUfLfckZZrHagHoXxSqCiStGb78ny
oMa+wYxGjrmzFAenFyWUEPrvREoubKA=
=pp46
-END PGP SIGNATURE-
<>___
Zope maillist  -  Zope@zope.org
https://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] Openflow_ZPygresqlDA_products_broken_on_ZMI

2010-12-14 Thread Smita Kamdar
Hi,

 

As suggested by you I have downloaded all the zope products of the same
version as they are on live to remove the mismatch of versions. But
before I install those products on dev environment, I will have to
uninstall all the products that I had installed earlier (i.e. on dev
env). Earlier, I had installed all the products from the source tar
balls. So can u please suggest how do I uninstall these products on dev
env?  

 

Thanks & Regards,

Smita Kamdar | NGN-SOLNS | TechMahindra

 

Oberoi Estate Gardens, Chandivali, Andheri(E) Mumbai-72
Office: +91 22 66882000 | Extn: 6185 

Email: smita.kam...@techmahindra.com

 

"A professional is someone who can do his best work when he doesn't feel
like it."

Go green: Don't hit PRINT

 

 

 


Disclaimer:
  This message and the information contained herein is proprietary and 
confidential and subject to the Tech Mahindra policy statement, you may review 
the policy at http://www.techmahindra.com/Disclaimer.html";>http://www.techmahindra.com/Disclaimer.html
 externally and http://tim.techmahindra.com/Disclaimer.html";>http://tim.techmahindra.com/Disclaimer.html
 internally within Tech 
Mahindra.
___
Zope maillist  -  Zope@zope.org
https://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Openflow_ZPygresqlDA_products_broken_on_ZMI

2010-12-08 Thread Philip Kilner
Hi Smita,

On 08/12/2010 14:32, Smita Kamdar wrote:
> Can I install ZPygresqlDA without uninstalling ZPsycopgDA on the same
> m/c? Will it work properly? If it works properly I will install
> ZPygresqlDA-0.0.3 on dev Linux box & again import my source code & check
> whether it still appears broken?
>

I'm not aware of a reason that ZPygresqlDA and ZPsycopgDA should not 
co-exist, but I really don't know anything about ZPygresqlDA.

Having an extra product in your target environment should not cause 
problems when importing, but having products missing or at mismatched 
versions is very likely to cause problems importing.

> Please help me so that I can progress accordingly. If this doesn’t work
> I will install all the products on dev with the same version as the
> products on live as suggested by you.
>

This is the most sensible thing to do.

It would help us to help you if you could explain why you are reluctant 
to do this in the first place.


-- 

Regards,

PhilK


'work as if you lived in the early days of a better nation'
- alasdair gray
___
Zope maillist  -  Zope@zope.org
https://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] Openflow_ZPygresqlDA_products_broken_on_ZMI

2010-12-08 Thread Smita Kamdar
Hi,

 

Can I install ZPygresqlDA without uninstalling ZPsycopgDA on the same
m/c? Will it work properly? If it works properly I will install
ZPygresqlDA-0.0.3 on dev Linux box & again import my source code & check
whether it still appears broken? 

 

Please help me so that I can progress accordingly. If this doesn't work
I will install all the products on dev with the same version as the
products on live as suggested by you. 

 

Thanks a Lot in Advance!

 

Regards,

Smita Kamdar 

 

 

 


Disclaimer:
  This message and the information contained herein is proprietary and 
confidential and subject to the Tech Mahindra policy statement, you may review 
the policy at http://www.techmahindra.com/Disclaimer.html";>http://www.techmahindra.com/Disclaimer.html
 externally and http://tim.techmahindra.com/Disclaimer.html";>http://tim.techmahindra.com/Disclaimer.html
 internally within Tech 
Mahindra.
___
Zope maillist  -  Zope@zope.org
https://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope-dev )