[Zope-dev] Custom dtml tag ... parameters not evaluated

2001-04-12 Thread Romain Slootmaekers
Yo, I'm trying to create a custom dtml tag, and after the How-to on this (http://www.zope.org/Members/z113/1) that in itself posed no problem: easy as pie. The problem I'm having with the tag is that parameters are not evaluated. for instance (my tag's name is 'aa') dtml-let y="someValue"

[Zope-dev] Call me stupid (login form Howto other Q)

2001-04-20 Thread Romain Slootmaekers
Yo, you can call me stupid but I can't get this working: I have a logon form with user passwd, but what do have to do after the user has submitted this? Do I have to create a new BasicUser and assign that to AUTHENTICATED_USER or what ? Normally I'd just create a Folder that requires some

[Zope-dev] ZStyleSheets

2001-04-27 Thread Romain Slootmaekers
Yo, when trying to use the ZStyleSheets, we only found a zip, but no tarball. After unzipping, it didn't work because appearantly the zip was made for some OS that has a case-insensitive file-system. after renaming the files (zstylesheet* - ZStyleSheets* aso) everything behaved as expected.

[Zope-dev] installing 2.4.0b3 from source confusion

2001-07-07 Thread Romain Slootmaekers
Yo, dudes, I downloaded the 2.4.0b3 tarball and in the README it states: '''Important This release requires Python 1.5.2. ''' clear enough, but the doc/INSTALL.txt states: ''' Important notes ZOPE 2.4 REQUIRES PYTHON 2.1! See CHANGES.txt for important notes on Zope 2.4. ''' This

[Zope-dev] Zope 2.4.1 bugfix in RestrictedPython/__init__.py

2001-09-14 Thread Romain Slootmaekers
Yo dudes, VSEval in Documenttemplate tries to set Eval No problem but RestictedPython has no Eval attribute by default so you need to import it add this line to RestrictedPython/__init__.py import Eval can someone add this to the source tree ? Tia have fun, Sloot.

Re: [Zope-dev] Any interest in a set of Zope products to supportCVS-versioned, XML/XSLT-based Zope development?

2001-10-31 Thread Romain Slootmaekers
In our opinion, Zope is about a year or two ahead of where these guys are in many respects. Kudos! When I asked the tomcat mailing list for Zope like functionality in tomcat (some year ago) nobody even answered. The product probably wasn't known or nobody saw the possibilities. I still

Re: [Zope-dev] reduce() doesn't work in Python Scripts

2001-12-06 Thread Romain Slootmaekers
On Thu, 6 Dec 2001, Brad Clements wrote: In Zope 2.4.3 binary on Linux import operator reduce(operator.add,[0,1,2,3,4]) try _.reduce() gives me Error Value: global name 'reduce' is not defined this shkould be clear enough as a message. zope can't find the reduce function.

[Zope-dev] ZGDChart-0.6.2.babel restarts my Zope

2001-12-06 Thread Romain Slootmaekers
Yo, I installed ZGDChart and was playing around with it. cool stuff... But I came across this problem: at first, everything worked fine, but know, whenever I try to view a chart, my zope server restarts. no messages what so ever. I tried the test.py that came with ZGDChart , and that seems to

Re: [Zope-dev] reduce() doesn't work in Python Scripts

2001-12-06 Thread Romain Slootmaekers
On Thu, 6 Dec 2001, Brad Clements wrote: On 6 Dec 2001 at 16:12, Romain Slootmaekers wrote: reduce(operator.add,[0,1,2,3,4]) try _.reduce() This is in a Python Script, I'm not using the DTML namespace. Note that map() and filter() work without a problem, so why not reduce

Re: [Zope-dev] reduce() doesn't work in Python Scripts

2001-12-06 Thread Romain Slootmaekers
indeed. in lib/python/AccessControl/ZopeGuards.py the guarded_reduce isn't there those who are are: ['cmp', 'round', 'AttributeError', 'random', 'str', 'range', 'ArithmeticError', 'whrandom', 'unichr', 'list', 'FloatingPointError', 'getattr', 'hasattr', 'setattr', 'IndexError',

[Zope-dev] IOError [Errno 5]

2001-12-07 Thread Romain Slootmaekers
Yo dudes, our zope server shows the following behaviour. 1) runs fine for (a few hours - a few days) 2) then starts spawning the following errors: Error Type: IOError Error Value: [Errno 5] Input/output error Does anybody know what may be causing this? the tracebacks don't make

