[Zope3-Users] Re: Zope 3 Developer's LiveBook
Hi all, here is a callout for input on creating a zope livebook. I have familiarized myself with docbook and am gung ho. I am fairly new to zope3, so I will not be much help with content. I will be good at trying out things and keeping the document up to date. I decided to go with darcs for now, we can move to svn if darcs doesn't work for most people. I have a repo at z3book.unstate.ca. You can do: "darcs get http://z3book.unstate.ca"; to get the book (but there's nothing there!). For now I am hoping to get suggestoins on how the book should be laid out. What about something like: << preface >> << Basic Usage >> << Framework Overview >> << Common Development Patterns >> << Content Components >> I really have no clue. I was hoping that a zope3 guru could suggest how the parts could be best laid out. It seems to me that it is very tricky to have an encyclopedic resource for power users as well as easy to follow trails for newbies who are likely to get lost in the woods. I like the idea of trails (do the java tutorials still do this?). If a newbie wants to explore the forest that is zope 3, she will want to use the most well worn trails first and be confident to return home before it gets dark. Later, when she gets a sense of the lay of the land, she can venture deep on longer and less well-used tracks. I have followed a bit of the discussion regarding example apps. I really appreciated Benji York's "Hello World" app. It was easy to follow and left me feelling less overwhelmed than the Zope 3 Tutorial or the Zope 3 Book by Stephen Richter (I got lost and scared and have not gone back - though to be fair they are still the best on-line sources for more in depth zope 3 info). It also did a good job covering topics in just enough detail. I also appreciated that it was relatively up to date (Zope 3.2 apha?). Good examples could serve to as a guide to how to layout this book. Topics could be introduced gradually as the examples become more complicated. Also, topics could be covered in more detail as examples are shown which best demonstrate their use. Anyway, let me know what you think. For right now ideas on overall layout and a progression of example apps would be most appreciated. For those of you who have already authored tutorials, books, articles, tips, etc. It would be most excellent if you could offer them up (permission to use and alter, etc). Icing on the cake would be if you could suggest where in the zope 3 book you envision seeing your info. A cherry on top would be if you could update the information for the current release. Thanks and good night. Paul Dumais ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users
Re: [Zope3-Users] Zope 3 Developer's LiveBook
Thanks, everyone for your comments. I'm not sure how commited I am to doing this, but I might as well take the rock soup approach. A rock soup is better than no soup, and everyone else can add their favorite ingredients to make it into something tasty. I like the latex approch. There is a latex to html converter that the python website documentation uses (at least some of it). That means we could just do a latex to pdf and a latex to html conversion say once each month after doing an svn up. Should I get svn commit permission on the zope.org site and do this on a branch there? I presume the ZPL liscense would apply in this case. Would it be better to set up a repository somewhere else and use a different liscence (GPL, LGPL, ...)? I'm not too savy with the different liscenses out there. I'm happy as long as anyone is free to make derivative works without getting permission. Thanks! Paul On 2/14/06, Stephan Richter <[EMAIL PROTECTED]> wrote: > On Tuesday 14 February 2006 12:15, Paul Dumais wrote: > > Do we start from scratch? > > I think you have to, because both current books have licenses that do not > allow any other commercial use. > > > Can we use any of the material from Stephan > > or Phillip's books? The Zope 3 Developer's Handbook by Stephan Richter > > doesn't seem to have any copywrite notice on it (on line pdf version > > at least). Can someone tell me what are the restrictions on it's use? > > That is not true. The online, PDF and paper version all have an appendix with > the license of the book. See: > > http://www.zope.org/Wikis/DevSite/Projects/ComponentArchitecture/Zope3Book/CreativeCommonsAttributionNoDerivsNonCommercialLicense > > > What form should it take? Should we make it a latex file and check-in > > changes via svn? Should it be a simple wiki? > > I would urge you to use latex or some other advanced format. ReST and other > low-tech solutions will not provide you the flexibility you need to develop a > printable book. > > > What liscense if any should the document have? How do anonymous/ > > community users contribute and fix errors? > > If it is a community book, then make it the most open CC license you possibly > can. > > Regards, > Stephan > -- > Stephan Richter > CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student) > Web2k - Web Software Design, Development and Training > ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users
[Zope3-Users] Zope 3 Developer's LiveBook
Hi everyone, I would like to see a Zope 3 Developer's LiveBook. I know this has been mentioned in the past, but I think it really makes sense because Zope3 is changing so quickly and there are alot of great solutions to problems coming all the time. Do we start from scratch? Can we use any of the material from Stephan or Phillip's books? The Zope 3 Developer's Handbook by Stephan Richter doesn't seem to have any copywrite notice on it (on line pdf version at least). Can someone tell me what are the restrictions on it's use? What form should it take? Should we make it a latex file and check-in changes via svn? Should it be a simple wiki? What liscense if any should the document have? How do anonymous/ community users contribute and fix errors? Any comments are appreciated. Paul ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users
[Zope3-Users] Example Apps for Newbies
I was wondering about good example apps for newbies. I have a possible list: These are in the trunk Zope3 svn checkout: - buddy folder - Bug Tracker - Demo Widgets - Hello World - Wiki This one might be good to install: - http://opensource.amazesolutions.com/projects/zope3/cubic Should any of these be removed? Should any be added? Thanks! Paul ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users
[Zope3-Users] Minor Doc Bug
I'm quite new to zope and python, I would like to submit a minor documentation bug. The zope/app/demo/hellopackage/README.txt mentions the products.zcml which is now depreciated. I assume it should mention a different zcml file (or none since it seems to be installed/available for use by default). Should I bother with svn commit access, should I submit it anonymously or register via the Zope3 issue tracker, or should I just mention it here? Should I do something else? I hope to be able to continue to be picky so that other newbies won't waste time looking at erroneous info. Thanks! ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users
[Zope3-Users] Re: Zope3-users Digest, Vol 15, Issue 31
I noticied that the installation documentation does not explicitly explain how to install SchooBell within an existing Zope3 installation (though it says this is possible). Could someone give a brief overview of how this is done? Would I be better off contacting the SchoolBell developers? Thanks, Paul On 1/19/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Send Zope3-users mailing list submissions to > zope3-users@zope.org > > To subscribe or unsubscribe via the World Wide Web, visit > http://mail.zope.org/mailman/listinfo/zope3-users > or, via email, send a message with subject or body 'help' to > [EMAIL PROTECTED] > > You can reach the person managing the list at > [EMAIL PROTECTED] > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Zope3-users digest..." > > > Today's Topics: > >1. Re: CalCore from CPS and Zope3? (Stephan Richter) > > > -- > > Message: 1 > Date: Wed, 18 Jan 2006 16:17:23 -0500 > From: Stephan Richter <[EMAIL PROTECTED]> > Subject: Re: [Zope3-Users] CalCore from CPS and Zope3? > To: zope3-users@zope.org > Message-ID: <[EMAIL PROTECTED]> > Content-Type: text/plain; charset="utf-8" > > On Wednesday 18 January 2006 01:16, Roman Susi wrote: > > I am intrested in making CalCore to work Zope3, however, I have not > > found anything that says CalCore can work inside Zope3 fo rnow. > > > > Are there any plans on this if anybody knows? Is it easy to DIY? > > You might want to look at SchoolTool/SchoolBell, it has a full-blown calendar > as well. And its a pure Zope 3 project. > > Regards, > Stephan > -- > Stephan Richter > CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student) > Web2k - Web Software Design, Development and Training > > > -- > > ___ > Zope3-users mailing list > Zope3-users@zope.org > http://mail.zope.org/mailman/listinfo/zope3-users > > > End of Zope3-users Digest, Vol 15, Issue 31 > *** > ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users
[Zope3-Users] /++apidoc++
Hi all, I have installed both the release version and the svn checkout version of the latest Zope3. I notice that the /++apidoc++ page is not available in the checked out version. It worked fine in the release. How can I debug this for my install? I noticed that I did not make an instance this time around. Is that important? My tests ran without a hitch, so I wonder why this isn't working. Thanks, Paul ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users
Re: [Zope3-Users] make check
That was at: /usr/local/Zope-3.1.0/lib/python/zdaemon/tests/ The one at: /home/paul/Zope-3.1.0/build/lib.linux-i686-2.4/zdaemon/tests/donothing.sh did not have the permissions set. I changed it, ran the tests and all passed! Ran 6991 tests in 263.891s OK So it seems that the -x bits are are set correctly in the installation but not the release (opposite of what you said? - not sure), but it is the release version that is run, so it is there that it needs to be set properly. Thanks! On 10/27/05, Jim Fulton <[EMAIL PROTECTED]> wrote: > Sorry, where are you looking at this. > > In the release, the permissions are correct. > > In an installation created with Python 2.4, the bits are not. > > What version of Python are you using? > > Jim > ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users
Re: [Zope3-Users] make check
Sent this using the wrong account: On 10/26/05, Paul Dumais <[EMAIL PROTECTED]> wrote: > Hi Jim, > > The execute bit seems OK: > > -rwxr-xr-x 1 root root59 2005-10-02 12:48 donothing.sh > > I get more errors if I run as root (the above one included). Ubuntu > does something tricky to the root account so that you cannot su root. > You have to sudo 'command' to do root tasks. I suspect this difference > is why I get more errors when I do sudo make check. > > Since I am running make check as a user on the system, I though I > would try chown 'user' donothing.sh. Doing this gives the same error > when I run 'make check'. > > I guess this begs the question: should I be looking to chown 'user' a > bunch of files and directories (since I plan to run everything as a > user)? Should I be looking to get rid of the su root lockout feature > of Ubuntu? Hopefully none of this should be necessary since my 'user' > is a superuser. > > I guess this is not a major problem, since Steve is safely ignoring > the error. Thanks for the quick replies! I read some posts from August > that mentioned that it may just be an issue of a slower machine (my > machine has a few other processes running on it). Increasing the error > threshold to something higher may be what's needed? > > Paul > > > On 10/26/05, Jim Fulton <[EMAIL PROTECTED]> wrote: > > Jim Fulton wrote: > > > Stephan Richter wrote: > > > > > >> On Wednesday 26 October 2005 16:26, Jim Fulton wrote: > > >> > > >>>> AssertionError: spawned process failed to start in a minute > > >>>> > > >>>> Is this serious? How could I get this test to pass? > > >>> > > >>> > > >>> Don't run the tests as root. > > >> > > >> > > >> > > >> I see this error sporatically using a non-root user as well. I just > > >> never worry about it. :-) > > > > > > > > > Right. This is not what I thought it was. > > > > > > This is something that I diagnosed and thought I fixed > > > a few weeks ago. > > > > > > I'll look at it. > > > > OK, Tim helped me remember what was going on with this. > > > > I predict you can make this test pass by setting the execute bit on > > the script donothing.sh in zdaemon/tests in the installation. > > This test is trying to execute this script and can't because the > > execute bits got cleared in the release process. > > > > The test really should be rewritten to write the shell script itself > > and set the permissions to whatever it wants. > > > > Jim > > > > -- > > Jim Fulton mailto:[EMAIL PROTECTED] Python Powered! > > CTO (540) 361-1714http://www.python.org > > Zope Corporation http://www.zope.com http://www.zope.org > > > ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users
[Zope3-Users] make check
Hi all, I have one error: Ran 6991 tests in 333.025s FAILED (failures=1) when doing make check on a Zope-3.1.0 build on Ubuntu Linux. In short it is: Failure in test testRunIgnoresParentSignals (zdaemon.tests.testzdrun.ZDaemonTest s) Traceback (most recent call last): File "/usr/lib/python2.4/unittest.py", line 260, in run testMethod() File "/home/paul/Zope-3.1.0/build/lib.linux-i686-2.4/zdaemon/tests/testzdrun.p y", line 237, in testRunIgnoresParentSignals self.assert_(is_started, "spawned process failed to start in a minute") File "/usr/lib/python2.4/unittest.py", line 309, in failUnless if not expr: raise self.failureException, msg AssertionError: spawned process failed to start in a minute Is this serious? How could I get this test to pass? Thanks, Paul ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users