Re: [Zope] Installation trouble

2007-07-31 Thread Sudesh soni
Zope 3.3 requires Python 2.4.1 to run, Python 2.4.4 is recommended. It does NOT 
work with Python 2.5 yet

--Suson
  - Original Message - 


  From: Aaron Korostyshevsky 
  To: Sudesh soni 
  Cc: zope@zope.org ; [EMAIL PROTECTED] 
  Sent: Tuesday, July 31, 2007 1:15 PM
  Subject: Re: [Zope] Installation trouble



  3.3.1 

  Aaron 



Sudesh soni [EMAIL PROTECTED] 
Sent by: [EMAIL PROTECTED] 
07/31/2007 11:13 AM 
   To zope@zope.org, Aaron Korostyshevsky [EMAIL PROTECTED]  
  cc  
  Subject Re: [Zope] Installation trouble 

  

   



  Which version of zope you are installing. 

  --Suson 
  - Original Message - 
  From: Aaron Korostyshevsky 
  To: zope@zope.org 
  Sent: Tuesday, July 31, 2007 1:07 PM 
  Subject: [Zope] Installation trouble 


  Dear Zope users: 

  I am trying to install Zope on my PC and the installation tells me that I 
need to have Python 2.4 installed.  I have just installed Python 2.5.1 and I 
still get the same message.  Do I need to downgrade Python or is there another 
problem? 

  Aaron 


--

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


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


Re: [Zope] Conflict error

2007-07-30 Thread Sudesh soni

I have connect on demand property set for DA connection

Is that an issue?

Regards
Suson
- Original Message - 
From: Chris Withers [EMAIL PROTECTED]

To: Sudesh soni [EMAIL PROTECTED]
Cc: zope@zope.org
Sent: Monday, July 30, 2007 3:42 AM
Subject: Re: [Zope] Conflict error



Sudesh soni wrote:

BlankIs the below error in Zope is due to adapter performance issue?


I doubt it.


Error Type: ConflictError
Error Value: database conflict error (oid 0x0ac7, class 
Products.mxODBCZopeDA.ZopeDA.ZopeConnection, serial this txn started with 
0x036f49361ca9d8ee 2007-07-28 06:46:06.718000, serial currently committed 
0x036f49363565b7aa 2007-07-28 06:46:12.515000)


This is a pretty weird place for a conflict error. Are you doing something 
weird where you're creating lots of Zope DA objects?!


cheers,

Chris

--
Simplistix - Content Management, Zope  Python Consulting
   - http://www.simplistix.co.uk 


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

http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] ZOPE and ZEO

2007-07-30 Thread Sudesh soni

Yes, I used Apache rewrite rules now and it worked .

I used Zope mirrot to load balance as I have two zope servers coupled to 
ZEO. All the clients know primary URL, so whenever clients access that URI , 
they will be redirected randomly to second zope server  which is running on 
different URI [subdomain]  OR will be served by the primary Zope server .


Regards
Suson


- Original Message - 
From: Chris Withers [EMAIL PROTECTED]

To: Sudesh soni [EMAIL PROTECTED]
Cc: zope@zope.org
Sent: Monday, July 30, 2007 3:41 AM
Subject: Re: [Zope] ZOPE and ZEO



Sudesh soni wrote:
BlankIf two diiferent Zope clients are sharing a ZEO storage, then how to 
adjust  siteroot to serve the request coming to individual Zope clients.


Why would you want to do that?

I am asking because when two Zope servers are up with different 
URI/subdomain and when I open the ZMI of other Zope client, its siteroot 
is still pointing to the first Zope client URI.


If you want to do this, and I don't think you do, then you'd use Apache 
rewrite rules to specify different information to the VHM.


I have used mirroring on primary zope client to redirect the request to 
primary URI to secondary Zope URI .


I still have no idea what you're trying to achieve here...

Chris

--
Simplistix - Content Management, Zope  Python Consulting
   - http://www.simplistix.co.uk 


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

http://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] Conflict error

2007-07-28 Thread Sudesh soni
BlankIs the below error in Zope is due to adapter performance issue?

Error Type: ConflictError
Error Value: database conflict error (oid 0x0ac7, class 
Products.mxODBCZopeDA.ZopeDA.ZopeConnection, serial this txn started with 
0x036f49361ca9d8ee 2007-07-28 06:46:06.718000, serial currently committed 
0x036f49363565b7aa 2007-07-28 06:46:12.515000)

Regards

Suson
Blank Bkgrd.gif___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


[Zope-DB] ZOPE and ZEO

2007-07-27 Thread Sudesh soni
BlankIf two diiferent Zope clients are sharing a ZEO storage, then how to 
adjust  siteroot to serve the request coming to individual Zope clients.
I am asking because when two Zope servers are up with different URI/subdomain 
and when I open the ZMI of other Zope client, its siteroot is still pointing to 
the first Zope client URI.  

Should I empty the Siteroot value ? Or suggest?

I have used mirroring on primary zope client to redirect the request to primary 
URI to secondary Zope URI .

Regards
SuSon

Blank Bkgrd.gif___
Zope-DB mailing list
Zope-DB@zope.org
http://mail.zope.org/mailman/listinfo/zope-db


[Zope] Pickle error and Zeo setup

2007-07-24 Thread Sudesh soni
BlankHi,

I am trying to update the 'SiteRootBase' in the secure.xml file and do import 
in zope , but I get error as shown in the screenshot.

I did same with secure.zexp and another error : cannot convert long int , i 
face when i import that file.

Why zope2.8.5 does not allow importing secure file after update.

I need to change /set the 'SiteRootBase' , is there any other way to achieve 
that?



Secondly I am setting up a ZEO server and I move the data.fs to ZEO storage 
location.

