Re: [Zope] Delete user from acl_users folder

2005-05-13 Thread Andreas Jung
--On Donnerstag, 12. Mai 2005 22:47 Uhr -0700 Allen Huang [EMAIL PROTECTED] wrote: I tried your method before and it didn't work I have a folder called conference and inside it there is acl_users folder and I write all my dtmls in the conference folder (by the way, your are talking about

[Zope] assertion error

2005-05-13 Thread Denis Mishunoff
Hello, Zope community. I use Zope 2.7.3, Python 2.3.4 and Plone 2.0.5 I have a strange behavior of template. It displays OK when accessing via IP address, but when I try to access it via name I get assertion error. Template uses the script that contains assertion: ... if

[Zope] Bad Hostname with Zope 2.8.X on Windows

2005-05-13 Thread Simon ALEXANDRE
Hi all, Im using Zope 2.8.0.b.1 on windows 2000. The problem is quite simple: when I start the zope server the hostname is Localhost then its impossible to connect the server remotely (i.e. by specifying the IP address of the server) I know that in version 2.7 this problem doesnt

Re: [Zope] Bad Hostname with Zope 2.8.X on Windows

2005-05-13 Thread Andreas Jung
--On Freitag, 13. Mai 2005 12:09 Uhr +0200 Simon ALEXANDRE [EMAIL PROTECTED] wrote: Hi all, I'm using Zope 2.8.0.b.1 on windows 2000. The problem is quite simple: when I start the zope server the hostname is 'Localhost' then it's impossible to connect the server remotely (i.e. by specifying

[Zope] Re: Bad Hostname with Zope 2.8.X on Windows

2005-05-13 Thread yuppie
Hi Simon! Simon ALEXANDRE wrote: The problem is quite simple: when I start the zope server the hostname is Localhost then its impossible to connect the server remotely (i.e. by specifying the IP address of the server) I know that in version 2.7 this problem doesnt appear. When I launch zope

Re: [Zope] URL rewriting (VHM and browser Id manager)

2005-05-13 Thread Victor Kolisinski
Thank you Dieter My virtual host mapping string was incorrect. URL rewriting with VHM and BIM now works. Victor --- Dieter Maurer [EMAIL PROTECTED] wrote: Victor Kolisinski wrote at 2005-5-12 07:13 -0700: My zope application needs support for sessions without cookies, so url rewriting

[Zope] com error w/ zope

2005-05-13 Thread Robert Hill
Title: com error w/ zope I've got a content type that allows for Microsoft Word docs as an input for one of the fields. When you view this content, it transforms the doc into html. Right now, we're in the middle of heavy data entry and occassionally the following error will pop up:

Re: [Zope] monitor / icp server

2005-05-13 Thread Sylvain Thénault
On Thursday 12 May à 20:43, Dieter Maurer wrote: Sylvain Thénault wrote at 2005-5-11 18:03 +0200: ... warning: unhandled connect event This is a medusa/asyncore message indicating a bug: no application specific connect method was defined for the asynchronous connect event. so do we agree

[Zope] strftime

2005-05-13 Thread Luiz Fernando B. Ribeiro
Hello, I'm displaying dates retrieved from a MySQL database using: span tal:content=python: news['Date'].strftime('%d/%m/%Y')Date/span In a strange behaviour using strftime is displaying dates with 1 day past, example 10/05/2005 is being show as 09/05/2005. If i change the code to show the date

[Zope] Float object not callable (newbie question)

2005-05-13 Thread Paul Hendrick
hi all, I'm trying to write a simple app which takes a name, bank balance, interest rate and returns the balance once 1 years interest has been added. I'm getting the error that float object is not callable. i can't figure out where i'm going wrong :S my code is below(getDetails,

Re: [Zope] Float object not callable (newbie question)

2005-05-13 Thread Brian Hickey
Hi Paul, - Original Message - From: Paul Hendrick [EMAIL PROTECTED] To: zope@zope.org Sent: Friday, May 13, 2005 4:06 PM Subject: [Zope] Float object not callable (newbie question) hi all, I'm trying to write a simple app which takes a name, bank balance, interest rate and returns

Re: [Zope] Generating and Downloading PDF[Solved]

2005-05-13 Thread Fernando Lujan
Chris Withers wrote: Um? What else is that method returning? I'd suggest you call getrarTCE directly by URL, check you're setting the correct content-type and maybe set a content disposition too... Solved. :) I create a External Method that returns the code. I'm calling the external method

Re: [Zope] Generating and Downloading PDF[Solved]

2005-05-13 Thread Andreas Jung
--On Freitag, 13. Mai 2005 13:43 Uhr -0300 Fernando Lujan [EMAIL PROTECTED] wrote: This was the best solution that I could thought, once reportlab didn't create PDF on the fly, without writing in the filesystem. You could use cStringIO for writing the file in memory but in reality it really

Re: [Zope] URL rewriting (VHM and browser Id manager)

2005-05-13 Thread Victor Kolisinski
Hi Dieter I was wrong again URL is generated with _ZopeId but when request come to ZServer VHM mapping doesnt works correct. Maybe i don't know to make correct mapping BUT today I make simple example: VHM mapping = localhost:8080/test/VirtualHostRoot/ In test folder i have index_html page :

Re: [Zope] assertion error

2005-05-13 Thread Dieter Maurer
Denis Mishunoff wrote at 2005-5-13 11:21 +0300: I use Zope 2.7.3, Python 2.3.4 and Plone 2.0.5 I have a strange behavior of template. It displays OK when accessing via IP address, but when I try to access it via name I get assertion error. Template uses the script that contains assertion:

Re: [Zope] com error w/ zope

2005-05-13 Thread Dieter Maurer
Robert Hill wrote at 2005-5-13 10:27 -0400: I've got a content type that allows for Microsoft Word docs as an input for one of the fields. When you view this content, it transforms the doc into html. Right now, we're in the middle of heavy data entry and occassionally the following error

Re: [Zope] monitor / icp server

2005-05-13 Thread Dieter Maurer
Sylvain Thénault wrote at 2005-5-13 16:43 +0200: ... Sylvain Thénault wrote at 2005-5-11 18:03 +0200: ... warning: unhandled connect event This is a medusa/asyncore message indicating a bug: no application specific connect method was defined for the asynchronous connect event. so do we

Re: [Zope] Re: ZODB caching issue

2005-05-13 Thread Dieter Maurer
David Chandek-Stark wrote at 2005-5-12 15:31 -0400: Dieter Maurer wrote: Symptom: When a new item is added to the RSS feed (b/c a news item was published), my ZPT displays the RSS data inconsistently with each browser refresh -- sometimes the new item appears, sometimes not. A bug in

Re: [Zope] zope vs. memory [was Re: Refcounts, ZODB Cache and memory leaks?]

2005-05-13 Thread Dieter Maurer
Dylan Jay wrote at 2005-5-13 14:01 +1000: Just in case anyone can shed anymore light on zope memory woes, here is where I've got to in my investigation: - Memory grows and mostly doesn't shrink. That's normal behavior. - Its not due to objects that can't be collected by the GC - Its not due to

Re: [Zope] custom_zodb.py and Control_Panel

2005-05-13 Thread Dieter Maurer
Chris Withers wrote at 2005-5-12 20:45 +0100: Jens Vagelpohl wrote: I suppose it could be argued that custom_zodb.py should simply not be read in any longer, or throw big fat warnings. [DM] I agree with you, Jens. [CW] Why wouldn't it still work fine, apart from some minor Control Panel

[Zope] Managing Users with Postgresql.

2005-05-13 Thread Fernando Lujan
Hi, First let me describe my environment. I have a Postgresql database that stores all users, and booleans which describe permissions. The users log on in my application using a WebForm, I run a ZSQL Method and set all permissions in the Session. I manage the security using Session calls,

Re: [Zope] dollars-and-cents display fails

2005-05-13 Thread Greg Fischer
ok, lots of testing, and I have found that this is related to Mysql 5.0.4. I compiled and installed Mysql 5.0.0 and the problem does not exist. I guess means that it started in 5.0.1 or higher. I read through the change logs and saw a couple of items related to float values on 5.0.3 and 5.0.4,

[Zope-dev] Refresh and dumping the cache

2005-05-13 Thread Dylan Jay
When performing a refresh I've read that the cache gets dumped. I've noticed after a refresh the reference counts to objects don't go down. Basically the entire cache seems to be leaked. Is this by design or is it a bug? -- Dylan Jay --- http://www.meetmemap.com - makes giving directions easy

Re: [Zope-dev] Refresh and dumping the cache

2005-05-13 Thread Andreas Jung
--On Freitag, 13. Mai 2005 16:06 Uhr +1000 Dylan Jay [EMAIL PROTECTED] wrote: When performing a refresh I've read that the cache gets dumped. I've noticed after a refresh the reference counts to objects don't go down. Basically the entire cache seems to be leaked. Is this by design or is it a

[Zope-dev] Re: Refresh and dumping the cache

2005-05-13 Thread Dylan Jay
I guess its not critical but its unhelpful due to a) Its nicer to users to upgrade products via refresh rather to bounce the server b) Its a pain when debugging memory leaks as you have to restart the server for any code change. I don't know the refresh code but would I be right in saying that

