Re: [Zope-dev] batching badly

2001-06-18 Thread Joachim Werner
> That's not the behaviour I'd expect. Can anyone confirm this is a > bug? As LEE Kwan Soo has already said, it is not a bug, but a clever (too clever?) feature that should maybe not be enabled by default. Every second week or so somebody runs into this and thinks it is a bug. To the DC people:

Re: [Zope-dev] symbolic link to another object in the Zope DB

2001-06-14 Thread Joachim Werner
> Has anybody seen a product that lets you make the equivalent of a symbolic > link in unix in the Zope DB? http://www.zope.org/Members/hathawsh/Symlink (VERY experimental ...) Joachim ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.o

Re: [Zope-dev] Does creating REAL over-the-web Python code becomerealistic with Zope 2.4?

2001-06-02 Thread Joachim Werner
Hi! > We see FTP and especially WebDAV as the "best fit" technoligies for the > "content owners"; we spent a good deal of effoert on cleaning up FTP/WebDAV > for yesterday's CMF release, for instance. I think you are misunderstanding what I mean with enabling "power users": With WebDAV and FTP

Re: [Zope-dev] Does creating REAL over-the-web Python code becomerealistic with Zope 2.4?

2001-06-02 Thread Joachim Werner
> > >this distinction so that all components can be edited via the filesystem > > and > > >live in the object database. > > This does worry me. I think I understand at least one motivation (ZEO), > but... > > Well, as long as it doesn't compromise my ability to write Zope python code > using file

Re: [Zope-dev] Does creating REAL over-the-web Python code become realistic with Zope 2.4?

2001-05-31 Thread Joachim Werner
> Do you mean generating Python code from ZClasses? For example making and > editing a Product over the web? Kind of. Probably not full-fledged Products, but ZClass-like Classes that define values for property sheets, include Methods, inherit from certain base classes etc. ... well, maybe I'll en

Re: [Zope-dev] Does creating REAL over-the-web Python code become realistic with Zope 2.4?

2001-05-31 Thread Joachim Werner
> Coincidently, I was just trying to edit a file on the filesystem with an FTP > client going thru Zope/FTP and a LocalFS. It didn't work. The LocalFS > instance didn't look like a directory to FTP so FTP could neither read nor > write to the directory. > > Does that throw a monkey wrench into you

[Zope-dev] Does creating REAL over-the-web Python code become realistic with Zope 2.4?

2001-05-31 Thread Joachim Werner
Hi! When I read about the reload functionality of Zope 2.4, an old vision came back to my mind: If we can reload Python code at runtime, and we can also edit, generate and store files (containing code) via the web (as LocalFS or extFile prove), then it should be perfectly possible to have somet

Re: [Zope-dev] Simple ZClass Stuff

2001-05-27 Thread Joachim Werner
> Error Type: TypeError > Error Value: unsliceable object Have you tried to use the newest Zope version? In 2.3.0 or so there was a bug that gave us the "unsliceable object" error for ZClasses that are based on "Image" or "File" (which should be similar to the DTMLDocument case). Newer versions w

Re: Randomness (RE: [Zope-dev] CoreSessionTracking 0.8)

2001-05-26 Thread Joachim Werner
> > manage="REQUEST.get('manage_content') or > data.get('manage_content')"> > > > > > > > > > This will work for the "manage_content", but I want to make the whole request persistent. E.g., box states, search filters, and sequence-start variables for batc

Re: Randomness (RE: [Zope-dev] CoreSessionTracking 0.8)

2001-05-25 Thread Joachim Werner
> > I know, but that's why the errors are called "random": They are not easy to > > replicate ... > > I understand. I don't know if this helps a bit: It's the code used in KONTENTOR for putting the session into the REQUEST namespace. I think it is not the most elegant way of doing this, but it se

Re: Randomness (RE: [Zope-dev] CoreSessionTracking 0.8)

2001-05-24 Thread Joachim Werner
> However, a much more helpful report would be > one which provides a repeatable test case which invariably reproduces > the problem instead of one which states the symptoms and effects of the > problem. I know, but that's why the errors are called "random": They are not easy to replicate ... _

Re: Randomness (RE: [Zope-dev] CoreSessionTracking 0.8)

2001-05-24 Thread Joachim Werner
What we experience with CoreSessionTracking: We have a manage mode in the Kontentor CMS hacky thing (no, it is NOT a product yet ;-)). It works well for some time (i.e. if I click on it, the system switches to manage mode and stays in manage mode until I click again), but from time to time it is

Re: [Zope-dev] Experiments with ORMapping

2001-05-14 Thread Joachim Werner
> My thought on this, is that you will be forced to explicitly consider the > nature of this relationship and its storage at the application level. If > you write explicitly for ZODB, you might use a BTree, for example. Or > perhaps you'd have some kind of global container for the Tasks, with a

Re: [Zope-dev] Experiments with ORMapping

2001-05-14 Thread Joachim Werner
> My thought on this, is that you will be forced to explicitly consider the > nature of this relationship and its storage at the application level. If > you write explicitly for ZODB, you might use a BTree, for example. Or > perhaps you'd have some kind of global container for the Tasks, with a

