Benji York wrote:
Chris Withers wrote:
So, what *is* the "standard" way now and where can I read about how to
do it?
That's in flux at the moment. I think Philipp's zopeproject is a step
in the right direction, but haven't had a chance to look at it closely yet.
W
Philipp von Weitershausen wrote:
Yes, it has happened. That doesn't mean all 24 chapters are invalid now.
I know that!
Just don't take the chapter on Installing
Zope for granted.
And it's precisely this I'm asking about ;-)
My suggestion is to use zopeproject which I've tried
to document
Kevin wrote:
p.s. Don't hate me for cross posting ways to make money doing cool
things like working with zope3
Nah, we'll just hate you for the PHP bit ;-)
Chris
--
Simplistix - Content Management, Zope & Python Consulting
- http://www.simplistix.co.uk
_
Thierry Florac wrote:
Hi,
I have a simple question : I'm using RAMCache
What's RAMCache?
with ZEO and several Zope
frontends ; when calling cache.invalidate(), are the selected entries
invalidated only on the Zope frontend which handled the request, or are
they invalidated on each fronten
Thierry Florac wrote:
As it's name implies, RAMCache utility only stores it's data in RAM. So
I guess that ZODB won't be impacted by cache updates, as other Zope
frontends...
So what do you mean by "find it's way back to ZEO" ? And how can you
handle this ??
Oh, I have no idea about RAMCache...
Hi All,
I've come to realise that a lot of the python packages I've developed
for use outside of zope (twiddler and mailinglogger spring to mind) rely
on zope.testing and work best with the testrunner in zope.testing.
What's the best way to use this in a non-zope environment?
Also, what's t
Hey All,
I need "something like" formlib so want to give it a spin.
Is there a good how-to or example anywhere?
cheers,
Chris
--
Simplistix - Content Management, Zope & Python Consulting
- http://www.simplistix.co.uk
___
Zope3-users maili
Chris Withers wrote:
I need "something like" formlib so want to give it a spin.
Is there a good how-to or example anywhere?
Kapil rightly pointed out off-list that z3c.form is the latest and
greatest.
Which one is "best" and where do I go for docs/examples?
cheers,
Hi All,
Why does the following adapter registration not work?
from zope.component import getAdapters
from SomeModule import SomeClass
from interfaces import ISomething
getAdapters((SomeClass('test'),object()),ISomething)
[]
Cheers,
Chris
___
Zo
Hi Again,
Looks like the problem is with zope.component rather than the zcml:
from factories import Factory
provideAdapter(Factory, adapts=(SomeClass,None),
provides=ISomething, name='something')
getAdapters((SomeClass('test'),object()),ISomething)
[]
from zope.component import getMultiAdap
Stephan Richter wrote:
zope.component.getAdapters((MyClass(), object()), ISomething)
list(zope.component.getAdapters((MyClass(), object()), ISomething))
[(u'something', <__main__.MyFactory object at 0xb7b4a06c>)]
Interesting, what version of zope.component are you using?
I'm using the one
Stephan Richter wrote:
I'm using the one that ships with Zope 2.9.4, were any bugs in this area
fixed since then?
Yeah, this one probably still has the problem.
Cool, well, glad to hear it's fixed in later releases anyway!
cheers,
Chris
--
Simplistix - Content Management, Zope & Python Con
Stephan Richter wrote:
If you use buildout, there is a recipe for creating a test runner. See
http://svn.zope.org/zope.kgs/trunk/?rev=83325
for a good example.
Where's the actual test runner or test runner creater?
Also, what's the best way to indicate in setup.py that my package needs
zop
Stephan Richter wrote:
On Friday 01 February 2008, Chris Withers wrote:
Stephan Richter wrote:
If you use buildout, there is a recipe for creating a test runner. See
http://svn.zope.org/zope.kgs/trunk/?rev=83325
for a good example.
Where's the actual test runner or test runner cr
Marius Gedminas wrote:
how bout a zope3 page on myspace?lol
Just write a Facebook app that interacts with the list archives ;-)
Chris
--
Simplistix - Content Management, Zope & Python Consulting
- http://www.simplistix.co.uk
___
Zope
David Pratt wrote:
I was thinking of a small wsgi app that puts ip into a database or dict
and remove ips if they are not active within a time interval. Sessions
will give logged users so they can be differentiate with anonymous.
Think that should do it. Seems simple enough, any other ideas?
Jon Hadley wrote:
Hi all,
The list of products at Zope.org is fairly daunting for a n00b like me.
None of the product there will likely work with Zope 3 anyway ;-)
Does anyone have any recommendations in terms of usefulness / wow
factor / day to day utility apps?
That's a bit like asking "
Hi All,
Apologies for what might be seen as spam but I wasn't even aware this
conference took place last year and I live in the UK! So, hopefully you
won't mind me letting you know that it's taking place again this year ;-)
PyCon UK 2008 is an independent, community-run, community-controlled
Hi All,
I have a view:
from zope.publisher.browser import BrowserView
class Receiver(BrowserView):
def __call__(self):
print self.request.bodyStream.read()
return 'done'
...which I'm trying to test with the following script:
import socket
socket.setdefaulttimeout(5)
fro
Chris Withers wrote:
> ...but the processing seems to hang in bodyStream.read() until the
> socket times out on the client side (ie: I get a timeout exception)
> at which point the read() returns and shows what I'd expect.
>
> What am I doing wrong?
I should note that I
Chris Withers wrote:
> I should note that I'm using "paster serve" here, so I wonder if that
> has any bearing?
Well no, but the fact that my deploy.ini contained the following:
[app:main]
use = egg:HelloWorld
[server:main]
use = egg:Paste#http
host = 127.0.0.1
port = 80
Alek Kowalczyk wrote:
> I would suggest checking if the Content-Length value has been properly set.
Yep, httplib.HTTPConnection does this for you. I even checked that it
works ;-)
cheers,
Chris
--
Simplistix - Content Management, Zope & Python Consulting
- http://www.simplistix.co
Hi All,
Am I right in thinking that this is now the canonical way to get a "zope
3 instance":
http://pypi.python.org/pypi/zc.zope3recipes
?
If so, could the owners of these packages hide, remove or otherwise
document that they're out of date:
http://pypi.python.org/pypi/zc.recipe.zope3checko
Philipp von Weitershausen wrote:
>> http://pypi.python.org/pypi/zc.zope3recipes
>>
>> ?
>
> If you still want an instance, yes. I don't particularly like instances
> as we've had them with Zope 2 and Zope 3 (they don't quite work in a
> WSGI environment).
So what do you do instead?
How do peopl
[EMAIL PROTECTED] wrote:
>>> If you still want an instance, yes. I don't particularly like instances
>>> as we've had them with Zope 2 and Zope 3 (they don't quite work in a
>>> WSGI environment).
>> So what do you do instead?
>> How do people get a zope 3 project/application/whatever up and runnin
Sebastien Douche wrote:
> On Wed, Aug 20, 2008 at 00:11, Chris Withers <[EMAIL PROTECTED]> wrote:
>>> Please don't remove things! Never ever. People might still be using them.
>> That is getting a bit old. The confusion from having this cruft lying
>> arou
Marius Gedminas wrote:
>>> At the *very* least it's take about 2 minutes for a package manager to
>>> put a large "DO NOT USE - THIS IS ONLY HERE TO SUPPORT EXISTING SETUPS"
>>> at the top of the text on pypi to stop innocent bystanders getting
>>> caught out.
>
> That's a very good idea. It shou
Paul Winkler wrote:
>> That argument neglects to include people that don't cache eggs (for
>> whatever reason) and people that need to build on a machine that may
>> have never cached the egg in question (like deploying brand new
>> servers).
>
> +99
>
> Deleted releases can cause massive uninten
Tim Cook wrote:
> As I said before I may have miss-diagnosed the problem and may fix may
> break other things?
This is what a full-coverage unit and functional test suit is for.
You have got automated tests for all this stuff, right?
Chris
--
Simplistix - Content Management, Zope & Python Co
Tim Cook wrote:
> Hi Chris,
>
> On Fri, 2008-12-19 at 10:06 +0000, Chris Withers wrote:
>> Tim Cook wrote:
>>> As I said before I may have miss-diagnosed the problem and may fix may
>>> break other things?
>> This is what a full-coverage unit and funct
Douglas Cerna wrote:
> Try to remove the utility from the sm like this:
>
> del sm['authentication']
Eh? You shouldn't have do delete it just because you want to un-register it.
I wonder why Sebastian's unregisterUtility didn't work?
Chris
--
Simplistix - Content Management, Zope & Python Con
Andreas Jung wrote:
> Thoughts?
+1, they already end up in the same IMAP folder for me...
Chris
--
Simplistix - Content Management, Zope & Python Consulting
- http://www.simplistix.co.uk
___
Zope3-users mailing list
Zope3-users@zope.org
ht
Luis Espinoza Jr. wrote:
>
> Can Plone and Zope 3 co-exist on the same system?
yes.
> Are there problems because of Zope 2 in Plone clashing with Zope 3?
only if you try really hard ;-)
> I understand Plone contains some Zope 3 components and I wonder if I will end
> up with multiple copies
Chetan Kumar wrote:
> bump!!
This is not a bulletin board.
Appending exclamation marks and making stupid posts like this will just
get you ignored/blocked.
I suggest you read the whole of this:
http://www.catb.org/~esr/faqs/smart-questions.htm
Specifically:
http://www.catb.org/~esr/faqs/smar
Chetan Kumar wrote:
> The reason was the absence of path to zope.viewlet egg from the
> sys.path. This slippage can surely be attributed to buildout. Also
> discovered that out of 170 eggs listed in buildout.cfg only about 60
> appear in the scipts generated by buildout (paster, debug, ctl, pyt
Roger Ineichen wrote:
>> I've given up on using z3c.rml (or indeed reportab's open-source
>> software) with Google's AppEngine as the restrictions they
>> were too constraining.
It's interesting to see z3c.rml knocking around. I've often questioned
the legal existence of z3c.rml. As far as I rem
Kent Tenney wrote:
> "zope.testing uses buildout. To start, run python bootstrap.py.
> It will create a number of directories and the bin/buildout script.
> Next, run bin/buildout. It will create a test script for you. Now, run
> bin/test to run the zope.testing test suite."
>
> $ python bootstrap
Kent Tenney wrote:
>> What are you looking to do with zope.testing? Develop it or write some tests
>> using it?
>
> I don't know the first thing about it, just starting to read the doc.
If you're looking to test yourpackage, put the following in a
buildout.cfg, in the same directory as bootstrap
Kent Tenney wrote:
> to check out zope.testing I've tried ending this command a number of ways,
> without success.
> $ svn co svn://svn.zope.org/repos/main/Zope/trunk/<...>
Why are you doing this rather than using the buildout.cfg I gave you?
Chris
--
Simplistix - Content Management, Zope & Pyt
Kent Tenney wrote:
> My question had to do with checking out zope.testing without pulling
> in the entire trunk.
Then you want:
svn://svn.zope.org/repos/main/zope.testing/trunk/
You certainly don't want svn://svn.zope.org/repos/main/Zope/trunk/, as
that's Zope 2...
Chris
--
Simplistix - Cont
I'm pleased to announce a new release of sx.translations.
This release records the dates untranslated msgids were first seen.
sx.translations provides components for use with Zope 3 and Zope 2 +
Five that implement both ITranslationDomain and ILanguageAvailability as
well as supporting the reco
101 - 141 of 141 matches
Mail list logo