Re: [Zope-dev] Re: Refresh and dumping the cache

2005-05-13 Thread Andreas Jung
--On Freitag, 13. Mai 2005 18:02 Uhr +1000 Dylan Jay [EMAIL PROTECTED] wrote: I guess its not critical but its unhelpful due to a) Its nicer to users to upgrade products via refresh rather to bounce the server Refresh is a tool thought for development only - but not for upgrading products.

[Zope-dev] Re: DateTime, strftime and TimeError

2005-05-13 Thread Santi Camps
The local machine's default timezone, including applicable Daylight Savings / Summer Time rules, is used if no explicit time zone is given. Tres. Thanks very much for your answer, Tres. Now I've been able to understand what's doing and provide a patch. I've created a new Issue in the

Re: [Zope-dev] Re: Refresh and dumping the cache

2005-05-13 Thread Jens Vagelpohl
On May 13, 2005, at 10:30, Andreas Jung wrote: --On Freitag, 13. Mai 2005 18:02 Uhr +1000 Dylan Jay [EMAIL PROTECTED] wrote: I guess its not critical but its unhelpful due to a) Its nicer to users to upgrade products via refresh rather to bounce the server Refresh is a tool thought for

[Zope-dev] [Interested?] New use for Zope+CMF+Archetypes -- startup time improvements

