Re: [Zope3-Users] What is the status on Zope4?

2014-09-06 Thread Andreas Jung
2014-09-06 22:39 GMT+02:00 Christopher Lozinski :

>
> On 9/6/14, 9:27 PM, Andreas Jung wrote:
>
>  without citing the source
>
>
> My Apologies.  Here it is.
>
>
> http://slacy.com/blog/2011/02/why-im-unhappy-with-the-pyramid-web-framework/
>
> I quote:
>
> I’m having to read through the Pyramid source code trying to figure out
> what the heck is going on with configuration.
> At it’s heart, the problem with Pyramid is also what makes it great:  They
> don’t prescribe any one way to do anything.
>

This blog post is basically nonsense. It is three years old, application
site configuration are clearly documented in the
every expressive Pyramid documentation and you usually never need to get in
touch with the Pyramid sources yourself.
I am using Pyramid in small and big projects for years and I _never_ had to
look into the Pyramid source code for achieving
some functionality or whatever! And this is likely true for your
applications...


>
> On 9/6/14, 9:27 PM, Andreas Jung wrote:
>
> > Worse yet that code has been optimized making it even harder to understand.
> >
>
> So much bullshit,
>
>
> Well for this one, I will just quote from
> "Defending Pyramid's Design"
> presumably written by ChrisM himself.
>
>
>
> http://docs.pylonsproject.org/projects/pyramid/en/1.3-branch/designdefense.html
>
>
>   "We optimize Pyramid aggressively. This comes at a cost: the core code
> has sections that could be expressed more readably. As an amelioration,
> we’ve commented these sections liberally."
>
> And that is the author's presumably generous description.
>
> So is ChrisM also a bullshitter?   Then I am in good company.
>

Who care what is happening under hood and why? As stated above: there is
usually no need to look under the hood of Pyramid.
If you have a reason to do so: please your usecase. Pyramid has great
documentation (compared to Zope & friends) and does not require
to check the implementation in order to understand how Pyramid works. IT IS
DOCUMENTED.


>
> I really do have the highest respect for ChrisM, and Pyramid.  And I do
> think it is a valid choice to use a tool that keeps your options open.  But
> there is also a valid choice to have a certain way of doing things.   There
> is a philosophical difference between Grok and Pyramid, and it is important
> that someone points it out.
>

Most of your point are basically wrong and  nonsense based on missing
information, lack of experience and your special view on things as we have
seen in your annual weird postings over the last decade.

-aj
___
Zope3-users mailing list
Zope3-users@zope.org
https://mail.zope.org/mailman/listinfo/zope3-users


Re: [Zope3-Users] What is the status on Zope4?

2014-09-06 Thread Andreas Jung
This nonsense needs some remarks


2014-09-06 18:02 GMT+02:00 Christopher Lozinski :

>
> On 9/6/14, 5:00 PM, Andreas Jung wrote:
> > Better look into Pyramid
>
>  I did look at pyramid.  Multiple times.  My highest respects to Chrism.
>
> So why am I using Grok instead of Pyramid?
>
> Pyramid has a bit of an idenity issue.


It has? Never heard of that...this is _your_ own opinion.


> Is it for relational databases,
> or the Zope Object Database?  Is it for Traversal or for URL dispatch?
> Then there are three different ways of configuring it.  And multiple
> different templating systems.
>

Pyramid gives me as a programmer the freedom to choose the database, the
routing mechanism and the template language that
I need and that I want for my projects. It does not tell me to: you have to
use this and this...this is _freedom_ and not an identity issue.

>
> If you are a consultant, than pyramid is just the thing.  Whatever the
> customer wants, he gets.  You want fry's with that. Great.  You got it.
>

Stupid remark. Either you are a programmer or you are not.


>
> Grok is for the purist.ZODB is expected, although one can call a
> relational database.  Grokers are how it is configured although ZCML can
> be used.  Page Templates are used for templating, although other options
> are possible.  Traversal is your only option, although it can be
> replaced. Indeed I just replaced grokcore.traverser.   I have a clear
> mental model of Grok.
>

Constraints are perhaps a good thing if you are a programmer with a very
limited horizon
or if you need holding-hands with having only only possible option for
doing database, routing and templating.


> A uniform mental model has  a number of  advantages.  First it leads to
> simpler code,


Bullshit - where is a Pyramid application more complex than a related Grok
application?


>
> And eventually there wil be performance benefits.  Like the risc chips,
> or the optimizations on the Objective-C dispatcher, a simpler model can
> be more effectively optimized.
>

Nobody cares about such micro-optimization aspects.

>
> Another Pyramid issue is that all these options lead to code
> complexity.


Once again: bullshit! Complex application code remains complex independent
of the web framework. Provide some evidence for your claim.


> I was just reading a posting on that this morning.
>

Means you are repeating phrases without citing the source and likely
without having real world experience with small and large Pyramid projects?!


> Worse yet that code has been optimized making it even harder to understand.
>

So much bullshit, FUD in one sentenceprovide evidence please.
Pyramid is usually every easy to understand when it comes to the Pyramid and
webframework related aspects. Bad application code can be written with
Pyramid
and Grok.


>
> On the issue of optimizing for humans vs Computers.   Pyramid code has
> been highly optimized.  For computers that is, not for people.


What a stupid blathering...explain your nonsense and provide evidence.
This whole article read as you if you were on drugs while writing these
lines.


> Optimizing code for computer performance makes it pessimal for human
> understandability.  Not that grok is brilliant on this point either, but
> i could easily imagine Grok going on the Paleolithic diet, and becoming
> a very small understandable code base, with modules that could be easily
> swapped in by those who want to optimize for performance rather than for
> people.
>
>
-aj
___
Zope3-users mailing list
Zope3-users@zope.org
https://mail.zope.org/mailman/listinfo/zope3-users


Re: [Zope3-Users] What is the status on Zope4?

2014-09-06 Thread Andreas Jung
The anwser is: Zope is dead. Move on

Regards
Andreas Jung
-
Sorry for being brief - sent from a mobile device.


