[Zope] Stupid questions

2000-10-11 Thread Manuel Amador (Rudd-O)
Am i supposed to get "XMLmethods" and "Python methods" in the add product drop down? I'm baffled. Thanks =) PD: the subject says it all. Please don't flame me. I think we need a little bit more organization, some kind of comprehensive index instead of looking for documentation in several places.

Re: [Zope] Zope.org Feature Request - Product Download Counter

2000-10-11 Thread Toby Dickenson
On Tue, 10 Oct 2000 16:15:44 -0400, mindlace [EMAIL PROTECTED] wrote: Andy McKay wrote: Of course the only problem with a hit counter is that high traffic requests mean continually writing the object into the ZODB each time it gets hit / downloaded, whatever. Thats why I release FSCounter

[Zope] Programmatically: zclasses and images

2000-10-11 Thread brocken22
Hallo, I've got two problems cutting my nerves: The site-structure is organized in a way that zclasses can be added programmatically(the user decides by clicking on a tree-list where to add the classes) The 1. problem is that I can't manage to pass the URL of the selected object to add the zclass

[Zope] Problem with Zope 2.2.0 and Z SQL Method : NO MODULE NAMED ZDBASE...

2000-10-11 Thread Frederic Quin
Hi all, I have some problem using Z SQL Method on Zope 2.2.0. I have a Zope error clicking on the item "Advanced". I have the same error when trying to find an object... Here is the error : Thanks Fred Error Zope has encountered an error while publishing this resource. See

RE: [Zope] Re: Upload just file headers?

2000-10-11 Thread Seb Bacon
Hmm, well you certainly can't do it at the browser side. A well-formed HTTP header should contain a content-length attribute which you can examine. However, deciding whether to accept the file or not would I imagine not be possible inside zope since the whole POST operation is handled by

[Zope] ZMySqlDA Binary version

2000-10-11 Thread Agus Setiawan
Hi all, Does anyone have a binary version of ZMySqlDA product? Because I'm running it on my Win 2000 Professional, and with the non-binary version, it give me message like this: 2000-10-11T12:26:25 ERROR(200) Zope Couldn't import Products.ZMySQLDA Traceback (innermost last): File

Re: [Zope] Medusa Monitor

2000-10-11 Thread Jens Vagelpohl
terry, you forgot the step of actually connecting to the monitor :) there is a very short howto on using the correct client program to log into the monitor at: http://www.zope.org/Members/teyc/howtoMonitorClient and similar info at: http://www.zope.org/Documentation/Misc/DEBUGGING.txt jens

[Zope] Easiest way to turn X-Forwarded-For to Remote-IP?

2000-10-11 Thread Marcin Kasperski
I use Zope via Apache proxy, what causes some trouble (all remote IPs for Zope are equal to 127.0.0.1). As I finally installed mod_proxy_add_forward, I get original address in X-Forwarded-For header (REQUEST['HTTP_X_FORWARDED_FOR']). The question is: can I do something easy to automatically

[Zope] Login

2000-10-11 Thread Joaldo Junior
... It will be that somebody knows to inform me as I obtain to catch the 0 variable that informs the user name login. ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! **

Re: [Zope] Re: Upload just file headers?

2000-10-11 Thread Chris McDonough
Paul, I'm sorry if I'm dropping context here, but I'm not sure what you mean when you say "headers of files". Do you just want to check the size of files before you put them in the ZODB? - Original Message - From: "Paul Winkler" [EMAIL PROTECTED] To: "Zope mailing list" [EMAIL

[Zope] acl_user and parent directory

2000-10-11 Thread Stephan Goeldi
When I create a user in a subfolder, he can view the files in the parent folders: /www/folder1 /www/folder2 The manager of folder1 can not only view the content of /www but the content and the files of /www/folder2 too. This is BAD security IMHO. I don't want the user of folder1 let to

[Zope] Re: [Stackless] Stackless Zope

2000-10-11 Thread entropia
Sorry. The last phrase is: And C extensions? I don't look the monitor when I write. entropia escribió: Have someone tried Zope with Stackless. Is that stable? I don't know to much about Stackless internals. Which modules are incompatible with Stackless? Anc D extensions?

Re: [Zope] Zope in Windows is faster than Linux ???

2000-10-11 Thread Riku Voipio
On Mon, Oct 09, 2000 at 01:39:41PM +0100, Toby Dickenson wrote: We have been stress testing our Zope application on NT and Linux. Our conclusion is that OS is not a factor in Zope performance. Its all application-specific, and theres nothing I can release at the moment. Essentially the

Re: [Zope] Black Magic

