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 )
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
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
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
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
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
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
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
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
.
--
-- -
Gaute Amundsen Technology today is the campfire
[EMAIL PROTECTED] around which we tell our stories.
There's this attraction to light
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
:)
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
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
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
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
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
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
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
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
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
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
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
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
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
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 )
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
75 matches
Mail list logo