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 -
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 exist
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: &q
...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
e user, that's not supposed 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 Sessio
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 step
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
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 not
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
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
http://mail.zope.org/mailman/listin
SELECTED
/>
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 being passed in the URL as &pid= , brand_id is an
> integer from a database table. Could someone help me with this so th
I ran the debug to verify the mount point and got this:
>>> folder.__dict__['session_data']
>>>
And in the session_folder object in the root, the session_data objects
shows as a TransientObjectContainer and not a ZODB Mount Point.
Dieter Maurer wrote:
> Al
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 i
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=27&state=va&city=Fredericksburg
More like this:
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 +0530:
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 an
+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
birthp
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, wi
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:
show the update and delete form buttons
For me, with Manager assigned in the root, I can see th
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
pass
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
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
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"
Sent: Tuesda
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 8.7.96.136:56350 at 0xb63d7a6c channel#: 800 requests:4>
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 whe
to do 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 enti
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
ne 584, 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 tha
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 r
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
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-
Ha
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"
Sent: Wednesday, July 11, 2007 11:16 AM
Subject: [Zope] SiteErrorLog
I've been playing with a ne
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:
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 helpful
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 th
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
I have been using this successfully for a while. Don't remember where I
found out about it though:
insert stuff...
select alert_id from entertainment_alerts
where alert_id = @@identity
Allen
Cliff Ford wrote:
Search the mailing list archives for July - there were several
contributions
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 ru
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 there
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
instance
40 matches
Mail list logo