[Zope-Annce] [ANN] TextIndexNG 3.1 extension modules for Window available

2006-03-23 Thread Andreas Jung
I happy to make the binary versions of the TextIndexNG V 3.1 extension 
modules for Window available:


http://prdownloads.sourceforge.net/textindexng/TextIndexNG3-3.1.8-lib.win32-2.3.zip?download

The archive was contributed by Daniel Berhane [EMAIL PROTECTED]  (Thanks!).

To install the extension modules you need to unpack the archive and ensure 
that the 'zopyx' subdirectory is *somewhere* in your Python search path

(please check the Python documentation for details on the Python search path
and using the PYTHONPATH environment variable).

-aj

   ---
  -   Andreas JungZOPYX Ltd.  Co KG-
 -   E-mail: [EMAIL PROTECTED]   Web: www.zopyx.com, www.zopyx.de -
  ---


pgpASluAEDpY3.pgp
Description: PGP signature
___
Zope-Announce maillist  -  Zope-Announce@zope.org
http://mail.zope.org/mailman/listinfo/zope-announce

  Zope-Announce for Announcements only - no discussions

(Related lists - 
 Users: http://mail.zope.org/mailman/listinfo/zope
 Developers: http://mail.zope.org/mailman/listinfo/zope-dev )


[Zope-Checkins] SVN: Zope/branches/Zope-2_8-branch/lib/python/Testing/ZopeTestCase/ Made functional doctests set the Www-Authenticate header.

2006-03-23 Thread Stefan H. Holek
Log message for revision 66136:
  Made functional doctests set the Www-Authenticate header.
  

Changed:
  U   
Zope/branches/Zope-2_8-branch/lib/python/Testing/ZopeTestCase/doc/CHANGES.txt
  U   
Zope/branches/Zope-2_8-branch/lib/python/Testing/ZopeTestCase/zopedoctest/FunctionalDocTest.txt
  U   
Zope/branches/Zope-2_8-branch/lib/python/Testing/ZopeTestCase/zopedoctest/functional.py

-=-
Modified: 
Zope/branches/Zope-2_8-branch/lib/python/Testing/ZopeTestCase/doc/CHANGES.txt
===
--- 
Zope/branches/Zope-2_8-branch/lib/python/Testing/ZopeTestCase/doc/CHANGES.txt   
2006-03-23 15:32:51 UTC (rev 66135)
+++ 
Zope/branches/Zope-2_8-branch/lib/python/Testing/ZopeTestCase/doc/CHANGES.txt   
2006-03-23 18:33:53 UTC (rev 66136)
@@ -4,7 +4,8 @@
   than GET or HEAD while omitting the stdin argument.
 - installProduct() now becomes a noop if ZopeTestCase did not apply its
   patches.
-- Made the functional doc tests set the cookie related headers.
+- Made the functional doctests set the cookie related headers.
+- Made functional doctests set the Www-Authenticate header.
 - Made sure logging is configured. Read $INSTANCE_HOME/log.ini if it exists.
 
 0.9.8 (Zope 2.8 edition)

Modified: 
Zope/branches/Zope-2_8-branch/lib/python/Testing/ZopeTestCase/zopedoctest/FunctionalDocTest.txt
===
--- 
Zope/branches/Zope-2_8-branch/lib/python/Testing/ZopeTestCase/zopedoctest/FunctionalDocTest.txt
 2006-03-23 15:32:51 UTC (rev 66135)
+++ 
Zope/branches/Zope-2_8-branch/lib/python/Testing/ZopeTestCase/zopedoctest/FunctionalDocTest.txt
 2006-03-23 18:33:53 UTC (rev 66136)
@@ -124,6 +124,7 @@
   ... , handle_errors=True)
   HTTP/1.1 401 Unauthorized
   ...
+  Www-Authenticate: basic realm=...
 
 Test Basic Authentication
 

Modified: 
Zope/branches/Zope-2_8-branch/lib/python/Testing/ZopeTestCase/zopedoctest/functional.py
===
--- 
Zope/branches/Zope-2_8-branch/lib/python/Testing/ZopeTestCase/zopedoctest/functional.py
 2006-03-23 15:32:51 UTC (rev 66135)