2000-10-11 Thread Robin Becker
In article 00e801c032ea$50b15970$[EMAIL PROTECTED], Evan Simpson [EMAIL PROTECTED] writes From: Fred Yankowski [EMAIL PROTECTED] The information you just provided about the DTML Method "call signature" and the like is very useful. Is this kind of reference material written down somewhere in a

[Zope] Restart button corrupted data.fs.index file

2000-10-11 Thread Kit O'Connell
After installing two new Products (ZCounter the first time,and FSCounter the next time), I hit the Restart button in the Zope Control Panel. Zope did not come up. I tried a manual stop/start. The start resulted in this error message: Traceback (innermost last): File

[Zope] How to see if two objects are the same

2000-10-11 Thread Ron Bickers
I want to see if an object is the one aqcuired from the root, but I'm hitting walls. dtml-var "myObject" dtml-var "PARENTS[-1].myObject" dtml-var "PARENTS[-1].myObject is myObject" This returns the following when in the root folder context: TinyTable instance at 8684ad8 TinyTable

[Zope] How to see if two objects are the same (minor fix)

2000-10-11 Thread Ron Bickers
From my previous post, it looked like the parent was changing. I had the first two lines swapped. Fixed below. I want to see if an object is the one aqcuired from the root, but I'm hitting walls. dtml-var "PARENTS[-1].myObject" dtml-var "myObject" dtml-var

[Zope] Zope Hotfix: ObjectManager subscripting

2000-10-11 Thread ethan mindlace fremen
This hotfix addresses an important security issue that affects Zope versions up to and including Zope 2.2.2. The issue involves the fact that the 'subscript notation' that can be used to access items of ObjectManagers (Folders) did not correctly restrict return values to only actual sub items.

Re: [Zope] Acquisiton Wrappers bite ;-)

2000-10-11 Thread Chris Withers
Ron Bickers wrote: This returns the following when in the root folder context: TinyTable instance at 8684ad8 TinyTable instance at 8684ad8 0 the above is a bit misleading ;-) The two objects aren't actually at the same address 'cos your comparison is actually of the acquisiton

[Zope] dtml-with syntax question

2000-10-11 Thread Geoffrey L. Wright
So here's a question from a fairly new Zope developer: I think I am finally getting a decent handle on namespace issues in Zope, and I can now with the dtml-with tag with reasonable efficacy in simple situations. But I have run into something of a brick wall on one issue. What I would like to

Re: [Zope] Stupid questions

2000-10-11 Thread mindlace
"Manuel Amador (Rudd-O)" wrote: Am i supposed to get "XML methods" and "Python methods" in the add product drop down? Only if you've added those products to your zope installation. Both XML methods and Python methods are considered "content objects" in the Products organization:

[Zope] Building DCOracle on AIX 4.3.2 for use with python 1.52

2000-10-11 Thread Turney, James
Hello, Are there any tips to getting DCOracle 1.32 built on AIX 4.3.2. I have built python successfully on AIX but cannot seem to get DCOracle to build without getting undefined symbols which appear to be python related. Any suggestions? [EMAIL PROTECTED]

Re: [Zope] Re: Upload just file headers?

2000-10-11 Thread Paul Winkler
Another way to look at it: I want to start uploading the file, but stop the upload almost immediately - after I've got enough to read the file header, but long before the upload would normally finish. Chris McDonough wrote: Paul, I'm sorry if I'm dropping context here, but I'm not sure

Re: [Zope] Stupid questions

2000-10-11 Thread Rik Hoekstra
Am i supposed to get "XML methods" and "Python methods" in the add product drop down? I'm baffled. Not unless you add them ;-) The XML Document (presume you meant that) and Python Methods are both Products, that is the Zope name for components XML Document can be downloaded from

[Zope] help!- version locked up site

2000-10-11 Thread sean
I cannot view my site...the version has locked it up with the following message (I cannot even delete the version- which is not currently open): Error Type: VersionLockError Error Value: ("'\\000\\000\\000\\000\\000\\002\\303\\007'", 'h101Latest') and the traceback: Traceback (innermost last):

[Zope] Connection Problem with Oracle

2000-10-11 Thread mirette Marzouk
I created a connection to an Oracle database. Frequently, the connection breaks and I got a database error in the page that displays the query result. When I logon as a manager I find that the connection is closed (by itself, nothing changed in Oracle or Zope), when I try to open it I get an

[Zope] If/And statements?

2000-10-11 Thread J. Atwood
Ok.. a very simple question. How do you do a if statement with an 'and'. If this, and that.. Was just asked of me and I had really not come up against it in Zope. (must be Wednesday) Thanks, J ___ Zope maillist - [EMAIL PROTECTED]

[Zope] date comparison

