enlightenment here would be greatly appreciated.
Sean
=
Sean Upton
Senior Programmer/Analyst
SignOnSanDiego.com
The San Diego Union-Tribune
619.718.5241
[EMAIL PROTECTED]
=
___
Zope maillist - [EMAIL PROTECTED
. Perhaps
in a few months, I might have something worth showing...
Any thoughts?
Sean
=
Sean Upton
Senior Programmer/Analyst
Web Infrastructure
SignOnSanDiego.com
The San Diego Union-Tribune
619.718.5241
[EMAIL PROTECTED]
=
-Original Message-
Fr
I remember reading somewhere about messaging between Java applets and
JavaScript code in the browser, allowing JavaScript code from a web form to
manipulate the applet output; the example was typing something into a text
box, clicking a button in a form, and having that rendered in some obscure
Couldn't one just use MyODBC and the ODBC DA? What disadvantages (besides
latency from yet another API to go through) are there to this approach?
Sean
___
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
** No cross
You may also want to take a look at HiperDOM as a templating mechanism as
well. I haven't used it, but in looking at the Wiki and the examples, it
looks like it would do what you are looking for, and from all accounts I
have read, this will be the "official" Zope replacement for DTML for
Getting fairly familiarized with namespaces and acquisition is going to be
useful here.
You actually will need to do 2 templates (one for the footer, and one for
the header) in the case of writing a "wrapper." That said, objects in Zope
(like a document, in this case) behave based upon their
What kind of content is it that you are uploading to Zope, and what is your
workflow? As someone working in the news industry with several online
newspapers and also fairly experienced with Zope and content automation, I
might be able to make some suggestions that might help you out.
Zope has
I agree that people should only build what they need. The nice thing about
Zope being open-source is that it evolves well to its communities use cases;
I would argue that Zope-based solutions would adapt to user communities that
are not a bunch of software engineers working for software
. There might be a way around that though, to automate it...
Sean
=
Sean Upton
Senior Programmer/Analyst
SignOnSanDiego.com
The San Diego Union-Tribune
619.718.5241
[EMAIL PROTECTED]
=
-Original Message-
From: Bowyer, Alex [mailto:[EMAIL PROTECTED
Cool. I'll have to take a look at this. Does anyone know if there is any
effort aimed at writing document filters for use with Zope? A lot of
commercial products used for knowledge management (like NextPage
LivePublish, some Intranet search engines, etc) already have features like
this, and I
I really like the idea of extending OFS:File to support different file
types, but what I would like to see is something that is
format/filter/library agnostic. That is to say, that perhaps the way we
ought to go about this is to create an API framework that upon upload
filters the file with a
ct. This only
works for object with a namespace; methods are not acquirable objects, and
though you might call them objects (in a loose sense) they are not objects
in a Zopish sense.
I don't know if my sugestion will work for you, but hopefully it will help.
Sean
=====
Sean Upt
Perhaps I am wrong here, but couldn't one just use indirect variable lookup
within the expression to access the method. There has got to be a way to
use _.getitem for this purpose inside the dtml-in, since by default, it
doesn't automatically render the method, but I'm not sure how one would
(and other legacy CGI apps /
static content as well)...
Much thanks in advance,
Sean
=
Sean Upton
Senior Programmer/Analyst
SignOnSanDiego.com
The San Diego Union-Tribune
619.718.5241
[EMAIL PROTECTED
Hmm. That's been my thought on squid as well, given its ground-up design
for caching in the first place. My worry, though, is that with squid I lose
support for virtual hosts on seperate boxes, because I need to support Zope,
static content, and some legacy stuff running ColdFusion on an NT
I have extensively looked over the documentation, and am in the midst of
compiling for the first time on my PC.
Haven't tried it already, though; my main reason, is that I operate most of
my Linux servers on Sun hardware, and am waiting for the dust to settle on
2.4.0 before I start trying to
Do you have an example of the XML you are trying to use? File size, in
bytes? Just curious, as I have had no problems with XMLDocument (in Zope
2.1.x and 2.2.x) working with newspaper stories from AP online in NITF
XML...
Sean
-Original Message-
From: Bak@kedai [mailto:[EMAIL
Supposedly proximity searches are possible... like "FIDELITY within 8 words
of MUTUAL FUNDS." Can't find anything in docs. Anybody have a suggestion
here...
Thanks,
Sean
=
Sean Upton
Senior Programmer/Analyst
SignOnSanDiego.com
The San Diego Union-Tribune
61
-technical question on a mostly
technical-related list, but I think this is something that needs to be
discussed...
Thanks,
Sean
=
Sean Upton
Senior Programmer/Analyst
SignOnSanDiego.com
The San Diego Union-Tribune
619.718.5241
[EMAIL PROTECTED
Frankly, it is a lot easier to program in python; it is much more forgiving
in a lot of senses. If your developers like the idea of Java because it is
OO, have them consider python's strong abilities, and the fact that they
will be working with a persistent object system / ODB that can make
Write an external method in python that uses regsub.sub or regsub.gsub
functions. This allows you to do regular expression substitutions.
regsub.sub does a replace on the first match only
regsub.gsub does a replace on all matches
Ex:
import regsub
def process_a_string(self):
Perhaps another option (for those with a load-balanced server setup), use an
intel 7170 (not cheap, but cool) load-balaning appliance, and use the
loadbalancer as a router; the 7170 has the abilitiy to set rules for where
it sends the load to based upon expression-matching in the URL. This means
Right, use a python method, with a regular expression, like:
import regsub
def stringchange(self):
"""
Accepts a string passed as self, modifies it
using a regex substitution, and returns modified
This example strips multiple spaces, puts in a single one
Hmmm, as far as the ZCatalog part; I know that at some point it was only
working iwth 7 bit ascii characters, then someone put a patch in so that it
supported Latin-1 (ISO-8859-1) in the vocabularies... I don't know when (or
if) that was ever integrated into the zope core, but I'm sure that if
All,
I want to be able to spell out certain zope.schema.Object fields in my
interfaces as contained while other fields are declared as
associated/related objects. I'm interested in describing this in the
interface itself, and not leave such intrinsic characteristics to the
implementation class.
On Fri, Jun 6, 2008 at 7:24 AM, Fred Drake [EMAIL PROTECTED] wrote:
Still another approach, if you're looking to create software support
and the first isn't suitable, is to use fields that provide additional
interfaces that indicate the nature of the references.
My application (and I suspect
On Fri, Jun 6, 2008 at 7:26 PM, Fred Drake [EMAIL PROTECTED] wrote:
On Fri, Jun 6, 2008 at 8:08 PM, Sean Upton [EMAIL PROTECTED] wrote:
mechanism or implementation details underneath, so I think I'll
continue to use custom field types marked with an IRelationshipField
interface, and assume
On Wed, Jun 18, 2008 at 1:04 AM, Garito [EMAIL PROTECTED] wrote:
Hi!
I'm trying to figure out how to work with a control version software as
subversion or git (I prefer git)
I would like to know how to configure the system and how to work and commit
Can you point me to an url with this
On Wed, Jun 18, 2008 at 2:51 AM, Garito [EMAIL PROTECTED] wrote:
What I would like to know is how I use git to work with my workgroup
Do I use only a centralized zope/plone or I need to install them for every
member of the workgroup?
I'm supposing you are doing python package and Zope2 Product
I've been scratching my head on this one, any help is appreciated:
I've been using a traversal adapter implementing IPublishTraverse with
an application I am developing, and I want to have certain behaviors
of my traversal adapter protected by CMF permissions I'm otherwise
using.
Right now, my
On Wed, Feb 29, 2012 at 7:12 AM, Jürgen Herrmann
juergen.herrm...@xlhost.de wrote:
hi all!
is it possible to change permissions and roles on classes/methods
at runtime? normally you'd attach security declarations inline in
your class definition code:
I don't off-hand know why just
On Wed, Mar 7, 2012 at 3:47 AM, Jürgen Herrmann
juergen.herrm...@xlhost.de wrote:
now i had a use case where i need to mark some templates and methods
as public because they use an internal authentication.
One of the challenges I see is that InitializeClass() removes the
original 'security'
On Mon, Nov 12, 2012 at 5:31 AM, Marcus Schopen li...@localguru.de wrote:
Am Montag, den 12.11.2012, 12:07 + schrieb Richard Harley:
So, to clarify, does this affect plain Zope 2.10, no Plone?
That's still the question to me ;)
Why not try product installation and running your instance
On Wed, May 22, 2013 at 2:17 AM, Richard Harley rich...@scholarpack.com wrote:
Noted, thanks
Oh, and if you have some kind of health-checks polling your instances,
it may make sense (I have no evidence, just a hunch) to add one more
thread to keep that stuff from getting in your way (e.g.
On Tue, Mar 11, 2014 at 3:12 PM, Tres Seaver tsea...@palladion.com wrote:
When I try to visit the mailing list web interface, Firefox is
stopped in its tracks by Secure Connection Failed An error occurred
during a connection to mail.zope.org. The OCSP server has no status
for the certificate.
On Fri, Mar 6, 2015 at 3:56 AM, Sebastian Tänzer s...@taenzer.me wrote:
Chameleon is one of my favourite templating engines around.
I like TAL and Chameleon's subtle improvements on it. I was recently
attending a Python users group meeting presentation on Pyramid. The
presenter, who strongly
My impression is that FileStorage implements a 32-bit id-type-thingy
somewhere (look at ZODB docs, I think there is something about this
somewhere), which limits it (in addition to the Linux kernel ext2 fs limit),
to 2GB. With 7.5 GB, I'd use a more advanced storage like the new - well,
not
Perhaps I was looking at old docs, as the docs had indicated that
filestorage uses 32-bit position pointers; I'm guessing that this has since
changed...
Sean
-Original Message-
From: R. David Murray [mailto:[EMAIL PROTECTED]]
Sent: Friday, June 01, 2001 9:54 AM
To: [EMAIL PROTECTED]
Cc:
/2 is within 2 words)
Also, lexis doesn't count stop-words in proximity
indexes.
Folio/Nextpage: Sean Upton@2
IMHO, the syntax is clean and very brief in the Lexis-Nexis case and should
suppliment a more generic
Sean ... Upton
style search.
Sean
-Original
On a high-traffic site, wouldn't the log get really big, really quickly with
tracebacks? It is also nice to have the tracebacks in the browser window
for debugging...
Why not just enable tracebacks to clients from trusted IP address ranges or
domains... Set this up as an option in Z2.py?
Personally, I think this really should be an integration issue instead of a
Zope issue: use a front-end proxy server (i.e. Squid) and set up ACLs to
prevent this...
Sean
-Original Message-
From: Oliver Bleutgen [mailto:[EMAIL PROTECTED]]
Sent: Monday, September 24, 2001 9:10 AM
To:
Right now I only call index_object() after an edit, as I was assuming that
after adding things would be automatically taken care fo for me, but
obviously this is not the case. There are, indeed, default values in some
properties within the class __init__ method.
I think what is happening is
{snip}
trying-to-auto-generate-a-wsdl-from-my-product'ly yours
Hmm... in the interim, what about using ZPT (+ParsedXML, of course) and a
few python scripts to do this?
Sean
___
Zope-Dev maillist - [EMAIL PROTECTED]
)
KeyError: (see above)
=
Sean Upton
Senior Programmer/Analyst
SignOnSanDiego.com
The San Diego Union-Tribune
619.718.5241
[EMAIL PROTECTED]
=
___
Zope-Dev maillist - [EMAIL PROTECTED]
http://lists.zope.org
of the superclass and
inside a method of the subclass - not entirely graceful, but it works.
Is there a more graceful way to get around this? (I'm using Zope
2.3.3/Python 1.5.2 at the moment).
Sean
=
Sean Upton
Senior Programmer/Analyst
SignOnSanDiego.com
The San Diego
Are you using any virtual hosting setup of any kind? If so, switching from
using a base class of CatalogAware.CatalogAware to
CatalogPathAware.CatalogAware might solve this problem...
Sean
-Original Message-
From: Jean Jordaan [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 03, 2001
I think this could be done well at the application level, above the Catalog
if done right, but one would have to have good synonym translation table
specific to their application.
I do this in an application using a TinyTable with translation information
for abbreviations (i.e. VW printed in a
what do you mean by fuzzy? Do you mean with wildcards, NL, or something
else?
-Original Message-
From: Dirk Datzert [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 06, 2001 1:03 PM
To: [EMAIL PROTECTED]
Subject: [Zope-dev] ZCatalog
Hi,
I'm looking for a howto or a hint for fuzzy
Personally, I am of the opinion that sending a Catalog raw queries is not
very useful for really powerful searching... hopefully this changes in the
future, but for now...
Since catalog doesn't have anything built-in that does this, other than
globbing vocabularies, you have to do this within
Uh, this is brand clarification... Sometimes people (well, people who don't
pay enough attention) don't get that company X is associated with product Y.
Look what happend to Borland when they changed their name to Inprise but
kept the old product names. For those folks who don't pay attention to
I'm going to suggest that this is off-topic for zope-dev, as this is a list
fostering cooperation among developers who do not mind sharing their 'beans'
and who do not hold the delusions of conspiracy theory. If you are not
willing to play by the ad-hoc cooperative social contract of this
if directory-storage combined with ReiserFS might make for an
interesting future ZODB choice for this sort of app.
Sean
=
Sean Upton
Senior Programmer/Analyst
SignOnSanDiego.com
The San Diego Union-Tribune
619.718.5241
[EMAIL PROTECTED
Acrobat uses something called byte-serving, which is a pain to support
sometimes on the server-side, because it essentially amounts to serving
parts of a file up to a given byte offset; when Acrobat acts as an HTTP
client, it requests the PDF file, and once it has enough of the top of the
doc to
Hmm... would this still work with Squid or Apache caching in front of Zope?
I assume that since each browser can accept different transfer-encodings,
this has to be done as close to the browser as possible, otherwise content
sent in one transfer encoding would be sent to every user if it was to
Perhaps synchronization over ZEO as well as XML-RPC? Thoughts?
Sean
-Original Message-
From: Andy McKay [mailto:[EMAIL PROTECTED]]
Sent: Sunday, March 03, 2002 5:04 PM
To: [EMAIL PROTECTED]
Subject: Re: [Zope-dev] Zope 2.6 planning - call for contributors!
I'd like to see the
Is this a suggestion that TF go into the core? One other (major) problem
with TF is that it breaks session tracking site-wide, or at least the
ability to have more than one session id manager per Zope instance in CST;
I'm not sure about sessions in Zope 2.5...
TF seems to have too much
You know, the funny thing is that TF really accomplishes the goals of a
ZMI/UI-improvement hack (unclutter a view of a folder to VISUALLY separate
the software/content/presentation space) implemented, IMHO, in the wrong
place. I would think there is another way that a Folder UI could be
+1 on #2 - definitely useful.
Sean
-Original Message-
From: Jim Washington [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 08, 2002 5:26 AM
To: [EMAIL PROTECTED]
Subject: [Zope-dev] More Zope 2.6 requests
While we are asking, I have two things that I would consider valuable
If the question is begged, why use the catalog: for folders with thousands
of objects, applications like CMF skins can be amazingly slow using
ObjectManager methods and CMF-wrapped equivalents; they also do not provide
sorting. For applications like this, both containment and flexible query
In theory (and as a Debian user), I like the idea of support for as
distro-neutral of a linux distribution as possible; on the other hand,
supporting RedHat 7.2 is a must for Zope accessability to new developers
(since there are a lot of RedHat 7.2 systems out there). Is Python 2.1
under woody
I'm all for putting together a proposal to do this, soliciting comments, and
contributing to the effort. What would be the right venue for that?
On the other hand, AFAIK, the addition of a depth query feature to PathIndex
as it is wouldn't likely break existing indexes. And given that Andy's
For what its worth, a long time ago, with an ancient version of Zope running
on the original W2k Professional on my home machine (minus any service
packs), Zope (running as a service) was magnitudes of order slower after
coming back from a system Hibernate; I no longer hibernate/power-manage
Actually, I believe that NT Workstation ran dynamic web apps better than NT
server. This was because the tuning on NT server out of the box was really
geared toward file-server type applications. I assume the case is the same
with win2k. At that, I don't think is would be noticeable enough,
(currentId, current)
self._CurrentVersion = current
def __getattr__(self, name):
return getattr(self._CurrentVersion, name)
+---
| Sean Upton
| Site Technology Supervisor SignOnSanDiego.com
Hmm... My thought: on Win32, bind the TCP port to the loopback address.
Since Win32 in _most_ cases is not a multi-user system, this would have the
general effect of keeping this from being an issue (unless you ran terminal
services on your Win32 server). This obviously doesn't solve security
I'm not familiar with ExternalFile, but likely plan to use it in the future.
I think a list of expressly permitted directory locations (including all
subdirectories) might be more secure. You can't go wrong with a default
directory for files (perhaps $INSTANCE_HOME/var/files or something?), but
This sounds like the most appropriate solution, as long as you are careful
to make sure that Squid or other forward cache is configured to cache files
that large, it isn't likely going to be by default.
Sean
-Original Message-
From: Casey Duncan [mailto:[EMAIL PROTECTED]]
Sent: Monday,
Out of curiosity, Beyond coding XHTML-based ZPTs with tags in the ESI
namespace, what else is needed in Zope to make this work? Does Zope need to
set an HTTP header for downstream proxies to know that the content of the
page is supposed to be processed for ESI?
Sean
-Original Message-
I hope you all don't mind, but I've moved this to Zope-dev. I would like to
propose that it be possible without modification (default behavior) in a
future version of Zope to import the time module and its methods safely into
TTW Python Scripts.
I haven't used this yet in TTW code (I've had to
The buttons work; you are not clicking with enough pressure. Try again
until your wrist hurts. ;)
I agree, this looks nice. I also wonder about adding total memory usage for
each Zope ZEO client.
Also, this layout could be tweaked to have a more vertical look and likely
work in a PyQT app on
Use ZEO and DBTab and a shared mounted object database that both Zope
instances have access to. Put any objects that need to be accessed by both
Zope servers in that common storage mounted at some folder-level in your
zope setup.
Sean
-Original Message-
From: Tena Sakai [mailto:[EMAIL
Are you mainly concerned about the http headers in the response, or the
response body? If it is just the headers, Squid's log_mime_hdrs feature
will log all HTTP headers from both the request and response for you for
each request. If nothing else, perhaps it's a start...
Sean
-Original
If I remember correctly, though, there was still a lot in question about
legitimate use cases. The web-services cluster-safety use-case I sketched
out here (http://mail.zope.org/pipermail/zope3-dev/2002-October/003112.html)
is still (perhaps) a valid case, but ONLY in a very-carefully constructed
Or SimpleUserFolder: create a user folder class in a Zope product that
subclasses both SimpleUserFolder and OFS.Folder. Then put ZSQL methods and
a few TTW python scripts in the folder contents of an instance of this class
to make it work. I've done something similar to this with relative
There are many possibilities. I would try exUserFolder first (it might work
with just configuration (no code) for your use-case), and if you have needs
more specific, you can develop your own user-folder type (a bit harder, but
not much) using SimpleUserFolder (a generic base class for
, StringType):
spec = [spec]
-mti = self._mt_index
set = None
for meta_type in spec:
ids = mti.get(meta_type, None)
Thanks,
Sean
+--+
Sean Upton
Hacking objectIds() as follows (diff against trunk pasted inline) -
gettting ids off of the meta type index for all used meta types -
seems to make things much quicker. Two questions:
Are you sure this actually works? _mt_index.keys() is
supposed to provide a list of all
[EMAIL PROTECTED] wrote:
I'm pretty sure this works.
Ok, I get it now. I misread it the first time.
This returns the equivalent of running
self.objectIds(spec=self._mt_index.keys()) on the current
trunk/release code, which should be identical to
self._tree.keys(), but much, much
78 matches
Mail list logo