> Am 06.09.2014 um 16:20 schrieb Milind Khadilkar :
> 
> Afraid I am no longer actively looking for a development platform...
> Have been involved with teams working on Zope2, Zope3, Grok, ZTK and to some 
> extent Pyramid... over a 12 year period ( :( no contribution to community, 
> alas!) but not at this point.
> But every now and then discussions bring up Zope, and well, with lot of 
> fondness, the kind of fondness reserved for memories of the dead... and I 
> hope to be able to shout out and say "Hey, look at Zope4".
> 
> I still remember that Philip von Weitershausen had said in the promotional of 
> his forthcoming book that Zope4 makes Grok look so old...
> Note the present tense. (of course thereafter he called it a April Fool's 
> joke)
> 
> Hence I wondered, where is Zope4.
> 
> 
> 
>> On Sat, Sep 6, 2014 at 7:30 PM, Andreas Jung  wrote:
>> Better look into Pyramid
>> 
>> Regards
>> Andreas Jung
>> -
>> Sorry for being brief - sent from a mobile device.
>> 
>> 
>> > Am 06.09.2014 um 14:01 schrieb Milind Khadilkar :
>> >
>> > Hi everyone,
>> > Hope Zope is being used in its different forms very actively all over, the 
>> > silence on this list notwithstanding.
>> > I have not followed Zope for more than a year now, but do visit the site 
>> > once in a while.
>> > Is Zope4 planned as a sort of "named" release with downloadables? Or would 
>> > there be an implicit release when all constituents have achieved what is 
>> > expected from them in Zope4?
>> >
>> > Thanks.
>> > Best wishes
>> > Milind Khadilkar
>> > ___
>> > Zope3-users mailing list
>> > Zope3-users@zope.org
>> > https://mail.zope.org/mailman/listinfo/zope3-users
> 
> ___
> Zope3-users mailing list
> Zope3-users@zope.org
> https://mail.zope.org/mailman/listinfo/zope3-users
___
Zope3-users mailing list
Zope3-users@zope.org
https://mail.zope.org/mailman/listinfo/zope3-users


Re: [Zope3-Users] What is the status on Zope4?

2014-09-06 Thread Andreas Jung
Better look into Pyramid

Regards
Andreas Jung
-
Sorry for being brief - sent from a mobile device.


> Am 06.09.2014 um 14:01 schrieb Milind Khadilkar :
> 
> Hi everyone,
> Hope Zope is being used in its different forms very actively all over, the 
> silence on this list notwithstanding.
> I have not followed Zope for more than a year now, but do visit the site once 
> in a while.
> Is Zope4 planned as a sort of "named" release with downloadables? Or would 
> there be an implicit release when all constituents have achieved what is 
> expected from them in Zope4?
> 
> Thanks.
> Best wishes
> Milind Khadilkar
> ___
> Zope3-users mailing list
> Zope3-users@zope.org
> https://mail.zope.org/mailman/listinfo/zope3-users
___
Zope3-users mailing list
Zope3-users@zope.org
https://mail.zope.org/mailman/listinfo/zope3-users


Re: [Zope3-Users] [Zope-dev] zookeeper + mailing lists

2013-05-08 Thread Andreas Jung
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1



Christopher Lozinski wrote:
> On 5/8/13 3:30 AM, Dave Cahill wrote:  on the zope-3 mailing lists.
>> Hi,
>> 
>> I was using the export_tree method in zc.zk to dump a zookeeper
>> tree today, and some nodes which have no data had garbage data
>> dumped instead of an empty string. I think this is an issue in the
>> underlying zookeeper library, but there is a simple patch to avoid
>> the issue (attached), so if possible it would be nice to see it
>> added in zc.zk.
>> 
>> Here's a link to the patch in case attachements aren't allowed on
>> the list: https://gist.github.com/davecahill/5539050
>> 
>> I'm new here, so if I should be posting on one of the the other
>> Zope lists, please let me know.
>> 
>> Thanks, Dave.
>> 
> 
> A quick google search shows that zookeeper is an apache tool for
> keeping apache server configuration information.
> 
> I think this post belongs on zope-dev, so I am reposting it for the 
> author, along with a brief answer to his questions on mailing lists.
> 
> Nice to see people working on this stuff.
> 
> The mailing lists and the names are in a bit of a confusion.
> 
> The zope-3 mailing list has been dead as long as I can remember.
> 
> zope-dev is for people building the core libraries.  As such I think 
> that your patch qualifies for a posting on that list.  So I copied it
> to there.
> 
> yahoo has several zope mailing lists.  The spanish and Portuguese
> lists are strong.  For reasons I cannot understand, I am not able to
> post on the english list, z...@yahoogroups.com, and the error message
> mentions egroups, they got bought out by yahoo 10 years ago, I
> suspect that the admin for the yahoo groups mailing list is retired
> without replacement.
> 
> there is the bluebream mailing list, but since there is no bluebream 
> release currently available, that seems quite dead.
> 
> And of course the zope-dev mailing list keeps getting the zope-tests 
> results, which is short term information, and thus pollutes the long
> term archives and gets copied  to the yahoo mailing lists making it 
> hard to find useful information.
> 
> Rather than just complaining, let me make my suggestions.
> 
> I would love to see a zope-tests mailing lists.  That way the people
> who want that information can get it.   And those of us who don't
> dont.

We have really *enough* dead Zope related mailing lists. Nobody needs
new lists. For a project with very little effort going on and with a
stagnating audience: what we have is good enough.

- -aj


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQGUBAEBAgAGBQJRioS/AAoJEADcfz7u4AZjXNMLwLfHJ6+Igzs/FAvy/PrLjlb5
E9cI+8Q5b4tXXSaXJ8GXQ9AOHgl4WVOfPbPzgDU9c7mHOpxuf23s7e//1m3v5sI1
Y+qTfHEjTeafIfkbVtb7yNFbNvpFHlCrXm5hr7YZDF8Y5+zkICiLEibKksNJAcVA
FDvp3tpbcO5tWpSuT/zLKZ3NIEmJ81dARo5P0WfhoF1ocgNlXqWRcS2kPRF+wvi4
x4F+G/9s7c9UPidcnvDL4JtKnGfXBNaVWA4deeC7d04k+BXUD42luFYHFBBFvxyR
qePZg+ZK3og9wYP5aQ+AC/6qAhUPkmiVUOEXdd51ylBZybxYLyjuiJHHxw130Tr8
VHbyTZe+uCOi17l+nZoVFUgIzQWN8ltizlNORxhQwI8/zTV5ZzFLf2mNKixvCmRx
I/ez834+NWnDtDGYsPc5WR2K2tywR7aMRhxFVcn7dy/rtR5tptOW6XbNhOjunyu6
vwJP+xeeqVjFqK4HvzOagNJ0fKM0wHs=
=XSIP
-END PGP SIGNATURE-
<>___
Zope3-users mailing list
Zope3-users@zope.org
https://mail.zope.org/mailman/listinfo/zope3-users


Re: [Zope3-Users] Redirect domain.com to www.domain.com

2011-04-19 Thread Andreas Jung
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

christophe petit wrote:
> Hello,
> 
> I have just installed zope 3 and I would like to know how to make
> redirect the url "http://domain.com"; to "http://www.domain.com";.
> I have not installed apache in front of zope 3, I used prerouting
> iptables rule to forward port 80 to zope 3 HTTPPORT.
> 
> Can i dot this without Apache and its "RewriteRule" in .htaccess ?
> 
> Any help would be appreciated,
> 

Running Zope on a public network behind a reverse is highly recommended
and best-practice...so the answer would be: use rewrite rules..

- -aj
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQGUBAEBAgAGBQJNrm2SAAoJEADcfz7u4AZj6BsLvj8J+v6z15OFDSGCn8jOIALc
NeR/t2t8CpgX5ly7sbIs8VzrkfXCLQit+8Rxup7K6l7V6h8IFJP8w58ffphqNfWn
0GJagriExDqKgMoHYmzLacDcUeCdLpujPmRKkZlcyFtnL16FBT0bXbFy/MTqvFrv
LV1yJAEV3Wwix7ByGhipt5LK2qmORpbrUY/3L0eNgRDJeuW+VUgCQS3HRDVpG+aJ
HggkieeYhdEEE4aZzRSxx03GlBiVfHsA0dFiKVzISNtUn8vL8m/AsqySiKZvZ+6Q
tzaXxShMvK6UEOkjIJc2qxfBAdoFOS/gfVRLoMnglNF3K1sdO/oUiVhKFUiQfmEU
58rkDLc8BgznKf5LkzboBhAQhv0wQcIYzf7gLn9KAUxIM/NSdXzBL0tgIpi3awkI
eRjHQrmwfYHo0kY3x1OmEcXOEHw/pKa1G0BgBOBKXDtCSfi9Udbvq6QXqUVDrbXX
xeKNsOiwlW89iCcZk7b3HuLAjh8nW/A=
=UQYF
-END PGP SIGNATURE-
<>___
Zope3-users mailing list
Zope3-users@zope.org
https://mail.zope.org/mailman/listinfo/zope3-users


Re: [Zope3-Users] Resuming Zope use

2011-02-22 Thread Andreas Jung
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Those are broad questions that can not be answered seriously if you
don't tell us about the kind of application you have built in the past
with Zope and what kind of applications you intend to buildout with
Zope-ish technlogy in the future.

- -aj

Milind Khadilkar wrote:
> Hello everybody,
> 
> We have used Zope a few years ago... had to stop rather abruptly... and
> now are attempting to get back into using Zope.
> 
> Most of the work we have done is in Zope 2.7.x, while some work dates
> from much earlier versions.
> 
> Is it right that we would need to install the *exactly* original Zope
> versions ( or is it *major* original Zope version?) to get our old work
> up and running?
> 
> If we want to reuse that work in Zope 2.13 and continue from there, is
> there a transition path without installing old versions?
> 
> We also have some work in Zope 3.1. Should we go in for BlueBream now?
> 
> What should be the Zope2 learning path for new entrants (fresh out of
> college, with fair Python knowledge)?
> 
> Advise would be highly appreciated.
> 
> With Thanks.
> 
> Milind Khadilkar
> ZedObject
> 
> ___
> Zope3-users mailing list
> Zope3-users@zope.org
> https://mail.zope.org/mailman/listinfo/zope3-users


- -- 
ZOPYX Limited   | zopyx group
Charlottenstr. 37/1 | The full-service network for Zope & Plone
D-72070 Tübingen| Produce & Publish
www.zopyx.com   | www.produce-and-publish.com
- 
E-Publishing, Python, Zope & Plone development, Consulting


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQGUBAEBAgAGBQJNY5FgAAoJEADcfz7u4AZjFJ0LwKJjmohoVhBjUE+ycmvm1Pf7
W2ETn5Gw9aHODn4LaQ/Gf2lL/RB8lAC/+Wrv56vImy92goXHK8TBjr96RfK+WEMO
RZJteC3HzoU/eU/rfXlWVWn/iDhn3vvPe9yd/dcZDepx/E6XrucLEP4BiDx9f5UK
N1UiF06W66pfG4SIwCs5slglwTzr612DHfjvLPyDF+tV/L/2+yCcZYXSNByE+0Jd
2F+QbShj+B74DQICZ6ksuHWvU4PA2WFl4FY8tRnYdbSWJqsV9Cncsjl1l0Fp94c4
VQtOeru91VWy7mH/acZp97k5i8UyfQLRGSOdiavZkxtJ9SOONn3hEqmCbhdfhx/7
fS8EkUCX7e27rkWV3XCcvDBx/iaSBA5rbpVzmVyeR6CvdxgNq/8OW0Y40Bqk1Xku
xRZHsOmF08IfVEo6oQfNcl9cwp9ROuNHzbfpeND8gnKoq/Of1F7tsDIvBjFv0VSf
+b9s5NVVZPDcInuKPUWgB7JJnUWov94=
=qtAv
-END PGP SIGNATURE-
<>___
Zope3-users mailing list
Zope3-users@zope.org
https://mail.zope.org/mailman/listinfo/zope3-users


Re: [Zope3-Users] threads, pool size and cache recommendations (quad core)

2009-12-16 Thread Andreas Jung
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

schrieb Roy Mathew:
> Thanks for the helpful replies; I was also curious: assuming that
> one has a cache of a certain size, is there a way to inspect it
> (ie: to see how full/empty it is, etc..) so one can tell how
> effective it is at runtime. It would beat repeatedly running
> benchmarks while varying the cache size.
>
>

Perhaps

http://pypi.python.org/pypi/zc.zodbactivitylog/0.1.1

is of interest.

At least Zope 2 apps have a useful ttw-inspector for threads and
caches...not sure
about ZTK-based apps.

- -aj
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkspwEwACgkQCJIWIbr9KYzBbgCg6V5mCO3jz2IVnDfKaMEDWRfo
QR4AoLji9DUHowy31EZeiAqXgTm5f2ks
=9dHu
-END PGP SIGNATURE-

<>___
Zope3-users mailing list
Zope3-users@zope.org
https://mail.zope.org/mailman/listinfo/zope3-users


Re: [Zope3-Users] threads, pool size and cache recommendations (quad core)

2009-12-16 Thread Andreas Jung
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

schrieb Roy Mathew:
> Folks, I am looking for some configuration advice.
>
> I am running a zope3 application that uses the ZODB. I expect a
> peak load of a 100 concurrent users, and am on a *quad* core Intel
> Xeon Linux box. Am I better off running 2 or 3 ZEO clients talking
> to the app-server (I am assuming that the OS will load balance so
> that all processors are utilized well). Or should I not use ZEO at
> all, and simply assign a large cache, a large connection pool and
> lots of threads to a single process. I am sure that this is an
> issue many of you have had to contend with. I would appreciate some
> rough idea of what the numbers should be for each of the 2
> scenarios I outline.
>
The number of worker threads (and clients) basically depends on how much
concurrent requests you have. Four worker threads can deal with 100
requests/second
when each request can be processed fast. Long running requests will
block other
requests...so you must measure how long a request takes in average..then
you can do your own calculations. The cache size depends on various
factors..
you have to check the ZODB activity in order to perform fine-tuning.
There is neither a golden bullet nor a recipe for the perfect
setup...start with
a common setup of two clients or so and see how far you can go...then
adjust
your parameters over time.

- -aj
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkso7jgACgkQCJIWIbr9KYxJuACgnSBYveX6o5s6405R4Q+U9i5M
wg4AnjjM0wuytuDaWF0GEs5yF/DbPU+C
=tzFb
-END PGP SIGNATURE-

<>___
Zope3-users mailing list
Zope3-users@zope.org
https://mail.zope.org/mailman/listinfo/zope3-users


Re: [Zope3-Users] threads, pool size and cache recommendations (quad core)

2009-12-16 Thread Andreas Jung
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

schrieb Roy Mathew:
> Folks, I am looking for some configuration advice.
>
> I am running a zope3 application that uses the ZODB. I expect a
> peak load of a 100 concurrent users, and am on a *quad* core Intel
> Xeon Linux box. Am I better off running 2 or 3 ZEO clients talking
> to the app-server (I am assuming that the OS will load balance so
> that all processors are utilized well). Or should I not use ZEO at
> all, and simply assign a large cache, a large connection pool and
> lots of threads to a single process. I am sure that this is an
> issue many of you have had to contend with. I would appreciate some
> rough idea of what the numbers should be for each of the 2
> scenarios I outline.
>

You have to provide much more details like #concurrent users,
#concurrent requests, #concurrent writes, reads, the nature of the
application,
kind of data etc.

- -aj
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkso4IUACgkQCJIWIbr9KYxrTQCePlLWkkBhL4JmTIQuVWTh/BDO
N08AnA9PX/JweJoEwJgwLQhj9DzEaW10
=Nczp
-END PGP SIGNATURE-

<>___
Zope3-users mailing list
Zope3-users@zope.org
https://mail.zope.org/mailman/listinfo/zope3-users


[Zope3-Users] Resource lookup by resource name

2009-10-17 Thread Andreas Jung
Assume I have a  configuration
somewhere in my system. What is the API to lookup the the directory
path for a configured resource 'name'?

Andreas
<>___
Zope3-users mailing list
Zope3-users@zope.org
https://mail.zope.org/mailman/listinfo/zope3-users


Re: [Zope3-Users] Data.fs corrupted.

2009-09-03 Thread Andreas Jung
Look at this:

http://spamsch.blogspot.com/2009/04/how-to-repair-broken-zodb-poskeyerror.html

-aj

On 04.09.09 07:53, Shailesh Kumar wrote:
> Hello,
> At one of our client installations, we faced the following:
>
>   File "C:\python24\lib\site-packages\ZODB\FileStorage\FileStorage.py", line 
> 173
> 5, in read_index
> name, pos)
>   File "C:\python24\lib\site-packages\ZODB\FileStorage\FileStorage.py", line 
> 52,
>  in panic
> raise CorruptedTransactionError(message)
> ZODB.FileStorage.FileStorage.CorruptedTransactionError: %s data record 
> exceeds t
> ransaction record at %s
>
> We are using zope 3.3.1.The database size at this point is around 36
> GB.  Because of this situation, the ZOPE instance isn't starting up
> anymore. On doing some search, we found about
> lib/python/ZODB/fsrecover.py.  It seems like, it removes some damaged
> transactions and may result in data loss.
>
> It would be really helpful if other people who have faced this before
> could share their experiences. Are there some precautions which can be
> taken care of to ensure that this doesn't happen?
>
> Right now our client is running fsrecover.py on the data.fs file. We
> don't yet what will be the result of this.
>
>
> With regards,
> - Shailesh
> ___
> Zope3-users mailing list
> Zope3-users@zope.org
> https://mail.zope.org/mailman/listinfo/zope3-users
>   


-- 
ZOPYX Ltd. & Co KG  \  ZOPYX & Friends
Charlottenstr. 37/1  \  The experts for your Python, Zope and
D-72070 Tübingen  \  Plone projects
www.zopyx.com, i...@zopyx.com  \  www.zopyx.de/friends, frie...@zopyx.de

E-Publishing, Python, Zope & Plone development, Consulting


<>___
Zope3-users mailing list
Zope3-users@zope.org
https://mail.zope.org/mailman/listinfo/zope3-users


Re: [Zope3-Users] [ZCML] Issue with conflicting browser:page decl

2009-08-05 Thread Andreas Jung
On 05.08.09 16:11, Marius Gedminas wrote:
> On Tue, Aug 04, 2009 at 07:22:36PM +0200, Andreas Jung wrote:
>   
>> Hi there,
>>
>> I'm really puzzled about the following ZCML configuration conflict
>> where I am trying to override a browser:page for defined in
>> dateable.chronos.browser.events.EventListingView.upcomingEvents
>> with slightly customized implementation within my own idg.theme package.
>> Both ZCML configuration are of course identical except the the 'class'
>> is different.
>> Anything I am missing?
>> 
> The ingenious model of ZCML overrides.

My configuration was almost right - including the includesOverrides
statement within my configure.zcml. However I was using



instead of



Black-'n-dirty-magic,
Andreas
begin:vcard
fn:Andreas Jung
n:Jung;Andreas
org:ZOPYX Ltd. & Co. KG
adr;quoted-printable:;;Charlottenstr. 37/1;T=C3=BCbingen;;72070;Germany
email;internet:i...@zopyx.com
title:CEO
tel;work:+49-7071-793376
tel;fax:+49-7071-7936840
tel;home:+49-7071-793257
x-mozilla-html:FALSE
url:www.zopyx.com
version:2.1
end:vcard

___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


[Zope3-Users] [ZCML] Issue with conflicting browser:page decl

2009-08-04 Thread Andreas Jung
Hi there,

I'm really puzzled about the following ZCML configuration conflict
where I am trying to override a browser:page for defined in
dateable.chronos.browser.events.EventListingView.upcomingEvents
with slightly customized implementation within my own idg.theme package.
Both ZCML configuration are of course identical except the the 'class'
is different.
Anything I am missing?

Andreas




  File
"/data/idg_buildout/parts/zope2/lib/python/zope/configuration/xmlconfig.py",
line 581, in file
context.execute_actions()
  File
"/data/idg_buildout/parts/zope2/lib/python/zope/configuration/config.py", line
606, in execute_actions
for action in resolveConflicts(self.actions):
  File
