Re: [Zope] PropertyIds

2000-06-19 Thread Oleg Broytmann

On Mon, 19 Jun 2000, RC Compaan wrote:
> // tmp is a
> document with an id equal to the cookie

1. Isn't it enough just to write _.getitem(tid)?

2. A shot in the dark: tmp is not a document, but its rendering. Try
getitem(tid, 0)...

Oleg.(All opinions are mine and not of my employer)
---- 
Oleg Broytmann  Foundation for Effective Policies  [EMAIL PROTECTED]
   Programmers don't die, they just GOSUB without RETURN.


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




Re: [Zope] Instanciate a ZClass out of Zope

2000-06-19 Thread Oleg Broytmann

On Mon, 19 Jun 2000, Chris McDonough wrote:
> This limitation will effectively go away as soon as ZEO goes open
> source.
> 
> Oleg Broytmann wrote:
> > 
> >You cannot open independent connection to ZODB while Zope is active -
> > Zope locks the database, and by purpose. You must access ZODB only through
> > Zope machinery.
> >Or stop Zope, open ZODB and reinvent the wheel - copy a lot of code from
> > Zope into your program and do-it-yourself.

   In any case I doubt there is a sense in reimplementing a part of Zope. I
guess it would be much simpler/better/faster to use XML-RPC to do deep
magic and manipulate Zope objects.

Oleg.(All opinions are mine and not of my employer)
 
Oleg Broytmann  Foundation for Effective Policies  [EMAIL PROTECTED]
   Programmers don't die, they just GOSUB without RETURN.


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




Re: [Zope] Instanciate a ZClass out of Zope

2000-06-19 Thread Oleg Broytmann

On Sat, 17 Jun 2000, FR Chalaoux wrote:
> This give me a track now, but this howto seems to talk about of an external
> method not about a script out of zope, No ?
> When I say out of zope, I mean open a connection with ZODB as describe in
> http://www.zope.org/Members/michel/HowTos/ZODB-How-To and create an instance of
> my ZClass which where defined with my zope web interface.

   You cannot open independent connection to ZODB while Zope is active -
Zope locks the database, and by purpose. You must access ZODB only through
Zope machinery.
   Or stop Zope, open ZODB and reinvent the wheel - copy a lot of code from
Zope into your program and do-it-yourself.

Oleg.(All opinions are mine and not of my employer)
 
    Oleg Broytmann  Foundation for Effective Policies  [EMAIL PROTECTED]
   Programmers don't die, they just GOSUB without RETURN.


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




Re: [Zope] Instanciate a ZClass out of Zope

2000-06-17 Thread Oleg Broytmann

On Sat, 17 Jun 2000, FR Chalaoux wrote:
> I would like to instanciate a Zclass, I created in Zope, out of Zope web
> interface.
> I mean create objets, base on this ZClass, in ZODB with a python script
> out of Zope.
> 
> What are the different solutions to do that ?
> Is there code exemples around ?

   http://www.zope.org/Members/taz/addZClasses

Oleg.(All opinions are mine and not of my employer)
---- 
Oleg Broytmann  Foundation for Effective Policies  [EMAIL PROTECTED]
   Programmers don't die, they just GOSUB without RETURN.


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




Re: [Zope] Using ZClient to Access Another Server: Via Proxy?

2000-06-17 Thread Oleg Broytmann

On Sat, 17 Jun 2000 [EMAIL PROTECTED] wrote:
> Thanks for Your suggestion! However, this is the error reported:

   Oh, yes. Now I see... I've read Client.py and found it stopped using
urllib, but use httplib directly.
   No luck - either patch Client.py or use different approach. Use XML-RPC.
You, probably, will need to write your own Transport class...

Oleg.(All opinions are mine and not of my employer)
---- 
    Oleg Broytmann  Foundation for Effective Policies  [EMAIL PROTECTED]
   Programmers don't die, they just GOSUB without RETURN.


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




Re: [Zope] Using ZClient to Access Another Server: Via Proxy?

2000-06-17 Thread Oleg Broytmann

On Sat, 17 Jun 2000 [EMAIL PROTECTED] wrote:
> Loren Stafford describes in her "How-To: Using ZClient to Access Another
> Server" a method that I would like to use, but the Zope Server resides
> behind a firewall and it requires the usage of a http proxy to access
> external web servers.

   ZClient is working on top of HTTP protocol; and Client.py uses urllib
for HTTP. So my guess is you can just declare "http_proxy" environment
variable: export http_proxy="http://proxy.my.company.com:8080" and run
ZClient.

Oleg.(All opinions are mine and not of my employer)
 
Oleg Broytmann  Foundation for Effective Policies  [EMAIL PROTECTED]
   Programmers don't die, they just GOSUB without RETURN.


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




Re: [Zope] Comfirming Hotfix is installed.

2000-06-16 Thread Oleg Broytmann

On Fri, 16 Jun 2000, Ian Thomas wrote:
> Is there any way to confirm that the hotfix has been installed?
> 
> I extracted the files and restarted Zope but it would be nice if there was
> a way to confirm that it is installed.

   Go to Control Panel, Product Management, and watch: is there "Installed
Product" or "Broken Product".
   If it is "broken" - click on it and watch the traceback. If it is
installed - click on it and read README (there is a README tab up there).

Oleg.(All opinions are mine and not of my employer)
 
Oleg Broytmann  Foundation for Effective Policies  [EMAIL PROTECTED]
   Programmers don't die, they just GOSUB without RETURN.


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




