From bradoaks at gmail.com Tue Feb 3 00:18:30 2009 From: bradoaks at gmail.com (Brad Oaks) Date: Mon, 2 Feb 2009 18:18:30 -0500 Subject: [TriZPUG] Fwd: [TriLUG] Google App Engine Hack-a-Thon? In-Reply-To: References: Message-ID: Hi folks, Just wanted to let the local Python group know about this discussion that is happening over on the TriLUG list. --bradoaks ---------- Forwarded message ---------- From: Daniel Sterling Date: Mon, Feb 2, 2009 at 1:05 PM Subject: [TriLUG] Google App Engine Hack-a-Thon? To: trilug at trilug.org Would Trilugers be interested in a Google App Engine Hack-a-Thon? If there's enough interest, Google is offering to host an event at their Chapel-Hill office, sometime this or next month. Google's App Engine (documented at http://code.google.com/appengine/docs/ ) allows you to write a web application that runs on Google's systems. You write your application (currently using Python), upload it to Google, and it's live. You can sign up and deploy applications with no charge (currently, you're not allowed to exceed bandwidth/CPU usage quotas). The really nifty part is that GAE allows you to work with Google's BigTable database system. Referred to by the GAE documentation as the DataStore, this is no ordinary DBMS; you don't create a pre-defined relational schema with SQL to use it. Instead, you define models right in your code, populate them with data, and send them to the DataStore. For retrieval, you can use either an entity's unique key, or retrieve all records, filtered and ordered via pre-defined indexes. The DataStore supports transactions with automatic retry, and automatically handles redundancy and partitioning. In other words, you can write a really scalable app without sweating all the hard details (you just have to make sure your model makes sense :) App Engine also has several other userful APIs, including integration with Google's user service and support for Django templates. It's also possible to use other Python web frameworks (minus their usual RDBMS hooks). So, email back if you're interested in getting together to discuss and hack on code for GAE projects. (I do not work for Google, I just bug people who do:) Thanks, Dan Sterling -- TriLUG mailing list : http://www.trilug.org/mailman/listinfo/trilug TriLUG FAQ : http://www.trilug.org/wiki/Frequently_Asked_Questions From chris at christophermrossi.com Tue Feb 3 15:38:01 2009 From: chris at christophermrossi.com (Chris Rossi) Date: Tue, 3 Feb 2009 09:38:01 -0500 Subject: [TriZPUG] Fwd: [TriLUG] Google App Engine Hack-a-Thon? In-Reply-To: References: Message-ID: <60bf02c00902030638pf058808yd6acaf6b70a45f03@mail.gmail.com> Brad, that sounds pretty cool. Please keep TriZPUG (or at least me) in the loop. Thanks! Chris On Mon, Feb 2, 2009 at 6:18 PM, Brad Oaks wrote: > Hi folks, > > Just wanted to let the local Python group know about this discussion > that is happening over on the TriLUG list. > > --bradoaks > > > ---------- Forwarded message ---------- > From: Daniel Sterling > Date: Mon, Feb 2, 2009 at 1:05 PM > Subject: [TriLUG] Google App Engine Hack-a-Thon? > To: trilug at trilug.org > > > Would Trilugers be interested in a Google App Engine Hack-a-Thon? If > there's enough interest, Google is offering to host an event at their > Chapel-Hill office, sometime this or next month. > > Google's App Engine (documented at > http://code.google.com/appengine/docs/ ) allows you to write a web > application that runs on Google's systems. You write your application > (currently using Python), upload it to Google, and it's live. You can > sign up and deploy applications with no charge (currently, you're not > allowed to exceed bandwidth/CPU usage quotas). > > The really nifty part is that GAE allows you to work with Google's > BigTable database system. Referred to by the GAE documentation as the > DataStore, this is no ordinary DBMS; you don't create a pre-defined > relational schema with SQL to use it. Instead, you define models right > in your code, populate them with data, and send them to the DataStore. > For retrieval, you can use either an entity's unique key, or retrieve > all records, filtered and ordered via pre-defined indexes. The > DataStore supports transactions with automatic retry, and > automatically handles redundancy and partitioning. In other words, you > can write a really scalable app without sweating all the hard details > (you just have to make sure your model makes sense :) > > App Engine also has several other userful APIs, including integration > with Google's user service and support for Django templates. It's also > possible to use other Python web frameworks (minus their usual RDBMS > hooks). > > So, email back if you're interested in getting together to discuss and > hack on code for GAE projects. (I do not work for Google, I just bug > people who do:) > > Thanks, > Dan Sterling > -- > TriLUG mailing list : http://www.trilug.org/mailman/listinfo/trilug > TriLUG FAQ : http://www.trilug.org/wiki/Frequently_Asked_Questions > _______________________________________________ > TriZPUG mailing list > TriZPUG at python.org > http://mail.python.org/mailman/listinfo/trizpug > http://trizpug.org is the Triangle Zope and Python Users Group > -------------- next part -------------- An HTML attachment was scrubbed... URL: From brad.crittenden at gmail.com Tue Feb 3 15:51:31 2009 From: brad.crittenden at gmail.com (Bradley A. Crittenden) Date: Tue, 3 Feb 2009 09:51:31 -0500 Subject: [TriZPUG] Fwd: [TriLUG] Google App Engine Hack-a-Thon? In-Reply-To: <60bf02c00902030638pf058808yd6acaf6b70a45f03@mail.gmail.com> References: <60bf02c00902030638pf058808yd6acaf6b70a45f03@mail.gmail.com> Message-ID: <49641706-5801-428A-980E-285AA3AB0FF0@gmail.com> On Feb 3, 2009, at 09:38 , Chris Rossi wrote: > Brad, that sounds pretty cool. Please keep TriZPUG (or at least me) > in the loop. > > Thanks! > Chris I agree that this sounds really interesting and I'm interested in attending. --bac From jj at email.unc.edu Tue Feb 3 15:45:02 2009 From: jj at email.unc.edu (Josh Johnson) Date: Tue, 03 Feb 2009 09:45:02 -0500 Subject: [TriZPUG] Fwd: [TriLUG] Google App Engine Hack-a-Thon? In-Reply-To: <60bf02c00902030638pf058808yd6acaf6b70a45f03@mail.gmail.com> References: <60bf02c00902030638pf058808yd6acaf6b70a45f03@mail.gmail.com> Message-ID: <4988586E.7030407@email.unc.edu> Me too! Me too! JJ Chris Rossi wrote: > Brad, that sounds pretty cool. Please keep TriZPUG (or at least me) > in the loop. > > Thanks! > Chris > > > On Mon, Feb 2, 2009 at 6:18 PM, Brad Oaks > wrote: > > Hi folks, > > Just wanted to let the local Python group know about this discussion > that is happening over on the TriLUG list. > > --bradoaks > > > ---------- Forwarded message ---------- > From: Daniel Sterling > > Date: Mon, Feb 2, 2009 at 1:05 PM > Subject: [TriLUG] Google App Engine Hack-a-Thon? > To: trilug at trilug.org > > > Would Trilugers be interested in a Google App Engine Hack-a-Thon? If > there's enough interest, Google is offering to host an event at their > Chapel-Hill office, sometime this or next month. > > Google's App Engine (documented at > http://code.google.com/appengine/docs/ ) allows you to write a web > application that runs on Google's systems. You write your application > (currently using Python), upload it to Google, and it's live. You can > sign up and deploy applications with no charge (currently, you're not > allowed to exceed bandwidth/CPU usage quotas). > > The really nifty part is that GAE allows you to work with Google's > BigTable database system. Referred to by the GAE documentation as the > DataStore, this is no ordinary DBMS; you don't create a pre-defined > relational schema with SQL to use it. Instead, you define models right > in your code, populate them with data, and send them to the DataStore. > For retrieval, you can use either an entity's unique key, or retrieve > all records, filtered and ordered via pre-defined indexes. The > DataStore supports transactions with automatic retry, and > automatically handles redundancy and partitioning. In other words, you > can write a really scalable app without sweating all the hard details > (you just have to make sure your model makes sense :) > > App Engine also has several other userful APIs, including integration > with Google's user service and support for Django templates. It's also > possible to use other Python web frameworks (minus their usual RDBMS > hooks). > > So, email back if you're interested in getting together to discuss and > hack on code for GAE projects. (I do not work for Google, I just bug > people who do:) > > Thanks, > Dan Sterling > -- > TriLUG mailing list : > http://www.trilug.org/mailman/listinfo/trilug > TriLUG FAQ : http://www.trilug.org/wiki/Frequently_Asked_Questions > _______________________________________________ > TriZPUG mailing list > TriZPUG at python.org > http://mail.python.org/mailman/listinfo/trizpug > http://trizpug.org is the Triangle Zope and Python Users Group > > > ------------------------------------------------------------------------ > > _______________________________________________ > TriZPUG mailing list > TriZPUG at python.org > http://mail.python.org/mailman/listinfo/trizpug > http://trizpug.org is the Triangle Zope and Python Users Group From cbc at unc.edu Tue Feb 3 19:40:30 2009 From: cbc at unc.edu (Chris Calloway) Date: Tue, 03 Feb 2009 13:40:30 -0500 Subject: [TriZPUG] Fwd: [TriLUG] Google App Engine Hack-a-Thon? In-Reply-To: References: Message-ID: <49888F9E.6050300@unc.edu> On 2/2/2009 6:18 PM, Brad Oaks wrote: > Google is offering to host an event at their > Chapel-Hill office, sometime this or next month. Google has a Chapel Hill office? Where is it? -- Sincerely, Chris Calloway http://www.secoora.org office: 332 Chapman Hall phone: (919) 599-3530 mail: Campus Box #3300, UNC-CH, Chapel Hill, NC 27599 From bgailer at gmail.com Tue Feb 3 20:02:04 2009 From: bgailer at gmail.com (bob gailer) Date: Tue, 03 Feb 2009 14:02:04 -0500 Subject: [TriZPUG] Fwd: [TriLUG] Google App Engine Hack-a-Thon? In-Reply-To: <49888F9E.6050300@unc.edu> References: <49888F9E.6050300@unc.edu> Message-ID: <498894AB.20505@gmail.com> Chris Calloway wrote: > On 2/2/2009 6:18 PM, Brad Oaks wrote: >> Google is offering to host an event at their >> Chapel-Hill office, sometime this or next month. > > Google has a Chapel Hill office? Where is it? > Did you try a Google search? That gives: http://localtechwire.com/business/local_tech_wire/news/story/1126258/ "Google operates an office in the Franklin Centre in Chapel Hill with a five-person software operation." -- Bob Gailer Chapel Hill NC 919-636-4239 From jj at email.unc.edu Tue Feb 3 20:07:01 2009 From: jj at email.unc.edu (Josh Johnson) Date: Tue, 03 Feb 2009 14:07:01 -0500 Subject: [TriZPUG] Fwd: [TriLUG] Google App Engine Hack-a-Thon? In-Reply-To: <498894AB.20505@gmail.com> References: <49888F9E.6050300@unc.edu> <498894AB.20505@gmail.com> Message-ID: <498895D5.7000606@email.unc.edu> Googling Google? Doesn't that open a super-massive black hole that will soon devour the internet? ;) JJ bob gailer wrote: > Chris Calloway wrote: >> On 2/2/2009 6:18 PM, Brad Oaks wrote: >>> Google is offering to host an event at their >>> Chapel-Hill office, sometime this or next month. >> >> Google has a Chapel Hill office? Where is it? >> > Did you try a Google search? That gives: > > http://localtechwire.com/business/local_tech_wire/news/story/1126258/ > > "Google operates an office in the Franklin Centre in Chapel Hill with > a five-person software operation." > From sampbrauer at yahoo.com Tue Feb 3 20:17:13 2009 From: sampbrauer at yahoo.com (Sam Brauer) Date: Tue, 3 Feb 2009 11:17:13 -0800 (PST) Subject: [TriZPUG] Fwd: [TriLUG] Google App Engine Hack-a-Thon? In-Reply-To: <498895D5.7000606@email.unc.edu> Message-ID: <819294.71479.qm@web30803.mail.mud.yahoo.com> It's not a laughing matter... http://www.youtube.com/watch?v=5oCHxB8d20s --- On Tue, 2/3/09, Josh Johnson wrote: From: Josh Johnson Subject: Re: [TriZPUG] Fwd: [TriLUG] Google App Engine Hack-a-Thon? To: "Triangle (North Carolina) Zope and Python Users Group" Date: Tuesday, February 3, 2009, 2:07 PM Googling Google? Doesn't that open a super-massive black hole that will soon devour the internet? ;) JJ bob gailer wrote: > Chris Calloway wrote: >> On 2/2/2009 6:18 PM, Brad Oaks wrote: >>> Google is offering to host an event at their >>> Chapel-Hill office, sometime this or next month. >> >> Google has a Chapel Hill office? Where is it? >> > Did you try a Google search? That gives: > > http://localtechwire.com/business/local_tech_wire/news/story/1126258/ > > "Google operates an office in the Franklin Centre in Chapel Hill with > a five-person software operation." > _______________________________________________ TriZPUG mailing list TriZPUG at python.org http://mail.python.org/mailman/listinfo/trizpug http://trizpug.org is the Triangle Zope and Python Users Group -------------- next part -------------- An HTML attachment was scrubbed... URL: From cbc at unc.edu Tue Feb 3 22:27:18 2009 From: cbc at unc.edu (Chris Calloway) Date: Tue, 03 Feb 2009 16:27:18 -0500 Subject: [TriZPUG] Fwd: [TriLUG] Google App Engine Hack-a-Thon? In-Reply-To: <498894AB.20505@gmail.com> References: <49888F9E.6050300@unc.edu> <498894AB.20505@gmail.com> Message-ID: <4988B6B6.2060507@unc.edu> On 2/3/2009 2:02 PM, bob gailer wrote: > Did you try a Google search? http://tinyurl.com/bpeanh -- Sincerely, Chris Calloway http://www.secoora.org office: 332 Chapman Hall phone: (919) 599-3530 mail: Campus Box #3300, UNC-CH, Chapel Hill, NC 27599 From paul at blinkylights.org Tue Feb 3 23:00:27 2009 From: paul at blinkylights.org (Paul Smith) Date: Tue, 03 Feb 2009 17:00:27 -0500 Subject: [TriZPUG] Fwd: [TriLUG] Google App Engine Hack-a-Thon? In-Reply-To: References: Message-ID: <4988BE7B.3080107@blinkylights.org> Brad Oaks wrote: > Hi folks, > > Just wanted to let the local Python group know about this discussion > that is happening over on the TriLUG list. > > --bradoaks > > Wow, that's awesome... definitely keep us posted on that. --Paul Smith -- From cbc at unc.edu Tue Feb 3 23:18:58 2009 From: cbc at unc.edu (Chris Calloway) Date: Tue, 03 Feb 2009 17:18:58 -0500 Subject: [TriZPUG] Claytron, PyCon, Plone Symposium, and Plone Immersion Message-ID: <4988C2D2.9010700@unc.edu> Four events to let you know about. I thought I'd just combine them into one email. There are reminder portlets on trizpug.org you can look at later. 1) Clayton Parker from Six Feet Up will be in the area tomorrow and Thursday. He's getting in kind of late tomorrow and there is heavy snow where he's coming from. Also, I don't know what his schedule is for working late while he's here. But I'm going to tentatively schedule that interested Plonistas should plan to meet up at Milltown in Carrboro at 7pm on Thursday for a social. I'll try to post an update tomorrow. 2) PyCon 2009 registration is open: http://us.pycon.org/2009/about/ Financial aid is available: http://pycon.blogspot.com/2009/02/pycon-2009-financial-aid-available.html 3) Penn State is hosting Plone Symposium East Coast again. In late May this time: http://plone.org/events/regional/plone-symposium-east-2009/ 4) Six Feet Up is hosting a very cool sounding mentored scrum to build a Plone site for a worthy non-profit as a training exercise in September: http://www.sixfeetup.com/news/plone-immersive-training-experience/ Andrew Corcoran and I went to Sixie's Plone mini-conference back in November and had a great time. I think they learned a lot about hosting such an event and the one this fall will be even better. -- Sincerely, Chris Calloway http://www.secoora.org office: 332 Chapman Hall phone: (919) 599-3530 mail: Campus Box #3300, UNC-CH, Chapel Hill, NC 27599 From josh_johnson at unc.edu Wed Feb 4 02:18:39 2009 From: josh_johnson at unc.edu (Josh Johnson) Date: Tue, 03 Feb 2009 20:18:39 -0500 Subject: [TriZPUG] Fwd: [TriLUG] Google App Engine Hack-a-Thon? In-Reply-To: <819294.71479.qm@web30803.mail.mud.yahoo.com> References: <819294.71479.qm@web30803.mail.mud.yahoo.com> Message-ID: <4988ECEF.4020204@unc.edu> Where has that show been all my life? I was just telling my wife the other day how I'm at _least_ as funny as British TV, and what do you know... ;) JJ Sam Brauer wrote: > It's not a laughing matter... > http://www.youtube.com/watch?v=5oCHxB8d20s > > > --- On *Tue, 2/3/09, Josh Johnson //* wrote: > > From: Josh Johnson > Subject: Re: [TriZPUG] Fwd: [TriLUG] Google App Engine Hack-a-Thon? > To: "Triangle (North Carolina) Zope and Python Users Group" > > Date: Tuesday, February 3, 2009, 2:07 PM > > Googling Google? Doesn't that open a super-massive black hole that will > soon devour the internet? ;) > > JJ > > bob gailer wrote: > > Chris Calloway wrote: > >> On 2/2/2009 6:18 PM, Brad Oaks wrote: > >>> Google is offering to host an event at their > >>> Chapel-Hill office, sometime this or next > month. > >> > >> Google has a Chapel Hill office? Where is it? > >> > > Did you try a Google search? That gives: > > > > http://localtechwire.com/business/local_tech_wire/news/story/1126258/ > > > > "Google operates an office in the Franklin Centre in Chapel Hill with > > > a five-person software operation." > > > > _______________________________________________ > TriZPUG mailing list > TriZPUG at python.org > http://mail.python.org/mailman/listinfo/trizpug > http://trizpug.org is the Triangle Zope and Python Users Group > > > > ------------------------------------------------------------------------ > > _______________________________________________ > TriZPUG mailing list > TriZPUG at python.org > http://mail.python.org/mailman/listinfo/trizpug > http://trizpug.org is the Triangle Zope and Python Users Group From jj at email.unc.edu Thu Feb 5 16:23:50 2009 From: jj at email.unc.edu (Josh Johnson) Date: Thu, 05 Feb 2009 10:23:50 -0500 Subject: [TriZPUG] Plone Viewlet Manager/Theme "tutorial" posted Message-ID: <498B0486.7070500@email.unc.edu> This past week or so, I published a series of posts on my experiences in writing my first Plone theme (and only 3 out of 7 posts made it to planet plone). Last night I put them all into one page for easy reference (mostly for my own sake but it might be helpful to others) It can be read like a tutorial. It's not complete since I didn't go through the steps of breaking the design out into component images for (backgrounds or whatever), but all the python, css, zcml and zpt code is there and *should* work if you follow along (and make your own damn images). Here's the URL: http://lionfacelemonface.wordpress.com/tutorials/adventures-in-theming-the-complete-saga/ I hope this is helpful, JJ p.s. Feedback is always appreciated From mbiggers at med.unc.edu Thu Feb 5 15:36:43 2009 From: mbiggers at med.unc.edu (Mark R. Biggers) Date: Thu, 05 Feb 2009 09:36:43 -0500 Subject: [TriZPUG] become a "real" Certficate Authority, at (2/12 Thu) TriLUG meeting! Message-ID: <498AF97B.8040708@med.unc.edu> FYI, I plan to go, so I can "become a CA": The channel topic is "TriLUG.org | Next meeting: 2/12, 7pm, topic is "CA Cert", bring two forms of gov't-issued ID to become CA-certified". http://trilug.org/node/86 (Read ALL of this, at the URL above) > February 12th meeting - CA Cert > > CAcert.org is a community-driven certificate authority that issues > free public key certificates to the public (unlike other certificate > authorities which are commercial and sell certificates). > > At the February TriLUG meeting, we will learn about certificates and > certificate authorities, and we will have a chance to become > "certified" to issue our own certificates through CA Cert. These > certificates can be used to enable SSL on a web server or a mail > server. > > If you would like to be certified, bring 2 forms of government-issued > ID. You might also want to do some homework on the CA Cert web site > beforehand. > > Time: Thursday, 12 February, 7:00pm > Place: Red Hat HQ, NCSU Centennial Campus > Directions: > http://www.redhat.com/about/contact/ww/americas/raleigh.html > ................................ > ................................ From cbc at unc.edu Thu Feb 5 18:48:40 2009 From: cbc at unc.edu (Chris Calloway) Date: Thu, 05 Feb 2009 12:48:40 -0500 Subject: [TriZPUG] Plone Viewlet Manager/Theme "tutorial" posted In-Reply-To: <498B0486.7070500@email.unc.edu> References: <498B0486.7070500@email.unc.edu> Message-ID: <498B2678.8000207@unc.edu> On 2/5/2009 10:23 AM, Josh Johnson wrote: > This past week or so, I published a series of posts on my experiences in > writing my first Plone theme (and only 3 out of 7 posts made it to > planet plone). Thanks for the heads up. > http://lionfacelemonface.wordpress.com/tutorials/adventures-in-theming-the-complete-saga/ That's awesome. I think you've got the meatiest blog in the ploniverse. -- Sincerely, Chris Calloway http://www.secoora.org office: 332 Chapman Hall phone: (919) 599-3530 mail: Campus Box #3300, UNC-CH, Chapel Hill, NC 27599 From cbc at unc.edu Thu Feb 5 20:45:19 2009 From: cbc at unc.edu (Chris Calloway) Date: Thu, 05 Feb 2009 14:45:19 -0500 Subject: [TriZPUG] Claytron, PyCon, Plone Symposium, and Plone Immersion In-Reply-To: <4988C2D2.9010700@unc.edu> References: <4988C2D2.9010700@unc.edu> Message-ID: <498B41CF.3040506@unc.edu> On 2/3/2009 5:18 PM, Chris Calloway wrote: > 1) Clayton Parker from Six Feet Up will be in the area tomorrow and > Thursday. He's getting in kind of late tomorrow and there is heavy snow > where he's coming from. Also, I don't know what his schedule is for > working late while he's here. But I'm going to tentatively schedule that > interested Plonistas should plan to meet up at Milltown in Carrboro at > 7pm on Thursday for a social. I'll try to post an update tomorrow. Get your drink on. 7pm. Tonight. Milltown. See ya. -- Sincerely, Chris Calloway http://www.secoora.org office: 332 Chapman Hall phone: (919) 599-3530 mail: Campus Box #3300, UNC-CH, Chapel Hill, NC 27599 From chris at christophermrossi.com Mon Feb 9 00:04:47 2009 From: chris at christophermrossi.com (Chris Rossi) Date: Sun, 8 Feb 2009 18:04:47 -0500 Subject: [TriZPUG] Free Plone Book (defective?) Message-ID: <60bf02c00902081504n14ef7affo2f0139b4f8d8b47a@mail.gmail.com> Hey, so a while back Amazon sent me a new copy of "Professional Plone Development" by Martin Aspeli. According to Amazon, the copy I had was missing some pages so they sent me a replacement. I haven't found which pages were missing. If you would like my older, defective copy, you're welcome to it. As far as I can tell, most of that pages are in there. Holler if you want it. Chris -------------- next part -------------- An HTML attachment was scrubbed... URL: From cbc at unc.edu Mon Feb 9 16:55:29 2009 From: cbc at unc.edu (Chris Calloway) Date: Mon, 09 Feb 2009 10:55:29 -0500 Subject: [TriZPUG] New Plone Book Message-ID: <499051F1.1080507@unc.edu> There was a new Plone Book released at the beginning of this month: http://www.packtpub.com/practical-plone-3-beginners-guide-to-building-powerful-websites/book If you buy it from the publisher (same cost as Amazon), you can get it bundled with the PDF version for carrying around on your laptop or PDA for an extra $10. If you buy the book alone from the publisher, you can also use our User Group code to get an extra 5% off in addition to the publisher's 10% online discount. To get the code, just hover over the publisher's portlet on the front page of the TriZPUG website. Note: the User Group discount code is not in addition to any other discount. It is not good for any discount above 15% off full price. So if you are already getting an 18% online discount on a book/PDF bundle, the User Group discount will not change the price. It will, however, increase a 10% discount to 15%. Also, here are a couple of recent blog articles on the publisher's website suitable for Plone newbies: http://www.packtpub.com/article/structure-content-on-plone-site http://www.packtpub.com/article/safely-manage-different-versions-content-with-plone -- Sincerely, Chris Calloway http://www.secoora.org office: 332 Chapman Hall phone: (919) 599-3530 mail: Campus Box #3300, UNC-CH, Chapel Hill, NC 27599 From cbc at unc.edu Tue Feb 10 21:05:25 2009 From: cbc at unc.edu (Chris Calloway) Date: Tue, 10 Feb 2009 15:05:25 -0500 Subject: [TriZPUG] Upcoming Meetings Message-ID: <4991DE05.8040405@unc.edu> Paul is hosting our February meeting at Capstrat: http://trizpug.org/Members/psmith/feb-09-mtg He reports that Capstrat finally has guest wifi available now. Yay! If you would like to present at this meeting, just sound off. Don't ask for permission. Just tell us what you are going to do. Or just show up and do it. Also, our March meeting about Vpython has been rescheduled for a week earlier than normal due to the conflict with PyCon dates. So the March meeting will be on the third Thursday instead of the fourth: http://trizpug.org/Members/mrevoir/mar-09-mtg/ -- Sincerely, Chris Calloway http://www.secoora.org office: 332 Chapman Hall phone: (919) 599-3530 mail: Campus Box #3300, UNC-CH, Chapel Hill, NC 27599 From brad.crittenden at gmail.com Tue Feb 10 21:13:33 2009 From: brad.crittenden at gmail.com (Bradley A. Crittenden) Date: Tue, 10 Feb 2009 15:13:33 -0500 Subject: [TriZPUG] Upcoming Meetings In-Reply-To: <4991DE05.8040405@unc.edu> References: <4991DE05.8040405@unc.edu> Message-ID: On Feb 10, 2009, at 15:05 , Chris Calloway wrote: > Paul is hosting our February meeting at Capstrat: > > http://trizpug.org/Members/psmith/feb-09-mtg > > He reports that Capstrat finally has guest wifi available now. Yay! > > If you would like to present at this meeting, just sound off. Don't > ask for permission. Just tell us what you are going to do. Or just > show up and do it. > > Also, our March meeting about Vpython has been rescheduled for a > week earlier than normal due to the conflict with PyCon dates. So > the March meeting will be on the third Thursday instead of the fourth: > > http://trizpug.org/Members/mrevoir/mar-09-mtg/ These meetings have been added to http://socialcarolina.org/ -- we'll see if the added geek publicity brings any new people. --bac From edmund at unc.edu Thu Feb 12 19:07:29 2009 From: edmund at unc.edu (Edmund Moseley) Date: Thu, 12 Feb 2009 13:07:29 -0500 Subject: [TriZPUG] viewing all transactions for a single Plone object Message-ID: <20090212130729.kgl2uaquqs000www@webmail5.isis.unc.edu> Hi Trizpuglians, One of my users reports that they had entered a substantial amount of data into an object, saved it, made a workflow transition, another user witnessed these changes, only for later the changes to disappear. I believe the magic 'undo' feature will no longer work, as this happened a few days ago. I know it is possible to view the workflow history of an object, but is there any way of viewing all edits to a specific object? Unfortunately we are still using Plone 2.5.2, and look forward to the version control goodness of Plone 3 (almost finished our migration!) Cheers for any ideas, -- Edmund Moseley Databases Analyst NC Office of the Chief Medical Examiner From cbc at unc.edu Thu Feb 12 22:26:19 2009 From: cbc at unc.edu (Chris Calloway) Date: Thu, 12 Feb 2009 16:26:19 -0500 Subject: [TriZPUG] viewing all transactions for a single Plone object In-Reply-To: <20090212130729.kgl2uaquqs000www@webmail5.isis.unc.edu> References: <20090212130729.kgl2uaquqs000www@webmail5.isis.unc.edu> Message-ID: <499493FB.5010907@unc.edu> On 2/12/2009 1:07 PM, Edmund Moseley wrote: > I believe the magic 'undo' feature will no longer work, as this happened > a few days ago. I know it is possible to view the workflow history of an > object, but is there any way of viewing all edits to a specific object? Until you pack a ZODB, deleted objects still exist in the database. Now, how you might find those deleted pnodes is the $64,000 question. CMFEditions and CMFDiff can be installed on Plone 2.5, also, to get the same versioning you get in Plone 3. Of course, that doesn't do you any good after the fact. -- Sincerely, Chris Calloway http://www.secoora.org office: 332 Chapman Hall phone: (919) 599-3530 mail: Campus Box #3300, UNC-CH, Chapel Hill, NC 27599 From sampbrauer at yahoo.com Thu Feb 12 23:17:43 2009 From: sampbrauer at yahoo.com (Sam Brauer) Date: Thu, 12 Feb 2009 14:17:43 -0800 (PST) Subject: [TriZPUG] viewing all transactions for a single Plone object In-Reply-To: <499493FB.5010907@unc.edu> Message-ID: <240287.41778.qm@web30806.mail.mud.yahoo.com> In unrestricted code (if you're using zeo, try "zopectl debug"), you can call object._p_jar.db().history(object._p_oid, None, 10) to get metadata about the last 10 changes to an object. You'll get a list of dictionaries back. Each dictionary has the keys: 'description', 'version', 'time', 'tid', 'user_name', 'size' The most interesting of these are time, user_name, and tid (transaction id). To get the old state of an object (as a dictionary of its attribute names and values), call object._p_jar.oldstate(object, tid) If this is at all helpful, you can paypal me the $64,000?? ;) --- On Thu, 2/12/09, Chris Calloway wrote: From: Chris Calloway Subject: Re: [TriZPUG] viewing all transactions for a single Plone object To: "Triangle (North Carolina) Zope and Python Users Group" Date: Thursday, February 12, 2009, 4:26 PM On 2/12/2009 1:07 PM, Edmund Moseley wrote: > I believe the magic 'undo' feature will no longer work, as this happened a few days ago. I know it is possible to view the workflow history of an object, but is there any way of viewing all edits to a specific object? Until you pack a ZODB, deleted objects still exist in the database. Now, how you might find those deleted pnodes is the $64,000 question. CMFEditions and CMFDiff can be installed on Plone 2.5, also, to get the same versioning you get in Plone 3. Of course, that doesn't do you any good after the fact. -- Sincerely, Chris Calloway http://www.secoora.org office: 332 Chapman Hall phone: (919) 599-3530 mail: Campus Box #3300, UNC-CH, Chapel Hill, NC 27599 _______________________________________________ TriZPUG mailing list TriZPUG at python.org http://mail.python.org/mailman/listinfo/trizpug http://trizpug.org is the Triangle Zope and Python Users Group -------------- next part -------------- An HTML attachment was scrubbed... URL: From Jason.Hare at dpsnc.net Fri Feb 13 14:33:50 2009 From: Jason.Hare at dpsnc.net (Jason Hare) Date: Fri, 13 Feb 2009 08:33:50 -0500 Subject: [TriZPUG] New to Plone (3) just launched our site: New TrizPug member- In-Reply-To: References: Message-ID: <6A44B3D19F09C749A8F0B825FF1ED24F096244@MAIL02.dpsnc.local> I have some basic questions- I read through the following: The plone.org website, the User's Guide to Plone (from Enfold- we run proxy server on windows IIS6) and I read a good chunk of the Martin Aspelli book. My questions are- 1. I use the ZMI to pack the DB every Friday and I have yet to get how to run the repozo script to make backups- I wrote a .bat file and I seem to be having problems determining the PYTHONPATH that is a requirement in running repozo.py. In windows I assuming (perhaps incorrectly-) that the PATH is looking for python.exe. I have included a copy of our .bat- maybe some one has a tip? SET PYTHONPATH=C:\Python24 "C:\Python24\python.exe" "E:\dpsnc_site\bin\repozo.py" -Bvz -r "E:\backup" -f "E:\dpsnc_site\var\filestorage\Data.fs" 'My file locations 'C:\Python24\python.exe - location of our python.exe 'E:\dpsnc_site\bin\repozo.py - location of the repozo.py file 'E:\backup - folder created to store the backup. 'E:\dpsnc_site\var\filestorage\Data.fs - location of our database - Data.fs 2. This is a serious Noob question I know but I also can't seem to find a simple yes no answer to this question- I am sure it is yes and perhaps a pointer to a tutorial would be great- I want to have a custom skin on a custom template for a particular folder- this is possible? I was thinking that this might be the approach: http://plone.org/documentation/how-to/applying-a-custom-view-to-a-specif ic-folder So I would then have to create a template and a skin to add the custom view? 3. We used sixfeetup to build our template and a customized version of the plone4artists calendar and watching them do a buildout it always seems they have to seriously customize the buildout script for whatever it is they are publishing- so far I have not been able to get a step by step- I would like to use a windows specific svn and buildout deployment tool (not sure if this is the right terminology). Any recommendations would be appreciated. I hope to contribute as much as I am given help thank you so much for reading this and providing any advice... Sincerely Jason Hare Webmaster Durham public Schools From stepht at duke.edu Fri Feb 13 14:58:23 2009 From: stepht at duke.edu (Stephanie Thirolle) Date: Fri, 13 Feb 2009 08:58:23 -0500 Subject: [TriZPUG] New to Plone (3) just launched our site: New TrizPug member- In-Reply-To: <6A44B3D19F09C749A8F0B825FF1ED24F096244@MAIL02.dpsnc.local> References: <6A44B3D19F09C749A8F0B825FF1ED24F096244@MAIL02.dpsnc.local> Message-ID: <49957C7F.7010802@duke.edu> Hey Jason, I can help a bit with #2....what version of Plone are you running, and are you building your views in the zmi or on the file system? Stephanie Thirolle, Nicholas School, Duke University Jason Hare wrote: > I have some basic questions- I read through the following: > > The plone.org website, the User's Guide to Plone (from Enfold- we run > proxy server on windows IIS6) and I read a good chunk of the Martin > Aspelli book. > > My questions are- > > 1. I use the ZMI to pack the DB every Friday and I have yet to get how > to run the repozo script to make backups- I wrote a .bat file and I seem > to be having problems determining the PYTHONPATH that is a requirement > in running repozo.py. In windows I assuming (perhaps incorrectly-) that > the PATH is looking for python.exe. I have included a copy of our .bat- > maybe some one has a tip? > > SET PYTHONPATH=C:\Python24 > "C:\Python24\python.exe" "E:\dpsnc_site\bin\repozo.py" -Bvz -r > "E:\backup" -f "E:\dpsnc_site\var\filestorage\Data.fs" > > 'My file locations > 'C:\Python24\python.exe - location of our python.exe > 'E:\dpsnc_site\bin\repozo.py - location of the repozo.py file > 'E:\backup - folder created to store the backup. > 'E:\dpsnc_site\var\filestorage\Data.fs - location of our database - > Data.fs > > 2. This is a serious Noob question I know but I also can't seem to find > a simple yes no answer to this question- I am sure it is yes and perhaps > a pointer to a tutorial would be great- I want to have a custom skin on > a custom template for a particular folder- this is possible? I was > thinking that this might be the approach: > > http://plone.org/documentation/how-to/applying-a-custom-view-to-a-specif > ic-folder > > So I would then have to create a template and a skin to add the custom > view? > > 3. We used sixfeetup to build our template and a customized version of > the plone4artists calendar and watching them do a buildout it always > seems they have to seriously customize the buildout script for whatever > it is they are publishing- so far I have not been able to get a step by > step- I would like to use a windows specific svn and buildout deployment > tool (not sure if this is the right terminology). Any recommendations > would be appreciated. > > I hope to contribute as much as I am given help thank you so much for > reading this and providing any advice... > > Sincerely > > Jason Hare > Webmaster > Durham public Schools > > _______________________________________________ > TriZPUG mailing list > TriZPUG at python.org > http://mail.python.org/mailman/listinfo/trizpug > http://trizpug.org is the Triangle Zope and Python Users Group > -- Stephanie Thirolle Director of Web Projects Nicholas School of the Environment Duke University stepht at duke.edu p:(919)572-5639 f:(919)572-5681 www.nicholas.duke.edu From chris at christophermrossi.com Fri Feb 13 16:52:14 2009 From: chris at christophermrossi.com (Chris Rossi) Date: Fri, 13 Feb 2009 10:52:14 -0500 Subject: [TriZPUG] New to Plone (3) just launched our site: New TrizPug member- In-Reply-To: <6A44B3D19F09C749A8F0B825FF1ED24F096244@MAIL02.dpsnc.local> References: <6A44B3D19F09C749A8F0B825FF1ED24F096244@MAIL02.dpsnc.local> Message-ID: <60bf02c00902130752k53c25722s11dc47f73ec79a10@mail.gmail.com> Regarding, 1), what is the output of running that command for you? As far as a Windows SVN tool, I'm a big fan of TortoiseSVN. It's one of maybe two things that I actually miss from Windows. I am not aware of a tool to make buildouts easier, though. Feel free to ping me with specific questions. Chris On Fri, Feb 13, 2009 at 8:33 AM, Jason Hare wrote: > I have some basic questions- I read through the following: > > The plone.org website, the User's Guide to Plone (from Enfold- we run > proxy server on windows IIS6) and I read a good chunk of the Martin > Aspelli book. > > My questions are- > > 1. I use the ZMI to pack the DB every Friday and I have yet to get how > to run the repozo script to make backups- I wrote a .bat file and I seem > to be having problems determining the PYTHONPATH that is a requirement > in running repozo.py. In windows I assuming (perhaps incorrectly-) that > the PATH is looking for python.exe. I have included a copy of our .bat- > maybe some one has a tip? > > SET PYTHONPATH=C:\Python24 > "C:\Python24\python.exe" "E:\dpsnc_site\bin\repozo.py" -Bvz -r > "E:\backup" -f "E:\dpsnc_site\var\filestorage\Data.fs" > > 'My file locations > 'C:\Python24\python.exe - location of our python.exe > 'E:\dpsnc_site\bin\repozo.py - location of the repozo.py file > 'E:\backup - folder created to store the backup. > 'E:\dpsnc_site\var\filestorage\Data.fs - location of our database - > Data.fs > > 2. This is a serious Noob question I know but I also can't seem to find > a simple yes no answer to this question- I am sure it is yes and perhaps > a pointer to a tutorial would be great- I want to have a custom skin on > a custom template for a particular folder- this is possible? I was > thinking that this might be the approach: > > http://plone.org/documentation/how-to/applying-a-custom-view-to-a-specif > ic-folder > > So I would then have to create a template and a skin to add the custom > view? > > 3. We used sixfeetup to build our template and a customized version of > the plone4artists calendar and watching them do a buildout it always > seems they have to seriously customize the buildout script for whatever > it is they are publishing- so far I have not been able to get a step by > step- I would like to use a windows specific svn and buildout deployment > tool (not sure if this is the right terminology). Any recommendations > would be appreciated. > > I hope to contribute as much as I am given help thank you so much for > reading this and providing any advice... > > Sincerely > > Jason Hare > Webmaster > Durham public Schools > > _______________________________________________ > TriZPUG mailing list > TriZPUG at python.org > http://mail.python.org/mailman/listinfo/trizpug > http://trizpug.org is the Triangle Zope and Python Users Group > -------------- next part -------------- An HTML attachment was scrubbed... URL: From cbc at unc.edu Fri Feb 13 19:35:28 2009 From: cbc at unc.edu (Chris Calloway) Date: Fri, 13 Feb 2009 13:35:28 -0500 Subject: [TriZPUG] viewing all transactions for a single Plone object In-Reply-To: <240287.41778.qm@web30806.mail.mud.yahoo.com> References: <240287.41778.qm@web30806.mail.mud.yahoo.com> Message-ID: <4995BD70.10007@unc.edu> On 2/12/2009 5:17 PM, Sam Brauer wrote: > If this is at all helpful, you can paypal me the $64,000 ;) Thanks, Sam. Check's in the mail. -- Sincerely, Chris Calloway http://www.secoora.org office: 332 Chapman Hall phone: (919) 599-3530 mail: Campus Box #3300, UNC-CH, Chapel Hill, NC 27599 From david at handysoftware.com Fri Feb 13 19:12:20 2009 From: david at handysoftware.com (David Handy) Date: Fri, 13 Feb 2009 13:12:20 -0500 Subject: [TriZPUG] New to Plone (3) just launched our site: New TrizPug member- In-Reply-To: <6A44B3D19F09C749A8F0B825FF1ED24F096244@MAIL02.dpsnc.local> References: <6A44B3D19F09C749A8F0B825FF1ED24F096244@MAIL02.dpsnc.local> Message-ID: <20090213181220.GA24566@arno2> I can partly answer at least a couple of your questions - On Fri, Feb 13, 2009 at 08:33:50AM -0500, Jason Hare wrote: > I wrote a .bat file and I seem to be having problems determining the > PYTHONPATH that is a requirement in running repozo.py. In windows I > assuming (perhaps incorrectly-) that the PATH is looking for python.exe. Yes, that is incorrect. PYTHONPATH is about finding python modules (imported files that end with a .py extension.) If Python runs at all, then it already knows about the directory containing python.exe, and has already put that in the "python path" by default. You don't need to put the directory containing python.exe in PYTHONPATH. > I have included a copy of our .bat- > maybe some one has a tip? > > SET PYTHONPATH=C:\Python24 > "C:\Python24\python.exe" "E:\dpsnc_site\bin\repozo.py" -Bvz -r > "E:\backup" -f "E:\dpsnc_site\var\filestorage\Data.fs" > > 'My file locations > 'C:\Python24\python.exe - location of our python.exe > 'E:\dpsnc_site\bin\repozo.py - location of the repozo.py file > 'E:\backup - folder created to store the backup. > 'E:\dpsnc_site\var\filestorage\Data.fs - location of our database - > Data.fs Your batch file gave Python the full name of the repozo.py file, so Python already knows how to find that file. So PYTHONPATH is not the issue there either. What were your symptoms when you tried to run your batch file? If you posted the actual error message, that might help. David H -- David Handy Computer Programming is Fun! Beginning Computer Programming with Python http://www.handysoftware.com/cpif/ From cbc at unc.edu Fri Feb 13 20:21:06 2009 From: cbc at unc.edu (Chris Calloway) Date: Fri, 13 Feb 2009 14:21:06 -0500 Subject: [TriZPUG] New to Plone (3) just launched our site: New TrizPug member- In-Reply-To: <6A44B3D19F09C749A8F0B825FF1ED24F096244@MAIL02.dpsnc.local> References: <6A44B3D19F09C749A8F0B825FF1ED24F096244@MAIL02.dpsnc.local> Message-ID: <4995C822.80902@unc.edu> On 2/13/2009 8:33 AM, Jason Hare wrote: > 1. I use the ZMI to pack the DB every Friday and I have yet to get how > to run the repozo script to make backups- I wrote a .bat file and I seem > to be having problems determining the PYTHONPATH that is a requirement > in running repozo.py. In windows I assuming (perhaps incorrectly-) that > the PATH is looking for python.exe. I have included a copy of our .bat- > maybe some one has a tip? > > SET PYTHONPATH=C:\Python24 > "C:\Python24\python.exe" "E:\dpsnc_site\bin\repozo.py" -Bvz -r > "E:\backup" -f "E:\dpsnc_site\var\filestorage\Data.fs" > > 'My file locations > 'C:\Python24\python.exe - location of our python.exe > 'E:\dpsnc_site\bin\repozo.py - location of the repozo.py file > 'E:\backup - folder created to store the backup. > 'E:\dpsnc_site\var\filestorage\Data.fs - location of our database - > Data.fs You need to use the Python used by your Zope. Since this is on Windows, did you use the Enfold Plone installer? Or a buildout? Either way, it is unlikely that your Zope uses the system Python at C:\Python24. Unless somebody did something I haven't seen anybody do before. Like use a system Python on Windows to install and run Plone. You need to look in your Zope instances etc/zope.conf file or your buildout config to find the correct Python. The PYTHONPATH will need to be set to where your Zope codebase's libraries are. For instance, here's the script that does the incremental daily backup of trizpug.org. You will need to adjust this for Windows, of course: #!/bin/bash # backup trizpug # cron daily as zopemgr PYTHONHOME=/usr/local/Zope2.7.6/bin ZOPEHOME=/usr/local/Zope2.7.6/lib/python ZODBHOME=/var/lib/Zope2.7.6/var export PYTHONPATH=${ZOPEHOME} ${PYTHONHOME}/python \ ${PYTHONHOME}/repozo.py \ -B \ -r ${ZODBHOME} \ -f ${ZODBHOME}/Data.fs \ -z Six Feet Up should be able to advise you where they put your Zope's python and libraries. > 2. This is a serious Noob question I know but I also can't seem to find > a simple yes no answer to this question- I am sure it is yes and perhaps > a pointer to a tutorial would be great- I want to have a custom skin on > a custom template for a particular folder- this is possible? I was > thinking that this might be the approach: > > http://plone.org/documentation/how-to/applying-a-custom-view-to-a-specif > ic-folder > > So I would then have to create a template and a skin to add the custom > view? The simple answer is yes. The less simple answer is there are many ways to do this. At least four are shown on the tutorial you reference. But judging from these questions, you may be in over your head. Josh, when is the next Plone Jam? Six Feet Up was in town just last week giving a two day tutorial on how to do this in downtown Durham. You might want to ping them. > 3. We used sixfeetup to build our template and a customized version of > the plone4artists calendar and watching them do a buildout it always > seems they have to seriously customize the buildout script for whatever > it is they are publishing- so far I have not been able to get a step by > step- I would like to use a windows specific svn and buildout deployment > tool (not sure if this is the right terminology). Any recommendations > would be appreciated. http://plone.org/documentation/how-to/using-buildout-on-windows -- Sincerely, Chris Calloway http://www.secoora.org office: 332 Chapman Hall phone: (919) 599-3530 mail: Campus Box #3300, UNC-CH, Chapel Hill, NC 27599 From edmund at unc.edu Sat Feb 14 05:12:26 2009 From: edmund at unc.edu (Edmund Moseley) Date: Fri, 13 Feb 2009 23:12:26 -0500 Subject: [TriZPUG] viewing all transactions for a single Plone object Message-ID: <20090213231226.t2vuht4z4ssooggo@webmail4.isis.unc.edu> Thank you all for the suggestions. Sam, those _p_jar tricks are awesome! I have played about in 'zopectl debug' before, but only aware of the current state of objects. Inspecting the object in question, I could see that it had been edited 53 times in 3 days. The user's claim was that certain fields were entered initially, and disappeared at some point in time. From the values stored in the history, it appears that values for said fields, only got entered in the later transactions (...and remain there). User error perhaps? From jhare at madtek.com Sat Feb 14 13:56:02 2009 From: jhare at madtek.com (Jason Hare) Date: Sat, 14 Feb 2009 07:56:02 -0500 Subject: [TriZPUG] New to Plone (3) just launched our site: New TrizPug member- In-Reply-To: References: Message-ID: <4996BF62.5040303@madtek.com> An HTML attachment was scrubbed... URL: From Jason.Hare at dpsnc.net Sun Feb 15 22:05:57 2009 From: Jason.Hare at dpsnc.net (Jason Hare) Date: Sun, 15 Feb 2009 16:05:57 -0500 Subject: [TriZPUG] TriZPUG Digest, Vol 10, Issue 10 References: Message-ID: <6A44B3D19F09C749A8F0B825FF1ED24FE51C@MAIL02.dpsnc.local> In regards to anything in Plone being over my head- yes I am new to Plone- but not new to Zope. Some things have changed since 2001- the last time I worked on a Zope site- There is also some pretty lively debates on nabble about whether the templating and skinning options listed in my skinning a single folder question are valid in plone 3- I thought I would ask to make sure before I spent a bunch of time learning how to do something and then finding out it would not do me much good- In windows there are some repozo differences which I found out by reading further and discussing with sixfeetup concerning the reposzo.exe they put in our buildout. It does the same thing as the bat file I wrote to use repozo.script.py but whatever- as long as my backups work I am happy. Thanks again for the TortiseSVN tip- Jason ________________________________ From: trizpug-bounces+jason.hare=dpsnc.net at python.org on behalf of trizpug-request at python.org Sent: Sat 2/14/2009 6:00 AM To: trizpug at python.org Subject: TriZPUG Digest, Vol 10, Issue 10 Send TriZPUG mailing list submissions to trizpug at python.org To subscribe or unsubscribe via the World Wide Web, visit http://mail.python.org/mailman/listinfo/trizpug or, via email, send a message with subject or body 'help' to trizpug-request at python.org You can reach the person managing the list at trizpug-owner at python.org When replying, please edit your Subject line so it is more specific than "Re: Contents of TriZPUG digest..." Today's Topics: 1. Re: New to Plone (3) just launched our site: New TrizPug member- (Chris Calloway) 2. Re: viewing all transactions for a single Plone object (Edmund Moseley) ---------------------------------------------------------------------- Message: 1 Date: Fri, 13 Feb 2009 14:21:06 -0500 From: Chris Calloway Subject: Re: [TriZPUG] New to Plone (3) just launched our site: New TrizPug member- To: "Triangle (North Carolina) Zope and Python Users Group" Message-ID: <4995C822.80902 at unc.edu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed On 2/13/2009 8:33 AM, Jason Hare wrote: > 1. I use the ZMI to pack the DB every Friday and I have yet to get how > to run the repozo script to make backups- I wrote a .bat file and I seem > to be having problems determining the PYTHONPATH that is a requirement > in running repozo.py. In windows I assuming (perhaps incorrectly-) that > the PATH is looking for python.exe. I have included a copy of our .bat- > maybe some one has a tip? > > SET PYTHONPATH=C:\Python24 > "C:\Python24\python.exe" "E:\dpsnc_site\bin\repozo.py" -Bvz -r > "E:\backup" -f "E:\dpsnc_site\var\filestorage\Data.fs" > > 'My file locations > 'C:\Python24\python.exe - location of our python.exe > 'E:\dpsnc_site\bin\repozo.py - location of the repozo.py file > 'E:\backup - folder created to store the backup. > 'E:\dpsnc_site\var\filestorage\Data.fs - location of our database - > Data.fs You need to use the Python used by your Zope. Since this is on Windows, did you use the Enfold Plone installer? Or a buildout? Either way, it is unlikely that your Zope uses the system Python at C:\Python24. Unless somebody did something I haven't seen anybody do before. Like use a system Python on Windows to install and run Plone. You need to look in your Zope instances etc/zope.conf file or your buildout config to find the correct Python. The PYTHONPATH will need to be set to where your Zope codebase's libraries are. For instance, here's the script that does the incremental daily backup of trizpug.org. You will need to adjust this for Windows, of course: #!/bin/bash # backup trizpug # cron daily as zopemgr PYTHONHOME=/usr/local/Zope2.7.6/bin ZOPEHOME=/usr/local/Zope2.7.6/lib/python ZODBHOME=/var/lib/Zope2.7.6/var export PYTHONPATH=${ZOPEHOME} ${PYTHONHOME}/python \ ${PYTHONHOME}/repozo.py \ -B \ -r ${ZODBHOME} \ -f ${ZODBHOME}/Data.fs \ -z Six Feet Up should be able to advise you where they put your Zope's python and libraries. > 2. This is a serious Noob question I know but I also can't seem to find > a simple yes no answer to this question- I am sure it is yes and perhaps > a pointer to a tutorial would be great- I want to have a custom skin on > a custom template for a particular folder- this is possible? I was > thinking that this might be the approach: > > http://plone.org/documentation/how-to/applying-a-custom-view-to-a-specif > ic-folder > > So I would then have to create a template and a skin to add the custom > view? The simple answer is yes. The less simple answer is there are many ways to do this. At least four are shown on the tutorial you reference. But judging from these questions, you may be in over your head. Josh, when is the next Plone Jam? Six Feet Up was in town just last week giving a two day tutorial on how to do this in downtown Durham. You might want to ping them. > 3. We used sixfeetup to build our template and a customized version of > the plone4artists calendar and watching them do a buildout it always > seems they have to seriously customize the buildout script for whatever > it is they are publishing- so far I have not been able to get a step by > step- I would like to use a windows specific svn and buildout deployment > tool (not sure if this is the right terminology). Any recommendations > would be appreciated. http://plone.org/documentation/how-to/using-buildout-on-windows -- Sincerely, Chris Calloway http://www.secoora.org office: 332 Chapman Hall phone: (919) 599-3530 mail: Campus Box #3300, UNC-CH, Chapel Hill, NC 27599 ------------------------------ Message: 2 Date: Fri, 13 Feb 2009 23:12:26 -0500 From: Edmund Moseley Subject: Re: [TriZPUG] viewing all transactions for a single Plone object To: trizpug at python.org Message-ID: <20090213231226.t2vuht4z4ssooggo at webmail4.isis.unc.edu> Content-Type: text/plain; charset=ISO-8859-1; format="flowed" Thank you all for the suggestions. Sam, those _p_jar tricks are awesome! I have played about in 'zopectl debug' before, but only aware of the current state of objects. Inspecting the object in question, I could see that it had been edited 53 times in 3 days. The user's claim was that certain fields were entered initially, and disappeared at some point in time. From the values stored in the history, it appears that values for said fields, only got entered in the later transactions (...and remain there). User error perhaps? ------------------------------ _______________________________________________ TriZPUG mailing list TriZPUG at python.org http://mail.python.org/mailman/listinfo/trizpug End of TriZPUG Digest, Vol 10, Issue 10 *************************************** -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/ms-tnef Size: 10133 bytes Desc: not available URL: From joshua.r.smith at gmail.com Tue Feb 17 01:59:35 2009 From: joshua.r.smith at gmail.com (joshua.r.smith) Date: Mon, 16 Feb 2009 19:59:35 -0500 Subject: [TriZPUG] plone buildout vs. unified installer Message-ID: Hey guys, this is Joshua. I went to a few of your meetings when I was still living in the area before moving to Pittsburgh. I was the guy talking about using plone and LaTeX to make a solution archive for problem sets in science and engineering. I've been working on this project in my (vanishingly small) spare time and I've run into a snarl: I don't understand why the unified installer seems to install everything (python 2.4, zope, and plone), but doing a buildout (following Martin Aspeli's tutorial) seems to install zope, but not plone. I'm sure that its a simple issue and I'm guessing you guys can help me. Apologies in advance for being such a noob. I downloaded the Plone 3.1.6 r2 unified installer a few months back and I've been trying to install a buildout locally on my machine. Once I uncompressed the package, I executed Beeta:Plone-3.1.6-r2-UnifiedInstaller jrsmith3$ ./install.sh standalone in order to get everything set up in /Users/jrsmith3/Plone-3.1. It looks like plone, zope, and python 2.4 get installed into that directory and I can run: jrsmith3$ ~/Plone-3.1/zinstance/bin/instance start to start up zope and plone. I can use my browser to go to http://localhost:8080/ and http://localhost:8080/Plone/ to see the zope landing page and my plone install, respectively. This is all great, but I want to be able to make a plone buildout in a different location for the purposes of hacking, so that in the event that I break something I can just wipe out the directory and start over. Also, once I get my LaTeX product set up I want to be able to use a buildout to install a fully working plone setup. From what I understand, I can make modifications to the default buildout and install custom products using buildout.cfg, so I think I'm on the right track. So, I try to follow Martin Aspeli's tutorial http://plone.org/documentation/tutorial/buildout/tutorial-all-pages to make some buildouts. It looks like it works if I use python 2.4 installed in ~/Plone-3.1/Python-2.4 instead of my system python. I do: $ ~/Plone-3.1/Python-2.4/bin/paster create -t plone3_buildout myproject cd into the myproject dir, run bootstrap.sh and buildout, and then I can see the zope landing page in my browser. The problem is, I can't see http://localhost:8080/Plone/ in my browser. What is going on, and what am I missing here? Does buildout not install plone? Why is the unified installer install plone? Thanks in advance for your patience with such a noob question. Best, Joshua -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2464 bytes Desc: not available URL: From cr at spacelabstudio.com Tue Feb 17 03:44:10 2009 From: cr at spacelabstudio.com (Chris Rossi) Date: Mon, 16 Feb 2009 21:44:10 -0500 Subject: [TriZPUG] plone buildout vs. unified installer In-Reply-To: References: Message-ID: <60bf02c00902161844o1a9d0663x45f75a43ef473dc0@mail.gmail.com> In the zmi add a plone site. Chris On 2/16/09, joshua. r. smith wrote: > Hey guys, this is Joshua. I went to a few of your meetings when I was > still living in the area before moving to Pittsburgh. I was the guy > talking about using plone and LaTeX to make a solution archive for > problem sets in science and engineering. I've been working on this > project in my (vanishingly small) spare time and I've run into a > snarl: I don't understand why the unified installer seems to install > everything (python 2.4, zope, and plone), but doing a buildout > (following Martin Aspeli's tutorial) seems to install zope, but not > plone. I'm sure that its a simple issue and I'm guessing you guys can > help me. Apologies in advance for being such a noob. > > I downloaded the Plone 3.1.6 r2 unified installer a few months back > and I've been trying to install a buildout locally on my machine. Once > I uncompressed the package, I executed > > Beeta:Plone-3.1.6-r2-UnifiedInstaller jrsmith3$ ./install.sh standalone > > in order to get everything set up in /Users/jrsmith3/Plone-3.1. It > looks like plone, zope, and python 2.4 get installed into that > directory and I can run: > > jrsmith3$ ~/Plone-3.1/zinstance/bin/instance start > > to start up zope and plone. I can use my browser to go to > > http://localhost:8080/ > > and > > http://localhost:8080/Plone/ > > to see the zope landing page and my plone install, respectively. > > This is all great, but I want to be able to make a plone buildout in a > different location for the purposes of hacking, so that in the event > that I break something I can just wipe out the directory and start > over. Also, once I get my LaTeX product set up I want to be able to > use a buildout to install a fully working plone setup. From what I > understand, I can make modifications to the default buildout and > install custom products using buildout.cfg, so I think I'm on the > right track. > > So, I try to follow Martin Aspeli's tutorial > > http://plone.org/documentation/tutorial/buildout/tutorial-all-pages > > to make some buildouts. It looks like it works if I use python 2.4 > installed in ~/Plone-3.1/Python-2.4 instead of my system python. I do: > > $ ~/Plone-3.1/Python-2.4/bin/paster create -t plone3_buildout myproject > > cd into the myproject dir, run bootstrap.sh and buildout, and then I > can see the zope landing page in my browser. The problem is, I can't > see http://localhost:8080/Plone/ in my browser. What is going on, and > what am I missing here? Does buildout not install plone? Why is the > unified installer install plone? > > Thanks in advance for your patience with such a noob question. > > Best, > Joshua From cbc at unc.edu Wed Feb 18 15:44:59 2009 From: cbc at unc.edu (Chris Calloway) Date: Wed, 18 Feb 2009 09:44:59 -0500 Subject: [TriZPUG] PyCon Early Bird Registration Ends Saturday Message-ID: <499C1EEB.9060507@unc.edu> This year PyCon is in Chicago again, at the end of March (March 27-29). The last day for early-bird registration is this Saturday. List of accepted talks: http://us.pycon.org/2009/conference/talks/ Keynotes and invited talks: http://us.pycon.org/2009/conference/keynotes/ Sprints: http://us.pycon.org/2009/sprints/projects/ Tutorial Days: http://us.pycon.org/2009/tutorials/schedule/ Registration information: http://us.pycon.org/2009/registration/ -- Sincerely, Chris Calloway http://www.secoora.org office: 332 Chapman Hall phone: (919) 599-3530 mail: Campus Box #3300, UNC-CH, Chapel Hill, NC 27599 From cbc at unc.edu Wed Feb 18 21:27:05 2009 From: cbc at unc.edu (Chris Calloway) Date: Wed, 18 Feb 2009 15:27:05 -0500 Subject: [TriZPUG] PyCon Early Bird Registration Ends Saturday In-Reply-To: <499C1EEB.9060507@unc.edu> References: <499C1EEB.9060507@unc.edu> Message-ID: <499C6F19.8020405@unc.edu> Hotel reservations at the conference rates are still available, but not for long: . Act now, because the regular rate is considerably higher! On 2/18/2009 9:44 AM, Chris Calloway wrote: > This year PyCon is in Chicago again, at the end of March (March 27-29). > The last day for early-bird registration is this Saturday. > > List of accepted talks: > http://us.pycon.org/2009/conference/talks/ > > Keynotes and invited talks: > http://us.pycon.org/2009/conference/keynotes/ > > Sprints: > http://us.pycon.org/2009/sprints/projects/ > > Tutorial Days: > http://us.pycon.org/2009/tutorials/schedule/ > > Registration information: > http://us.pycon.org/2009/registration/ > -- Sincerely, Chris Calloway http://www.secoora.org office: 332 Chapman Hall phone: (919) 599-3530 mail: Campus Box #3300, UNC-CH, Chapel Hill, NC 27599 From bsoher at briansoher.com Fri Feb 20 16:18:33 2009 From: bsoher at briansoher.com (Brian J. Soher) Date: Fri, 20 Feb 2009 10:18:33 -0500 Subject: [TriZPUG] Duke Radiology research lab looking for Python developer Message-ID: <200902201518.n1KFIeuE004268@richalieu.duhs.duke.edu> Dr. Brian Soher of the Duke Center for Advanced Magnetic Resonance Development lab is looking to hire a Senior Python C/C++ Programmer. Our lab designs applications for static/real-time data acquisition, transfer, processing and analysis for new and ongoing medical imaging research projects. We are in the process of converting a number of existing applications (IDL, Matlab, C/C++) into Python based processing modules. You will: * Transition existing code into a robust, modular and object oriented architecture. * Extend current and design new image analysis applications. * Apply distributed data processing techniques to speed up MR data processing. You should be able to: * Develop custom software that is both modular and extensible. * Identify and exploit parallelism in scientific algorithms. * Use programming tools and techniques to tune and optimize blocks of code. * Assist in the mapping of the algorithm to practical hardware/software systems. * Work effectively within a research group with diverse skills and backgrounds. * Do general maintenance and administration of a small Linux cluster. You should have: * Extensive knowledge of Python and two of: IDL, Matlab, C/C++, Java * Knowledge of graphical user interface design and implementation, particularly in wxPython. * Knowledge of common parallel programming models such as MPI and IPython. * Experience with shell scripting languages, batch scheduling systems, and Linux cluster computing systems administration. * Strong written and spoken communications skills. * Experience working in project teams and writing documentation for users of varying technical abilities. * Earned Bachelor's degree in Information Systems, Mathematics, Computer Science, related field, or equivalent combination of relevant education and experience. * Two to three years experience with scientific applications design/programming and Linux systems administration. Duke University Medical Center offers: * The working environment is a normal office environment. * Great retirement and health benefits. * Annual paid time off that accrues from date of hire. * Tuition reimbursement. Publicly available blogs and/or past work are definite pluses. Please send a cover letter, resume and three references to: Brian J. Soher, brian.soher at duke.edu. Please include Scientific Programmer in the subject line. Additionally post your resume in Duke database by going to Duke HR website at https://www.hr.duke.edu/secure/jobs/external.html where this job is listed under "Search Openings" and Requisiton # 400283090 -------------- next part -------------- An HTML attachment was scrubbed... URL: From cbc at unc.edu Mon Feb 23 15:08:48 2009 From: cbc at unc.edu (Chris Calloway) Date: Mon, 23 Feb 2009 09:08:48 -0500 Subject: [TriZPUG] Fwd: World Plone Day 2009 References: <49A1C416.7090902@menttes.com> Message-ID: TriZPUG, We had a World Plone Day event last year right after Plone Conference. After the event, I suggested to the planning committee that right after conference was maybe not the best time for such an event. They solicited when would be a good time. I suggested April. Lo and behold, they went for my suggestion. Now it is almost April, World Plone Day has been set for April 22. Due to a lot of factors, I'm probably not the best person to organize World Plone Day locally this year. If you would like to do that, below is a message from the global organizer pointing to the website for World Plone Day. You'd probably also want to join the World Plone Day group on openplans.org and the Plone evangelism email list. BTW, the figures are in for PyCon early bird registration. 625 people are already registered. Taking that number and plugging it into trends from the last two years, it looks like PyCon will have 1400 attendees this year. You may want to book your room now if you haven't already. There are two hotels reserved for PyCon this year. -- Sincerely, Chris Calloway http://www.secoora.org office: 332 Chapman Hall phone: (919) 599-3530 mail: Campus Box #3300, UNC-CH, Chapel Hill, NC 27599 Begin forwarded message: > From: Roberto Allende > Date: February 22, 2009 4:31:02 PM EST > To: Chris Calloway > Subject: World Plone Day 2009 > > Hello Chris > > Thank to people like you, WPD 2008 was a complete success and we > want to invite you join us for World Plone Day 2009 to be held on > April 22th. > > We're working to make WPD a yearly event and it would be great > having you again. We'll follow the same format as 2008. The global > website is http://worldploneday.org and there you can find the > instructions to register your place and futher information. > > Any comments, feedback and suggestion is always welcome. > > Kind Regards > r. From robert at geigers.net Sat Feb 28 19:03:39 2009 From: robert at geigers.net (Robert Geiger) Date: Sat, 28 Feb 2009 13:03:39 -0500 Subject: [TriZPUG] Python job post... In-Reply-To: References: <49A1C416.7090902@menttes.com> Message-ID: <49A97C7B.2020103@geigers.net> http://jobview.monster.com/GetJob.aspx?JobID=79639406&aid=5857514&WT.mc_n=JSAHG10 -- Robert Geiger 919.271.7132 Mobile 888.476.5230 Fax http://blog.createandattract.net Create a great day! -------------- next part -------------- A non-text attachment was scrubbed... Name: robert.vcf Type: text/x-vcard Size: 219 bytes Desc: not available URL: