Re: [Zope] Does anyone care whether we deprecate ZClasses?

2005-04-01 Thread Allen Schmidt
-l for deprecation ...until we build a replacement anyway... Dennis Allison wrote: +1 for deprecation. On Fri, 1 Apr 2005, Jim Fulton wrote: ZClasses are a feature that support through-the-web development. Many people have found them useful in the past, but they have some significant

Re: [Zope] high loads, more threads, spinning wheels

2005-04-25 Thread Allen Schmidt
Which, BTW, is one of the coolest things ever! Still trying to figure out what it all means but it has really helped us to find things that were slowing us down. THANKS THANKS THANKS to Florent!! Allen Florent Guillaume wrote: Tim Middleton zope@zope.org wrote: I'm wondering if someone who

Re: [Zope] Z SQL test in the ZMI aborts on key error

2005-06-07 Thread Allen Schmidt
This bounced around on the list recently. It is supposed to be fixed now but the solution is modifying the source and changing how the batching is done. It works if less than 20 records returned...blows up if more. You can test this by forcing your query to only return a few records. Can't

Re: [Zope] Z SQL test in the ZMI aborts on key error (query keyerror Solution)

2005-06-08 Thread Allen Schmidt
Found it. Edit lib/python/Shared/DC/dtml/customDefaultReport.dtml Replace what is there with the code below (or compare and change) This is from our 2.7.5 install. dtml-in %(id)s size=20 start=query_start dtml-if sequence-start dtml-if previous-sequence a

Re: [Zope] Re: Z SQL test in the ZMI aborts on key error (query keyerror Solution)

2005-06-08 Thread Allen Schmidt
Tres Seaver wrote: Allen, your verstion drops the query on the floor, i.e., it fixes the KeyError, but then makes it impossible to pass the querystring through to the next batch. Well, this corrected the problem and it does handle the next batch. Works for us.

Re: [Zope] New External Editor release 0.9

2005-06-21 Thread Allen Schmidt
Same here. Chris?? Peter Bengtsson wrote: Chris, I had problems with the .exe on a windows machine. When I downloaded it everything got downloaded of the 1.7Mb (or whatever it was exactly) but when I tried doubleclicking it it complained about being corrupt. Has anybody else had similar

Re: [Zope] Character set problems

2005-09-08 Thread Allen Schmidt
What timing. I am going through something similar. Had a zope 2.7.0 instance on RH9..not sure of the python. Had a bunch customer sites in it using VHM. Nothing in front of the zope. (I know) Moved to a new server, RHE4, Zope 2.7.5 on Python 2.3.5 Just moved the Data.fs and moved products

Re: [Zope] Character set problems

2005-09-09 Thread Allen Schmidt
? Cheers Nik On 9/8/05, Allen Schmidt [EMAIL PROTECTED] wrote: What timing. I am going through something similar. Had a zope 2.7.0 instance on RH9..not sure of the python. Had a bunch customer sites in it using VHM. Nothing in front of the zope. (I know) Moved to a new server, RHE4

Re: [Zope] Character set problems

2005-09-10 Thread Allen Schmidt
We figured this out. Apache had AddDefaultCharset UTF-8 set. Changed it to AddDefaultCharset ISO-8859-1. Although Zope renders the page, it still has to pass through Apache on its way down to the client. Thanks for the help! Allen Niklas Saers wrote: Hi Dragos, Note: If your Zope

Re: [Zope] Vservers and ZOPE

2005-09-27 Thread Allen Schmidt
This same hosting thread went on a short time ago but I will throw another big plug for Zettai.net. George and his team have been incredibly helpful and supportive. Lots of great information upon signing up and help is ALWAYS there through a wide variety of communication channels. hth -Allen

[Zope] COREBlog 1.2.1 on Zope 2.7.5 year_created problem

2005-10-17 Thread Allen Schmidt
New COREBlog 1.2.1 install on Zope 2.7.5 on RHE3 Linux. I can add an instance of a blog and create categories and change settings. Adding an entry gives a name error: Traceback (innermost last): * Module ZPublisher.Publish, line 101, in publish * Module ZPublisher.mapply, line 88, in

