does /usr/Zope-2.2.0a1-src/var/z2.pid exist? if not, touch z2.pid and try
again.
seb.
> Hi All,
> I have installed Zope on a Linux server (Slackware 7.0) apparently
> without problems; but, when I start the server with the command:
> ./start, I have in continuous this message error:
> --
>
newbie time:
I'm trying to write a product AlbumImage which extends Image to include a
thumbnail.
I was determined to slog it out without begging for help, but I've come up
against a very strange brick wall.
I'm getting problems with an import statement at the beginning of my product
from OFS.Pr
in the ZODB? Ek I'm confused.
Seb.
> -Original Message-
> From: Chris Withers [mailto:[EMAIL PROTECTED]]
> Sent: 24 May 2000 21:03
> To: Seb Bacon
> Cc: Zope Users
> Subject: Re: [Zope] Reloading products
>
>
> Seb Bacon wrote:
> >(n.b. is
>
Ladies and gentlemen,
Some time ago I wrote to the list to ask for help on a product reloading
issue. I'm still banging my head against it now, so i'm restating the
problem again in the hope someone can help:
I have a very simple product (and it works!)
Any changes I make don't get reflected in
Hello folks,
I'm just beginning to design my first big Zope application. I'm writing to
ask zopististitiatatas for some advice, since I'm a bit of a newbie and I
want to make sure:
[a] I reuse as much code as possible
[b] I make my code as reusable as possible
[c] my application is stable and
A) your SQL is wrong, you want a VARCHAR not a CHAR there. and i doubt
'NOW' is a valid value for a TIMESTAMP type in your DB. You'll be wanting a
SQL function like Date(), not a string. Probably. Look in your DB docs.
Not that I'm much of a SQL person - someone else will probably correct me.
yup, this is how i work too.
how about adding some javascript to the manage_* methods that reload the
related window (if it's open) whenever the source changes, too? a problem
with this might be ending up with a mass of windows all over your desktop,
which is invariably horrible.
otoh, there'
> I am currently implementing Skinnable objects for Zope
> that'll allow you to
> easily define an alternative version of the management
> interface, and switch
> between these interfaces very easily. You could build your
> own version that
> doesn't use JavaScript at all.
this is fantastic ne
What's the HTML you're using for the upload?
>
> Hi All,
>
> I'ved followed the online How-To on implementing a simple service for
> parsing uploaded files via the browser. But strangely, it
> only works for
> Netscape browsers. When I test the uploading using IE, the
> supposed file
> obj
Yes, this has been on my wish list for some time, but there's no way I'm
going to get round to it right now... Take a look at pilot-link
(http://sourceforge.net/projects/pilot-link) for interfaces to the mail,
todo, etc software on your palm. This will only really deal with
workstation -> palm s
http://www.zope.org/Members/hathawsh/Refresh
is the only way I know of to take away the pain of testing products.
Seb
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of
Nestor A. Diaz L.
Sent: 05 October 2000 01:06
Cc: [EMAIL PROTECTED]
Subject: [Zope] Prod
I've got a ZClass "A" that subclasses another ZClass "B". I can use the
default propertysheets/B/manage method to update B's properties; but how do
I access the properties of A through the management interface?
Many thanks
Seb.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL
Thanks,
I'll rephrase it using my real life problem:
I have a Picture class, which comprises image, title, description, etc.
I also have a ProductItem class, which subclasses Picture to include a
price, etc.
So finally I have got a ProductItem class, which has a title, image, price,
...
I can
Hi,
What I'd really like to do is have inline content-management. I don't know
if I'm completely up the wrong tree, and some advice would be much
appreciated.
My reason:
Correct me if I'm wrong, but the zope security model does not allow me
exclude an authenticated user from knowing that an app
Does Zope security provide a way of restricting what objects are listed to
an authenticated user inside the Zope 'manage' interface? I'm getting my
head all twisted up over this security / proxy roles /local roles lark.
Thanks, seb
___
Zope maillist
> ...
>
> The action method of this form sets the REQUEST variables to the
> property names:
> ...
>
> ...
> (I generally use the same names for form vars and property names
> to avoid confusing myself)
>
> then:
>
>
> Does this help?
> >
>
> Seb Ba
>
> I also tried to name the animGif explicitely animGif.gif instead
> of animGif - guessed what? - same problem!
>
> Any more ideas, please?
>
have you tried doing a diff on the zope and non-zope versions to see if
zzope's somehow mangled it?
seb
__
or your diff. is it
a browser-related issue? have you tried it in IE & netscape? if you want
to send me the gif i'll try it out, when i get some time (tomorrow probably)
seb
> -Original Message-
> From: Lars Heber [mailto:[EMAIL PROTECTED]]
> Sent: 09 October 2
> Hi,
> I am still new to zope and am wondering if there is a tell-a-friend
> script/product/example floating around for me to look at? If not,
> and I made my own form with Zope (which I have not done yet),
> what variable would call the existing page the user was on ?
>
The url of the current
>
I think you mean
seb
___
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
http://lists.zope.org/mailman/listinfo/zope-announce
http://lists.zope.o
>
> try :
>
>
>
> title_or_id>
>
>
>
that should be
(quotes round id)
would also work. This is because sometimes id is a property, sometimes it's
a method. The former version would work in every case; the latter only
where id is a method. It's annoying, but there'
> > This is because the thing which makes
> > the problem hard is that something like standard_html_header
> wants to be
> > editable by Managers TTW, which means it also has to be visible TTW.
> > However, it's probably not something you want exposed to anonymous
> > users, especially a
> Quote all characters not allowed in a
> cookie
wouldn't do the job?
That reminds me, it's silly that there's not ,
so I patched my zope to provide it. I was wondering if there's a mechanism
for getting this kind of simple tweak into the source tree?
seb
__
Hmm, well you certainly can't do it at the browser side.
A well-formed HTTP header should contain a content-length attribute which
you can examine. However, deciding whether to accept the file or not would
I imagine not be possible inside zope since the whole POST operation is
handled by ZServer
if you're submitting from a form, you can coerce strings into other data
types by giving the form items special names, e.g.:
Your REQUEST then has variables called foo and bar which are ints and
floats, respectively.
also, don't post html mail - not everyone can read it.
seb.
-Original
This query started out in a separate thread about permissions, but it's
sufficiently important to me to pose again here.
I've been struggling to make the CMS abilities of zope user-friendly enough
for 'joe average' end-users. Really it's designed for a 'power' content
manager who delegates, secu
oops,
I forgot to foward my last mail on this subject to the list. My response
here to Dieter's response captures contains the main points though...
> > > I think, the implementation would be easy.
> > > Management, however, would be more difficult, as there are no
> > > good defaults for th
Oh dear, I fear that this is going round and round and round in circles a
bit, and that no-one else is following it, but here goes anyway :>
> The "traversable" permission would be an additional requirement
> to view any object. Its main purpose would be to distinguish
> between "use via Web" and
In the Zope PTK there are a couple of products that have been packaged as
product.dats.
What format are these? How do I do it?
Cheers
seb
___
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
** No cross posts or HTML
I needed to do this a while back and a kind fellow sent me some patches to
do just this. Unfortunately my old email is unavailable at the moment, so
I've forgotten who it was.
The syntax was
I'll dig out the patches as send them to you.
seb
> -Original Message-
> From: [EMAIL PROTECT
You could DIY: I bought myself a server (256Mb RAM, 20Gb RAID1, Athlon
Thunderbird 850Mhz) and I'm getting it colocated at one of the best-wired
places in the UK. The bandwidth can be upped on a month-by-month basis.
This way you get full control over everything. My costs:
server ?650 (that's a
A simple question that's been bugging me:
Regarding a "FooDocument/BarMethod": How do I reference the content of
FooDocument inside BarMethod? At the moment, I'm using
which seems to call the __str__ method of FooDocument; or
in both view_1 and tableise, I
get infinite recursion, of course
It sounds like you're thinking about a project management thing.
Depends what you want to do with it, and what your zope setup is, but if
you've got enough control over the zope box you're using, you could consider
worldpilot + imap.
You could customise it to your specific needs, plus have the a
hello all once again,
I've got a DTML method in a product, which calls objectValues('Folder') to
list some folders that are contained within the product itself. When I try
it out inside the product, it works. When I use it as part of the
constructor form, called from an other location, I get an
> Okay, here goes :
>
> I installed the PTK product some time ago, decided that it wasn't where I
> needed to be right now and moved on to something else.
>
> Today I finally decided to delete it from my Products folder. Shortly
> afterwards, I noticed that both my existing FlexFAQ and ZDiscussion
Hi, just some quick pointers (I'm in a hurry...)
refer to http://zdp.zope.org/projects/zqr/ZopeQR for more details
>
>
> What is the correct way to use manage_delObjects?
should work. What you wrote looks for an object with id "the_id". In fact
you want the value of the_id, which i
> )">
seb.
___
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
http://lists.zope.org/mailman/listinfo/zope-announce
http://lists.zope.org/mailman/listinfo/
> I have worked out thanks to Seb's comments that the problem I
> have with the
> use of manage_delObjects is (I think) that I am passing in the title or id
> of the object to be deleted rather than the object itself.
Not quite... manage_delObjects takes a string which is the id of the object
to
This is a bit off-topic, but I wondered if anyone has any opinions on
the matter.
I'm going to use LoginManager for my user folder stuff, and I'm
wondering which type of DB to use to store user information.
Has anyone any advice about this? Here's some of the free choices with
what I know about
> Is there any way you can see what the results are looking like without
> having to vote again?
Don't worry, there's no need actually to count the votes.
Despite the fact that this race went right down to the wire, according to my
complex computer-based prediction models (based on exit polls a
If anyone can shed some light on this it would be a great help to the
newbies out here. Perhaps I could even do a HOWTO, and lighten the load on the list
considerably ;)
I don't have a solution to Alexander's problem quoted below, but it's one I keep
hitting and
one that is frequently asked on
Could I just butt in here and try and clarify what I've understood from
this thread so far? I'm feeling a bit dumb about it but I'd really like
to sort it out.
1) This problem is definitely a programming error
2) It arises when a product has a component which isn't 'registered' as
a zope object,
* Colin Leath <[EMAIL PROTECTED]> [001109 14:00]:
> I'm trying to figure out ways of managing/developing with Zope from a
> unix console, using text editors, text browsers and so on.
I often work from emacs, accessing the ZODB through the Zope FTP Server
on port 8021. The syntax for ange-ftp is
* Stephan Goeldi <[EMAIL PROTECTED]> [001109 16:49]:
>
>
> This is not much!
>
>
> This is ok!
>
>
> This is very much!
>
>
>
> I am sure that there is an error in my thinking of these tags.
yup :)
try
This is not much
This is OK
* Stephan Goeldi <[EMAIL PROTECTED]> [001109 13:30]:
> I just asked the question lately, if it is safe to simply delete a Product
> in the lib/python/Product folder, if it is not deletable via the
> Control_Panel. Some told me that it is no problem. Now I am more unsure to
> delete the stuff.
I'm trying to compare two page titles, using this code:
&dtml-my_title; : &dtml-get_page_title
Now I can see on the page that my_title and get_page_title are the same. I have also
tried comparing _.str(my_title) and _.str(get_page_title) just to make sure I was
comparing str
This is strange: when I type
http://www.foo.com/roles
as an authenticated user, Zope thinks I'm just an Anonymous user. When I type
http://www.foo.com/roles/
It realises I'm authenticated.
I'm using Apache / ProxyPass on Zope 2.2.2. Any ideas?
seb.
_
>
> How can I remove this object from the zodb? How do I find it?
>
> Any idea why SQL_Method even cares about this?
there was a longish thread about this recently (search for something like 'Data.fs
corrupted?!'). the upshot was, i think, that products that haven't been written
carefully ca
When I try to call self._delObject('foo') from my Product, it seems to work, but I get
an error logged:
AttributeError: 'string' object has no attribute 'manage_beforeDelete'
The offending line is in ObjectManager.py:
def _delObject(self, id, dp=1):
object=self._getOb(id)
t
* Aleksander Salwa <[EMAIL PROTECTED]> [001116 09:00]:
> I need to build a web mail product with pop3 back-end.
> There is WorldPilot, but AFAIK it has no pop3 support.
> I'm thinking about taking web inteface/application design from WorldPilot
> and writing code to talk to pop3 server (probably b
* Ben Ocean <[EMAIL PROTECTED]> [001118 09:51]:
> Hi;
> Okay, hope I did this right... Installed Zope in a directory at doc root
> (called zope) and untarred it. Now I have a directory called Zope-2.2.2-src
> with a bunch of stuff in it. What do I do from here? How do I see it working?
> TIA,
>
* Ben Ocean <[EMAIL PROTECTED]> [001118 09:51]:
> Hi;
> Okay, hope I did this right... Installed Zope in a directory at doc root
> (called zope) and untarred it. Now I have a directory called Zope-2.2.2-src
> with a bunch of stuff in it. What do I do from here? How do I see it working?
> TIA,
>
* CURTIS David <[EMAIL PROTECTED]> [001120 16:46]:
> I am looking for information on Image Maps using Zope. I know that you need to use
>a CGI script to get the results that you need. The search engine displays some
>products that seem similar, but not exactly. Is there a better way?
I'd
* Kini Natekar <[EMAIL PROTECTED]> [001121 07:36]:
>Is there a way to include dtml tags with a
> javascript ? If there is please let me know.
if you mean, you want to insert a dtml tag into a document using
javascript, then no. zope's a server-side technology; javascript is
client-side.
se
* [EMAIL PROTECTED] <[EMAIL PROTECTED]> [001121 21:02]:
>
> This was discussed about a month ago. check the archive.
>
> conclusion was that you can do anything with dtml that php does,
> though with perhaps a little bit more indirection.
and you can do _more_ in python than in php
LoginManager displays a login form by calling a page something like
this:
this works fine on one of my boxen but not the other. The bust one
raises the exception but doesn't print the message. Instead it
renders my standard_html_header and standard_html_footer, with th
Hi Johan,
> Does anybody have a good suggestion how to
> develope SQL Method ftfs (through the filesystem)
> rather than ttw.
>
> Perferably in someway similare to the HTMLFile way
try something like this:
from Products.ZSQLMethods.SQL import SQL
import PoPy
def manage_add_user(self,em
* Jason C. Leach <[EMAIL PROTECTED]> [001126 20:46]:
> hi,
>
> So I have LoginManager installed. The easy part. Now I'd like to know how
> to use it. To start with, I'd like to authenticate against a standard
> acl_users folder or a plane text file w/ username/passwords in it.
OK, I've just st
* Paul Winkler <[EMAIL PROTECTED]> [001127 19:54]:
> I want the user to be sent to a particular URL after calling the
> product's manage_add method. How can I do that?
> The URL I want is REQUEST['URL3'].
>
> I've tried RESPONSE.redirect(REQUEST['URL3']) but that's not it - the
> RESPONSE doesn't
* Dieter Maurer <[EMAIL PROTECTED]> [001128 00:12]:
> Bowyer, Alex writes:
> > Can some one explain how the Define Permissions screen works. I really don't
> > understand the concept behind it, what does it mean for a permission setting
> > to own a permission?
> >
> > All I need to do is to
> In a manner of speaking, yes. That is, Apache needs to have correctly
> configured VirtualHost directives to handle the requests from the
> outside world appropriately, and Zope needs to have the SiteAccess
> product installed with correctly configured SiteRoots and access rules.
> It tak
* Bowyer, Alex <[EMAIL PROTECTED]> [001129 22:21]:
> Essentially what we are doing is saying "If you want to View this object,
> you have to have the Manage Properties permission"
>
> There are probably better ways, but if it ain't broke don't fix it.
>
> I don't understand why you have to choo
* Sven B. <[EMAIL PROTECTED]> [001130 10:34]:
> Zope has a function "get_valid_userids()".
> Now my question;
> How is it possible to get something like (username;role;path)?
sven,
refer to the ZQR:
http://zdp.zope.org/projects/zqr/ZopeQR
and look for the section describing the AUTHENTICAT
>
> ServerName www.foobar.com
> RewriteEngine on
> RewriteRule ^/(.*) https://www.foobar.com/
>
of course i actually meant:
ServerName www.foobar.com
RewriteEngine on
RewriteRule ^/(.*) https://www.foobar.com/$1
___
Zope
> > mod_rewrite is your friend. You just make a Rule that redirects
> > anyone accessing your site on port 80 to port 443, something like
> > this:
> >
> >
> > ServerName www.foobar.com
> > RewriteEngine on
> > RewriteRule ^/(.*)https://www.foobar.com/
> >
>
> I don't want to fo
* Riku Voipio <[EMAIL PROTECTED]> [001201 10:46]:
> Besides, the zserver on 2.1.6 seems to have bugs that sometimes let
> the page only 90% through.
I don't know if your 90% problem is the same as the one I've been
having, but I'm scratching my head a lot here:
When I test my site using IE5.5,
Tempting fate by claiming a bug...but although I'm sure I'm at fault
here, there's no sensible reason for the results I'm getting.
When I view one of several different pages with IE5, the last 11 bytes
don't reach the browser. I've got a couple of other people to try it
out. One of them reporte
Firstly, apologies for cross-posting - this should probably move over
to zope-dev henceforth.
Secondly, thanks for the replies. In my small sample, it appears that
3 out of 7 IE browsers got the bug - no other flavours had a problem
at all. They were mostly versions 5 and 5.5. If there was any
> The problem lies in adding an instance of the job board ZClass at which
> point Zope reports an "Invalid Date-Time String".
You might have considered this already, but you're not supplying a
default date in the DateTime field of the form. This can cause problems,
because there's a bug in zop
I'm writing a minimal product for which I'm getting a
Error Type: AttributeError
Error Value: commit_sub
from the transaction machinery. The traceback's no help. The
offending code, however is:
class Foo(SimpleItem)
def __init__(self, id, title, file):
self.file = Image('file
> - class browser for python, with expand/collapse of code (like the editor for
> Python 2)
would
http://www.beopen.com/products/oobrowser/oobrowser_overview.html
be any use?
___
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/li
ralf,
> is it possible to create users "not using" the zope management interface ???
> i would like to log in some user with my own login screen or how can i edit
> the default userauthentification screens from the browser (Netscape/IE/opera) ?
my advice:
in order to accomplish the second task
I've just been experimenting with the RAM Cache manager, and FWIW I thought
I'd share my findings:
I ran some simple tests using ab against a single, dynamic page which has
some display logic both in the filesystem product and dtml. I cached the
index_html using the default RAM Cache Manager set
> > I've just been experimenting with the RAM Cache manager, and FWIW I thought
> > I'd share my findings:
...
> > There was no significant improvement where there were no concurrent
> > requests.
>
> very cool. although i find the lack of improvement on a non concurrent
> requests a bit strang
> anybody tried expiring an object,? say after 300 secs, the cached object
> expires, get invalidated and a new cached object is created when somebody
> requested the page.
> is there any simple way to expire a RAM Cache?
haven't tried this yet.
> also, for those who tried caching. what do you
75 matches
Mail list logo