[Zope-dev] Compiled Python as an Extension file

2000-06-22 Thread Dr. Peer Griebel
Hi, I managed to patch zope to accept compiled python files in the Extensions directory. I don't know what to do with my path. Where could I put it - into the Wiki pages? -- connection reset by Peer ___ Dr. Peer Griebel

Re: [Zope-dev] Compiled Python as an Extension file

2000-06-22 Thread Martijn Pieters
On Thu, Jun 22, 2000 at 08:53:41AM +0200, Dr. Peer Griebel wrote: I managed to patch zope to accept compiled python files in the Extensions directory. I don't know what to do with my path. Where could I put it - into the Wiki pages? Hi Peer, Patches best go in the Collector:

Re: [Zope-dev] zope-cocoon interoperability

2000-06-22 Thread drawingincode
hi and thanks to Josh Zeider for responce:) The very fine and wonderfull cocoon leader posted this today Stephano Mazzocchi wrote I don't know of Zope's support for XML but I like their project, they are a serious group of developers and I've been told their software rocks. This is very good

Re: [Zope-dev] ZPatterns bug. Very serious.

2000-06-22 Thread mike
Well, it should be: ## # Add this to see what I mean try : print "%s 'self'=%s" % ( key, slot.values()[0].__dict__ ) except :

[Zope-dev] ZEO on NT? update

2000-06-22 Thread julio dinis
Hi, I can see now that the problem is not per Data.fs but per object. The problem isnt that 2nd Client to run cant write do Data.fs, I found that its a per object conflict and not Data.fs, both clients can write to the ZSS but once client B writes to object X, Client A will never see the changes

[Zope-dev] Re: possible bug in dtml-in

2000-06-22 Thread Jonothan Farr
You want sequence-end, not sequence-last. That just bit me yesterday. ;) --jfarr "Perl is worse than Python because people wanted it worse." Larry Wall, 14 Oct 1998 - Original Message - From: Federico Di Gregorio [EMAIL PROTECTED] To: Zope Dev [EMAIL PROTECTED] Sent: Thursday, June 22,

Re: [Zope-dev] possible bug in dtml-in

2000-06-22 Thread Jim Sanford
Shouldn't that be "sequence-end" instead of "sequence-last"? - Original Message - From: Federico Di Gregorio [EMAIL PROTECTED] To: Zope Dev [EMAIL PROTECTED] Sent: Thursday, June 22, 2000 12:16 PM Subject: [Zope-dev] possible bug in dtml-in hi *, an external method returns a list of

RE: [Zope-dev] Another bug in DA.py?

2000-06-22 Thread Brian Lloyd
If I try the following ZSQL method it displays de authorization window: dtml-let Cl="get_Cliente(N_='22606')[0]" select * from Cliente where N_='22606' /dtml-let but if I try the next ZSQL method it displays the correct result (the difference is theinteger index in the first line):

Re: [Zope] Connect String for mysql with SQLRELAY

2000-06-22 Thread Roman Milner
You will need to have a sqlrelay server running somewhere that is connected to your mysql database. A given sqlrelay server running on a given port will only be connected to one database - so the informaiton below is all that is needed by the sqlrelay adapter. The sqlrelay xml config file

Re: [Zope] External Method Difficulties

2000-06-22 Thread Dieter Maurer
Jason Lee writes: ... external method access ... dtml-call genhash This says, "call the method (for its side effects) but discard any return value". This produces nothing. I think I read somewhere that dtml-call returns no data, so that might explain it. I could be wrong. You are

Re: [Zope] Newbie CGI question

2000-06-22 Thread Dieter Maurer
[EMAIL PROTECTED] writes: How can I access the variables passed into a DTML called as a Form by another DTML? it has the usual ?x=1y=2 ... stuff - I'd really like to loo through these. Usually, between DTML1 (creating the form) and DTML2 (accessing the form content) is the WWW browser. I

Re: [Zope] Local File System (LocalFS) install problems

2000-06-22 Thread Dieter Maurer
J. Atwood writes: (I have searched the newsgroups and zope.org) I downloaded and installed LocalFS (untar in zope dir) restarted Zope (2.1.6 on Linux running as Nobody). The Local File System is an available object but when I try to add it to any folder I get.. Error Type: IOError

