[Zope-dev] Getting SessionUID from FSSession

2000-06-16 Thread Jeff Nielsen
How can I gather the current SessionUID from FSSession? From the docs, I gather that dtml-var "FSSession['SessionUID']" should return the SessionUID, but it always returns "None". Can anyone clue me in? --- Jeff Nielsen http://www.UgoFast.com/ "Where U Go Fast"

Re: [Zope-dev] Getting SessionUID from FSSession

2000-06-16 Thread Hung Jung Lu
--- In [EMAIL PROTECTED], "Jeff Nielsen" [EMAIL PROTECTED] wrote: How can I gather the current SessionUID from FSSession? From the docs, I gather that dtml-var "FSSession['SessionUID']" should return the SessionUID, but it always returns "None". Can anyone clue me in? Try: dtml-var

RE: [Zope-dev] Getting SessionUID from FSSession

2000-06-16 Thread Jeff Nielsen
Beautiful, That's works. Thanks. -Original Message- From: Hung Jung Lu [mailto:[EMAIL PROTECTED]] Sent: Friday, June 16, 2000 1:59 AM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: [Zope-dev] Getting SessionUID from FSSession --- In [EMAIL PROTECTED], "Jeff Nielsen" [EMAIL

[Zope-dev] Unpickleable Error

2000-06-16 Thread Nick Garcia
So, I'm getting this error when trying to use one of my Products under Zope 2.2b1: Error Type: UnpickleableError Error Value: Cannot pickle type 'StringO' objects What exactly is a StringO object, and why can't it be pickled/unpickled? It worked fine under 2.1, so I'm assuming there have

Re: [Zope-dev] Distutils scripts for ZODB

2000-06-16 Thread Michel Pelletier
I'm lost on what these scripts do, do they let you distribute ZODB in a standalone fasion? Do you have an example of that distribution based on, say 2.2b? "A.M. Kuchling" wrote: Here are 3 short setup.py scripts for various bits of Zope. Two of them -- -Michel Pelletier

Re: [Zope-dev] Distutils scripts for ZODB

2000-06-16 Thread Andrew M. Kuchling
On Fri, Jun 16, 2000 at 12:21:12PM -0700, Michel Pelletier wrote: I'm lost on what these scripts do, do they let you distribute ZODB in a standalone fasion? Do you have an example of that distribution based on, say 2.2b? Correct; you can run "python setup.py install" to install, say, the ZODB

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

2000-06-16 Thread Brian Lloyd
Hi guys, First of all, I'd like to apologize for the pain factor here - there has been some CM process changes around here and the 2.1.x branch is suffering as a result :( I have a proposal, however, that I hope will make this much easier. How about if we: o release a "Product" today

Re: [Zope-dev] Zope ...2.1.7 update - patch for EMarket 0.1.03

