[Zope] zeo cache-size tuning - number of obj. vs MB

2010-01-06 Thread Gaute Amundsen
of too much swapping. Needing to cut down.. Would it be better to spend all the memory on 1? Is there a good way to find a balance? Regards Gaute Amundsen ___ Zope maillist - Zope@zope.org https://mail.zope.org/mailman/listinfo/zope ** No cross

Re: [Zope] zeo cache-size tuning - number of obj. vs MB

2010-01-06 Thread Gaute Amundsen
On Wed, 2010-01-06 at 03:57 -0500, Tres Seaver wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Gaute Amundsen wrote: Hi What's the difference between the to cache-size settings here? I've not been able to find a good description to guide me in finding the right values

[Zope] ZopeProfiler uninstall

2009-12-01 Thread Gaute Amundsen
We have ZopeProfiler 1.72 installed on a site (Zope 2.7.5-1.fc3) that don't need it anymore. I've removed the folder and deleted the product, but I cant' find a way to remove it form the controlpanel. I notice it's been asked once before, but I cant find any replies. Any hints? Regards Gaute

Re: [Zope] ZopeProfiler uninstall

2009-12-01 Thread Gaute Amundsen
On Tue, 2009-12-01 at 14:39 +0100, robert rottermann wrote: Gaute Amundsen schrieb: We have ZopeProfiler 1.72 installed on a site (Zope 2.7.5-1.fc3) that don't need it anymore. I've removed the folder and deleted the product, but I cant' find a way to remove it form the controlpanel. I

Re: [Zope] ZopeProfiler uninstall

2009-12-01 Thread Gaute Amundsen
On Tue, 2009-12-01 at 18:15 +0100, Dieter Maurer wrote: Gaute Amundsen wrote at 2009-12-1 14:33 +0100: We have ZopeProfiler 1.72 installed on a site (Zope 2.7.5-1.fc3) that don't need it anymore. I've removed the folder and deleted the product, but I cant' find a way to remove it form

Re: [Zope] ZopeProfiler uninstall

2009-12-01 Thread Gaute Amundsen
On Tue, 2009-12-01 at 11:28 -0500, Tres Seaver wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Gaute Amundsen wrote: We have ZopeProfiler 1.72 installed on a site (Zope 2.7.5-1.fc3) that don't need it anymore. I've removed the folder and deleted the product, but I cant' find a way

Re: [Zope] ZopeProfiler uninstall

2009-12-01 Thread Gaute Amundsen
On Tue, 2009-12-01 at 20:57 +0100, Sascha Welter wrote: (Tue, Dec 01, 2009 at 02:33:04PM +0100) Gaute Amundsen wrote/schrieb/egrapse: We have ZopeProfiler 1.72 installed on a site (Zope 2.7.5-1.fc3) that don't need it anymore. I've removed the folder and deleted the product, but I cant

Re: [Zope] Finding unused products

2009-11-30 Thread Gaute Amundsen
On Sun, 2009-11-29 at 16:05 -0500, Tres Seaver wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Gaute Amundsen wrote: On Sun, 2009-11-29 at 12:32 +0100, Jens Vagelpohl wrote: On Nov 29, 2009, at 11:59 , Gaute Amundsen wrote: Quick question before I reinvent. Is there some

Re: [Zope] Finding unused products

2009-11-30 Thread Gaute Amundsen
On Mon, 2009-11-30 at 10:59 -0500, Tres Seaver wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Gaute Amundsen wrote: On Sun, 2009-11-29 at 16:05 -0500, Tres Seaver wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Gaute Amundsen wrote: On Sun, 2009-11-29 at 12:32 +0100

[Zope] Finding unused products

2009-11-29 Thread Gaute Amundsen
Quick question before I reinvent. Is there some established way of finding products which have no instances in zodb, and can be safely removed? Regards Gaute Amundsen ___ Zope maillist - Zope@zope.org https://mail.zope.org/mailman/listinfo/zope

Re: [Zope] Finding unused products

2009-11-29 Thread Gaute Amundsen
On Sun, 2009-11-29 at 12:32 +0100, Jens Vagelpohl wrote: On Nov 29, 2009, at 11:59 , Gaute Amundsen wrote: Quick question before I reinvent. Is there some established way of finding products which have no instances in zodb, and can be safely removed? No there isn't. You may have

Re: [Zope] Best place to rewrite webdav GET requests?

2008-09-15 Thread Gaute Amundsen
On Friday 12 September 2008 07:19:29 Sascha Welter wrote: (Thu, Sep 11, 2008 at 08:49:38AM +0200) Gaute Amundsen wrote/schrieb/egrapse: Or would it perhaps be better to route webdav through apache, and try to handle it with rewriterules? This is how we do it. (Not for NightmareWeaver

[Zope] Reinventing a proxy wheel?

2008-06-03 Thread Gaute Amundsen
appears, I will of course replace wget with urllib, and perhaps even productify the thing, but before I do that I have this nagging feeling of reinventing the wheel that I need to address... Regards Gaute Amundsen ___ Zope maillist - Zope@zope.org

[Zope] Re: process_memory reports negative usage

2007-06-04 Thread Gaute Amundsen
On Friday 01 June 2007 15:48, Izak Burger wrote: On 6/1/07, Gaute Amundsen wrote: I'm using the process_memory plugin for monitoring zope, just as in the readme. Your the first person to ever contact me about it, so I am very happy to hear that it was useful to someone else as well

Re: [Zope] Scaling problems, or something else?

2007-05-16 Thread Gaute Amundsen
On Tuesday 15 May 2007 15:20, Chris Withers wrote: Gaute Amundsen wrote: On Thursday 10 May 2007 17:57, Paul Winkler wrote: On Thu, May 10, 2007 at 02:10:40AM +0200, Gaute Amundsen wrote: On Wednesday 09 May 2007 16:41, Paul Winkler wrote: On Wed, May 09, 2007 at 12:07:54PM +0200, Gaute

Re: [Zope] Scaling problems, or something else?

2007-05-16 Thread Gaute Amundsen
On Wednesday 16 May 2007 00:13, Paul Winkler wrote: On Tue, May 15, 2007 at 12:00:52PM +0200, Gaute Amundsen wrote: I set cache-size to 1 last night, up from the default. I felt I had to try that before I had a grap in place, so I don't have good numbers to estimate tha change

Re: [Zope] Scaling problems, or something else?

2007-05-16 Thread Gaute Amundsen
On Wednesday 16 May 2007 07:52, Gerhard Schmidt wrote: On Thu, May 10, 2007 at 02:10:40AM +0200, Gaute Amundsen wrote: So there is no other possible limit in a zope instance than IO or CPU? If cpu was the limiting factor I would see the 2 python processes running 90% and dozens of httpd's

Re: [Zope] Scaling problems, or something else?

2007-05-15 Thread Gaute Amundsen
On Thursday 10 May 2007 17:57, Paul Winkler wrote: On Thu, May 10, 2007 at 02:10:40AM +0200, Gaute Amundsen wrote: On Wednesday 09 May 2007 16:41, Paul Winkler wrote: On Wed, May 09, 2007 at 12:07:54PM +0200, Gaute Amundsen wrote: So there is no other possible limit in a zope instance

[Zope] Scaling problems, or something else?

2007-05-09 Thread Gaute Amundsen
and just letting Apache hang? Would setting up ZEO on the same box make a difference, or would it be better to extend varnish coverage? What would you do to pinpoint the problem? Any ideas are welcome! Regards Gaute Amundsen ___ Zope maillist - Zope

Re: [Zope] Scaling problems, or something else?

2007-05-09 Thread Gaute Amundsen
On Wednesday 09 May 2007 16:41, Paul Winkler wrote: On Wed, May 09, 2007 at 12:07:54PM +0200, Gaute Amundsen wrote: Just a quick call for ideas on this problem we have... Setup: Zope 2.7.5 (~180 sites) - apache (- varnish for 1 high profile site) Most noticeable symtoms: Takes 30

Re: [Zope] Making pythonscript changes to formulator fields persistent

2007-04-03 Thread Gaute Amundsen
On Monday 02 April 2007 18:58, Maciej Wisniowski wrote: I was thinking of that... How would you do that? Do you know formulator enough to say? I don't know your use case good enough. Is this just changing attributes of formulator fields? Just asking :) Put the whole thing in the EM, or

Re: [Zope] Making pythonscript changes to formulator fields persistent

2007-04-02 Thread Gaute Amundsen
On Monday 02 April 2007 17:51, Maciej Wisniowski wrote: What to do? I guess some developer has worked hard to prevent me from doing just this at some point, but why? Do I need to write a product to do it? Is anyone at all using this crazy development model where semi trusted users do

Re: [Zope] How do people work with html-designers?

2007-03-15 Thread Gaute Amundsen
On Thursday 15 March 2007 10:23, Jaroslav Lukesh wrote: do google: zpt OR tal lukesh I was wrote about this few months ago in this mailinglist. Regards JL. Did you try googling that yourself before responding? Not much there.. I searched the mailinglist for various terms as well before

Re: [Zope] Two mysql / timestamp related fixes

2007-03-12 Thread Gaute Amundsen
On Friday 09 March 2007 16:22, Tino Wildenhain wrote: Gaute Amundsen schrieb: On Friday 09 March 2007 09:40, Tino Wildenhain wrote: Gaute Amundsen schrieb: On Thursday 08 March 2007 17:27, Tino Wildenhain wrote: Gaute Amundsen schrieb: Hi. snip 1 ) First I got a ValueError