Re: [Zope] [Fwd: [Zope] manage_delObjects]

2000-06-16 Thread Oleg Broytmann

On Fri, 16 Jun 2000, Pierre Rougier wrote:
> > this is very hard to find documentation about the manage functions, no?
> > the ZQR is not very fine for that
> > do u know a place where I can find??

   Use the source, Luke! It is THE definitive answer. Thanks DC, Zope
sources are almost fine and clear.
   And there are many downloadable Products out there. Many of them are
good sources of information (in both senses of the ord "sources" :)

Oleg.(All opinions are mine and not of my employer)
 
Oleg Broytmann  Foundation for Effective Policies  [EMAIL PROTECTED]
   Programmers don't die, they just GOSUB without RETURN.


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




Re: [Zope] Re: Zope 2.1.5/6/7 upgrading issues

2000-06-16 Thread Oleg Broytmann

Hi!

   My vote is here:

On Fri, 16 Jun 2000, Brian Lloyd wrote:
>   o retract the 2.1.7 release in favor of getting 2.2 beta 2 
> out on Monday, which doesn't have the cruft problem of 
> the 2.1.x branch and contains all fixes to date (and 
> which will fix SQLMethod problems and support the SiteAccess
> release that Evan is making today).

   I am not running any production servers (yet), so I better will start to
experiment with new Zope, rather than patching old one.
   Other people esp. those who run prod. servers free to have different
opinions :)

Oleg.(All opinions are mine and not of my employer)
 
Oleg Broytmann  Foundation for Effective Policies  [EMAIL PROTECTED]
   Programmers don't die, they just GOSUB without RETURN.


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




RE: [Zope] Zope 2.1.5/6/7 & ZSQLMethods problem

2000-06-16 Thread Oleg Broytmann

On Fri, 16 Jun 2000, Ron Bickers wrote:
> I know I'm not the only one running 2.1.4 because of misbehaving ZSQLMethods
> in 2.1.5/6/7, and wondering when my site is going to be exploited because of
> the security issues.  Broken or vulnerable seem to be my two choices.  Not a
> very good selection.

   I run 2.1.4 too, and for the same reason - ZSQL and SiteAccess. I am
afraid I couldn't upgrade to 2.1.5+ nor 2.2+ due to SiteAccess :(

Oleg.(All opinions are mine and not of my employer)
---- 
Oleg Broytmann  Foundation for Effective Policies  [EMAIL PROTECTED]
   Programmers don't die, they just GOSUB without RETURN.


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




Re: [Zope] Importing data

2000-06-15 Thread Oleg Broytmann

On Thu, 15 Jun 2000, J. Michael Mc Kay wrote:
> I have a Data.fs file from a previous instal of Zope.  How can import parts of that 
>data base to a current data.fs?

   Just copy it in place. Data.fs files are compatible across 2.0+
versions, across different OSes and even different platforms/processors.

Oleg.(All opinions are mine and not of my employer)
 
    Oleg Broytmann  Foundation for Effective Policies  [EMAIL PROTECTED]
   Programmers don't die, they just GOSUB without RETURN.


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




RE: [Zope] RSSChannel

2000-06-13 Thread Oleg Broytmann

Thanks!

On Tue, 13 Jun 2000, Ron Bickers wrote:
> Amos wrote an article on XML.com
> (http://www.xml.com/pub/2000/02/23/zope/index.html) that goes through
> creating an RSS Channel Manager.  There is a link to a very simple
> RSSChannel product that he uses in the examples
> (http://www.zope.org/Members/Amos/RSSChannel.tgz).  There's pretty much zero
> documentation other than the article, but it's been working just fine for
> me.
> 
> As the Site Summary docs state "Import is only limited to RSS 0.91 files,
> not the older, "broken", version."  The RSSChannel product works with the
> old broken version, which I just happen to need.

Oleg.    (All opinions are mine and not of my employer)
 
Oleg Broytmann  Foundation for Effective Policies  [EMAIL PROTECTED]
   Programmers don't die, they just GOSUB without RETURN.


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




Re: [Zope] RSSChannel

2000-06-13 Thread Oleg Broytmann

On Tue, 13 Jun 2000, Andrew Kenneth Milton wrote:
> | >   http://www.zope.org/Members/edmundd/SiteSummary
> | 
> |Thanks, but I want to import RSS rather than generating it :) I want to
> | import zope.org news, appwatch.com etc...
> 
> This also does this (albeit a tad crudely).

   Thanks!

Oleg.(All opinions are mine and not of my employer)
---- 
Oleg Broytmann  Foundation for Effective Policies  [EMAIL PROTECTED]
   Programmers don't die, they just GOSUB without RETURN.


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




Re: [Zope] RSSChannel

2000-06-13 Thread Oleg Broytmann

On Tue, 13 Jun 2000, Martijn Pieters wrote:
> It is listed, just under a different name. A search for 'RSS' lists a product
> called 'Site Summary' by Edd Dumbill as the first hit. This is immediatly the
> only product for Zope (that I know of) that is specifically tailored for
> generating RSS channels:
> 
>   http://www.zope.org/Members/edmundd/SiteSummary

   Thanks, but I want to import RSS rather than generating it :) I want to
import zope.org news, appwatch.com etc...

Oleg.(All opinions are mine and not of my employer)
 
Oleg Broytmann  Foundation for Effective Policies  [EMAIL PROTECTED]
   Programmers don't die, they just GOSUB without RETURN.


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