Q1. The data.fs I moved has SiteRootBase set to one of the zeo client URL.  I 
have another zeoclient which runs on a different URL/subdomain.
  As a result I see the same secure on another zeoclient ZMI, but as the 
SiteRootBase is set to the primary zeo client, Will this affect the request 
that will be diverted to the second zeo client ?

Q2. What settings I need to do to set up 2 zeo clients as I have one ZEO server 
running so that requests are properly served.  I am using mirroring feature 
from primary zeo client to divert request to another zeo client randomly.

Any help is appreciated in advance.

Regards
SuSon

Blank Bkgrd.gifattachment: zope error.GIF___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] Site Error page

2007-07-22 Thread Sudesh soni
BlankIs there any way to update the Zope's error page that appears during any 
Site error with a different content?
Any help is appreciated in advance.

SuSon 

Blank Bkgrd.gif___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Site Error page

2007-07-22 Thread Sudesh soni

Thanks Maciej  for immediate response.

Regards
SuSon
- Original Message - 
From: Maciej Wisniowski [EMAIL PROTECTED]

To: Sudesh soni [EMAIL PROTECTED]
Cc: zope@zope.org
Sent: Sunday, July 22, 2007 4:39 PM
Subject: Re: [Zope] Site Error page


BlankIs there any way to update the Zope's error page that appears during 
any Site error with a different content?

Any help is appreciated in advance.

Change standard_error_message object (located at root folder - visible
via ZMI)

--
Maciej Wisniowski 


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

http://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] database conflict error

2007-07-13 Thread Sudesh soni
BlankHi,

I am recieving following errors frequently as shown below:

#1-

Site Error
An error was encountered while publishing this resource. 

Error Type: ConflictError
Error Value: database conflict error (oid 0x09, class 
Products.Transience.Transience.Increaser, serial this txn started with 
0x036ee0b224215066 2007-07-09 

16:50:08.468000, serial currently committed 0x036ee0b39eee 2007-07-09 
16:51:37.25)

#2

database conflict error (oid 0x7b61, class BTrees._OOBTree.OOBTree, serial this 
txn started with 0x036ee63aae219655 2007-07-10 16:26:40.812000, serial 

currently committed 0x036ee63b55aa87bb 2007-07-10 16:27:20.078000)



Could anyone help me out in fixing this. I am using Zope 2.8.5 in windows 2003. 
Recently we have moved the data.fs from Zope2.6.1 into this new version 
Zope2.8.5.

I appreciate any help in advance.



Regards

Sudesh
Blank Bkgrd.gif___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] How to set MIME types in zope

2006-12-27 Thread Sudesh soni
Forgive my ignorance, I have a question.

If I set the 'security' setting  in internet options :

'Open files based on content not file extension'   to Disable  

and the try to access a page rendered by python script then I get the following 
javascript error on the page:

This content might not be displayed properly.The file was restricted because 
the content does'nt match its security information

But if I enable the settings in Internet Options--Security, ie  'Open files 
based on content not file extension'  then the above error does not occur  

There seems a conflict between the extension type set by Zope and the MIME in 
Internet Explorer as it is seeing it has a script.

How can I resolve the error , keeping the property  'Open files based on 
content not file extension'   to Disable  ?

Do I have to set the MIME types in every file or it could be set at a single 
location in some zope configuration file?

Any help would be appreciated.

Thanks
Sudesh



- Original Message - 
From: Dieter Maurer [EMAIL PROTECTED]
To: Garito [EMAIL PROTECTED]
Cc: Lista Zope Internacional zope@zope.org
Sent: Friday, October 20, 2006 12:10 PM
Subject: Re: [Zope] How to do...


 Garito wrote at 2006-10-20 14:20 +0200:
Dieter Maurer escribió:
 You remember I have warned you: __getattr__ is difficult and error prone!

Even me, I have spend hours to understand why I get occasional
__getattr__ infinite loops...
And I know, in principle, all the potential caveats...

   
Can you point me to some example/product to try to avoid this kind of 
errors?
 
 It is quite difficult to learn all kinds of problems from an example.
 
 I think I already have publicly described my __getattr__ problems.
 Thus, you can search the mailing list archive...
 
 An example product where __getattr__ is used is BTreeFolder2.
 
 
 -- 
 Dieter
 ___
 Zope maillist  -  Zope@zope.org
 http://mail.zope.org/mailman/listinfo/zope
 **   No cross posts or HTML encoding!  **
 (Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] How can i improve performance of website under heavy load in Zope2.6.1

2006-07-31 Thread Sudesh Soni



Hi,

I am using Zope 2.6.1

I wonder why Zope is default set for handling 4 
threads and 7 database connections.

I tried inreasing threads to 20 and database 
connections to 30 by updating z2.py and DB.py, presuming that this will help to 
improve performance under heavy load.

Can anyone suggest what impact will be there if i 
do this , in Zope 2.6.1 

OR

Can anyone suggest any other option to improve 
performance under heavy load in Zope 2.6.1

Any help will be appreciated.

Suson


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


[Zope-DB] Operation Error : Using Zope2.6.1 and mxODBCZopeDA

2006-06-21 Thread Sudesh Soni



I get the below error :


OperationalError on Products.mxODBCZopeDA.ZopeDA.DatabaseConnection "DSN=Zope" thread 2476/2476 at 0x27150c4: ('08S01', 11, '[Microsoft][ODBC SQL Server Driver][DBNETLIB]General network error. Check your network documentation.', 6108)
for the first time i open a web page .This error vanishes when i reload the page.Does it have anythng to do with 'ON Demand' feature of mxODBCZope DA ar any other reason for read error from Database.Can anyone help me out?RegardsSudesh
___
Zope-DB mailing list
Zope-DB@zope.org
http://mail.zope.org/mailman/listinfo/zope-db