Re: [Zope] Two mysql / timestamp related fixes

2007-03-09 Thread Gaute Amundsen
On Friday 09 March 2007 09:40, Tino Wildenhain wrote: Gaute Amundsen schrieb: On Thursday 08 March 2007 17:27, Tino Wildenhain wrote: Gaute Amundsen schrieb: Hi. snip 1 ) First I got a ValueError 'query' when using a very simple zsql method. (consisting of only dtml-var sql

Re: [Zope] How can run multiple query in an Z sql method

2007-03-09 Thread Gaute Amundsen
On Friday 09 March 2007 10:12, Remil Mathew wrote: Hi, How can run multiple query in an Z sql method.. I am using Mysql.. Also is there any method to return a value from insert query? Thanks Remil could you possibly be thinking of? insert foo into bar dtml-var sql_delimiter SELECT

[Zope] Two mysql / timestamp related fixes

2007-03-08 Thread Gaute Amundsen
it: diff /usr/lib/zope/lib/python/Products/ZMySQLDA/db.py /usr/lib/zope/lib/python/Products/ZMySQLDA/db.py~ 173d172 conv[FIELD_TYPE.TIMESTAMP] = DateTime_or_None I have found no mention of this anywhere? Have anyone else had this problem Comments? Regards Gaute Amundsen

Re: [Zope] Two mysql / timestamp related fixes

2007-03-08 Thread Gaute Amundsen
On Thursday 08 March 2007 17:27, Tino Wildenhain wrote: Gaute Amundsen schrieb: Hi. snip 1 ) First I got a ValueError 'query' when using a very simple zsql method. (consisting of only dtml-var sql ) Thats a very bad idea. Better make zsql methods for every query I know the orthodoxy

Re: [Zope] Two mysql / timestamp related fixes

2007-03-08 Thread Gaute Amundsen
On Thursday 08 March 2007 17:53, Paul Winkler wrote: On Thu, Mar 08, 2007 at 02:07:56PM +0100, Gaute Amundsen wrote: this is definitely connected to the timestamp column, because this change fixed it: diff /usr/lib/zope/lib/python/Products/ZMySQLDA/db.py /usr/lib/zope/lib/python

Re: [Zope] Re: returning a macro from a pythonscript

2007-03-05 Thread Gaute Amundsen
On Friday 02 March 2007 17:06, Tres Seaver wrote: Gaute Amundsen wrote: On Friday 02 March 2007 11:20, Andreas Jung wrote: --On 2. März 2007 11:10:57 +0100 Gaute Amundsen [EMAIL PROTECTED] wrote: I have tried many varieties, but I can't remember ever getting it to work... snip foo