+++ 
Zope/branches/Zope-2_8-branch/lib/python/Testing/ZopeTestCase/zopedoctest/functional.py
 2006-03-23 18:33:53 UTC (rev 66136)
@@ -182,6 +182,7 @@
 header_output.setResponseStatus(response.getStatus(), response.errmsg)
 header_output.setResponseHeaders(response.headers)
 header_output.appendResponseHeaders(response._cookie_list())
+
header_output.appendResponseHeaders(response.accumulated_headers.splitlines())
 
 # Restore previous security manager, which may have been changed
 # by calling the publish method above

___
Zope-Checkins maillist  -  Zope-Checkins@zope.org
http://mail.zope.org/mailman/listinfo/zope-checkins


[Zope-Checkins] SVN: Zope/trunk/lib/python/Testing/ZopeTestCase/ Made functional doctests set the Www-Authenticate header.

2006-03-23 Thread Stefan H. Holek
Log message for revision 66138:
  Made functional doctests set the Www-Authenticate header.
  

Changed:
  U   Zope/trunk/lib/python/Testing/ZopeTestCase/doc/CHANGES.txt
  U   
Zope/trunk/lib/python/Testing/ZopeTestCase/zopedoctest/FunctionalDocTest.txt
  U   Zope/trunk/lib/python/Testing/ZopeTestCase/zopedoctest/functional.py

-=-
Modified: Zope/trunk/lib/python/Testing/ZopeTestCase/doc/CHANGES.txt
===
--- Zope/trunk/lib/python/Testing/ZopeTestCase/doc/CHANGES.txt  2006-03-23 
18:34:22 UTC (rev 66137)
+++ Zope/trunk/lib/python/Testing/ZopeTestCase/doc/CHANGES.txt  2006-03-23 
18:35:00 UTC (rev 66138)
@@ -5,7 +5,8 @@
   than GET or HEAD while omitting the stdin argument.
 - installProduct() now becomes a noop if ZopeTestCase did not apply its
   patches.
-- Made the functional doc tests set the cookie related headers.
+- Made the functional doctests set the cookie related headers.
+- Made functional doctests set the Www-Authenticate header.
 - Made sure logging is configured. Read $INSTANCE_HOME/log.ini if it exists.
 
 0.9.8 (Zope 2.8 edition)

Modified: 
Zope/trunk/lib/python/Testing/ZopeTestCase/zopedoctest/FunctionalDocTest.txt
===
--- 
Zope/trunk/lib/python/Testing/ZopeTestCase/zopedoctest/FunctionalDocTest.txt
2006-03-23 18:34:22 UTC (rev 66137)
+++ 
Zope/trunk/lib/python/Testing/ZopeTestCase/zopedoctest/FunctionalDocTest.txt
2006-03-23 18:35:00 UTC (rev 66138)
@@ -124,6 +124,7 @@
   ... , handle_errors=True)
   HTTP/1.1 401 Unauthorized
   ...
+  Www-Authenticate: basic realm=...
 
 Test Basic Authentication
 

Modified: Zope/trunk/lib/python/Testing/ZopeTestCase/zopedoctest/functional.py
===
--- Zope/trunk/lib/python/Testing/ZopeTestCase/zopedoctest/functional.py
2006-03-23 18:34:22 UTC (rev 66137)
+++ Zope/trunk/lib/python/Testing/ZopeTestCase/zopedoctest/functional.py
2006-03-23 18:35:00 UTC (rev 66138)
@@ -183,6 +183,7 @@
 header_output.setResponseStatus(response.getStatus(), response.errmsg)
 header_output.setResponseHeaders(response.headers)
 header_output.appendResponseHeaders(response._cookie_list())
+
header_output.appendResponseHeaders(response.accumulated_headers.splitlines())
 
 # Restore previous security manager, which may have been changed
 # by calling the publish method above

___
Zope-Checkins maillist  -  Zope-Checkins@zope.org
http://mail.zope.org/mailman/listinfo/zope-checkins