2000-10-11 Thread michael angelo ruberto
i want to create an index page that displays whether or not a page has been updated in the past 7 days or the past 20 days. however, i can't figure out how to get the bobobase_modification_date to compare with ZopeTime. can someone give me a clue before i rush blindly down Zope's undocumented

[Zope] Any limit on number of users?

2000-10-11 Thread Paul Winkler
Hi, Has anyone run up against a limitation on the number of users that can be in one acl_users folder? Either a hard limit or a practical limit? -- .paul winkler.. slinkP arts: music, sound, illustration, design, etc. web page:

[Zope] LocalFS on Win2k

2000-10-11 Thread Patrick Randerson
I'm trying to run LocalFS on Win2K, and access shared disks. I've read the instructions for the LocalFS package and followed them... When I try to access the LocalFS directory, I get: Error Type: OSError Error Value: [Errno 5] Input/output error I'm thinking this is a python-windows interface

Re: [Zope] If/And statements?

2000-10-11 Thread Phil Harris
dtml-if "this==1 and that==0" - Original Message - From: "J. Atwood" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, October 11, 2000 10:15 PM Subject: [Zope] If/And statements? Ok.. a very simple question. How do you do a if statement with an 'and'. If this, and that..

Re: [Zope] If/And statements?

2000-10-11 Thread J. Atwood
That was the stuff... Thanks, J From: Daniel Rusch [EMAIL PROTECTED] Date: Wed, 11 Oct 2000 16:29:52 -0500 To: "J. Atwood" [EMAIL PROTECTED] Subject: Re: [Zope] If/And statements? dtml-if "a==b and c==d" blah dtml-elif "e==f" blah blah dtml-else blah blah blah /dtml-if "J.

Re: [Zope] Re: Upload just file headers?

2000-10-11 Thread knight
Here's an idea for you. I use some of the code below in my FileBase product to receive uploads, although, I've added some "code" I think might help you for grabbing just the header. Although I'm not sure if the file descriptor that infile claims from the form has already been loaded into either

[Zope] (no subject)

2000-10-11 Thread Robert Joseph Roos
I tried to delete a product from the Control Panel. The particular prodcut in question is the Demo Portal from ZopePTK, version 0.8, which I mistakenly imported into Zope 2.1.something. In any case, I get the following error: Zope Error Zope has encountered an error while

Re: [Zope] Re: Upload just file headers?

2000-10-11 Thread Paul Winkler
Much thanks to Knight and to Peter Bengtsson (who replied off-list), I know have at least two possible avenues to explore. If I ever get this to work, I'll post it! -- .paul winkler.. slinkP arts: music, sound, illustration, design, etc. web

[Zope] dtml-let ?

2000-10-11 Thread Mark Twiddy
hi all Sorry fro the dumb question. Im totaling columns returned from a zsql thingy is there an easy way to do this in dtml. thanks mark ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML

[Zope] Need preferred 'import' format for ReportLab Image module

2000-10-11 Thread Tony McDonald
Hi all, This is of interest to those people using the (excellent) PDF generator, ReportLab http://www.reportlab.com/ under Zope. As you may know, there is an import conflict with the 'Image' module from PIL and the built in Zope 'Image' module when using ReportLab. The snippet below is from

Re: [Zope] date comparison

2000-10-11 Thread Kapil Thangavelu
michael angelo ruberto wrote: i want to create an index page that displays whether or not a page has been updated in the past 7 days or the past 20 days. however, i can't figure out how to get the bobobase_modification_date to compare with ZopeTime. can someone give me a clue before i rush

Re: [Zope] Re: Upload just file headers?

2000-10-11 Thread Tony McDonald
Much thanks to Knight and to Peter Bengtsson (who replied off-list), I know have at least two possible avenues to explore. If I ever get this to work, I'll post it! Please do - we've got people uploading PowerPoints of up to 25-30 Megabytes (record was an attempt at 170 Mb) and we'd like to

Re: [Zope] Re: Upload just file headers?

2000-10-11 Thread knight
Actually, I replied on list, but the phenomina of receiving your CC before the list replicated my original reply occured. ;] Knight [EMAIL PROTECTED] On Wed, 11 Oct 2000, Paul Winkler wrote: Much thanks to Knight and to Peter Bengtsson (who replied off-list), I know have at least two

[Zope] Using ProxyPass and SiteRoot

2000-10-11 Thread Timothy Wilson
Hi everyone, I've read the "Using Apache with ZServer (NOT Zope.cgi)" How-To and I find that my situation is different enough from the ones described that I'm not having any luck setting it up. I'd appreciate any suggestions on the following: My current Zope site is at

Re: [Zope] Using ProxyPass and SiteRoot

