Like an idiot I blythly ignored all the emails flying back
and forth concerning the problems with 2.1.6 and ZSQL
methods because I was not using 2.1.6 and didn't plan on
upgrading my 2.1.4 until the 2.2 was stable. Hah!!!
Was the issue ever resolved?
I really need for my 2.1.4 ZSQL methods to
On Wed, 12 Jul 2000, ethan mindlace fremen wrote:
Jerome Alet wrote:
Hi want to call ZopeFind to find all folders in the current folder which
doesn't have got any subfolder.
the following query works but returns all folders, even those which have
got subfolders:
dtml-let
You
could always do something like this first:
"select Count(usr_email) from info(table name) where
usr_email = dtml-sqlvar usr_email type=string"
Then
check the result will be either 1 or 0.
Cheers
Peter
-Original Message-From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On
Jerome Alet wrote:
On Wed, 12 Jul 2000, ethan mindlace fremen wrote:
Jerome Alet wrote:
Hi want to call ZopeFind to find all folders in the current folder which
doesn't have got any subfolder.
the following query works but returns all folders, even those which have
got
Hi Jonathan,
Jonathan Desp, 12.07.2000 23:27:03
Hi,
How I can make a regular backup ? How I can restore it ? I cannot log in.
it's 100% corrupted.
Uhm. As far as I practice, I make backups of the filesystem on a regular basis.
If you replace the Data.fs with an older version without the
Sean G Richards wrote:
Dear Zope list,
I want to cat the values of parameters, all strings, in a form to
another parameter in the same form. How would I go about doing this
using dtml?
I tested using this:
dtml-call "REQUEST.set('foo','this is a string')"
dtml-call
On Thu, 13 Jul 2000, Bill Anderson wrote:
Jerome Alet wrote:
Hi want to call ZopeFind to find all folders in the current folder which
doesn't have got any subfolder.
Sorry, I should have added : recursively !!!
I'm confused. You said you only were concerned about the _current_
You could always do something like this first:
"select Count(usr_email) from info(table name) where usr_email =
dtml-sqlvar usr_email type=string"
Then check the result will be either 1 or 0.
That's asking for trouble 'cos Zope ain't gonna like an id such as
'Count(usr_email)', it's a great
ethan mindlace fremen wrote:
You want the ZCatalog Howto:
http://www.zope.org/Documentation/How-To/ZCatalogTutorial
Do catalogs search otehr catalogs they find?
Only asking 'cos I don't think that'll help him search his whole site as
the Squishdot postings won't get searched. But, if the
In my search form, I have a selection box "in_sort_by" whose value can
be "Category", "Field", or "Title". I am trying to make dtml-in sort by
this value. I am using:
dtml-in SQL_search sort="_['in_sort_by']" size=list_size
start=query_start
And I've tried other variations, but I always get
Hallo,
I'd like a user to add content with a form. The website is made with a
framest and content should be added and also the navigation should be updated!
I think that's a smaller problem but I didn't find an explanation.
I'm very happy about every hint!
--
Sent through GMX FreeMail -
Curtis Maloney wrote:
[snip]
Well, here's the details:
/
standard_html_header
register
/internal/
standard_html_header
register works fine if invoked as /register
however, it spits the dummy if invoked as /internal/register
Complaining loudly about TypeError: too many
chris,
catalogs don't automatically search other catalogs they find. until this
is implemented you could create a separate catalog that only catalogs
other catalog instances (and your squishdot instance) and then you could
ask that main catalog to give you all its other catalogs and simply fire
Hi,
Hi, I stuck on a problem: I am creating a registration form. I need
to check if the person info has already in database. I created a Z SQL
method which I used "select usr_email from info(table name) where
usr_email = dtml-sqlvar usr_email type=string" I want to call this
method from
I want to update from Zope 2.1.6 to 2.2.0.
Is there a way to copy my contents to the
new version or do I have to start from the
beginning ?
Thanks
Mario
___
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
** No cross
I have the following problem. I run Zope under RH6.2 with Apache and
SyBase through SyBaseDA.
I have gorren the connection to work so that I can make simple SQL
questions. The problem I have arise when I try to run an
SQL StoreProcedure that lies in SyBase.
At first it didn't wokr att all but
DC folks,
Any plans of making the Collector (bugs/requests etc)
as a downloadable product?
~ V.Satheesh Babu [EMAIL PROTECTED]
. . http://vsbabu.csoft.net/
/V\ - Duct tape is like the force. It has
// \\ a light side, and a dark side, and
/( )\ it holds the universe together
You check out the Tracker, the replacement for the Collector, rom the
CVS...
cheers,
Chris
Satheesh Babu wrote:
DC folks,
Any plans of making the Collector (bugs/requests etc)
as a downloadable product?
~ V.Satheesh Babu [EMAIL PROTECTED]
. . http://vsbabu.csoft.net/
Hi WorldPilot Users,
We just wanted to make a short notice, that we are starting to release
alpha Snapshots of WorldPilot.1.1.0.
It has various new enhancements, like email composer Address Book lookup,
File Archive and others.
The newest enhancement is Palm PDA Sync for Linux :-)
This version
My understanding was that DC decided not to fix it, but instead concentrate
on the 2.2 series. There are some patches floating around in the archives,
but none of them worked 100% for me. I just gave up and am running 2.2b4.
The 2.2 betas has been plenty stable for me. Even with the few
Greetings,
I am a member of the a Linux users group and I have been asked to do a demo on ZOPE
because I am using it and many members are curious. I consider myself a ZOPE newbie,
because use I use ZOPE to access some really simple databases. I have NOT done any
special python programming
Sa wrote:
Hi, I stuck on a problem: I am creating a registration form. I need to check
if the person info has already in database. I created a Z SQL method which I
used "select usr_email from info(table name) where usr_email = dtml-sqlvar
usr_email type=string" I want to call this method
Vanfleteren Francois wrote:
Hello,
I'm working with Zope and PostgreSQL
When i do a query, Zope returns me a variable with a space at the end
Do you know how i can do not to have this space at the end?
dtml-var "_.strip(var_with_space_at_the_end)" should do.
Or dtml-call
Darn. I had slides for a LUG presentation up on one of my former
company's servers, but they seem to have taken the box down. I don't
have it archived anywhere. Maybe somebody made a copy? It was from...
errr... maybe November last year?
CURTIS David wrote:
Greetings,
I am a member of
Hi all,
Keep getting an 'invalid connection string' error when trying to make
a database connection from Zope. Weird thing is that I first moved a
working build to another machine, which resulted in it not working
anymore. Did a clean install of Zope 2.1.6 (Source), MySQL 3.22.32
and all
you can create this yourself:
http://www.zope.org/Members/jens/docs/zope_on_cdrom
jens
on 7/13/00 10:29, CURTIS David at [EMAIL PROTECTED] wrote:
1) Is there a ZOPE
demo for that runs on a CDROM?
___
Zope maillist - [EMAIL PROTECTED]
I was looking at stats today and saw this
503: Temporarily overloaded
Can anyone guess at what this might mean?
Thanks
___
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
Hello,
Im fairly new to the Zope world. Im trying to delete a PTK folder, and get
this error:
Zope Error
Zope has encountered an error while publishing this resource.
Error Type: ValueError
Error Value: Uncatalog of absent id '/icds/Members/bob/index_html'
Hi,
I'm trying to create a navigation bar DTML Method that goes something like this:
dtml-let root="PARENTS[-1]"
dtml-in "root.objectValues('Folder')"
.
.
.
The problem, as reported in a posting from Jerome Alet last week, is that the
Anonymous user does not have permission to access the
Ok folks if you are like me and not only can't see the light but
can't even find the path to the light try these things:
1. Do the Python tutorial.
2. Read every message from the list archives for the past two
months.
3. Even if you don't want to develop on a beta platform. Install
2.2b4 on
Hi,
I want to try out the BTreeFolder product. I unpacked it an restarted
Zope, but int the Products-management screen it shows up as a broken
product. I use Zope-2.1.4 ...
Below is the Traceback it gives me on a click:
-
BTreeFolder Import Traceback
Traceback
I've developed a couple of simply Python classes which I'm using as base
classes for some ZClasses that I've developed. I now realize that both of
these Python classes could benefit from obtaining behavior from another
class. Will I complete hose myself if I change the class definition of my
Robert Wohlfahrt wrote:
Hi,
I want to try out the BTreeFolder product. I unpacked it an restarted
Zope, but int the Products-management screen it shows up as a broken
product. I use Zope-2.1.4 ...
any ideas?
Been there, done that s. It requires 2.2+. But boy am I looking
forward to
hello all,
beehive is pleased to announce the release of:
http://www.zope-treasures.com
search by keyword or category for DTML Code,
Products, External Methods and Zope Products.
additionally you can:
- rate
- comment
- add and view additional documentation links
- submit your own
Tim Cook wrote:
Ok folks if you are like me and not only can't see the light but
can't even find the path to the light try these things:
1. Do the Python tutorial.
Well, I hardly count as a newbie any more, but I'll just add this:
Learning Python was the single most useful thing that helped
I've previously been a Perl programmer. I did a lot of stuff where I would
have multiple links with different options.
Ex.
a href="/path/script.pl/1234"1234/abr
a href="/path/script.pl/2345"2345/abr
Then, in script.pl, I would pick up the extra info on the other side from
$PATH_INFO.
The
This is a job for __bobo_traverse__ (yes, I know, unlikely name, but
what has now become Zope used to be named Bobo).
Without using __bobo_traverse__, which is defined as a method on the
object which you access via traversal, you can't easily use "extra" URL
elements as parameters to pass to the
On Thu, Jul 13, 2000 at 12:47:56PM -0400, Andres Corrada-Emmanuel wrote:
The problem, as reported in a posting from Jerome Alet last week, is that the
Anonymous
user does not have permission to access the objectValues method. Giving the
navigation
I should correct myself by saying that
Is there some easy way to allow for the storage and display of an
empty/blank date field? It seems that you are unable to enter a blank
value if you defined a property field as storing a date value. I want to
be able to store dates in my object, but the date value is optional.
Any tips
Thanks for responding so quickly.
I'm not sure I understand. The problem here, and the reason I
can't simply
use a form or a session, is that I want to set a series of
links that send
different options to the same method. I guess it's the
equivalent of passing
args to a dtml method
"Christopher J. Kucera" wrote:
Tim Cook wrote:
Ok folks if you are like me and not only can't see the light but
can't even find the path to the light try these things:
1. Do the Python tutorial.
Well, I hardly count as a newbie any more, but I'll just add this:
Learning Python was
On Thu, 13 Jul 2000, Kelvin Cheong wrote:
I'm puzzled...there isn't any upload at the bottom of the page...but there
has always been an upload at the top of the page in the Zope content
management interface (along with "Contents", "Edit", "View",
"Properties"...etc).
Was the LocalFS upload
How can I get the content of TITULO_CIDADE out of my tags dtml-in
/dtml-in ??
My code is :
dtml-in "_['sequence-item'].objectValues(['TSimpleItem'])" sort=title
dtml-if "_['sequence-item'].id == CIDADE"
dtml-call
"REQUEST.set('TITULO_CIDADE',_['sequence-item'].title)"
Hi, I still got problems after I changed my code according to your
suggestion. Here is the detail describtion of my code:
In registration form, I have a table which contain a field usr_email
(tr
td width="40%" align="right"Email Addressnbsp; /td
td width="60%"input
On 13 Jul 2000, at 9:49, Chris Withers wrote:
ethan mindlace fremen wrote:
You want the ZCatalog Howto:
http://www.zope.org/Documentation/How-To/ZCatalogTutorial
Do catalogs search otehr catalogs they find?
Only asking 'cos I don't think that'll help him search his whole site as
Kelvin Cheong writes:
Anybody know where I can find out more about LocalFS, I've already read
jfarr's How-to's and Product Information. But I still need more on how it
works.
It helps to pay very careful attention to the help info (in
.../Products/LocalFS/methodHelp.dtml if you're not
"James W. Howe" wrote:
Is there some easy way to allow for the storage and display of an
empty/blank date field? It seems that you are unable to enter a blank
value if you defined a property field as storing a date value. I want to
be able to store dates in my object, but the date value
One of my pet peeves with web servers is that :
mysite.com/Members
is different to :
mysite.com/members
(but there is no difference between MYSITE.COM and mysite.com)
is there any way of making Zope case-insensitive?
- Ian Sparks.
___
Zope
Was the LocalFS upload support released? Earlier versions did not support
upload, but I know the author was working on it.
Yup. Since 0.8.1.
--jfarr
"Perl is worse than Python because people wanted it worse."
Larry Wall, 14 Oct 1998
___
Zope
Title: Newbie: Zope a webserver? Serving PHP and Perl
Hi
Have just installed Zope under Win2K and it works fine - I see a lot of people mention using Apache to server Zope, but isnt Zope a webserver itself? I can browse to http://server:8080/ and view Zope pages, so why would I need Apache?
Lucas,
If you don't know of a reason you would need Apache, you don't need it.
:-)
Zope does not directly handle PHP tags.
-Original Message-
From: Lucas Young (c) [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 13, 2000 6:44 PM
To: '[EMAIL PROTECTED]'
Subject: [Zope] Newbie: Zope a
I have had a similar problem.
My solution is based on an external method.
I have a folder named localFS with
1) a Local File System named images pointing somewhere in file system.
2) an ExternalMethod called addFile looking like this:
def addFile(self, file, fullpath):
outfile = open(fullpath,
Zopatistas:
zope.org will be going down the morning of Friday the 14th during the
transition to zope 2.2. It should be no more than a 15 minute downtime.
In the mean time, if you want to hit http://www.zope.org:666/ to see if
it works, feel free!
--
ethan mindlace fremen
Zopatista Community
what permissions are required for
[un]restrictedTraverse?
I recently added the call to 'restrictedTraverse()'
in a method and I can't get permission to use
it except when I'm logged in as superuser. I need
to be able to let other users use this method. How
do I do that?
Thanks,
Jason
Rob Miller wrote:
Greetings. I'm a fairly experienced Python programmer, but am new to Zope.
I'm working on a Python product, and through this process I'm learning my way
around the Zope innards. I'm running Zope 2.2.0b3 on an RH6.1 box.
By declaring a class member that is an instance of
This thing looks COOL!
--
Do not meddle in the affairs of sysadmins, for they are easy to annoy,
and have the root password.
___
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
Curtis, I 'run' the LiBC --Linux in Boise Club--- and the website(s).
We run Zope. You can show them:
http://www.libc.org
http://theigloo.libc.org
As examples, and I might be able to be talked into converting one or two
of them into CDROM demos...
Though they are both being migrated to 2.2,
Aaron Williamson wrote:
In my search form, I have a selection box "in_sort_by" whose value can
be "Category", "Field", or "Title". I am trying to make dtml-in sort by
this value. I am using:
dtml-in SQL_search sort="_['in_sort_by']" size=list_size
start=query_start
And I've tried
hi, any one knows how to access methods or queries in the parent's
parent's parent's subfolder?
Root
-Folder1
--Sub1
--My_Qry
--Sub2
---otherfolder
How_to_access_My_Qry_from_Sub1
is there dtml-var parent.parent. type
Hi,
I've been working on a Python knowledge base for the last couple of
months.
http://python.faqts.com
Each day I go through postings to the newsgroup and enter those that I
believe would be useful FAQs into the site, then I send out a summary to
the group letting them know what's been
Title: Newbie: Zope a webserver? Serving PHP and Perl
Your second question almost answers the first. You can use
Zope either with or without Apache. One way to handle existing PHP sites is to
put Apache in front of Zope. Then add configuration parameters to Apache to make
it examine the URLs
On Thu, 13 Jul 2000, Stephen Harrison wrote:
Curtis Maloney wrote:
[snip]
Well, here's the details:
/
standard_html_header
register
/internal/
standard_html_header
register works fine if invoked as /register
however, it spits the dummy if invoked as
When Saving changes from a version are the notes entered in the
text box logged anywhere? I can't seem to find them or any
information about them. It would be handy to use them for a
regular CHANGES file.
-- Tim --
___
Zope maillist - [EMAIL
how can I fix this??
the main dtml file has the following
line
dtml-var SomeVar !-- there is a valid namespace SomeVar and this line
prints it out... --
!-- the next line works fine with
Number 5, but not if I
[Fiona Czuczman, on Thu, 13 Jul 2000]
:: Hi,
::
:: I've been working on a Python knowledge base for the last couple of
:: months.
::
:: http://python.faqts.com
Yes, Fiona, thank you. I'm a fan!
:: Recently I've been thinking about incorporating content from this
:: mailing list in a folder
Hi, there,
I'd just like to announce that I've installed Zope 2.2.0b4 via CVS and done
a complete run-through of my site. It seems to work flawlessly now, and
I've gone ahead and installed it on my main port for a trial period. I hope
to launch the site using the final version of 2.2.0 (so
Hi John,
John Gunnar Carlsson wrote:
Help! I downloaded a product and uploaded it to my directory, but I don't
know how to unzip it. I'm using NT. Whenever I load WinZip it will only
let me unzip it to local places on the hard disk but nowhere on the Zope
directory itself.
"Phillip J. Eby" wrote:
Changes checked in. I should be releasing an alpha5 tomorrow.
That's great. Did you get my message about errors in triggered methods?
I realised that I only sent it to the zope-dev list, and not cc-ed to
you.
I had hoped to finish my work on proxy roles, ZClass
Shane Hathaway wrote:
Here's the logic: ExternalMethod sets up func_* attributes so it can
masquerade as a function. The trick works well enough to convince
ZPublisher's mapply() to pass in a "self" argument as the first
argument when needed.
What 'self' does mapply pass? I always though it
Steve Alexander wrote:
Ah... but are you calling the external method from a DTML method? These
are all methods, and therefore you'd expect the "self" object to be the
object the methods are subobjects of.
The exact turn of events is that index_html is a DTML method which shows
a DTML
Steve Alexander wrote:
I want to combine Shane Hathaway's BTreeFolder product with ZPatterns to
create a "BTree folder w/ Customizer support".
snip!
Instead, why not make PlugInContainer a mix-in class, and have concrete
classes for PlugInFolder and PlugInBTreeFolder ?
Then, it is
Hi,
i have a question on uploading an image from my Product.
I have a Product in http://server:8080/somewhere/Product.
In my Product i call:
self._setObject(id, File(id,title,'',content_type,
precondition))
self._getOb(id).manage_upload(file)
Now the image is on
At 02:30 PM 7/13/00 +0100, Steve Alexander wrote:
Steve Alexander wrote:
I want to combine Shane Hathaway's BTreeFolder product with ZPatterns to
create a "BTree folder w/ Customizer support".
snip!
Instead, why not make PlugInContainer a mix-in class, and have concrete
classes for
At 08:50 AM 7/13/00 +0100, Steve Alexander wrote:
"Phillip J. Eby" wrote:
Changes checked in. I should be releasing an alpha5 tomorrow.
That's great. Did you get my message about errors in triggered methods?
Yes, I did, but the solution requires some more thought. I had thought I
had the
Steve Alexander wrote:
Or... I could alter Shane's BTree Folder product to split it into a
mix-in class and a usable folder class. Would that work, I wonder?
I just tried it and discovered some subtle problems with __getattr__.
It could be the result of TransparentFolders, which is also
"Phillip J. Eby" wrote:
That's great. Did you get my message about errors in triggered methods?
Yes, I did, but the solution requires some more thought. I had thought I
had the "Transactional" machinery set up so that stuff was only called
during transaction phases where it was safe to
hello,
ignore my precedent post. too much caffeine, not enough sleep
my problem is solved if I use the class_default_for_X trick...
regards,
[EMAIL PROTECTED]
___
Zope-Dev maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
At 07:11 PM 7/13/00 +0400, Ava wrote:
first generic attribute provider:
fromexpr = '(self.id[0] and sql_get_first(key=id[0]) or [NOT_FOUND])[0]'
attrsexprs = ['first_data=RESULT.data']
second generic attribute provider:
fromexpr = 'self.id[1] and sql_get_first(key=id[1]) or
Here's the details from the CHANGES file:
New Features/Bug Fixes in 0.4.0alpha5
- Property Sheets for DataSkin-based ZClasses. Now you can put define
property sheets on a ZClass and still use AttributeProviders for the
properties. Just add a "DataSkin Property Sheet" to your ZClass
"Phillip J. Eby" a écrit :
Try:
data=(self.which_one and [self.second_data] or [self.first_data])[0]
wow. what a *clever* idea to use [] around self.???_data. I used to
write:
data=self.which_one and self.second_data or self.first_data
but this failed because sometimes self.second_data is a
"Phillip J. Eby" a écrit :
Yes. Name the attributes "class_default_for_X" where X is the attribute
name.
Thanks very much.
This works with the currently release ZPatterns, but alpha5 will go
one better and let you create ZClass property sheets that transparently
implement this. That is,
Pardon the lawnmower man reference, but ZEO and MountedStorage do _not_
work together. I just tried, so this is just an initial report.
What happens, is htat the local ZEO Client wil try to mount the
additional .fs-es on the local system, which will fail.
FYI, Bill
--
Bill Anderson (ARC)
Bill Anderson wrote:
Pardon the lawnmower man reference, but ZEO and MountedStorage do _not_
work together. I just tried, so this is just an initial report.
What happens, is htat the local ZEO Client wil try to mount the
additional .fs-es on the local system, which will fail.
OK, I
Bill Anderson wrote:
I have been thinking, and I think I have got a good idea. So I figured I
woudl toss it out for commentary.
What we need now is a Mountable ZSS Product. This would be kind of a
MountedStorage meets ZEO breed, where you would specify the ZSS
host/port combo, and it could
is there a way to pass namespace in to the page which is within a page?
for example : how can I make this work??? 3 files the top one is the one
that is suppose to be displayed currently
the main dtml file has the following
line
dtml-var
85 matches
Mail list logo