Re: [Zope-dev] Experiments with ORMapping

2001-05-14 Thread Joachim Werner
> Now, it may be useful to provide a management interface for defining the > schema mapping. I haven't approached that yet; AFAICT this is where the > work done on SmartObjects and DBObjects would be very useful. Initially > I was planning for people to code the mapping purely in Python so we >

Re: oodb philosophics ;) was: Re: [Zope-dev] Experiments with ORMapping

2001-05-13 Thread Joachim Werner
> Probably I'm daft because it is Friday night, but AFAIK ZODB and most OODB's > store an object only once, keyed by its object id. The rest is just references > through that oid, so objects that belong to more than one container can be > added to all these containers and n:m relations are impleme

Re: oodb philosophics ;) was: Re: [Zope-dev] Experiments with ORMapping

2001-05-13 Thread Joachim Werner
> This is true in the ZODB, but can be complicated by acquisition. If an > object can acquire itself, it can cause issues. Plus it becomes > difficult to know whether objects are clones or just identical > instances, although this can be mitigated by exposing their Python > instance id. Acquisiti

Re: [Zope-dev] Experiments with ORMapping

2001-05-11 Thread Joachim Werner
> It sounds like you are tackling a lot of things at once. You might > consider dividing into separate projects. Yep, that's what is happening right now. We are still collecting "feature requests". Then we will sort them out. A lot of the stuff will also be useful in different contexts than we h

Re: oodb philosophics ;) was: Re: [Zope-dev] Experiments with ORMapping

2001-05-11 Thread Joachim Werner
> But isn't Python a decent query language? Isn't it nice to be able to have > all of the facilities of Python at your disposal when manipulating data, > rather than hoping that whatever database you are using doesn't have a > brain-damaged implementation of SQL? Most of the time nobody will nee

Re: oodb philosophics ;) was: Re: [Zope-dev] Experiments withORMapping

2001-05-11 Thread Joachim Werner
> As a matter of fact, we did a quick CMF demo that has the content of the > zope list, zope-dev, and many of the other zope.org lists, and the > comp.lang.python list for the past few years. The catalog searches are > very very fast, i can't recall if the demo was set up with some > interesting

Re: oodb philosophics ;) was: Re: [Zope-dev] Experiments with ORMapping

2001-05-11 Thread Joachim Werner
> The other motivations for an RDBMS are (1) people have existing schemas > and want Zope to access the same data as their existing apps, and they > want it to be transparent, and (2) tables with millions of entries are > easily stored in Zope but the perception is that the catalog isn't as > fast

Re: [Zope-dev] Experiments with ORMapping

2001-05-11 Thread Joachim Werner
> > > But storage of binary pickles was never the intention anyway. I created > > > a little interface that would allow you to store different classes in > > > different PostgreSQL tables. Before I got to implementing anything, > > > > Is this much like the ZPatterns approach? > > Which part of

Re: [Zope-dev] Experiments with ORMapping

2001-05-11 Thread Joachim Werner
> So, if I had a.n.other SQL table containing some attributes, how would you see > that mappign to Zope objects? > > What meta_type would they be? > > Where would they show up? That's why we need an API and can't just do everything transparently ;-) We have the conept of "SmartAttributeSheets" (

Re: [Zope-dev] Experiments with ORMapping

2001-05-11 Thread Joachim Werner
Hi! > > Do you know that there already is a project for OR-Mapping in Zope (actually > > there are two ...)? > > Yes, and I think the projects need to look into replacing parts of ZODB > rather than adding complexity. ZODB has pieces that can be split apart > and replaced as needed, such as cach

Re: [Zope-dev] Experiments with ORMapping

2001-05-10 Thread Joachim Werner
> You know, it might be possible to get a team together to implement > this. How many out there would be interested in pursuing it further? > IMHO it's not as much work as it sounds at first. Zope being so > object-oriented, you really can replace one of its most fundamental > assumptions (an OO

Re: [Zope-dev] Can't access manage_access ...

2001-05-06 Thread Joachim Werner
Additional remark: It goes away if I remove all ZClasses from the folder. Strange ... ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.z

[Zope-dev] Can't access manage_access ...

2001-05-06 Thread Joachim Werner
Hi! Anyone seen this before? It happens when I want to access a folder's "manage_access" page. The thing worked all the time, and I don't know what could have changed that. The Zope version is 2.3.1. source version with Python 1.5.2. There also seem to be problems with some of the permissions se

Re: [Zope-dev] Zope Server hanging :-(

2001-04-28 Thread Joachim Werner
> The symptoms are as follows: > 1. Go to a given URL, which doesn't respond (browser sits and spins) > 2. Doing a 'top' on the server shows python nowhere to be seen (so it's not > infinite-loop-processor-hogging) > 3. ps shows the python threads are all still there, but none of them will > respo

Re: [Zope-dev] DBObjects 1.0 and Demos for Proiektor & ZQuest released (site back online!)

2001-04-07 Thread Joachim Werner
Hi! Sorry for the site going up and down all the time. We experienced very strange Zope stability problems. But it seems to have been up for the last couple of hours now ;-) Joachim Werner ___ Zope-Dev maillist - [EMAIL PROTECTED] http

