[Zope-dev] passing browser Id value #2

2003-02-17 Thread Mario Bianchi
Hi to all,

this follows my previous having subject "passing browser Id value" to 
further explain what I'm looking for.

I want to embed the browserId value in every link/button/clickable-item of 
the
pages in my site as the very last action before sending the pages back to 
the
client; put another way I want to parse the HTML code of the page that Zope
has built in response to the current HTTP request, embed into the 'href'
and 'form' tags some identifier of mine and send the modified page back to 
the
client.

The point is that the parsing and embedding are to be performed 'on exit' 
-so
to say-, i.e. when Zope has already processed the web request and
built an HTML page to be sent back.

--
To Dieter Maurer:

Hi Dieter,
does your extension to VHM meet these requirements? I'm afraid VHM is 
targeted
to solving the problem of URL rewriting BEFORE letting Zope handle (publish)
it, while I need some sort of parsing/rewriting 'on exit'.

Thanks, cheers,
   Mario.




_
Help STOP SPAM with the new MSN 8 and get 2 months FREE*  
http://join.msn.com/?page=features/junkmail


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


[Zope-dev] ZEO 2 and Zope 2.5.1

2003-02-17 Thread Brian R Brinegar
We've been using ZEO 1 with Zope 2.5.1 but some issues exist with ZEO 1,
so we decided to move to ZEO 2.

Everything is installed installs and starts normally. The server logs show
a connection. However any HTTP requests sent to the ZEO client hang. I did
a bit of poking around and it appears that the load method of
ClientStorage is not called when a request is recieved.

Can anyone point me in the right direction?

Thanks,
-Brian Brinegar
 ECN Web Systems Developer
 Purdue University
 West Lafayette, IN



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



Re: [Zope-dev] ZEO 2 and Zope 2.5.1

2003-02-17 Thread Guido van Rossum
> We've been using ZEO 1 with Zope 2.5.1 but some issues exist with ZEO 1,
> so we decided to move to ZEO 2.

Which version of ZEO 2 exactly?  (It suffices to tell which exact ZODB
3.1.x release you used to get it.)

> Everything is installed installs and starts normally. The server logs show
> a connection. However any HTTP requests sent to the ZEO client hang. I did
> a bit of poking around and it appears that the load method of
> ClientStorage is not called when a request is recieved.
> 
> Can anyone point me in the right direction?

Would it be an option to upgrade to Zope 2.6.1 as well?

If not, what exactly is in the logs?  Note that you need to have the
new ZEO in the Python path both on the client side and on the server
side.

--Guido van Rossum (home page: http://www.python.org/~guido/)



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



Re: [Zope-dev] ZEO 2 and Zope 2.5.1

2003-02-17 Thread Brian R Brinegar

We cannot move to Zope 2.6.1 until we have more time for testing. In the
mean time we would like to have the improvements of ZEO 2. We were running
ZEO 1.0.

We are trying to move to ZEO 2.0.2 out of the ZODB 3.1.1 release using
Zope 2.5.1. The server logs say:

2003-02-17T22:18:54 INFO(0) ZSS:12829 new connection ('192.168.1.102',
38023): 

The client logs say:

--
2003-02-17T22:26:24 INFO(0) ZCS:10901 ClientStorage (pid=10901) created
RW/norma
l for storage: '1'
--
2003-02-17T22:26:24 INFO(0) ZEC:1 ClientCache: storage='1',
size=2; file
[0]=None
--
2003-02-17T22:26:24 BLATHER(-100) zrpc:10901 CM.connect(): starting
ConnectThrea
d
--
2003-02-17T22:26:24 BLATHER(-100) zrpc:10901 CT: attempting to connect on
1 sock
ets
--
2003-02-17T22:26:24 BLATHER(-100) zrpc:10901 CW: attempt to connect to
('192.168
.1.51', 15900)
--
2003-02-17T22:26:24 BLATHER(-100) zrpc:10901 CW:
connect_ex(('192.168.1.51', 159
00)) returned EINPROGRESS
--
2003-02-17T22:26:24 BLATHER(-100) zrpc:10901 CW:
connect_ex(('192.168.1.51', 159
00)) returned 0
--
2003-02-17T22:26:24 TRACE(-300) zrpc:10901 message_output 4 bytes: 'Z200'
--
2003-02-17T22:26:24 INFO(0) ZCS:10901 Testing connection

--
2003-02-17T22:26:24 TRACE(-300) zrpc-conn:192.168.1.51:15900 send msg: 0,
0, reg
ister, ...



2003-02-17T22:26:27 INFO(0) ZServer HTTP server started at Mon Feb 17
17:26:27 2
003
Hostname: minimal
Port: 8080
--
2003-02-17T22:26:27 INFO(0) ZServer HTTP server started at Mon Feb 17
17:26:27 2
003
Hostname: minimal
Port: 8082
--
2003-02-17T22:26:27 INFO(0) ZServer FTP server started at Mon Feb 17
17:26:27 20
03
Hostname: minimal
Port: 8021
--
2003-02-17T22:26:27 INFO(0) ZServer FastCGI Server (V1.0) started at Mon
Feb 17
17:26:27 2003
IP  :
Port: 8081
Socket path : None

--

2003-02-17T22:26:27 DEBUG(-200) zrpc:10901 CM.set_async({11:
, 4: , 19: , 18:
, 17:
, 16: })
--
2003-02-17T22:26:27 BLATHER(-100) zrpc:10901 CM.set_async(): first call


On Mon, 17 Feb 2003, Guido van Rossum wrote:

> > We've been using ZEO 1 with Zope 2.5.1 but some issues exist with ZEO 1,
> > so we decided to move to ZEO 2.
>
> Which version of ZEO 2 exactly?  (It suffices to tell which exact ZODB
> 3.1.x release you used to get it.)
>
> > Everything is installed installs and starts normally. The server logs show
> > a connection. However any HTTP requests sent to the ZEO client hang. I did
> > a bit of poking around and it appears that the load method of
> > ClientStorage is not called when a request is recieved.
> >
> > Can anyone point me in the right direction?
>
> Would it be an option to upgrade to Zope 2.6.1 as well?
>
> If not, what exactly is in the logs?  Note that you need to have the
> new ZEO in the Python path both on the client side and on the server
> side.
>
> --Guido van Rossum (home page: http://www.python.org/~guido/)
>
>


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