[Zope3-dev] Re: Proposal, free views

2007-09-23 Thread Adam Groszer
Hi Roger, Big +1, That would separate the browser part from the component part. Who knows what UI I want for a reused component, might even be that none! On 9/23/07, Roger Ineichen <[EMAIL PROTECTED]> wrote: > Heads up, > > Please review this proposal. I'll implement it > shortly if nobody has o

Re: [Zope3-dev] Re: zope.testbrowser 3.4.1

2007-09-13 Thread Adam Groszer
Hello Philipp, Thursday, September 13, 2007, 1:34:02 PM, you wrote: > Benji York wrote: >> zope.testrowser 3.4.1 generates non-backward-compatible tracebacks for >> HTTP errors. 3.4.2 will be released soon(-ish) to fix this, in the mean >> time please continue to use 3.4.0. Thanks. > I guess

Re[4]: [Zope3-dev] how-to stop permission propagation to sublocations

2007-08-23 Thread Adam Groszer
Hi, I ended up in overriding the permission storage map. This might not be so conservative, but seems to work. Kills any not ALLOWED permission and stops propagation. ALLOWED = ['zope.View', 'zope.app.dublincore.view', ...] class trashPermManager(AnnotationPrincipalPermissionManager): def ge

Re[2]: [Zope3-dev] how-to stop permission propagation to sublocations

2007-08-22 Thread Adam Groszer
August 23, 2007, 7:12:12 AM, you wrote: > Am Mittwoch, den 22.08.2007, 21:00 +0200 schrieb Adam Groszer: >> Hello, >> >> Is there a sane way to stop permission propagation to sublocations? >> Let's say I have a site, and somewhere below there is a folder as a >&

[Zope3-dev] how-to stop permission propagation to sublocations

2007-08-22 Thread Adam Groszer
Hello, Is there a sane way to stop permission propagation to sublocations? Let's say I have a site, and somewhere below there is a folder as a trashcan, unneeded objects get moved to here. Users must not modify objects in the trash. Users usually will get ModifyContent permission at the site level

Re[2]: AW: [Zope3-dev] Re: AW: relying on win32api in windows supportofzc.zope3recipes

2007-08-20 Thread Adam Groszer
Monday, August 20, 2007, 3:05:45 PM, Stephan Richter wrote: > Windows is pretty different in this respect. You really want to use an > installer, which means you get a wizard. People in Windows expect this > behavior and want it. It is quiet ignorant to ask them to use eggs instead. Hackers on wi

Re[2]: [Zope3-dev] problem with zope.testbrowser

2007-08-16 Thread Adam Groszer
Hello Benji, Had some time to merge it to the trunk. I would say it's time now to kill/remove/delete the ClientForm and mechanize stored on the trunk. Any objections? Thursday, August 9, 2007, 2:20:27 PM, you wrote: > Adam Groszer wrote: >> Hello Fred, >> >> I

Re[2]: [Zope3-dev] LocationProxy+None

2007-08-14 Thread Adam Groszer
Thank you Jeff for the clarification. Thought so that could be something like this, but was not so clear on spot. Tuesday, August 14, 2007, 4:15:48 PM, you wrote: JS> On 8/14/07, Adam Groszer <[EMAIL PROTECTED]> wrote: >> A strange thing happened today: >> >>>

[Zope3-dev] LocationProxy+None

2007-08-14 Thread Adam Groszer
Hello, A strange thing happened today: >>> x = LocationProxy(None, "foo", "bar") >>> x is None False >>> x == None True Is this OK or I'm just missing something? -- Best regards, Adam mailto:[EMAIL PROTECTED] ___ Zope3-dev m

[Zope3-dev] how-to dig SVN log of the satellites

2007-08-09 Thread Adam Groszer
Hello, Seems like it's not so easy to get a complete history log of the satellites. (e.g. zope\app\authentication\principalfolder.py). Where shall I look for it? -- Best regards, Adam mailto:[EMAIL PROTECTED] ___ Zope3-dev m

Re[4]: [Zope3-dev] problem with zope.testbrowser

2007-08-09 Thread Adam Groszer
Hello Fred, I'll say silence is consent. I'll need some time to merge. Might be I should write a test before. Wednesday, August 8, 2007, 5:48:11 AM, you wrote: > On 7/21/07, Adam Groszer <[EMAIL PROTECTED]> wrote: >> Seems like it's ready. Apidoc had to be modifi

Re[2]: [Zope3-dev] problem with zope.testbrowser

2007-07-21 Thread Adam Groszer
Hi, Seems like it's ready. Apidoc had to be modified too. The egg seems to be built OK. Installs OK with dependecies. Tests on the trunk pass when the satellite's branches are linked in as externals. As I'm not yet a pro regarding eggs, please have a look. -- Best regards, Adam

Re: [Zope3-dev] Re: help with doctests

2007-07-20 Thread Adam Groszer
Hello Philipp, Great, that would solve also the \r\n substitution also (I hope). Friday, July 20, 2007, 11:27:52 AM, you wrote: > Marius Gedminas wrote: >> doctests have special rules for exceptions that are different from the >> rules of normal output matching. >> >> If a statement raises an e

Re[2]: [Zope3-dev] doctest prb again

2007-07-20 Thread Adam Groszer
Hello Marius, Great, that works ;-) Thought that there is some more genreic-sane way. Friday, July 20, 2007, 10:25:02 AM, you wrote: > On Fri, Jul 20, 2007 at 10:09:18AM +0200, Adam Groszer wrote: >> Hello, >> >> How to solve the \r\n and \n mismatch between win32 and *n

Re[2]: [Zope3-dev] doctest prb again

2007-07-20 Thread Adam Groszer
ITESPACE help here? > Stefan > On 20. Jul 2007, at 10:09, Adam Groszer wrote: >> How to solve the \r\n and \n mismatch between win32 and *nix in the >> doctests? > -- > Anything that happens, happens. --Douglas Adams -- Best regards, Adam

[Zope3-dev] doctest prb again

2007-07-20 Thread Adam Groszer
Hello, How to solve the \r\n and \n mismatch between win32 and *nix in the doctests? doctest is: """ >>> ctrl.value 'Text inside\narea!\n ' """ fails with (on win32): """ Failed example: ctrl.value Expected: 'Text inside\narea!\n ' Got:

Re: AW: [Zope3-dev] help with doctests

2007-07-20 Thread Adam Groszer
Hi Roger! Yes, it's the same :-( Friday, July 20, 2007, 9:59:48 AM, you wrote: RI> Hi Adam >> Auftrag von Adam Groszer >> Gesendet: Freitag, 20. Juli 2007 09:49 >> An: zope3-dev >> Betreff: [Zope3-dev] help with doctests >> >> Hello, >>

[Zope3-dev] help with doctests

2007-07-20 Thread Adam Groszer
Hello, In z.a.apidoc.browser.README.txt I can write """ >>> browser.open('http://localhost/++apidoc++/non-existent/') Traceback (most recent call last): ... httperror_seek_wrapper: HTTP Error 404: Not Found """ (test passes) but I can't write """ >>> browser.open('http://localhost/++api

[Zope3-dev] Re[2]: problem with zope.testbrowser

2007-07-19 Thread Adam Groszer
Hello Philipp, Just realized that the mechanize and Clientform of the _satellite_ is pointing as external to the trunk... That looks not so good, does it? Monday, July 16, 2007, 10:49:38 PM, you wrote: > On 16 Jul 2007, at 08:59 , Adam Groszer wrote: >> Yep, had the same idea just

[Zope3-dev] Re[2]: problem with zope.testbrowser

2007-07-19 Thread Adam Groszer
Hello Philipp, I decided to keep the trunk consistent this time as I'm still not using the eggs. I'll wait for you (and Jim) to decide how to deal with the externals at the satellites. Monday, July 16, 2007, 10:49:38 PM, you wrote: > On 16 Jul 2007, at 08:59 , Adam Groszer wrote

[Zope3-dev] Re: zc.table.column.GetterColumn does not encode &<>

2007-07-19 Thread Adam Groszer
Wednesday, July 18, 2007, 6:55:50 PM, I wrote: > Hello, > Seems like zc.table.column.GetterColumn does not encode the characters > "&<>" to the usual &, <, >. > Is that OK this way? > I usually insert the result of the Formatter() with > . That breaks havoc if a > table cell's data contains any "

[Zope3-dev] zc.table.column.GetterColumn does not encode &<>

2007-07-18 Thread Adam Groszer
Hello, Seems like zc.table.column.GetterColumn does not encode the characters "&<>" to the usual &, <, >. Is that OK this way? I usually insert the result of the Formatter() with . That breaks havoc if a table cell's data contains any "&<>". Am I missing something? -- Best regards, Adam

[Zope3-dev] Re[2]: problem with zope.testbrowser

2007-07-15 Thread Adam Groszer
Hello Philipp, Yep, had the same idea just yesterday. But how to keep the trunk also in a good-consistent shape (if it needs to be kept in a good shape)? Sunday, July 15, 2007, 3:07:17 PM, you wrote: > Adam Groszer wrote: >> Did something at /repos/Zope3/branches/adamg-mechanize-update

Re[2]: [Zope3-dev] problem with zope.testbrowser

2007-07-13 Thread Adam Groszer
Hello Benji, Did something at /repos/Zope3/branches/adamg-mechanize-update/, the biggest problems seems to be now, that ClientForm won't work in a subfolder. Any objections against putting it back to /src? Wednesday, July 11, 2007, 7:32:06 PM, you wrote: > Adam Groszer wrote: >>

Re[2]: [Zope3-dev] Windows eggs

2007-07-13 Thread Adam Groszer
Hello Philipp, Friday, July 13, 2007, 12:18:27 PM, you wrote: > Adam Groszer wrote: >> Tried it with zope.proxy. Updated to the latest distutils. > I trust you're also using setuptools? Now yes, was a clean VM :-S distutils is 1.0.2 setuptools is 0.6c6 Anything else I need

Re: [Zope3-dev] Windows eggs

2007-07-13 Thread Adam Groszer
Hello Philipp, Tried it with zope.proxy. Updated to the latest distutils. Have the following exception: Traceback (most recent call last): File "U:\1\zope.proxy-3.4.0a1\setup.py", line 54, in ? zip_safe = False, File "C:\Python24\distutils\core.py", line 101, in setup File "C:\Python24\

Re[2]: [Zope3-dev] problem with zope.testbrowser

2007-07-11 Thread Adam Groszer
Hi Benji, The problem is deep in mechanize. Updating mechanize+Clientform to the current versions (locally) helped. Some patching in testbrowser is necessary. Any advices for/against doing that on the trunk? Wednesday, July 11, 2007, 2:50:49 PM, you wrote: > Adam Groszer wrote: >&

[Zope3-dev] problem with zope.testbrowser

2007-07-10 Thread Adam Groszer
Hello, Have a resourceDirectory here, that contains a bunch of files for the app's help. The app determines which html to open including an anchor and does a HTML redirect. (http://localhost:8080/ap_test/@@/dkr-help/index.html#Documents) That works fine using a browser, but fails with the testbrow

Re: [Zope3-dev] zc.zope3recipes not working on Windows

2007-06-01 Thread Adam Groszer
Hello Stephan, There is a zopeservice.py that should have the same functionality on win32 as zdaemon as far as I know. It will install zope as a windows service, then it can be controlled by 'regular' win commands, the win service manager does the recovery, restart and stuff. Thursday, May 31, 20

Re[2]: [Zope3-dev] possible bug in z.a.password?

2007-04-21 Thread Adam Groszer
Hello Dmitry, Saturday, April 21, 2007, 10:57:07 AM, you wrote: > Ugh, my bad I didn't notice that passwords may be Unicode strings. I > think password should be encoded to UTF-8 before processing but I don't > know that to do with backward compatibility. As an option we can > introduce new Unic

[Zope3-dev] possible bug in z.a.password?

2007-04-20 Thread Adam Groszer
Hello, Using the current trunk I experienced that using the PAU with a user folder and users passwords stored with MD5, entering accented characters as passwords causes an exception. That happens either at adding the principal or at Z3's stock login form. I think this is not my fault, but could s

[Zope3-dev] z3c.baseregistry weirdness

2007-04-04 Thread Adam Groszer
Hello Stephan, We're having here a problem with our app that uses z3c.baseregistry. The app used to live at something like http://localhost:8080/ap_test/... That's an ISite. Somebody managed to rename ap_test to ap_test2 (but anything works) and the app lost it's declarations that use the register

[Zope3-dev] bit puzzled with directDelivery+smtpMailer

2007-03-29 Thread Adam Groszer
Hello, I'm trying to catch somehow the exception that's coming when the SMTP server IP address is misconfigured or the SMTP server is not responding. My problem is that the sending works using the transaction manager. That means the exception comes after File "U:\zope\svn_zope33\src\zope\publis

Re: [Zope3-dev] Re: Community opinion about search+filter

2007-03-27 Thread Adam Groszer
Hello, Somehow relevant to the subject I just found an article on Wickert's site: http://www.wiggy.net/ , "Using a seperate Data.fs for the catalog" -- Best regards, Groszer Adam -- Quote of the day: Keep your fears for yourself, but share your courage with others. - Robert Louis Stevenson

Re: [ZODB-Dev] Re: [Zope3-dev] Re: Community opinion about search+filter

2007-03-25 Thread Adam Groszer
Hello Martijn, MF> I would like some system that helps me reduce some of these costs, using MF> the approaches you list, or at least some caching somewhere. I would MF> imagine a relational database for instance can employ caching of result MF> sets, so that if no writes occurred, a second LIMIT

Re: [Zope3-dev] Re: SVN: Zope3/branches/3.2/src/zope/app/ftests/doctest.txt Fix of broken test by my change at rev 71681

2007-03-25 Thread Adam Groszer
Hello Philipp, Sorry, I fixed that now hopefully. Now I get Ran 532 tests with 0 failures and 0 errors in ... What mislead me was that in 3.3 the realm is "Zope" instead of zope. Sunday, March 25, 2007, 5:41:03 PM, you wrote: PvW> Adam Groszer wrote: >> Log message for revis

Re: [Zope3-dev] Re: Community opinion about search+filter

2007-03-24 Thread Adam Groszer
Hello Martijn, I think that would give a great GSOC project. The subject is well contained, knownledge might be ported from RDB and/or AdvancedQuery. Thursday, March 15, 2007, 7:04:03 PM, you wrote: MF> Hello, MF> Adam Groszer wrote: >> I'd like to ask your opinion, your

[Zope3-dev] Community opinion about search+filter

2007-03-14 Thread Adam Groszer
Hello, I'd like to ask your opinion, your experiences about searching and filtering in quite large object DBs. We need to add search and filter functions to our current app, where the user might be able to create quite _sophisticated_ filter criterias. (The app is a pure Z3 app, subject is documen

[Zope3-dev] Re[2]: [Zope3-Users] correct display of Text field in a view

2007-03-14 Thread Adam Groszer
Hello Ivan, I don't think that you'll need IMultiLineText and MultiLineText. That's why IText and Text are there for. You'll have to register the widget for IText or use it directly in your view with CustomWidgetFactory. In fact it's a good question why Z3 doesn't provide such a widget for Text.

Re: [Zope3-dev] Community opinion about workflow engine

2007-03-13 Thread Adam Groszer
Hello Godefroid, I'm having a bit biased view, because I know just zope.wfmc and have the luck developing a pure Z3 application. I think with zope.wfmc you have - WFMC/XPDL support, you can shine with standards and big companies love standards - because it's XPDL support there's a graphical proce

Re: [Zope3-dev] Zope3 C++

2007-03-08 Thread Adam Groszer
Hello Roger, It's done. http://www.zope.org/Products/Zope3/Trunk/swrelease_contents Friday, March 9, 2007, 1:56:54 AM, you wrote: > Hi Adam > Can you build new *.pyd files and zip them? > Regards > Roger Ineichen > _ > Projekt01 GmbH > www.projekt01.ch > Boesch 65 >

[Zope3-dev] Re[2]: Zope 3.3.1

2007-02-13 Thread Adam Groszer
Hello Philipp, Tuesday, February 13, 2007, 11:00:35 AM, you wrote: PvW> Adam, can you make the installer for 3.3.1 again, upload it (w/o PvW> publishing it) so that we can try to reproduce it on our machines? I have the one from jan 15. at hand. Is it OK? I can start uploading now. Otherwise I c

Re: [Zope3-dev] attribute index indexing None if returned from callable

2007-01-17 Thread Adam Groszer
Hello Jürgen, Yep, +1. Did some changes around the subject but seems like it was not enough. The outcome of the story was the same: None should not get indexed. Wednesday, January 17, 2007, 1:35:04 PM, you wrote: > If a callable is used to provide the value for an attribute index in > zope.app.

[Zope3-dev] Re[2]: Zope 3.3.1

2007-01-15 Thread Adam Groszer
Hello Michael, Win32, looking into that... Monday, January 15, 2007, 3:15:25 PM, you wrote: > On Monday 15 January 2007 13:23, Philipp von Weitershausen wrote: >> On 15 Jan 2007, at 11:02 , Adam Groszer wrote: >> > Hello Philipp, >> > >> > .../repos/main/Zope

[Zope3-dev] Re[4]: Zope 3.3.1

2007-01-15 Thread Adam Groszer
Hello Philipp, .../repos/main/Zope3/branches/3.3 fails too on the same test. Buildbot seems to sleep these days. I ran into that with one of by fixes too. Monday, January 15, 2007, 10:37:52 AM, you wrote: > On 15 Jan 2007, at 09:47 , Groszer Adam wrote: >> Hello Philipp, >> >> I have one failure

[Zope3-dev] Re[2]: Zope 3.3.1

2007-01-14 Thread Adam Groszer
Hello Philipp, Let's try. Hope that .../repos/main/Zope3/tags/3.3.1 is the right one. Sunday, January 14, 2007, 3:24:45 PM, you wrote: PvW> Philipp von Weitershausen wrote: >> Christian Theune wrote: >>> after the initial Zope 3.3 release, we fixed quite a few bugs. I think >>> it's time for a 3

[Zope3-dev] Re[4]: help with test.py -vf

2007-01-11 Thread Adam Groszer
Hello Philipp, Works, thanks. Thursday, January 11, 2007, 4:56:18 PM, you wrote: PvW> On 11 Jan 2007, at 16:51 , Adam Groszer wrote: >> It's not there. In the SVN repo also not. That's why I'm puzzled. PvW> Right, now I remember. You need to execute "pyt

[Zope3-dev] Re[2]: help with test.py -vf

2007-01-11 Thread Adam Groszer
Hello Philipp, It's not there. In the SVN repo also not. That's why I'm puzzled. Thursday, January 11, 2007, 4:43:17 PM, you wrote: > Adam Groszer wrote: >> Hello, >> >> I have the problem on Win32, when running test.py -vf: >> IOError: [Errno

[Zope3-dev] help with test.py -vf

2007-01-11 Thread Adam Groszer
Hello, I have the problem on Win32, when running test.py -vf: IOError: [Errno 2] No such file or directory: 'U:\\zope\\svn_zope33\\zopeskel\\etc\\securitypolicy.zcml' It's not there. Am I doing something wrong? -- Best regards, Adam mailto:[EMAIL PROTECTED] -- Quote

Re: [Zope3-dev] Tests failing

2007-01-11 Thread Adam Groszer
Hello Benji, Shame on me, I was that. I'm working on it now. I have the problem on Win32, when running test.py -vf: IOError: [Errno 2] No such file or directory: 'U:\\zope\\svn_zope33\\zopeskel\\etc\\securitypolicy.zcml' It's not there. Am I doing something wrong? Wednesday, January 10, 2007, 9

Re[2]: [Zope3-dev] Builbot mail not working ?

2007-01-10 Thread Adam Groszer
Hello Christian, Yay, shame on me. I was the one who added the "no cache" stuff to /src/zope/app/exception/browser/unauthorized.py. I'm crippled here until tomorrow without SVN access, so somebody please fix it or revert my changes. Wednesday, January 10, 2007, 11:00:35 AM, you wrote: CT> Hi,

[Zope3-dev] RFC on wfmc issue 699, 700, 701

2007-01-02 Thread Adam Groszer
Hello, In short: I would classify 699 and 700 as new features, 701 as bugfix. For more details read on. Issue 699 I hope if I change the event classes, by adding the interfaces existing code won't break. As stated by philikon this is not a show stopper so I would classif

Re[2]: [Zope3-dev] z3+squid+Unauthorized = weirdness

2007-01-02 Thread Adam Groszer
id, self.request) and backport it also to 3.3 and 3.2 Wednesday, December 20, 2006, 3:05:10 PM, you wrote: > On Wed, Dec 20, 2006 at 02:36:59PM +0100, Adam Groszer wrote: >> Hello, >> >> Just happened the following: >> >>zope3 >> server >> | >&

[Zope3-dev] z3+squid+Unauthorized = weirdness

2006-12-20 Thread Adam Groszer
Hello, Just happened the following: zope3 server | | squid proxy / \ / \ / \ userA userB Both my users are sitting behind a squid proxy/firewall. That is a usual out-of-the-box SuSe linux firewall/proxy config. Each request goes through the squid proxy. userA does N

Re[2]: [Zope3-dev] RE: [SpringCleaning07]

2006-12-19 Thread Adam Groszer
Hello Stephan, Tuesday, December 19, 2006, 2:53:33 PM, you wrote: >> > zope.wfmc SR> +1, but please make it very easily available. People do use this code in SR> production; Zope Corp. and Adam Groszer come to mind. Yes, here :-) If it would be moved out of the "feature

Re: [Zope3-dev] WFMC in core?

2006-12-14 Thread Adam Groszer
Hello Christian, It seems that the activity has the attribute, but it's not declared in the interface. z.wfmc interface was/is quite out of sync with the implementation I think. I already fixed some, but looks like there are still some lurking. Thursday, December 14, 2006, 12:09:21 AM, you wrote:

Re: [Zope3-dev] OrderedMultiSelectWidget problem reloaded

2006-11-23 Thread Adam Groszer
Hi Dominik, Thursday, November 23, 2006, 11:53:42 PM, you wrote: That was quite a long time ago, I'm trying to dig the pieces together. > Afterwards I have seen that Adam reported already > OrderedMultiSelectWidget problems > (http://www.zope.org/Collectors/Zope3-dev/451). > This issue was defer

Re[5]: [Zope3-dev] RFC: should z.a.c.attribute.AttributeIndex index None values?

2006-11-17 Thread Adam Groszer
, 2006, 5:20:19 PM, you wrote: > On Nov 17, 2006, at 11:13 AM, Adam Groszer wrote: >> Hello, >> >> Two more questions remain open, but I think they are easy to answer. >> >> In case the field is callable but the method to be called is None > Yes, remove from ind

Re[3]: [Zope3-dev] RFC: should z.a.c.attribute.AttributeIndex index None values?

2006-11-17 Thread Adam Groszer
Hello, Two more questions remain open, but I think they are easy to answer. In case the field is callable but the method to be called is None OR The method is not None but raises an exception while getting the value In both cases the previous value should be removed from the index? I think yes.

Re[2]: [Zope3-dev] RFC: should z.a.c.attribute.AttributeIndex index None values?

2006-11-17 Thread Adam Groszer
Hello Gary, OK, my mistake. Then I'll do like a). Friday, November 17, 2006, 4:46:09 PM, you wrote: GP> On Nov 17, 2006, at 10:23 AM, Adam Groszer wrote: >> Hello, >> >> Solutions: >> >> a: No, do not keep None values in the catalog >>the curr

Re[2]: [Zope3-dev] z3c.widget.flashupload and compression? [bit OT]