[Zope] RSSChannel

2000-06-13 Thread Oleg Broytmann

Hello!

   It is amazing how awful :) it is to find unlisted Product on Zope.org :(
   Where can I find RSSChannel? Thanks...

Oleg.
 
 Oleg Broytmann http://www.zope.org/Members/phd/ [EMAIL PROTECTED]
   Programmers don't die, they just GOSUB without RETURN.


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




[Zope] Random line of Products

2000-06-09 Thread Oleg Broytmann

Hello!

   I created and published three demo toy Products I named them "Random"
Products, because each of them displays text, randomly selected from a list
prepared by webmaster. These Products differ in how they store the text
items. I learned a good deal of Zope internals while wrote it, and I hope
that looking into it will help people to learn Product API. I also run a
demo site for these Products.

   Source code: http://www.zope.org/Members/phd/Random/
   Demo site  : http://sun.med.ru/pcgi/Random/

DETAILS:

   The first Product, RandomLine was created from Boring Product - I just
learned Product API. The product stores text (edited in a texarea), splits
the text into a list of lines and when asked displays a random line.

   The second Product, RandomLine_v, is just a modified version of the
first. The difference is volatile attributes. I found (in RandomLine) that
I store both text and splitted list of strings in ZODB. I thought I need to
learn volatile attributes and this version stores only text in ZODB. The
splitted list stored in a volatile attribute and recomputed when
neccessary.

   The third Product, RandomItem, implements the same idea, but with
different implementation. The core class is ObjectManager-derived, and it
stores a list of items. Every item in turn stores multiline text.

Oleg.
---- 
 Oleg Broytmann http://www.zope.org/Members/phd/ [EMAIL PROTECTED]
   Programmers don't die, they just GOSUB without RETURN.


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




Re: [Zope] Zope.org Hidden Stats

2000-06-08 Thread Oleg Broytmann

On Thu, 8 Jun 2000, Tony McDonald wrote:
> 1) Zope + Apache redirected to Zope.cgi with PCGI_PUBLISHER = 
> pcgi/pcgi_publisher.py = single threaded server. No ZServer activity. 
> Uses ZPublisher?
> 
> 2) Zope + Apache redirected to Zope.cgi with PCGI_PUBLISHER = 
> ZServer/PCGIServer.py = ZServer based multi-threaded server. Implies 
> better throughput.
> 
> If I'm anywhere near close, can someone please point out any 
> resources that will show me how to get option (2) working?

   There should not be any difference from (1) - when you ./start ZServer,
its builtin PCGI server will create a socket - just point Zope.cgi to the
socket as usual (as in 1). Actually, I think you don't need to do anything
special at all - the socket will be in a place where Zope.cgi expects to
find it.


   To speed things a bit up - replace Zope.cgi with mod_pcgi2.


Oleg.(All opinions are mine and not of my employer)
 
Oleg Broytmann  Foundation for Effective Policies  [EMAIL PROTECTED]
   Programmers don't die, they just GOSUB without RETURN.


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




Re: [Zope] Zope.org Hidden Stats

2000-06-08 Thread Oleg Broytmann

On Thu, 8 Jun 2000, Tony McDonald wrote:
> If you're running Zope from behind Apache/PCGI then you *have* to run 
> Zope single threaded. Am I correct?

   No, you r not! Yoy can run multithreading ZServer and connect Apache to
it via PCGI. There are two PCGI servers in Zope - single-threaded and
builtin (as a component) in ZServer.

Oleg.(All opinions are mine and not of my employer)
---- 
Oleg Broytmann  Foundation for Effective Policies  [EMAIL PROTECTED]
   Programmers don't die, they just GOSUB without RETURN.


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




Re: [Zope] Zope URLS (was re: WebObjects)

2000-06-08 Thread Oleg Broytmann

On Thu, 8 Jun 2000, Rik Hoekstra wrote:
> so what is the use of the /? Couldn't all Zope URLs end without a /?

   This effectiveley stops all websuckers.

Oleg.(All opinions are mine and not of my employer)
---- 
    Oleg Broytmann  Foundation for Effective Policies  [EMAIL PROTECTED]
   Programmers don't die, they just GOSUB without RETURN.


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




Re: [Zope] Links between DTML language and Python language...

2000-06-08 Thread Oleg Broytmann

On Thu, 8 Jun 2000, QUIN Frédéric wrote:
> In the last mail I sent, I explaint my problem to know if a specified item is
> in a list. Oleg helped me and said that : "Learn Python". Now, I wonder if
> there are strong links between DTML language and Python language. Because, in
> the DTML language reference, you can find nothing meaning that.

   The link is simple and strong: what you have in double qoutes is just a
python code! (with some security limitations):
or, for example,
   

> Sometimes, I see functions used in DTML which are not referenced in DTML
> language reference. I guess that it's Python functions. So, I ask the question

   Most of the time they are Zope functions - methods, defined in Zope
classess. They are poorly documente 'cause real Hackers Have No Time to
Document! :)
   Your real source of information is Zope source code. That's another
strong reason to learn Python.

Oleg.(All opinions are mine and not of my employer)
 
Oleg Broytmann  Foundation for Effective Policies  [EMAIL PROTECTED]
   Programmers don't die, they just GOSUB without RETURN.


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




Re: [Zope] What is "favicon.ico" and why is it an error?

2000-06-07 Thread Oleg Broytmann

