[Zope] Can java applet interact with Zope ZODB database?

2006-02-14 Thread Allen Huang
Can java applet interact with Zope ZODB database? does it need any kind of connecter and driver? What are the most popular cars? Find out at Yahoo! Autos ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross po

Re: [Zope] Can java applet interact with Zope ZODB database?

2006-02-14 Thread Andreas Jung
With Zope or the ZODB? With ZODB, unlikely. With Zope, using standard protocols as HTTP, XMLRPC). -aj --On 14. Februar 2006 01:17:42 -0800 Allen Huang <[EMAIL PROTECTED]> wrote: Can java applet interact with Zope ZODB database? does it need any kind of connecter and driver? ---

Re: [Zope] Transfer Data to New Zope Server

2006-02-14 Thread Chris Withers
Peter Evans wrote: I am Zope newbie so please bear with me. As a part of my job I just inherited control of an extremely old Zope server running on FreeBSD. I would like to move to a new instance of Zope runninf on Windows Server 2003. Sorry, but why would you want to move to Windows? That seem

Re: [Zope] Re: major problems placing authentication on an extranet site-security flaw?

2006-02-14 Thread Chris Withers
michael nt milne wrote: Yes, I do realise that it's hard. Regarding the cookie comment that was the reason I wanted to use Apache based login. Huh? I'm sure some people would love to know how those two things relate in your head... I do realise that leaving a logon cookie is insecure and

Re: [Zope] Re: major problems placing authentication on an extranet site-security flaw?