Re: [Zope-dev] Merhabalar;

2001-12-13 Thread Romain Slootmaekers
We are 'polyglotically challenged' and thus don't know Turkish. On Fri, 12 Nov 1999, Can Canbilek wrote: Öncelikle rahatsýz ediyorsak özür dileriz ama bu maili okursanýz sanýrým bize teþekkür edeceksiniz. Sizlere, hiçbir masraf yapmadan yalnýzca internete girerek para kazanacaðýnýzý

[Zope-dev] CMF attribute horror or too many [t|T]itles

2002-01-14 Thread Romain Slootmaekers
Yo dudes, just a stupid simple question: After wrestling with the documentation, I have created my own CMF content type and it actually works except for some details. In retrospect, it was 90% code browsing, and 10% useful documentation,... cmf is fun, but the cmf dogbowl really sucks .. Anyway,

[Zope-dev] persistent threads ?

2002-01-29 Thread Romain Slootmaekers
Yo, We have some computational expensive task that we execute as a result of some HTTPRequest. So we spawn a thread and return immediately. Future requests can get the status and thus we can monitor progress at the client side. So far so good. But what should we do when the server restarts

[Zope-dev] Dependency problem with SimpleItem

2002-02-06 Thread Romain Slootmaekers
Yo dudes, I have problems with dependencies on Zope 2.4.3: If I try to import OFS.SimpleItem directly, I get following problem. from OFS import SimpleItem Traceback (most recent call last): File stdin, line 1, in ? File D:\ZopeDevel\lib\python\OFS\SimpleItem.py, line 95, in ? import

[Zope-dev] FileSystem based products markup.

2002-02-14 Thread Romain Slootmaekers
Yo, We have a file system based product, and some dtml-methods are defined the usual way myMethod=DTMLFile('myMethod',globals()) We want our webbies to be able to add some eye-candy. But how would they go about if they want to add some images ? Remember: THEY ARE WEBBIES, so it has to be

Re: [Zope-dev] Re: Zope vs. Cocoon

2002-02-25 Thread Romain Slootmaekers
I asked the tomcat mailing list more than a year ago what they thought about zope and got no response what so ever To be short: -what jsp misses is object based authorization like zope. -what zope misses is good documentation, and something like the catilina

[Zope-dev] improved logging

2002-02-28 Thread Romain Slootmaekers
Yo, questions wrt logging: -) What are the plans to improve the rather primitive logging facilities in zope ? I couldn't find anything in the plan for 2.6, nor on the 3.0 homepage. I think we need at least an extendibl framework with following types of components: - Loggers (fi, file logger,

[Zope-dev] ZODB thread safety issue.

2002-03-10 Thread Romain Slootmaekers
Yo, I read on the doc's : A key feature of Zope 2 (ZODB 3) is that (a copy of) a persistent object is never accessed by more than one thread (unless the programmer goes way out of thier way). Each thread uses it's own database connection(s). Each connection has it's own copies of persistent

Re: [Zope-dev] Re: ZMI / JavaScript brainstorm

2002-04-08 Thread Romain Slootmaekers
On Mon, 8 Apr 2002, Charles Y. Choi wrote: IMHO, much of what makes the ZMI difficult to use is due to limitations of the textarea widget in a web browser (no syntax highlighting, no indentation support, etc.) So what if there was a way to get JavaScript to take the contents of a

Re: [Zope-dev] how bad are per-request-write-transactions

2002-04-22 Thread Romain Slootmaekers
Yo, I have been following this thread for quite some time now, and call me stupid if you must, but why don't you just keep the data in the session and write it all out when the session gets cleaned up? For the original problem (keeping statistics of site usage) this will be more than enough.

