[Zope] [voipiri: Re: [Zope] DCOracle Connection with Oracle 8.0.5]

2000-09-14 Thread Riku Voipio
On Wed, Sep 13, 2000 at 10:20:15AM -0300, Celio C. Guimaraes wrote: 1) In order to connect successfully I had to drop the @sid parameter: dbc=DCOracle.Connect('scott/tiger@ora8') returns with error: ORA-12154 : TNS: could not resolve service name I think this is default oracle

[Zope] FW: [Zope] FW: list of users tied to database

2000-09-14 Thread tom smith
-- From: tom smith [EMAIL PROTECTED] Date: Thu, 14 Sep 2000 09:01:22 +0100 To: tom smith [EMAIL PROTECTED] Subject: Re: [Zope] FW: list of users tied to database dtml-in "theOTHERintranet.acl_users.getUserNames()" dtml-let TheUserName==dtml-var sequence-item dtml-in

Re: [Zope] zope 2.2.1 and python 1.6

2000-09-14 Thread Toby Dickenson
On Wed, 13 Sep 2000 12:03:40 -0400, Brian Lloyd [EMAIL PROTECTED] wrote: i couldn't find anything in the list archives or the docs about python 1.6 from python's site, it looks like there are a lot of changes that could break code. can i run zope 2.2.1 on python 1.6 or should i stick with

[Zope] Organizing huge content

2000-09-14 Thread brocken22
Hallo, my question is about organizing scripting when you have to deal with huge amounts of content. I.e. you have a custom that wants to establish a website .This website should have in the future about 2000 pages but you on your own are building only some pages and a lot of templates that his

Re: [Zope] how to reload external method?