[Zope-Checkins] SVN: Zope/trunk/lib/python/Testing/ZopeTestCase/testPythonScript.py SecurityManager.validateValue no longer exists.

2006-03-23 Thread Stefan H. Holek
Log message for revision 66141:
  SecurityManager.validateValue no longer exists.
  

Changed:
  U   Zope/trunk/lib/python/Testing/ZopeTestCase/testPythonScript.py

-=-
Modified: Zope/trunk/lib/python/Testing/ZopeTestCase/testPythonScript.py
===
--- Zope/trunk/lib/python/Testing/ZopeTestCase/testPythonScript.py  
2006-03-23 18:57:54 UTC (rev 66140)
+++ Zope/trunk/lib/python/Testing/ZopeTestCase/testPythonScript.py  
2006-03-23 18:58:35 UTC (rev 66141)
@@ -116,26 +116,28 @@
 
 def testCannotAccessWithoutAccessPermissionSecurityManager(self):
 # manage_main should be protected
-self.assertRaises(Unauthorized, getSecurityManager().validateValue, 
self.ps.manage_main)
+self.assertRaises(Unauthorized, getSecurityManager().validate,
+  self.ps, self.ps, 'manage_main', self.ps.manage_main)
 
 def testCanAccessWithAccessPermissionSecurityManager(self):
 # manage_main should be accessible if we have the necessary permissions
 self.setPermissions(access_permissions)
 try:
-getSecurityManager().validateValue(self.ps.manage_main)
+getSecurityManager().validate(self.ps, self.ps, 'manage_main', 
self.ps.manage_main)
 except Unauthorized:
 self.fail('Access to manage_main was denied')
 
 def testCannotAccessIfAnonymousSecurityManager(self):
 # manage_main should be protected from Anonymous
 self.logout()
-self.assertRaises(Unauthorized, getSecurityManager().validateValue, 
self.ps.manage_main)
+self.assertRaises(Unauthorized, getSecurityManager().validate,
+  self.ps, self.ps, 'manage_main', self.ps.manage_main)
 
 def testCanAccessIfManagerSecurityManager(self):
 # manage_main should be accessible to Manager
 self.setRoles(['Manager'])
 try:
-getSecurityManager().validateValue(self.ps.manage_main)
+getSecurityManager().validate(self.ps, self.ps, 'manage_main', 
self.ps.manage_main)
 except Unauthorized:
 self.fail('Access to manage_main was denied to Manager')
 

___
Zope-Checkins maillist  -  Zope-Checkins@zope.org
http://mail.zope.org/mailman/listinfo/zope-checkins