On Wed, 7 Jun 2000, J. Atwood wrote:
> So even though there are no references to it in the HTML MIE is looking for
> it? Is there anyway to fool it? Can I just put a blank DTML Document? Why
> would MIE be checking the server for that file?

   Becasue if it finds the file in a directory it would display it - and
site admin could put different icons in different directories.
   Return error 404 should be enough, if there is no such files.

Oleg.(All opinions are mine and not of my employer)
---- 
Oleg Broytmann  Foundation for Effective Policies  [EMAIL PROTECTED]
   Programmers don't die, they just GOSUB without RETURN.


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




Re: [Zope] What is "favicon.ico" and why is it an error?

2000-06-07 Thread Oleg Broytmann

On Wed, 7 Jun 2000, J. Atwood wrote:
> As it looks for this "favicon.ico"

   M$ IE is looking for this file to provide some "niceness" on a page.
Search Internet for longer explanations - there are many.

Oleg.(All opinions are mine and not of my employer)
---- 
Oleg Broytmann  Foundation for Effective Policies  [EMAIL PROTECTED]
   Programmers don't die, they just GOSUB without RETURN.


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




Re: [Zope] How to know if a list contains a specified item ?

2000-06-07 Thread Oleg Broytmann

Hi!

On Wed, 7 Jun 2000, QUIN Frédéric wrote:
> I would like to know if there is a function which allows to know if a list
> contains a specified item.

   Learn Python!

   
  ...

Oleg.(All opinions are mine and not of my employer)
 
    Oleg Broytmann  Foundation for Effective Policies  [EMAIL PROTECTED]
   Programmers don't die, they just GOSUB without RETURN.


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




Re: [Zope] News tickers

2000-06-07 Thread Oleg Broytmann

On Wed, 7 Jun 2000, Olivier Deckmyn wrote:
> about RSS, the url is :
> http://www.xml.com/pub/2000/02/23/zope/index.html

   Thanks! Sure, good article. (Thanks, Amos.)

Oleg.(All opinions are mine and not of my employer)
 
    Oleg Broytmann  Foundation for Effective Policies  [EMAIL PROTECTED]
   Programmers don't die, they just GOSUB without RETURN.


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




Re: [Zope] News tickers

2000-06-07 Thread Oleg Broytmann

On Wed, 7 Jun 2000, Timothy Wilson wrote:
> >Also I'm looking a Product to import RDF/RSS files - I rememeber seeing
> > it somewhere.
> 
> Check out RSS Channel and XML Document. You'll find them at zope.org.

   Thanks! I remeber I saw something like that but don't remember exact
title for the Product. RSS Channel - now it seems obvious :)

Oleg.(All opinions are mine and not of my employer)
 
Oleg Broytmann  Foundation for Effective Policies  [EMAIL PROTECTED]
   Programmers don't die, they just GOSUB without RETURN.


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




[Zope] News tickers

2000-06-07 Thread Oleg Broytmann

Hello!

   I'm looking for News Products (yes, I know KM News :). I need a news
ticker with the followin features:
   -- rubrics in news item - one item can belong to few rubrics (it is news
  item about both Zope and Python, e.g)
   -- one customizeable interface for entering news items in different
  rubrics
   -- few different customizeable interfaces for viewing every rubric
   -- SQL storage (SQL seems much more natural storage for news items than
  ZODB)
   -- export to RDF/RSS

   I am not in hurry, I'll write such Product myself if I couldn't find one
ready.

   Also I'm looking a Product to import RDF/RSS files - I rememeber seeing
it somewhere.

Oleg.(All opinions are mine and not of my employer)
 
Oleg Broytmann  Foundation for Effective Policies  [EMAIL PROTECTED]
   Programmers don't die, they just GOSUB without RETURN.


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




[Zope] Copy/Paste cookie problem

2000-06-05 Thread Oleg Broytmann

Hello!

   I constantly have cookie problem (at least I think it's cookie problem).
I cannot copy/paste. What is worse, the behaviour is a bit inconsistent.

   I have two almost identical installations on two different computers. On
one of them I can do copy/paste almost always. (Sometimes Zope doesn't show
Paste button). On the other computer Zope dosn't show Paste almost always.
   When I reboot Netscape, I can do copy/paste for some short time, and
then Zope again stops showing Paste button.

   To trace the problem I've add cookie module to filtering proxy that I'm
using (http://theory.stanford.edu/~amitp/proxy.html) and can see the whole
cookie sent/received log. Nothing suspicious in th log - browser sends and
receives __cp cookie (along with other cookies). Example:

   (I do copy:)
|<--!-- Cookie Received
__cp="x%da%d3%60b%60%60%c8%04b%86hF%20%a1%01%e2%16%83%b9,%20%16%07%03%1c0%21q%98%85%909%12%c8%9c%2a%00%c6%0e%04%87";
 Path=/pcgi

   (I switched to different folder:)
|--!--> Cookie Sent tree-s="eJyLjlZ3hANPW/XYWAAtiQTP";
__cp="x%da%d3%60b%60%60%c8%04b%86hF%20%a1%01%e2%16%83%b9,%20%16%07%03%1c0%21q%98%85%909%12%c8%9c%2a%00%c6%0e%04%87";
dtpref_cols="55"; dtpref_rows="15"

   Browser sends all cookies; but Zope doesn't allow Patse :(


   Details, if this can help:
Server1: sun.med.ru; SPARC, Solaris 2.5.1; Zope 2.1.4 (2.1.3 had the
problem, too)

Server2: phd.russ.ru; Pentium, Debian GNU/Linux; Zope 2.1.4.

   Both servers have Zope with additional components: SQL adapters,
SiteAccess, ZNavigator, etc.

   The problem manifests itself whether I use Netscape for Linux or for
Solaris; whether I use proxies or swith to "no proxy - direct connection".

   Few of my freiends here reported the same problem with different
hardware, OSes, browsers, etc.

Oleg.(All opinions are mine and not of my employer)
 
Oleg Broytmann  Foundation for Effective Policies  [EMAIL PROTECTED]
   Programmers don't die, they just GOSUB without RETURN.


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




Re: [Zope] Zope and Python 1.6

2000-06-05 Thread Oleg Broytmann

On 5 Jun 2000, Ivan Raikov wrote:
> Does Zope run under Python 1.6? If not, is anybody working on a port? 

   There is no such thing as Python 1.6 (yet). Zope has its own problems,
it'd wise not to try to port Zope to alpha version of Python.

Oleg.(All opinions are mine and not of my employer)
---- 
    Oleg Broytmann  Foundation for Effective Policies  [EMAIL PROTECTED]
   Programmers don't die, they just GOSUB without RETURN.


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




[Zope] Re: SV: [Zope] Q: Link status/checking

2000-06-05 Thread Oleg Broytmann

Hi!

On Sat, 3 Jun 2000, JÛrgen Skogstad wrote:
> Sure! I just did a quick read through of the url you posted and it
> looks to me that you've started with what I want. I am very interested
> in getting this to work within the Zope framework as well.. with 
> Sql support etc. as I am doing a project that would require "robotic"
> features! ;) Don't we just hate manual labour. ;) 

   Well, the weakiest point in my programs is that these programs operate
on the whole tree at once. This isn't a problem for my small database of
URLs - there are about 3000 URLs in my bookmarks; but certainly will bring
problems for those who would like to have a bigger DB.

   What I feel is that Zope is not by itself the way to go. It is hard to
store the entire URLs tree in Zope and operate via XML-RPC or whatever. I
thing much better approach will be to store the tree in separate database
(SQL, e.g.) and connect both the robot and Zope to the DB.

   While we are on subjject - I think about version 4 of the project. I
want to define clear APIs for database plugins (including the possibility
to operate on a part of DB, down to one URL at at time :) and robots; and
remove writers plugins entirely - writers are just storage managers,
actually.
   It is interesting, whow in time Andrew Kuchling announced Oedipus. His
announcement came few days after I realized that I need API to operate on a
part of DB and started to think about version 4.
   http://oedipus.sourceforge.net/
We need a DB plugin to connect my robot to Oedipus; and Zope Product...

Oleg.(All opinions are mine and not of my employer)
 
Oleg Broytmann  Foundation for Effective Policies  [EMAIL PROTECTED]
   Programmers don't die, they just GOSUB without RETURN.


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




Re: [Zope] Problems with Postgres 7.0

2000-06-02 Thread Oleg Broytmann

Hi!

On 2 Jun 2000, Richard Taylor wrote:
> Has anyone else seen problems with ZPyGres and Postgres 7.0?

   Not me. I've upgraded to 7.0 without upgrading ZPygres - and now I am
running two Zope instances on the same computer, both opened 2-3
connections (totally 6 in peaks); all things go pretty good.

Oleg.(All opinions are mine and not of my employer)
---- 
    Oleg Broytmann  Foundation for Effective Policies  [EMAIL PROTECTED]
   Programmers don't die, they just GOSUB without RETURN.


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




Re: [Zope] Thread-safe PostgreSQL adaptor?

2000-06-02 Thread Oleg Broytmann

On Fri, 2 Jun 2000, Daryl Tester wrote:
> >No - just using the GPL'd adapter do not require you to distribute Zope
> > under GPL. The adapter is just a "plugin"; there was an explanation from
> > RMS that GPL'd plugins does not require to GPL the main program and vice
> > versa; there probably will be newer version of GPL (don't know how soon)
> > which will explain the plugin thingie in details.
> > 
> >In short - only linking with GPL code "infects" your code with GPL.
> 
> This is unclear, and sounds like hair splitting to me.  What's the
> difference between linking and using a plugin?  What happens when
> the plugin is a dynamically linked shared library?  I haven't seen
> PoPy, but if it's a C library interface under Python (like Pygresql)
> the chances are good.

   These are perfect questions, and I knew RMS spent time thinking on it. I
am not authorized to answer; when (and if) new version of GPL will be
published I hope things will be clearer.

Oleg.(All opinions are mine and not of my employer)
 
Oleg Broytmann  Foundation for Effective Policies  [EMAIL PROTECTED]
   Programmers don't die, they just GOSUB without RETURN.


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




Re: [Zope] Thread-safe PostgreSQL adaptor?

2000-06-01 Thread Oleg Broytmann

On Thu, 1 Jun 2000, Hannu Krosing wrote:
> True. The problem is that in some perverted fashion it seems to me that if 
> I use a GPL library with something the whole thing should go GPL, i.e. my 

   Yes - that's why I love GPL :)

> use of ZPoPyDA could make me obliged to distribute Zope under GPL, which I 
> of course can't do and thus i start feeling scizophrenic ;)

   No - just using the GPL'd adapter do not require you to distribute Zope
under GPL. The adapter is just a "plugin"; there was an explanation from
RMS that GPL'd plugins does not require to GPL the main program and vice
versa; there probably will be newer version of GPL (don't know how soon)
which will explain the plugin thingie in details.

   In short - only linking with GPL code "infects" your code with GPL.

Oleg.(All opinions are mine and not of my employer)
 
Oleg Broytmann  Foundation for Effective Policies  [EMAIL PROTECTED]
   Programmers don't die, they just GOSUB without RETURN.


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




Re: [Zope] Q: Link status/checking

2000-06-01 Thread Oleg Broytmann

Hi!

   I am working on such project for a few years. From time to time I make
an announcement in comp.lang.python, subject "Bookmarks database and
Internet robot". This is a copy of my latest announce:
   http://www.deja.com/=dnc/getdoc.xp?AN=626677041

   It my hobby project, in pure Python. Wanna cooperate on this?

On Thu, 1 Jun 2000, [Windows-1252] Jørgen Skogstad wrote:
> I was wondering about a few points I havn't seen any references
> to. Are there any implementations in Zope that can verify the 
> validity of an url? That is; 
> 
> 1) A link database is generated .. and should be maintained.
> 2) A process should be run at least once a week to check the
>validity of links in the database. 
> 3) If the link is not "valid" .. it sets a tag in the db which
>says it's untrusted .. which again could show that in the
>link listed on the web through Zope.
> 4) .. and if it's untrusted for N runs .. it is removed.
> 
> .. have anyone looked into that? .. and anyone made any conclusions
> as to how one can solve that?