[Zope] Reversing acquisition?

2000-06-22 Thread zoper
Hi All, Here's the situation I have a tree such that /index_html /text_object_1 /text_object_2 /subfolder/text_object_1 /subfolder/text_object_2 where content is: /index_html dtml-var standard_html_header table trtddtml-var text_object_1 fmt=structured-text/td/tr

[Zope] Re: SiteAccess 2.1.6

2000-06-22 Thread Oleg Broytmann
On Wed, 21 Jun 2000, ethan mindlace fremen wrote: Oleg Broytmann wrote: 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 :( I am using SiteAccess and 2.1.6 at iMeme, and they play fine together.

Re: [Zope] Zope jobs.

2000-06-22 Thread Erik Enge
On Wed, 21 Jun 2000, ethan mindlace fremen wrote: So I ask for your patience: I will be moving on this soon. Great! Be sure to let us know :-). ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts

[Zope] Writing to LocalFS

2000-06-22 Thread J. Atwood
(thanks to Jonathon and Dieter... for the permissions problem. That did the trick) Again, after some searching, I am looking for the syntax to write a file / append to a file in a Local File System. This is certainly where my Python days seem to slow my down b/c I would have just: contents

Re: [Zope] Validating page entry help

2000-06-22 Thread Graham Chiu
In article [EMAIL PROTECTED] , Stuart Foster [EMAIL PROTECTED] writes 1. What is the best way to do page validation before it is submited. 2. If the way I am doing it seems to be an ok way, how do I go BACK with out losing everything (equivalent of pressing the back button) Stuart Foster

[Zope] Problem with the datatype lines

2000-06-22 Thread Anders Holmbech Nielsen
Hi Zopers, I have found out that when using the datatype "lines" in my own ZClass it won't obey to the locale settings. That means that the words coming from "lines" look like: t/370nk. And therefore they don't get correctly indexed in the database. I'm running Zope 2.1.6 (on both linux and

[Zope] Problem to init a DTML Document by uploading a file

2000-06-22 Thread Frédéric Quin
Hi all, I did'nt manage to init a DTML Document by uploading a file. I wrote : dtml-call "manage_addDTMLDocument('my_id_html','','/home/index.html') I tried too : dtml-call "manage_addDTMLDocument('my_id_html','',file='/home/index.html') And also : dtml-call

Re: [Zope] Problem to init a DTML Document by uploading a file

2000-06-22 Thread Oleg Broytmann
On Thu, 22 Jun 2000, Frédéric Quin wrote: Zope always creates a DTML Document and init his body with the path of the file : it never uploads the file... Zope should not download the file itself - imaging the situation when you work on one computer, and Zope on another. What is the file

Re: [Zope] Dynamic sorting key?

2000-06-22 Thread Steve Spicklemire
This is (mostly) the point if Zieve: http://www.zope.org/Members/sspickle/Zieve the good news is it's much more powerful than 'sort='. The bad news is it's much more complex than 'sort='. It also (currently) uses a cookie for each Zieve instance. I'd love any feedback on making this product

Re: [Zope] Writing to LocalFS

2000-06-22 Thread Rik Hoekstra
(thanks to Jonathon and Dieter... for the permissions problem. That did the trick) Again, after some searching, I am looking for the syntax to write a file / append to a file in a Local File System. This is certainly where my Python days seem to slow my down b/c I would have just: contents

Re: [Zope] ZServer+SiteAccess+Apache+SSL

2000-06-22 Thread T.J. Mannos
Wayne, I just wrote a HOWTO documenting how to do exactly that. One thing that I didn't mention (that I probably should have) is that communication between Apache and ZServer is not necessarily secure, so you'll definitely want them both on the same machine!

Re: [Zope] python product - newbie

2000-06-22 Thread Loren Stafford
I don't know about registering nested classes. I think Dieter Maurer answered that in his response to your original email. http://www.zope.org/Members/Zen/howto/ProductAPITutorial is the old way of doing it. http://www.zope.org/Members/gtk/Boring/HowTo-Boring documents the new way by example.

Re: [Zope] Zope in the UK

