hello,
I have a case where Transactional._unregister is called without
Transactional._register being called, raising an exception in
Transaction._unregister and then in
ZODB.Transaction.Transaction.__del__, causing Zope to dump core when it
is run as a daemon (because python notifies of the
On Tue, 25 Jul 2000 18:07:06 +0200, [EMAIL PROTECTED] wrote:
I want to develop an external program that can store and retrieve
an Object (such as a Person) in the ZoDB
That sounds a bit cruel.
I tried the example that I found in the How to's but it doesn't works
In fact, I have
Hi,
I am using the Z ODBC DA connexion to access an "Access" database via ODBC.
I created a connexion - No problem
An SQL method - No problem
How can I customise the display of the answer of the SQL request ?
Thanks a lot.
Vincent
___
Zope-Dev
On Tue, 25 Jul 2000, [EMAIL PROTECTED] wrote:
Hi,
I want to develop an external program that can store and retrieve
an Object (such as a Person) in the ZoDB
I tried the example that I found in the How to's but it doesn't works
In fact, I have the following message :
[EMAIL PROTECTED] wrote:
Hi,
I wonder where I can find lots of information about the Zpatterns.
It seems wonderfull but a little hard to understand.
I want to know exactly how it works and what it does.
Use the http://www.zope.org search box to look for "ZPatterns".
By now, I know why we get this strange "objectValues__roles__"
result inside ZopeFind.
In "FindSupport:145", "ZopeFind" strips away the acquisition
context of an object.
Thanks Dieter, I've checked in a fix for this.
Brian Lloyd[EMAIL PROTECTED]
Software Engineer 540.371.6909
On Wed, 26 Jul 2000, Steve Alexander wrote:
http://www.zope.org/Members/pje/ZPatterns
Very limited resource in terms of documentation. :(
Oleg.(All opinions are mine and not of my employer)
Oleg Broytmann Foundation for Effective Policies [EMAIL PROTECTED]
Satheesh Babu writes:
I have a URL, say, /sub1/sub2. How do I check in DTML
whether
1. folder sub1 exists or not
2. If not, create it.
3. folder sub2 exists under sub1
4. If not, create it.
It is easy, if you are a bit sloppy.
* Access to "/": "PARENTS[-1]"
* Existence
I made a DTML method which works, but doesn't do it
recursively. I'll try external methods.
Thanks..
dtml-if fname
dtml-try "_.getitem(_['fname'],1)"
dtml-with "_.getitem(_['fname'],1)"
dtml-var title
dtml-unless "meta_type=='Folder'"
Item exists, but not a folder
Dieter Maurer wrote:
* Access to "/": "PARENTS[-1]"
* Existence check: "_.hasattr(object,what)"
NOTE, that this is the sloppy part.
- "_.hasattr" will return true, if "object" has
attribute "what" (that is what we want)
*OR* when it has acquired such an
Hi!
I use the following expression in a header file
which is included in every document/method
to get the content of the actual folder and
show the title as menue item.
dtml-in expr="PARENTS[0].objectValues(['DTML Document'])" sort=title
tr
tda
this is probably a hack but you could use the id of the document you want to
exclude with an unless statement. this is what i did when i wanted to
exclude the index_html doc
dtml-in "PARENTS[0].objectValues(['DTML Document'])" reverse
sort=bobobase_modification_time
dtml-unless
In short: ZCatalog getpath method returns sth. like
'/public/the/path/to/found/object'
It causes the problem when one uses SiteAccess to modify URL paths
(let's say I use Apache mod_proxy to redirect http://my.host/zope to
http://my.host:8080/public and set SiteAccess in public zope dir
I configure 'apache as frontent do zope'. Most things work as expected
but I found serious limitation: if I pass request from apache to zope
via mod_proxy (or mod_rewrite [P]), zope sees all requests as coming
from localhost (I specified http://localhost:8080/ as zope address, in
case I specify
my vote is: +1
Jerome ALET - [EMAIL PROTECTED] - http://cortex.unice.fr/~jerome
Faculte de Medecine de Nice - http://noe.unice.fr - Tel: 04 93 37 76 30
28 Avenue de Valombrose - 06107 NICE Cedex 2 - FRANCE
___
Zope maillist - [EMAIL PROTECTED]
Wolfgang Klinger wrote:
Hi!
I use the following expression in a header file
which is included in every document/method
to get the content of the actual folder and
show the title as menue item.
dtml-in expr="PARENTS[0].objectValues(['DTML Document'])"
I now have it working again.
Steps I took
--
o Use the pcgi directory from 2.1.6
o Put "PCGI_CLOSE_FDS=0" in Zope.pcgi
o rerun w_pcgi.py
This seems to be working, though I haven't rebooted the machine
The real solution is that DC should fix the new pcgi
I would like
On Wed, 26 Jul 2000, Dieter Maurer wrote:
I analysed this strange behavior in Zope 2.1.6
and have a partial explanation.
Hi,
thank you very much for your time, your explanations and your workaround.
I'll test this ASAP and tell you the result.
thanks again.
bye,
Jerome ALET - [EMAIL
On Mon, 24 Jul 2000, Bill Anderson wrote:
In the 2.2betas, and in 2.1.6, I could use ZServer and PCGI, but now, I get
one or the other.
Do you mean that you could use (with earlier Zopes) _BOTH_ ZServer and
PCGI at the same time ? Why ?
And now, you can get up and running one of them; or you
Hello!
ZODB (like any other filesystem-like storage) should has "qouta"
support. But while it is not implemented I'd like to hear your recipe.
On Tue, 25 Jul 2000, Bill Anderson wrote:
Brendon Grunewald wrote:
I want to use Zope to offer registered visitors to my site a little free
From: Dieter Maurer [EMAIL PROTECTED]
Bart Holthuijsen writes:
When I create / edit a document it says: Content changed, then date /
time
and GMT+2.
Why are you unhappy with the timezone? Is it not correct?
Almost surely, Zope will ask the operating system for the
timezone. You may try
Aleksander Salwa wrote:
On Mon, 24 Jul 2000, Bill Anderson wrote:
In the 2.2betas, and in 2.1.6, I could use ZServer and PCGI, but now, I get
one or the other.
Do you mean that you could use (with earlier Zopes) _BOTH_ ZServer and
PCGI at the same time ? Why ?
Several reasons. One,
Oleg Broytmann wrote:
Hello!
ZODB (like any other filesystem-like storage) should has "qouta"
support. But while it is not implemented I'd like to hear your recipe.
I don't beleive ZODB is a 'filesystem-like' storage, as it is an Object Database. The
problem (well, one of them anyway
There is a patch to Apache that you could apply that passes the client IP
along in a different HTTP header, if that helps.
It's at http://modules.apache.org/search?id=124.
On the other hand you could use Squid as the Proxy as it has a config
directive for just this occasion.
HTH
Phil
[EMAIL
Thanks!
On Wed, 26 Jul 2000, Bill Anderson wrote:
Now, what I am doing, is to use the Mountable Database (?) product to mount a given
client's site on. I then calculate storage based upon the size of that particular
Data.fs,
and then:
o let the fs handle the quota for the user
--or--
+1 == agree
+/-0 == no strong opinion
-1 == disagree
+1
(If anyone *does* have an objection, they'd better get in quick before
it's too late!) ;-)
John
--
John Chandler / Software Developer / New Information Paradigms Ltd
[ Linux in the office, AmigaOS in the home,
On Mon, Jul 24, 2000 at 11:56:01PM +0200, Alexander Limi wrote:
I have a small problem. When I use the lines data type in OR statements, I
get an
Error Type: TypeError
Error Value: bad operand type(s) for |
I've used them earlier on integers, like this:
dtml-if "cabinDouble |
Would it make any sense ? Such an application could only run on the server.
Not exactly the idea of a web-enabled application ?! To use it on a client
at least Python and TKinter should be installed on the client. This would
only be feasable in a corporate environment, but then, why still use
Marcin,
Can you post this problem in to the Collector?
http://classic.zope.org:8080/Collector. I think there's a simple fix to
make ZCatalog play nicely with Site Access, and if it's in the
collector, we won't forget about it.
Marcin Kasperski wrote:
In short: ZCatalog getpath method
Vincent,
This may be helpful:
http://www.zope.org/Documentation/Guides/ZSQL-HTML/ZSQL.1.1.4.html
Also, this question is more suited for the main Zope mail list
([EMAIL PROTECTED])... I've moved it there as a result.
Vincent DELHOMMOIS wrote:
Hi,
I am using the Z ODBC DA connexion to
Anvita,
JavaScript is inlined in a DTML method just like it would be inside a
file on a filesystem. Because JavaScript runs on the client, you just
need to make sure that you return it somehow in the response to the
client. There is no "magic" to doing this... as a simple example:
- create a
Hi
I have just been asked to stop banging my head against the wall, as it
is annoying other people in the office, so I turn to you all in the
hope you can help!
I am trying to create a moderated news bulletin board, and have based
the back-end loosely on the Job Board engine, as "Created by
On Wed, 26 Jul 2000, Paul Smith wrote:
I am trying to create a moderated news bulletin board, and have based
the back-end loosely on the Job Board engine, as "Created by mukhsein"
and available as a How to on Zope.org.
Why not use Squishdot?
I know you've looked at it so I'd be interested
"Johan Carlsson" [EMAIL PROTECTED] wrote:
Are there any plans on expanding the framework to include
python embedded strings.
Yes there is, and that's what the development of zzLocale is now
centered on. We are still in an early design stage, so I cannot give you
much information
I'm doing a performance comparance between Zserver and Iplanet servers
packages in next couple of weeks, maybe with Apache and Netscape servers
too. We have building a prototype with four different sripting languages,
including Zope. Goal is to find out wich combination is most effective.
Maybe i
Hi,
I'm currently trying to create a python product.
I've got a class named MyClass, and in the __init__ method I've got the
following code:
self.manage_addFolder(id="data", title="MyClass instance's datas")
self._addRole('admin')
self.manage_permission(permission_to_manage =
- Original Message -
From: "Martijn Pieters" [EMAIL PROTECTED]
On Mon, Jul 24, 2000 at 11:56:01PM +0200, Alexander Limi wrote:
I have a small problem. When I use the lines data type in OR statements,
I
get an
Error Type: TypeError
Error Value: bad operand type(s) for |
I'm retrieving data from an Access database, on windows 98, via an ODBC
connection, and my problem is that it is very very slow: retrieving 1 record
is fast enough, but retrieving 20 records takes 20 seconds, occupies my CPU
completely and has my harddisk running hard.
I've done a little bit of
On Wed, 26 Jul 2000, Jelle Gerbrandy wrote:
I'm retrieving data from an Access database, on windows 98, via an ODBC
connection, and my problem is that it is very very slow: retrieving 1 record
is fast enough, but retrieving 20 records takes 20 seconds, occupies my CPU
completely and has my
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Oleg
Broytmann
Sent: quarta-feira, 26 de julho de 2000 10:12
To: Zope Mailing List
Subject: Re: [Zope] Slow ODBC source
[snip]
Any suggestions?
Using Win98 for database and WWW? No.
I'm trying to rewrite my ZClass as a python product.
In the ZClass I uploaded an applet (e.g. called MyApplet.class) in the
methods management screen, so that another method in the same ZClass could
reference it simply with APPLET CODE="MyApplet.class" (both the method and
the applet always had
Folks -
Anyone have any info or pointers running the Zope Sybase DA Zope 2.2 yet?
I'm looking to get it up and running on suse Linux 6.4 and Zope 2.2 connecting to a
remote Sybase DB.
Love to hear any news on this.
Thanks.
- Steve
| -1 == disagree
You will only ever see votes from people wanting change...
apathy rules
otherwise. Then when it changes you'll see a whole bunch of
bitching about
the change, and how there's 1,000 people on the list and only
20 people
voted... etc. d8) Mailling list votes are
What's the problem? Does it not work?
-Original Message-
From: Stephen Nosal [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 26, 2000 10:00 AM
To: [EMAIL PROTECTED]
Subject: [Zope] Zope Sybase DA Zope 2.2
Folks -
Anyone have any info or pointers running the Zope Sybase DA
Hi Zopers,
apparently, WorldPilot has an error in the getIMAPFolders function, that
do not allow the creation of folders.
The line is the following:
cf.AddChild(IMAPFolder(Folder,TmpFolderFullName[:-1] , padding+Folder))
I have changed it in:
(I've seen other similar posts on the mailing list, but I haven't seen
the answer, so I'll re-phrase the question and hope someone can help.)
I've got an external method that returns a list of record objects:
def getRecords(self):
class record:
pass
r = record()
* I'm reposting this, because the first time I included no subject by
mistake, sorry *
I'm trying to rewrite my ZClass as a python product.
In the ZClass I uploaded an applet (e.g. called MyApplet.class) in the
methods management screen, so that another method in the same ZClass could
reference
Haven't gotten that far yet - I'm looking for 'gotchas' before I start.
I'm already having a tough time with the open client 11.9.2 - apparently it is not
available for download anymore, but still free for development. I'm waiting for Sybase
to get back to me on this one.
- Steve
On Wed, 26
First of all, make sure you don't try to define classes that should be
persistent in an external method... it wont work the way you expect it
to.
Second (untested):
def getRecords(self):
""" """
class record:
__allow_access_to_unprotected_subobjects__ = 1
# this may be
Bill Anderson wrote:
o Use the pcgi directory from 2.1.6
o Put "PCGI_CLOSE_FDS=0" in Zope.pcgi
o rerun w_pcgi.py
This seems to be working, though I haven't rebooted the machine
Hmmm... I was just trying to get 2.2.0 working with PCGI yesterday and
couldn't get it working either.
How do I do this?
I have a table with a field called SerialNumber. I want to test it for null
and return a non-breaking space if it's null.
Here's what I tried:
dtml-if "SerialNumber = null"nbsp;
dtml-elsedtml-var SerialNumber
/dtml-if
Doesn't work (be nice-I'm new). I've tried various
Nick Garcia wrote:
Hmmm... I was just trying to get 2.2.0 working with PCGI yesterday and
couldn't get it working either. These instructions got it up and
running, but now I'm seeing something a bit strange and I was wondering
if you were seeing the same thing. If I go to a page that
I'm getting a steady trickle of private mail, interesting comments
patches, all of which would benefit the community but currently end up
mouldering in my mail archives.
I'm thinking of activating the zwiki mailing list at sourceforge, as a
repository for the above and perhaps a testbed for
Simon Michael wrote:
[snip]
4. could we auto-login with cookies like eg slashdot ? I'm never
logged in when I need to edit a wiki and doing so is quite
disruptive. And, or, make the login page auto-redirect back to where
I came from.
I'd like that, as well. Just make it a persistant
Hi-
I am trying to 'update' my EventFolder product to
Zope 2.2 but a really wierd thing is going on:
When I try to create an instance (an EventFolder, which is
subclassed from Renderable and ObjectManager) I get an
error shown in the traceback below.
There EventFolder_add method in the ZClass
Hy everybody, i have a question?I need to
know if i can change the setting when i create a folder in thezope. Because
i create a folder and automaticly that create a fileindex.php3 with some
data. I want to know if i can change the data orsetting the data that this
index.php3 have into.
joel grimes wrote:
How do I do this?
I have a table with a field called SerialNumber. I want to test it for null
and return a non-breaking space if it's null.
Here's what I tried:
dtml-if "SerialNumber = null"nbsp;
dtml-elsedtml-var SerialNumber
/dtml-if
dtml-var SerialNumber
Correct me if I'm wrong.
If the SerialNumber is taken from a ZSQL method, shouldn't you been able to show it
without testing its content.
Such as:
dtml-var SerialNumbernbsp;
Those rows that have something other than 'null' would be shown together with a nbsp;.
Curious.
- Original
Title: Re: simple dtml-if question
Joel that's really an HTML question.
Use BR in every table field that contains only dtml tags. It isn't required if there is any text in the table field.
Alan Capesius, MCSE
Technical Support Engineer
Sysmex Corporation of America
[EMAIL PROTECTED]
Title: RE: Slow ODBC source
I'm using an Access DB on NT Server without any trouble. It is very fast.
How large is the data you are retrieving? (bytes per record I mean)
My apps are typically running on a MDB with 10,000 records
I've noticed some issues that relate to Access queries. Here
Lionel,
A couple of ground rules first: please dont post HTML to the list or
post messages marked "importance: high" to the list.
Errr.. after reading your question, I've finally come to grips with the
fact that I have no idea what you're asking. Sorry! Please explain
more.
-Original
If the SerialNumber is taken from a ZSQL method, shouldn't you been able to
show it without testing its content.
Such as:
dtml-var SerialNumbernbsp;
Those rows that have something other than 'null' would be shown together
with a nbsp;.
Well, THAT never occurred to me. Somethimes the easiest
Is there an easy way to simulate the functionality of a while loop in DTML?
___
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
Nick Garcia wrote:
Nick Garcia wrote:
Hmmm... I was just trying to get 2.2.0 working with PCGI yesterday and
couldn't get it working either. These instructions got it up and
running, but now I'm seeing something a bit strange and I was wondering
if you were seeing the same thing.
On Mon, 24 Jul 2000, Chris Withers wrote:
I belive that it is returning:
http://my.zope/site/file.html/index_html
I wonder what index_html that is then? :S
From lib/python/OFS/Image.py (which also implements generic file object):
def index_html(self, REQUEST, RESPONSE):
charset="US-ASCII"
Would it make any sense ? Such an application could only run on the server.
Not exactly the idea of a web-enabled application ?! To use it on a client
at least Python and TKinter should be installed on the client. This would
only be feasable in a corporate environment,
Jerome Alet writes:
self.manage_permission(permission_to_manage =
"Access contents information" , roles = [ 'Manager', 'admin' ])
..., but the manage_permission
call gives me the following traceback:
Error Type: AttributeError
Error Value: aq_acquire
Traceback (innermost
Fabio Akita writes:
dtml-with "_['PARENTS[1].' + _['parameter'] + '.folder']"
For "computed attribute access", use "_.getattr".
In your case probably (I am not sure, I understand you expression
correctly):
dtml-with "_.getattr(PARENTS[1],parameter).folder"
Dieter
Try:
dtml-in "_.range(1,10)"
dtml-var sequence-item
/dtml-in
"Leichtman, David J" wrote:
Is there an easy way to simulate the functionality of a while loop in DTML?
___
Zope maillist - [EMAIL PROTECTED]
Folks - I've installed Zope 2.2 (binary rpm) on my Linux box (suse 6.4) and I notice
that many files are owned by uid 506.
I don't have a uid 506 on my box. Should I create a zope user with this id? Should I
ignore it?
- Steve
The reason the files are owned by 506 is an artifact of the way the RPM
was packaged. Either untar and install the source as a "normal" user or
maybe contact the maintainer of the RPM and see if this installation
behavior is intentional (I imagine it is).
-Original Message-
From:
If you're interested in working with Zope in Massachussetts, we're
hiring. Look on the Zope jobs board for more info:
http://www.zope.org/Members/plewis/job_board/index_html
Dan Pierson
Chief Technical Officer
Control.com, Inc.
___
Zope maillist -
How can I compile the C source code of SeachIndex.Splitters in order to generate the
Splitters.pyd file ?
__
BoƮte aux lettres - Caramail - http://www.caramail.com
Use a C compiler
- Original Message -
From: * Lucky [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, July 27, 2000 2:11 AM
Subject: [Zope] Compiling C souce code
How can I compile the C source code of SeachIndex.Splitters in order to
generate the
Splitters.pyd file ?
This is real ugly, but you asked (untested, but you get the idea):
dtml-try
dtml-in "_.range(1000)"
dtml-if whileCondition !-- Your logic test --
!-- Do stuff in while loop --
dtml-else
dtml-raise type="conditionFalse"errormsg/dtml-raise
/dtml-if
/dtml-in
dtml-except
Hi all,
I had a sendmail problem, whenever I send out a mail from zope, it always
contain an empty "To" ,"From" and "Subject", but I was able to get the body
of the mail, anyone got this problem before ??
I'm using Zope 2.1.6 on NT and the mail server is from Lotus, and the form
processor
I made a DTML method which works, but doesn't do it
recursively. I'll try external methods.
Thanks..
dtml-if fname
dtml-try "_.getitem(_['fname'],1)"
dtml-with "_.getitem(_['fname'],1)"
dtml-var title
dtml-unless "meta_type=='Folder'"
Item exists, but not a folder
Dieter Maurer wrote:
* Access to "/": "PARENTS[-1]"
* Existence check: "_.hasattr(object,what)"
NOTE, that this is the sloppy part.
- "_.hasattr" will return true, if "object" has
attribute "what" (that is what we want)
*OR* when it has acquired such an
78 matches
Mail list logo