[Zope] returning a macro from a pythonscript

2007-03-02 Thread Gaute Amundsen
I have tried many varieties, but I can't remember ever getting it to work... A few googles shows me nothing either. Any quick hints? Gaute ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML

Re: [Zope] returning a macro from a pythonscript

2007-03-02 Thread Gaute Amundsen
On Friday 02 March 2007 11:20, Andreas Jung wrote: --On 2. März 2007 11:10:57 +0100 Gaute Amundsen [EMAIL PROTECTED] wrote: I have tried many varieties, but I can't remember ever getting it to work... A few googles shows me nothing either. returning a macro? -aj Something like

Re: [Zope] How to get REST friendly urls from sql database

2007-02-27 Thread Gaute Amundsen
On Wednesday 21 February 2007 16:27, Paul Winkler wrote: On Wed, Feb 21, 2007 at 12:32:30PM +0100, Gaute Amundsen wrote: On Tuesday 20 February 2007 17:39, Paul Winkler wrote: snip snip You could instead follow Andreas' suggestion and use a through-the-web Script. It might look something

Re: [Zope] How to get REST friendly urls from sql database

2007-02-21 Thread Gaute Amundsen
On Tuesday 20 February 2007 16:37, Andreas Jung wrote: --On 20. Februar 2007 16:30:43 +0100 Gaute Amundsen [EMAIL PROTECTED] wrote: Hi. Normally a url to an article in our CMS system would look roughly like this: http://www.dom.tld/aritcles/25245 Where 25245 would be an object of some

Re: [Zope] How to get REST friendly urls from sql database

2007-02-21 Thread Gaute Amundsen
On Tuesday 20 February 2007 17:39, Paul Winkler wrote: snip Another option is that the object at /articles could be an instance of a class that looks something like: class MyArticleContainer(): def __before_publishing_traverse__(self, unused, request): # Save the rest of the

[Zope] How to get REST friendly urls from sql database

2007-02-20 Thread Gaute Amundsen
Gaute Amundsen ___ 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] How to get modules that are called by external methods reloaded?

2007-01-23 Thread Gaute Amundsen
On Saturday 20 January 2007 12:00, Andreas Jung wrote: --On 20. Januar 2007 11:55:18 +0100 Jens Vagelpohl [EMAIL PROTECTED] wrote: That database size isn't too large and will not cause 10 minute startup. Only the index file is read in during startup, not the whole database - unless your

Re: [Zope] How to get modules that are called by external methods reloaded?

2007-01-19 Thread Gaute Amundsen
On Friday 19 January 2007 12:13, Maciej Wisniowski wrote: Subject says it sall. Only way I have found so far is to restart zope, and on a production server, that is not very popular. Takes about 10 minutes on ours.. Have you tried to go into Edit form of your external method and just hit

Re: [Zope] How to get modules that are called by external methodsreloaded?

2007-01-19 Thread Gaute Amundsen
On Friday 19 January 2007 13:42, Jonathan wrote: - Original Message - From: Gaute Amundsen [EMAIL PROTECTED] To: zope@zope.org Sent: Friday, January 19, 2007 4:36 AM Subject: [Zope] How to get modules that are called by external methodsreloaded? Subject says it sall. Only way I

Re: [Zope] How to get modules that are called by external methods reloaded?

2007-01-19 Thread Gaute Amundsen
On Friday 19 January 2007 19:45, Dieter Maurer wrote: Gaute Amundsen wrote at 2007-1-19 10:36 +0100: Only way I have found so far is to restart zope, and on a production server, that is not very popular. Takes about 10 minutes on ours.. You can use Python's reload builtin to reload them

Re: [Zope] How to get modules that are called by external methods reloaded?

2007-01-19 Thread Gaute Amundsen
On Friday 19 January 2007 19:51, Andreas Jung wrote: --On 19. Januar 2007 10:36:04 +0100 Gaute Amundsen [EMAIL PROTECTED] wrote: Subject says it sall. Only way I have found so far is to restart zope, and on a production server, that is not very popular. Takes about 10 minutes on ours