"/data/idg_buildout/parts/zope2/lib/python/zope/configuration/config.py", line
1513, in resolveConflicts
raise ConfigurationConflictError(conflicts)
zope.configuration.config.ConfigurationConflictError: Conflicting
configuration actions
  For: ('view', , u'list.html',
,
)

File
"/home/plone/.buildout/eggs/dateable.chronos-0.5-py2.4.egg/dateable/chronos/browser/configure.zcml",
line 57.2-63.8


File "/data/idg_buildout/src/idg.theme/idg/theme/overrides.zcml",
line 6.2-12.8


begin:vcard
fn:Andreas Jung
n:Jung;Andreas
org:ZOPYX Ltd. & Co. KG
adr;quoted-printable:;;Charlottenstr. 37/1;T=C3=BCbingen;;72070;Germany
email;internet:i...@zopyx.com
title:CEO
tel;work:+49-7071-793376
tel;fax:+49-7071-7936840
tel;home:+49-7071-793257
x-mozilla-html:FALSE
url:www.zopyx.com
version:2.1
end:vcard

___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


Re: [Zope3-Users] [Zope-dev] how to prevent the pagetemplate reload?

2009-07-20 Thread Andreas Jung
On 21.07.09 05:04, YoungKing wrote:
> Hi all, I see the pagetemplate reload on each time modified,this may
> be bad for the production environment,how to prevent it ?

Is this related to Zope 2 or Zope 3? PT in Zope 2 should not reload if
debug-mode is disabled.

-aj

P.S. and please *stop* with cross-postings which are highly annoying

-- 
ZOPYX Ltd. & Co KG  \  ZOPYX & Friends
Charlottenstr. 37/1  \  The experts for your Python, Zope and
D-72070 Tübingen  \  Plone projects
www.zopyx.com, i...@zopyx.com  \  www.zopyx.de/friends, frie...@zopyx.de

E-Publishing, Python, Zope & Plone development, Consulting


begin:vcard
fn:Andreas Jung
n:Jung;Andreas
org:ZOPYX Ltd. & Co. KG
adr;quoted-printable:;;Charlottenstr. 37/1;T=C3=BCbingen;;72070;Germany
email;internet:i...@zopyx.com
title:CEO
tel;work:+49-7071-793376
tel;fax:+49-7071-7936840
tel;home:+49-7071-793257
x-mozilla-html:FALSE
url:www.zopyx.com
version:2.1
end:vcard

___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


Re: [Zope3-Users] How do I learn how to use Zope?

2009-06-15 Thread Andreas Jung
On 16.06.09 01:26, Edward Zwart wrote:
> I've been limping along for a couple weeks trying to learn this
> framework, and I'm completely stuck, and can barely even form a good
> question... so apologies in advance...
>
>   
Consider starting with GROK.
> That gives an infinite recursion error. 
A full traceback is always helpfull.

-aj
begin:vcard
fn:Andreas Jung
n:Jung;Andreas
org:ZOPYX Ltd. & Co. KG
adr;quoted-printable:;;Charlottenstr. 37/1;T=C3=BCbingen;;72070;Germany
email;internet:i...@zopyx.com
title:CEO
tel;work:+49-7071-793376
tel;fax:+49-7071-7936840
tel;home:+49-7071-793257
x-mozilla-html:FALSE
url:www.zopyx.com
version:2.1
end:vcard

___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


Re: [Zope3-Users] Executing code a server startup

2009-05-17 Thread Andreas Jung
On 18.05.09 00:42, Simon Elbaz wrote:
> Hi,
> I am trying to execute some code at zope3 server startup. Zope3 posts
> hint using a  IProcessStartingEvent subscriber in configure.zcml.
>
> Here is an extract of configure.zcml:
>
>handler="cdcadama.authentication.onStartup"
>   for="zope.app.appsetup.interfaces.IProcessStartingEvent"
> />
>
> and the handler definition:
>
> def onStartup(event):
>print 'hello'
>
> The problem is that the function is not called at server startup. But
> when a call to notify(zope.app.appsetup.interfaces.ProcessStarting())
> is made later  in the code (after the server starts), it prints 'hello'.
>
Isn't there a DatabaseOpened event?

-aj

begin:vcard
fn:Andreas Jung
n:Jung;Andreas
org:ZOPYX Ltd. & Co. KG
adr;quoted-printable:;;Charlottenstr. 37/1;T=C3=BCbingen;;72070;Germany
email;internet:i...@zopyx.com
title:CEO
tel;work:+49-7071-793376
tel;fax:+49-7071-7936840
tel;home:+49-7071-793257
x-mozilla-html:FALSE
url:www.zopyx.com
version:2.1
end:vcard

___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


Re: [Zope3-Users] Packing a ZODB via command line

2009-05-11 Thread Andreas Jung
On 12.05.09 06:19, Andreas Jung wrote:
> On 12.05.09 06:13, andrew wrote:
>   
>> Hi All,
>>
>> Anyone know how to do this with Zope3 ?
>> 
> When using ZEO: use zeopack.
> If you are not using ZEO: look at the fspack.py
> script.


Or

http://blog.delaguardia.com.mx/packing-the-zodb-offline

-aj
begin:vcard
fn:Andreas Jung
n:Jung;Andreas
org:ZOPYX Ltd. & Co. KG
adr;quoted-printable:;;Charlottenstr. 37/1;T=C3=BCbingen;;72070;Germany
email;internet:i...@zopyx.com
title:CEO
tel;work:+49-7071-793376
tel;fax:+49-7071-7936840
tel;home:+49-7071-793257
x-mozilla-html:FALSE
url:www.zopyx.com
version:2.1
end:vcard

___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


Re: [Zope3-Users] Packing a ZODB via command line

2009-05-11 Thread Andreas Jung
On 12.05.09 06:13, andrew wrote:
> Hi All,
>
> Anyone know how to do this with Zope3 ?

When using ZEO: use zeopack.
If you are not using ZEO: look at the fspack.py
script.

-aj

begin:vcard
fn:Andreas Jung
n:Jung;Andreas
org:ZOPYX Ltd. & Co. KG
adr;quoted-printable:;;Charlottenstr. 37/1;T=C3=BCbingen;;72070;Germany
email;internet:i...@zopyx.com
title:CEO
tel;work:+49-7071-793376
tel;fax:+49-7071-7936840
tel;home:+49-7071-793257
x-mozilla-html:FALSE
url:www.zopyx.com
version:2.1
end:vcard

___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


Re: [Zope3-Users] Unknown directive: class !!!

2009-04-04 Thread Andreas Jung
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Never heard or seen a zcml 'class' tag. Do you mean 'content'?

- -aj

On 04.04.2009 14:59 Uhr, Chetan Kumar wrote:
> Hi
> On zope3.4.0  this is what I see on "paster serve debug.ini". Trying
> the worldcookery examples (with some changes for my needs)
> portion of the error message
> return RootStackItem.contained(self, name, data, info)
>   File 
> "/home/zope3/.buildout/eggs/zope.configuration-3.4.0-py2.5.egg/zope/configuration/config.py",
> line 708, in contained
> factory = self.context.factory(self.context, name)
>   File 
> "/home/zope3/.buildout/eggs/zope.configuration-3.4.0-py2.5.egg/zope/configuration/config.py",
> line 485, in factory
> raise ConfigurationError("Unknown directive", ns, n)
> zope.configuration.xmlconfig.ZopeXMLConfigurationError: File
> "/home/zope3/Work/z3w/wc/site.zcml", line 4.2-4.26
> ZopeXMLConfigurationError: File
> "/home/zope3/Work/z3w/wc/src/wc/configure.zcml", line 8.0
> ConfigurationError: ('Unknown directive',
> u'http://namespaces.zope.org/zope', u'class')
> 
> 
> The relevant configure.zcml is
> ===configure.zcml===
>  xmlns="http://namespaces.zope.org/zope";>
> 
>permission="zope.View"
>   attributes="id first_name middle_name last_name"
>   />
>permission="zope.ManageContent"
>   set_attributes="id first_name middle_name last_name"
>   />
> 
> 
> =
> Cheers
> ___
> Zope3-users mailing list
> Zope3-users@zope.org
> http://mail.zope.org/mailman/listinfo/zope3-users


- -- 
ZOPYX Ltd. & Co. KG - Charlottenstr. 37/1 - 72070 Tübingen - Germany
Web: www.zopyx.com - Email: i...@zopyx.com - Phone +49 - 7071 - 793376
Registergericht: Amtsgericht Stuttgart, Handelsregister A 381535
Geschäftsführer/Gesellschafter: ZOPYX Limited, Birmingham, UK
- 
E-Publishing, Python, Zope & Plone development, Consulting

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAknXmzQACgkQCJIWIbr9KYwGmQCgreTROLRFRU6NjRbPjccifxEB
3zMAoOE1AZGZvmtQ+BQFjTBz4nhkUalA
=KeG7
-END PGP SIGNATURE-
begin:vcard
fn:Andreas Jung
n:Jung;Andreas
org:ZOPYX Ltd. & Co. KG
adr;quoted-printable:;;Charlottenstr. 37/1;T=C3=BCbingen;;72070;Germany
email;internet:i...@zopyx.com
title:CEO
tel;work:+49-7071-793376
tel;fax:+49-7071-7936840
tel;home:+49-7071-793257
x-mozilla-html:FALSE
url:www.zopyx.com
version:2.1
end:vcard

___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


Re: [Zope3-Users] TextIndexNG question...

2009-02-18 Thread Andreas Jung
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 18.02.2009 17:14 Uhr, Thierry Florac wrote:

> I suppose that all this is a splitter/stopwords problem, but I can't
> manage to make this work correctly so any help would be greatly
> appreciated.
>

Right. The splitter  and query parser use different approaches for
splitting words and dealing with non-characters. This is subject
for a major cleanup with the next TXNG 3.3 version to appear
at some time in the future :-)

- -aj
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkmcNL8ACgkQCJIWIbr9KYy9fACfZZUoEXEAC3lYSs34a8wgAuW1
ZUIAoI9nUzHhM7CYJUnkozUsB7+7iPyD
=d+v9
-END PGP SIGNATURE-
begin:vcard
fn:Andreas Jung
n:Jung;Andreas
org:ZOPYX Ltd. & Co. KG
adr;quoted-printable:;;Charlottenstr. 37/1;T=C3=BCbingen;;72070;Germany
email;internet:i...@zopyx.com
title:CEO
tel;work:+49-7071-793376
tel;fax:+49-7071-7936840
tel;home:+49-7071-793257
x-mozilla-html:FALSE
url:www.zopyx.com
version:2.1
end:vcard

___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


Re: [Zope3-Users] [RFC] Merging zope3-users list with z...@zope.org list

2009-01-15 Thread Andreas Jung
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 15.01.2009 10:15 Uhr, Stephan Richter wrote:
> On Thursday 15 January 2009, Andreas Jung wrote:
>> Thoughts?
> 
> -1. I frequently delete E-mails from z...@zope.org but usually read carefully 
> the zope3-u...@zope.org list. It would significantly increase my ability to 
> filter the different mails and thus decrease my time to respond.
>

The z...@zope.org is meanwhile a pretty low-traffic list and I am
usually able to scan an incoming posting starting with a new thread
within seconds in order to check if it is relevant for me or not.

Andreas
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAklvBHgACgkQCJIWIbr9KYw0iQCgvM/TFaZEUGmwD/osV1Iix+KY
lwQAn3uORkRkw13F/ehshC8G9ZVX2b9n
=jE/+
-END PGP SIGNATURE-
begin:vcard
fn:Andreas Jung
n:Jung;Andreas
org:ZOPYX Ltd. & Co. KG
adr;quoted-printable:;;Charlottenstr. 37/1;T=C3=BCbingen;;72070;Germany
email;internet:i...@zopyx.com
title:CEO
tel;work:+49-7071-793376
tel;fax:+49-7071-7936840
tel;home:+49-7071-793257
x-mozilla-html:FALSE
url:www.zopyx.com
version:2.1
end:vcard

___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


[Zope3-Users] [RFC] Merging zope3-users list with z...@zope.org list

2009-01-15 Thread Andreas Jung
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hereby I propose to abandon the zope3-user list  and merge it with the
z...@zope.org mailing list.

Why?

 - getting rid of the artificial distinction between Zope 2 and Zope 3

 - phasing out the term "zope 3" in order avoid confusion

 - keeping user questions on one list since there is often an overlap
   between Zope 2 and the Zope component library (aka Z3)

 - one "user" list is enough (as we already have merged the
   zope3-dev list into the zope-dev list)

Thoughts?

Andreas
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAklu+DUACgkQCJIWIbr9KYwS3QCg4qfUoDRI/PfvBL4BNHoO3wo6
6FsAoMBPapywerpoYlrZ/vo4Ktt6wg1Y
=GSPp
-END PGP SIGNATURE-
begin:vcard
fn:Andreas Jung
n:Jung;Andreas
org:ZOPYX Ltd. & Co. KG
adr;quoted-printable:;;Charlottenstr. 37/1;T=C3=BCbingen;;72070;Germany
email;internet:i...@zopyx.com
title:CEO
tel;work:+49-7071-793376
tel;fax:+49-7071-7936840
tel;home:+49-7071-793257
x-mozilla-html:FALSE
url:www.zopyx.com
version:2.1
end:vcard