2000-06-16 Thread Steve Spicklemire
Hi Adam, I looked at your patch... *** EMarket.py.orig Thu Jun 01 00:06:01 2000 --- EMarket.py Fri Jun 16 02:56:35 2000 *** *** 258,265 newMainF.transactionFolder = newTransF Products.MailHost.MailHost.add(newMainF, 'eMarketMailhost', !

[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

[Zope-dev] Updated security alert

2000-06-16 Thread Brian Lloyd
Hi all - I've updated the security alert (below). Short story: a new "hotfix product" is available on zope.org that will work for all 2.0+ Zopes and has no side effects or upgrade implications for Zope installations. This feels like a much better model for things like this, especially for

[Zope-dev] (no subject)

2000-06-16 Thread Ron Bickers
Howdy all, I discovered something bizarre that happens in my 2.1.4 and 2.2b1 installations. I have a ZClass based on ObjectManager. In an instance of the ZClass, I can "Add" most of the available objects (DTML Documents, DTML Methods, User Folder, MailHost to name a few). However, for at

[Zope-dev] Problem with adding items to ZClass instance

2000-06-16 Thread Ron Bickers
[Doh... I don't read messages without subjects. Here 'tis again. Sorry.] Howdy all, I discovered something bizarre that happens in my 2.1.4 and 2.2b1 installations. I have a ZClass based on ObjectManager. In an instance of the ZClass, I can "Add" most of the available objects (DTML Documents,

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

2000-06-16 Thread Adam Karpierz
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

[Zope] More DCOracle real examples...

2000-06-16 Thread Juan Jose Garcia Garcia
Hello, I have installed DCOracle both in UNIX an Windows Systems and it is running ok... but.. Where can I get more DCOracle real examples ?? I need for example, trap Oracle errors via try/except etc,... Many thanks... -- -

[Zope] Facing problems with MySQLDA

2000-06-16 Thread vikas
Sir, I am still a new user of zope and I want to use MySQL database with zope. I have downloaded ZMySQLDA1.4 (stable). I have followed all the steps for installing properly but still I am unable to use MySQL connection. I have also added a Product named as ZMySQLDA in the product management

Re: [Zope] Virtual hosts: How to make proper intra-site URL's?

2000-06-16 Thread Rob W. W. Hooft
Following up to my own post: RWWH If I am looking at page:"People" should link to: RWWH http://www.host1/ People or http://www.host1/People RWWH http://www.host1/News ../People or http://www.host1/People RWWH http://www.site/Host1 People or

Re: [Zope] left(string) equivalent

2000-06-16 Thread Rik Hoekstra
snip sql questions I can't answer If it can't be done in the query, and I have to get the whole string in the sql method and slice it later, I can live with that, but then I have another problem: I let the wizard create a report for me and it gave me results that include: tr

Re: [Zope] Mozilla for mgmt

2000-06-16 Thread Martijn Pieters
On Fri, Jun 16, 2000 at 03:30:34PM +1000, Anthony Baxter wrote: Martijn Pieters wrote Has anyone besides me had trouble using Mozilla to manage Zope ie access the control panel via log in? There are regressions in recent Mozilla builds that prevent the authentication dialog from

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.

[Zope] Re: rpm question...I am stuck.

2000-06-16 Thread Monty Taylor
A couple of quick things. First, thanks for pointing out a problem in my documentation. That said, what the docs don't make clear is that the posted install docs are only for the new ZMySQLDA-1.2.0. If you are using ZMySQLDA-1.1.4, please read the docs in the package, as they are a bit

[Zope] programatically generating images

2000-06-16 Thread Joachim Schmitz
I remember that I saw once a product, which could do this. I think it used the PIL-library from python. I can´t find it on Zope.org. Any hints ? Mit freundlichen Grüßen Joachim Schmitz Email: [EMAIL PROTECTED] Telefon: +49-2464-8851 FAX:

Re: [Zope] Facing problems with MySQLDA

2000-06-16 Thread Monty Taylor
You'll need to add a 'Z MySQL Database Connection' Since you're using 1.1.4, the connection string won't show up in the add dialog. It is of the form "database@host user password" You'll then need to add one or more "ZSQL Method"s to actually do the work. Good luck. Monty vikas wrote: Sir,

Re: [Zope] Zope 2.1.5/6/7 ZSQLMethods problem

2000-06-16 Thread Graham Chiu
In article [EMAIL PROTECTED], Oleg Broytmann [EMAIL PROTECTED] writes 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 :( Is there a document that explains how to migrate ZSQL across the 2.1.4/2.1.6 boundary?

[Zope] Re: [Zope-dev] Zope security alert and 2.1.7 update [*important*]

2000-06-16 Thread Gregor Hoffleit
Brian, from the announcement, it sounded like the only change from 2.1.6 to 2.1.7 was the fix to DT_String. Zope-2.1.7-src/doc/CHANGES.txt only lists: Bugs Fixed - An inadequately protected base class method made DTMLDocuments and DTMLMethods vulnerable to having their

[Zope] newbie question

2000-06-16 Thread Alexander N Gould
Now that I've set up some virtual hosts off my zserver, I have another question. These sites (each in a folder in the zope DB) share a lot of data in the form of some custom zobjects representing contacts, calendar items, and posts to discussion boards. If I put these objects in folders on the

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

2000-06-16 Thread Stephen Cimarelli
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

[Zope] Problems using zope as a xml-rpc server

2000-06-16 Thread Juan Carlos Coruña
Title: Problems using zope as a xml-rpc server Hello Zopistas, I'm trying to implement a xml-rpc server with zope. If I try to retrieve a default index_html from python with xmlrpclib there is no problem, but if I try to retrieve a dtml method with a zsql method inside it responds:

[Zope] manage_delObjects

2000-06-16 Thread Pierre Rougier
Hi all :^) I have a problem with manage_delObjects: this is the text of one of my dtml-method: dtml-var standard_html_header dtml-in "PARENTS[0].objectValues(['ObjetBIB'])" sort=key dtml-if "id ==QUERY_STRING" dtml-call "manage_delObjects(_[id],[REQUEST])" dtml-var idBR

[Zope] R: [Zope] manage_delObjects

2000-06-16 Thread Marcel Preda
Hi all :^) I have a problem with manage_delObjects: this is the text of one of my dtml-method: dtml-var standard_html_header dtml-in "PARENTS[0].objectValues(['ObjetBIB'])" sort=key dtml-if "id ==QUERY_STRING" dtml-call "manage_delObjects(_[id],[REQUEST])" dtml-var

Re: [Zope] Zope on OpenBSD

2000-06-16 Thread Ragnar Beer
Don't use the version from the ports tree. That's absolutely right. Use the package instead! You can simply ftp the python-1.5.2 package from ftp.openbsd.org or one of its mirrors. This way it took me about 5 minutes to get Zope running from source under OpenBSD 2.6 on an i386. No need to

[Zope] [Fwd: [Zope] manage_delObjects]

2000-06-16 Thread Pierre Rougier
Pierre Rougier a écrit : Pierre Rougier a écrit : Hi all :^) I found (thanks to Jerome) that was: dtml-call "manage_delObjects(_['id'], REQUEST)" 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

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

[Zope] Worldpilot-no Mail-frameset

2000-06-16 Thread Kai Festersen
Hello, I installed WorldPilot and CommuniGate. If I start WorldPilot, there is no mail-framset (Errorcode look at foot) - know something the problem and can help me? Thanks Kai Festersen - --- Hallo, ich

Re: [Zope] Facing problems with MySQLDA

2000-06-16 Thread Nick Garcia
vikas wrote: Sir, I am still a new user of zope and I want to use MySQL database with zope. I have downloaded ZMySQLDA1.4 (stable). I have followed all the steps for installing properly but still I am unable to use MySQL connection. I have also added a Product named as ZMySQLDA in the

[Zope] Comfirming Hotfix is installed.

2000-06-16 Thread Ian Thomas
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. ___ Zope maillist - [EMAIL PROTECTED]

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

Re: [Zope] Comfirming Hotfix is installed.

2000-06-16 Thread Jim Washington
Look in /Control_Panel/Products for the Hotfix_xx Product. -- Jim Washington 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.

[Zope] one more way to make advertisement :)

2000-06-16 Thread Vitaly Osipov
now Zope is even more famous :))) http://www.securityfocus.com/bid/1354 but i do not see any exploits there... i'd like to know about details - seems like i'll have to dig into code to reproduce the thing. regards, Vitaly. ___ Zope maillist -

RE: [Zope] Comfirming Hotfix is installed.

2000-06-16 Thread Brian Lloyd
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. Yes - that is one of the nice side-benefits of doing it this way: look in the Control_Panel/Products and you

[Zope] Zope Database Connection

2000-06-16 Thread Ivan Raikov
Hi all, I am trying to figure out a way to use a Zope Database Connection object from within a Python class, which is then going to be subclassed by a ZClass. In my Python class, I want to have an instance of the parent class of all Zope Database Connections, so that I can work with all types

[Zope] dtml-sqltest to support SOUNDEX?

2000-06-16 Thread Kyler B. Laird
I think I've determined that there's no clean way to specify a function to be used on a sqltest variable. I'd like to be able to do something like dtml-sqltest soundex(lname) column="soundex(last_name)" type=nb optional but it doesn't seem possible. I hope that I am missing something.

Re: [Zope] neted dtml-in and ZSQL methods

2000-06-16 Thread Dieter Maurer
[EMAIL PROTECTED] writes: Suppose, you have a database, items, that has fields product and scheme. You are processing a form that has field old_product and new_product. You have a ZSQL method, get_scheme, with parameter old_product and body select * from items where product =