2005-05-13 Thread Dieter Maurer
Dear Zope developers, we have used Zope+CMF+Archetypes in a new way -- not as a Web Application framework but as a framework for desktop applications that share a large part of their functionality with online applications (implemented with Zope+CMF+Archetypes). A major stumbling block has been

Re: [Zope-dev] Refresh and dumping the cache

2005-05-13 Thread Dieter Maurer
Dylan Jay wrote at 2005-5-13 16:06 +1000: When performing a refresh I've read that the cache gets dumped. I've noticed after a refresh the reference counts to objects don't go down. Basically the entire cache seems to be leaked. A well known bug -- said to be fixed in Zope 2.8 (because there

Re: [Zope-dev] Refresh and dumping the cache

2005-05-13 Thread Dieter Maurer
Andreas Jung wrote at 2005-5-13 08:35 +0200: ... hm...is this a big issue since you should never run a production site in debug mode Why -- when you can afford the extra time needed for up-to-date checks of file system objects. and refresh only works in debug mode? *wink* refresh works as

[Zope-dev] Re: [Interested?] New use for Zope+CMF+Archetypes -- startup time improvements

2005-05-13 Thread Simon Michael
Go Dieter! ___ 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

Re: [Zope-dev] Re: [Interested?] New use for Zope+CMF+Archetypes -- startup time improvements

2005-05-13 Thread Jens Vagelpohl
On May 14, 2005, at 02:10, Simon Michael wrote: Go Dieter! Hey Simon, Dieter isn't looking for a fan club, he is looking for champions in the right places to integrate his work so it benefits a wider audience! ;) jens ___ Zope-Dev maillist -