___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


Re: [Zope3-Users] Are we following the flow (Python 3)

2009-01-14 Thread Andreas Jung
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 15.01.2009 4:36 Uhr, Sebastian Bartos wrote:
> Hello there,
> 
> I'm just curious, do the Zope 3 developers think about Python 3 and if
> yes, what?
> 
> I mean, there is a lot of hype going on, but of course 2.6 is perfectly
> fine and here on Ubuntu the standard Zope 3 instance even uses 2.4 which
> also works out good.
> 
> As far as I know, there is even more legacy stuff in there dating back
> to python 2.3. (Thinking about the datetime stuff that is bugging me
> every once in a while).
> 
> This is all not a problem now, but may be biting some time in the
> foreseeable future, and the changes in 3.0 are not that big for the API
> - from what I read - to make migration too hard.
>

This issue has been discussed already a bunch of times either on this
list or the zope-dev list. So please check the archives.

- -aj
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAklu0H0ACgkQCJIWIbr9KYwYQwCgp1X8SscCw1A4eMvX45zceOr8
QG0An3zdbPhDbuYy2/wTZ8Nw281L5jyu
=Haxs
-END PGP SIGNATURE-
begin:vcard
fn:Andreas Jung
n:Jung;Andreas
org:ZOPYX Ltd. & Co. KG
adr;quoted-printable:;;Charlottenstr. 37/1;T=C3=BCbingen;;72070;Germany
email;internet:i...@zopyx.com
title:CEO
tel;work:+49-7071-793376
tel;fax:+49-7071-7936840
tel;home:+49-7071-793257
x-mozilla-html:FALSE
url:www.zopyx.com
version:2.1
end:vcard

___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


Re: [Zope3-Users] Is zope3 dead?

2008-12-23 Thread Andreas Jung

On 23.12.2008 9:21 Uhr, Alek wrote:

Anyway, still both the list traffic and wiki traffic seem to be much
lower than eg. one year ago.
I'm glad the development goes on, but publishing info about new releases
of Known Good Sets would be nice - otherwise the 1sttimers (or people
like me, who haven't worked with zope for some time) don't know about
that \



Keep in mind that the Zope component became very mature over the last 
years and as Jim pointed out the goal of the Zope 3 project were 
reached. IN addition: the whole community has split up over the years 
into other projects like Grok (the Grok list is very active).


-aj
begin:vcard
fn:Andreas Jung
n:Jung;Andreas
org:ZOPYX Ltd. & Co. KG
adr;quoted-printable:;;Charlottenstr. 37/1;T=C3=BCbingen;;72070;Germany
email;internet:i...@zopyx.com
title:CEO
tel;work:+49-7071-793376
tel;fax:+49-7071-7936840
tel;home:+49-7071-793257
x-mozilla-html:FALSE
url:www.zopyx.com
version:2.1
end:vcard

___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


Re: [Zope3-Users] Is zope3 dead?

2008-12-21 Thread Andreas Jung
Replace "Zope 3" with "Zope component architecture" or "Zope web 
components". That's where we are: Zope 3 was always a set of components. 
Since some time every individual module has its own
lifecycle and its own releases. Those components are widely use in 
various projects (Plone, Zope 2, Grok, Repozse, other Python projects). 
Don't expect any further "Zope 3" release - expect that the individual
components will ongoing improvements over time. The core components are 
very mature and the goal splitting Zope up into pieces is basically 
achived (according to Jim Fulton)


-aj

On 21.12.2008 19:18 Uhr, Alek wrote:

For some time, I have a bad, worrisome feeling that Zope3 development
pace has slew down.
Today looked to zope wiki and discovered that there are virtually no new
articles. I've also found that last release is almost one year old and
zope 3.4.0c0 is not even a real release, but a release candidate.
Someone would say: /hey, but maybe the development has just been
decentralized? Zope 3.4 is the first eggified release, so maybe the
development just moved to eggs (z3c.* and others)/.
But I digged deeper and searched for some stats of Zope3-Users traffic,
thanks to google. What I found I have published on a chart at
http://pmiblog.blox.pl/2008/12/Is-Zope3-Dead.html. The traffic is at
least half lower in 2008 than in 2007.

Maybe the traffic moved somewhere else - to Wiki? This hypothesis
haven't worked: I looked to zope 3 wiki and:

* the last new topic is 3 months old
* last month there is one edit of a topic
* After July 2008 there was not a one month with more than 5 edits.

To summarize: It seems that zope3 development and engegement have been
stalled for over half a year.
Any thoughts? Have I missed some switch to other communication channels?
Or maybe grok really took away all hearts and souls?
What are the causes of the slowdown? Or maybe I just misinterpret the
symptoms?

Warm Regards,
Alek




___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users



--
ZOPYX Ltd. & Co. KG - Charlottenstr. 37/1 - 72070 Tübingen - Germany
Web: www.zopyx.com - Email: i...@zopyx.com - Phone +49 - 7071 - 793376
Registergericht: Amtsgericht Stuttgart, Handelsregister A 381535
Geschäftsführer/Gesellschafter: ZOPYX Limited, Birmingham, UK

E-Publishing, Python, Zope & Plone development, Consulting

begin:vcard
fn:Andreas Jung
n:Jung;Andreas
org:ZOPYX Ltd. & Co. KG
adr;quoted-printable:;;Charlottenstr. 37/1;T=C3=BCbingen;;72070;Germany
email;internet:i...@zopyx.com
title:CEO
tel;work:+49-7071-793376
tel;fax:+49-7071-7936840
tel;home:+49-7071-793257
x-mozilla-html:FALSE
url:www.zopyx.com
version:2.1
end:vcard

___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


Re: [Zope3-Users] Zope3 and SQLAlchemy

2008-11-18 Thread Andreas Jung

Use zope.sqlalchemy for integration with the Zope transaction system.
You can directly use the declarative layer of SQLAlchemy out-of-the-box.
This is basically you want.

Andreas


On 18.11.2008 13:06 Uhr, Thierry Florac wrote:

Hi,

I currently have to integrate an SQL database (PostgreSQL, with PostGIS
extensions) into my Zope3 application.
I'd like to use SQLAlchemy to handle this, and I've seen that several
packages are available : z3c.zalchemy, z3c.sqlalchemy,
zope.sqlalchemy...

So my questions are simple :
  - what package is the best to plug into my Zope (3.3.1) application ?
  - do all these packages handle the same features ??

Thanks for any information,

   Thierry Florac



--
ZOPYX Ltd. & Co. KG - Charlottenstr. 37/1 - 72070 Tübingen - Germany
Web: www.zopyx.com - Email: [EMAIL PROTECTED] - Phone +49 - 7071 - 793376
Registergericht: Amtsgericht Stuttgart, Handelsregister A 381535
Geschäftsführer/Gesellschafter: ZOPYX Limited, Birmingham, UK

E-Publishing, Python, Zope & Plone development, Consulting

begin:vcard
fn:Andreas Jung
n:Jung;Andreas
org:ZOPYX Ltd. & Co. KG
adr;quoted-printable:;;Charlottenstr. 37/1;T=C3=BCbingen;;72070;Germany
email;internet:[EMAIL PROTECTED]
title:CEO
tel;work:+49-7071-793376
tel;fax:+49-7071-7936840
tel;home:+49-7071-793257
x-mozilla-html:FALSE
url:www.zopyx.com
version:2.1
end:vcard

___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


Re: [Zope3-Users] Will new release of zope3 include TSL/SSL in zope.sendmail

2008-11-06 Thread Andreas Jung

On 06.11.2008 10:31 Uhr, Jayarajan Jn wrote:

Hi ALL,

When will the next release of zope3 will be? will there be a zope3.4c2?
By the way i wish to know whether next release will include the latest
release of zope.sendmail which has TSL/SSL feature.

I have noticed that last release, zope3.4c01 was on 31 Jan 2008.

http://www.zope.org/Products/Zope3/3.4.0c1

And the zope.sendmail has trunked SSL/TLS feature on 19th Aug 2008.


You mean 2007!


http://svn.zope.org/zope.sendmail/trunk/src/zope/sendmail/mailer.py?rev=92747&sortby=log&view=log


So its obvious that zope3.4c01 don't have SSL/TLS feature in its
zope.sendmail. And i have seen some other many other fixes in the
zope.sendmail that enables it to work well with gmail and similar



Those changes should be at least in the latest zope.sendmail 3.5.X
releases. In the time of components and buildout you should be able to 
upgrade the zope.sendmail dependency easily yourself.


-aj
begin:vcard
fn:Andreas Jung
n:Jung;Andreas
org:ZOPYX Ltd. & Co. KG
adr;quoted-printable:;;Charlottenstr. 37/1;T=C3=BCbingen;;72070;Germany
email;internet:[EMAIL PROTECTED]
title:CEO
tel;work:+49-7071-793376
tel;fax:+49-7071-7936840
tel;home:+49-7071-793257
x-mozilla-html:FALSE
url:www.zopyx.com
version:2.1
end:vcard

___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


Re: [Zope3-Users] Zope 3 tutorial

2008-11-03 Thread Andreas Jung

On 04.11.2008 7:05 Uhr, Jaideep Das wrote:

I am looking for a good tutorial for latest zope 3. I was following the
tutorial http://www.benjiyork.com/quick_start/ but its not working with
new version of zope3(3.3.1). So was looking for something latest and up
to date.



http://www.muthukadan.net/docs/zca.html
http://wiki.zope.org/zope3/ComponentArchitecture

And there is of course Philipp von Weiterhausen's book 
(must-read-must-have) and almost every module of the CA has extensive 
doctests.


-aj
begin:vcard
fn:Andreas Jung
n:Jung;Andreas
org:ZOPYX Ltd. & Co. KG
adr;quoted-printable:;;Charlottenstr. 37/1;T=C3=BCbingen;;72070;Germany
email;internet:[EMAIL PROTECTED]
title:CEO
tel;work:+49-7071-793376
tel;fax:+49-7071-7936840
tel;home:+49-7071-793257
x-mozilla-html:FALSE
url:www.zopyx.com
version:2.1
end:vcard

___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


Re: [Zope3-Users] ZODB database conflict error

2008-06-24 Thread Andreas Jung



--On 24. Juni 2008 10:45:48 +0200 Gregor Giesen <[EMAIL PROTECTED]> 
wrote:



Dear Andreas,

thank your for your response.


> under heavy load of my zope application I got the following error:
>
>   WARNING ZopePublication Competing writes/reads at ... database
> conflict error (oid 0x03a272, class BTrees.OIBTree.OIBucket, serial
> this txn started with 0x0376b0db577575cc 2008-06-24 06:51:20.498163,
> serial currently committed 0x0376b0dc374f1244 2008-06-24
> 06:52:12.963017)
>
> This is due to many reads and writes (adding objects) to a BTreeFolder.
> So my questions are:
> 1. How can I increase the number of retries to resolve the conflict?

I think this might be a quick workaround for my production instance.


At least in Zope 2 there is a variable "retry_max_count' within in the 
ZPublisher. Likely there is something similar within the Zope 3 publisher.

I would grep for "3" :-)




> 2. I think this might be a design problem of my application; should I
> use another backend for storing such data (sql, etc.)?



How about application specific conflict resolution (_p_resolveConflict()
hook)? How about using a nested folder structure in order to reduce the
number of conflicts?

I thought about _p_resolveConflict, but I don't see how to catch up this
conflict on my BTreeFolder derived class. Maybe I should give up the
BTrees and use an ordinary container implementation?



This would make your problem even worser.

-aj



pgpueQ4qi1T8n.pgp
Description: PGP signature
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


Re: [Zope3-Users] ZODB database conflict error

2008-06-24 Thread Andreas Jung



--On 24. Juni 2008 09:46:23 +0200 Gregor Giesen <[EMAIL PROTECTED]> 
wrote:



Hi,

under heavy load of my zope application I got the following error:

  WARNING ZopePublication Competing writes/reads at ... database
conflict error (oid 0x03a272, class BTrees.OIBTree.OIBucket, serial this
txn started with 0x0376b0db577575cc 2008-06-24 06:51:20.498163, serial
currently committed 0x0376b0dc374f1244 2008-06-24 06:52:12.963017)

This is due to many reads and writes (adding objects) to a BTreeFolder.
So my questions are:
1. How can I increase the number of retries to resolve the conflict?
2. I think this might be a design problem of my application; should I
use another backend for storing such data (sql, etc.)?



How about application specific conflict resolution (_p_resolveConflict() 
hook)? How about using a nested folder structure in order to reduce the 
number of conflicts?


-aj

pgpUDjQJ7TIua.pgp
Description: PGP signature
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


Re: [Zope3-Users] z3c.zalchemy - which version to use?

2008-05-07 Thread Andreas Jung



--On 7. Mai 2008 15:41:11 +0200 Hermann Himmelbauer <[EMAIL PROTECTED]> wrote:




If none does, what about z3c.sqlalchemy?



The release notes are clear about that: V 1.0.X -> SA 0.3.X,
V 1.1.X -> SA 0.4.X

-aj

pgp2JPncbOJno.pgp
Description: PGP signature
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