Re: [Zope] Zope Managed Server

2006-03-11 Thread Allen Schmidt
+1 for Zettai. Have had great success with them. If you need a place to stick a server then I highly recommend bayMountain. Amazing service and support. A great team of open source and Zope experts there. Allen David wrote: J Cameron Cooper wrote: Dan Gaibel wrote: Hello Folks, I'm

Re: [Zope] Re: [Zope-dev] Zope Book call for assistance

2002-12-09 Thread Allen Schmidt
DTML needs to be given the same amount of attention as it always has. For some bizarre reason, DTML makes sense in my headeven complicated logic... Doctor! Do I need help? It's one of the reasons I really liked Zope three years ago when starting with it The tag structure just made sense

Re: [Zope] Parameter generating an exception? (also recataloging issue)

2006-08-16 Thread Allen Schmidt Sr.
I will bounce this out since I tried this recently while testing an upgrade. We are on 2.7.5 and our 200K+ news articles are all ZClass objects and are cataloged. We setup a 2.8.6 instance and made sure all Products, Extension, etc. were the same. Copied our Data.fs and brought up the

Re: [Zope] Parameter generating an exception? (also recataloging issue)

2006-08-16 Thread Allen Schmidt Sr.
if that works. Thanks Allen Dieter Maurer wrote: Allen Schmidt Sr. wrote at 2006-8-16 11:07 -0400: ... I then tried to clear the catalog and find objects of the zclass typeit found nothing. When you clear the catalog, then it is cleared (i.e. empty). You won't find anything thereafter