[Zope-dev] [Fwd: [Zope] Can not install signal handlers. Please install (or upgrade) your pywin32 installation (https://sf.net/projects/pywin32)]

2006-03-23 Thread Chris Withers
I notice the 2.9.1 binary a rolled a couple of weeks back seems to emit 
this warning every time I start Zope.


Is there something I've done wrong or is something else causing this?

cheers,

Chris

--
Simplistix - Content Management, Zope  Python Consulting
   - http://www.simplistix.co.uk
---BeginMessage---
Can not install signal handlers.  Please install (or upgrade) your pywin32 
installation (https://sf.net/projects/pywin32)

---End Message---
___
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )


Re: [ZWeb] V3 Updated

2006-03-23 Thread Lennart Regebro
On 3/23/06, Tom Von Lahndorff [EMAIL PROTECTED] wrote:
 I was also thinking that there should be a discussion board on the
 site like Apple's support boards.

I don't want both mailing lists and forums unless they can be integrated.

--
Lennart Regebro, Nuxeo http://www.nuxeo.com/
CPS Content Management http://www.cps-project.org/
___
Zope-web maillist  -  Zope-web@zope.org
http://mail.zope.org/mailman/listinfo/zope-web


Re: [ZWeb] V3 Updated

2006-03-23 Thread Jens Vagelpohl

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I was also thinking that there should be a discussion board on the  
site like Apple's support boards. Many of the support questions  
answered on Apple's boards are from other customers. It's a nice  
one stop shop for questions and answers for those who may not want  
to subscribe to mailing list. It would be nice to have that option.

http://discussions.apple.com/index.jspa


- -1 on Forums. There is no good forum software around for Zope which  
is fast and won't bog down the server, and it introduces a big  
software maintenance/editorial burden.


jens

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (Darwin)

iD8DBQFEInMhRAx5nvEhZLIRAjcJAJ0X/YpMIYwWStV3UA9oasJRbCeqRwCgho5M
48wFFJHkpIBsjalb7FGQX14=
=t+6u
-END PGP SIGNATURE-
___
Zope-web maillist  -  Zope-web@zope.org
http://mail.zope.org/mailman/listinfo/zope-web


Re: [ZWeb] V3 Updated

2006-03-23 Thread Chris Withers

Tom Von Lahndorff wrote:


http://www.modscape.com/zope

03/22/06. Updated the homepage. Added the Zope 3 box. Created a download 
page. Click on Download Zope under Download in the nav.


I don't like the big digits for 2 and 3, makes those images look 
really garish.


On the download page, Zope 2 should be above Zope 3.

Like everything else :-)

I was also thinking that there should be a discussion board on the site 
like Apple's support boards. Many of the support questions answered on 
Apple's boards are from other customers. It's a nice one stop shop for 
questions and answers for those who may not want to subscribe to mailing 
list. It would be nice to have that option.

http://discussions.apple.com/index.jspa


No, forums or mailing lists, not both.

Mailing lists are already there, so forums suck ;-)

A decent list of the lists available would rock, as would nice 
searchable archives. However, google and gmane take care of the latter 
requirement, which is hard to implement...


Chris

--
Simplistix - Content Management, Zope  Python Consulting
   - http://www.simplistix.co.uk
___
Zope-web maillist  -  Zope-web@zope.org
http://mail.zope.org/mailman/listinfo/zope-web


Re: [ZWeb] V3 Updated

2006-03-23 Thread Tom Von Lahndorff



- I think fly out menus on Web pages just don't Feel Good (not to
  mention the debatable usability problems they might introduce[2]).


See Mike D.'s comments on that article which pretty  much sums up my 
rationale and implementation.


Still not convinced, but that's just me. We don't have such a deep 
structure or information density, I would simply put a context navigation 
on the left (or right) for each section but not on the homepage, like on 
this two pages:


http://www.mozilla.org/support/
http://www.mozilla.org/about/

Very simple.


Not really. Just the opposite actually, confusing. My design is certainly 
more simple than mozilla's. Inconsistent page layout. I like sites that 
have a consistent layout throughout, including the homepage. It's confusing 
when the navigation changes on a page by page basis. In my case there's no 
scheme that the user has to *get*.





Tonico

___
Zope-web maillist  -  Zope-web@zope.org
http://mail.zope.org/mailman/listinfo/zope-web 


___
Zope-web maillist  -  Zope-web@zope.org
http://mail.zope.org/mailman/listinfo/zope-web


Re: [ZWeb] V3 Updated

2006-03-23 Thread Tonico Strasser

Tom Von Lahndorff schrieb:



- I think fly out menus on Web pages just don't Feel Good (not to
  mention the debatable usability problems they might introduce[2]).


See Mike D.'s comments on that article which pretty  much sums up my 
rationale and implementation.


Still not convinced, but that's just me. We don't have such a deep 
structure or information density, I would simply put a context 
navigation on the left (or right) for each section but not on the 
homepage, like on this two pages:


http://www.mozilla.org/support/
http://www.mozilla.org/about/

Very simple.


Not really. Just the opposite actually, confusing. My design is 
certainly more simple than mozilla's. Inconsistent page layout. I like 
sites that have a consistent layout throughout, including the homepage. 
It's confusing when the navigation changes on a page by page basis. In 
my case there's no scheme that the user has to *get*.


I agree that the consistency is a hight priority (nevertheless I find 
mozilla.org pretty user friendly).


I also think a *visible* 2nd level navigation is very important for 
orientation. Maybe we agree on the basic question of a random visitor on 
a Web site:


