Hello!
Currently dtml-in does not use locale when sorting the sequence. Before
creating a patch I want to discuss a way dtml-in should handle this. The
problem is that list.sort() does not sort according to koi8-r cyrillic
locale; to make sort locale-aware I need to list.sort(locale.strcoll).
On Tue, 20 Jun 2000, mike wrote:
But how I could ask dtml-in to use locale.strcoll? Should I add another
option to dtml-in? Something like
dtml-in somesequence sort=name use_locale ?
I use dtml-in "ru_sort( somesequence)"
A bit slower but works like hammer.
I want to use all
Hi there,
We've been experiencing some odd interactions between the ZCatalog and
acquisition. Inside the dtml-in catalog .. tags things seem to go
screwy. It's picking up the properties in the root folder instead of
in the subfolder (the context), where the dtml-in catalog .. is used. Why
The product isn't using cStringIO. I didn't even know it
existed until
now ;) I stepped through the code, and in
lib/python/ZODB/Connection.py
in the commit() function, when it gets to the line
dump(state) on line
347 where state is (apparently) all the correct information for my
At 11:54 AM 6/20/00 +0300, Itamar Shtull-Trauring wrote:
"Phillip J. Eby" wrote:
* The missing _objectChanged() message - it was very hard to track down,
because everything appeared to be working right, except for the fact that
it wasn't working. Turns out that _v_status_ (the variable, not
At 08:58 PM 6/19/00 +0800, mike wrote:
http://www.zope.org/Members/RainDog/ZSession/ZSession-0.0.2.tar.gz/view
Comments?
Now that I've had a chance to really look at this (while tracking down one
of the bugs you found), I do have a few comments.
First, nice job... It's a good adaptation use
At 10:25 PM 6/20/00 +0800, mike wrote:
"Phillip J. Eby" wrote:
Huh? Oh, %#()@%... I fixed that in my working copy, but didn't check it
into CVS before building a release .tgz yesterday... Argh. Line 137 of
DataSkins.py *should* read:
if self._v_status_ is not ChangedStatus:
This is going to be hard to debug remotely. Can you help me out?
First try getting ZScheduler 0.0.6 which fixes a problem of non-responsive
Zope, though there the problem was on shut-down not on start-up. Be sure you
have STUPID_LOG_FILE working. Then uncomment some of my debugging statements
"Phillip J. Eby" wrote:
At 08:58 PM 6/19/00 +0800, mike wrote:
http://www.zope.org/Members/RainDog/ZSession/ZSession-0.0.2.tar.gz/view
Comments?
Now that I've had a chance to really look at this (while tracking down one
of the bugs you found), I do have a few comments.
First,
In short:
1. URL = http://www.zope.org/Members/RainDog/ZSession
2. It works.
3. I need more comments/suggestions
Mike
___
Zope-Dev maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML encoding! **
At 10:51 PM 6/20/00 +0800, mike wrote:
"Phillip J. Eby" wrote:
example. Think of someone creating a Session subclass called "Shopping
Cart", with methods for viewing, checking out, adding/deleting items, etc.
Or, if they have many subsystems which want to share the same Session
objects, they
At 05:49 PM 6/20/00 +0300, Itamar Shtull-Trauring wrote:
Huh? Oh, %#()@%... I fixed that in my working copy, but didn't check it
into CVS before building a release .tgz yesterday... Argh. Line 137 of
DataSkins.py *should* read:
Great, it works!
Tell me, were you able to use
I'm trying to find some information about using the SOAP protocol to
communicate with the Zope server. Not having much luck at this point; any
hints or suggestions would be appreciated. Thanks.
David Wilcoxen
Austin, Texas
___
Zope-Dev maillist -
I'm trying to find some information about using the SOAP protocol to
communicate with the Zope server. Not having much luck at
this point; any
hints or suggestions would be appreciated. Thanks.
David Wilcoxen
Austin, Texas
Hi David,
Zope doesn't yet support SOAP, though this is
I recently announced the availability of censemble
communication toolkit and a distributed lock manager
built using it. After reading about ZEO and the
plans to turn the Zope Storage Service into a replicated
service, I thought you might find this work useful.
regards, Mark Hayden
CEnsemble
Hello,
Can anyone tell me about the various Postgresql DA currently available?
I don't know which to take between ZPoPyDA and ZPyGreSQLDA. I installed
both of them, and I can't tell the difference between the two...
This will be for a production server. Is PostgreSQL a good choice?
Actually, I
Using:
Zope2 (cvs)
ZPatterns 0.3.0
LoginManger 0.8.6
When I try to add a LoginManager, I get the following error and traceback.
Any ideas?
sRp
-
Error Type: KeyError
Error Value: _owner
Traceback (innermost last):
File /a4/srp/Zope2/lib/python/ZPublisher/Publish.py, line 222, in
I've just managed to get ZServer running behind Apache with SiteAccess
(thanks for the how-to, anser!)
Now, has anyone managed to configure SSL into a mix like this? Seems to
me I should be able to go through the standard SSL setup for Apache, and
not worry too much more abou the ZServer
I've created a ZClass call HomeDirContainer that inherits from
ObjectManager. In that ZClass I created another ZClass called
HomeDir. The idea being that HomeDirs can only exist in
HomeDirContainers.
So, I add an instance of HomeDirContainer, then go into it and click
"Add" - which is
Well, I figure this out. HomeDir_factory was getting its Use Factory
permission set to (disabled). I think this was becuase
HomeDirContaine didn't automatically have "Add HomeDirs" in its list.
Is this a bug?
^Roman
"RM" == Roman Milner [EMAIL PROTECTED] writes:
RM I've created a
Hi,
I am researching using zope as a framework for a product that I am going
develop and sell. I will develop a python product for zope. The
product will not be open source, so I will only be distributing the byte
code .pyc files, and not the source. However I understand that it is
possible
I don't think there's anything "special" about my ZClass. It's derived from
Catalog Aware and ObjectManager. I believe I reproduced it without the
Catalog Aware and got the same results.
I'm using Andy Dustman's version of the MySQLDA and TinyTable v0.8.2. They
both work just fine
On Tue, 20 Jun 2000, Terry Kerr wrote:
I am researching using zope as a framework for a product that I am going
develop and sell. I will develop a python product for zope. The
product will not be open source, so I will only be distributing the byte
code .pyc files, and not the source.
Terry Kerr wrote
Basically I want to know if anyone else has used zope for a commercial
product b4, and how they did it. Is there anything in particular that I
should know about. Should I just rely on a good software license to
protect my code? Also...are .pyc files as platform
when things happen that I have no understanding of their cause I get a
little scared.
I started up zope this morning, it seemed to open normally.
(I am running zserver and zope on a win98 machine)
However when I went to access the site through the web, the server would
shut down.
I have
Would it be a bad idea to just install another copy of zope in a different
directory? Would that clash somehow?
josh
___
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
josh on wrote:
Would it be a bad idea to just install another copy of zope in a different
directory? Would that clash somehow?
Maybe, but not in any bad way, the worst I can see happenign is that
they try and get the same ports on your machine. Just run up one
instance at a tiem to make sure
Thanks Chris,
As for your error, it looks like something bad happened when zope tried
to write to the log file. Did you do any funny configuration fro your
logging? What version of Zope are you using?
I haven't changed anything to my knowledge.
It did stop working after a crash though.
ZEO 0.2, an alpha version of ZEO, is now publicly
available from the "ZEO page", http://www.zope.org/Products/ZEO/.
ZEO is the clustering code for Zope. This version does *not* contain
the multiplexing code that was holding up the release. Be sure to check
the page for performance numbers
Hi RC,
RC Compaan wrote:
Simple addition seems a bit tricky in zope
dtml-var expr="counter=counter+value" --// Here i tried to
Try dtml-call "REQUEST.set('counter',counter+value)"
HTH
Tino Wildenhain
___
Zope maillist - [EMAIL
On Tue, 20 Jun 2000, Rajil Saraswat wrote:
hi ,
i had sent this message. may be some of you had overlooked it,so here it
is again. please answer to this, as it is very important for me to switch
to zope.
1. Can zope do basic site management. for example missing link checks. say
if we
I have reinstalled zope and zodb, and copied the data.fs across. It was
about two days old. All the changes that I had made were gone. Luckily I
made a backup of my app yesterday by exporting it.
I must have a bad understanding of how this works. I had imagined that
everytime I hit CHANGE,
- Original Message -
From: josh on [EMAIL PROTECTED]
I have reinstalled zope and zodb, and copied the data.fs across. It was
about two days old. All the changes that I had made were gone. Luckily I
made a backup of my app yesterday by exporting it.
I must have a bad understanding
Jonothan Farr writes:
That's a good point. Although, your patch actually does the backslash
replacement regardless of whether the drive specification is present.
How about this:
+drive,rest=os.path.splitdrive(path)
+if drive:
+path = string.replace(rest,
Is there anyway to get around the fact that the remote ip is the server's ip
if you use Apache's ProxyPass directive to pass requests on to Zope?
Roché
___
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
** No cross
Jonothan Farr writes:
That sounds like a mess. LocalDirectory objects are not persistent, they are
created each time they are requested. So you'll have nowhere to put your
PersistentMappings except in the top-level LocalFS object. Trying to make the
LocalDirectories persistent would be
Hi guys,
I know this isn't Zope related but this list is the closest thing I know of.
We are attempting to get DCOracle 1.3.0 working on our IBM AIX 4.2 platform
talking to Oracle 8.1.5 and we are running into a problem. We can get things
to compile into the shared object extension fine but it
If I were running any remotely critical application on
WIN98 I would be scared too.
Because of legacy data issues we run Zope on NT
and that just makes me nervous.
Jim Sanford
- Original Message -
From: josh on [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, June 20, 2000 5:38
I would suggest putting an extra text box on the upload
form for the filename in ZOPE. You could include javascript
to automatically fill in the text box whenever the ZOPE name
in the file box changed.
The javaScript code could use the C:\ or D:\
or whatever pattern at the beginning to
Dear PoPy and zpopyda users,
there has been a lot of discussion lately concerning the GPL issue of PoPy on
zope mailing list, python mailing list and even in the Mixadlive itself.
We have been thinking a lot since there.
On one hand, we are very concerned about using and developing free
How are my fellow Zopers handling Internationalization, especially text.
We have a site that is composed of several hunderd pages. We don't use
classes but we have made heavy use of aquistion though. For example we
have one back button that is aquired thoughout the site etc etc.
Basically if the
Greeting,
Thanks Tino for your reply, but alas I am still not able to achieve what I want.
Perhaps I do not understand what you are teaching.
I am trying to display the date of a document in an HTML document. Here is what I
tried.
Step 1.) CREATE A FILE OBJECT
I used the menu to create a
Chris,
Thanks for the speedy reply. I appreciate it.
The questions I have now is how do you:
1) give users the opportunity to log in... where do you actually do
authentication? is there a url they must point to? should I
be calling any
python functions, or perhaps writing my own
1. Can zope do basic site management. for example missing
link checks. say
if we call an object which doesnt exist. can zope show us
where we have
gone wrong.(without actually checking each and every object manually)
No.
2. I have large number of small html documents(17,000). I
On Tue, Jun 20, 2000 at 07:00:40PM +1000, Terry Kerr wrote:
Basically I want to know if anyone else has used zope for a commercial
product b4, and how they did it. Is there anything in particular that I
should know about. Should I just rely on a good software license to
protect my code?
Is there a way for an object to be notified that it has been modified?
In particular, I want to create Relation objects that relate two arbitrary
Folders. Creating the Relation object with a ZClass is easy (even for a newbie
like me :-) ), but I need to update the relation links if the
Title: Pointers in zope ??? object1 -- object2
Hello,
I am trying to figure out how I can find a way to implement pointers in Zope.
In other words, I would like to be able that the content of an attribute reference another object.
object1 -- object2
and say for instance: object1.aaa :=
On Tue, 20 Jun 2000, NABETH Thierry wrote:
I had also thought that I could store in this field, the url of the object.
From this url, I would then be able to get the object.
(since you can call an kind of method by url-of-the-object/mymethod)
But it didn't work.
For instance
dtml-with
On Tue, 20 Jun 2000, Dan Rusch wrote:
How are my fellow Zopers handling Internationalization, especially text.
Check out the list of mailing lists in the resources section of zope.org.
You'll find a mailing list for ZIP, the Zope Internationalization Project,
complete with archives.
--RDM
Hello,
I have a site that contains the following tag:
dtml-sendmail smtphost="localhost" mailto="zope"
mailfrom="[EMAIL PROTECTED]" subject="SITE.COM EMAIL"
...
/dtml-sendmail
This worked fine when my server was running Zope 2.1.6. After upgrading to
2.1.7, I get the following error:
Error
How about this:
+drive,rest=os.path.splitdrive(path)
+if drive:
+path = string.replace(rest, '\\', '/')
Oops, looks like this doesn't work after all. The Linux version of
splitdrive doesn't actually do the split :-(.
Doh! Looks like we'll need to roll our
What about just storing your meta-data in files in the local file system?
Then
you wouldn't need to modify the LocalFS product at all. Just write a ZClass
that
can read/write you meta-data file format.
Might well be a better approach. I'll think about it. Unfortunately,
it doesn't
How are my fellow Zopers handling Internationalization, especially text.
We have a site that is composed of several hunderd pages. We don't use
classes but we have made heavy use of aquistion though. For example we
have one back button that is aquired thoughout the site etc etc.
Basically if
I have reinstalled zope and zodb, and copied the data.fs across. It was
about two days old. All the changes that I had made were gone. Luckily I
made a backup of my app yesterday by exporting it.
I must have a bad understanding of how this works. I had imagined that
everytime I hit
Hi all,
I am trying to create a zclass instance within a newly added folder.
Here is the sequence of events
1. get name from a form, vendor
2. add a folder with id of vendor
3. within the new folder create a CouponProduct
The following add method (snipped) puts the zclass instance at the same
I have a form that pulls back previous order information from a customer.
This form has a select box for with a list of customers in the database so
that a user can easily select who made the order. Everything in this form
works fine except for the select box. The select box shows the option
Just thought I'd rephrase the question after doing more troubleshooting.
Does anyone have this tag working for them when using Zope 2.1.6???
Thanks again.
-Mark
-Original Message-
From: Shaw, Mark [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 20, 2000 2:39 PM
To: [EMAIL
The error is saying that Zope is seeing
localHost (CAPITAL H) where your snippet
of code reads localhost (small h). Does your
actual code have a typo?
Jim
- Original Message -
From: Shaw, Mark [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, June 20, 2000 1:39 PM
Subject: [Zope]
I am using Zope and mySQL and want to load up text and Images to text or =
blob fields.
How can I upload file content to TEXT (plain text)=20
and BLOB (images: jpg, gif) using DTML?
I can answer only part of your question.
Uploaded files are "ZPublisher.FileUpload" objects which
you
Dan Rusch writes:
We have a site that is composed of several hunderd pages. We don't use
classes but we have made heavy use of aquistion though. For example we
have one back button that is aquired thoughout the site etc etc.
Basically if the functionality (or code) is used in more than
CURTIS David writes:
I have a database file that gets copied via a cron job at night. I would to display
the new the new file date in an htlm document using Zope. What I would like is a tag
that displays the date of a specific file. Is there such a dynamic tag? I am
thinking something
Jeff Sasmor writes:
Is there a (straightforward?) way to dynamically compose function
argument lists? For example, in C, you can write"
f(arg1, arg2, (conditional expression)?(val for TRUE state):(val for FALSE state)).
Others have pointed out, that you can use
"and" and "or" to emulate
ed colmar writes:
I've succesfully gotten the catalog to work (thanks everyone!), but in
doing so, I've created a problem. Squishdot uses this code like this in
order to add an item:
id=self.createId()# make a datestamp id
msg=PromoterPost(id,title)
Rajil Saraswat writes:
On Tue, 20 Jun 2000, Rajil Saraswat wrote:
i had sent this message. may be some of you had overlooked it,so here it
is again. please answer to this, as it is very important for me to switch
to zope.
You seem not to be patient ;-)
1. Can zope do basic site
Jones, David H writes:
I need to include a test of a date in a DTML variable referenced in a sqltest tag in
ZSQL. From reading documentation and testing, it does not appear that the 'date'
data type is supported.
As fas as I know, SQL databases vary greatly in the representation
of times
CURTIS David writes:
I tried to add dtml-var "GuideFile.bobobase_modification_time"
But I do not get an output displayed!!!
"bobobase_modification_time" is a method not an attribute.
You must call it:
dtml-var "GuideFile.bobobase_modification_time()"
You can resolve problems
I have a problem using ZDiscussions -
First up, i'd like to whine a bit.
WHINE-MODE ONWhich product should i use
to add a Discussion component to my site?
Confera? ZDConfera? ZDiscussions? ZUBB? Squishdot?
PTK? Was the Zope 'Portal' deliberately designed to obfuscate the choices
Hi, zopistas
I need to query if one folder has sub-folders in it or not.
The query must be into an dtml-tree tag.
The idea is to make clickeable only "leave" folders.
---
Here's another,
Supose this
dtml-tree bla bla ..
/dtml-tree
I want to manipulate every object
hi all,
Newbie alert blaring
i'm messing around with Boring product, and now wants to do more. i have
problems when i got more than one class in a product. this is what i wanted to
do.
create a guestbook (what else :)) product. GB.py with two classes - GB and
GBitem. i can now load GB
Thanks a lot for your help on this weird one!
Now that I know what to look into, I'll do that.
___
Ron Bickers
Logic Etc, Inc.
[EMAIL PROTECTED]
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Rik
Hoekstra
Sent: Tuesday, June
Hi,
Bob Barter wrote:
Is there a way for an object to be notified that it has been modified?
In particular, I want to create Relation objects that relate two arbitrary
Folders. Creating the Relation object with a ZClass is easy (even for a newbie
like me :-) ), but I need to update the
71 matches
Mail list logo