[Zope] dtml-in sorting bug (collector #1884)

2006-09-01 Thread Allen Schmidt Sr.
r.__cmp__(x,y) requires y to be a 'r', not a 'ImplicitAcquirerWrapper' http://www.zope.org/Collectors/Zope/1884 I see this is a pending case but does anyone have any idea if it will be fixed in future releases? Finally got a 2.8.8 instance running with our Data (from 2.7.5) and was able to

Re: [Zope] insert_id with MySQL an Z SQL Method

2006-09-01 Thread Allen Schmidt Sr.
I have been using this successfully for a while. Don't remember where I found out about it though: insert stuff... dtml-var sql_delimiter select alert_id from entertainment_alerts where alert_id = @@identity Allen Cliff Ford wrote: Search the mailing list archives for July - there were

Re: [Zope] Upgrading Zope

2006-10-18 Thread Allen Schmidt Sr.
If you are using any zClass objects and have them cataloged, then you need to run a script against them to do the reindexing, as I found out that changed at 2.8. Also if you are using DTML and using any sorting within dtml-in segments, you will need to patch a file. Pages that use sorting on

Re: [Zope] Zeo Client hanging

2006-10-18 Thread Allen Schmidt Sr.
I see references to asyncore.py near the end of the thread listing when using DeadLockDebugger and seeing a stuck thread process. The tread eventually clears out but sometimes an impatient user reloads, reloads, reloads...and then all 4 threads are stuck on exact same thing. Then you can see

Re: [Zope] pool_size

2007-01-17 Thread Allen Schmidt Sr.
Used to use the debug a lot but then when we found DeadLockDebugger (DLD), I was hooked...mainly because there is no 'baggage' to loading the page. Debug actually uses one of the threads to show you that page. The content of the thread sorta looks like the whole REQUEST object, which is

Re: [Zope] dtml Z SQL doubt

2007-03-22 Thread Allen Schmidt Sr.
Just use REPLACE instead of INSERT. If REPLACE statement is able to determine a unique value for a row and sees that that unique value exists for a row, the valued will be updated. If it does not exist, a new row will be inserted. This is what I use with MySQL. Allen Tino Wildenhain wrote:

Re: [Zope] SiteErrorLog

2007-07-11 Thread Allen Schmidt Sr.
or ZSQL methods and where they barf in the call. Sounds cool Peter! Thanks Allen Jonathan wrote: - Original Message - From: Peter Bengtsson [EMAIL PROTECTED] To: zope user list zope@zope.org Sent: Wednesday, July 11, 2007 11:16 AM Subject: [Zope] SiteErrorLog I've been playing

Re: [Zope] Re: compile time optimizations for python

2008-01-19 Thread Allen Schmidt Sr.
So would this also apply to older zopes? Like 2.7.5?? Exactly where is that changed and in what increments are safe to increase it by? Thanks Allen Tres Seaver wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Suresh V. wrote: Tres Seaver wrote: -BEGIN PGP SIGNED MESSAGE-

[Zope] 2.10 and ZClasses

2008-02-26 Thread Allen Schmidt Sr.
We are still running 2.7.5 but really want to upgrade. Changes.txt in 2.10.5 state ZClasses are deprecated. CAN they still be used?? Not at all or just not recommended and why? What is the highest version we can safely upgrade to then? Thanks Allen

Re: [Zope] 2.10 and ZClasses

2008-02-26 Thread Allen Schmidt Sr.
Is there anyone out there still using ZClasses on later versions of Zope?? Care to share any experiences? Off-list responses are fine. Thanks! Allen Andreas Jung wrote: --On 26. Februar 2008 07:30:04 -0500 Allen Schmidt Sr. [EMAIL PROTECTED] wrote: We are still running 2.7.5

[Zope] Re: 2.10 and ZClasses

2008-02-26 Thread Allen Schmidt Sr.
, in renderwb Module Products.ZCatalog.Lazy, line 144, in __getitem__ IndexError: list index out of range All the other tabs work. Allen Andreas Jung wrote: --On 26. Februar 2008 12:31:49 -0500 Allen Schmidt Sr. [EMAIL PROTECTED] wrote: I think he just meant that others should keep

Re: [Zope] problem migrating ZClasses from Zope 2.6.1 to Zope 2.9.8

2008-03-26 Thread Allen Schmidt Sr.
That sounds so easy. We have one ZClass but it is the basis of almost our entire newspaper website. The news ZClass was built in 2000 and put into production when we went live on Zope in Feb 2001 (just before the guys at Zope Corp said that ZClasss were bad). Over 7 full years of daily news as

Re: [Zope] problem migrating ZClasses from Zope 2.6.1 to Zope 2.9.8

2008-03-26 Thread Allen Schmidt Sr.
this and this and this, then it will work. I know not that simple, but that is what I am trying to find out. Thanks Allen Jens Vagelpohl wrote: On Mar 26, 2008, at 12:59 , Allen Schmidt Sr. wrote: That sounds so easy. We have one ZClass but it is the basis of almost our entire newspaper website. The news

Re: [Zope] problem migrating ZClasses from Zope 2.6.1 to Zope 2.9.8

2008-03-26 Thread Allen Schmidt Sr.
appreciate the responses and info. I have been contacted offlist by someone who is offering assistance. We'll see where that goes. Thanks again. Allen Andreas Jung wrote: --On 26. März 2008 09:48:11 -0400 Allen Schmidt Sr. [EMAIL PROTECTED] wrote: No idea even where to start. I played

[Zope] ZServer uncaptured python exception

2008-04-01 Thread Allen Schmidt Sr.
Running logtail on a ZEO client, I am seeing lots of these. And our two public clients are pegging the server at 99% almost continuously. Not sure why. 2008-04-01T09:54:09 ERROR(200) ZServer uncaptured python exception, closing channel ZServer.HTTPServer.zhttp_channel connected

Re: [Zope] ZServer uncaptured python exception

2008-04-01 Thread Allen Schmidt Sr.
and spinning. I have Deadlockdebugger and that shows a variety of things. Mostly that all 4 threads are always full. I will keep looking. Allen Jonathan wrote: - Original Message - From: Allen Schmidt Sr. [EMAIL PROTECTED] To: Zope Users zope@zope.org Sent: Tuesday, April 01, 2008 10

Re: [Zope] ZServer uncaptured python exception

2008-04-02 Thread Allen Schmidt Sr.
our zeo clients started pegging 99%. Chris Withers wrote: Allen Schmidt Sr. wrote: Running logtail on a ZEO client, I am seeing lots of these. And our two public clients are pegging the server at 99% almost continuously. Not sure why. 2008-04-01T09:54:09 ERROR(200) ZServer uncaptured python

Re: [Zope] anyone heard of Zamasing?

2008-04-16 Thread Allen Schmidt Sr.
A reason to upgrade our 2.7.5!!! I have been on this list for over 7 years and have never heard of this company. I wonder how many other cool Zope2 things are being done quietly in the shadows. Bring your cool stuff into the light for others to enjoy...and pay for if needed. I for one have no

[Zope] Bug in ZSQL test?

2008-07-10 Thread Allen Schmidt Sr.
I know, I know...too old to worry about... Zope 2.8.9.1 on RedHat and MySQL5 In the Test tab of a ZSQL method, where the query has parameters, when we enter parameters that generate a result of more than 20 rows, we get the link for next 20 results. However, the parameters are not getting

[Zope] Question about Roles

2008-08-05 Thread Allen Schmidt Sr.
Zope 2.8.9.1 I have a user in the root acl_users but no Roles set. Then I go into the folder I want the user to have access in and using Local Roles, I assign Manager. Then on the page I use: dtml-if 'Manager' in _.SecurityGetUser().getRoles() show the update and delete form buttons

Re: [Zope] Question about Roles

2008-08-05 Thread Allen Schmidt Sr.
That worked perfectly. Thanks Matt! Allen Behrens Matt - Grand Rapids wrote: You need to check to see if said user has that role on the object in question. getRoles is only going to show you roles assigned in the User Folder, not local roles. This code is doing a similar thing on my site,

Re: [Zope] Was Problem using nested dtml-in with zsql

2008-11-08 Thread Allen Schmidt Sr.
+1 We love zope on our site and continue to build new things almost daily and all with DTML and ZSQL. Not a single line of ZPT anywhere within our 7gb Data.fs that has been making us all money and employing many folks for almost 8 years now as a newspaper website. AND in the

Re: [Zope] Was Problem using nested dtml-in with zsql

2008-11-08 Thread Allen Schmidt Sr.
that we appreciate the extra work and your skills. :) On Sat, Nov 8, 2008 at 4:01 PM, Allen Schmidt Sr. [EMAIL PROTECTED] wrote: +1 We love zope on our site and continue to build new things almost daily and all with DTML and ZSQL. Not a single line of ZPT anywhere within

Re: [Zope] POSKeyError

2008-12-02 Thread Allen Schmidt Sr.
Is is ok to just run this anytime as a preventive measure? We had a POSkeyerror that would show up now and again but we could never nail it down. Are there any drawbacks to running this on a production server? Thanks -Allen Dieter Maurer wrote: Rupesh P Raj wrote at 2008-12-2 13:46

[Zope] Question about URL lookups

2008-12-29 Thread Allen Schmidt Sr.
Sorry if this is too generic a question but thought I would throw it out. Interested in doing a page that does a ZSQL lookup based URL parts but not like a normal db lookup. I want another way to do: domain.com/LocalSearchFolder/lookup?category=27state=vacity=Fredericksburg More like this:

[Zope] Reconnection session_data to own Session.fs storage

2009-03-05 Thread Allen Schmidt Sr.
Somehow, and not sure how, our session_data objects got deleted. No one admits doing it so no idea what happened. I recreated the objects with the same IDs and even setup the ZODB mount point to point to the right parts. But our SESSION calls won't write the the separate Session.fs storage and

Re: [Zope] Reconnection session_data to own Session.fs storage

2009-03-17 Thread Allen Schmidt Sr.
: Allen Schmidt Sr. wrote at 2009-3-5 10:34 -0500: Somehow, and not sure how, our session_data objects got deleted. No one admits doing it so no idea what happened. I recreated the objects with the same IDs and even setup the ZODB mount point to point to the right parts. But our SESSION calls

Re: [Zope] Compare String to Integer

2009-04-21 Thread Allen Schmidt Sr.
dtml-in getTable OPTION VALUE=dtml-var brand_id dtml-if brand_id==int(pid)SELECTED /dtml-if / dtml-var brand_name /dtml-in getTable That should do it. -Allen Bobby wrote: Hi, I can't compare a string (pid) to an integer (brand_id); what's is wrong with my code below? pid is