A) Where am I?

B) Where do I come from (or how did I come here)?

C) Where can I go from here?

To answer B the page must either have a navigation system in which the 
context is obvious, or at least a breadcrumb navigation trail.


If you have a visible 2nd (and maybe 3rd) level navigation the fly out 
menus become redundant. Note: I'm not saying that the navigation must 
change on different sections or that the fly out menus must be disabled 
to achieve this.


Tonico

___
Zope-web maillist  -  Zope-web@zope.org
http://mail.zope.org/mailman/listinfo/zope-web


Re: [Zope] Nabble, again?

2006-03-23 Thread Chris Withers

Philip Kilner wrote:

Chris Withers wrote:

Dunno what Nabble is



You could always google for it...

;-)


touché ;-)

Although I dunno why we should waste our time googling for software 
that's poluting our list ;-)


Chris

--
Simplistix - Content Management, Zope  Python Consulting
   - http://www.simplistix.co.uk

___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Re: Give it a rest + answers. (Re: Re: Zope + Apache on Quad Debian machine)

2006-03-23 Thread Chris Withers

Andrew Sawyers wrote:

The other engineer was me, and it was close enough to double the load
per instance, per cpu. 


tangential question: I'm assuming you were using LVS in front of these 
boxes? If so, how'd you get the both clients on the box accessible by 
LVS? 2 ip addresses?


cheers,

Chris

--
Simplistix - Content Management, Zope  Python Consulting
   - http://www.simplistix.co.uk

___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope-dev )


Re: Give it a rest + answers. (Re: [Zope] Re: Zope + Apache on Quad Debian machine)

2006-03-23 Thread Chris Withers

Hugo Ramos wrote:

I don't know. What I do know is that I'm not a newbie AND I did my
homework (google+other sources) before coming here!


Then how come you managed to miss Paul Browning and Matt Hamilton's 
extensive documentation of the subject?


Chris

--
Simplistix - Content Management, Zope  Python Consulting
   - http://www.simplistix.co.uk

___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] ZCatalog Strategy

2006-03-23 Thread Chris Withers

Mark Gibson wrote:
Does the cost of calling getObject() for a dozen objects justify 
creating a new metadata field?


No.

More generally how does a large amount of metadata in the catalog affect 
performance of queries?


Badly ;-)


The wisdom of those more knowledgeable than me would be appreciated.


As a rule of thumb, if you need a catalog search to return more than 
10-20 objects and you need to do something with an attribute of all the 
objects returned, then whack it in the metadata. If you only need it for 
the 10-20 objects, then do getObject and get the attribute from the object.


cheers,

Chris

--
Simplistix - Content Management, Zope  Python Consulting
   - http://www.simplistix.co.uk

___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Re: Give it a rest + answers. (Re: Re: Zope + Apache on Quad Debian machine)

2006-03-23 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Chris Withers wrote:
 Andrew Sawyers wrote:
 
 The other engineer was me, and it was close enough to double the load
 per instance, per cpu. 
 
 
 tangential question: I'm assuming you were using LVS in front of these
 boxes? If so, how'd you get the both clients on the box accessible by
 LVS? 2 ip addresses?

Nope, different port numbere.  LVS is configured per-service, rather
than per-IP.


Tres.
- --
===
Tres Seaver  +1 202-558-7113  [EMAIL PROTECTED]
Palladion Software   Excellence by Designhttp://palladion.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFEIo3E+gerLs4ltQ4RAmBaAKCwiU6E/cnJNRQBTSNDk32j+hKRkACgjhgn
awM/z7gLOzscAeCzKY5Aexk=
=0HJ9
-END PGP SIGNATURE-
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: Give it a rest + answers. (Re: [Zope] Re: Zope + Apache on Quad Debian machine)

2006-03-23 Thread Hugo Ramos
Maybe I just misspelled the word affinity and wrote it with just 1 f
afinity...
Hey Chris.. Cheer up dude! Try not be this hard to people that just
want to learn a bit more... Specially because back in 2000 I had you
as a Zope icon in Europe.