Re: [Zope3-Users] TextIndexNG ranking questions

2008-04-15 Thread Andreas Jung



--On 15. April 2008 13:46:09 +0200 Thierry Florac <[EMAIL PROTECTED]> 
wrote:



Le mardi 15 avril 2008 à 13:18 +0200, Andreas Jung a écrit :

Using the ranking of TextIndexNG makes basially only sense when you
perform  a query against the index alone - not in combination with
queries against  other fields.


Yes, that's what I thought... :-(
So is there an easy way to "intersect" the results of several distinct
queries, so that the results order provided by TextIndexNG and following
ranking is kept ??


Intersection is likely possible. However I don't know about the 
implementation of hurry.catalog or the other related Zope 3 components.

Performing two queries and intersecting the results (e.g. given by paths,
UIDs or whatever) is basically supported through the various BTree types
or Zope or by Python's set module..

Andreas

pgp9qefjusFhX.pgp
Description: PGP signature
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


Re: [Zope3-Users] TextIndexNG ranking questions

2008-04-15 Thread Andreas Jung



--On 15. April 2008 12:51:15 +0200 Thierry Florac <[EMAIL PROTECTED]> 
wrote:




  Hi,

I'm currently using TextIndexNG-3.2.0 as well as other zc.catalog
indexes in a Zope-3.3.1 application.
Indexing several fields as well as external files seems OK, but now I'm
facing a few interrogations about searching and ranking :

1. I've created TXNG indexes with a "term_frequencies" storage and
ranking enabled => OK

2. I'm now using "hurry.query" package to run queries on a set of
catalogs ; it's generally OK but my main question are :

- how can I use TXNG ranking feature when running a single query against
several indexes (actually I have to run queries against several
ValueIndex indexes, matching workflow status and publication date, and
one or two TextIndexNG indexes -- one for title and another one for
content) ? How can I be sure that my results order is matching
ranking ??


Using the ranking of TextIndexNG makes basially only sense when you perform 
a query against the index alone - not in combination with queries against 
other fields.


Andreas

pgphuyLLaK9AY.pgp
Description: PGP signature
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


Re: [Zope3-Users] Re: [Zope-dev] Zope 3.4.0 candidate 1 Released

2008-03-27 Thread Andreas Jung



--On 27. März 2008 18:26:01 +0100 Kurt Zitze <[EMAIL PROTECTED]> wrote:


if you want to raise the userbase of zope, the first and most obvious
thing to do is, get a forum running! mailing lists are bu*** and
completly out of date. it is max cumbersome to login into your email
account to do a post and so on, i think i dont need to enumerate all the
disadvantages of a mailing list compared to a forum. i am even not aware
of how to replay to a certain message with this mailing list. why make it
difficult if it could be easy? just get a forum and you have done 50% of
the things you could do to improve the development experience with zope.


Almost all open-source projects use email and mailinglist for communiction.
At least developers and advanced users use this media. That's why you won't 
see advanced users in web-based forums. Means the web forums are often 
ghetto for newbies. If you need a web forum so you're free to open an. But 
I would expect that not  a lot of the competent people are interested in 
dealing with yet another support channel. Sorry, but mailinglists are the 
primary information and support channel in the open-world...there were you 
meet the experts.


Andreas

pgpJw2xq1tmb7.pgp
Description: PGP signature
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


Re: [Zope3-Users] Stability problem of zope3

2008-03-02 Thread Andreas Jung



--On 3. März 2008 11:16:24 +0800 Yuan HOng <[EMAIL PROTECTED]> wrote:


Hi,

I have jsut moved a production site from Zope2 to Zope3. I used
zopeproject to download the necessary eggs and started my site using
paste serve deploy.ini.

Under moderate traffic however, the site stops responding soon. I have
to regularily restart the server.

When the site stops responding, 'ps -Af | grep python2.5' shows
hundreds of process of paster running. And the process number
increases with time rapidly, like:


The official Python version for Zope 3.3/3.4 is Python 2.4, not 2.5.

Andreas

pgpcw6kAVhWEQ.pgp
Description: PGP signature
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


Re: [Zope3-Users] Zope 3 hosting provider

2008-02-08 Thread Andreas Jung



--On 8. Februar 2008 22:53:15 -0800 Douglas Cerna <[EMAIL PROTECTED]> 
wrote:



Hi everyone.

I want to develop a website using Zope 3, but I need a
 hosting provider that meets the "3" requirement.


Search for a provider where you can get shell access and where you are able
to install your own Python software and related modules. There is nothing
special about the "3" requirement. You just need shell access. So a 
dedicated root server or virtual servers will do the job.


-aj

pgpKpmpWPpY9i.pgp
Description: PGP signature
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


Re: [Zope3-Users] WorldCookery sample application

2007-10-17 Thread Andreas Jung



--On 17. Oktober 2007 20:38:51 +1300 Andrew Groom <[EMAIL PROTECTED]> 
wrote:



Hi All,

Has anyone managed to get the worldcookery application from
worldcookery.com to run ? I get a number of import errors when installing
it in a Zope 3.2.1 instance.



We're right now on Zope 3.3 (almost 3.4). In addition you might provide
detailed informations about what "number of import errors" means...provide
the traceback please.

-aj

pgpq380U2scTB.pgp
Description: PGP signature
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


Re: [Zope3-Users] best way to get started nowadays?

2007-09-22 Thread Andreas Jung



--On 22. September 2007 12:48:32 +0100 Chris Withers 
<[EMAIL PROTECTED]> wrote:



Hey All,

I need a little time tracking app so I thought I'd knock it up in Zope 3
with a ZODB backing, just to check on the latest and greatest way to
build a Zope 3 app.

So, what *is* the "standard" way now and where can I read about how to do
it?



GROK?

-aj

pgptlSoiqM9o9.pgp
Description: PGP signature
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


Re: [Zope3-Users] help using openflow

2007-09-21 Thread Andreas Jung



--On 21. September 2007 10:13:23 -0400 Aryeh Katz <[EMAIL PROTECTED]> 
wrote:



I've installed openflow into a USER's zope instance, and I'm unable to see
the Product from within the zope web pages.
Don't see any errors, but the openflow product simply doesn't show up
anywhere.
I tried installing into $USER//lib/python/Products and
$USER//lib/python and it still doesn't show up.



Openflow is a Zope 2 application. Either you're on the wrong list or your 
doing something unsupported.


-aj

pgpUvO38xjaDS.pgp
Description: PGP signature
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


Re: [Zope3-Users] Zope3 still not compatible with Python2.5

2007-09-08 Thread Andreas Jung



--On 8. September 2007 12:00:48 -0400 Jim Washington <[EMAIL PROTECTED]> wrote:


For now, anyway.  There is work going on, but it is not ready yet.

Well, it was an interesting experiment, and I thought I would write it
up for the group.

Gentoo recently made 2.5 the system default python.  I have been a
couple of days trying to track down why things had broken.  Yes, I know
-- system default python is bad, but I compile it all (it's Gentoo!), so
the UCS2 vs UCS4 thing is not a problem, etc., etc.


Python 2.4 is still the only supported Python version for Zope 2 and Zope 3.
You have to install in your case a self-compiled Python 2.4 and compile 
your Zope with this custom interpreter. That's the way to go right now.


-aj

pgpY3ezNiCbRJ.pgp
Description: PGP signature
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


[Zope3-Users] Re: ZCML directives/InterfaceField?

2007-09-02 Thread Andreas Jung

Tnx, works like a charm.

-aj

--On 2. September 2007 13:08:57 +0200 Philipp von Weitershausen 
<[EMAIL PROTECTED]> wrote:



Andreas Jung wrote:

I need to write a custom ZCML directive that takes a list of interfaces
- something like

  interfaces="Products.Foo.intefaces.IXXX,
Products.Foo.interfaces.IYYY,..."


We usually do it without the comma, just separated by whitespace.


What is the recommended way to specify 'interfaces' within the schema
definition (as InterfaceField or as TextLine)?

InterfaceField did not work out-of-the-box complaining about a missing
fromUnicode attribute.

With a TextLine: what is the recommended way to get hold of the interface
represented by a string? Is there some magic available somewhere in Zope
3?


You won't ever have to resolve an interface name yourself. We have fields
for this. Here's the field definition for your use case above (multiple
interfaces separated by whitespace):


 interfaces = zope.configuration.fields.Tokens(
 title=...,
 description=...,
 required=True,
 value_type=zope.configuration.fields.GlobalInterface()
 )



--
http://worldcookery.com -- Professional Zope documentation and training




--
ZOPYX Ltd. & Co. KG - Charlottenstr. 37/1 - 72070 Tübingen - Germany
Web: www.zopyx.com - Email: [EMAIL PROTECTED] - Phone +49 - 7071 - 793376
Registergericht: Amtsgericht Stuttgart, Handelsregister A 381535
Geschäftsführer/Gesellschafter: ZOPYX Limited, Birmingham, UK

E-Publishing, Python, Zope & Plone development, Consulting


pgppurezTFzlH.pgp
Description: PGP signature
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


[Zope3-Users] ZCML directives/InterfaceField?

2007-09-02 Thread Andreas Jung

Hi,

I need to write a custom ZCML directive that takes a list of interfaces - 
something like


  interfaces="Products.Foo.intefaces.IXXX, 
Products.Foo.interfaces.IYYY,..."


What is the recommended way to specify 'interfaces' within the schema
definition (as InterfaceField or as TextLine)?

InterfaceField did not work out-of-the-box complaining about a missing
fromUnicode attribute.

With a TextLine: what is the recommended way to get hold of the interface
represented by a string? Is there some magic available somewhere in Zope 3?

Tnx,
Andreas

--
ZOPYX Ltd. & Co. KG - Charlottenstr. 37/1 - 72070 Tübingen - Germany
Web: www.zopyx.com - Email: [EMAIL PROTECTED] - Phone +49 - 7071 - 793376
Registergericht: Amtsgericht Stuttgart, Handelsregister A 381535
Geschäftsführer/Gesellschafter: ZOPYX Limited, Birmingham, UK

E-Publishing, Python, Zope & Plone development, Consulting


pgpPN49rMojq4.pgp
Description: PGP signature
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


Re: [Zope3-Users] z3c.zalchemy / z3c.sqlalchemy

2007-07-17 Thread Andreas Jung



--On 17. Juli 2007 14:43:27 +0200 Thierry Florac <[EMAIL PROTECTED]> 
wrote:




  Hi,

I'm looking for packages to ease integration of SQLAlchemy and Zope3.
I found the two references listed into this message's subject and was
wondering if there was any link between then, if both of them are
up-to-date and actively maintained, and what where the benefits of using
any or both of them...


z3c.sqlalchemy (written by myself) is actively maintained in will be used
in several upcoming projects. The goals and usecases covered by 
z3c.sqlalchemy are documented on the cheeseshop project page. z3c.zalchemy 
isn't actively maintained as far from what I heard some weeks ago. 
z3c.zalchemy tries to approach problems I did not have or I did not 
understand. It's a bit more Zope 3 oriented while z3c.sqlalchemy works

fine on Zope 2 and Zope 3. To add another choice: collective.lead by
Martin Aspeli.

-aj

pgpz0jrfWHeLG.pgp
Description: PGP signature
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


[Zope3-Users] [buildout] console_scripts not created

2007-07-15 Thread Andreas Jung

I am playing around with buildout using the following
configuration file:

[buildout]
parts = test
develop = .

[test]
recipe = zc.recipe.testrunner
eggs = zopyx.convert
  zopyx.slimp

Both eggs define console_scripts (which actually work
when easy_install-ing the eggs). However running buildout
won't create any script (although it should according
to the Jim's buildout tutorial)..anything I am missing?

Andreas



pgps36RmVRS9W.pgp
Description: PGP signature
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


Re: [Zope3-Users] [Zope3.0] How to unregister an utility?

2007-06-09 Thread Andreas Jung



--On 9. Juni 2007 14:17:14 +0530 Shailesh Kumar <[EMAIL PROTECTED]> wrote:


from zope.component.globalregistry import getGlobalSiteManager
gsm = getGlobalSiteManager()
gsm.unregisterUtility(component=None, provided=None, name=u'')



This won't work with Zope 2.8, however the following code works:

+from zope.component.servicenames import Utilities
+from zope.app import zapi
+s = zapi.getGlobalServices().getService(Utilities)
+s.register((), ISQLAlchemyWrapper, self.util_id, None)

Unfortunately this code does not work with Zope 2.9 and the related code 
for Zope 2.10 also does not work with Zope 2.9 :-)


In-CA-we-trust,
Andreas

pgplo7qMktOqM.pgp
Description: PGP signature
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


[Zope3-Users] [Zope3.0] How to unregister an utility?

2007-06-09 Thread Andreas Jung
I have an application where I need to register and unregister a named 
utility at runtime. In Zope 3.3 we have zope.component.unregisterUtility().

Is there something available in Zope 3.0 (as still used in Zope 2.8)?

Andreas


pgpO3rVS28Ed2.pgp
Description: PGP signature
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


Re: [Zope3-Users] Any Word On When Zope 3 Will Support Python 2.5

2007-03-26 Thread Andreas Jung