2006-11-17 Thread Adam Groszer
does it. So it won't work with Flash. I already found an open source java applet which could be extended. Friday, November 17, 2006, 12:47:11 PM, you wrote: > Hi, > Adam Groszer wrote: >> Hello, >> >> I'm a little bit offtopic with my question here. >>

[Zope3-dev] RFC: should z.a.c.attribute.AttributeIndex index None values?

2006-11-17 Thread Adam Groszer
Hello, Solutions: a: No, do not keep None values in the catalog the current implementation works like this you are unable to ask the catalog for objects having None properties b: Yes, keep None values in the catalog you can ask the catalog for objects having None properties c: Let's k

Re[2]: [Zope3-dev] Heads up: bugs in zope.app.catalog?

2006-11-17 Thread Adam Groszer
Hello Christian, Yep, I also vote for indexing None. Seems like somebody wanted to avoid the `None object is not callable` exception. Friday, November 17, 2006, 1:22:42 PM, you wrote: > Hi, > Adam Groszer wrote: >> Hello Christian, >> >> Yep, but... >> What is

Re[2]: [Zope3-dev] Heads up: bugs in zope.app.catalog?

2006-11-17 Thread Adam Groszer
title. Suggestions? At the moment the AttributeIndex works like this. Friday, November 17, 2006, 12:46:29 PM, you wrote: CT> Hi Adam, CT> Adam Groszer wrote: >> Working on them. CT> That's great! I'd be happy to see your checkins then. It would be good CT> if you took the