Re: [Zope-dev] Zope components and revision control with cvs

2002-08-01 Thread Romain Slootmaekers
Gary Poster wrote: On Thu, 2002-08-01 at 15:04, Shane Hathaway wrote: There are a few products on zope.org for integrating with CVS. Look through the downloadable products. I think there are CVSFolder and ZCVSFile (or something like that), maybe more. However, most version control tools

Re: [Zope-dev] passive FTP to Zope with a specified port-range

2002-08-02 Thread Romain Slootmaekers
Mr Tobias Schiebeck wrote: Hi, I'm trying to modify the zope ftp-access to specify a port range within the server selects the ports for the passive ftp communication with the ftp-clients. This is in order to have the Zope server behind a firewall blocking more then the privileged ports

[Zope-dev] Coroner's toolkit for zope, or how to figure out what went wrong.

2002-08-12 Thread Romain Slootmaekers
Yo, we had a nasty crash of our zope server that we use for a b2b web application. The Data.fs ZODB lost a significant amount of data. At this point, we restored the Data.fs from our last backup and the server is back up and running. (breathing relieved) What worries me is that we have no

Re: [Zope-dev] Follow up: Coroner's toolkit for zope, or how to figureout what went wrong.

2002-08-12 Thread Romain Slootmaekers
Toby Dickenson wrote: On Monday 12 Aug 2002 4:50 pm, Joachim Werner wrote: Hi! I know of exactly two cases that could really cause a ZODB loose data: if you reach the 2GB limit with a Python not compiled for larger files and if you reach the physical limit of your storage. That is, if your

Re: [Zope-dev] Coroner's toolkit for zope, or how to figure out whatwent wrong.

2002-08-12 Thread Romain Slootmaekers
Jim Fulton wrote: Romain Slootmaekers wrote: Yo, we had a nasty crash of our zope server that we use for a b2b web application. The Data.fs ZODB lost a significant amount of data. What sort of crash? Was this a hardware failure, or a software failure? software. basically, the server

Re: [Zope-dev] Coroner's toolkit for zope, or how to figure out whatwent wrong.

2002-08-12 Thread Romain Slootmaekers
Jim Fulton wrote: Romain Slootmaekers wrote: I think you are pretty far off here. You said you saw a read conflict. No conflict resolution is done for a read conflict. Further, from the very brief description of your DB class, it doesn't appear to use any objects that actually try

[Zope-dev] Database Cursors and Gargabe collection ?

2002-09-08 Thread Romain Slootmaekers
Yo, we have a problem using garbage collection to clean up open database cursors. Our approach is really simple, but doesn't work. :( we have a method( on a SimpleItem object) getCursor: def getCursor(self): doc if not hasattr(self,'_v_cursor'):

Re: [Zope-dev] http://cvs.zope.org/Products/Scheduler vs Xron forcron-like functionality. Advice?

2002-10-05 Thread Romain Slootmaekers
Joachim Werner wrote: Hi All, I'm interested in starting to maintain Xron, if it has potential to be a stable products. From the code it doesn't seem to do any strange things, but I would like to know if anybody has experience of using it in a production environment, or any other experiences and

[Zope-dev] product refresh and random number generation.

2003-01-28 Thread Romain Slootmaekers
hi, I'm having problems with random number generation and product refreshes. To illustrate the problem, consider the following product code: class RandomNumberGenerator(SimpleItem.SimpleItem): ... def __init__(self,id): initialize an instance self.id = id

[Zope-dev] Accept-Charset hearders causing 500 internal server error.[correctbut not lenient]

2003-01-29 Thread Romain Slootmaekers
Hi, We have problems with the Accept-Charset headers that are sent to the zope server by some mobile phones: fi: 'Accept-Charset':'ISO-8859-1, US-ASCII, UTF-8; Q=0.8' These cause a 500 internal server error. (Error Value: invalid literal for float(): =0.8 ) I checked with the HTTP1.1 RFC26160

[Zope-dev] robustness in management interface.