Re: [Zope] Re: How best to copy and paste in pythonscript?

2006-08-29 Thread Gaute Amundsen
Thank you, thank you thank you all! Some actuall helpfull advice, and not snotty riddles! I'll try not to feed the troll next time. I think the keyword argument bit is a red herring. The issue here is that the methods you are calling are not really designed to be scripted within the context

[Zope] How best to copy and paste in pythonscript?

2006-08-28 Thread Gaute Amundsen
could goolge about it, but stil it won't work. Could somebody please tell me the canonical way of dooing this? Regards Gaute Amundsen ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding

Re: [Zope] How best to copy and paste in pythonscript?

2006-08-28 Thread Gaute Amundsen
On Monday 28 August 2006 13:16, Andreas Jung wrote: - Docfindertab - lib/python/OFS/interfaces.py (!) - lib/python/OFS/CopySupport.py -aj Excuse me, my oh so knowledgable friend, but it is not at all obious to me, ( or most other readers of this list, I'd wager) what or where Docfindertab

Re: [Zope] How best to copy and paste in pythonscript?

2006-08-28 Thread Gaute Amundsen
On Monday 28 August 2006 14:06, Andreas Jung wrote: --On 28. August 2006 14:00:25 +0200 Gaute Amundsen [EMAIL PROTECTED] wrote: On Monday 28 August 2006 13:16, Andreas Jung wrote: - Docfindertab - lib/python/OFS/interfaces.py (!) - lib/python/OFS/CopySupport.py -aj Excuse me, my

Re: [Zope] manage_changeProperties has strange side effect on response Content-Type.

2006-06-19 Thread Gaute Amundsen
On Friday 16 June 2006 20:28, Dieter Maurer wrote: Gaute Amundsen wrote at 2006-6-16 13:05 +0200: All my pages normally have a content-type of ISO-8859-1 I have not spent much thought on this, it has just worked nicely like that. Today I had a page that called a python script, that even

[Zope] manage_changeProperties has strange side effect on response Content-Type.

2006-06-16 Thread Gaute Amundsen
:) Regards Gaute Amundsen ___ 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

Re: [Zope] manage_changeProperties has strange side effect on response Content-Type.

2006-06-16 Thread Gaute Amundsen
On Friday 16 June 2006 13:14, Andreas Jung wrote: --On 16. Juni 2006 13:05:09 +0200 Gaute Amundsen [EMAIL PROTECTED] wrote: item.manage_changeProperties({'title':'Hustype'}) gives utf-8. This makes less sense. You're passing an ASCII string which has the same representation in UTF-8..so

Re: [Zope] manage_changeProperties has strange side effect on response Content-Type.

2006-06-16 Thread Gaute Amundsen
On Friday 16 June 2006 13:39, Tino Wildenhain wrote: Gaute Amundsen schrieb: snip item.manage_changeProperties({'title':'Hustype'}) gives utf-8. item.manage_changeProperties(title='Hustype') leaves ISO-8859-1 intact. WTF is that? My guess would be the dict-argument

Re: [Zope] REQUEST.form variables order

2006-04-21 Thread Gaute Amundsen
On Thursday 20 April 2006 20:11, Dieter Maurer wrote: Gaute Amundsen wrote at 2006-4-19 19:03 +0200: I want to retrieve the form fields in the order that they where submitted in the http POST. I know this has been brought up before, and that the answer is You cant. You might be able to do

Re: [Zope] Re: REQUEST.form variables order

2006-04-21 Thread Gaute Amundsen
On Friday 21 April 2006 13:36, Tres Seaver wrote: snip REQUEST.stdin is the actual stream (either a tempfile or a StringIO). You will likely need to rewind it before you can use it. That seems to work YES. with cgi.parse_qsl I'm practically done already. Only some unicode troubles with

Re: [Zope] REQUEST.form variables order

2006-04-21 Thread Gaute Amundsen
On Friday 21 April 2006 21:04, Dieter Maurer wrote: Gaute Amundsen wrote at 2006-4-21 11:01 +0200: On Thursday 20 April 2006 20:11, Dieter Maurer wrote: Gaute Amundsen wrote at 2006-4-19 19:03 +0200: I want to retrieve the form fields in the order that they where submitted in the http

