en needed - then I would be a happy man.
Have a look at bebop.protocol in PyPI. It's still a preminary version but
it does exactly what you want.
Regards,
Uwe
____________
Dr. Uwe Oestermeier
Institut für Wissensmedien
Knowledge Media Research
participants on the Wiki or send me an email if
you cannot edit the page.
Hope to see you in Tuebingen,
Uwe
Dr. Uwe Oestermeier
Institut für Wissensmedien
Knowledge Media Research Center
Konrad-Adenauer-Str. 40
D-72072 Tuebingen
I move this
package too?
Uwe
____________
Dr. Uwe Oestermeier
Institut für Wissensmedien
Knowledge Media Research Center
Konrad-Adenauer-Str. 40
D-72072 Tuebingen
Germany
[EMAIL PROTECTED]
Tel. +49 7071 979-208
Fax +49 7071 979-100
___
Zope3-dev mailing list
gards,
Uwe
________
Dr. Uwe Oestermeier
Institut für Wissensmedien
Knowledge Media Research Center
Konrad-Adenauer-Str. 40
D-72072 Tuebingen
Germany
[EMAIL PROTECTED]
Tel. +49 7071 979-208
Fax +49 7071 979-100
___
these problems and we need to consider trade-offs.
Regards,
Uwe
____________
Dr. Uwe Oestermeier
Institut für Wissensmedien
Knowledge Media Research Center
Konrad-Adenauer-Str. 40
D-72072 Tuebingen
Germany
[EMAIL PROTECTED]
Tel. +49 7071 979-20
never tested this idea, but perhaps it may be worth a try.
Regards,
Uwe
________
Dr. Uwe Oestermeier
Institut für Wissensmedien
Knowledge Media Research Center
Konrad-Adenauer-Str. 40
D-72072 Tuebingen
Germany
[EMAIL PROTECTED]
Tel. +49 7071
kdir('/Users/uo/blobs')
>>> d = tempfile.NamedTemporaryFile()
>>> d.write('Test')
>>> d.flush()
>>> os.rename(d.name, '/Users/uo/blobs/asdf')
>>> open('/Users/uo/blobs/asdf').read()
'Test'
>>> os.path.exists('/
t;", line 1, in ?
IOError: [Errno 2] No such file or directory: '/tmp/asdf'
:)
Why not rename the temp file to a place in the blob directory?
That would also avoid the copy operation.
Uwe
Dr. Uwe Oestermeier
Institut für Wissensmedien
Knowledge Media Research Center
Konr
;>> open('/tmp/asdf').read()
> 'Test'
Yeah, but as Dieter said the temp file should be better renamed or moved
to a save location.
It is likely that a temp file disappears.
Uwe
Dr. Uwe Oestermeier
Institut für Wissensmed
Jim Fulton <[EMAIL PROTECTED]> wrote:
>Since you're the one working on this, I'll defer to you on this
>detail. :)
Ok, then I will move the things to zope.app.fssync.
Uwe
____________
Dr. Uwe Oestermeier
Institut für W
Jim Fulton <[EMAIL PROTECTED]> wrote:
>We need to either remove zope.app.fssync.file, or, if we think that
>fssync is moving along well enough, we need to move
>zope.app.ffile.fssync to a separate project in some namespace
>package, such as zope.app.filefssync.
>
>fssync is too experimental t
but in my opinion it makes
sense to leave the
Python API (independent of ZODB and locations etc.) in zope.fssync and the
web-based API
(with security and location aware pickler) in zope.app.fssync.
Regards,
Uwe
________
Dr. Uwe Oestermeie
.ParentPersistentIdGenerator and see whether this solves the
problem. If this doesn't work, I will ask you for further assistance.
>
Uwe
>
Dr. Uwe Oestermeier
Institut für Wissensmedien
Knowledge Med
an this be replaced
by utility registrations?
All in all the fssync code seem to be in an old-fashioned but usable shape
and it's a pity that it has not been maintained.
Perhaps the maintenance can be made easier if we can change the code
without deprecation warnings. Nobody seems t
stic at the moment.
For the zope3.org site it would probably the best to use an existing tool
like Trac which is dedicated to the need of programmers.
Regards,
Uwe
____________
Dr. Uwe Oestermeier
Institut für Wissensmedien
Knowledge Media Rese
Hi,
the sprint schedule on
http://wiki.python.org/moin/EuroPython2006
lists a Zope3-sprint. The details seem to be very unclear.
Can anybody confirm that the sprint will take place before the conference?
Thanks,
Uwe
___
Zope3-dev mailing list
Zope3-d
Hi,
have a look at the rest2html function in
http://svn.zope.org/*checkout*/zope3org/trunk/src/zorg/restsupport/__init__.py?content-type=text
which uses the zope.app.renderer.rest module.
Regards,
Uwe
___
Zope3-dev mailing list
Zope3-dev@zope.or
ery similar to our "live comments" demo app:
http://svn.zope.org/*checkout*/zope3org/trunk/src/zorg/live/demo/comment/README.txt
Unfortunately the documentation is far from complete, but I can work on it
if there is a concrete need.
-Uwe
____
e requests.
(2) Each client is registered on the server side in a thread safe global
utility. This utility handles the clients ids which are send as parameters
of each LivePage request.
Feel free to contact me if this looks interesting to you.
Regards,
Uwe
Hi Tarek,
>
>
>Before starting it up, I was thinking that it would be nice if the whole
>Z3 community would be using the same toolkit, and maybe, even integrate
>it into Z3 itself.
a toolkit that is shared by the whole Zope community would be great,
independent of the question whether it should b
>Florent Guillaume wrote:
>
>> I didn't follow Dominik's suggestion of using IModificationDescription
>> because I feel this a case sufficiently fundamental that we really
>> want a subclass.
>
I agree with Dominik that this justification is somewhat vague, but I
think that it really doesn't mat
into the importer.
Thanks for the help,
Uwe
________
Dr. Uwe Oestermeier
Institut für Wissensmedien
Knowledge Media Research Center
Konrad-Adenauer-Str. 40
D-72072 Tuebingen
Germany
[EMAIL PROTECTED]
Tel. +49 7071 979-208
Fax +49 7071 979-100
_
not able to coordinate community and marketing issues.
>
Regards,
Uwe
____
Dr. Uwe Oestermeier
Institut für Wissensmedien
Knowledge Media Research Center
Konrad-Adenauer-Str. 40
D-72072 Tuebingen
Germany
[EMAIL PROTECTED]
Tel. +49 7071 979-208
Fax +49 7071 979-100
___
t things in more detail on the NeckarSprint page.
Cheers,
Uwe
________
Dr. Uwe Oestermeier
Institut für Wissensmedien
Knowledge Media Research Center
Konrad-Adenauer-Str. 40
D-72072 Tuebingen
Germany
[EMAIL PROTECTED]
Tel. +49 7071 979-208
Fax
Benji York wrote:
>
>I'll be releasing some code today that does most of what this proposal
>wants for any collection of objects, not specifically container views
>(because you'll often want to represent tabular data that doesn't exist
>in any particular container). It would fairly easy to buil
Hi,
Stefan Martin and I have written a proposal for a reimplementation of the
container views.
http://www.zope.org/Wikis/DevSite/Projects/ComponentArchitecture/ConfigurableContainerViews
We would like to work on this at the NeckarSprint next week, so any
feedback is welcome.
Regards,
Uwe
___
Philipp von Weitershausen wrote:
>I smell a proposal :).
I cannot promise to write this proposal in the next two weeks, but I will
try to write one before the NeckarSprint (6-9. Oct) takes place. The
implementation of user objects would be a manageable sprint task.
-- Uwe
__
Martijn Faassen wrote:
>
>I ended up creating a first class User object too. See also my note
>about being able to access these in content space.
>
The same holds for my project. Shouldn't they be part of the framework if
so many applications need them?
Whether these user objects are placed in t
Tim Peters wrote:
>Zope3 3.1's
>bin/mkzeoinstance seems to work now,
I dedected another problem: bin/runzeo doesn't start ZEO.
This script calls ZEO/runzeo.py which has a main function but no
if __name__ == "__main__" :
main()
at the end. Has this already been fixed in the mentioned intern
Hello,
today I downloaded the Zope-3.1.0c2 release candidate and played a little
bit with it.
I noticed that the bin/mkzeoinstance script is broken and returns
Traceback (most recent call last):
File "./mkzeoinstance", line 40, in ?
from ZEO.mkzeoinst import ZEOInstanceBuilder
I found no
/oestermeier/NeckarSprint
As a zope.org member you can edit the page with
http://www.zope.org/Members/oestermeier/NeckarSprint/editform
Please contact me, if you have questions or suggestions.
Hope to see you...
Uwe
Dr. Uwe Oestermeier
[EMAIL PROTECTED] wrote:
>They aren't guaranteed to be unique. They are statistically
>very unlikely to conflict, but that chance of a conflict makes
>me nervous. We tend to create a lot of these, so I think the chances
>for conflict are higher than in many other applications.
>A major component
[EMAIL PROTECTED] wrote:
>The fact that you can't get key references for persistent objects is a
>real
>pain. I've thought a lot about that, but haven't come up with a good
>solution.
>(Phillip Eby suggested using GUIDs at one point. I've always been a bit
>suspicious of GUIDs myself.)
What's t
[EMAIL PROTECTED] wrote:
>What is the missing event bug?
Currently no modification event is fired if one uploads new file content
via ZMI.
In a former mail I proposed to fire the event in File.setData,
alternatively it can be fired by the upload view.
>
>
>Would this be for 3.2? Keep in mind that
I would like to fix the missing event bug, implement Jim's proposal and
mark ObjectContentModifiedEvent and ObjectAnnotationModifiedEvent as
deprecated.
Any objections?
Uwe
[EMAIL PROTECTED] wrote:
>
>I suggest we generalize this a bit. I suggest that the ObjectModified
>event could accept one
[EMAIL PROTECTED] wrote:
>> Because there is no guarantee that all relevant modifications are
>> accompanied by events?
>
>Right
But this problem is not unique to versioning. If you cannot rely on events
there is also no guarantee that your catalogs are always up to date.
Therefore I'm planning a
[EMAIL PROTECTED] wrote:
>I'm 99% sure that this event model will not be sufficient for object
>versioning.
Why?
Because there is no guarantee that all relevant modifications are
accompanied by events?
Because the events do not carry enough information?
I think these problems can be solved, but p
"Garrett Smith" wrote:
>
>A couple questions:
>
>- How is a 'better' (loaded term, feel free to interpret) arrangement
>than using application-specific event types that clearly define a) when
>the event is generated and b) what information the event conveys?
Application specific events can still b
Ooops! I just saw that my previous posting on the other thread has become
obsolete to a large degree.
[EMAIL PROTECTED] wrote:
>
>I suggest we generalize this a bit. I suggest that the ObjectModified
>event could accept one or more modification descriptions (hints?).
>Some examples:
>
> ObjectM
[EMAIL PROTECTED] wrote:
>
>- A persistence or versioning system wants to know when objects
> have changed so that they can save new versions of the object.
>
> This needs to be pretty much fool proof. To do this, I think you
> really need to do something like what the ZODB persistence
> m
Dieter Maurer wrote:
>Sounds good, but I am nevertheless convinced that we
>want finer grain control -- almost as fine (but probably with other
>means) as the "idxs" argument to "catalog_object" (which controls
>precisely which indexes should be reindexed). We will probably
>replace the selection o
Dieter Maurer wrote:
As soon as you index the content, you will be interested
to distinguish between a modification in the primary
content and some meta data (as it has big repercussions
on the speed of the reindexing).
I agree, but perhaps we can find a compromise that fits
all needs. I propo
Garrett Smith wrote:
> So we shouldn't see ObjectModifiedEvent being fired directly then. It
> should be one of the two subclasses, correct? This is not the case
> throughout zope/app.
Jim Fulton answered:
> Yup. Yup.
A closer look at the ObjectModifiedEvents (or the related modified() calls)
Garrett Smith wrote:
I think ValueChangedEvent would be a good addition to the forms
machinery. But if you need something like that now, I'd recommend using
your own edit view class.
That would be a solution for the moment, but in the future I would like to say that my
application provides als
"Garrett Smith" wrote:
I'd see this being something like a ValueChangedEvent that specified the
object, schema, field name, old value, and new value. This would be a
nice way to bolt on validation without modifying the schema.
Yes, that's exactly what I need for versioning.
Anyone needing mor
otify( ObjectModifiedEvent(person, aspect=IFile["data"]))
With this extension the ObjectModifiedEvents would be more informative and a loop over all versionable
attributes in my application would become unnecessary. This would also make updates of
catalogs more efficient.
Regards
Uw
e best solution to generate an IObjectContentModifiedEvent in the File._setData method and
not the view classes?
Cheers,
Uwe
________
Dr. Uwe Oestermeier
Institut für Wissensmedien
Knowledge Media Research Center
Konrad-Adenauer-Str. 40
D-
47 matches
Mail list logo