Re: [Zope-dev] Recursive Folder creation error
Jason Spisak wrote: Zopists, I tried the example given by Kapil Thangavelu. from OFS import Folder try replacing the above with: from OFS.FOlder import Folder cheers, Chris ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
[Zope-dev] Recursive Folders
Zopsters, The line folder = Folder() was suposed to be folder = Folder.Folder() Thanks again! All my best, Jason Spisak [EMAIL PROTECTED] ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
Re: [Zope] REQUEST.set size
maybe you should try to put your data in a list or a dictionary. Anyone can help with the syntax? I can't remember... =) Paul Zwarts wrote: Hi all, I am new to Zope but worked for 2 years in a dev-env called Uniface so Im fairly up to speed on Zope quickly. But I am having a problem writing data through a REQUEST.set that is larger than its apparent limit. (sorry can remember the exact error i get from Zope) What I am trying to do is collect in a field a large list of emails that are gathered in a dtml-in statement with a REQUEST.set('all', all + email) nested in the loop. While appending the namespace to store the data in PGSQL, i always get the size error which i assume is coming from the publisher saying that a the request can only have a byte size of 1800 bytes or so. Im not so hot with straight SQL because Uniface had its own methods, so Im not sure if I can append data directly to a stored field or if I need to continue trying to use the REQUEST.set. After the hundreth occurence in the IN, the namespace I use to store the appended data, so I cannot fully make a list of 2000 occurences. Any ideas? Sorry, no code to show what Im doing but it should be pretty easy to understand for all you veterans out there... TIA, -- Paz Oratrix Development BV http://www.oratrix.com GRiNS SMIL Editor - ___ 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 ) -- Manuel Amador (Rudd-O)
[Zope] urgent
hi, i am using zope(2.2.1) for sending mails, but it is not possible to send attachment. kindly let me know the reason have made use of mime to send attachment. thanks, jacintha ___ 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] (no subject)
I want to create a large number of properties for a Zclass. My Zclass has a propertysheet named Schedule. I've tried stuff like this: dtml-with propertysheets dtml-with common dtml-with Schedule manage_addProperty(name='foo', value='bar', type='string') /dtml-with /dtml-with /dtml-with The dtml-with's don't get an error, so I must be popping namespaces on properly. But the manage_addProperty always results in: invalid attribute name, "manage_addproperty(name", for tag dtml-call manage_addProperty(name='foo', value='bar', type='string'), on line 10 of makeSched =Rob== J= =Roos= And more and more, as I see all these prisons going up, and everybody being sent off to prison, with three strikes and so on, they are preparing, really, for a showdown with the American people. They're already talking about housing for minor drug offenders the old Army camps that are being shut down. To pen them in. More animal farming. The animals are going to turn one day and bite. And even now, perhaps, as we are chatting, there is some young boy or girl who will grow up and overthrow this government. Because it has overthrown our old republic; it seems to be doing its best to overthrow our Bill of Rights and the Constitution ... -Gore Vidal, novelist, essayist, and cousin of Al Gore 1996 interview on "We the People" with Jerry Brown www.wtp.org/radio/transcripts/tr960708.html ___ 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] Microsoft Zope
On 16 Oct 2000, 12:27 Damien Morton wrote: http://msdn.microsoft.com/library/default.asp?URL=/library/techart/Des ignKMS ols.htm Looks like MS has embraced the Zope way of doing things "You must have scripting enabled in order to view this site. Please modify your browser's settings accordingly. " Eeek. -- o ( [EMAIL PROTECTED] (+49 2241) 14-2394 /\* GMD mbH #include _`\ `_=== Schloss Birlinghoven, std.disclaimer __(_)/_(_)___.-._ 53754 Sankt Augustin, Germany ___ 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] Upgrade from 201 to 222
Hi all, I have installations of Zope, one for development and one for our live system. We had run Zope 201 on both machines for quite some time, and have just migrated the devshop to the latest Zope build 222. I have noticed that the import/export mechanisms work and I can import across both verisons, but before I was able to export an entire folder and then import it. Now from old to new, I get an error Error Type: TypeError Error Value: ('len() of unsized object', , None) What does this mean? I can still import single objects, but it is a major pain to import one by one, as there so many. Using an XML type doesnt work either because you cannot seem to apply that to a folder of objects either. Does anyone know about any issues that deal with this problem or am I missing something? Cheers and TIA, -- Paz Oratrix Development BV http://www.oratrix.com GRiNS SMIL Editor - ___ 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: Zope digest, Vol 1 #1019 - 28 msgs (I will be out of theoffice Monday, October 16th)office Monday, October 16th)
I will be out of the office on Monday, October 16. If you require assistance, please contact the DEQ helpdesk at 241-7495. ___ 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] [OT ?... HTTP ?...] redirect W/ POST data
Hi, [This message may be off-topic Sorry...] I know how to do a RESPONSE.redirect with GET data (very easy : RESPONSE.redirect ('url?data=valueso_on=xxx'). But I'd like to do the same with POST data, that is, data that doesn't show up in the URL. I suppose there is a way to feed RESPONSE.headers with such data - although I'm not sure of it - but is there a better way (if there is a way...) to do this ?... Many thanks, P.-J. -- If the only tool you have is a hammer, you tend to see every problem as a nail. Si le seul outil dont vous disposez est un marteau, vous avez tendance à voir chaque problème comme un clou. --Abraham Maslow ___ 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 digest, Vol 1 #1019 - 28 msgs (I will be out of theoffice Monday, October 16th)office Monday, October 16th)
Ok...No problem...We will... - Original Message - From: "Darin Lee" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, October 17, 2000 10:34 AM Subject: [Zope] Re: Zope digest, Vol 1 #1019 - 28 msgs (I will be out of theoffice Monday, October 16th)office Monday, October 16th) I will be out of the office on Monday, October 16. If you require assistance, please contact the DEQ helpdesk at 241-7495. ___ 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 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] MySQL and Zope struggles
You can do it with temporary tables. Like this- create temporary table foo ( note_id int, notes varchar ); insert into foo select Note.note_id, Note.notes from Note, Artist where Note.note_id=Artist.note_id and Artist.artist_id=23; update foo set notes="asdlfna"; replace into Note select note_id, notes from foo; This does assume that the note_id is unique. You may also need to explicitly drop foo, because it goes away when you disconnect, but of course Zope holds connections open. !!! However -- now that I think of it... you can just do: replace into Note select note_id, "New Note" from Artist where artist_id=23; Of couse, this will change all notes for an artist, so it assumes the artist_id is unique as well. (Which I would assume it is from your model.) If you need more complex things, look into temporary tables, but the MySQL extension (like replace) do allow you to do fun things. Hope this helps, Monty Richard Moon wrote: Nice idea. Trouble is the note table is used to hold notes for many different reasons, so it looks like this - --- | Artist| | Recording | | Label | etc. --- | artist_id | |recording_id| |label_id| | note_id | |note_id | |note_id | --- | || | | - | -- | Note | -- | note_id | | notes| -- It looks as if there wasn't anything I was missing - I'm just going to have to break the code up into separate SQL Methods. The example I gave was quite simple compared to some of the updates I have to deal with. Thanks anyway. At 17:40 16/10/00, you wrote: Or you could renormalize your data to have: - --- | Artist | | Note | |-|---|---| | id | | id| -| artist_id | | note_str | --- you now have a list of notes by artist_id. You typically won't have a screen that doesn't have an Artist context to be adding a note to. (or to remove all notes from). Of course this means more work to migrate :-( And I don't know all possible scenarios for which you would need the structure you gave, but it is another way around this. It probably doesn't solve real complex scenarios either. JAT Dale Richard Moon [EMAIL PROTECTED] ___ 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 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] Medusa Monitor
At 1:18 pm -0700 16/10/00, Karl Anderson wrote: Terry Kerr [EMAIL PROTECTED] writes: I don't think the monitor gives you any advantage? I have never used a ptyhon prompt before...I will have to give it a go. terry Actually, the advantage of the monitor is that it runs in the same process as your server, so you can track resource issues. Mounting the database separately avoids this. -- Karl Anderson [EMAIL PROTECTED] Karl, Is there anywhere documented that describes how to track resource issues? I regularly have Zope processes that hit 150 Megs of RAM and would like to know if I'm doing anything dopey. cheers tone. -- Dr Tony McDonald, FMCC, Networked Learning Environments Project http://nle.ncl.ac.uk/ The Medical School, Newcastle University Tel: +44 191 222 5116 A Zope list for UK HE/FE http://www.fmcc.org.uk/mailman/listinfo/zope ___ 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] Roles as members of other roles?
I've not kept up with all the different mechanisms for users and groups that are currently under development in the Portal Tookit and other activities. Do any of them support the idea of a role or group collectively being a member of some other role? For example, if there was a MarketingStaff role consisting of a number of users, then various other roles throughout a company website could be allocated to the MarketingStaff group collectively rather than having to be allocated individually to each member of this group. Hamish Lawson Do You Yahoo!? Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk or your free @yahoo.ie address at http://mail.yahoo.ie ___ 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] Force DTML evaluation?
I created a Renderable derived ZClass to act as a "content box". I am basically providing title and content attributes, and when called like dtml-var myBox it nicely renders into an HTML table. Then I realised I could not use DTML in the content (type: text). duh! Is there a function I could use like like dtml-var "do_the_dtml_magic_with(content)"? My second try was to derive from DTMLDocument but I could for the heck of it not figure out how to call the baseclass' methods. In python I would use baseclassname.method() but this seems impossible in ZClasses... Any insights appreciated, Stefan ___ 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] Name lookup emulation with a Product
Pierre-Julien Grizel wrote: I looked at the __call__ method (and read the 'isDocTemp' thread ;-) ) and, if I must, I can replace m1 and m2 with a __call__ method taking another parameter specifying what kind of action it has to do. Well, there's another little gem which got covered in a later bit of that thread. Try defining your method like: m1isDocTemp=1 def m1(self,ignored,md): # Your method here Also, check out the code in: http://www.zope.org/Members/htrd/howto/FunctionTemplate which is really helpful in this area. In fact, a FunctionTemplate may be exactly what you're looking for... HTH, Chris ___ 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] Question about Managed Meeting and ZopePTK
Hi, Do you have any idea about integration of Managed Meeting product in ZopePTK? Is it possible to have some dedicated part in main page (like News) for meeting? My idea is to allow registred user to announce a meeting and after approval by manager, the meeting goes to main portal site. Any suggestion? Thank's __ Do You Yahoo!? Yahoo! Messenger - Talk while you surf! It's FREE. http://im.yahoo.com/ ___ 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] DUMB NEWBIE QUESTION
I had this problem myself. I'm using Mandrake 7.1. There are some things to do, depending on which distribution you are using. What I did was use KPackage to uninstall Zope. Then you get http://www.zope.org/Members/nemeth/howtos/zopeandapacherh61 and follow the instuctions. This works for RedHat and Mandrake. Should also work for Turbo Linux and may work for others. That should get you started. Hope that helps. Ron ./. CURTIS David wrote: Friends of Zope, I am trying to get MySQL database connection installed. I was told that I need to use source Zope instead of RPM's ! Fine with me but how do I install Zope source over RPM. I tried unpacking Zope Source and installing but it creates a new directory tar -xvf Zope-2.1 instead of creating a /var/zope. Also zope starts automatically. Are there techniques to work around this??? ___ 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 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] What Products created What Permissions
Michael Bernstein wrote: On a slightly different note, I think that the permissions list should be viewable in two more ways: A view where permissions are grouped into 'subjects', (for example all How about listing what products they're used by/defined in? That could be incredibly useful for me :-) cheers, Chris ___ 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] Access Control vs Publishing Protoco
Seb Bacon wrote: edit a document through webDAV but *not* TTW. In my mind, you're either authenticated to do a task, or you're not. It doesn't matter *how* you do it. That's why 'listable' or something like it would be a better name for the permission than 'URL Traversable', IMHO (although they both sound *ugly*). Very good points :-) Chris ___ 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] Access Control vs Publishing Protoco
Dieter Maurer wrote: Management, however, would be more difficult, as there are no good defaults for the "URL Traversable" permission. It is not easy, to determine (e.g.) for a DTML method/document whether it is only used as a component (such as "standard_html_header") or is a full grown presentation method. The defaults should be as it is now, ie: everything is visible/travesable unless you tell it not to be... cheers, Chris ___ 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] Access Control vs Publishing Protoco
Dieter Maurer wrote: My primary concern (and maybe Chris') is, how can we prevent these objects to be viewed by Anonymous. Yup, that's exactly my point... cheers, Chris ___ 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: Quoting
Dieter Maurer wrote: Where would you use this "id_quote"? The only useful place might be the action of an object creation or renaming. Exactly... However, I am not sure, that I would prefer to get a strangely encoded id rather than an exception that tells me some characters are not allowed in Id's. But if you're automatically creating ids from text people have typed in (and they'll never need to know the id's) it seems nicer to me for the id to be automatically mangled to what it needs to be ratehr than throwing a confusign error (which doesn't actually tell you which character(s) are not allowed, IIRC) cheers, Chris ___ 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] Searching a LocalFS through Zope
Hi all, Well I had sent this earlier but i want to resend this again!! I have not yet received a reply back. Can anyone suggest me a way out ??? I have lots of old html/ documents that I want to publish through my zope portal. To ensure that I do not tweak html files I have used the LocalFS product, also I do not want to **load the data.fs**. Now. I am running into search problems. How do i do a search the filesystem file? and also ensure that the search results come from both the filesystem files and the portal zcatalog.?? I guess there are two ways ?? ** attach a search engine to index on the filesystem files and let zcatalog take care of the rest. ** or make all those html files zcatalog aware.But then u cant look inside pdf/latex/word docs or do u??. I guess I would prefer the first one !! gut feel probably that would require less effort and I can support different file formats . Has anyone used a FREE external search engine ith zope before.If so which one is it ??? -neeloy -Original Message- From: Guido van Rossum [mailto:[EMAIL PROTECTED]] Sent: Monday, October 16, 2000 7:53 PM To: neeloy_saha Cc: '[EMAIL PROTECTED]'; '[EMAIL PROTECTED]'; '[EMAIL PROTECTED]' Subject: Re: Migrating website to zope. Strange though it seems, we are *not* Zope experts (yet). We used an external volunteer to set up our site. I recommend that you post your question to one of the Zope mailing lists -- see www.zope.org for pointers. --Guido van Rossum (home page: http://www.python.org/~guido/) Subject: Migrating website to zope. From: neeloy_saha [EMAIL PROTECTED] To: "'[EMAIL PROTECTED]'" [EMAIL PROTECTED] Cc: "'[EMAIL PROTECTED]'" [EMAIL PROTECTED], "'[EMAIL PROTECTED]'" [EMAIL PROTECTED] Date: Mon, 16 Oct 2000 16:00:43 +0530 Hi all, Sorry if u receive this mail multiple times.I need help desperately. I am working in a migration project where I am trying to reenginer my website from the html/cgi based thing to zope.[something like urs http://www.pythonlabs.com/news/08-22-2000-0001.html ] I have lots of legacy static html documents which I want to use "as it is". So I have taken help of the LocalFS (http://www.zope.org/Members/jfarr/Products/LocalFS) and used it to serve the html documents. Now I am facing a tricky issue of how to do a search on those files ( html )as i do not find any patch which makes them a part of the Zcatalog. I am using the Zcatalog to do the search on other contents of my site. I guess u might have faced the same issue and implemented the search. I desperately need help on this issue. any pointers/code/patches/contact person /how u went abt it!! would be welcome. Thx in advance. -neeloy India ___ 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] Away Message (Apologies)
Zopistas, I apologize for the "Away" messages that have been popping up on the list. I needed to add a "zope.org" to my auto-response ruleset. Unfortunately, I was away - and didn't realize this was happening. :-| Sorry for all the noise, -Darin Lee Analyst / Web Administrator Department of Environmental Quality Office of Automation Coordination Phone: (517) 241-5214 Fax: (517) 241-8379 ___ 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] Searching through the contents of Pdf/Word/latex
Hi all, I am a zope newbie and currently am using the Portal ToolKit and the external file to build a website. I am facing problem in searching the contents of the external file that i upload [ msword/pdf/latex/... ]. The Zcatalog search does not seem to search and index the contents of pdf/doc/latex files. I have looked into HowTo's and the documentation. But being a zope newbie I am finding it difficult to find a way out. I guess that somewhere while making the catalog one has to use converters(pdftotextand its like) and probably then use that to index those documents. Has anyone done this before. Regards, Praveen Katiyar ___ 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 include Flash/SWF objects in Zope website?
At 10/16/00 02:21 PM, Fred Yankowski wrote: Thank you both for the help. File objects are just the ticket (but it turns out that Image objects work nearly as well). For the record, here's what I did: In order to provide alternate content and/or detect which level of Flash player is present, you might want to also include the free Moock "fpi" (f.lash p.layer i.nspector) found at http://www.moock.org/webdesign/flash/detection/moockfpi/ -- Dennis Nichols [EMAIL PROTECTED] ___ 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] dtml-in
Hi ! I want to execute all the dtml documents contain in a folder. I use the dtml-in tag dtml-in "Applications.objectValues('DTML Document')" dtml-var id /dtml-in But I was only able to print the name of the dtml document, how can I execute the script write in the dtml document ? thks a lot for your answer. david ___ 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] ZSQL question
I have a table with lots of data in my Gadfly database. I would like to add a couple of new columns to that table. Is it at all possible to add columns to existing table or do I have to create a new table all together? Regards, George ___ 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] dtml-in
[EMAIL PROTECTED] wrote: But I was only able to print the name of the dtml document, how can I execute the script write in the dtml document ? The following should do it: dtml-in "Applications.objectValues('DTML Document')" dtml-var sequence-item /dtml-in cheers, Chris ___ 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] urgent
dtml-sendmail mailhost="MailHost" To:!--#var to -- From:!--#var from -- Subject: dtml-var subject dtml-mime type=text/plain encode=7bit !--#var comments-- dtml-boundary type="application/pdf; name=jsp-syntax.pdf" disposition="attachment; filename=EquipmentOrder.pdf" encode=base64dtml-in "PrintServiceOrder.PrintPdfs.fileValues(fileName)"dtml-var "_['sequence-item'].getObject()"/dtml-in/dtml-mime /dtml-sendmail PrintServiceOrder is a folder PrintPdfs is a localFileSystem Object Hope this helps Dan jacintha menezes wrote: hi, i am using zope(2.2.1) for sending mails, but it is not possible to send attachment. kindly let me know the reason have made use of mime to send attachment. thanks, jacintha ___ 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 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] Message exchange between distributed python code
Gents, I am currently writing some software in python that is spread over several different computers. These small programs should be able to communicate with each other and send messages that contain instructions between themselves. I am wrapping this up in Zope for the time being (therefore the post to this list :), but in essence this is not directly Zope related as much as a Python decision. One of my prerequisites is that the messaging should be as portable as possible. The message format will likely end up being XML-based, but what I want to know is what kind of message exchange methods are there that are portable and easy to move to another programming language if need be? You see, I am prototyping this thing in python, but some parts may be rewritten in C later on. All POSIX features will be available, so maybe I can use some of that? The suggestions I've gotten so far is: -SMTP (use SMTP to transfer a mail to the other machine containing the message, handle the mail with procmail and write it to a file that the other program can read) -XML-RPC (is this lightweight enough? and is it easy to handle, and does it take care of the transport of the message too? What about C clients/servers?) I think what I want is maybe something like Java's RMI, but it should work with both Python and C. Being able to send messages between programs without too much hassle or overhead while still remaining portable is my goal. Any advice appreciated. And please CC me, as I'm not on the list at the moment. -- Alexander Limi [EMAIL PROTECTED] ___ 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 subject)
Hi Rob, I'm a newbie, but I just finished doing what you are trying to do. Here's how I did it: Product name: NewsItem ZClass: CNewsItem Property Sheet: NewsProperties In the BuildNews dtml method: dtml-call "REQUEST.set('ts', ZopeTime())" dtml-call "REQUEST.set('id', _.str(_.int(ts)))" dtml-with "manage_addProduct['NewsItem']" dtml-call "CNewsItem_add(_.None, _, NoRedir=1)" /dtml-with dtml-with "_.getitem(REQUEST['id']).propertysheets.NewsProperties" dtml-call "manage_changeProperties({ 'PostedBy' : REQUEST['PostedBy'], 'email' : REQUEST['email'], 'Title' : REQUEST['Title'], 'Content' : REQUEST['Content'], 'Expires' : REQUEST['Expires'], 'IconPath' : REQUEST['IconPath'], 'DetailURL' : REQUEST['DetailURL'], 'DetailDescription' : REQUEST['DetailDescription']})" /dtml-with dtml-call "RESPONSE.redirect(URL2)" Hope it helps. Eric. // I want to create a large number of properties for a Zclass. // My Zclass has a propertysheet named Schedule. // // I've tried stuff like this: // // dtml-with propertysheets // dtml-with common // dtml-with Schedule // manage_addProperty(name='foo', value='bar', type='string') // /dtml-with // /dtml-with // /dtml-with // // // The dtml-with's don't get an error, so I must be popping namespaces on // properly. But the manage_addProperty always results in: // // invalid attribute name, "manage_addproperty(name", for tag dtml-call // manage_addProperty(name='foo', value='bar', type='string'), on // line 10 of makeSched // // // =Rob== // J= // =Roos= ___ 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] ZSQL question
I have a table with lots of data in my Gadfly database. I would like to add a couple of new columns to that table. Is it at all possible to add columns to existing table or do I have to create a new table all together? Nope, ALTER TABLE TABLE_NAME ADD COLUMN_NAME FORMAT_TYPE i think should do it... Let me check ALTER TABLE memberlist ADD name VARCHAR Yep... that does it. Although I had tested this in PGSQL, Im sure it works for GadFly also. Since you are also inserting a new column you may want to initialize all current reocrds with a value, but I cant remember what it was... If you really need it, let me know, I'll dig in for you. Cheers, -- Paz Oratrix Development BV http://www.oratrix.com GRiNS SMIL Editor - ___ 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] Stored Procedures
Hi I´m using Zope with an Informix Database conected with ZODBC Product and I need some information about how to call a STORED PROCEDURE I´m trying to call a STORED PROCEDURE that executes a simple query. I do it usinga ZSQL method, but when i try to test it, i receive the error message "empty column name".Does anybody have any information about that problem?
[Zope] Re: Réf . : Re: [ Zope ] dtml-in
(keep copying to the list so other people can jump in and help) [EMAIL PROTECTED] wrote: thks a lot for your answer. It works, but I've a lot of dtml documents in my folder, and it's tooo slow with the sequence-item tag (less than one seconde with dtml-var id, and more than 10 secondes, with dtml-var sequence-item. Do you know any explaination about that ??? Of course ;-) dtml-var id is rendering a single string. dtml-var sequence-item goes through and renders each whole document, which takes a lot longer... cheers, Chris ___ 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] Stored Procedures
Don't do that, P L E E E A S E ! HTML mail doesn't add to the content of a message in any way, other making them larger and harder to read and harder to search for most people. On 17 Oct 2000, 13:28 Alejandro Pancani wrote: This is a multi-part message in MIME format. --=_NextPart_000_00EB_01C0383E.16C7E220 Content-Type: text/plain; --=_NextPart_000_00EB_01C0383E.16C7E220 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable !DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" HTMLHEAD META content=3D"text/html; charset=3Diso-8859-1" = -- o ( [EMAIL PROTECTED] (+49 2241) 14-2394 /\* GMD mbH #include _`\ `_=== Schloss Birlinghoven, std.disclaimer __(_)/_(_)___.-._ 53754 Sankt Augustin, Germany ___ 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] bobobase_modification_time and .zexp
import/export obviously doesn't preserve time stamps (i.e. bobobase_modification_time). This is unfortunate for any content which depends on those timestamps. How do you people out there solve this problem when it comes to moving content from different Zope installations into a single one? ___ 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] Determining permissions in a Product
Hi, Is there a clever way of determining/debugging the required permissions and/or roles for a given Product? I know that it's pretty straightforward if the product is released as a capital-P Product, but I am less sure about looking through a .exp file. I am trying to get FlexFAQ2 set up with the minimum set of permissions. If I understand the docs correctly, I have enabled the right flags but still I get prompted for a username/password when I try to add an item. Obviously, I would like to solve this problem I would be very interested to hear about more general approaches to problem solving products. Thanks, ___ 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] STORED PROCEDURES
Hi I´m using Zope with an Informix Database conected with ZODBC Product and I need some information about how to call a STORED PROCEDURE I´m trying to call a STORED PROCEDURE that executes a simple query. I do it using a ZSQL method, but when i try to test it, i receive the error message "empty column name". Does anybody have any information about that problem? ___ 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] Dymanic sort=dtml-a_dtml_var; in DTML?
I'd like to create a DTML method that lists objects, sorting either by name or modified-date. I know I can do this by: dtml-if ..byname... dtml-in blah sort="title_or_id" ... /dtml-else dtml-in balh sort="bobobase_modification_time" ... /dtml-if However, this requires lots of code. I'm trying to do it like this: Sorted by dtml-sortby; !-- for debugging -- dtml-in objectValues sort="dtml-sortby;" dtml-var title_or_id (dtml-var bobobase_modification_time) /dtml-in I have a property, sortby, of the enclosing folder set to "bobobase_modification_time"; when this method is called, it dutifully reports that sortby=b_m_t; however, it doesn't sort things this way (I can't tell exactly how it is sorting them, and when I refresh, the order occasionally changes.) Any ideas? -- Joel Burton, Director of Information Systems -*- [EMAIL PROTECTED] Support Center of Washington (www.scw.org) ___ 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] Searching a LocalFS through Zope
Check out LocalFS v0.9.6. Now with ZCatalog support! --jfarr - Original Message - From: "neeloy_saha" [EMAIL PROTECTED] To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Tuesday, October 17, 2000 5:12 AM Subject: [Zope] Searching a LocalFS through Zope Hi all, Well I had sent this earlier but i want to resend this again!! I have not yet received a reply back. Can anyone suggest me a way out ??? I have lots of old html/ documents that I want to publish through my zope portal. To ensure that I do not tweak html files I have used the LocalFS product, also I do not want to **load the data.fs**. Now. I am running into search problems. How do i do a search the filesystem file? and also ensure that the search results come from both the filesystem files and the portal zcatalog.?? I guess there are two ways ?? ** attach a search engine to index on the filesystem files and let zcatalog take care of the rest. ** or make all those html files zcatalog aware.But then u cant look inside pdf/latex/word docs or do u??. I guess I would prefer the first one !! gut feel probably that would require less effort and I can support different file formats . Has anyone used a FREE external search engine ith zope before.If so which one is it ??? -neeloy -Original Message- From: Guido van Rossum [mailto:[EMAIL PROTECTED]] Sent: Monday, October 16, 2000 7:53 PM To: neeloy_saha Cc: '[EMAIL PROTECTED]'; '[EMAIL PROTECTED]'; '[EMAIL PROTECTED]' Subject: Re: Migrating website to zope. Strange though it seems, we are *not* Zope experts (yet). We used an external volunteer to set up our site. I recommend that you post your question to one of the Zope mailing lists -- see www.zope.org for pointers. --Guido van Rossum (home page: http://www.python.org/~guido/) Subject: Migrating website to zope. From: neeloy_saha [EMAIL PROTECTED] To: "'[EMAIL PROTECTED]'" [EMAIL PROTECTED] Cc: "'[EMAIL PROTECTED]'" [EMAIL PROTECTED], "'[EMAIL PROTECTED]'" [EMAIL PROTECTED] Date: Mon, 16 Oct 2000 16:00:43 +0530 Hi all, Sorry if u receive this mail multiple times.I need help desperately. I am working in a migration project where I am trying to reenginer my website from the html/cgi based thing to zope.[something like urs http://www.pythonlabs.com/news/08-22-2000-0001.html ] I have lots of legacy static html documents which I want to use "as it is". So I have taken help of the LocalFS (http://www.zope.org/Members/jfarr/Products/LocalFS) and used it to serve the html documents. Now I am facing a tricky issue of how to do a search on those files ( html )as i do not find any patch which makes them a part of the Zcatalog. I am using the Zcatalog to do the search on other contents of my site. I guess u might have faced the same issue and implemented the search. I desperately need help on this issue. any pointers/code/patches/contact person /how u went abt it!! would be welcome. Thx in advance. -neeloy India ___ 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 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] bobobase_modification_time and .zexp
On 17 Oct 2000, 20:18 Marcin Kasperski wrote: Wolfgang Strobl wrote: import/export obviously doesn't preserve time stamps (i.e. bobobase_modification_time). This is unfortunate for any content which depends on those timestamps. How do you people out there solve this problem when it comes to moving content from different Zope installations into a single one? I just developed custom document ZClass which basically: - inherits from CatalogAware and DTML Document - contains custom property sheet which contains creationTime attribute (and some others, like meta_keywords or meta_summary) - constains constructor method which sets creationTime to current time. Wherever I need information when the page has been created, I use my creationTime attribute. Sure. For your own creations it's somewhat easier, just create your own timestamps. But what about existing content. Say: what if you have a Yihawdirectory which has grown for a while, plus a collection of Zwikis scattered over various Zopes, which I want to move into a a single new, but already existing on a bigger, greater and better server? I do not know how to implement 'modificationTime' attribute (or better: how to change it whenever someone edits or uploads the document). Well, for a moment I considered hacking ExportImport.py, but it's not obvious. That's why I'm asking whether somebody perhaps already has solved the problem. There is the option of stripping all the various data.fs and combining them via mounting, but this is far from elegant, if it works at all. -- o ( [EMAIL PROTECTED] (+49 2241) 14-2394 /\* GMD mbH #include _`\ `_=== Schloss Birlinghoven, std.disclaimer __(_)/_(_)___.-._ 53754 Sankt Augustin, Germany ___ 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] Dymanic sort=dtml-a_dtml_var; in DTML?
I needed to do this a while back and a kind fellow sent me some patches to do just this. Unfortunately my old email is unavailable at the moment, so I've forgotten who it was. The syntax was dtml-in ... sort-python="sortby" I'll dig out the patches as send them to you. seb -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Joel Burton Sent: 17 October 2000 19:22 To: [EMAIL PROTECTED] Subject: [Zope] Dymanic sort="dtml-a_dtml_var;" in DTML? I'd like to create a DTML method that lists objects, sorting either by name or modified-date. I know I can do this by: dtml-if ..byname... dtml-in blah sort="title_or_id" ... /dtml-else dtml-in balh sort="bobobase_modification_time" ... /dtml-if However, this requires lots of code. I'm trying to do it like this: Sorted by dtml-sortby; !-- for debugging -- dtml-in objectValues sort="dtml-sortby;" dtml-var title_or_id (dtml-var bobobase_modification_time) /dtml-in I have a property, sortby, of the enclosing folder set to "bobobase_modification_time"; when this method is called, it dutifully reports that sortby=b_m_t; however, it doesn't sort things this way (I can't tell exactly how it is sorting them, and when I refresh, the order occasionally changes.) Any ideas? -- Joel Burton, Director of Information Systems -*- [EMAIL PROTECTED] Support Center of Washington (www.scw.org) ___ 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 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] Microsoft Zope
On Tue, Oct 17, 2000 at 09:51:09AM +0200, Wolfgang Strobl wrote: On 16 Oct 2000, 12:27 Damien Morton wrote: http://msdn.microsoft.com/library/default.asp?URL=/library/techart/Des ignKMS ols.htm Looks like MS has embraced the Zope way of doing things "You must have scripting enabled in order to view this site. Please modify your browser's settings accordingly. " Eeek. Try http://msdn.microsoft.com/library/techart/DesignKMSols.htm -- Martijn Pieters | Software Engineer mailto:[EMAIL PROTECTED] | Digital Creations http://www.digicool.com/ | Creators of Zope http://www.zope.org/ - ___ 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] Web Mail Account creation.
Is it possible to create a hotmail-like web email server using zope? Where users create their own account. I'd like some insight how-to's or any assistant. Thanks... Sherv... ___ 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] non oreilly zope book
http://www.amazon.com/exec/obidos/ASIN/186100477X/o/qid=971814451/sr=8-1/ref =aps_sr_b_1_3/104-9172912-5316749 Take a look at wrox press december publish date for a Zope book. cj ___ 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] IIS and PCGI
Im fiddling with IIS and PCGI, I've looked at (http://www.zope.org/Members/brianh/iis_howto) the docs and got the server to work correctly in that http://127.0.0.1/zope.pcgi is the same as http://127.0.0.1:8080/ However it doesnt seem to be carrying through the trailing path info (or / 's) for example http://127.0.0.1/zope.pcgi/manage brings up 404. Using IIS 5.0, Win2k, Zope 2.2.1. Anyone encountered this and know the solution? Thanks. -- Andy McKay, Developer. ActiveState. ___ 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] non oreilly zope book
Is the same one that got cancelled? Josh Zeidner wrote: WROX contacted me a while back saying they wanted to do a Zope book as well. Does anyone know anything about this? -josh Yeah, that project has just been pulled, I think ;-) Pulled as in cancelled? -Brad p.s. Anyone see my chapter on Embedding/Extending Python in the Wrox Professional Linux Programming - Original Message - From: "Johnson, Chris" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, October 17, 2000 1:29 PM Subject: [Zope] non oreilly zope book http://www.amazon.com/exec/obidos/ASIN/186100477X/o/qid=971814451/sr=8-1/ref =aps_sr_b_1_3/104-9172912-5316749 Take a look at wrox press december publish date for a Zope book. cj ___ 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 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] Web Mail Account creation.
There was something Mikep wrote called Notmail, but looking at Zope.org it seems to be gone... - Original Message - From: "Shervan Agard" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, October 17, 2000 1:39 PM Subject: [Zope] Web Mail Account creation. Is it possible to create a hotmail-like web email server using zope? Where users create their own account. I'd like some insight how-to's or any assistant. Thanks... Sherv... ___ 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 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] non oreilly zope book
Is the same one that got cancelled? the very same Rik ___ 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] Problems with PoPy 1.4 ZPoPyDA 0.7
I have a working install of Zope 2.2.2. I installed the python module PoPy 1.4 and then attempted to install the ZPoPyDA 0.7 DB adapter. The ZPoPyDA README said to run a configure script but there was none. So I just moved the ZPoPyDA directory it created into the lib/python/Products directory in my zope home. Now for the strange part. When I start zope, I get the following: 2000-10-17T20:25:51 ERROR(200) Zope Couldn't import Products.ZPoPyDA Traceback (innermost last): File /zope_home/lib/python/OFS/Application.py, line 397, in import_products (Object: string) File /zope_home/lib/python/Products/ZPoPyDA/__init__.py, line 32, in ? File /zope_home/lib/python/Products/ZPoPyDA/DA.py, line 35, in ? File /zope_home/lib/python/Products/ZPoPyDA/PoPy_db.py, line 27, in ? ImportError: No module named PoPy ZPoPyDA comes up as a broken product in the Control Panel. So I checked it out on my own. I created a file with the following line: import PoPy I ran 'python test' and no errors. I added the line: import bla And then ran 'python test' again just to be sure and it did die saying no such module bla. I even typed 'import PoPy' in the python interactive shell and nothing. So outside of zope, python seems to be able to import PoPy, but when zope tries to import ZPoPyDA it claims there is no PoPy module. Any ideas? Thanks in advance, Dustin ___ 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] non oreilly zope book
I wont rush out and get a copy then :P - Original Message - From: "Rik Hoekstra" [EMAIL PROTECTED] To: "Andy McKay" [EMAIL PROTECTED]; "Johnson, Chris" [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Tuesday, October 17, 2000 1:51 PM Subject: Re: [Zope] non oreilly zope book Is the same one that got cancelled? the very same Rik ___ 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 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] Two questions regarding SQL
Hey 2 everyone: I have two questions. 1) I need to authenticate my Zope users against a Sybase SQL database. 2) I need to make my Zope ODBC database connection object use (i.e. connect with) the user and password of the AUTHENTICATED_USER because security is at the database level, for tables and stored procedures. How do I do that? Any pointers? LoginManager did not work for zope 2.2.2 here. Besides, the new Z ODBC connection form only lets me specify an ODBC dsn or a connection string. And as I understand, the connection string is the same for ALL zope users that use that object. Any practical solutions to the problem #2? Will I have to connect to the DB as DBA? If that's the case, I'll have to go with PHP. I'm sorry for my former HTML postings. Won't happen again. Thanks in advance. -- Universidad Federico Santa Maria - Campus Guayaquil ___ 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] GUF and IE friendly error messages
Hi, I'm using General User Folder (GUF) in cookie mode for the login in my site. When someone doesn't have the appropriate permission to access a resource, GUF should show the Login screen. It works fine, except for some people (not all) that uses Internet Explorer 5. They see IE http user friendly error page. If the user is told to change the IE configuration for not showing friendly errors, the login screen appears. It is not easy to setup for unexperienced users. When the http status is 400 (not found) IE shows the friendly error just for pages smaller than 512 bytes. Unfortunately, it doesn't work when the error status is 500 (server error). I've tried to change http status with RESPONSE.setStatus(200) in the standard_html_error, but it doesn't work. Is it possible to change the http status after an exception is raised? Can someone suggest a solution or workaround for this problem? Thanks in advance for any help, -- Paulo Eduardo Neves http://www.samba-choro.com.br ___ 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] AW: [Zope] Web Mail Account creation.
Hi Shervan, Worldpilot ist the GUI you are looking for, if you use Zope. Some friends and me use it. Not included in WorldPilot are routines to a) create a new account b) modify and c) delete an account I use a UW IMAP on RH 6.2 to let WorldPilot connect to. That would require me to modify the /etc/passwd if I wanted to fullfill the points a), b) and c). Since I don't want anyone to touch that beside of root ;-) I am aiming to use cyrus-imapd. Cyrus can even run with LDAP and that might be a choice in connection with zope if you are willing to write something that emulates the functions of 'cyradm' (the prog to administrate cyrus). OTOH you might write some python script to get ridd of 'cyradm'. After creating new users you can log them in using WorldPilot. p@rick -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]Im Auftrag von Shervan Agard Gesendet: Dienstag, 17. Oktober 2000 22:39 An: [EMAIL PROTECTED] Betreff: [Zope] Web Mail Account creation. Is it possible to create a hotmail-like web email server using zope? Where users create their own account. I'd like some insight how-to's or any assistant. Thanks... Sherv... ___ 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 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] Want to access ZClass Instance from external program
I have a folder containing a bunch of ZClass instances that I want to access from an external (non-web) python application. I need to be able to read the values of the instance properties. Is there a way to do this with the ZClient stuff? If not, what can I use. If yes, any pointers? -jon ___ 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 Products created What Permissions
Chris Withers wrote: Michael Bernstein wrote: On a slightly different note, I think that the permissions list should be viewable in two more ways: A view where permissions are grouped into 'subjects', (for example all Perhaps a better idea is that Permissions are classes that inherit from super class permissions, so permission could be laid out in a heirarchical fasion. Permission Add Add Foos Edit Edit Bars Delete Delete Bobs View etc... we've thought about this before. implementation makes my brain hurt. -Michel ___ 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] strange dtml-sendmail problem
This is a DTML_Method I call from my standard_error_message: dtml-sendmail mailhost="MailHost" To: Webmaster dtml-var webstaff From: ZopeServer dtml-var zopeserveraddress Subject: Problem at dtml-var URL Error Type: dtml-var error_type Error Value: dtml-var error_value Error Msg: dtml-var error_message dtml-in "REQUEST.items()" dtml-var sequence-key: dtml-var sequence-item /dtml-in /dtml-sendmail I call it like this: dtml-var send_errors The mail is sent appropriately including all the REQUEST items, but the page that is calling this DTML_Method never finishes downloading. It seems that the loop through the REQUEST items causes page rendering to hang? After several minutes, stopping the page download brings up a *transfer interupted* message and only then do I see the bottom of the page. If I leave this out: dtml-in "REQUEST.items()" dtml-var sequence-key: dtml-var sequence-item /dtml-in ...it works well. Thanks for you help. -- Erik Myllymaki [EMAIL PROTECTED] ___ 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 PoPy 1.4 ZPoPyDA 0.7
hi dustin your probably not running the same python interpreters. check your start shell script and see which python interpreter its using and compare it to (i'm kinda of assuming your're on a *nix system) which python they probably aren't the same. just edit the start script accordingly. kapil [EMAIL PROTECTED] wrote: I have a working install of Zope 2.2.2. I installed the python module PoPy 1.4 and then attempted to install the ZPoPyDA 0.7 DB adapter. The ZPoPyDA README said to run a configure script but there was none. So I just moved the ZPoPyDA directory it created into the lib/python/Products directory in my zope home. Now for the strange part. When I start zope, I get the following: 2000-10-17T20:25:51 ERROR(200) Zope Couldn't import Products.ZPoPyDA Traceback (innermost last): File /zope_home/lib/python/OFS/Application.py, line 397, in import_products (Object: string) File /zope_home/lib/python/Products/ZPoPyDA/__init__.py, line 32, in ? File /zope_home/lib/python/Products/ZPoPyDA/DA.py, line 35, in ? File /zope_home/lib/python/Products/ZPoPyDA/PoPy_db.py, line 27, in ? ImportError: No module named PoPy ZPoPyDA comes up as a broken product in the Control Panel. So I checked it out on my own. I created a file with the following line: import PoPy I ran 'python test' and no errors. I added the line: import bla And then ran 'python test' again just to be sure and it did die saying no such module bla. I even typed 'import PoPy' in the python interactive shell and nothing. So outside of zope, python seems to be able to import PoPy, but when zope tries to import ZPoPyDA it claims there is no PoPy module. Any ideas? Thanks in advance, Dustin ___ 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 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] Want to access ZClass Instance from external program
Jon Prettyman wrote: I have a folder containing a bunch of ZClass instances that I want to access from an external (non-web) python application. I need to be able to read the values of the instance properties. Is there a way to do this with the ZClient stuff? If not, what can I use. If yes, any pointers? -jon its easiest to it with (IMO) xml-rpc and find your zclasses with calls to objectids and query the propertysheets directly for property info. check out http://www.zope.org/Members/Amos/xmlrpclib.py you'll need to fix a base class and an import. www.xml-rpc.com www.xml.com search for amos and zope.org for howtos on xmlrpc Cheers Kapil ___ 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] strange dtml-sendmail problem
Erik Myllymaki wrote: This is a DTML_Method I call from my standard_error_message: dtml-sendmail mailhost="MailHost" To: Webmaster dtml-var webstaff From: ZopeServer dtml-var zopeserveraddress Subject: Problem at dtml-var URL Error Type: dtml-var error_type Error Value: dtml-var error_value Error Msg: dtml-var error_message dtml-in "REQUEST.items()" dtml-var sequence-key: dtml-var sequence-item /dtml-in /dtml-sendmail I call it like this: dtml-var send_errors The mail is sent appropriately including all the REQUEST items, but the page that is calling this DTML_Method never finishes downloading. It seems that the loop through the REQUEST items causes page rendering to hang? After several minutes, stopping the page download brings up a *transfer interupted* message and only then do I see the bottom of the page. If I leave this out: dtml-in "REQUEST.items()" dtml-var sequence-key: dtml-var sequence-item /dtml-in ...it works well. Thanks for you help. probably because the response is part of the request object, so you loop... do a request.keys() to see whats there literally and a dtml-var REQUEST request variables in dtml are in request.other request variables passed in through dtml are in request.form cheers kapil -- Erik Myllymaki [EMAIL PROTECTED] ___ 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 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 )