2006-02-14 Thread Chris Withers
Dario Lopez-Kästen wrote: Nevertheless, it is not simple to implement proper security with cookie-based logins. I had to make my own hacked version of SinmpleUserFodler with seesioning on the zeo server to get it secure enough (it is actually a trade off from what I would have liked to have in

Re: [Zope] restricting permissions for direct access only

2006-02-14 Thread Chris Withers
Michael Shulman wrote: Thanks Lennart! Proxy roles do sound like the answer, but I cannot get them working. When I restrict my private script so that only Managers have View permissions and give my public script Manager proxy roles, I am still prompted for a login box when I try to view the pub

Re: [Zope] Strange problem with WebDAV and Zope

2006-02-14 Thread Chris Withers
Ivan "Rambius" Ivanov wrote: nd -k http://localhost:8280/title (From nd man page -k option sends MKCOL request) This command fails with Error: MKCOL failed, `Not Found' This is probably because 'title' exists as an attribute on most Zope objects, so it's already in use, so the MKCOL fails.

Re: [Zope] Re: major problems placing authentication on an extranet site-security flaw?

2006-02-14 Thread Igor Stroh
michael nt milne wrote: > Yes, I do realise that it's hard. Regarding the cookie comment that > was the reason I wanted to use Apache based login. I do > realise that leaving a logon cookie is insecure and that comment was > perhaps misguided. I started to think about usability etc. > > I'm going

Re: [Zope] Zope and roles and hierarchy

2006-02-14 Thread Lennart Regebro
On 2/13/06, Kees de Brabander <[EMAIL PROTECTED]> wrote: > [cb] And what are my options if I want to call f1_index directly from f11? Placing your acl_users folder higher up. -- Lennart Regebro, Nuxeo http://www.nuxeo.com/ CPS Content Management http://www.cps-project.org/ ___

Re: [Zope] Re: major problems placing authentication on an extranet site-security flaw?

2006-02-14 Thread michael nt milne
> Yes, I do realise that it's hard. Regarding the cookie comment that> was the reason I wanted to use Apache based login.>>Huh? I'm sure some people would love to know how those two things relate in your head...   >>>I wanted to use an Apache served login box before the Zope/Plone site is served b

[Zope] strange error in zcatalog search results

2006-02-14 Thread Yuri
Zope Error Zope has encountered an error while publishing this resource. Error Type: KeyError Error Value: 1676126652 --- * Module Products.PageTemplates.ZRPythonExpr, line 47, in __call__ __traceback_info__: here.fai_ricerca() * Module Python expression "here.fai_ricerca()", line 1

Re: [Zope] Re: TextIndexNG2 problems

2006-02-14 Thread Barry Drake
Owen, This is still not working for me either. I installed C++.net also hoping that it might go through. No change; same error messages. How can we bring this forward? I'd like to help as well. Barry --- Owen K wrote: > Andreas, Barry, and all, > > I have the same TextIndexNG2 install error

Re: [Zope] Re: TextIndexNG2 problems

2006-02-14 Thread Andreas Jung
--On 14. Februar 2006 04:43:07 -0800 Barry Drake <[EMAIL PROTECTED]> wrote: Owen, This is still not working for me either. I installed C++.net also hoping that it might go through. No change; same error messages. How can we bring this forward? I'd like to help as well. No idea...I won

Re: [Zope] Re: major problems placing authentication on an extranet site-security flaw?

2006-02-14 Thread Dario Lopez-Kästen
michael nt milne said the following on 2006-02-14 12:30: As for the issue with IE6 and editing pages over SSL it all works fine in Firefox 1.5, so it's a browser issue which I just can't quite fathom just now. >>I doubt it, my guess would still be that you're doing something wrong somewhere

[Zope] Re: TextIndexNG2 problems

2006-02-14 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Owen K wrote: > Andreas, Barry, and all, > > I have the same TextIndexNG2 install error as Barry (see "Error text" > below). > My setup: > MS VisualC++ 7 . > Zope 2.7.8-final, python 2.3.5, win32 > Also installed are TextIndexNGExtensions-2.02.win32-

[Zope] Re: Re: major problems placing authentication on an extranet site-security flaw?

2006-02-14 Thread Alexander Limi
On Tue, 14 Feb 2006 04:59:07 -0800, Dario Lopez-Kästen <[EMAIL PROTECTED]> wrote: *HOWEVER*, IIRC, plone, especially on windows (if installed with the windows installer) uses a trick, which is not documented at all, as far as I know, uses a Site Access rule. http://plone.org/documentation

[Zope] Re: major problems placing authentication on an extranet site-security flaw?

2006-02-14 Thread Dario Lopez-Kästen
Alexander Limi said the following on 2006-02-14 14:05: On Tue, 14 Feb 2006 04:59:07 -0800, Dario Lopez-Kästen <[EMAIL PROTECTED]> wrote: *HOWEVER*, IIRC, plone, especially on windows (if installed with the windows installer) uses a trick, which is not documented at all, as far as I know

[Zope] zope+zms+java

2006-02-14 Thread Irek M.
Haj I hope Someone can help me, i have a Problem recognizing JAVA from ZMS-Configuration. SDK is installed correctly on this System, Java Environment Variables are set. Zope is Restarted. But the ZMS Konfiguration dont List the Java environment in its config. My Config: SuSE 9.3 x64 Zope 2.7.4 r5

Re: [Zope] Re: major problems placing authentication on an extranet site-security flaw?

2006-02-14 Thread michael nt milne
>>I am sure you know this, but since we have learned very little (or atleast I have - maybe I am not paying attention well enough :-):   >>Have you modified that rule to take advantage of the SSL -server?Perhaps the SiteAccess rule is triggering adn trying to redirect you toan address/port where th

Re: [Zope] Re: TextIndexNG2 problems

2006-02-14 Thread michael nt milne
>>No idea...I won't spend any time on windows issues at this point.>>Life-is-too-short-to-waste-it-with-windows-issues,   Well of course Windows isn't the ideal platform and sucks on many levels but the fact that many, many, businesses have their own Windows small business server boxes in house and

[Zope] Re: Re: TextIndexNG2 problems

2006-02-14 Thread Owen K
Building on Andreas' theory regarding the shortness of life, I'm going to try to avoid the problem by upgrading to Zope 2.8 so that I can use TextIndexNG3. Should I expect to run into the same extensions problem there? Thanks Tre for showing one path forward with TextIndexNG2. Regarding recompi

Re: [Zope] Re: TextIndexNG2 problems

2006-02-14 Thread Andreas Jung
--On 14. Februar 2006 14:31:21 + michael nt milne <[EMAIL PROTECTED]> wrote: No idea...I won't spend any time on windows issues at this point. Life-is-too-short-to-waste-it-with-windows-issues, Well of course Windows isn't the ideal platform and sucks on many levels but the fact tha

Re: [Zope] Re: Re: TextIndexNG2 problems

2006-02-14 Thread Andreas Jung
--On 14. Februar 2006 09:40:16 -0500 Owen K <[EMAIL PROTECTED]> wrote: Building on Andreas' theory regarding the shortness of life, I'm going to try to avoid the problem by upgrading to Zope 2.8 so that I can use TextIndexNG3. Should I expect to run into the same extensions problem there? Ri

[Zope] workflow products

2006-02-14 Thread Palermo, Tom
All,   Are there any workflow products available for Zope 2.x that do not require either Plone or CMF? It looks like there aren't but I thought I'd ask first.   Thanks, Tom ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zop

[Zope] Zope won't start on Windows XP

2006-02-14 Thread Holger Butschek
I'am triing to install Zope 2.9 on my laptop to work withit when not connected the the internet. The installation-routine runs through without any errors. An instance is created in the folder C:\instance. When I now want to start zope in c:\instance\bin by typing runzope.bat the only thing that ha

[Zope] Re: major problems placing authentication on an extranet site-security flaw?

2006-02-14 Thread Florent Guillaume
Michael Vartanyan wrote: In the very beginning of my Zope career, I once "shot myself in the foot" with a very stupid thing... I kept it to myself then but if we are talking about Zope security settings and usability of the ZMI at the same time, perhaps it is an ideal place to raise this issue.

Re: [Zope] restricting permissions for direct access only

2006-02-14 Thread Michael Shulman
Okay, I must be the most moronic user ever. The default text in a newly created Python Script, which I did not bother to change for my test case, accesses meta_type, but I did not notice this; thus I was confused. (Just out of curiosity, what permissions are required to access meta_type?) But...

[Zope] Re: Method to return the properties of an object

2006-02-14 Thread Florent Guillaume
You could use any of a various set of introspection/debugging tools. One of them is http://svn.nuxeo.org/trac/pub/browser/ZMIntrospection/trunk/ There are others, like http://www.zope.org/Members/shh/DocFinderEverywhere Florent George wrote: Is there a method to return the properties of an o

[Zope] TextIndexNG extensions for Windows, please share if you have them

2006-02-14 Thread Owen K
Do you have TextIndexNG (2 or 3) extensions for Windows that work with Python 2.3.5 ? If yes, please share them !:) Although there are some files on sf.net that are labelled for python 2.3 (TextIndexNGExtensions-2.02.win32-py2.3.exe, python-Levenshtein-0.10.win32-py2.3.exe) one of these th