Re: [Zope] REQUEST.form variables order

2006-04-20 Thread Gaute Amundsen
On Wednesday 19 April 2006 21:47, Tino Wildenhain wrote: Gaute Amundsen wrote: I want to retrieve the form fields in the order that they where submitted I'd say blaming zope for not reading the docs is somewhat arrogant .-) I have been reading the docs for thee last 3 years my friend. Could

Re: [Zope] Re: REQUEST.form variables order

2006-04-20 Thread Gaute Amundsen
On Wednesday 19 April 2006 21:26, Tres Seaver wrote: Gaute Amundsen wrote: I want to retrieve the form fields in the order that they where submitted snip The answer isn't arrogant, and we aren't *preventing* you from gaining access to that information. The implementation which we use

Re: [Zope] REQUEST.form variables order

2006-04-20 Thread Gaute Amundsen
On Thursday 20 April 2006 12:09, Tino Wildenhain wrote: Gaute Amundsen schrieb: On Wednesday 19 April 2006 21:47, Tino Wildenhain wrote: Gaute Amundsen wrote: I want to retrieve the form fields in the order that they where submitted I'd say blaming zope for not reading the docs

Re: [Zope] REQUEST.form variables order

2006-04-20 Thread Gaute Amundsen
On Thursday 20 April 2006 12:15, Andrew Milton wrote: +---[ Gaute Amundsen ]-- | Hm.. ok. | I have these 100 forms, all over the place. They live in user editable | html. To have to track down and alter them all is out of the question. | Yet the users expect the form

Re: [Zope] REQUEST.form variables order

2006-04-20 Thread Gaute Amundsen
On Thursday 20 April 2006 13:23, Andrew Milton wrote: +---[ Gaute Amundsen ]-- | On Thursday 20 April 2006 12:15, Andrew Milton wrote: | +---[ Gaute Amundsen ]-- snip | But, why render the page, when I could just parse it to get the field

Re: [Zope] REQUEST.form variables order

2006-04-20 Thread Gaute Amundsen
On Thursday 20 April 2006 14:01, Andrew Milton wrote: +---[ Gaute Amundsen ]-- | On Thursday 20 April 2006 13:23, Andrew Milton wrote: | +---[ Gaute Amundsen ]-- | | | On Thursday 20 April 2006 12:15, Andrew Milton wrote

Re: [Zope] REQUEST.form variables order

2006-04-20 Thread Gaute Amundsen
On Thursday 20 April 2006 15:46, Tino Wildenhain wrote: Gaute Amundsen schrieb: ... The order of the form elements that goes into mail headers is ofcourse irelevant. I'ts the rest of the form, you know name, adress, street, etc. that are the problem. It's a purely visual thing, but when

Re: [Zope] REQUEST.form variables order

2006-04-20 Thread Gaute Amundsen
On Thursday 20 April 2006 17:16, Tino Wildenhain wrote: Any hints to get me statred on the zpt version? No, you would not do this in ZPT. ZPT is the templating engine. You write your logic in python. External Method for example if you dont want to write a complete product. I have the

[Zope] REQUEST.form variables order

2006-04-19 Thread Gaute Amundsen
for req.post? Patch zope to save the ordering as a property in req.post? Regards Gaute Amundsen ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org

[Zope] roles argument to validate/ authorize

2005-12-08 Thread Gaute Amundsen
including document types, so there is scope for a lot of things to interfere... However, while no longer being a newbee at this, I have not yet been able, to find a way to unravel where the roles argument originate, and who could have touched it.. Regards. Gaute Amundsen

Re: [Zope] exUserFolder will not redirect to login page

2005-12-06 Thread Gaute Amundsen
On Saturday 03 December 2005 01:30, Andrew Milton wrote: +---[ Gaute Amundsen ]-- | Since your index_html and docLogin both seem to require permissions to | view, | | No, no, and NO again. docLogin noes NOT require permission. | I can access it without problem

Re: [Zope] exUserFolder will not redirect to login page