Oleg.    (All opinions are mine and not of my employer)
 
Oleg Broytmann  Foundation for Effective Policies  [EMAIL PROTECTED]
   Programmers don't die, they just GOSUB without RETURN.


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




Re: [Zope] Thread-safe PostgreSQL adaptor?

2000-06-01 Thread Oleg Broytmann

Hi!

On Thu, 1 Jun 2000, Hannu Krosing wrote:
> AFAIK this is the only DA with GPL license.
> Both Zope and python have much freer licenses making GPL probably 
> a poor choice if you "aims to replace the current ZPygresql DA".
> 
> What is the reason behind GPL'ing it ? 

   Aha, well, the GPL-vs-BSD-vs-MPL-vs...! :)))

   As PostgreSQL mailing list member you (like me) saw these debates many
times. I don't think we need to continue the flame here :)
   There are people who loke BSD-style licensing, and there are GPL
devotee. In this far-from-ideal world it is hard to say what is more free.
I, personnaly, love GPL and publish whatever I can under GPL.

Oleg.(All opinions are mine and not of my employer)
 
Oleg Broytmann  Foundation for Effective Policies  [EMAIL PROTECTED]
   Programmers don't die, they just GOSUB without RETURN.


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




Re: [Zope] test

2000-05-31 Thread Oleg Broytmann

On Wed, 31 May 2000, Vitaly Osipov wrote:
> if it is dead of just everybody went on vacations? :)

   We are here, sure!

   (Russian?)

Oleg.(All opinions are mine and not of my employer)
 
    Oleg Broytmann  Foundation for Effective Policies  [EMAIL PROTECTED]
   Programmers don't die, they just GOSUB without RETURN.


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




Re: [Zope] A new python object which analyse HTML files and...

2000-05-29 Thread Oleg Broytmann

On Mon, 29 May 2000, Frederic QUIN wrote:
> I would like to create a python object which :
> * analyse traditional HTML files
> * indexe "IMG" tags and "A" tags
> * replace "IMG" tags by appropriated dtml tags
> * replace "A" tags by appropriated dtml tags
> * create all the resultant objects
> 
> Did someone ever do that ? Anyway, if someone with more experience than me,
> have some advices, I'll get them...

   You may start to adapt http://www.zope.org/Members/itamar/load_site to
your needs. Generic HTML parser is already there.

Oleg.    (All opinions are mine and not of my employer)
 
Oleg Broytmann  Foundation for Effective Policies  [EMAIL PROTECTED]
   Programmers don't die, they just GOSUB without RETURN.


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




Re: [Zope] Building ZPyGreSQLDA on Linux

2000-05-29 Thread Oleg Broytmann

On Sat, 27 May 2000, Hung Jung Lu wrote:
> Let me try again, does any of you guys have a "config" subfolder inside your 
> /usr/lib/python1.5/ folder? I guess the "config" subfolder maybe an feature 

   Yes, I have it. It appeared after "make install". But it is in
/usr/local/lib/python1.5 - you need to uninstall python from /usr/bin and
/usr/lib, if you installed python from sources...

> from the old python1.5, because in the new python1.5.2 there is no such a 
> folder.

   No.

Oleg.(All opinions are mine and not of my employer)
 
Oleg Broytmann  Foundation for Effective Policies  [EMAIL PROTECTED]
   Programmers don't die, they just GOSUB without RETURN.


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




Re: [Zope] HTML EDITORS

2000-05-26 Thread Oleg Broytmann

On Fri, 26 May 2000, Luis Cortes wrote:
> Has anyone found a really good HTML EDITOR that plays nice with dtml tags?
> Do anybody have anything they can really recommend?

   All our webmasters (I am a programmer here) use HomeSite.

Oleg.(All opinions are mine and not of my employer)
 
    Oleg Broytmann  Foundation for Effective Policies  [EMAIL PROTECTED]
   Programmers don't die, they just GOSUB without RETURN.


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




Re: [Zope] Re: [Zope-Annce] ANN: Perl For Zope - why I'm bummed

2000-05-26 Thread Oleg Broytmann