--On 26. März 2007 11:01:14 -0400 "Mark, Jonathan (Integic)" 
<[EMAIL PROTECTED]> wrote:



I prefer to do all of my Python development in Python 2.5. Is there any
word on when Zope 3 will support the current version of Python?


Python 2.5 support isn't currently on the agenda. At least not for Zope 3.4.
You might check the archives of zope3-dev.

-aj

pgpNmPCcRvsx8.pgp
Description: PGP signature
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


[Zope3-Users] [German Zope Conference] Reminder: Call for Papers open

2007-03-26 Thread Andreas Jung


Dear Zope Community,

the eighth Zope conference organized by the German Zope User Group (DZUG) 
will be held this year at the Potsdam Institute for Climate Impact Research

from 4. to 5 June 2007 (near Berlin). The topic of the conference will be

   Zope in sciences.

Proposals for talks and workshops can be submitted until 01.04.2007

http://www.zope.de/redaktion/dzug/tagung/potsdam-2007/dzug-conference-2007-call-for-papers-zope-in-science

or

http://www.zope.de/redaktion/dzug/tagung/potsdam-2007/dzug-conference-2007-call-for-papers-zope-in-science

Both German and English proposals are highly welcome.

You can find further information about the Zope conference here:

  http://www.zope.de/8-dzug-tagung


Regards,
Andreas Jung
Assistant Chairman DZUG e.V.



pgpX3XC3Rw03t.pgp
Description: PGP signature
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


Re: [Zope3-Users] Unicode for Stupid Americans (like me)?

2007-02-28 Thread Andreas Jung



--On 28. Februar 2007 01:21:41 -0700 Jeff Shell <[EMAIL PROTECTED]> 
wrote:



  - HOW do I know what a browser has sent me? There doesn't seem to be

a real way of handling this. Do I guess?

- Know without a doubt when to encode, and when to decode. I guess the
"proper" thing to do is to store everything as unicode, and to decode
to unicode as early as possible when input is coming in. But again,
how do I know when to decode from latin-1 and when to decode from
UTF-8? When or why should I encode to one or the other at response
time? Should I worry at all?



There general rules are:

- *always* use unicode strings (*NOT* UTF-8 encoded strings) internally for
  storage and processing

- convert incoming data to unicode, convert outgoing data (for 
presentation) from unicode to some output encoding


- if you run a website using utf8 encoding (you ensure that the 
content-type header include the 'charset' is set properly) you are on the 
safe side that the data passed back is utf-8. In addition you might check 
the 'accept-charset' header of the  tag.


-aj

pgpsjYYYWIfyd.pgp
Description: PGP signature
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


[Zope3-Users] Using zope.component outside Zope 3-how to bootstrap the registries

2007-02-16 Thread Andreas Jung

I am trying to use zope.component (Zope3 3.0) within a Python module
(not running the whole Zope 3 boilerplate). I want to register a utility.
What is the correct way to setup the registries (in particular the Utility
registry) in order to register utilities?

Andreas

pgpbf44gSXBxE.pgp
Description: PGP signature
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


Re: [Zope3-Users] Audio vedio Device Managementquery

2007-02-01 Thread Andreas Jung



--On 1. Februar 2007 18:16:19 +0530 Vijaykumar B <[EMAIL PROTECTED]> 
wrote:



Hi All,
Can some one please help to know how can a audio and vedio device attched
to
the client system be detected.
I mean to say when ever a user(client ) open the page how can i know which
audio abd vedio device is he using.


What has a client side detection of *something* to do with a server-side
application like Zope?

-aj

pgpU02AAAJQt4.pgp
Description: PGP signature
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


[Zope3-Users] [German Zope Conference] Call for papers open

2007-01-31 Thread Andreas Jung

From: Andreas Jung <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED], zope@zope.org, 
zope-announce@zope.org,

zope-dev@zope.org
Subject: [Zope-Annce] [German Zope Conference] Call for Papers open
Date-Sent: 1. Februar 2007 08:06:52

Dear Zope Community,

the eighth Zope conference organized by the German Zope User Group (DZUG) 
will be held this year at the Potsdam Institute for Climate Impact Research

from 4. to 5 June 2007 (near Berlin). The topic of the conference will be

   Zope in sciences.

Proposals for talks and workshops can be submitted until 01.04.2007;

http://www.zope.de/redaktion/dzug/tagung/potsdam-2007/dzug-conference-2007-call-for-papers-zope-in-science

or

http://www.zope.de/redaktion/dzug/tagung/potsdam-2007/dzug-conference-2007-call-for-papers-zope-in-science

Both German and English proposals are highly welcome.

You can find further information about the Zope conference here:

  http://www.zope.de/8-dzug-tagung


Regards,
Andreas Jung
Assistant Chairman DZUG e.V.


pgpog2zZJ8DBL.pgp
Description: PGP signature
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


[Zope3-Users] Schema support for chunked data?

2006-12-29 Thread Andreas Jung
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Do we have a field type for storing large binary data (graphics etc.)  as 
part of the Zope 3 schema - similar to PData implementation of OFS.Image in 
Zope 2?

Andreas
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (Darwin)

iD8DBQFFlVYlCJIWIbr9KYwRAhICAJ9w73D+Ug1wDpKCEMpPc9ZdNOeP/ACfewzx
8/Dsue9iGZC+6Z0lEMQwW3A=
=XV85
-END PGP SIGNATURE-

___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


Re: [Zope3-Users] Can I open "data.fs" file in R/W with ZODB in two programs (two process, no thread) at the same time ?

2006-12-05 Thread Andreas Jung
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1



- --On 5. Dezember 2006 19:13:05 +0100 KLEIN Stéphane 
<[EMAIL PROTECTED]> wrote:

> Hi,
>
> Can I open "data.fs" file in R/W with ZODB in two programs (two
> process, no thread) at the same time ? If not, is there other ZODB
> storage system
> to do that ?


You want to use ZEO for such purposes.

- -aj
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFFdbhWCJIWIbr9KYwRAng4AJ9tzJ+homtY14qaJQAUzrh2CtPh6wCgluqh
CNSJuTswFUYvYpTdGeaY2gk=
=gi4B
-END PGP SIGNATURE-

___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


[Zope3-Users] zope.dottedname.resolve.resolve() issue

2006-11-11 Thread Andreas Jung

Inside a Zope 2 application I am trying to to use the resolve() method to
import some interfaces and classes by name in order to attach additional
interfaces to classes. However something like

resolve('Products.Foobar.interfaces.IFoobar')

won't work if Products/Foobar exists in $INSTANCE_HOME. This is intended 
behavior or just a flaw?


Andreas

pgpSE4giLRRZD.pgp
Description: PGP signature
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


Re: [Zope3-Users] zope3's TAL & ZPT reference

2006-08-07 Thread Andreas Jung



--On 7. August 2006 14:57:16 +0200 Michele Amori 
<[EMAIL PROTECTED]> wrote:



Hello all,
actually I'm a zope newbie. I must develop web applications with zope
3.2, in  the next future, so I'd like some help from this ML.
I'm searching for a ZPT (or TAL) reference for Zope 3...where is it?



Look at the Zope Book 2.7 Edition. It has two ZPT chapters and a reference.

-aj

pgpUTZ7Km2WSR.pgp
Description: PGP signature
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


Re: [Zope3-Users] undefined symbol: PyUnicodeUCS4_AsEncodedString

2006-06-25 Thread Andreas Jung



--On 25. Juni 2006 20:06:34 +0200 bussiere maillist 
<[EMAIL PROTECTED]> wrote:



i've got only one version of python on my debian,
i've compiled zope with that one (the 2.4.3)




ImportError: /opt/Zope3/lib/python/zope/proxy/_zope_proxy_proxy.so:
undefined symbol: PyUnicodeUCS4_AsEncodedString


I doubt that. This error indicates that your Zope runs with another Python 
interpreter than the one used for compiling Zope.


-aj


pgpn1R9vNulBw.pgp
Description: PGP signature
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


Re: [Zope3-Users] Render ZPT template to send rich-text HTML mail

2006-06-01 Thread Andreas Jung



--On 1. Juni 2006 16:49:54 +0200 Andreas Jung <[EMAIL PROTECTED]> wrote:




--On 1. Juni 2006 16:32:35 +0200 [EMAIL PROTECTED] wrote:


Hi,
I need to send some rich-text (HTML) mail, containing information based
on many objects. It would be nice to render it using ZPT provided by Zope
instead of manual creation of HTML text.

Can I (ab)use ZPT for such purpose? I need to design ZPT template and
write corresponding View object.  How to wire together the ZPT template
and corresponding View object to render a HTML message and send it using
mail utility?



Look at Chris Wither's MailTemplates product.


Ups, I missed that this issue was Zope 3 related :-)

-aj



--
ZOPYX Ltd. & Co. KG - Charlottenstr. 37/1 - 72070 Tübingen - Germany
Web: www.zopyx.com - Email: [EMAIL PROTECTED] - Phone +49 - 7071 - 793376
E-Publishing, Python, Zope & Plone development, Consulting


pgp8Da6nilJzV.pgp
Description: PGP signature
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


Re: [Zope3-Users] Render ZPT template to send rich-text HTML mail

2006-06-01 Thread Andreas Jung



--On 1. Juni 2006 16:32:35 +0200 [EMAIL PROTECTED] wrote:


Hi,
I need to send some rich-text (HTML) mail, containing information based
on many objects. It would be nice to render it using ZPT provided by Zope
instead of manual creation of HTML text.

Can I (ab)use ZPT for such purpose? I need to design ZPT template and
write corresponding View object.  How to wire together the ZPT template
and corresponding View object to render a HTML message and send it using
mail utility?



Look at Chris Wither's MailTemplates product.

-aj

--
ZOPYX Ltd. & Co. KG - Charlottenstr. 37/1 - 72070 Tübingen - Germany
Web: www.zopyx.com - Email: [EMAIL PROTECTED] - Phone +49 - 7071 - 793376
E-Publishing, Python, Zope & Plone development, Consulting


pgpXh7QFGMsqw.pgp
Description: PGP signature
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


Re: [Zope3-Users] Problem with Umlauts

2006-05-08 Thread Andreas Jung



--On 8. Mai 2006 22:16:24 +0200 Egon Frerich <[EMAIL PROTECTED]> wrote:


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi Florian,

do you have the first line

# -*- coding: utf8 -*-

in your python module? And is the source encoded in UTF-8?


huh? what has the source encoding to do with how unicode strings
are encoded on the output side?

-aj

--
ZOPYX Ltd. & Co. KG - Charlottenstr. 37/1 - 72070 Tübingen - Germany
Web: www.zopyx.com - Email: [EMAIL PROTECTED] - Phone +49 - 7071 - 793376
E-Publishing, Python, Zope & Plone development, Consulting


pgpGqUnLrPrqt.pgp
Description: PGP signature
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


Re: [Zope3-Users] Problem with Umlauts

2006-05-08 Thread Andreas Jung



--On 8. Mai 2006 21:36:26 +0200 Florian Lindner <[EMAIL PROTECTED]> wrote:


Hello,
I have an schema like that:

class IAbbreviation(Interface):
abbreviation = TextLine(
title = u"Abkürzung",
required = True)

meaning = TextLine(
title = u"Bedeutung",
required = True)

description = TextLine(
title = u"Erklärung",
required = False)


but in all Forms (ZMI or formlib generated) the German Umlauts are
displayed  like "Abkürzung" which should be "Abkürzung".



Likely you need to send a "content-type: text/html; charset=utf-8" header

-aj

--
ZOPYX Ltd. & Co. KG - Charlottenstr. 37/1 - 72070 Tübingen - Germany
Web: www.zopyx.com - Email: [EMAIL PROTECTED] - Phone +49 - 7071 - 793376
E-Publishing, Python, Zope & Plone development, Consulting


pgpwW1WlAeDHI.pgp
Description: PGP signature
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


Re: [Zope3-Users] ZODB size Limits

2006-04-28 Thread Andreas Jung



--On 28. April 2006 17:43:09 -0700 Keith Bolton 
<[EMAIL PROTECTED]> wrote:



What's the size limit currently for a ZODB running on Zope3.2?



The size of your filesystem? People have ZODBs with up to 100 GB.

-aj

--
ZOPYX Ltd. & Co. KG - Charlottenstr. 37/1 - 72070 Tübingen - Germany
Web: www.zopyx.com - Email: [EMAIL PROTECTED] - Phone +49 - 7071 - 793376
E-Publishing, Python, Zope & Plone development, Consulting


pgpnJyX2HnFHk.pgp
Description: PGP signature
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


Re: [Zope3-Users] newbie question on i18n

2006-04-26 Thread Andreas Jung



--On 26. April 2006 11:14:19 +0200 Riccardo Tonon 
<[EMAIL PROTECTED]> wrote:



Hi everybody,

I'm developing a multilanguage site in Zope 3.

I've just prepared it to support the i18n based on the browser language.

I would like also to let the user decide which language to use. (e.g.
using a combo box present on each page of the site)




Look at PloneLanguageTool and/or LinguaPlone.

-aj