2000-09-14 Thread Aleksander Salwa
On Thu, 14 Sep 2000, Riku Voipio wrote: How do you reolad an external method that has changed? Just click on 'Edit' button. [EMAIL PROTECTED] /--\ | `long long long' is too long for GCC | \--/

[Zope] LocalFS or LoadSite

2000-09-14 Thread Chris Withers
Nick Trout wrote: My question: what is the best way to do this? Is there a product to this.? You could look in the mail list archvies before asking this question since it's such a FAQ :-( LocalFS load_site.py cheers, Chris ___ Zope maillist -

Re: [Zope] External Methods, reloading and Versions

2000-09-14 Thread Chris Withers
Riku Voipio wrote: How do you reolad an external method that has changed? You shouldn't need to do anything, or so I was told... In practice, you can either: - wait a few minutes until the external method object gets flushed out of the cache - Hit the 'Edit' button for the external method.

[Zope] Python 1.6 makes Zope not work?!

2000-09-14 Thread zope
I was running Zope 2.2.0, and python 1.6a2 on linux. When I upgraded python to 1.6 release, I found that I can't run Zope again(Can go to the first, very simple page, and no further). The error msg are: WARNING: Python C API version mismatch for module ExtensionClass: This Python has API

[Zope] Passing parameters to external methods is broken...

2000-09-14 Thread Chris Withers
Andreas Pauley wrote: I have an external method that looks (somewhat) like this: def extAccess(self, accttype_cde): return accttype_cde dtml-if "extAccess(accttype_cde='COM')" bThe external method returned true/b /dtml-if I get the following error for the above statement: Error

Re: [Zope] list of users tied to database

2000-09-14 Thread tom smith
on 14/9/00 9:28 am, [EMAIL PROTECTED] at [EMAIL PROTECTED] wrote: Did you try this proposal posted yesterday ? Yep, and I can't quite get it to work. I'm still trying though tom ___ Zope maillist - [EMAIL PROTECTED]

[Zope] Any Swedish/Nordic Zope Users?

2000-09-14 Thread Dario Lopez-Kästen
Hello! I am curious to see if there are any Swedish and/or Nordic users of Zope on this list. Cheers, /dario - Dario Lopez-Kästen Systems Developer Chalmers Univ. of Technology [EMAIL PROTECTED] ICQ will yield no hits

Re: [Zope] External Methods, reloading and Versions

2000-09-14 Thread Riku Voipio
On Thu, Sep 14, 2000 at 11:52:59AM +0100, Chris Withers wrote: Riku Voipio wrote: How do you reolad an external method that has changed? (versions are rather cool, now I can develop on the production server safely). Versions and external methods interact very badly :-( Don't try

Re: [Zope] Static pages

2000-09-14 Thread J. Atwood
The best way is the product called Loadsite. You can point it to a directory and it will suck up all your images and html. Zope will have no problem serving it up. J At 9:56 AM +0100 9/14/2000, Nick Trout wrote: Hi, I would like to incorporate a load of static HTML pages into my Zope website.

[Zope] Permission problem with my own zClass.

2000-09-14 Thread Max Møller Rasmussen
I have made a zClass called "newsProduct" that is articles with predefined properties. It works nicely when I am logged on as an Administrator. I can add articles. No problem. I also have a site with the following structure root news I want some users to be able to add "news" articles

[Zope] Announce: Squishdot 0.7.2 now available!

2000-09-14 Thread Chris Withers
Squishdot 0.7.2 is now available from http://www.zope.org/Members/chrisw/Squishdot/ http://www.squishdot.org/Download/Squishdot The following changes were made: - Squishdot now works with INSTANCE_HOME Zope installations If you run into problems, remember Squishdot has a mailing list at

[Zope] How do I add a property to created objects?

2000-09-14 Thread Kristofer Kiik
Hi, hope someone can point me to the right direction with this: I want to add an object using DTML. To do this I create a method 'addanewFolder' (not in a product, but somewhere in the document tree): === cut here === dtml-call "REQUEST.set('ts', ZopeTime())" dtml-call "REQUEST.set('id',

[Zope] id_quote

2000-09-14 Thread Chris Withers
Hi, Given the new strictness characters allowed in id's, it'd be great if there was something called id_quote which behaved in the same way as html_quote or url-quote except it made a string suitable for use as an id. It's be great if ti was available as a methdo in python as well :-) What do

[Zope] subscribe

2000-09-14 Thread Dicken, Peer
subscribe MfG / best regards, Peer Dicken IMD GmbH Softwareentwicklung Unternehmensberatung Edisonstr. 1 59199 Bönen Tel.: +49 23 83 - 9191-0 Fax.: +49 23 83 - 919191

Re: [Zope] id_quote

2000-09-14 Thread Rik Hoekstra
Given the new strictness characters allowed in id's, it'd be great if there was something called id_quote which behaved in the same way as html_quote or url-quote except it made a string suitable for use as an id. It's be great if ti was available as a methdo in python as well :-) What do

[Zope] How to give content maangers ability to update a Zope site ?

2000-09-14 Thread Richard Moon
How would you give a content manager the ability to update a live Zope site ? What I have is an in-house development site with various folders and each folder has a manager. I thought I would be able to let them use FTP on port 8021 to unload objects from the development site and update a

[Zope] Pluggable brains

2000-09-14 Thread gotcha
Is there a place where pluggable brains mechanism is described ? I am beginning a Zope site project. With the few I have read about pluggable brains, I feel that more info could help me in deciding which part of data has to stay in ZODB and which should go inside RDBM. Thanks. Godefroid

[Zope] cannot access articles in Squisdot

2000-09-14 Thread Tomaso Scarsi
Hi, I'm running squishdot 0.4.0 on zope 2.1.6 on a system running linux rh 5.2 and I'm experiencing some problem: when I try to open the main page index_html I get this error: Error Type: AttributeError Error Value: 'string' object has no attribute '__basicnew__' and on the console running

Re: [Zope] Python 1.6 makes Zope not work?!

2000-09-14 Thread John Hayward-Warburton (Programming account)
[EMAIL PROTECTED] wrote: I was running Zope 2.2.0, and python 1.6a2 on linux. When I upgraded python to 1.6 release, I found that I can't run Zope again Though I am a newbie Zope developer, it was very kindly explained to me that a bug in Python 1.6 was being ticked by Zope 2.2.1 (you'll find

Re: [Zope] How to give content maangers ability to update a Zope site ?

2000-09-14 Thread ethan mindlace fremen
[EMAIL PROTECTED] wrote: Plan B was to use the export facility but they would then need to have telnet access to the Zope import directory in order to put the .zexp file there, which seems a huge security gap to me. I set up ncftp to allow ftp uploads (but not erasures or the creation of new

[Zope] FTP Server bug or feature

2000-09-14 Thread Júlio Dinis Silva
Hi all, just to check: with zope 220 when I do any changes to a normal user in a normal acl_users folder this user can no more access the zope module via ftp, i.e, login ok but a simple dir command return a unauthorized error . Isn't suppose to the FTP server view this changes cause its

Re: [Zope] And now for a good laugh (Re: [Zope] Zope and the GPL poison pill)

2000-09-14 Thread Lalo Martins
On Thu, Sep 14, 2000 at 10:23:21AM +0200, Nils Kassube wrote: [EMAIL PROTECTED] (Lalo Martins) wrote: Renderable wasn't even GPL'ed to begin with. And this isn't a mistake; now that I think if it, I clearly remember having chosen the ZPL so that DC folks could easily take the changes

[Zope] Eventfolder 1.0.1 does not work

2000-09-14 Thread Joachim Schmitz
Hi, I trying to use Eventfolder 1.0.1, I imported the EventFolder.zexp, restartet Zope 2.2.1 and could add an Eventfolder, when I try to open the created eventfolder I get the message: The specified module, EventFolder.utils, couldn't be found. what's wrong here ? Mit freundlichen Grüßen

Re: [Zope] Static pages

2000-09-14 Thread Jonothan Farr
If they are: - very large (MB+) - generated by some external process -or- - uploaded by users ...then Local File System is one way to go. Otherwise, loadsite.py will just slurp them all into the ZODB and you can serve them from there. --jfarr - Original Message - From: Nick Trout

[Zope] Permissions logic and redirecting failed logins cleanly

2000-09-14 Thread Jason Cunliffe
Hello We have folder on our site with a list of links to restricted pages and downloadable binary objects. 1. 'Anonymous' can view the index_html of the top level folder for this part of the site. I did this by selecting 'Security' tab of my Zope folder, and then deselected the 'Aquire

Re: [Zope] Organizing huge content

2000-09-14 Thread Maik Roeder
Hi ! [EMAIL PROTECTED] wrote: Hallo, my question is about organizing scripting when you have to deal with huge amounts of content. I.e. you have a custom that wants to establish a website .This website should have in the future about 2000 pages but you on your own are building only some

[Zope] Adding a new property over http

2000-09-14 Thread Jason Cunliffe
Hello I asked this in longer form before, but it fell by the way I think.. How to add a property to a containing folder. Looking for DTML or External Method way to do this. We need a Method to to add a new folder property assigning an 'Id' = somename adn 'type' = 'tokens'. We need to be able

Re: [Zope] Pluggable brains

2000-09-14 Thread Dieter Maurer
[EMAIL PROTECTED] writes: Is there a place where pluggable brains mechanism is described ? I forgot where I saw a description. But it is incredibly simple: You can wrap an arbitrary class instance around your database rows. This transforms your rows into full featured objects with the

Re: [Zope] Pluggable brains

2000-09-14 Thread Andreas
[EMAIL PROTECTED] wrote: Is there a place where pluggable brains mechanism is described ? I am beginning a Zope site project. With the few I have read about pluggable brains, I feel that more info could help me in deciding which part of data has to stay in ZODB and which should go inside

Re: [Zope-dev] is INSTANCE_HOME broken on Win32?

2000-09-14 Thread Rik Hoekstra
Any ideas? the python way of getting the right path separators is to use os.path.join(item1, item2, ...) Works even for macs ;-) Rik ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts

[Zope-dev] ZPatterns bug: typo in Transactions.py

2000-09-14 Thread Steve Alexander
ZPatterns, latest released version. def abort_sub(self, transaction): In Transactions.py, aborting a subtransaction will fail because of a method signature mismatch. Was: def abort_sub(self, transaction): self.tpc_abort() Should be: def abort_sub(self, transaction):

[Zope-dev] Wiki Pain

2000-09-14 Thread Toby Dickenson
Since the beginning of this year DC have moved alot of debate and discussion out of mailing lists, and in to Wikis. http://www.zope.org/WikiCentral/FrontPage lists most Zope Wikis. Does anyone else find Wikis to be far less convenient than a good old mailing list? Ive been annoyed by the

[Zope-dev] I feel your Wiki Pain ;-)

2000-09-14 Thread Chris Withers
Toby Dickenson wrote: http://www.zope.org/WikiCentral/FrontPage lists most Zope Wikis. Does anyone else find Wikis to be far less convenient than a good old mailing list? Each has their ups and downs :-S 1. No threading. On several occasions I have made comments in a Wiki that were

Re: [Zope-dev] WikiDot? ;-)

2000-09-14 Thread Chris Withers
Chris McDonough wrote: A lot of the listed complaints are trying to be addressed by the "WikiNG" proposal, which is (of course) in the Proposals wiki on dev.zope.org. The irony ;-) This may be a good idea... personally, I really don't have much of a problem keeping up with the discussions,

Re: [Zope-dev] I feel your Wiki Pain ;-)

2000-09-14 Thread Chris McDonough
A lot of the listed complaints are trying to be addressed by the "WikiNG" proposal, which is (of course) in the Proposals wiki on dev.zope.org. Okay, here's an idea which people may or may not like: How about running the 'Discussion' parts of (in particular) dev.zope.org from ZDiscussions,

Re: [Zope-dev] I feel your Wiki Pain ;-)

2000-09-14 Thread Toby Dickenson
On Thu, 14 Sep 2000 10:11:56 -0400, Chris McDonough [EMAIL PROTECTED] wrote: A lot of the listed complaints are trying to be addressed by the "WikiNG" proposal, which is (of course) in the Proposals wiki on dev.zope.org. Yes, I was aware of that proposal, and I tried to avoid repeating issues

[Zope-dev] ZPatterns (sub-)transaction problems

2000-09-14 Thread Phillip J. Eby
At 01:41 PM 9/14/00 +0100, Steve Alexander wrote: I think there's something not quite right about the way ZPatterns is handling subtransactions, even with this patch, and the other one related to Transactions.py that I posted a while back. Is there any detailed documentation about how Zope

[Zope-dev] Excellent Quote :-)

2000-09-14 Thread Chris Withers
"Spicklemire, Jerry" wrote: snip very good points about DTML's problems The greatest mystery to me is how something this obscure could have possibly been written in Python, which is about as obvious as code gets. -- absolutely priceless :-) Chris

Re: [Zope-dev] Wiki Pain

2000-09-14 Thread Ty Sarna
In article [EMAIL PROTECTED], Toby Dickenson [EMAIL PROTECTED] wrote: 10. There are too many empty pages, because someone has clicked on a ? next to word that happened to be a WikiName. Useful pages lie hidden behind a sea of links to empty pages. IMHO, ZWiki is broken in this respect.

Re: [Zope-dev] edit-save not save-edit ;-)

2000-09-14 Thread Chris Withers
Ty Sarna wrote: In article [EMAIL PROTECTED], Toby Dickenson [EMAIL PROTECTED] wrote: 10. There are too many empty pages, because someone has clicked on a ? next to word that happened to be a WikiName. Useful pages lie hidden behind a sea of links to empty pages. IMHO, ZWiki is broken

[Zope-dev] Re: ZPatterns (sub-)transaction problems

2000-09-14 Thread Steve Alexander
"Phillip J. Eby" wrote: I will try to have a ZPatterns snapshot release made this week that will include those fixes (plus the fix for a problem with DynPersist that we also discovered yesterday). Great. I'm looking forward to that. Can we lose DynPersist altogether for this release? Or

Re: [Zope-dev] aq_base in DTML? Maybe 'fix' ExtensionClass?

2000-09-14 Thread Chris Withers
Carl Robitaille wrote: It's looks like aq_base is not available. Yes, apparently it's not available in DTML for security reasons :-( You could write a really small external method to get it for you: UNTESTED def ex_aq_base(object): return getattr(object,'aq_base',object)

[Zope-dev] Voting for patches?

2000-09-14 Thread Chris Withers
Jon Franz wrote: This is already being setup as part of the patch and small change integration page... more details once it's up this weekend ;P you will like. Has anything come of this yet? cheers, Chris ___ Zope-Dev maillist - [EMAIL

[Zope-dev] RoleManager and Security of Attributes

2000-09-14 Thread Chris Withers
Lance wrote: Well, I'm at a loss. I tried a bunch things myself, and I've found out that instances of the Article class are not inheriting __ac_permissions__ from the Posting class. How did you find this out? It's be good to knwo 'cos it might be a weird acquisiton wrapping thing rather than

[Zope-dev] Re: ZPatterns (sub-)transaction problems

2000-09-14 Thread Phillip J. Eby
At 03:56 PM 9/14/00 +0100, Steve Alexander wrote: Can we lose DynPersist altogether for this release? Unfortunately, no. Zope's cPersistent class appears it may have a bug that is roughly similar to the one we're fixing in DynPersist. (i.e., not calling __of__ or other binding operations on

[Zope-dev] ZPatterns 0.4.2a2 bug fix release

2000-09-14 Thread Phillip J. Eby
It's up now. In addition to the transaction fixes and DynPersist fix, this release also fixes the missing import of aq_base in PlugIns.py, and the SkinScript compiler fouling up certain expressions due to its removal of spaces between tokens. Last, but not least, you can now place Specialists

Re: [Zope-dev] Wiki Pain

2000-09-14 Thread Ken Manheimer
On Thu, 14 Sep 2000 [EMAIL PROTECTED] wrote: Since the beginning of this year DC have moved alot of debate and discussion out of mailing lists, and in to Wikis. http://www.zope.org/WikiCentral/FrontPage lists most Zope Wikis. Does anyone else find Wikis to be far less convenient than a good

Re: [Zope-dev] WikiDot? ;-)

2000-09-14 Thread Ken Manheimer
On Thu, 14 Sep 2000 [EMAIL PROTECTED] wrote: Chris McDonough wrote: A lot of the listed complaints are trying to be addressed by the "WikiNG" proposal, which is (of course) in the Proposals wiki on dev.zope.org. The irony ;-) This may be a good idea... personally, I really don't

Re: [Zope-dev] ZPatterns 0.4.2a2 bug fix release

2000-09-14 Thread Phillip J. Eby
At 05:39 PM 9/14/00 +0100, Steve Alexander wrote: Phillip J. Eby wrote: It's up now. In addition to the transaction fixes and DynPersist fix, this release also fixes the missing import of aq_base in PlugIns.py, and the SkinScript compiler fouling up certain expressions due to its removal of

Re: [Zope-dev] Context Acquisition - Security Hole?

2000-09-14 Thread Steve Alexander
Chris Withers wrote: Shane Hathaway wrote: How should I got about petitioning for dtml-var anobject aq_context to become valid syntax? There's one little (okay, big) problem with this idea: aq_context strips the security context. In fact, it could be used to confuse the

[Zope-dev] ZPatterns. obj has no getProperty.

2000-09-14 Thread James Johnson
Where do I place the ZClass. I've put a dtml method named index_html in it. I have a specialist and the ZClass in a product folder. is this the correct way. Here is the code dtml-var standard_html_header h2dtml-var title_or_id dtml-var document_title/h2 dtml-let

[Zope-dev] Zope Error message

2000-09-14 Thread Andy McKay
So now I need to change it so most normal errors (such as 404) are handled by standard_error_message. So I went to HTTPResponse.py and found this: def _error_html(self,title,body): # XXX could this try to use standard_error_message somehow? I gather someone smarter than me has tried

Re: [Zope-dev] ODBC Error

2000-09-14 Thread Hung Jung Lu
--- In [EMAIL PROTECTED], Julio Flores Schwarzbeck [EMAIL PROTECTED] wrote: The problem is that no matter what I do, with any valid sql statement like "select * from test1" gives me the following error: Error Type: ValueError Error Value: unpack sequence of wrong size (RoleMgr) Has anyone