2000-06-22 Thread Robin Becker
In article 006101bfdbf1$da7eaf40$[EMAIL PROTECTED], peter be [EMAIL PROTECTED] writes Hello Britts!   I live and work in London as a webdeveloper, but I haven't had a chance to stuck me teeth to some Z work here yet. Are there no Zope developers in the UK, and especially in

RE: [Zope] Re: SiteAccess 2.1.6

2000-06-22 Thread Wright, Geoff
Oleg Broytmann writes: I am using SiteAccess and 2.1.6 at iMeme, and they play fine together. This is one success story among millions failures. I certainly would not upgrade to 2.1.6. I am running SiteAccess on two 2.1.6 installs -- one on a RedHat 6.1 box and the other on a RH6.2

[Zope] Re: Writing to LocalFS

2000-06-22 Thread Jonothan Farr
Again, after some searching, I am looking for the syntax to write a file / append to a file in a Local File System. This is certainly where my Python days seem to slow my down b/c I would have just: contents = open('/path/file.txt', "r") to read and contents = open('/path/file.txt',

Re: [Zope] Reversing acquisition?

2000-06-22 Thread Patrick Lewis
Try changing /index_html as follows: dtml-var standard_html_header table trtddtml-var "PARENTS[0].text_object_1" fmt=structured-text /td/tr trtddtml-var "PARENTS[0].text_object_2" fmt=structured-text /td/tr /table dtml-var standard_html_footer Basically force Zope to look in the current

[Zope] Quickstart problems...

2000-06-22 Thread addyd
Hi all, Recently set up my first IIS server. Installed ActivePerl and Python. Installed latest Zope beta. Restarted and looked good to go. Got the "Welcome to Zope" page at: http://xanadu.unk.edu:8080/ Click on the "QuickStart" link. Good. Click on any tree symbol "+". Good. Click on any next

[Zope] ZODBC DA Fails to show in installed products.

2000-06-22 Thread RMarkman
I just installed Zope 2.1.6 and the ZODBCDA (ZODBCDA-3.1.0b2-win32-x86.tgz). After unpacking into the lib tree, ZODBC doen't show as an installed product. I've stopped and started the service, rebooted, etc. There is no entry for the ZODBCDA in product management, thus no way to look at the

Re: [Zope] Reversing acquisition?

2000-06-22 Thread Jeff K. Hoffman
On Thu, 22 Jun 2000, Patrick Lewis wrote: Try changing /index_html as follows: dtml-var standard_html_header table trtddtml-var "PARENTS[0].text_object_1" fmt=structured-text /td/tr trtddtml-var "PARENTS[0].text_object_2" fmt=structured-text /td/tr /table dtml-var

RE: [Zope] Quickstart problems...

2000-06-22 Thread Brian Lloyd
Do I have something misconfigured, or is Quickstart broken with latest beta? Darren Addy Darren - The QuickStart was broken in beta 1. Its fixed in beta 2 (out late today or early tomorrow). Brian Lloyd[EMAIL PROTECTED] Software Engineer 540.371.6909 Digital

RE: [Zope] Quickstart problems...

2000-06-22 Thread addyd
Brian, Thanks for the quick reply. What is the procedure for upgrading to beta 2? Relatively painless? Is there an Uninstall I will need to do for beta 1? Also, it appears that How-To: Zope2, IIS, and PCGI ( http://www.zope.org/Members/brianh/iis_howto/index_html ) is outdated (if you install

Re: [Zope] newbie question

2000-06-22 Thread ethan mindlace fremen
Alexander N Gould wrote: 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

Re: [Zope] Adding users via external method

2000-06-22 Thread ethan mindlace fremen
Timothy Grant wrote: I'm working on a project where it would be very nice to add all the original users via a script. I'm working with an external method that should--I believe use manage_user() to add the users. I use a dtml_method for this, actually. I don't know how to do it with an

[Zope] Stupid question of the day

2000-06-22 Thread Andy McKay
How do I find the size of the results returned by the catalog? ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists -

[Zope] Zope 2.2 beta 2 released

2000-06-22 Thread Brian Lloyd
Hi all, Zope 2.2.0 beta 2 has been released - you can download it from Zope.org: http://www.zope.org/Products/Zope/2.2.0b2/ This release resolves the outstanding issues from beta 1 as well as the integrated fix for the recent security issue and further refinements of the help system. For

RE: [Zope] Select Box Problem

2000-06-22 Thread caseman
The entire form is in a dtml-in that has a customerid value. I would like to have the current customer show up in this box. How would I tell the select box to select the current custoemer as default? I had a similar issue on a form I created. There are basically two ways to make this work. One

Re: [Zope] More reliable Database Adapter for linux

2000-06-22 Thread Rogerio Atem de Carvalho
Maybe the correct question is the most reliable combo DA+DB. Regards. How about: Zope+ZODB ? I have a question: Will ZODB have something like OQL? The problem in using ZODB is to do simple queries and link different class object instances in queries (SQL join). It is hard to do

[Zope] Fwd: Re: [Zope-dev] ZEO on NT? update

2000-06-22 Thread julio dinis
From: "julio dinis" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: [Zope-dev] ZEO on NT? update Date: Thu, 22 Jun 2000 14:05:07 PDT Ok. :-) Continuing with the ZODB.POSException.Conflit... Now I know the problem with Zeo on NT is with the ClientStorage and not with the ServerStorage.

[Zope] Object URLs like Zope with Java servlets / EJBs?

2000-06-22 Thread Hamish Lawson
Are there any Zopistas with experience also of Java servlets/EJBs? From my reading so far I get the impression that servlets/EJBs roughly correspond to Zope's products. What I'm not sure is whether any Java app servers have Zope's concept of having URL paths to object instances, or whether

[Zope] Is DTML a bastardized form of XML, or valid XML?

2000-06-22 Thread Kevin Howe
Hi, just wondering if DTML is actually a valid form of XML, or a bastardized version of XML created specifically for ZOPE. I've done a little reasearch on XML, and I it seems like DTML tags such as: dtml-var "..."or dtml-if "..." ... dtml-else ... /dtml-if aren't really valid XML

[Zope] new product: NISUserFolder

2000-06-22 Thread Jonothan Farr
I've created a new product similar to etcUserFolder that authenticates against an NIS database. http://www.zope.org/Members/jfarr/Products/NISUserFolder/ This also improves upon the etcUserFolder product by defining a separate role for each user group, allowing more fine-grained control of

Re: [Zope] Zope 2.2 beta 2 released

2000-06-22 Thread Gregory Tucker
Hi, If I want to start learning Zope from scratch, should I use the "stable" release, 2.1.x, or should I start with the latest beta release? How good is the documentation for the beta release? Will it have bugs that are frustrating to a new learner? Your feedback is appreciated. Regards, Greg

[Zope] Problem with LocalFS

2000-06-22 Thread jensebaer
Hello, I want to upload files to LocalFS. I created a LocalFS with the id: images I don´t want to use the existing addImageForm to create a new Image in the LocalFS. I want to use two DTML Methods uploadform form

[Zope] Re: Problem with LocalFS

2000-06-22 Thread Jonothan Farr
This is a known problem with LocalFS. The only workaround I know of is to put your dtml code into a file, give it a .dtml extension, and place it in the directory you want to upload to. This problem will be addressed in the next version of LocalFS. --jfarr "Perl is worse than Python because

Re: [Zope] Zope 2.2 beta 2 released

2000-06-22 Thread T.J. Mannos
Umm, help? 2000-06-23T01:49:23 ERROR(200) ZODB Couldn't load state for '\000\000\000\000\000\000\003z' Traceback (innermost last): File /usr/Zope-2.2.0b2-solaris-2.6-sparc/lib/python/ZODB/Connection.py, line 441, in setstate TypeError: ('len() of unsized object', class Shared.DC.ZRDB.DA.SQL at

Re: [Zope] Re: Is DTML a bastardized form of XML, or valid XML?

2000-06-22 Thread Martijn Pieters
On Thu, Jun 22, 2000 at 05:45:58PM -0700, Hung Jung Lu wrote: The rest should be handled through a good GUI (Graphical User Interface), with fancy stuff like collapsable panel items. I hope Digicool is doing something like this with their Mozilla project. This kind of feature may indeed

Re: [Zope] External Method Difficulties

2000-06-22 Thread Jason Lee
Dieter Maurer wrote: dtml-var genhash That should work. What KeyError do you get? The error message's head should tell you what key has not been found. The traceback at the foot (especially the last line) tells you where the KeyError occured. After I posted, I did some more wild,