[Zope] get fssession value

2000-06-16 Thread Richard Bartels
Hello, I'm sure this is simple, but have not been able to come up with the correct way. If I do this, dtml-call "FSSession['username'].update(REQUEST.form)" and then retrieve with, FSSession['username'] I get {'username':'something'} when of course all I want is something. Thanks much,

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

2000-06-16 Thread Graham Chiu
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 In article [EMAIL PROTECTED] , Brian Lloyd [EMAIL PROTECTED] writes o release a "Product" today that, if you install it and restart your Zope (no matter what version), patches the hole at runtime (in memory change only). I'd go for that.

Re: [Zope] Containment or context

2000-06-16 Thread Michel Pelletier
Evan Simpson wrote: - Original Message - From: Michel Pelletier [EMAIL PROTECTED] Evan Simpson wrote: for p in REQUEST['PARENTS']: if hasattr(p.aq_explicit, propname): return getattr(p, propname) raise AttributeError, propname I think you might be missing

[Zope] Products vs. ZClasses- Design Question

2000-06-16 Thread Garrin Kimmell
Hello, I would like some thoughts on design strategies for Zope classes. I am developing a site that will require writing some custom classes. I would appreciate any opinions anyone could offer. I apologize for such a long message. My class will have some instance variables along with some

[Zope] Odp: [Zope] Re: [Zope-dev] Zope ...2.1.7 update - patch for EMarket 0.1.03

2000-06-16 Thread Adam Karpierz
Hi Adam, I looked at your patch... *** EMarket.py.orig Thu Jun 01 00:06:01 2000 --- EMarket.py Fri Jun 16 02:56:35 2000 *** *** 258,265 newMainF.transactionFolder = newTransF Products.MailHost.MailHost.add(newMainF, 'eMarketMailhost', !

[Zope] MySQL questions

2000-06-16 Thread Rogerio Atem de Carvalho
Hi, I am a Zope Newbie and would like to ask some questions regarding to Zope + MySQL: 1)How can I upload file content to TEXT (plain text) and BLOB (images: jpg, gif) using DTML? 2)How can I create interface fields with multiple lines to edit (insert and update) MySQL text columns? 3)Is

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

2000-06-16 Thread Adam Karpierz
And I thought I was the only one who had GPF's with 2.2b1! Oh no !. You are not one :0 But its true too that I more prefer (and still love:) Zope with GFP then something else without GFP :)) Adam Karpierz [EMAIL PROTECTED] ___ Zope maillist -

[Zope] WebServers with Exotic Features

2000-06-16 Thread Fabio Akita
Hello again. More problems to be solved :) Now I've been trying some exotic things:) The tests are still going on in a NT machine. Here's what I'd like to do : I have installed Apache for NT (yes, I know it's still beta but I am waiting for a new Linux server that will be here in a few days :)

[Zope] SMTP server external method??

2000-06-16 Thread Jon Brisbin
Has anyone attempted a python-based SMTP server that creates a Zope object immediately upon recieveing email??? If not, how do you handle email in zope for a web-based system?? just periodically create objects from the contents of /var/spool/mail/user ... or use some other method?? ideally,

Re: [Zope] Products vs. ZClasses- Design Question

2000-06-16 Thread Jeff K. Hoffman
On Fri, 16 Jun 2000, Garrin Kimmell wrote: Hello, [snip] I've thought of three ways to develop the class: 1. Develop the entire class as a Zope product in Python. The advantage I see here is that developing the application logic is fairly straightforward with Python. I see problems,

Re: [Zope] WebServers with Exotic Features

2000-06-16 Thread Fabio Akita
Hello once again (sorry for bothering so much) I've found the solution for part of the question I wrote some minutes ago :) RewriteCond %{HTTP_HOST}^zope\.server\.com\.br RewriteRule ^(.*) /zope$1 [P,R] RewriteCond %{HTTP_HOST}^iis\.server\.com\.br RewriteRule