--
ZOPYX Ltd. & Co. KG - Charlottenstr. 37/1 - 72070 Tübingen - Germany
Web: www.zopyx.com - Email: [EMAIL PROTECTED] - Phone +49 - 7071 - 793376
E-Publishing, Python, Zope & Plone development, Consulting


pgpyImroX5xQy.pgp
Description: PGP signature
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


Re: [Zope3-Users] zql

2006-04-23 Thread Andreas Jung



--On 23. April 2006 14:57:52 -0400 Pete Taylor <[EMAIL PROTECTED]> wrote:


hmmm...  i don't guess i disagree with those contentions directly, as
they apply to sql.  but i do think that a query language of some kind
for the zodb would be beneficial.  i have already encounted user-realm
questions on applications i've built that would be more easily
answered with a query language, rather than specific python scripts or
catalogs.  the trouble with catalogs is that until you know you're
going to want to index on and query certain information, you probably
won't build an index for it in the catalog...  and it's a non-trivial
amount of work to make querying the zodb, even with hurry.query, work
the right way.


In reality you don't want to search inside a RDBMS for unindexed data
for performance reasons. This is even more true for Zope since you have to 
read all data of the ZODB..this will be totally inefficient especially

for large installations. Zope object can be very complex: attributes can be
basic Python types, Zope BTrees, hierarchial data etc...how will you define
a query language that covers all use cases? In Zope 2 we have something 
like AdvancedQuery to specify almost generic queries for the ZCatalog..I 
think hurry was inspired by AdvancedQuery. Of course you can define 
something that implements a particular subset of all possibile types and 
query types . But when it comes to the point where the functionality is too 
limited you end up writing you queries based on the functionality the core 
engine gives you.


-aj


--
ZOPYX Ltd. & Co. KG - Charlottenstr. 37/1 - 72070 Tübingen - Germany
Web: www.zopyx.com - Email: [EMAIL PROTECTED] - Phone +49 - 7071 - 793376
E-Publishing, Python, Zope & Plone development, Consulting


pgpQfmsg05mKc.pgp
Description: PGP signature
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


Re: [Zope3-Users] zql

2006-04-23 Thread Andreas Jung



--On 21. April 2006 11:03:48 -0400 Pete Taylor <[EMAIL PROTECTED]> wrote:




i'm going to call a zodb query language zql for now, because i like it
and think it's catchy ;)  ...i know there's a java query parser called
"zql" also, but i'm not proposing a formal name, so i'm going to use
it anyway.  i'd think of zql as just an OQL specific to the zodb.


A long time ago Stefan Richter has written something similar for Zope 2 
(can't remember the name)




zql> select * from myobj;
zql> grant all on mycontainer.* to 'user'@mysite.pau;
zql> grant zope.View on myothercontainer.* to 'user2'@mysite.pau;
zql> commit;


Why do you think it would be necessary or helpful to define a SQL dialect 
(which is designed for a relational data model and not for an 
object-oriented model)? The usecases for SQL are different from the 
usecases when you deal with the ZODB. I doubt that are benefits for 
real-world apps for such an approach.


-aj


--
ZOPYX Ltd. & Co. KG - Charlottenstr. 37/1 - 72070 Tübingen - Germany
Web: www.zopyx.com - Email: [EMAIL PROTECTED] - Phone +49 - 7071 - 793376
E-Publishing, Python, Zope & Plone development, Consulting


pgpp9kJqWYZ3e.pgp
Description: PGP signature
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


Re: [Zope3-Users] Concurrent data access in Zope

2006-04-11 Thread Andreas Jung



--On 11. April 2006 13:26:10 +0200 Achim Domma <[EMAIL PROTECTED]> wrote:




How is access synchronisation to such a structure handled in Zope? What
happens automatically? What do I have to do on my own?



First come, first serves. There is no fancy synchronization. If two threads 
are trying to modify the same object then one thread will receive a 
WriteConflict error. It is up to the app to deal with these kind of errors. 
In the Zope 2 world Zope tries to re-do the current transaction for up to 
three times before the ConflictError is passed up to the application.


-aj


--
ZOPYX Ltd. & Co. KG - Charlottenstr. 37/1 - 72070 Tübingen - Germany
Web: www.zopyx.com - Email: [EMAIL PROTECTED] - Phone +49 - 7071 - 793376
E-Publishing, Python, Zope & Plone development and consulting


pgproi5P5qfwI.pgp
Description: PGP signature
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


Re: [Zope3-Users] zope.viewlet and zope.contentprovider - options for Zope 2 and Plone 3

2006-04-10 Thread Andreas Jung



--On 10. April 2006 05:58:31 -0400 Stephan Richter 
<[EMAIL PROTECTED]> wrote:


I don't think so. The TALES expressions engines in Zope 2 and 3 share the
same  API. So all you need to do is to generate a custom engine. If the
Five  developers port the tales:expressiontype directive, then you can
actually  just use the code as is. ;-)


  - Is it the intention to use the Zope 3 ZPT and TALES engines in Zope
2.10? If not, are they scheduled for some other time? How much work is
needed for this to be a reality?


You'll have to ask Andreas how far his work is.


There are still some little problem when running the unittests for Five 
with the new implementation. I *hope* find some time soon although I am 
more than busy at the moment. Some help would be appreciated to get the 
stuff ready for the 2.10 release.


-aj


--
ZOPYX Ltd. & Co. KG - Charlottenstr. 37/1 - 72070 Tübingen - Germany
Web: www.zopyx.com - Email: [EMAIL PROTECTED] - Phone +49 - 7071 - 793376
E-Publishing, Python, Zope & Plone development and consulting


pgpaZ7Y0I8YwA.pgp
Description: PGP signature
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


Re: [Zope3-Users] ZODB storage ways

2006-04-03 Thread Andreas Jung



--On 3. April 2006 19:13:30 +0200 Marco Mariani <[EMAIL PROTECTED]> 
wrote:





Unfortunately, pickles are not even remotely a SQL datatype... :)



Then look at APE.

-aj

pgpfBF3WyW7k9.pgp
Description: PGP signature
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


Re: [Zope3-Users] ZODB storage ways

2006-04-03 Thread Andreas Jung



--On 3. April 2006 16:10:51 + Reinhold Strobl <[EMAIL PROTECTED]> 
wrote:



Hi,

I am searching for a way to change transparently the storage of ZODB from
file-base to a relational database. In general, Zope books state, that
this is possible.



one solution:



-aj

pgp0ZOv3Pk4YT.pgp
Description: PGP signature
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


Re: [Zope3-Users] Re: ZODB - ways of storages?

2006-03-04 Thread Andreas Jung



--On 4. März 2006 08:40:38 +0100 Andreas Elvers <[EMAIL PROTECTED]> wrote:


Reinhold Strobl wrote:

[...]



So I expect, ZODB is only a front-end for different ways of storage like
file, oracle db, isn't it?


My personal idea of ZODB is some kind of a file system. You can create
container and items. All this is stored in a file called Data.fs. This
file system is mounted on startup by the Zope application server.


The ZODB by itself does not know of hierachies. It's basically a persistent 
storage of key-value pairs. Zope itself introduces the hierarchy and a 
filesystem-like layout by introducing folder-like objects (e.g. 
OFS.ObjectManager).


-aj



pgpCR5tYymaAn.pgp
Description: PGP signature
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


Re: [Zope3-Users] zodb objects backup

2006-02-25 Thread Andreas Jung



--On 26. Februar 2006 01:52:29 +1100 Alen Stanisic 
<[EMAIL PROTECTED]> wrote:




For some reason it doesn't feel completely safe just relying on Data.fs.


That means what? Why shouln't it be safe...please come up with some 
reasonable arguments..


-aj






pgpr7e7QMw0eC.pgp
Description: PGP signature
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


Re: [Zope3-Users] zodb objects backup

2006-02-25 Thread Andreas Jung



--On 26. Februar 2006 00:04:39 +1100 Alen Stanisic 
<[EMAIL PROTECTED]> wrote:



Hello,

what would be the best way of taking a backup of persistent objects
inside Data.fs with possibility to rebuild it on a fresh Zope 3 install
in case of a disaster recovery lets say.



Just backup the Data.fs file.

-aj

pgppCQEp73WCn.pgp
Description: PGP signature
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


RE: [Zope3-Users] test() in TALES in Zope3

2006-02-01 Thread Andreas Jung



--On 1. Februar 2006 14:25:42 +0100 Roger Ineichen <[EMAIL PROTECTED]> wrote:


Don't forget about the better overview in the project if you put
application logic in view classes.
(No more page template reading and macro searching for a code review)



I knew that you love those kind of discussions :-) I agree mostly but there 
are situations where less code and less configuration is more :-)
Something like test() or python: condtion and expr1 or expr2 are more or 
less self-explaining...no need to hide such code just for the sake of 
hiding it.


-aj



pgpW1pEzhY31R.pgp
Description: PGP signature
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


Re: [Zope3-Users] test() in TALES in Zope3

2006-02-01 Thread Andreas Jung



--On 1. Februar 2006 07:56:47 -0500 Gary Poster <[EMAIL PROTECTED]> wrote:



On Feb 1, 2006, at 3:17 AM, Frank Burkhardt wrote:


On Wed, Feb 01, 2006 at 09:04:36AM +0100, Frank Burkhardt wrote:

[snip]




Is this possible?


Impressing simple solution :-) .


FWIW the classic Zope 3 solution is to say "Don't do that in the
template!  Do it in the view class!".  I'll let others add vigor, if
they wish. I just wanted you to know the "purist" answer in case you
cared. ;-)



If you have only one python: statement within your template then a view 
class is pretty much overhead (and a waste of manpower to write it)...


just my 2 cents,
-aj




pgpozO5biEJFD.pgp
Description: PGP signature
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


Re: [Zope3-Users] test() in TALES in Zope3

2006-02-01 Thread Andreas Jung



--On 1. Februar 2006 09:04:36 +0100 Frank Burkhardt <[EMAIL PROTECTED]> wrote:


Hi,

in Zope2 there's a test() method that can be used in TAL (*). Is there
something comparable in Zope3?

I know how to write such a method but how to make it available in the
namespace of TALES-"python:"-expressions? I would like to write
expressions like this:





You can write this in Python as

   condition and true_expression or false_expression

-aj


pgpV4jynQWzQQ.pgp
Description: PGP signature
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


Re: [Zope3-Users] Zope 3 Capacities

2006-01-20 Thread Andreas Jung



--On 20. Januar 2006 10:52:05 +0100 Lennart Regebro <[EMAIL PROTECTED]> 
wrote:



On 1/20/06, Andreas Jung <[EMAIL PROTECTED]> wrote:

It's even worser (due to a calculation error): 10 billion would mean 310
tx/second but 100 billion would mean 3100 tx/second...you should look for
something _bigger_.


3100 WRITE transactions per second? 3100 changed or added objects per
second? Yes, I want to know what kind of web app creates that amount of
data too. ;)



Perhaps the new NSA-we-collect-all-your-data database?

-aj



pgpncvsSeLr0e.pgp
Description: PGP signature
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


RE: [Zope3-Users] Zope 3 Capacities

2006-01-19 Thread Andreas Jung



--On 19. Januar 2006 21:00:15 +0100 Andreas Jung <[EMAIL PROTECTED]> 
wrote:





--On 19. Januar 2006 13:54:55 -0600 David Johnson <[EMAIL PROTECTED]>
wrote:


We're looking at 10-100 billion tx per year stored and performed.



This would be 31-310 tx/second...forget the ZODB :-)


It's even worser (due to a calculation error): 10 billion would mean 310 
tx/second but 100 billion would mean 3100 tx/second...you should look for 
something _bigger_.


-aj

pgpg5pCXBkT2Y.pgp
Description: PGP signature
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


RE: [Zope3-Users] Zope 3 Capacities

2006-01-19 Thread Andreas Jung



--On 19. Januar 2006 13:54:55 -0600 David Johnson <[EMAIL PROTECTED]> 
wrote:



We're looking at 10-100 billion tx per year stored and performed.



This would be 31-310 tx/second...forget the ZODB :-)

-aj

pgpz69nycXjX6.pgp
Description: PGP signature
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


Re: [Zope3-Users] Testing Book?

2006-01-19 Thread Andreas Jung



--On 19. Januar 2006 11:43:02 -0800 Steve Wedig <[EMAIL PROTECTED]> 
wrote:



Hello,

I'm planning to develop a zope 3 web application. Before this, I would
like to read a book about unit testing and test driven development.
Does anyone know a good book about testing that will apply well to
python and zope?



Google for "python unittesting tutorial"-> e.g.


-aj




pgpAZtKJcJEjw.pgp
Description: PGP signature
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


Re: [Zope3-Users] Zope 3 Capacities

2006-01-19 Thread Andreas Jung



--On 19. Januar 2006 12:26:42 -0600 David Johnson <[EMAIL PROTECTED]> 
wrote:



I'm trying to scope out Zope 3's capacities.  Does anyone have a large
ZODB? How big is it (in terms of objects)?  Any performance issues?
Does anyone have a very high volume site?  What kind of volume with what
kind of degree of application logic?



What architectural things have affected performance?   I general we're
looking at using an RDBMS, but we're trying to get a better feeling of
when we can use the ZODB and when we should stick to the RDBMS. I like
the ZODB because of it's versioning information in particular.