On Sat, 27 May 2000, Andrew Kenneth Milton wrote:
> | > So, I believe this is enough reason for me to start considering other
> | > web technologies for me, and my company.
> | 
> |I am considering dismounting the Zope bandwagon, too :( It was good
> | techonology, but what will come?
> 
> Where do you intend on going? If there was something better out there
> you'd be humping its leg already.

   Thanks goodness, I am not using Zope on production servers. I use Zope
only to experiments and understand the technology. Looked good until
yesterday.
   On production servers I use pure Python CGIs powered by ZTemplates. I
think I can add ZPublisher and PersistentCGI without diving into full Zope.

   Of course, if perl wouldn't hurt Zope as much as I am afraid, I'll
return to considering to use Zope on production servers. (Most of my sites
are not interactive - just a "picture"; but there is one that during its
development through last year became finally highly interactive; the site
looks like first candidate for Zope and PTK and other Products).

Oleg.(All opinions are mine and not of my employer)
 
Oleg Broytmann  Foundation for Effective Policies  [EMAIL PROTECTED]
   Programmers don't die, they just GOSUB without RETURN.


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




Re: [Zope] Building ZPyGreSQLDA on Linux

2000-05-26 Thread Oleg Broytmann

On Fri, 26 May 2000, Hung Jung Lu wrote:
> I need help building the PostGreSQL database adapter on Linux.

   Welcome!

> Sigh... why is installing everything on Linux such a nightmare? ZPyGreSQLDA 

   In the world of free software you must do it yourself - there are too
many UNIX variants and personal settings that noone can create an universal
Makfile...

> make[1]: *** No rule to make target 
> `/u/c2/hjlu/lwc_zope/lib/python1.5/config/Ma
> kefile', needed by `sedscript'.  Stop.

   You forget to install python-dev RPMs. Just a guess, but reasonable
guess.

Oleg.(All opinions are mine and not of my employer)
 
Oleg Broytmann  Foundation for Effective Policies  [EMAIL PROTECTED]
   Programmers don't die, they just GOSUB without RETURN.


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




Re: [Zope] Re: [Zope-Annce] ANN: Perl For Zope - why I'm bummed

2000-05-26 Thread Oleg Broytmann

On 25 May 2000, Roman Milner wrote:
> Here is why I'm bummed about this.  Like other people who have posted
> - after years of coding perl for money, I have vowed never to do it
> again.  (I find that it produces encourages unmaintainable code.)
> Also, I think my main marketable skill now is Zope.  So, were I to
> want to find a different job now coding Zope - perl will be expected
> to be in my skill set.  Other companies using zope will almost
> certainly have perl methods laying around that need to be maintained.
> So, basically, in order to find a job using zope - I'll have to
> relearn, and code in perl at that job.

   Exactly!

> So, I believe this is enough reason for me to start considering other
> web technologies for me, and my company.

   I am considering dismounting the Zope bandwagon, too :( It was good
techonology, but what will come?

Oleg.(All opinions are mine and not of my employer)
 
Oleg Broytmann  Foundation for Effective Policies  [EMAIL PROTECTED]
   Programmers don't die, they just GOSUB without RETURN.


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




Re: [Zope] ANN: Perl For Zope

2000-05-25 Thread Oleg Broytmann

On Thu, 25 May 2000, John Chandler wrote:
> then educate people as to how to use YNPLOC in
> a way that matches the Zope philosophy.

   Ha, "educate people"! Educate people not to use Windows? Educate them at
least not to be beaten by ILOVEYOE virus? Anyone succeede in this educating?

> It's not worth arguing about, we're all united by Zope aren't we?

   Zope AND Python!

Oleg.(All opinions are mine and not of my employer)
 
Oleg Broytmann  Foundation for Effective Policies  [EMAIL PROTECTED]
   Programmers don't die, they just GOSUB without RETURN.


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




Re: [Zope] ANN: Perl For Zope

2000-05-25 Thread Oleg Broytmann

On Thu, 25 May 2000, Chris Withers wrote:
> I agree though since it's a moot point anyway. It's going to happen now

   That's why I stopped to argue. Let's wait and see. There are already so
many Bad Things in computer industry this one wouldn't make things much
worse.

> and we just have to live with it :S

   ...have to die with it... :(

Oleg.(All opinions are mine and not of my employer)
 
Oleg Broytmann  Foundation for Effective Policies  [EMAIL PROTECTED]
   Programmers don't die, they just GOSUB without RETURN.


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




Re: [Zope] Cookies

2000-05-25 Thread Oleg Broytmann

On Thu, 25 May 2000, Mabe, Brad wrote:
>   )">

   Inside double quotes there is Python, not DTML:



Oleg.(All opinions are mine and not of my employer)
---- 
Oleg Broytmann  Foundation for Effective Policies  [EMAIL PROTECTED]
   Programmers don't die, they just GOSUB without RETURN.


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




Re: [Zope] ANN: Perl For Zope

2000-05-25 Thread Oleg Broytmann

On Thu, 25 May 2000, Kevin Dangoor wrote:
> People who are big fans of python aren't forced to use those Products, but I

   Very soon we'll be forced, 'cause most Products will be in Perl (yse,
I've read the FAQ and saw "no Perl Products"; it's temporary, mark you).

Oleg.(All opinions are mine and not of my employer)
 
Oleg Broytmann  Foundation for Effective Policies  [EMAIL PROTECTED]
   Programmers don't die, they just GOSUB without RETURN.


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




Re: [Zope] ANN: Perl For Zope

2000-05-25 Thread Oleg Broytmann

On Thu, 25 May 2000, Chris McDonough wrote:
> Zope has DTML and Python, both of which will stay.

   Yes, this is my point, too. I think DTML became a little to much. I'd
like to see DTML much less powerful, with all programming going to Python
Products and Python Methods.

> Sheesh, it's like we'd recommended Microsoft in here or something.  :-)

   Yes, for a long time I see Perl very like Windoze - Broken by Design :(
Bloated, hairy, and designed to force programmers to make bugs.

Oleg.(All opinions are mine and not of my employer)
---- 
Oleg Broytmann  Foundation for Effective Policies  [EMAIL PROTECTED]
   Programmers don't die, they just GOSUB without RETURN.


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




Re: [Zope] ANN: Perl For Zope

2000-05-25 Thread Oleg Broytmann

Dear Chris...

On Thu, 25 May 2000, Chris McDonough wrote:
> Honestly I'm sort of surprised that there is such a strong reaction to

   A year ago I resigned from a web development company because they forced
me to write Perl. I switched to Python and was and is very happy about it.
I don't want to see a line of Perl. And after all DC annonced Perl Methods!
   How do you think I can feel about it? I resigned (i.e. - spent my money,
nervous, my time to switch to another company) - and what I found now? Perl
again.
   Well, I can see good points here. Perl methods probably will attract
more users. But I can see bad points, too. What if my perl developer
resigned? Should I pick up his code? I don't want, I want Python. Should I
spent a lot of time manually converting his code to Python Method and debug
it? "There is always too many ways to do it" - it is Perl motto, not
Python. I am pretty sure Zope shouldn't has too many scripting languages.
Many protocols - yes, it is very good. But many languages? No, that's bad.

Oleg.(All opinions are mine and not of my employer)
 
Oleg Broytmann  Foundation for Effective Policies  [EMAIL PROTECTED]
   Programmers don't die, they just GOSUB without RETURN.


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




Re: [Zope] No manage screen ?

2000-05-25 Thread Oleg Broytmann

On Thu, 25 May 2000, Paolo Bizzarri wrote:
> I have a Zope application, for which I have no longer the management
> screens. If I try to see app/manage, I see the index_html method of app.
> 
> Any idea ? If someone is interested I can send him the code.

   Zope version? Is there Apache involved? SiteAccess? Other details you
think is important?

Oleg.
---- 
   Oleg Broytmann  http://skyscraper.fortunecity.com/unix/797/  [EMAIL PROTECTED]
   Programmers don't die, they just GOSUB without RETURN.


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




Re: [Zope] ANN: Perl For Zope

2000-05-25 Thread Oleg Broytmann

On Thu, 25 May 2000, Martijn Faassen wrote:
> J. Atwood wrote:
> > Stunned. Totally and utterly stunned. I would have thought there 
> > would be Java floating around in Zope's bowl before Perl! Perl? 
> > Jeeze... what a great but very scary thing. I trust that DC will do 
> > it right.
> 
> I'd agree with the scary part. Scaaary. I hope DC will do it right indeed,
> and that I can't *see* the Perl if I don't want to see it. DTML is bad
> enough already! :) 
> 
> Regards,
> 
> Martijn

   "Me too" * 1000

Oleg.
 
   Oleg Broytmann  http://skyscraper.fortunecity.com/unix/797/  [EMAIL PROTECTED]
   Programmers don't die, they just GOSUB without RETURN.


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




Re: [Zope] Using Cookie Data

2000-05-24 Thread Oleg Broytmann

Hi!

On Wed, 24 May 2000, Jim wrote:
>  

   Correct syntax is ,
but I guess you need to learn any Session Product. There are two of them -
SQLSession and FSSession. Probably, SQLSession is your way to go...

Oleg.(All opinions are mine and not of my employer)
 
    Oleg Broytmann  Foundation for Effective Policies  [EMAIL PROTECTED]
   Programmers don't die, they just GOSUB without RETURN.


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




Re: [Zope] Zope with FreeBSD

2000-05-24 Thread Oleg Broytmann

On Wed, 24 May 2000, Jilani Khaldi wrote:
> did somebody try to use Zope  with FreeBSD with success?

   Many people, many times. What is your problem? Common sources of
confusions on FreeBSD: slightly different (more strict) locale (you may
need to compile Zope with all char* being unsigned char*); parser module or
sha module are not installed - just install them yourself. Other problem?

Oleg.(All opinions are mine and not of my employer)
 
    Oleg Broytmann  Foundation for Effective Policies  [EMAIL PROTECTED]
   Programmers don't die, they just GOSUB without RETURN.


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




Re: [Zope] SiteAccess smashes 'REQUEST.resolve_url(...)' in DTML ?

2000-05-20 Thread Oleg Broytmann

Hi!

On Fri, 19 May 2000, Evan Simpson wrote:
> From: Martin Grönemeyer <[EMAIL PROTECTED]>
> > Error Type: ValueError
> > Error Value: Different namespace.
> 
> REQUEST.resolve_url requires that the URL you pass to it begins with
> REQUEST.script

   Oops! Can you tell more details on this? What is REQUEST.script?
   I'm asking this becasue my mod_pcgi2 Apache module screws SCRIPT
environment variable, and screws it by purpose!

Oleg.(All opinions are mine and not of my employer)
 
Oleg Broytmann  Foundation for Effective Policies  [EMAIL PROTECTED]
   Programmers don't die, they just GOSUB without RETURN.


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




<    1   2   3