[Zope] Cheap Zope hosting

2009-07-31 Thread Allen Schmidt Sr.
Now that HighSpeedRails is closing down at midnight tonight, does anyone have any low-cost suggestions for hosting a handful of low-traffic domains in a single Zope?? Thanks -Allen ___ Zope maillist - Zope@zope.org

Re: [Zope] Reconnection session_data to own Session.fs storage

2009-08-04 Thread Allen Schmidt Sr.
Dieter Maurer wrote: Allen Schmidt Sr. wrote at 2009-3-5 10:34 -0500: Somehow, and not sure how, our session_data objects got deleted. No one admits doing it so no idea what happened. I recreated the objects with the same IDs and even setup the ZODB mount point to point to the right

Re: [Zope] Reconnection session_data to own Session.fs storage

2009-08-05 Thread Allen Schmidt Sr.
Dieter Maurer wrote: Allen Schmidt Sr. wrote at 2009-8-4 13:45 -0400: ... In the ZMI, there are: /session_folder/ ( a regular folder ) session_data ( Transient Object Container ) /session_data_manager ( Session Data Manager ) All the parts seem right but its

Re: [Zope] [Zope-Annce] ZClasses resurrected

2009-10-04 Thread Allen Schmidt Sr.
So...we are on 2.8.10 and our biggest app on our site is a ZClass based news object. How close will this provide functionality to just drop our data.fs into 2.12 and have those zclasses work? This is huge news! Thanks Dieter -Allen Dieter Maurer wrote: The Zope developers have ripped out

Re: [Zope] persistent sessions with ZEO not working

2009-11-13 Thread Allen Schmidt Sr.
What we did was create a Session.fs and added to the zope and zeo conf files. Then after restarting the zopes and zeo, in the ZMI, create a ZODB mount point and it should see the Session.fs and build the parts in the root of the ZMI that you need. Been a long time but I think those are the

Re: [Zope] persistent sessions with ZEO not working

2009-11-13 Thread Allen Schmidt Sr.
to happen imo. Allen Schmidt Sr. wrote: What we did was create a Session.fs and added to the zope and zeo conf files. Then after restarting the zopes and zeo, in the ZMI, create a ZODB mount point and it should see the Session.fs and build the parts in the root of the ZMI that you need. Been

Re: [Zope] zope changes : dtml-var

2010-02-15 Thread Allen Schmidt Sr.
...but why wouldn't the dtml version also work as he has it below? I have hundreds of form uses just like thatand we have never used the entity syntax. -Allen On 2/15/2010 5:17 PM, Tres Seaver wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Martin Krallinger wrote: Hi, it

Re: [Zope] zope changes : dtml-var

2010-02-16 Thread Allen Schmidt Sr.
Ha. Yup, I missed that. Makes sense now. Just did not look at the whole thing, just the dtml-var part. On 2/16/2010 2:10 AM, Jaroslav Lukesh wrote: I think that problenm is in the name of formfield - it begins with an _ - Original Message - From: Allen Schmidt Sr.aschm

[Zope] Session question

2010-10-04 Thread Allen Schmidt Sr
Zope 2.8.9.1 on Linux with ZEO One admin client on box1 One search client on box1 Three public clients on box2 ZEO server and storage on box3 We have sessioning set up as own storage FS in ZEO. Often, when referencing a session object, we get a key error that the session object does not

[Zope] Removing Zope and Python version info from request header

2013-01-08 Thread Allen Schmidt Sr.
I know I have seen this in the past but can't find any references as to how to do this. Anyone have a quick pointer? ___ Zope maillist - Zope@zope.org https://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists

Re: [Zope-DB] [Zope] Stored Procedures Versus ZSQL Methods

2009-02-18 Thread Allen Schmidt Sr.
as ZSQL methods. Always has been. We do some stuff in straight python on the filesystem and some external methods but the vast majority is still done the same old way. Currently running on 2.8.9.1 Thanks for the info. Allen Charlie Clark wrote: Am 18.02.2009, 20:24 Uhr, schrieb Allen Schmidt Sr