2000-10-11 Thread knight
Hi everyone, I've read the "Using Apache with ZServer (NOT Zope.cgi)" How-To and I find that my situation is different enough from the ones described that I'm not having any luck setting it up. I'd appreciate any suggestions on the following: My current Zope site is at

[Zope] How to use standard html headers and footers properly (was: Re: [Zope]Namespace problems...)Namespace problems...)

2000-10-11 Thread Manuel Amador (Rudd-O)
dtml-with pub> dtml-let titel="_.string.join(['This is the website of ', enterpriseName])"> dtml-var standard_html_header> /dtml-let> on your document, WILLwork fine. But I suggest recreating standard_html_header as a METHODand calling dtml-with pub> dtml-var standard..> /dtml-with> Since

[Zope] SybaseDA and ASA

2000-10-11 Thread Manuel Amador (Rudd-O)
Hey everyone, first, let me thank you for all the help you've provided. Every reply was fast, efficient and right to the point. Second: I've installed zope 2.2.2, and compiled sy_occ.so for SybaseDAagainst sybase-common-cantrememberversion.rpm from Sybase. (I assume it's the latest one). Loading

[Zope-dev] AttributeProvider and type information

2000-10-11 Thread John Eikenberry
I just want to ask a couple quick questions... First, when using the AttributeProvider class you are pretty much required to subclass it to add methods for altering the values of the attributes. Basically I want to be sure I'm not missing something criticle as there don't seem to be any methods

[Zope-dev] Xron fragility

2000-10-11 Thread Steve Alexander
The Xron product seems rather "fragile" in use. That is, if things go wrong when an Xron DTML Method is triggered, that method doesn't get rescheduled. An example of this is that my intranet DNS server needed to be rebooted. Xron couldn't look up the appropriate domain name, and stopped

Re: [Zope-dev] Xron fragility

2000-10-11 Thread Chris McDonough
Steve, I am also interested in scheduling... though I haven't looked closely at Xron. The Xron product seems rather "fragile" in use. That is, if things go wrong when an Xron DTML Method is triggered, that method doesn't get rescheduled. Does Xron take an optimistic approach to repeating

Re: [Zope-dev] Xron fragility

2000-10-11 Thread Steve Alexander
Chris McDonough wrote: Steve, I am also interested in scheduling... though I haven't looked closely at Xron. The Xron product seems rather "fragile" in use. That is, if things go wrong when an Xron DTML Method is triggered, that method doesn't get rescheduled. Does Xron take

Re: [Zope-dev] Better user management: Usership vs. Membership

2000-10-11 Thread Michael Bernstein
Jonas Juselius wrote: Hello, I had a look at the Membership product, but I could not get it to work. It seems that the PortalMember ZClass in the PortalMembership Product inherits from _ZClass_for_LoginUser, which is no longer in the LoginManager... Were you trying to use Membership with

Re: [Zope-dev] Xron fragility

2000-10-11 Thread Steve Alexander
Chris McDonough wrote: As a side note, I do not like the fact that Xron requires you to use special DTML methods. I suppose this is a requirement in this architecture due to the fact they need to be autocataloged, but I don't really like that feature either :-). I think Xron could work

Re: [Zope-dev] Xron fragility

2000-10-11 Thread Chris McDonough
As a side note, I do not like the fact that Xron requires you to use special DTML methods. I suppose this is a requirement in this architecture due to the fact they need to be autocataloged, but I don't really like that feature either :-). I think Xron could work with anything that has

Re: [Zope-dev] Xron fragility

2000-10-11 Thread Chris McDonough
I'll need to try to call get_transaction().commit() from a manually-constructed Python thread fired off from Zope and see what happens. I think it'll just work. I'll find out in a few minutes. :-) Yes, it just works. :-) ___ Zope-Dev maillist

Re: [Zope-dev] Xron fragility

2000-10-11 Thread Chris McDonough
Do you think this is this any more effective than having a producer thread do a lookup every minute to see what jobs are current, after which it should put the current jobs in a queue? E.g., as the "run" method of a separate producer thread: the same problem applies, a solution might

Re: [Zope-dev] Strange permissions in the (built-in) API reference

2000-10-11 Thread Michel Pelletier
Dieter Maurer wrote: Recently, I read the "Interface Wiki". It covers most of the methods contained in the API and its permission descriptions made a very solid impression. Maybe, you can start from these descriptions. The Interfaces Wiki is actually where all the API documention did come

[Zope-dev] Inheritable properties(sheets)? Anyone? Anyone? Bueller?

2000-10-11 Thread Alexander Schonfeld
I want to inherit the properties of one zclass in another zclass, but it seems to cause some namespace clashing... shouldn't this be possible? Working with the instance of the class is fine, but inter-zclass inheritance (acquisition?) would be nice... Am I missing something? Thanks, Alex.