Re[2]: [Zope3-dev] Heads up: bugs in zope.app.catalog?

2006-11-17 Thread Adam Groszer
Hello Christian, Working on them. Friday, November 17, 2006, 12:39:37 PM, you wrote: > Got any tests? -- Best regards, Adammailto:[EMAIL PROTECTED] -- Quote of the day: He became what we are that He might make us what He is. - Athanasius (speaking of Jesus of N

[Zope3-dev] Heads up: bugs in zope.app.catalog?

2006-11-17 Thread Adam Groszer
Hello, I found that z.a.catalog, AttributeIndex fails to remove the previous value/object from the index IF the new value is None. The next thing is if the index contains the object, but the value somehow dropped out of the forward index, the unindex breaks. Anybody noticed these already? I have

[Zope3-dev] z3c.widget.flashupload and compression? [bit OT]

2006-11-14 Thread Adam Groszer
Hello, I'm a little bit offtopic with my question here. We had here the idea to implement a compression algorhitm in the above package to save some precious upload bandwith. I'm not a flash professional, google did not spit out straightforward solutions. Any ideas, pointers, help is appreciated

Re[2]: [Zope3-dev] Opaque error, help

2006-11-09 Thread Adam Groszer
Hello Shane, SH> For me, the value is in the comfort of a transparent database. I want SH> to know exactly what Zope is storing. FileStorage makes that fairly hard. There is half-baked solution at z3c.zodbbrowser. Without knowing your exact requirements, I suggest you take a look. -- Best reg

[Zope3-dev] how to override zope.app.securitypolicy sanely

2006-10-11 Thread Adam Groszer
Hi, For our application the standard securitypolicy was fine. Until today. Now a requirement came up that the object permissions have to depend _also_ on an object state (the object's property). As I checked my friend is the zope.app.securitypolicy.zopepolicy.py. Securitypolicy gets set in the ins

[Zope3-dev] zope.testbrowser + unicode URL

2006-10-09 Thread Adam Groszer
Hello, Happened to pass a unicode instead of str URL to browser.open(). That caused a nasty exception in Cookie.py. Might be worth an assert()? -- Best regards, Adam -- Quote of the day: Look and you will find it-what is unsought will go undetected. - Sophocles ___

[Zope3-dev] Re[4]: help, Z3.2.2 build fails on win32 with ZConfig

2006-10-06 Thread Adam Groszer
Hello Baiju, done Friday, October 6, 2006, 12:38:59 PM, you wrote: > Can you update ZopeWindowsRelease wiki page also? -- Best regards, Adammailto:[EMAIL PROTECTED] -- Quote of the day: There is no better or more blessed bondage than to be a prisoner of hope. - Ro

[Zope3-dev] Re[2]: help, Z3.2.2 build fails on win32 with ZConfig

2006-10-06 Thread Adam Groszer
Hello Philipp, Thanks Baiju. > It looks like the instructions aren't complete here. You should be > specifying -r 3.2.2 here so that it looks at the tag. Lot better :-) now it works. Now I start the upload. -- Best regards, Adammailto:[EMAIL PROTECTED] -- Quote of

[Zope3-dev] Re[2]: help, Z3.2.2 build fails on win32 with ZConfig

2006-10-06 Thread Adam Groszer
Hello Philipp, Friday, October 6, 2006, 9:06:39 AM, you wrote: > I'm suspecting that Adam, who built the 3.2.x releases, was executing > the wrong command when building the tarball, because zope.conf.in on the > 3.2.x branch doesn't contain the formatter line. It's zope.conf.in on > the 3.3.x b

Re[2]: [Zope3-dev] help, Z3.2.2 build fails on win32 with ZConfig

2006-10-05 Thread Adam Groszer
Hello Martijn, Thursday, October 5, 2006, 6:34:11 PM, you wrote: > I actually reported this issue for Zope 3.2.1 earlier this week. It's > very unfortunate that Zope 3.2.2 went out of the door shortly afterward > without a fix for this. :( I see you found the issue too: The 3.2.2 win32 isn't the

[Zope3-dev] help, Z3.2.2 build fails on win32 with ZConfig

2006-10-05 Thread Adam Groszer
Hello, I built Z3.2.2 on win32, but after installing the result and creating an instance it fails. I don't have a clou where and what to look for. C:\zopeinst>bin\runzope Error: 'formatter' is not a known key name (line 103 in file:/C|/zopeinst/etc/zope.conf) For help, use c:\zopeinst\bin\ru

Re: [Zope3-dev] Heads up: Zope 3.2.2 on Saturday

2006-09-28 Thread Adam Groszer
Hello Philipp, BTW, correct me if I'm wrong, bugfixes go into: /repos/main/Zope3/branches/3.2 and /repos/main/Zope3/branches/3.3 Releases get built from: /repos/main/Zope3/tags/Zope-3.2.2 and /repos/main/Zope3/tags/Zope-3.3.1 -- Best regards, Groszer Adam -- Quote of the day: Feast, and your h

Re: [Zope3-dev] Heads up: Zope 3.2.2 on Saturday

2006-09-28 Thread Adam Groszer
Hello Philipp, Thursday, September 28, 2006, 3:48:34 PM, you wrote: > By the way, it'd be cool if someone could do the Windows release. See > http://dev.zope.org/Zope3/ZopeWindowsRelease for more info. I'm raising my hand. Doing it is OK, Updating the wiki page will take some time. -- Best re

Re[4]: [Zope3-dev] possible bug in zope.wfmc

2006-09-19 Thread Adam Groszer
Hi Roger, Tuesday, September 19, 2006, 12:08:20 PM, you wrote: >> Update -> Final is guarded by "review_result == 'accepted'" >> Update -> Issue is guarded by "transitionName == 'update_issue'" >> Update -> Review is guarded by "transitionName == 'update_review'" RI> Is this (Update ->> Final) n

[Zope3-dev] schema woes, sort-of

2006-09-14 Thread Adam Groszer
Hi, I'm starting to have lots of schemas around. They are mostly for view/add/edit forms, based on the entity (content object's) schema. That means they mostly have the same fields with mostly the same properties. Adding field to a schema is piece of cake. Subclass the original, add the field, but

Re[2]: [Zope3-dev] how to provide z.a.s.LogoutSupported for different applications in one instance

2006-09-13 Thread Adam Groszer
Hello Stephan, Simple, effective, great. Thanks. Monday, September 11, 2006, 7:45:42 PM, you wrote: > On Monday 11 September 2006 13:23, Adam Groszer wrote: >> The solution might be simple, but at this late time I don't see it. >> Any help is welcome. > No, the solutio

Re[3]: [Zope3-dev] possible bug in zope.wfmc

2006-09-12 Thread Adam Groszer
wise AG> but none of these are implemented in zope.wfmc. AG> I think finishing the whole process is definitely bad behaviour. AG> But what's correct? Please give a hint what should be done. AG> Monday, September 11, 2006, 4:00:01 PM, you wrote: J

[Zope3-dev] how to provide z.a.s.LogoutSupported for different applications in one instance

2006-09-11 Thread Adam Groszer
Hi, It's piece of cake making the [Logout] to appear with How do I do this if I have several different applications in one instance? They start to complain about conflicting configuration. The same goes with where the factory should get the current TZ from the principal's preferences. Of co

Re[2]: [Zope3-dev] possible bug in zope.wfmc

2006-09-11 Thread Adam Groszer
XPDL would give the options - exception - default exception - otherwise but none of these are implemented in zope.wfmc. I think finishing the whole process is definitely bad behaviour. But what's correct? Please give a hint what should be done. Monday, September 11, 2006, 4:00:01 PM, you wro

[Zope3-dev] possible bug in zope.wfmc

2006-09-10 Thread Adam Groszer
Hello, I think I found a bug in zope.wfmc. Let's say the Review>Publish and Review>Reject transitions are guarded by conditions. --- -->| Publish | -- -- / --- | Author |-->| Review |---

[Zope3-dev] Re: Tim, new pyd zip file needed

2006-08-21 Thread Adam Groszer
Hello Roger, Just uploaded to http://www.zope.org/Products/Zope3/Trunk Hope that the 3.3.0b2 pyds are OK for you. Monday, August 21, 2006, 12:08:15 PM, you wrote: RI> Hi Tim or Adam RI> Can you generate a new *.pyd zip download? RI> Regards RI> Roger Ineichen RI> _

[Zope3-dev] SVN weirdness

2006-08-10 Thread Adam Groszer
Hello, Seems like the svn:external behaves wrong on my win2K box, using TortoiseSVN 1.3.5, Build 6804 - 32 Bit: If I update /src/zope using svn+ssh://svnzope/repos/main/Zope3/trunk/src/zope -- or -- /src/zope/testing (that's an svn:external in the above tree) using svn://svn.zope.org/repos/main/z

Re[2]: [Zope3-dev] zc.datetimewidget+UTC exception

2006-07-17 Thread Adam Groszer
datetime(2006, 5, 1, 12, 0, tzinfo=) This way too UTC to UTC >>> requestTZ = pytz.UTC >>> dt = datetime.datetime(2006,5,1,12) >>> normalize(request,dt) datetime.datetime(2006, 5, 1, 12, 0, tzinfo=) """ Monday, July 17, 2006

[Zope3-dev] zc.datetimewidget+UTC exception

2006-07-17 Thread Adam Groszer
Hi there, Anybody tried to use the above? For me it raises Module zope.app.form.utility, line 348, in getWidgetsData Module zope.app.form.browser.widget, line 295, in getInputValue Module zc.datetimewidget.datetimewidget, line 123, in _toFieldValue res = normalizeDateTime(res, self.requ

Re[2]: [Zope3-dev] Re: SVN: Zope3/branches/3.3/ Fixed issues 648 and 593: uploading files with non-ASCII filenames now works.

2006-06-19 Thread Adam Groszer
Hello Benji, Marius, Sorry, "entwarnung" It is hurry.file causing the the problem, it is doing def _toFormValue(self, value): if value == self.context.missing_value: return self._missing return FileUpload(FakeFieldStorage(value.filename, value.data)) and this FileUplo

[Zope3-dev] SVN: Zope3/branches/3.3/ Fixed issues 648 and 593: uploading files with non-ASCII filenames now works.

2006-06-19 Thread Adam Groszer
Hi Marius, Your fix of browser.py causes problems for me using hurry.file when running functional test with zope.testbrowser. The problem is that aFieldStorage.filename is already unicode and it cannot be decoded again. Do you mind if I add an if isinstance(aFieldStorage.filename, unicode): const

[Zope3-dev] weird problem with pytz+DC

2006-05-25 Thread Adam Groszer
Hi there, I've run into the following problem when trying to use zc.datetimewidget in my app: IZopeDublinCore.modified value is a datetime, but it is having a tzinfo(0) as I check it, instead of pytz.utc. That's weird, because timeannotators.py sets it as dc.modified = datetime.now(pytz.utc) But s

Re[2]: [Zope3-dev] [ANN] win32-trunk-pyds

2006-05-20 Thread Adam Groszer
Hi Tim, Sorry for this small confusion. If you don't mind, I'll do it. (The thing started as I became the compiler of the win32 release and the pyd's are just a by-product of the release.) I'll do my best to keep it up to date, but if I should miss something, please drop a mail. Friday, May 19,

[Zope3-dev] [ANN] win32-trunk-pyds

2006-05-18 Thread Adam Groszer
Hello *, I just put the compiled pyd's for win32 users to http://www.zope.org/Products/Zope3/, into a relase called 'Trunk'. -- Best regards, Adam mailto:[EMAIL PROTECTED] -- Quote of the day: I pronounce it as certain that there was never a truly great man that was not

[Zope3-dev] BBB

2006-05-15 Thread Adam Groszer
Hi there, I'm working on removing BBB warnings of our current app for 3.3. For the directive it was possible to give the factory some parameters like this: Now, with the directive that's not possible. -- Best regards, Adam mailto:[EMAIL PROTECTED] -- Quote of the d

Re: reloading modules (was Re: [Zope3-dev] Re: Google SoC Project)

2006-05-10 Thread Adam Groszer
Hi Shane, Please have a look at http://www.pythomnic.org/. As I get it, it puts proxies around 'imported' modules. My idea would be, without thinking it any further/deeper is what about putting proxies before any imported stuff. Modules, callables, variables, everything and evaluate the reference

Re[2]: [Zope3-dev] Re: Google SoC Project

2006-05-09 Thread Adam Groszer
Hello Jim, Tuesday, May 9, 2006, 1:22:30 PM, you wrote: [snip] JF> Python simply does not support a general robust reload, other than JF> restart. [snip] What about pushing the problem then to the lower level, to Python itself. I think all developers are fighting the same problem, so all Python

Re: [Zope3-dev] Google SoC Project

2006-05-07 Thread Adam Groszer
Hey Stephan, I'd have there one idea that may be not so easy to implement, but would help a lot for developers of Z3 and even python. The idea is to dynamically reload modules while running the app. The most beautiful solution would do this by looking at the last modified date of the .py file. If

[Zope3-dev] Re[2]: SVN: Zope3/trunk/src/zope/wfmc/ Preparations for persistent WFMC,

2006-04-29 Thread Adam Groszer
hable out of it. Saturday, April 29, 2006, 5:52:39 PM, you wrote: > Adam Groszer wrote: >> Log message for revision 67734: >> Preparations for persistent WFMC, >> as discussed at the SwissSprint >> >> Changed: >> U Zope3/trunk/src/zope/wfmc/process.p

[Zope3-dev] annoying exception - amateur mistake

2006-03-07 Thread Adam Groszer
Hi there, I had a nicely working app with interfaces.py:: class IVersion(IVersionable, INonVersionedData, IPhysicallyLocatable): ... orig_file_ref = Attribute(u"original file") pdf_file_ref = Attribute(u"PDF file") configure.zcml:: ... I changed the intefaces.

[Zope3-dev] Z3 widgets overview

2006-02-03 Thread Adam Groszer
Hello, I had some time to finalize the widgets overview. You can download it from here in various formats: http://www.zope.org/Members/adamg/widget -- Best regards, Adam mailto:[EMAIL PROTECTED] -- Quote of the day: A journey of a thousand miles begins with a cash adv

  1   2   >