2005-12-02 Thread Gaute Amundsen
. -- -- - Gaute Amundsen Technology today is the campfire [EMAIL PROTECTED] around which we tell our stories. There's this attraction to light

Re: [Zope] exUserFolder will not redirect to login page

2005-12-02 Thread Gaute Amundsen
On Friday 02 December 2005 10:45, Chris Withers wrote: Gaute Amundsen wrote: As far as I can see that must mean that either something is going wrong in exUserFolder, or much more likely, that we are feeding it something bogus, or have previously modified it in some non-obvious way. My

Re: [Zope] exUserFolder will not redirect to login page

2005-12-02 Thread Gaute Amundsen
On Friday 02 December 2005 14:46, Andrew Milton wrote: +---[ Gaute Amundsen ]-- snip | Sorry about that. | Thought I had checked that, but I must have mixed it up with | MysqlUserFolder, which setup alerted me to this whole mess. | | Will try an upgrade, but since

[Zope] exUserFolder will not redirect to login page

2005-12-01 Thread Gaute Amundsen
here? I had a peek in ZPublisher/BaseRequest.py, but that only made me more confused.. All confused, and ready to give up now. Any and all explanations, tips, or good ideas appreciated. Regards Gaute Amundsen -- - Gaute Amundsen

Re: [Zope] exUserFolder will not redirect to login page

2005-12-01 Thread Gaute Amundsen
On Friday 02 December 2005 04:31, Andrew Milton wrote: +---[ Gaute Amundsen ]-- | Hi all. | | I have this problem with our zope based CMS system. | No matter what i try I can not make the docLogin page appear when it | should. If I go directly to it, it works fine

Re: [Zope] Determining user from session object - who is logged in?

2005-10-13 Thread Gaute Amundsen
That cleared things up nicely. I will dig into ExuserFolder (which is our standard) a bit more before i decide. Thanks :) Gaute On Thursday 13 October 2005 10:25, Chris McDonough wrote: On Thu, 2005-10-13 at 00:26 +0200, Gaute Amundsen wrote: Well, I know that ther might easily be login

[Zope] Determining user from session object - who is logged in?

2005-10-12 Thread Gaute Amundsen
I thought the place to start wold be: /temp_folder/session_data/ I have built a small little thing to play with the contents of that. External method and script below. However I have not been able to figure out a way to connect these sessions with logged in users. I suppose I could make

Re: [Zope] Determining user from session object - who is logged in?

2005-10-12 Thread Gaute Amundsen
On Wednesday 12 October 2005 22:58, Chris McDonough wrote: On Oct 12, 2005, at 4:50 PM, Gaute Amundsen wrote: On Wednesday 12 October 2005 20:19, Chris McDonough wrote: On Wed, 2005-10-12 at 19:32 +0200, Gaute Amundsen wrote: I thought the place to start wold be: /temp_folder/session_data

[Zope] Webdav and emacs, eldav, nd problem.

2005-05-20 Thread Gaute Amundsen
Hi. We just upgraded to Zope 2.7.5-1.fc3, python 2.3.4, and now I am having problems with authoring Script (Python) (using ssh tunnel: ssh -L 2001:localhost:8081 [EMAIL PROTECTED]) I am using emacs, using eldav, using nd. I have traced the problem to this command issued by eldav in the

Re: [Zope] Running out of sockets

2005-05-18 Thread Gaute Amundsen
On Thursday 12 May 2005 20:45, Dieter Maurer wrote: Gaute Amundsen wrote at 2005-5-12 00:17 +0200: ... Restarting zope has fixed it for now, but ... lsof -a -U -uzope and lsof -uzope | wc -l Shows the number of open sockets steadily growing, and apparently none closing.. You might

[Zope] How to disable anonymous sessions

2005-05-12 Thread Gaute Amundsen
a thousand INFO(0) ZODB conflict error a day, that I suspect are related to this. This should be simple, but I can not spot it :-( Anyone? Gaute Amundsen ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML

[Zope] Running out of sockets

2005-05-11 Thread Gaute Amundsen
Gaute Amundsen ___ 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 )