2003-02-07 Thread Romain Slootmaekers
Hi, The zope management interface has some robustness problems: whenever you call manage_workspace (the normal way of managing a folder through the HTML Zope management interface) on a folder X, and some object y in that folder gives an error (fi, it has no title attribute, ) the whole folder

Re: [Zope-dev] robustness in management interface.

2003-02-07 Thread Romain Slootmaekers
Jim Washington wrote: Romain Slootmaekers wrote: Hi, The zope management interface has some robustness problems: whenever you call manage_workspace (the normal way of managing a folder through the HTML Zope management interface) on a folder X, and some object y in that folder gives an error

Re: [Zope-dev] Accept-Charset hearders causing 500 internal servererror.[correct but not lenient]

2003-02-10 Thread Romain Slootmaekers
Romain Slootmaekers wrote: Hi, below the original post: it is a bug in Products/Localizer/Accept.py here's the code to fix it: #--- code fix starting from line 102 --- # Get the quality try: if len(x) == 2: quality = x[1]# Get

Re: [Zope-dev] Accept-Charset hearders causing 500 internal servererror.[correct but not lenient]

2003-02-10 Thread Romain Slootmaekers
Leonardo Rochael Almeida wrote: On Mon, 2003-02-10 at 10:27, Romain Slootmaekers wrote: Romain Slootmaekers wrote: Hi, below the original post: it is a bug in Products/Localizer/Accept.py here's the code to fix it: #--- code fix starting from line 102 --- # Get the quality try

Re: [Zope-dev] Re: Bare except dangerous to ZODB?

2003-02-11 Thread Romain Slootmaekers
Shane Hathaway wrote: Jeremy Hylton wrote: On Tue, 2003-02-11 at 12:10, Shane Hathaway wrote: I added a test to testZODB.py on a new branch (shane-conflict-handling-branch) that exercises the conflict handling bug. The test currently fails. It might be simpler to go with Toby's

Re: [Zope-dev] Re: [Zope] PCGI?

2003-02-14 Thread Romain Slootmaekers
Jeff Rush wrote: I had thought (obviously incorrectly) that mod_proxy was hard to configure correctly to pass all headers, particularly in complex virtual hosting scenarios. But I'm no Apache expert. funny, because that was the exactly the reason we chose mod_proxy over PCGI: the easy of

Re: [Zope-dev] Re: [Zope] PCGI?

2003-02-14 Thread Romain Slootmaekers
here's an edited repost from an answer I got from this mailing list. it has helped me with zope+apache (+ ssl) and is a good start for the documentation upgrade, (although I personally use the apache proxypass directives) -- original help from Leonardo Rochael Almeida [EMAIL PROTECTED] --

[Zope-dev] support for low level HTTP Response logging?

2003-02-25 Thread Romain Slootmaekers
Yo, searching the zope site and googling yielded too many data and no info, so I might as well ask it here. We are very interested in finding out the exact HTTP Responses that the zope server pushes towards the client. So is there a low level hook for logging the http responses ? We want the

Re: [Zope-dev] support for low level HTTP Response logging?

2003-02-25 Thread Romain Slootmaekers
Andreas Jung wrote: http://hathaway.freezope.org/Software/TCPWatch Apparantly, I forgot to mention this: proxying isn't an option either. You can't just, on the fly, put a proxy between several components in a production setup. Sloot. --On Dienstag, 25. Februar 2003 11:24 +0100 Romain

Re: [Zope-dev] support for low level HTTP Response logging?

2003-02-25 Thread Romain Slootmaekers
Clemens Robbenhaar wrote: Hi Romain, Yo, searching the zope site and googling yielded too many data and no info, so I might as well ask it here. We are very interested in finding out the exact HTTP Responses that the zope server pushes towards the client. So is there a low

[Zope-dev] HTTP Response headers in ZPublisher.HTTPResponse

2003-03-03 Thread Romain Slootmaekers
Yo, the response headers set in ZPublisher.HTTPResponse our not always RFC compliant. In case of exceptions you get: (round lines 670 in HTTPResponse.py) if ev.find( 'html') = 0: ev = 'bobo exception' self.setHeader('bobo-exception-value', ev[:255]) If the content is a