We have various datasets:

1.  Transactions: 10-100 billion objects


per day, month, yr?


2.  Users: 10-100 million objects


up to 1-2 million objects seem to be common for large sites nowadays


3.  Contacts: 100,000 objects
4.  Customers: 100-1000 objects


Possibly you might consider a hybrid solution using the ZODB and a RDBMS.

-aj



pgpdR1yldcisJ.pgp
Description: PGP signature
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


Re: [Zope3-Users] ZOPE 3 : Setting up a IP address to listen to in zope.conf

2006-01-14 Thread Andreas Jung



--On 14. Januar 2006 10:54:56 +0100 Christopher Mann <[EMAIL PROTECTED]> 
wrote:



HI,

I'd like to specifiy which of my many IPs Zope 3 is to listen to.
How do I do that ?

Is it in may zope.conf ?
in zope 2 it may have been IP_ADDRESS, but things seem different in this
config file (everything is lowercase, and there is pseudo-xml).




address ip:port ?


-aj

pgpyQfW5relD9.pgp
Description: PGP signature
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


RE: [Zope3-Users] Importing Lots of Objects

2006-01-08 Thread Andreas Jung



--On 8. Januar 2006 12:37:48 -0600 David Johnson <[EMAIL PROTECTED]> 
wrote:



What is the best for merchants to manage the product list and content of
their site?  I can certainly put in into an RDBMS, but what would be the
easiest way for them to manage their offering? Should I create a portal
site for them or should I allow them into the ZMI in some way?


Create your own site.

-aj

pgp47XmhMKFUD.pgp
Description: PGP signature
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


RE: [Zope3-Users] Importing Lots of Objects

2006-01-08 Thread Andreas Jung



--On 8. Januar 2006 11:57:36 -0600 David Johnson <[EMAIL PROTECTED]> 
wrote:



Thanks.

The basic use cases are as follows:

Shoppers can "browse products by category"
Shoppers can "search for products"
Shoppers can "add products to cart"
Merchants can "import product lists from Excel/Text file"
Merchants can "manually edit products"

We expect to service 1M purchase transactions a year, and expect to
service 1000 merchants.



I would go for a RDBMS.

-aj


pgpZJw75tpCUJ.pgp
Description: PGP signature
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


Re: [Zope3-Users] Importing Lots of Objects

2006-01-08 Thread Andreas Jung



--On 8. Januar 2006 11:44:06 -0600 David Johnson <[EMAIL PROTECTED]> 
wrote:



How do I import them (if I use
a relational database the answer is easy)?I have answers to these
questions, but I would be curious to hear how others have dealt with
issue.


This depends likely on _your_ usecases. Data can be stored in a RBDMS, in 
the filesystem, in the ZODB...every storage has its pros and cons..without

knowing your usecases there is only guessing what might be best for you.

-aj



pgpcdGOa9bQfJ.pgp
Description: PGP signature
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


Re: [Zope3-Users] Building PDF files using reportlab, with image objects in Zope3

2006-01-02 Thread Andreas Jung



--On 3. Januar 2006 11:30:25 +0800 Adam Summers <[EMAIL PROTECTED]> wrote:



530, in getSize
if (self._width is None or self._height is None):
AttributeError: ImageReader instance has no attribute '_width'

   Has anyone done what I want to? How? Any help would be much
appreciated.



Reportlab questions should be asked on the reportlab mailinglist. This is 
basically not a Zope 3 issue.


-aj

pgpDRE2GcsjLv.pgp
Description: PGP signature
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


Re: [Zope3-Users] TextIndexNG3 and Zope3

2005-12-29 Thread Andreas Jung



--On 29. Dezember 2005 15:15:33 +0100 Frank Burkhardt <[EMAIL PROTECTED]> wrote:


Hi,

currently I'm trying to use TextIndexNG3 in Zope3. I'm able to add a
"Ting3 Index" to my catalog but there are some problems:

1. After I added a single object, the catalog statistic (Advanced-Tab)
showsa table like this:

index | document count | word count
--++---
textindex | 1  | 15
ting3 | 1  | 1

   Why is TextIndexNG3's wordcount 1? The object I'm trying to index
   contains 15 words.


Look yourself at the indexed content. There is now TTW support to look
at the indexed content like in Zope 2. You have to use the API for the 
lexicon to perform further investigations.





2. Where am I supposed to enable/disable all the ting3-features (i.e.
   stemming)? There are no configuration options when I add the index to
thecatalog.



The _real_ index implementation is in textindexng/index.py which provides 
access to all parameters. ting.py is a _wrapper_ around the index 
implementation to integrate it with Z3. It was provided by Ivo I think.
The wrapper likely needs more work. Since it is a very think wrapper it 
should not be so hard to pass through all possible parameters..I won't work 
on this issue...patches and contributions are welcome.


-aj

pgpzDiXsalx7E.pgp
Description: PGP signature
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


Re: [Zope3-Users] long lasting transactions

2005-12-15 Thread Andreas Jung



--On 15. Dezember 2005 08:57:17 +0100 Sven Schomaker 
<[EMAIL PROTECTED]> wrote:



Hello all,

I need a way to keep a transaction active over several
requests and commit it manually afterwords. Currently
the object publisher (or whatever responsible for that)
commits a transaction



One request = one transaction. I think there is no way to get around (this 
limitation from your point of view). You should store your data in a 
session and perform the necessary actions at the end of the last step.


-aj


pgpJyibWjCR1e.pgp
Description: PGP signature
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


Re: [Zope3-Users] Zope 3.1.0 make error -- permissions

2005-12-07 Thread Andreas Jung



--On 7. Dezember 2005 20:45:11 + [EMAIL PROTECTED] wrote:


I tried that in the zope-3.1.0 directory.  I changed everything to
777 permissions.  No go.




Maybe you need to read error messages carefully. There error occurs
*HERE*: /usr/local/src/Python-2.4.2

-aj

pgpkthJgQ1gK6.pgp
Description: PGP signature
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


Re: [Zope3-Users] Zope 3.1.0 make error -- permissions

2005-12-07 Thread Andreas Jung



--On 7. Dezember 2005 20:20:36 + [EMAIL PROTECTED] wrote:


[EMAIL PROTECTED]:~/Zope-3.1.0> make
/usr/local/src/Python-2.4.2 install.py -q build
make: execvp: /usr/local/src/Python-2.4.2: Permission denied
make: *** [build] Error 127

The above error was from a second try, as my regular user, in my home
directory. Regardless of whether I am root installing this to
/usr/local or
just a regular user installing to /home/$user, I get this permissions
error.


Well, use "chmod" to fix the permissions for the directory and all files 
below.


-aj

pgpUlu685dF8O.pgp
Description: PGP signature
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


Re: [Zope3-Users] Plone 2.1 and Zope3

2005-11-23 Thread Andreas Jung

Plone only runs with Zope 2 because of totally different Zope codebases.

-aj

--On 23. November 2005 17:54:42 +0100 Benoit frederic <[EMAIL PROTECTED]> 
wrote:



Hi all,
i am new with zope and i would like to know if plone2.1 can be installed
with Zope3? (the installation documentation of plone2.1 only mention
Zope2.7 and Zope2.8).
As far as i know Zope3 needs a zcml configuration file for each Package
we install, is there some scripts to create them automatically?

thanks for anwser
Regards,

Frederic

___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users






pgp70oWVqLqTl.pgp
Description: PGP signature
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


Re: [Zope3-Users] i18n of an image

2005-10-27 Thread Andreas Jung



--On 27. Oktober 2005 13:43:01 -0500 Leticia Larrosa 
<[EMAIL PROTECTED]> wrote:



"""
Instead of:
"""
http://localhost:8080/@@/images/BtnRefresh.gif";>
"""


i18n:attributes just replaces the attributes with content from the catalog 
file.



How can change an image depend on the user location?


how about i18n:attributes="src python: test(your_condition, 'someurl1', 
'someurl2')" ?


-aj




pgpBIrvM3ui2W.pgp
Description: PGP signature
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


Re: [Zope3-Users] Where is the apidoc?

2005-10-23 Thread Andreas Jung



--On 23. Oktober 2005 14:34:11 +0200 Florian Lindner <[EMAIL PROTECTED]> 
wrote:



Hello,
sounds stupid, but I can't find the apidoc in a recent SVN version.
http://horus:8080/++apidoc++ returns a 404.




works for me with a fresh trunk checkout.

-aj

pgpQsGoj8EWkl.pgp
Description: PGP signature
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


Re: [Zope3-Users] searching content objects on created datetime

2005-10-06 Thread Andreas Jung



--On 6. Oktober 2005 09:55:55 -0400 Gary Poster <[EMAIL PROTECTED]> wrote:



On Oct 5, 2005, at 9:00 PM, Alen Stanisic wrote:


Hi,

I am trying to search my content objects on their creation
datetime. For
example, a user can enter From and To dates and I would like to
retrieve
all content objects based on the date range.


Hi Alen.  Take a look at zc.catalog in the sandbox.  It has some code  to
specifically do what you want (assuming I understand it).  http://
svn.zope.org/Sandbox/zc/catalog/



Do we already have a datetime index? Uwe Östermeier asked at the sprint 
today about an implementation.


Andreas


pgpurV3an8DQK.pgp
Description: PGP signature
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


Re: [Zope3-Users] Re: stuffing the request object in zope3

2005-10-03 Thread Andreas Jung



--On 3. Oktober 2005 12:45:53 -0400 Tim Middleton <[EMAIL PROTECTED]> wrote:


Andreas Jung wrote:

A quote from Philipp: """Everything that deals with a the request object
should be a view (or browser view)""" This means your approach is wrong.
Make clear separation between your core implementation which should not


Yes, I know, I'm horribly, horribly, horribly wrong. And one day I'll be
punished severely for my crimes against modern MVC patterns... But i
*could* implement my entire app as a browser view...? (-;


If you think in such patterns then you should stick with Zope 2 or use PHP.



(If of course I knew actually how to even hook up a class as a browser
view...)


This is documented in the Z3 tutorial, Philipp's book, the Z3 cookbook...



In invoking "Phillip" are you referring to the book "Web Component
Development with Zope 3"?



Not to the book but to the same person. That's a quote from  this talk
at the Plone conf some days ago.

-aj



pgpRMVoq9xlE4.pgp
Description: PGP signature
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


Re: [Zope3-Users] stuffing the request object in zope3

2005-10-03 Thread Andreas Jung



--On 3. Oktober 2005 11:19:22 -0400 Tim Middleton <[EMAIL PROTECTED]> wrote:


> it...)

So still, I wonder... how can I get that request object I love so to
abuse?



A quote from Philipp: """Everything that deals with a the request object 
should be a view (or browser view)""" This means your approach is wrong. 
Make clear separation between your core implementation which should not 
know anything about a request object. The connection between your core 
implementation and your frontend should be done through browser views which 
are initialized with the request object.


-aj


pgpdGuNbRenSE.pgp
Description: PGP signature
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


[Zope3-Users] Advanced usage of Z3 schemas...

2005-10-03 Thread Andreas Jung


Hi,

I am currently thinking about for a new version of PloneCollectorNG based 
on Zope 3. The currently implementation uses per-instances schemas 
(acquired from a parent object managing the schema). How would you do that 
in Zope 3?
Another question: in Zope 3 we have FieldProperties that automatically 
handle setting and getting values. This implementation stores the values as 
instance attributes. What would be the recommended way to store attributes 
in a RDBMS instead inside the ZODB? By introducing a new RDBMSFieldProperty 
that handles the set/get methods in the same way as the FieldProperty 
implementation?


Thanks,
Andreas

pgpw3NWc08ZET.pgp
Description: PGP signature
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


Re: [Zope3-Users] z3 frustration

2005-05-15 Thread Andreas Jung

--On Sonntag, 15. Mai 2005 19:02 Uhr +0200 [EMAIL PROTECTED] wrote:
Hi z3's
ok, I'm really frustrated by now.
First I did not succeed to turn a content object into an Image container.
After giving up on that, I tried designing my own skin both using
Philipp's and Stephans examples. Without success. bleh
They seem to do it differently (St and Ph.). And I'm getting opaque system
errors again. Using both ways.
Maybe you should provide the error messages with your complaint...otherwise
nobody can give you any further help without reasonable information :-)
-aj

pgpNNWCnfvUeq.pgp
Description: PGP signature
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


[Zope3-Users] Creating utilities overhead

2005-05-03 Thread Andreas Jung

Hi,
I have an utility registered as

/>
trying to create a new Lexicon instance through
lexicon zapi.createObject(None, 'txng.lexicons.default')
does not work (Zope 2.8, Five) because the factory does not seem
to be registered for IFactory.
Adding

resolves the issue. But why is the explicit declaration of the factory
necessary? IMO the first declaration implies the second one. So this
looks like configuration overhead to me...thoughts?
Andreas

pgpHAKAQXGXg5.pgp
Description: PGP signature
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


[Zope3-Users] Zope 3 sprints at Europython?

2005-04-22 Thread Andreas Jung
Are they any plannings for Z3 sprints before or after Europython?
-aj

pgpmQaHkFgHBZ.pgp
Description: PGP signature
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


  1   2   >