[Zope] Re: restricting permissions for direct access only

2006-02-14 Thread Florent Guillaume
Michael Shulman wrote: Hi, I am new to Zope, and so far I like it very much. But I think I am confused about how security works, or is supposed to work. Specifically I want to know the following. Is there a way in Zope to restrict permissions for direct access only (i.e. calling an object thro

Re: [Zope] Re: TextIndexNG2 problems

2006-02-14 Thread Barry Drake
Tres and Owen, Using Tres's advice below, I was able to recompile TextIndexNG2 on my Windows machine using the MingW compiler. Works great! I used the Python that came with Zope and the latest MingW compiler. Just follow the instructions at the link provided by Tres below. With one additional i

Re: [Zope] Re: TextIndexNG2 problems

2006-02-14 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Barry Drake wrote: > Tres and Owen, > Using Tres's advice below, I was able to recompile > TextIndexNG2 on my Windows machine using the MingW > compiler. Works great! > > I used the Python that came with Zope and the latest > MingW compiler. Just fo

[Zope] Re: TextIndexNG2 problems

2006-02-14 Thread Owen K
Regarding compiling under Microsoft VC6, should I expect that TextIndexNG setup would launch VC6 compiler if I had that tool installed? Thanks, Owen ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts

Re: [Zope] Re: TextIndexNG2 problems

2006-02-14 Thread Andreas Jung
--On 14. Februar 2006 08:20:51 -0800 Barry Drake <[EMAIL PROTECTED]> wrote: Tres and Owen, Using Tres's advice below, I was able to recompile TextIndexNG2 on my Windows machine using the MingW compiler. Works great! Could you contribute your work? Can you work on an archive? I think ther

Re: [Zope] Re: TextIndexNG2 problems

2006-02-14 Thread Barry Drake
Owen, I think that once you have the .pyd files, Zope uses those from that point on; no need for the compilers any longer. That's why I'm glad to have found out about the MingW solution, bypassing MS! Barry --- Owen K wrote: > Regarding compiling under Microsoft VC6, should I > expect that Text

[Zope] Re: workflow products

2006-02-14 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Palermo, Tom wrote: > Are there any workflow products available for Zope 2.x that do not require > either Plone or CMF? It looks like there aren't but I thought I'd ask first. OpenFlow: http://www.openflow.it/wwwopenflow/EN/Overview/index_html Tre

Re: [Zope] Re: TextIndexNG2 problems

2006-02-14 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Andreas Jung wrote: > > > --On 14. Februar 2006 08:20:51 -0800 Barry Drake <[EMAIL PROTECTED]> > wrote: > >> Tres and Owen, >> Using Tres's advice below, I was able to recompile >> TextIndexNG2 on my Windows machine using the MingW >> compiler. Wor

[Zope] Re: Zope won't start on Windows XP

2006-02-14 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Holger Butschek wrote: > I'am triing to install Zope 2.9 on my laptop to work withit when not > connected the the internet. The installation-routine runs through without > any errors. An instance is created in the folder C:\instance. > > When I now wa

[Zope] Re: TextIndexNG extensions for Windows, please share if you have them

2006-02-14 Thread Owen K
Problem solved! Thanks to Tres Seaver and Barry Drake. See the solution in Barry Drake's message "Re: Re: TextIndexNG2 problems" Tuesday, February 14, 2006 11:20 AM. Regards, Owen "Owen K" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Do you have TextIndexNG (2 or 3) extens

AW: [Zope] Re: Zope won't start on Windows XP

2006-02-14 Thread Holger Butschek
>It looks as though you have a borked Zope installation: how did you install Zope? What does borked mean? I installed it with the windows installer. The file ist from zope.org. Bye, Holger ___ Zope maillist - Zope@zope.org http://mail.zope.org/ma

[Zope] MailDropHost on windows

2006-02-14 Thread Erik Myllymaki
I'm trying to get MailDropHost running under windows, but it errors with: Traceback (most recent call last): File ".\maildrop.py", line 296, in ? pid = os.fork() AttributeError: 'module' object has no attribute 'fork' Altering it to run without threading seems to work quite well. ___

Re: [Zope] MailDropHost on windows

2006-02-14 Thread Jens Vagelpohl
On 14 Feb 2006, at 17:58, Erik Myllymaki wrote: I'm trying to get MailDropHost running under windows, but it errors with: Traceback (most recent call last): File ".\maildrop.py", line 296, in ? pid = os.fork() AttributeError: 'module' object has no attribute 'fork' Altering it to run

[Zope] Re: AW: Re: Zope won't start on Windows XP

2006-02-14 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Holger Butschek wrote: > >>It looks as though you have a borked Zope installation: how did you > > install Zope? > > What does borked mean? I installed it with the windows installer. The file > ist from zope.org. The traceback indicated that Acces

Re: [Zope] Zope and roles and hierarchy

2006-02-14 Thread Kees de Brabander
But my subfolders are for different groups of users and I want to keep them apart (so I can throw them away with the subfolder, when their use has become obsolete). cb - Original Message - From: "Lennart Regebro" <[EMAIL PROTECTED]> To: "Kees de Brabander" <[EMAIL PROTECTED]> Cc: "zope use

[Zope] Re: MailDropHost on windows

2006-02-14 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jens Vagelpohl wrote: > > On 14 Feb 2006, at 17:58, Erik Myllymaki wrote: > >> I'm trying to get MailDropHost running under windows, but it errors >> with: >> >> Traceback (most recent call last): >> File ".\maildrop.py", line 296, in ? >> pid

Re: [Zope] Re: MailDropHost on windows

2006-02-14 Thread Erik Myllymaki
Tres Seaver wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jens Vagelpohl wrote: On 14 Feb 2006, at 17:58, Erik Myllymaki wrote: I'm trying to get MailDropHost running under windows, but it errors with: Traceback (most recent call last): File ".\maildrop.py", line 296, in ? pid

Re: [Zope] context and URLs

2006-02-14 Thread Ole Johan Tennvassås
Thanks, it really helped (but the syntax seems to be On 2/14/06, Peter Bengtsson <[EMAIL PROTECTED]> wrote: This will workTextOn 2/13/06, Ole Johan Tennvassås < [EMAIL PROTECTED]> wrote:> Sorry for late reply - have been away.>> Cant get this to work!  I hope I can avoid to use an absolute URL pat

[Zope] Re: major problems placing authentication on an extranet site-security flaw?

2006-02-14 Thread Michael Vartanyan
I agree. A little bit of a problem is that both Zope 2 Book and the ZMI do not seem to agree. I guess was/is not the practice that Zope 2 developers endorsed/followed. But "Zope2 is beyond help" (C) Chris M., (taken out of context by me :-)) Florent Guillaume wrote: Michael Vartanyan wrot

Re: [Zope] context and URLs

2006-02-14 Thread Peter Bengtsson
On 2/14/06, Ole Johan Tennvassås <[EMAIL PROTECTED]> wrote: > Thanks, it really helped (but the syntax seems to be http://localhost:8080/somefolder/someobject"; someobject/absolute_url_path returns "/somefolder/someobject" As far as a browser is concern there's absolutely no difference. The advanta

Re: [Zope] workflow products

2006-02-14 Thread Michael Vartanyan
We use Openflow: http://www.openflow.it to manage enormous workflows with many dozens of states/activities and hundreds of process instances going through. Works well when you find your way to use it. Some points to consider if you are considering using it for something serious: - it is not

[Zope] Advice needed before settling on Zope

2006-02-14 Thread Rainsford, David
Title: Advice needed before settling on Zope Hi Zope users! We have to build a content/document management system for our company, and I have been assigned to look into this and make a start.  The system has quite a few requirements, which I'll outline below. Version Control: we need quite

Re: [Zope] Advice needed before settling on Zope

2006-02-14 Thread Andrew Milton
+---[ Rainsford, David ]-- | Hi Zope users! | | We have to build a content/document management system for our company, and I | have been assigned to look into this and make a start. The system has quite a | few requirements, which I'll outline below. [snip] | Our client

[Zope] Zope 2.9 and SSL

2006-02-14 Thread Janusz Zamecki
Hello, Is anyone tried to access Zope 2.9 via SSL? I've tried m2crypto, but this doesn't work with the newest zope. And I've tried to use stunnel, but I'm stuck with some problems - I cannot find the way to force zope to use https://xxx urls with choosen stunnel port number. The easiest way is to

Re: [Zope] Re: TextIndexNG2 problems

2006-02-14 Thread Chris Withers
michael nt milne wrote: No idea...I won't spend any time on windows issues at this point. Life-is-too-short-to-waste-it-with-windows-issues, Well of course Windows isn't the ideal platform and sucks on many levels but the fact that many, many, businesses have their own Windows small business

Re: [Zope] Re: major problems placing authentication on an extranet site-security flaw?

2006-02-14 Thread Chris Withers
michael nt milne wrote: cookie based. Now going with Zope/Plone auth over SSL alone with cookies set to expire. I hope you're making sure the "secure" bit is set on those cookies ;-) My aim is security with a good level of usability and I'll achieve that :-) Considering you can't even quot

Re: [Zope] proxy roles on Product methods

2006-02-14 Thread Chris Withers
Tom, Please keep CC'ing in the list... last warning ;-) Palermo, Tom wrote: edit_html just returns a dtml form edit_html.dtml. If you don't want to show us the *code* for edit_html, we can't help you... I think the auth error is happening when edit_html tries to load the wywiwyg editor. I

Re: [Zope] Re: Re: major problems placing authentication on an extranet site-security flaw?

2006-02-14 Thread Chris Withers
Alexander Limi wrote: On Tue, 14 Feb 2006 04:59:07 -0800, Dario Lopez-Kästen <[EMAIL PROTECTED]> wrote: *HOWEVER*, IIRC, plone, especially on windows (if installed with the windows installer) uses a trick, which is not documented at all, as far as I know, uses a Site Access rule. http://plo

[Zope] Re: Zope 2.9 and SSL

2006-02-14 Thread Michael Haubenwallner
Janusz Zamecki wrote: Hello, Is anyone tried to access Zope 2.9 via SSL? I've tried m2crypto, but this doesn't work with the newest zope. And I've tried to use stunnel, but I'm stuck with some problems - I cannot find the way to force zope to use https://xxx urls with choosen stunnel port numbe