Re: [Zope-dev] Zope + Jabber?

2003-04-01 Thread Romain Slootmaekers
Yo, couldn't resist to mention that Zabber means drewl/saliva in Dutch, so the name might be not that fortunate. ;) Sloot. ___ Zope-Dev maillist - [EMAIL PROTECTED] http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding!

[Zope-dev] oh boy [id,getId() madness]

2003-06-11 Thread Romain Slootmaekers
Yo, I have an error in this code fragment: - fragment -- for childObject in container.objectValues(): id=childObject.getId() childObject2=container[id] # sometimes gives a KeyError #... - /fragment -- So it means that there are contained

[Zope-dev] Maxinum number of versions for a single object in the ZODB ?

2003-07-12 Thread Romain Slootmaekers
Yo, Somewhere in our deployment we have a SimpleItem.SimpleItem object with a random number generator in it. The code to get a new random number is: random=self.__random.random() # self._p_changed = 1 # make sure to store the changed generator We use that generator A LOT, but today, after

[Zope-dev] pre-export and post-import hooks.

2003-08-14 Thread Romain Slootmaekers
, and not when you export a container of the object in question. Is there an easy solution to this problem ? Romain Slootmaekers ___ Zope-Dev maillist - [EMAIL PROTECTED] http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML

Re: [Zope-dev] Zope and Boa-Constructor

2003-08-23 Thread Romain Slootmaekers
Bruce Williams wrote: Anyone else using the combonation? yeah. it works great. ___ Zope-Dev maillist - [EMAIL PROTECTED] http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists -

[Zope-dev] zope.org down....

2003-08-26 Thread Romain Slootmaekers
] /ugly_message hope someone can do something ;) Romain Slootmaekers ___ Zope-Dev maillist - [EMAIL PROTECTED] http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope

Re: [Zope-dev] Zope 2.7 running with Stackless 3.0

2003-08-28 Thread Romain Slootmaekers
Christian Tismer wrote: Dear friends, just by chance, I got into the position to try out Zope 2.7.0 beta 1/2, and since it needs Python 2.2.3 at least, and Stackless 3.0 was just ported to that, I tried to build Zope with Stackless 3.0. It works very very well! After a few patches to get the

[Zope-dev] bug in manage_pasteObjects ??

2003-08-28 Thread Romain Slootmaekers
of: original_ob=ob ob=ob._getCopy(self) ob.manage_afterClone(original_ob) /--- c amp; p --- but there's no follow- up, no reply, no fix. :( Romain Slootmaekers ___ Zope-Dev

Re: [Zope-dev] bug in manage_pasteObjects ??

2003-08-29 Thread Romain Slootmaekers
Romain Slootmaekers wrote: hi, after an object is copied paste, the following method is called: def manage_afterClone(self, item): as it happens, both self and item refer to the same object which severely limits the use of the method. You probably want a reference

Re: [Zope-dev] bug in manage_pasteObjects ??

2003-08-30 Thread Romain Slootmaekers
Dieter Maurer wrote: Romain Slootmaekers wrote at 2003-8-28 22:14 +0200: after an object is copied paste, the following method is called: def manage_afterClone(self, item): as it happens, both self and item refer to the same object which severely

Re: [Zope-dev] bug in manage_pasteObjects ??

2003-09-01 Thread Romain Slootmaekers
Dieter Maurer wrote: Romain Slootmaekers wrote at 2003-8-30 13:29 +0200: ... So the official use case would be: clone needs to call method on original. I customized _getCopyOf for a similar requirement. But, I see, you do not have the id in the method. ... I changed my 2.6.1

Re: [Zope-dev] Catalog performance

2003-09-10 Thread Romain Slootmaekers
document one after another, and that takes time. Romain Slootmaekers. ___ Zope-Dev maillist - [EMAIL PROTECTED] http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo

[Zope-dev] Zope doesn't know enough mime types.

2003-10-24 Thread Romain Slootmaekers
-descriptor .jar : application/java-archive I'm sure there must be quite a few others. Maybe someone can add the lot of'em. This also is vaguely related to: http://zope.org/Collectors/Zope/969 TIA, Romain Slootmaekers ___ Zope-Dev maillist - [EMAIL

Re: [Zope-dev] Zope doesn't know enough mime types.

2003-10-24 Thread Romain Slootmaekers
Clemens Robbenhaar wrote: Hi Romain, Yo, Zope doesn't know enough mime types, and there's no easy way to add them add runtime since you removed the add_type(...) method from mimetypes.py Who is you which has removed the function? I guess mimetypes is a core python module ... you =

Re: [Zope-dev] Zope doesn't know enough mime types.

2003-10-24 Thread Romain Slootmaekers
Tres Seaver wrote: On Fri, 2003-10-24 at 09:03, Romain Slootmaekers wrote: Yo, Zope doesn't know enough mime types, and there's no easy way to add them add runtime since you removed the add_type(...) method from mimetypes.py mime types that spring to mind are: .ra .ram .rm : audio/x-pn

Re: [Zope-dev] Zope doesn't know enough mime types.

2003-10-24 Thread Romain Slootmaekers
Leonardo Rochael Almeida wrote: Put it in the collector. http://zope.org/Collectors/Zope/1091 ___ Zope-Dev maillist - [EMAIL PROTECTED] http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists -

[Zope-dev] Zope 2.6+ pyton 2.3 ? and Bad Call on zope 2.6.2/python 2.1.3 with profiling turned on.

2003-10-29 Thread Romain Slootmaekers
measurements/profiling effort. TIA, Romain Slootmaekers. ___ Zope-Dev maillist - [EMAIL PROTECTED] http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo

Re: [Zope-dev] Zope 2.6+ pyton 2.3 ? and Bad Call on zope 2.6.2/python 2.1.3 with profiling turned on.

2003-10-30 Thread Romain Slootmaekers
Dieter Maurer wrote: Romain Slootmaekers wrote at 2003-10-29 11:28 +0100: I have an elaborate piece of python code that works fine, but with profiling turned on, it barfs a Bad Call message. When google-ing for a solution, the only thing I could find was a http://mail.python.org

Re: [Zope-dev] New-style ExtensionClass , maybe stupid question...

2003-12-02 Thread Romain Slootmaekers
Yo, this maybe a stupid question, and totally off topic, but ... will the new type extension class avoid the problems related with mixin classes not extending ExtensionClass.Base? (for explanation and workaround see the thread http://mail.zope.org/pipermail/zope/2002-June/116094.html ) Romain

[Zope-dev] bug in 2.6.2, 2.6.1 , and probably others.

2004-02-03 Thread Romain Slootmaekers
, but before I file a bug report, I'd like to know what versions are affected. I don't have the time nor the desire to install all versions and test this. So if you guys could take a minute to test it on your version. tia, Romain Slootmaekers

Re: [Zope-dev] How to make Zope fail nicely under high load?

2004-02-11 Thread Romain Slootmaekers
session, aso. Ok, This said. who writes the proposal? ;) Romain Slootmaekers. ___ Zope-Dev maillist - [EMAIL PROTECTED] http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org

Re: [Zope-dev] ZODB for Java?

2004-04-15 Thread Romain Slootmaekers
Ian Beatty wrote: Greetings. Does anyone know of a good (stable, reliable, fast enough for production use in a web app) ZODB-equivalent for persisting Java objects? www.jdocentral.com Thanks, ..Ian -- --- -- --- -- --- -- --- -- --- -- --- -- --- -- --- -- --- -- Dr. Ian Beatty

[Zope-dev] TALParser barfing on byte-order marked utf8 XML files.

2004-07-09 Thread Romain Slootmaekers
perfectly logical: ä has code 132. My question is simply: why is TALParser not taking the encoding into acount ? Is this deliberate, or is it an oversight ? Romain Slootmaekers. ?xml version=1.0 encoding=UTF-8 ? fails Archäologe Paläo-Anthropologie /fails# # # from xml.dom.minidom import