I'm working in Brazil now... The entire Brazilian Federal Government
decided to move into Open Source.. More specifically Linux+Zope+Plone.
Here I'm learning something called respect for others. The rest of the
world has a lot to learn from Brazilian people about social relations.
Something I didn't even taste while living in England...

Anyway... There's a lot of jobs for good professionals like you!
Salary is much more than the average Brazilian makes... Maybe this
country could be good for you! :-)


Cheers
Hugo



On 3/23/06, Chris Withers [EMAIL PROTECTED] wrote:
 Hugo Ramos wrote:
  I don't know. What I do know is that I'm not a newbie AND I did my
  homework (google+other sources) before coming here!

 Then how come you managed to miss Paul Browning and Matt Hamilton's
 extensive documentation of the subject?

 Chris

 --
 Simplistix - Content Management, Zope  Python Consulting
 - http://www.simplistix.co.uk


___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: Give it a rest + answers. (Re: [Zope] Re: Zope + Apache on Quad Debian machine)

2006-03-23 Thread Andrew Milton
+---[ Hugo Ramos ]--
|
| Anyway... There's a lot of jobs for good professionals like you!
| Salary is much more than the average Brazilian makes... Maybe this
| country could be good for you! :-)

Don't worry Hugo, if Chris keeps going the way he's going, eventually he'll 
have to hide out in South America... d8)

-- 
Andrew Milton
[EMAIL PROTECTED]
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] Re: best practice, CSS Stylesheets

2006-03-23 Thread Tonico Strasser

Tino Wildenhain schrieb:

David Pratt schrieb:

Anyone have any idea whether dynamic css via dtml will remain possible
as CMF gets more Z3'ish? Or will only possibility be overrides in css
itself.


What do you expect to change with Z3? Otoh, not using runtime-generated
CSS is usually a better approach anyway.


Just out of interest, why do you think this is *usually* better? This 
does strongly depend on your use case, no?


You could say something like it is usually better to serve static HTML 
pages as well.


Tonico

___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] zopectl rc.local newbie question

2006-03-23 Thread Anton Cupcea

JulianRead wrote:

Hi i am trying to get zopectl to work so that i can get my zope site 
to start

automatically when the server reboots.
I have put the following code into rc.local
/home/default/inst2.isolve-unix.co.uk/zope/bin/zopectl start
This doesnt work i have checked that it is definatley the right directory
and rc.local seems to be working does anyone have any idea where im going
wrong


In the rc.local context, you are root, so look at your zope.conf, and 
check if you set up the user who's running Zope

(the effective-user directive)

A little offtopic: generally, it's not a good idea to run a service 
(like Zope is) in rc.local. Maybe you should put the starting script in 
rc.d, with symlinks to the corresponding start levels (for start/stop).


Anton C.

___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] unrestricted pagetemplatefile?

2006-03-23 Thread Jürgen Herrmann
hi!

the question about unrestricted pagetempltefiles has come up once,
i found a discussion here:
http://mail.zope.org/pipermail/zope-dev/2004-March/thread.html#22094

is there such a thing yet? browsing the sourcecode lets me tend to a
no... maybe there is a patch?

how difficult would it be to implement it, any hints at which methods
contain the magic? :)

thanks in advance.

regards, juergen
___

 XLhost.de - eXperts in Linux hosting 

Jürgen Herrmann
Bruderwöhrdstraße 15b, DE-93051 Regensburg

Fon:  +49 (0)700 XLHOSTDE [0700 95467833]
Fax:  +49 (0)721 151 463027
WEB:  http://www.XLhost.de
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] CSS Best practises

2006-03-23 Thread John Huttley

Thanks to everyone for your thoughts.
In summary, no one mentioned ZStylesheets.
Files are ok, but no one is concerned about hierarchies. For example 
having a site level look and feel

with specific styles for certain areas, such as tables.

I'll go with the file at the top level..

Regards,

john
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] unrestricted pagetemplatefile?