Re: [Zope-dev] Strange errors in the log

2001-04-05 Thread Joachim Werner
> My hunch is on CST but maybe it's catalog or (less likely) something else. > I'd agree with the conflicts thing, it certainly seems to make them happen > more often. I see a lot of them when packing zodb's too. For us, it definitely is not the Catalog. The site I saw the error first uses just Z

[Zope-dev] Strange errors in the log

2001-04-05 Thread Joachim Werner
Hi! We have this in the logs of a brand new 2.3.1: -- 2001-04-06T03:16:10 ERROR(200) ZODB Couldn't load state for '\000\000\000\000\000\000\354\222' Traceback (innermost last): File /var/lib/zope/iuvenoProducts/lib/python/ZODB/Connection.py, line 508, in setstate AttributeError: 'None' obj

Re: [Zope-dev] dtml-in performance

2001-04-05 Thread Joachim Werner
> > What can I do to maximize the peformance of a dtml-in statement? > > When iterating over a 2000 row database query, it takes about 20 > > seconds - time mostly spent doing security checks, and calling > > __getitem__ in DT_InSV.py. Is the performance of dtml-in just slow? > > -Brett > > > > A

Re: [Zope-dev] DBObjects 1.0 and Demos for Proiektor & ZQuest released

2001-04-05 Thread Joachim Werner
e" developers who can live with "half-baked" stuff as you put it: Stephan can give you the code. We will also set up a CVS, but this will not be done in the next couple of days ... Cheers, Joachim Werner CEO iuveno AG ___ Zope-Dev mail

Re: [Zope-dev] dtml-in performance

2001-04-05 Thread Joachim Werner
> > What can I do to maximize the peformance of a dtml-in statement? > > When iterating over a 2000 row database query, it takes about 20 > > seconds - time mostly spent doing security checks, and calling > > __getitem__ in DT_InSV.py. Is the performance of dtml-in just slow? > > -Brett > > > > A

Re: [Zope-dev] Using Zope for Groupware/Messaging applications

2001-02-18 Thread Joachim Werner
R. David Murray wrote: > On Sat, 17 Feb 2001, Joachim Werner wrote: > >> SQL or ZODB+ZCatalog, which one is better? > > > >> Any comments? > > > Just the obvious one: ZPatterns. . OK, this was the standard answer, right. But what I don't really g

[Zope-dev] Using Zope for Groupware/Messaging applications

2001-02-16 Thread Joachim Werner
Hi! We are currently developing a groupware system with Zope. As usual, the options for the storage back-end are using a SQL DB (postgres, ...) or ZODB. I know that this question has been asked a thousand times. But I'll repeat it for our specific situation: SQL or ZODB+ZCatalog, which one is

Re: [Zope-dev] Re: FTP PUT'ing images doesn't create Image objects? (it does)

2001-02-06 Thread Joachim Werner
Zope 2.3 and creating the correct object types (has been discussed earlier, I think): There is a bug with this that only becomes visible with some FTP clients like the KDE2 Konqueror: If the clients do partial uploads and renaming (which finally works), the type is not recognized correctly. Th

[Zope-dev] QNX and Zope

2001-01-27 Thread Joachim Werner
Hi! Is there anyone who has tried using Zope on QNX? I have a request for using Zope in an embedded environment. Thanks! Joachim ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML

Re: [Zope-dev] Added rename to ZOPE FTP server

2001-01-20 Thread Joachim Werner
Tom Vijlbrief wrote: > Hi, > > I've added the rename capability to the Zope FTP-server, > so I could use the KDE FTP client (this is a known Zope bug). > > I attached the 3 modified files (from the 2.2.5 src distro). > Dear people at DC! Please get that into the CVS ASAP. This is a very big i

[Zope-dev] Little Bug in 2.3 "new look"

2001-01-19 Thread Joachim Werner
Hi! There is a little Bug in the new GUI: If you creat a new Folder that is empty, only "There are currently no items in foo" is displayed. So you can't import stuff before you have created an object in the folder. The import/export tab has also gone. Cheers Joachim. _

[Zope-dev] Re: [Zope] ZDESIGN IDEAS = How to improve 'manage' ?

2001-01-09 Thread Joachim Werner
> > - You can work with full SSL-encryption, maybe even client certificates. > >This is much more secure than TELNET or FTP. (Unfortunately, SSH/SCP, > >while being the "better TELNET/FTP" is not always an option, and it > >always opens up more than necessary) > > what exactly does S

Re: [Zope-dev] Re: [Zope] ZDESIGN IDEAS = How to improve 'manage' ?

2001-01-09 Thread Joachim Werner
On Tuesday 09 January 2001 15:41, Martijn Pieters wrote: > On Mon, Jan 08, 2001 at 12:18:37PM -0500, Mohan Baro wrote: > > Are you planning a manage_install for products? > > The ability for superusers to install complelte products directly through > > the management interface, no need for ftp. >

<    1   2