RE: [Zope] Products vs. ZClasses- Design Question

2000-06-16 Thread Charlie Derr
Jeff wrote: ~ As explained above, this advantage is shared by Python Products also. You ~ do *not* want to write application logic with DTML. At a minimum, use ~ Python Methods. Otherwise, use Python. ~ Let me apologize in advance because i think this is going to turn out to be a really stupid

[Zope] SiteAccess 2.0.0b1 released

2000-06-16 Thread Evan Simpson
Finally, SiteAccess 2 for use with Zope 2.2b1 and up is ready. http://www.zope.org/Members/4am/SiteAccess2 Cheers, Evan @ digicool 4-am ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML

[Zope] Re: get fssession value

2000-06-16 Thread Hung Jung Lu
--- In [EMAIL PROTECTED], "Richard Bartels" [EMAIL PROTECTED] wrote: dtml-call "FSSession['username'].update(REQUEST.form)" ... I get {'username':'something'} Try: dtml-call "FSSession.update(REQUEST.form)" regards, Hung Jung

[Zope] Newbie query, localhost:8080 doesnt work!!

2000-06-16 Thread Rajil Saraswat
Hi , I have just installed zope on linux-mandrake . The Zserver is running but when i point the browser to localhost:8080, nothing comes up. Do i need to configure something else. Is there any guide online which gives step by step information on setting up zope of Linux/Unix Please help it is

RE: [Zope] Newbie query, localhost:8080 doesnt work!!

2000-06-16 Thread Chris McDonough
See http://www.zope.org/Members/mcdonc/HowTos/zopeinstall/ZOPE-INSTALL-HOWTO -Original Message- From: Rajil Saraswat [mailto:[EMAIL PROTECTED]] Sent: Friday, June 16, 2000 7:57 PM To: [EMAIL PROTECTED] Subject: [Zope] Newbie query, localhost:8080 doesnt work!! Hi , I have

[Zope] ZClass-within-a-ZClass not in subobjects list?

2000-06-16 Thread Matt Behrens
No matter what I do, I can't seem to make a ZClass a subobject of another ZClass. I'm really not sure what I'm missing. Here's what I've done: 1. Created a new product: WhiteboardProduct. 2. Created a ZClass within that product that inherits from ObjectManager: Whiteboard. Allowed Zope to

[Zope] Re: [Zope-dev] Zope ...2.1.7 update - patch for EMarket 0.1.03

2000-06-16 Thread Steve Spicklemire
Hi Adam, I looked at your patch... *** EMarket.py.orig Thu Jun 01 00:06:01 2000 --- EMarket.py Fri Jun 16 02:56:35 2000 *** *** 258,265 newMainF.transactionFolder = newTransF Products.MailHost.MailHost.add(newMainF, 'eMarketMailhost', !

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

2000-06-16 Thread Brian Lloyd
Hi guys, First of all, I'd like to apologize for the pain factor here - there has been some CM process changes around here and the 2.1.x branch is suffering as a result :( I have a proposal, however, that I hope will make this much easier. How about if we: o release a "Product" today

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

[Zope] (no subject)

2000-06-16 Thread Ron Bickers
Howdy all, I discovered something bizarre that happens in my 2.1.4 and 2.2b1 installations. I have a ZClass based on ObjectManager. In an instance of the ZClass, I can "Add" most of the available objects (DTML Documents, DTML Methods, User Folder, MailHost to name a few). However, for at

[Zope] Problem with adding items to ZClass instance

2000-06-16 Thread Ron Bickers
[Doh... I don't read messages without subjects. Here 'tis again. Sorry.] Howdy all, I discovered something bizarre that happens in my 2.1.4 and 2.2b1 installations. I have a ZClass based on ObjectManager. In an instance of the ZClass, I can "Add" most of the available objects (DTML Documents,

[Zope] Updated security alert

2000-06-16 Thread Brian Lloyd
Hi all - I've updated the security alert (below). Short story: a new "hotfix product" is available on zope.org that will work for all 2.0+ Zopes and has no side effects or upgrade implications for Zope installations. This feels like a much better model for things like this, especially for