2006-03-23 Thread Andrew Milton
+---[ J?rgen Herrmann ]--
| hi!
| 
| the question about unrestricted pagetempltefiles has come up once,
| i found a discussion here:
| http://mail.zope.org/pipermail/zope-dev/2004-March/thread.html#22094
| 
| is there such a thing yet? browsing the sourcecode lets me tend to a
| no... maybe there is a patch?
| 
| how difficult would it be to implement it, any hints at which methods
| contain the magic? :)

Probably ${ZOPE}/lib/python/Products/PageTemplates/ZRPythonExpr.py

Alter the _SecureModuleImporter class

-- 
Andrew Milton
[EMAIL PROTECTED]
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Screwy permissions problem has me stumped

2006-03-23 Thread Andrew Milton
+---[ Kirk Strauser ]--
| My Zope server uses exUserFolder and PostgreSQL for authentication.  I
| turned on query logging today for unrelated reasons, and noticed an almost
| continuous stream of queries:

[snip]

| Now, ourcustomer has full rights to the invoices folder and all files
| in it, but they can't execute the title_or_id method on objects inside.
| Also, how on Earth did my username get dragged into this?  As the main site
| developer, I own all the objects in the site, but I don't have any odd Proxy
| access set up.  I can't figure out why customers are trying to call
| title_or_id as me in the first place, let alone why it fails.  Any insight?

Every TAL call pretty much creates a new security context, which is why it's 
hitting the DB so often (this is why it's best to turn on caching in XUF even 
for 5 or 10 seconds if you're using a 'slow' auth mechanism).

I'm not sure why it's using your username and not their own though, without
actually looking at your setup. XUF just executes the lookups based on what
Zope tells it to do.

-- 
Andrew Milton
[EMAIL PROTECTED]
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] error in Zope-2.9.1/README.txt

2006-03-23 Thread Andreas Jung
Please put such _bug_ into the bugtracker. Reporting bugs to the 
mailinglist hoping that someone picks it up is insane, sorry.


-aj

--On 21. März 2006 15:35:24 +0100 Joachim Schmitz [EMAIL PROTECTED] wrote:


hi,

after unpacking the Zope-2.9.1 tarbal I find in README.txt

Installing Zope
---

Follow the instructions in ``doc/INSTALL.txt`` to install Zope.

this must be ``Zope/doc/INSTALL.txt``



--
Mit freundlichen GrüßenJoachim Schmitz
..
AixtraWare eK ..Joachim Schmitz ..www.aixtraware.de ..t: +49-2464-8851
Hüsgenstr. 33a .d-52457 Aldenhoven .f: +49-2464-905163


___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -  http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )




   ---
  -   Andreas JungZOPYX Ltd.  Co KG-
 -   E-mail: [EMAIL PROTECTED]   Web: www.zopyx.com, www.zopyx.de -
  ---


pgpL1vQyzvimE.pgp
Description: PGP signature
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] unrestricted pagetemplatefile?

2006-03-23 Thread Andreas Jung

Look at Dieters TrustedExecutables.

-aj

--On 23. März 2006 19:50:20 +0100 Jürgen Herrmann 
[EMAIL PROTECTED] wrote:



hi!

the question about unrestricted pagetempltefiles has come up once,
i found a discussion here:
http://mail.zope.org/pipermail/zope-dev/2004-March/thread.html#22094

is there such a thing yet? browsing the sourcecode lets me tend to a
no... maybe there is a patch?

how difficult would it be to implement it, any hints at which methods
contain the magic? :)

thanks in advance.

regards, juergen
___


XLhost.de - eXperts in Linux hosting 


Jürgen Herrmann
Bruderwöhrdstraße 15b, DE-93051 Regensburg

Fon:  +49 (0)700 XLHOSTDE [0700 95467833]
Fax:  +49 (0)721 151 463027
WEB:  http://www.XLhost.de
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )




   ---
  -   Andreas JungZOPYX Ltd.  Co KG-
 -   E-mail: [EMAIL PROTECTED]   Web: www.zopyx.com, www.zopyx.de -
  ---


pgpUdry7pwMMN.pgp
Description: PGP signature
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )