Hi,
I had the same error with LocalFS on a NT 4.0 server. In my case it was a
security problem. Zope wasn't allowed to access the directory I used. Now I
placed my local files in a directory Zope is allowed to read and everything
is working fine.
Diny
At 18:11 11-10-00 -0400, Patrick Randerson
Ron Bickers writes:
I want to see if an object is the one aqcuired from the root, but I'm
hitting walls.
dtml-var "PARENTS[-1].myObject"
dtml-var "myObject"
dtml-var "PARENTS[-1].myObject is myObject"
This returns the following when in the root folder context:
Marcin Kasperski writes:
I use Zope via Apache proxy, what causes some trouble (all remote IPs
for Zope are equal to 127.0.0.1).
As I finally installed mod_proxy_add_forward, I get original address in
X-Forwarded-For header (REQUEST['HTTP_X_FORWARDED_FOR']).
The question is: can I
This is the snippet
dtml-in "_.range(1,32,1)">
option value="dtml-sequence-item;"
dtml-let item=sequence-item>
dtml-if begin_day>
dtml-if expr="item ==
REQUEST.begin_day"> selected /dtml-if>
dtml-comment>CONVERTIR A INT/dtml-comment>
/dtml-if>
/dtml-let>
>dtml-sequence-item;/option>
Hi,
first, thanks for your advice!
"Manuel Amador (Rudd-O)" schrieb:
dtml-with pub
dtml-let titel="_.string.join(['This is the website of ',
enterpriseName])"
dtml-var standard_html_header
/dtml-let
on your document, WILL work fine.
But I suggest recreating
Dieter Maurer wrote:
At least in Zope 2.2.1, "aq_base" was not exposed
to DTML.
...and I don't think it ever would or should be sicne it strips off all
security context and would probably let you do 'bad things' :-S
cheers,
Chris
Ron Bickers wrote:
dtml-var "PARENTS[-1].myObject == myObject"
So, is there another way in DTML I can see if an object was acquired from
PARENTS[-1] or not? Is there a way to check an objects container out of
context?
Hmmm... try the following as a replacement for the above stuff:
Tony McDonald wrote:
to reply to Andy? In my own reportlab distribution I changed;
import Image
to
from PIL import Image
Well, it sounds right and if it works then it probably is ;-) It
probably depends exactly where you install PIL, though, which I haven't
done yet :-S
cheers,
Chris
Paul Winkler wrote:
Hi,
Has anyone run up against a limitation on the number of
users that can be in
one acl_users folder? Either a hard limit or a practical
limit?
IIRC, zope.org's acl_users has about 11,000 people in it without too
many problems...
Ethan, can you confirm?
cheers,
"Manuel Amador (Rudd-O)" wrote:
dtml-if expr="item == REQUEST.begin_day" selected /dtml-if
Try replacing the above with:
dtml-if expr="item == _.int(REQUEST.begin_day)"
...and stop posting HTML to a non-HTML list!
cheers,
Chris
___
Zope
if you're submitting from a form, you can coerce strings into other data
types by giving the form items special names, e.g.:
input type=text name=foo:int
input type=text name=bar:float
Your REQUEST then has variables called foo and bar which are ints and
floats, respectively.
also, don't post
On Thu, 12 Oct 2000, you wrote:
I've installed zope 2.2.2, and compiled sy_occ.so for SybaseDA against
sybase-common-cantrememberversion.rpm from Sybase. (I assume it's the
latest one). Loading python and importing sy_occ works perfectly.
BUT, I can't create a SybaseDA SQL connection
As I finally installed mod_proxy_add_forward, I get original address in
X-Forwarded-For header (REQUEST['HTTP_X_FORWARDED_FOR']).
The question is: can I do something easy to automatically perform
if(remote_ip = 127.0.0.1 and X-Forwarded-For exists) then
set
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,
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 the "URL
On Wed, 11 Oct 2000 15:41:16 -0700 (PDT), knight
[EMAIL PROTECTED] wrote:
infilename = REQUEST.form['attached_file'].filename # Get filename
infile = REQUEST.form['attached_file'] # Get the file descriptor
myheader = infile.read(500)# Read up to 500 bytes
infile.close()
Hi,The following dtml couse error,
dtml-comment
dtml-var "sendMail(from='hello@world')"
/dtml-comment
The workaround is to change "from" to other words.
Iap, Singuan
___
Zope maillist - [EMAIL PROTECTED]
"iap_y2fun.com" wrote:
dtml-comment
dtml-var "sendMail(from='hello@world')"
/dtml-comment
Don't worry... the problems are mainyl caused 'cos dtml-comment
doesn't do what most people would expect it to...
*grinz*
Chris
___
Zope maillist -
Jeune Start-up dans le monde de l'internet recherche développeurs/chefs de
projet Internet / Zope.
Diplômé BAC+2/5 (ingénieur ou universitaire), vous avez une première
expérience (éventuellement un stage significatif) en développement
d'applications avec Zope.
Connaissant bien HTML et HTTP,
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
On Wed, Oct 11, 2000 at 03:54:17PM -0400, Paul Winkler wrote:
For example, take a .gif or .jpeg file and throw away all
but the first (let's say) 1 kb of the file.
If you try to open this truncated file with an image editor
(gimp, photoshop, whatever) you'll have problems. But useful
to reply to Andy? In my own reportlab distribution I changed;
import Image
to
from PIL import Image
Well, it sounds right and if it works then it probably is ;-) It
probably depends exactly where you install PIL, though, which I haven't
done yet :-S
The Photo product and the
Hi!
I know you can restrict permissions on just about every available method,
and I am aware of the current skinnable zope project, which may improve the
situation drastically. But I'm interested to know, how many of you offer
the Zope TTW interface to clients as a content management
Hi all,
I have a number of simple forms that retrieve all occurences of a table
into editable fields in a page. Each input tag is named:
table stuff
dtml-in getList
...
input type="hidden" name="item.fieldname:records:required"
value="dtml-fieldname;"
...
/dtml-in
/table
Note,
-Original Message-
From: Chris Withers [mailto:[EMAIL PROTECTED]]
Dieter Maurer wrote:
At least in Zope 2.2.1, "aq_base" was not exposed
to DTML.
...and I don't think it ever would or should be sicne it strips off all
security context and would probably let you
Zopists,
I am trying to eliminate the competing writes that are plaguing my app
at the moment.
One way I know of is to make sure that people aren't creating/modifying
objects in the same folder at the same time. This is becuase the parent
object gets modified too. Does anyone have a "object
On Thu, 12 Oct 2000, iap_y2fun.com wrote:
Hi,The following dtml couse error,
dtml-comment
dtml-var "sendMail(from='hello@world')"
/dtml-comment
The workaround is to change "from" to other words.
"from" is a python reserved word.
[EMAIL PROTECTED]
Ron Bickers wrote:
Well... aq_base appears to work just fine in a Python method (not external).
Is that a bad thing?
Probably, although someone from DC would need to comment why...
Hmm... Evan, should that be the case?
cheers,
Chris
___
Zope
At 2:37 pm +0200 12/10/00, Rik Hoekstra wrote:
to reply to Andy? In my own reportlab distribution I changed;
import Image
to
from PIL import Image
Well, it sounds right and if it works then it probably is ;-) It
probably depends exactly where you install PIL, though, which I
Hi all,
is there a way to do a pack to zodb without using the managment screens pack
button?
Maybe a python script we could execute from the file system.
Regards,
Júlio Dinis Silva
_
Get Your Private, Free E-mail from MSN
Martijn Pieters wrote:
This doesn't hold true for JPEG's.
(snip)
Aha, thanks.
I'll have to think of a way to deal with this...
--PW
.paul winkler..
slinkP arts: music, sound, illustration, design, etc.
web page: http://www.slinkp.com
From: Marcin Kasperski [EMAIL PROTECTED]
X-Forwarded-For header (REQUEST['HTTP_X_FORWARDED_FOR']).
Does there exist some sample of such usage? Can such a change be
performed before authorization?
You could do this with an Access Rule in your root folder, containing:
dtml-call
Me again,
To further explain my dilemna, I just noticed that using the in ITEM
loop doesnt
seem to work if the dtml-call statement has an extra parameter. I had
dtml-call "verifyLog(mdate=mdate)"
publish..
dtml-in item
...
...
/dtml-in
Then use as in other working forms:
dtml-call verifyLog
On Thu, 12 Oct 2000, Júlio Dinis Silva wrote:
is there a way to do a pack to zodb without using the managment screens pack
button?
Maybe a python script we could execute from the file system.
Just call the pack over HTTP. I run a cron job to do this.
Oleg.(All opinions are
Thanks to you Paul Jim
Have found some 'Bobo' packages in tar.gz Zope archive. (V:2.2.2)
- DocumentTemplate
- ZPublisher
BUT NO BoboPos directory in the lib/python ; only ZODB.
Is there a mistake in the README.txt or forget in the lib/python directory ?
Need a DB system to try the Trinkets.py
Thanks for the follow-ups on Medusa Monitor.
But as I can see (after using Zope for 1.5 years, now), few people actually
use it. Unless one is really into the guts of Zope itself, the monitor is
pretty useless for debugging. It of course could be made more useful, but
one must implement some
Hi everyone,
I'm having trouble with a ZClass I've created that uses, among others, two
date properties. I'm suddenly having problems creating new instances or
working with existing instances of my ZClass. I can't be sure, but it seems
like the onset of the problems coincided with my upgrade to
Zopsters,
Does anyone know if the Catalog is supposed to do proximity searches,
ie:
"visual basic" would return the phrase.
Thanks,
Jason Spisak
[EMAIL PROTECTED]
___
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**
I would like to run some regular reports based upon
sqlmethods. The input to these are a mixture of normal
values, and some tokenised values.
I tried storing these in tiny tables, but it doesn't seem
that tiny tables allow one to store tokens. If I specify
the value as say, criteria:tokens,
Jens Vagelpohl [EMAIL PROTECTED] writes:
terry,
you forgot the step of actually connecting to the monitor :) there is a very
short howto on using the correct client program to log into the monitor at:
http://www.zope.org/Members/teyc/howtoMonitorClient
and similar info at:
Hi,
I'm using zope 2.2.2 with postgres 7.0.2 and ZPopyDA 0.6.4.
I encountered a problem with dtml-sqltest and capitals in column names.
Well, I simply couldn't get it to work because postgres requires
column-names with "special characters" like capitals to be enclosed
with quotation marks, ie.
Marcin Kasperski writes:
As I finally installed mod_proxy_add_forward, I get original address in
X-Forwarded-For header (REQUEST['HTTP_X_FORWARDED_FOR']).
The question is: can I do something easy to automatically perform
if(remote_ip = 127.0.0.1 and X-Forwarded-For
Chris Withers writes:
Dieter Maurer wrote:
At least in Zope 2.2.1, "aq_base" was not exposed
to DTML.
and I don't think it ever would or should be sicne it strips off all
security context and would probably let you do 'bad things' :-S
I do not think,
an object
It looks to me like you'd need the following in Apache's httpd.conf:
NameVirtualHost 206.131.108.102
VirtualHost 206.131.108.102
ServerName www.isd197.k12.mn.us
ProxyPass / http://206.131.108.103:8080/
ProxyPassReverse /
First, thanks for the help these last several days. I'm glad to report that I
have a useful Zope site up and running that is the envy of the law firm.
Now its time to get a little fancy. Unfortunately, after having read the DTML
Reference, and the Zope Quick Reference, I still haven't been
Just out of curiosity, how often do you update the book (i.e., the version on
the web)? Or, put another way, how long should we consider that catching a typo
or split infinitive will have already been brought to your attention but hadn't
yet made it to the web site?
If you update on a
Geoffrey L. Wright writes:
I think I am finally getting a decent handle on namespace issues in
Zope, and I can now with the dtml-with tag with reasonable efficacy in
simple situations. But I have run into something of a brick wall on
one issue.
What I would like to be able to do is
Mark Twiddy writes:
Im totaling columns returned from a zsql thingy is there an easy way to do
this in dtml.
dtml-in can do that for you.
Look at the dtml-in documentation, section "variables for statistics".
Dieter
___
Zope maillist - [EMAIL
[EMAIL PROTECTED] writes:
I cannot view my site...the version has locked it up with the following
message (I cannot even delete the version- which is not currently open):
Error Type: VersionLockError
Error Value: ("'\\000\\000\\000\\000\\000\\002\\303\\007'",
'h101Latest')
Your
Paul Winkler writes:
Has anyone run up against a limitation on the number of
users that can be in
one acl_users folder? Either a hard limit or a practical
limit?
"UserFolder" uses a dictionary to manage its users.
This implies, if one user object is accessed, the complete
dictionary is
Login Manager or Generic User Folder and Shanes excellent BTreeFolder
provide a solution for a large number of users.
- Original Message -
From: "Dieter Maurer" [EMAIL PROTECTED]
To: "Paul Winkler" [EMAIL PROTECTED]
Cc: "Zope mailing list" [EMAIL PROTECTED]
Sent: Thursday, October 12,
Chris Withers writes:
"Geoffrey L. Wright" wrote:
Where objectName2 is actually an attribute of objectName1.
dtml-with objectName1
dtml-var attribute1
dtml-var attribute2
dtml-var attribute3
dtml-with objectName2
I know that, the stupid log file thingy. But you'll have to write an
independent thread to display the log file (or peek the file manually each
time), or implement some CString stuff to capture the file output (if that
is possible).
It'll be more fun if all this is already done, and the user
knight writes:
Timothy,
Without going into too much detail, you are going to want to set up a
virtual host in apache for the hostname www.isd197.k12.mn.us, and inside
that virtual host you will want to add your ProxyPass lines similar to my
example:
[...]
And just for reference,
Useless for debugging? I find it very useful and sometimes necessarybut
I right all my products in python so maybe it is different for ZClass people.
terry
Hung Jung Lu wrote:
Thanks for the follow-ups on Medusa Monitor.
But as I can see (after using Zope for 1.5 years, now), few
I don't think the monitor gives you any advantage? I have never used a ptyhon prompt
before...I will have to give it a go.
terry
Karl Anderson wrote:
Jens Vagelpohl [EMAIL PROTECTED] writes:
terry,
you forgot the step of actually connecting to the monitor :) there is a very
short
Thanks, I did figure it out and when I go into save/discard
version and discard I was able to get back to normal.
On 12 Oct 2000, at 23:27, Dieter Maurer wrote:
[EMAIL PROTECTED] writes:
I cannot view my site...the version has locked it up with the following
message (I cannot even
I'm beginning to wonder if
content management and system administration should be split out into
separate subsystems. Or if a CMS Tool Kit should be developed.
(workflows,
syndication, etc...).
We (iuveno) are currently preparing a major project to write a full-featured
CMS on base of
I'll stick onto my Zope members page
http://zope.org/Members/philh
Phil
- Original Message -
From: "knight" [EMAIL PROTECTED]
To: "Phil Harris" [EMAIL PROTECTED]
Cc: "knight" [EMAIL PROTECTED]; [EMAIL PROTECTED]; "Michel
Pelletier" [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL
Kindly Zopistas:
Am curious how to go about building an "alternate Property Sheet View" for
custom ZClasses. The default view is great for me and other
developers, but I need to build the something that looks a bit more
customer-friendly.
I spend about 20 minutes looking around the Zope site,
"\"Geoffrey L. Wright\"
Don't I have to do something in my syntax to indicate that I'm looking
for the the value of attribute3 rather than an object with the literal
id "attribute3"?
I'm sure someone will correct me if I'm wrong. But I believe you
want:
dtml-with "_.getitem(attribute3)"
"\"Geoffrey L. Wright\"
Kindly Zopistas:
Am curious how to go about building an "alternate Property Sheet View" for
custom ZClasses. The default view is great for me and other
developers, but I need to build the something that looks a bit more
customer-friendly.
I spend about 20
I created a connection to an Oracle database. Frequently,
the connection breaks and I got a database error in the page that
displays the query result. When I logon as a manager I find that the
connection is closed (by itself, nothing changed in Oracle or Zope),
when I try to open it I get an
I understand from the SessionTracking wiki that this product may use
BerkeleyDB
http://www.zope.org/Wikis/DevSite/Projects/CoreSessionTracking/CurrentStatus
The BerkeleyDB license at http://www.sleepycat.com/licensing.html
indicates that it may only be distributed free of charge with software
This is a good point...
Not to worry, however, because the default configuration of the session
tracking stuff is going to use in-memory storage. Berkeley DB will not need
to be (and won't be) distributed with Zope. The session manager will be
capable of using nonundo databases (like one based
2. I want to store a list of products, and give each one an
arbitrary
number of photos. I can use a Product ZClass, subclassed from
ObjectManager and store Image objects inside it.
Would using the new ZPatterns based EMarket-0.2.0a2 help as a base
system. I would also look at the updated
KevinL wrote:
Michel Pelletier wrote
Dieter Maurer wrote:
3. Jim is working on formal interface support for python and he's
thinking hard about it, we definatly didn't want to think hard about it
and then turn out we came up with a bad answer, the existing API docs
are just that,
From: "Kapil Thangavelu" [EMAIL PROTECTED]
[snip]
Xron has a single dispatcher thread. This thread knows how long to
sleep
for until the next job needs to run.
this model has problems when new jobs (for immeadiate execution) are
entered after the system sleeps. i think it should it
What if you want a small job to be done every 30 seconds?
I generally don't... I'm satisfied with cron granularity, although
others
might not be. Do you have this requirement?
I thought a little about the granularity issue and decided to go with
the most general solution. I have no
I would be happy to turn development of Zope scheduling capabilities
over to someone else, because I currently have no demand for scheduling
capabilities and am not actively working on Xron.
This could take any of the following forms:
1. Transfering Xron to another developer. For historical
[EMAIL PROTECTED] wrote:
In order to make Shane's Symlink product (soft links to objects based on
Symlink product? Where can I find out more? I don't see anything in Shane's
member folder or by searching Zope.org.
I have written a Shortcut product myself. (It was fairly primitive so I
didn't
James Johnson wrote:
2. I want to store a list of products, and give each one an
arbitrary
number of photos. I can use a Product ZClass, subclassed from
ObjectManager and store Image objects inside it.
Would using the new ZPatterns based EMarket-0.2.0a2 help as a base
system. I would also
As another side note, I generally make it into an eBook ready for the
Microsoft Reader.
If anyone's interested let me know.
Phil
[EMAIL PROTECTED]
- Original Message -
From: "knight" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: "Michel Pelletier" [EMAIL PROTECTED]; [EMAIL PROTECTED];
At 06:15 PM 10/12/00 +1100, Itai Tavor wrote:
Hi,
1. I want to set some object attributes every time the object is
changed (for example, to store the name of the user making the
change). I looked at using a Generic Trigger or a SkinScript but I
can't figure how to do it with either one.
With
74 matches
Mail list logo