From simeonf at gmail.com Tue Oct 2 00:16:43 2012 From: simeonf at gmail.com (Simeon Franklin) Date: Mon, 1 Oct 2012 15:16:43 -0700 Subject: [Baypiggies] Django 1.5 Pycon Follow-up In-Reply-To: References: Message-ID: On Sun, Sep 30, 2012 at 12:01 PM, Glen Jarvis wrote: > At Pycon, a big announcement was made that Django 1.5 should be released > in the fall and that it is targeted to run on Python 3. There were certain > disclaimers that this was the goal and no guarantees that we make it. > > The fall is here and I'm reviewing a project specification. I saw that > tornado runs on Django 3.2 and I was wondering if Django was also close to > meeting that goal. Does anyone have a skinny on this? (I'm not on any > Django lists to ask there). > Yes. It requires a few extra hoops particularly if you want to code that runs on both Python 2 and Python 3. See https://docs.djangoproject.com/en/dev/topics/python3/ for the official story... -regards Simeon Franklin -------------- next part -------------- An HTML attachment was scrubbed... URL: From glen at glenjarvis.com Tue Oct 2 06:15:31 2012 From: glen at glenjarvis.com (Glen Jarvis) Date: Mon, 1 Oct 2012 21:15:31 -0700 Subject: [Baypiggies] Django 1.5 Pycon Follow-up In-Reply-To: References: Message-ID: Thanks, Simeon! Has anyone else ever done a Django + Tornado project before? I have been reviewing Tornado (quite sweet, actually). And, I will review blogs like this one soon: http://lincolnloop.com/blog/2009/sep/15/using-django-inside-tornado-web-server/ However, it's also nice to know if anyone I know has tried this and what gotchas they ran into. Cheers, Glen On Mon, Oct 1, 2012 at 3:16 PM, Simeon Franklin wrote: > On Sun, Sep 30, 2012 at 12:01 PM, Glen Jarvis wrote: > >> At Pycon, a big announcement was made that Django 1.5 should be released >> in the fall and that it is targeted to run on Python 3. There were certain >> disclaimers that this was the goal and no guarantees that we make it. >> >> The fall is here and I'm reviewing a project specification. I saw that >> tornado runs on Django 3.2 and I was wondering if Django was also close to >> meeting that goal. Does anyone have a skinny on this? (I'm not on any >> Django lists to ask there). >> > > Yes. It requires a few extra hoops particularly if you want to code that > runs on both Python 2 and Python 3. See > https://docs.djangoproject.com/en/dev/topics/python3/ for the official > story... > > -regards > Simeon Franklin > -- "Pursue, keep up with, circle round and round your life as a dog does his master's chase. Do what you love. Know your own bone; gnaw at it, bury it, unearth it, and gnaw it still." --Henry David Thoreau -------------- next part -------------- An HTML attachment was scrubbed... URL: From tw-public at gmx.de Fri Oct 5 02:34:13 2012 From: tw-public at gmx.de (Thomas Waldmann) Date: Fri, 05 Oct 2012 02:34:13 +0200 Subject: [Baypiggies] Fwd: MoinMoin developers visiting In-Reply-To: References: <1347400988.28708.40.camel@x300.localdomain> <20120912222652.CED09638@ms1.mc.surewest.net> Message-ID: <1349397253.28107.35.camel@x300.localdomain> Hi Jeff, > I just deployed moinmoin > and did a quick integration with Django. > I liked how simple it was to deploy Hehe, ok, then you are obviously experienced with Python. Some people who aren't find it rather uneasy sometimes (esp. on some hostings that are not really having good python support). > but felt customization was a bit difficult. Yeah, this is known, moin1 was rather meant to be run separately and customizing the theme was not quite a strength of it (although doable, esp. for Pythonistas). > Would love to sit down with moinmoin2 and see how things have changed. OK, see you at the meeting. :) We like feedback and contributions, esp. when it comes to theme / UI / UX stuff (as we do not have many people in the team working on that). Cheers, Thomas From erin.lynn.root at gmail.com Sun Oct 7 20:35:23 2012 From: erin.lynn.root at gmail.com (Lynn Root) Date: Sun, 7 Oct 2012 11:35:23 -0700 Subject: [Baypiggies] PyLadies Panel discussion Message-ID: Hi all! It was great meeting some of you at August's meetup, and some at the PyLadies events! I'm organizing a Python panel for PyLadies in January (after the holidays, no solid date set yet but will be an evening weekday) to be hosted in the city. I'd like to get women exposed to deeper conversations about Python, so I'd like to invite core developers of CPython, PyPy, Jython, etc. The panel itself will probably start off with a 20-30 minute soft introduction of the GIL, as well as the other implementation flavors of Python, just to get everyone up to speed. So far, Guido and Alex Gaynor have enthusiastically agreed to be on the panel, and I have invited a couple of others. Would anyone feel up to the challenge in joining the panel or know someone I should bug? Or would anyone like to help me out with ideating on that soft intro to the GIL? Ideally I'd also like to get women on the panel and/or for the intro, but welcome men as well! Much appreciated! Lynn Root -------------- next part -------------- An HTML attachment was scrubbed... URL: From janssen at parc.com Mon Oct 8 04:47:45 2012 From: janssen at parc.com (Bill Janssen) Date: Sun, 07 Oct 2012 19:47:45 -0700 Subject: [Baypiggies] where to go for Python contractors? Message-ID: <74343.1349664465@parc.com> A friend in SF asked where he should go to find someone to write some screenscraping code for a Chinese Flash website. I realized I had no idea where to point him. Can anyone recommend some good contract houses? So I don't get caught flat-footed by questions like this in the future? Where would you point people? oDesk? guru.com? Is there a good local house? Any insight would be appreciated. Bill From davidoff at alluvialsw.com Mon Oct 8 05:47:31 2012 From: davidoff at alluvialsw.com (Monte Davidoff) Date: Sun, 07 Oct 2012 20:47:31 -0700 Subject: [Baypiggies] where to go for Python contractors? In-Reply-To: <74343.1349664465@parc.com> References: <74343.1349664465@parc.com> Message-ID: <50724CD3.5000501@alluvialsw.com> Bill, On 10/7/12 7:47 PM, Bill Janssen wrote: > So I don't get caught flat-footed by questions like this in the > future? Where would you point people? oDesk? guru.com? Is there a > good local house? One source for Python consultants (such as myself) is the Baypiggies mailing list (subject to the same terms as job postings: Python-related, Bay Area, no recruiters). Monte From janssen at parc.com Mon Oct 8 08:20:36 2012 From: janssen at parc.com (Bill Janssen) Date: Sun, 07 Oct 2012 23:20:36 -0700 Subject: [Baypiggies] where to go for Python contractors? In-Reply-To: <50724CD3.5000501@alluvialsw.com> References: <74343.1349664465@parc.com> <50724CD3.5000501@alluvialsw.com> Message-ID: <77018.1349677236@parc.com> Monte Davidoff wrote: > Bill, > > On 10/7/12 7:47 PM, Bill Janssen wrote: > > So I don't get caught flat-footed by questions like this in the > > future? Where would you point people? oDesk? guru.com? Is there a > > good local house? > > One source for Python consultants (such as myself) is the Baypiggies > mailing list (subject to the same terms as job postings: > Python-related, Bay Area, no recruiters). Thanks, Monte, I've used Baypiggies myself with great success to fill positions at PARC. But my friend is a businessman, not a hacker. He wouldn't know about Baypiggies, or for that matter, about Python. He doesn't want to hire someone, he wants to buy a custom program. He can describe exactly what he needs, but only in terms of effects, not implementation. I don't see how he'd interact successfully with Baypiggies -- he could never "make it clear how Python will be used on the job". But there must be some services that make it easy for software artisans to find clients, and vice/versa? Hacker Dojo, perhaps? Perhaps this is too off-topic for this list, though? If so, I apologize. Bill From glen at glenjarvis.com Mon Oct 8 08:40:35 2012 From: glen at glenjarvis.com (Glen Jarvis) Date: Sun, 7 Oct 2012 23:40:35 -0700 Subject: [Baypiggies] where to go for Python contractors? In-Reply-To: <74343.1349664465@parc.com> References: <74343.1349664465@parc.com> Message-ID: <3A37DF77-CBD2-43D4-A42D-4B355524115E@glenjarvis.com> My company, "The Python Shoppe" (aka Glen Jarvis, LLC) has taken a lot of jobs like this. However, I am working full time and am soooo back logged on this type of work. I know several other contractors (all from this community). Daniel may actually be open for new contracts, I'll forward the email to him. Also, I have worked primarily from Elance before and found it to be an ok gig to either find/get work. Cheers, Glen On Oct 7, 2012, at 7:47 PM, Bill Janssen wrote: > A friend in SF asked where he should go to find someone to write some > screenscraping code for a Chinese Flash website. I realized I had no > idea where to point him. Can anyone recommend some good contract > houses? So I don't get caught flat-footed by questions like this in the > future? Where would you point people? oDesk? guru.com? Is there a > good local house? > > Any insight would be appreciated. > > Bill > _______________________________________________ > Baypiggies mailing list > Baypiggies at python.org > To change your subscription options or unsubscribe: > http://mail.python.org/mailman/listinfo/baypiggies From Juliette.Mcilroy at aesi.com Tue Oct 9 01:19:30 2012 From: Juliette.Mcilroy at aesi.com (Juliette Mcilroy) Date: Mon, 8 Oct 2012 16:19:30 -0700 Subject: [Baypiggies] SW Development Engineer in Test/South Bay Area Message-ID: My client top Silicon Valley Client is looking for someone who has hands-on testing experience with Windows API Frameworks in both 32-bit and 64-bit environment plus scripting in Python. The ideal candidate will have the following experience: ? Demonstrated experience and understanding of C Language. This means you have recent experience with C/C++ programming experience specific to Windows environments. The strength of your programming knowledge and skills will be thoroughly examined. ? Demonstrated experience with testing Windows API Frameworks in an enterprise environment. ? Thorough understanding of QA white box Testing methodologies. You can demonstrate your ability to create unique test plans from scratch and execute these test plans with minimal supervision and oversight. ? Demonstrated hands-on experience designing and creating automation scripts for unit testing and above using common scripting languages (Python, Perl, VB); Python is preferable. ? Demonstrated experience in owning testing in a fluid, fast paced environment. You have the exceptional communication skills needed to gather information from multiple stakeholders and suggest reasonable priorities against constantly moving targets. If you're interest is piqued, please shoot me an email with your resume and the best day/time/contact number to reach you & I'll be sure to follow up! Thank You in advance for your time! Juliette McIlroy Lead Technical Recruiter Albin Engineering Services Inc. ph : 408-733-AESI (2374) x18 juliette.mcilroy at aesi.com www.aesi.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From rbalfanz at gmail.com Tue Oct 9 01:51:00 2012 From: rbalfanz at gmail.com (Ryan Matthew Balfanz) Date: Mon, 8 Oct 2012 16:51:00 -0700 Subject: [Baypiggies] SF Meeting? Message-ID: Hey all, Since there are often SF folks requesting rides to/from meetings down in MV, I was wondering if there would be any interest in having a meeting in SF. My company (MindSnacks) would be willing to host an event. We _may_ even be able to provide some snacks and/or pizza, but no promises on that just yet :). Cheers, Ryan -------------- next part -------------- An HTML attachment was scrubbed... URL: From erin.lynn.root at gmail.com Tue Oct 9 02:09:57 2012 From: erin.lynn.root at gmail.com (Lynn Root) Date: Mon, 8 Oct 2012 17:09:57 -0700 Subject: [Baypiggies] SF Meeting? In-Reply-To: References: Message-ID: +1 On Mon, Oct 8, 2012 at 4:51 PM, Ryan Matthew Balfanz wrote: > Hey all, > > Since there are often SF folks requesting rides to/from meetings down in > MV, I was wondering if there would be any interest in having a meeting in > SF. My company (MindSnacks) would be willing to host an event. We _may_ > even be able to provide some snacks and/or pizza, but no promises on that > just yet :). > > Cheers, > Ryan > > _______________________________________________ > Baypiggies mailing list > Baypiggies at python.org > To change your subscription options or unsubscribe: > http://mail.python.org/mailman/listinfo/baypiggies > -------------- next part -------------- An HTML attachment was scrubbed... URL: From abhishek.vit at gmail.com Tue Oct 9 02:18:09 2012 From: abhishek.vit at gmail.com (Abhishek Pratap) Date: Mon, 8 Oct 2012 17:18:09 -0700 Subject: [Baypiggies] SF Meeting? In-Reply-To: References: Message-ID: +1 SF is way more convenient for me. -A On Mon, Oct 8, 2012 at 5:09 PM, Lynn Root wrote: > +1 > > On Mon, Oct 8, 2012 at 4:51 PM, Ryan Matthew Balfanz > wrote: >> >> Hey all, >> >> Since there are often SF folks requesting rides to/from meetings down in >> MV, I was wondering if there would be any interest in having a meeting in >> SF. My company (MindSnacks) would be willing to host an event. We _may_ even >> be able to provide some snacks and/or pizza, but no promises on that just >> yet :). >> >> Cheers, >> Ryan >> >> _______________________________________________ >> Baypiggies mailing list >> Baypiggies at python.org >> To change your subscription options or unsubscribe: >> http://mail.python.org/mailman/listinfo/baypiggies > > > > _______________________________________________ > Baypiggies mailing list > Baypiggies at python.org > To change your subscription options or unsubscribe: > http://mail.python.org/mailman/listinfo/baypiggies From hyperneato at gmail.com Tue Oct 9 02:32:58 2012 From: hyperneato at gmail.com (Isaac) Date: Mon, 8 Oct 2012 17:32:58 -0700 Subject: [Baypiggies] SF Meeting? In-Reply-To: References: Message-ID: +1 On Monday, October 8, 2012, Abhishek Pratap wrote: > +1 > > SF is way more convenient for me. > > > -A > > On Mon, Oct 8, 2012 at 5:09 PM, Lynn Root > > wrote: > > +1 > > > > On Mon, Oct 8, 2012 at 4:51 PM, Ryan Matthew Balfanz > > > > wrote: > >> > >> Hey all, > >> > >> Since there are often SF folks requesting rides to/from meetings down in > >> MV, I was wondering if there would be any interest in having a meeting > in > >> SF. My company (MindSnacks) would be willing to host an event. We _may_ > even > >> be able to provide some snacks and/or pizza, but no promises on that > just > >> yet :). > >> > >> Cheers, > >> Ryan > >> > >> _______________________________________________ > >> Baypiggies mailing list > >> Baypiggies at python.org > >> To change your subscription options or unsubscribe: > >> http://mail.python.org/mailman/listinfo/baypiggies > > > > > > > > _______________________________________________ > > Baypiggies mailing list > > Baypiggies at python.org > > To change your subscription options or unsubscribe: > > http://mail.python.org/mailman/listinfo/baypiggies > _______________________________________________ > Baypiggies mailing list > Baypiggies at python.org > To change your subscription options or unsubscribe: > http://mail.python.org/mailman/listinfo/baypiggies > -------------- next part -------------- An HTML attachment was scrubbed... URL: From simeonf at gmail.com Tue Oct 9 02:39:59 2012 From: simeonf at gmail.com (Simeon Franklin) Date: Mon, 8 Oct 2012 17:39:59 -0700 Subject: [Baypiggies] SF Meeting? In-Reply-To: References: Message-ID: SF Python Meetup seems to be in a hiatus - are there any other Python specific groups in SF proper? (I've been to some of the special interest meetups like Twisted and Django). I've been wondering lately if we might not try alternating locations with to better meet the needs of Pythonistas up the penninsula... +1 from me - particularly if we have a regular meeting space. My company might be able to help out with snacks as well. -regards Simeon Franklin On Mon, Oct 8, 2012 at 5:18 PM, Abhishek Pratap wrote: > +1 > > SF is way more convenient for me. > > > -A > > On Mon, Oct 8, 2012 at 5:09 PM, Lynn Root > wrote: > > +1 > > > > On Mon, Oct 8, 2012 at 4:51 PM, Ryan Matthew Balfanz > > > wrote: > >> > >> Hey all, > >> > >> Since there are often SF folks requesting rides to/from meetings down in > >> MV, I was wondering if there would be any interest in having a meeting > in > >> SF. My company (MindSnacks) would be willing to host an event. We _may_ > even > >> be able to provide some snacks and/or pizza, but no promises on that > just > >> yet :). > >> > >> Cheers, > >> Ryan > >> > >> _______________________________________________ > >> Baypiggies mailing list > >> Baypiggies at python.org > >> To change your subscription options or unsubscribe: > >> http://mail.python.org/mailman/listinfo/baypiggies > > > > > > > > _______________________________________________ > > Baypiggies mailing list > > Baypiggies at python.org > > To change your subscription options or unsubscribe: > > http://mail.python.org/mailman/listinfo/baypiggies > _______________________________________________ > Baypiggies mailing list > Baypiggies at python.org > To change your subscription options or unsubscribe: > http://mail.python.org/mailman/listinfo/baypiggies > -------------- next part -------------- An HTML attachment was scrubbed... URL: From akleider at sonic.net Tue Oct 9 02:29:43 2012 From: akleider at sonic.net (akleider at sonic.net) Date: Mon, 8 Oct 2012 17:29:43 -0700 Subject: [Baypiggies] SF Meeting? In-Reply-To: References: Message-ID: The OLPC XO laptop computer interface is Sugar (from sugarlabs.org) (built on top of Fedora/Linux) and is all written in Python (or at least the activities are.) OLPC-SF Community Summit is coming up on the 19th to the 21st followed at the same location by Sugar Camp for two or tree days. Some members of the local Python community might be interested in knowing about this and perhaps even participating. If you did have a 'baypiggies' meeting in the City, the Sugar Camp participants might like to attend. olpcsf.org You could contact holt at laptop.org if you need more details. Adam Holt is doing much of the co-ordinating. > Hey all, > > Since there are often SF folks requesting rides to/from meetings down in > MV, I was wondering if there would be any interest in having a meeting in > SF. My company (MindSnacks) would be willing to host an event. We _may_ > even be able to provide some snacks and/or pizza, but no promises on that > just yet :). > > Cheers, > Ryan > _______________________________________________ > Baypiggies mailing list > Baypiggies at python.org > To change your subscription options or unsubscribe: > http://mail.python.org/mailman/listinfo/baypiggies From sfseth at gmail.com Tue Oct 9 03:07:44 2012 From: sfseth at gmail.com (Seth Friedman) Date: Mon, 8 Oct 2012 18:07:44 -0700 Subject: [Baypiggies] SF Meeting? In-Reply-To: References: Message-ID: +1 On Mon, Oct 8, 2012 at 5:29 PM, wrote: > > The OLPC XO laptop computer interface is Sugar (from sugarlabs.org) (built > on top of Fedora/Linux) and is all written in Python (or at least the > activities are.) OLPC-SF Community Summit is coming up on the 19th to the > 21st followed at the same location by Sugar Camp for two or tree days. > Some members of the local Python community might be interested in knowing > about this and perhaps even participating. If you did have a 'baypiggies' > meeting in the City, the Sugar Camp participants might like to attend. > > olpcsf.org > > You could contact holt at laptop.org if you need more details. Adam Holt is > doing much of the co-ordinating. > > > > > Hey all, > > > > Since there are often SF folks requesting rides to/from meetings down in > > MV, I was wondering if there would be any interest in having a meeting in > > SF. My company (MindSnacks) would be willing to host an event. We _may_ > > even be able to provide some snacks and/or pizza, but no promises on that > > just yet :). > > > > Cheers, > > Ryan > > _______________________________________________ > > Baypiggies mailing list > > Baypiggies at python.org > > To change your subscription options or unsubscribe: > > http://mail.python.org/mailman/listinfo/baypiggies > > > _______________________________________________ > Baypiggies mailing list > Baypiggies at python.org > To change your subscription options or unsubscribe: > http://mail.python.org/mailman/listinfo/baypiggies > -------------- next part -------------- An HTML attachment was scrubbed... URL: From dav9dg at gmail.com Tue Oct 9 02:37:06 2012 From: dav9dg at gmail.com (David Ginsburg) Date: Mon, 8 Oct 2012 17:37:06 -0700 Subject: [Baypiggies] SF Meeting? In-Reply-To: References: Message-ID: +1 On Mon, Oct 8, 2012 at 5:32 PM, Isaac wrote: > +1 > > > On Monday, October 8, 2012, Abhishek Pratap wrote: > >> +1 >> >> SF is way more convenient for me. >> >> >> -A >> >> On Mon, Oct 8, 2012 at 5:09 PM, Lynn Root >> wrote: >> > +1 >> > >> > On Mon, Oct 8, 2012 at 4:51 PM, Ryan Matthew Balfanz < >> rbalfanz at gmail.com> >> > wrote: >> >> >> >> Hey all, >> >> >> >> Since there are often SF folks requesting rides to/from meetings down >> in >> >> MV, I was wondering if there would be any interest in having a meeting >> in >> >> SF. My company (MindSnacks) would be willing to host an event. We >> _may_ even >> >> be able to provide some snacks and/or pizza, but no promises on that >> just >> >> yet :). >> >> >> >> Cheers, >> >> Ryan >> >> >> >> _______________________________________________ >> >> Baypiggies mailing list >> >> Baypiggies at python.org >> >> To change your subscription options or unsubscribe: >> >> http://mail.python.org/mailman/listinfo/baypiggies >> > >> > >> > >> > _______________________________________________ >> > Baypiggies mailing list >> > Baypiggies at python.org >> > To change your subscription options or unsubscribe: >> > http://mail.python.org/mailman/listinfo/baypiggies >> _______________________________________________ >> Baypiggies mailing list >> Baypiggies at python.org >> To change your subscription options or unsubscribe: >> http://mail.python.org/mailman/listinfo/baypiggies >> > > _______________________________________________ > Baypiggies mailing list > Baypiggies at python.org > To change your subscription options or unsubscribe: > http://mail.python.org/mailman/listinfo/baypiggies > -------------- next part -------------- An HTML attachment was scrubbed... URL: From db at davidbrenneman.com Tue Oct 9 03:30:05 2012 From: db at davidbrenneman.com (David Brenneman) Date: Mon, 8 Oct 2012 18:30:05 -0700 Subject: [Baypiggies] SF Meeting? In-Reply-To: References: Message-ID: <-847692636249743817@unknownmsgid> +1 David Brenneman On Oct 8, 2012, at 18:10, David Ginsburg wrote: +1 On Mon, Oct 8, 2012 at 5:32 PM, Isaac wrote: > +1 > > > On Monday, October 8, 2012, Abhishek Pratap wrote: > >> +1 >> >> SF is way more convenient for me. >> >> >> -A >> >> On Mon, Oct 8, 2012 at 5:09 PM, Lynn Root >> wrote: >> > +1 >> > >> > On Mon, Oct 8, 2012 at 4:51 PM, Ryan Matthew Balfanz < >> rbalfanz at gmail.com> >> > wrote: >> >> >> >> Hey all, >> >> >> >> Since there are often SF folks requesting rides to/from meetings down >> in >> >> MV, I was wondering if there would be any interest in having a meeting >> in >> >> SF. My company (MindSnacks) would be willing to host an event. We >> _may_ even >> >> be able to provide some snacks and/or pizza, but no promises on that >> just >> >> yet :). >> >> >> >> Cheers, >> >> Ryan >> >> >> >> _______________________________________________ >> >> Baypiggies mailing list >> >> Baypiggies at python.org >> >> To change your subscription options or unsubscribe: >> >> http://mail.python.org/mailman/listinfo/baypiggies >> > >> > >> > >> > _______________________________________________ >> > Baypiggies mailing list >> > Baypiggies at python.org >> > To change your subscription options or unsubscribe: >> > http://mail.python.org/mailman/listinfo/baypiggies >> _______________________________________________ >> Baypiggies mailing list >> Baypiggies at python.org >> To change your subscription options or unsubscribe: >> http://mail.python.org/mailman/listinfo/baypiggies >> > > _______________________________________________ > Baypiggies mailing list > Baypiggies at python.org > To change your subscription options or unsubscribe: > http://mail.python.org/mailman/listinfo/baypiggies > _______________________________________________ Baypiggies mailing list Baypiggies at python.org To change your subscription options or unsubscribe: http://mail.python.org/mailman/listinfo/baypiggies -------------- next part -------------- An HTML attachment was scrubbed... URL: From ygingras at ygingras.net Tue Oct 9 17:46:11 2012 From: ygingras at ygingras.net (Yannick Gingras) Date: Tue, 09 Oct 2012 08:46:11 -0700 Subject: [Baypiggies] SF Meeting? In-Reply-To: <-847692636249743817@unknownmsgid> References: <-847692636249743817@unknownmsgid> Message-ID: <507446C3.9090601@ygingras.net> On 10/08/2012 06:30 PM, David Brenneman wrote: > +1 > > David Brenneman > +1 -- Yannick Gingras -------------- next part -------------- An HTML attachment was scrubbed... URL: From itz at buug.org Tue Oct 9 17:57:21 2012 From: itz at buug.org (Ian Zimmerman) Date: Tue, 09 Oct 2012 08:57:21 -0700 Subject: [Baypiggies] SF Meeting? In-Reply-To: (Ryan Matthew Balfanz's message of "Mon, 8 Oct 2012 16:51:00 -0700") References: Message-ID: <87d30rprj2.fsf@foolinux.dyndns.org> Ryan> Hey all, Since there are often SF folks requesting rides to/from Ryan> meetings down in MV, I was wondering if there would be any Ryan> interest in having a meeting in SF. My company (MindSnacks) would Ryan> be willing to host an event. We _may_ even be able to provide some Ryan> snacks and/or pizza, but no promises on that just yet :). I would love that. It would be my first baypiggies meeting :-) -- Ian Zimmerman gpg public key: 1024D/C6FF61AD fingerprint: 66DC D68F 5C1B 4D71 2EE5 BD03 8A00 786C C6FF 61AD http://www.gravatar.com/avatar/c66875cda51109f76c6312f4d4743d1e.png Rule 420: All persons more than eight miles high to leave the court. From rbalfanz at gmail.com Wed Oct 10 03:51:07 2012 From: rbalfanz at gmail.com (Ryan Matthew Balfanz) Date: Tue, 9 Oct 2012 18:51:07 -0700 Subject: [Baypiggies] SF Meeting? In-Reply-To: <507446C3.9090601@ygingras.net> References: <-847692636249743817@unknownmsgid> <507446C3.9090601@ygingras.net> Message-ID: Cool, it sounds like there's enough interest to move forward. What's the next step? Tony, are you the right person to collaborate on this? On Tue, Oct 9, 2012 at 8:46 AM, Yannick Gingras wrote: > On 10/08/2012 06:30 PM, David Brenneman wrote: > > +1 > > David Brenneman > > > +1 > > -- > Yannick Gingras > > > _______________________________________________ > Baypiggies mailing list > Baypiggies at python.org > To change your subscription options or unsubscribe: > http://mail.python.org/mailman/listinfo/baypiggies > -------------- next part -------------- An HTML attachment was scrubbed... URL: From guido at python.org Thu Oct 11 18:26:16 2012 From: guido at python.org (Guido van Rossum) Date: Thu, 11 Oct 2012 09:26:16 -0700 Subject: [Baypiggies] Haskell Interest Group Message-ID: I just found out there's a Haskell interest group, and its next meeting is at my office in SF (though I didn't have anything to do with this): https://sites.google.com/site/bayareahaskell/ -- --Guido van Rossum (python.org/~guido) From guido at python.org Thu Oct 11 18:29:27 2012 From: guido at python.org (Guido van Rossum) Date: Thu, 11 Oct 2012 09:29:27 -0700 Subject: [Baypiggies] Haskell Interest Group In-Reply-To: References: Message-ID: On Thu, Oct 11, 2012 at 9:26 AM, Guido van Rossum wrote: > I just found out there's a Haskell interest group, and its next > meeting is at my office in SF (though I didn't have anything to do > with this): https://sites.google.com/site/bayareahaskell/ PS. If you plan to go, please RSVP to satnam at google.com so he can plan the food accordingly. -- --Guido van Rossum (python.org/~guido) From bryceverdier at gmail.com Thu Oct 11 18:47:07 2012 From: bryceverdier at gmail.com (Bryce Verdier) Date: Thu, 11 Oct 2012 09:47:07 -0700 Subject: [Baypiggies] Haskell Interest Group In-Reply-To: References: Message-ID: <5076F80B.6060702@gmail.com> On 10/11/12 9:29 AM, Guido van Rossum wrote: > On Thu, Oct 11, 2012 at 9:26 AM, Guido van Rossum wrote: >> I just found out there's a Haskell interest group, and its next >> meeting is at my office in SF (though I didn't have anything to do >> with this): https://sites.google.com/site/bayareahaskell/ > PS. If you plan to go, please RSVP to satnam at google.com so he can plan > the food accordingly. > here is a copy of the text about Wednesday's talk: Hello, fellow Haskell enthusiasts, This month we have quite a treat, with Edward Kmett making a talk about Lenses and Traversals. This is a very important topic, and our last month's guest Russell O'Connor strongly urged everybody to come and listen to this talk. There is suggested reading for the talk: "The Essence of the Iterator Patttern" paper by Jeremy Gibbons and Bruno C. d. S. Oliveira, please take a look at it if you have a chance. Our venue this time is Google office in San Francisco SoMa: 345 Spear Str, San Francisco Contact phone (mine): 650-762-6644 . Host: Satnam Singh, satnam at raintown.org , cell: 408 656 4590 . Please contact Satnam if you have questions about the venue or need help with the venue. Please arrive a little bit earlier, so that we could start at 7pm. Also if you arrive around 6:30pm, you can get some dinner at We may try to set up the video feed through Google Hangout (hangout link , also available through our calendar ), however please don't rely on it and try to visit the meeting in person if possible. If you are going to be joining the hangout, please mute your microphone before you join. Some people will be going from the South Bay and East Bay to the meeting and back, so there's a possibility of carpooling. Also, it's very easy to get to the venue from the 4th & King Caltrain Station: check Google Maps for directions, it's also not a very long walk from Caltrain. Please send me a message if you need help figuring out transportation. If you are driving and can take some people with you, please send a message to the bahaskell at googlegroups.com mailing list. Please retweet/post to reddit/forward this email to those who may be interested in attending. If you plan to attend and you're not yet subscribed, please subscribe to BAHaskell Google Group to follow all the discussions related to this meeting (if you have troubles with the captcha while joining, please send me a direct email). Cheers, Ivan Bryce -------------- next part -------------- An HTML attachment was scrubbed... URL: From guido at python.org Thu Oct 11 18:59:10 2012 From: guido at python.org (Guido van Rossum) Date: Thu, 11 Oct 2012 09:59:10 -0700 Subject: [Baypiggies] Haskell Interest Group In-Reply-To: <5076F80B.6060702@gmail.com> References: <5076F80B.6060702@gmail.com> Message-ID: Um, Thursday. On Thu, Oct 11, 2012 at 9:47 AM, Bryce Verdier wrote: > On 10/11/12 9:29 AM, Guido van Rossum wrote: > > On Thu, Oct 11, 2012 at 9:26 AM, Guido van Rossum wrote: > > I just found out there's a Haskell interest group, and its next > meeting is at my office in SF (though I didn't have anything to do > with this): https://sites.google.com/site/bayareahaskell/ > > PS. If you plan to go, please RSVP to satnam at google.com so he can plan > the food accordingly. > > here is a copy of the text about Wednesday's talk: > > Hello, fellow Haskell enthusiasts, > > This month we have quite a treat, with Edward Kmett making a talk about > Lenses and Traversals. This is a very important topic, and our last month's > guest Russell O'Connor strongly urged everybody to come and listen to this > talk. There is suggested reading for the talk: "The Essence of the Iterator > Patttern" paper by Jeremy Gibbons and Bruno C. d. S. Oliveira, please take a > look at it if you have a chance. > > Our venue this time is Google office in San Francisco SoMa: > > 345 Spear Str, San Francisco > > Contact phone (mine): 650-762-6644. > Host: Satnam Singh, satnam at raintown.org, cell: 408 656 4590. Please contact > Satnam if you have questions about the venue or need help with the venue. > > Please arrive a little bit earlier, so that we could start at 7pm. Also if > you arrive around 6:30pm, you can get some dinner at > > We may try to set up the video feed through Google Hangout (hangout link, > also available through our calendar), however please don't rely on it and > try to visit the meeting in person if possible. If you are going to be > joining the hangout, please mute your microphone before you join. > > Some people will be going from the South Bay and East Bay to the meeting and > back, so there's a possibility of carpooling. Also, it's very easy to get to > the venue from the 4th & King Caltrain Station: check Google Maps for > directions, it's also not a very long walk from Caltrain. Please send me a > message if you need help figuring out transportation. If you are driving and > can take some people with you, please send a message to the > bahaskell at googlegroups.com mailing list. > > Please retweet/post to reddit/forward this email to those who may be > interested in attending. If you plan to attend and you're not yet > subscribed, please subscribe to BAHaskell Google Group to follow all the > discussions related to this meeting (if you have troubles with the captcha > while joining, please send me a direct email). > > Cheers, > Ivan > > > Bryce > > _______________________________________________ > Baypiggies mailing list > Baypiggies at python.org > To change your subscription options or unsubscribe: > http://mail.python.org/mailman/listinfo/baypiggies -- --Guido van Rossum (python.org/~guido) From itz at buug.org Thu Oct 11 20:19:58 2012 From: itz at buug.org (Ian Zimmerman) Date: Thu, 11 Oct 2012 11:19:58 -0700 Subject: [Baypiggies] Haskell Interest Group In-Reply-To: (Guido van Rossum's message of "Thu, 11 Oct 2012 09:29:27 -0700") References: Message-ID: <87a9vsc1m9.fsf@foolinux.dyndns.org> Guido> I just found out there's a Haskell interest group, and its next Guido> meeting is at my office in SF (though I didn't have anything to Guido> do with this): https://sites.google.com/site/bayareahaskell/ Guido> PS. If you plan to go, please RSVP to satnam at google.com so he can Guido> plan the food accordingly. There is also a corresponding meetup.com group, and I started the event there: http://www.meetup.com/Bay-Area-Haskell-Users-Group/events/86396202/ -- Ian Zimmerman gpg public key: 1024D/C6FF61AD fingerprint: 66DC D68F 5C1B 4D71 2EE5 BD03 8A00 786C C6FF 61AD http://www.gravatar.com/avatar/c66875cda51109f76c6312f4d4743d1e.png Rule 420: All persons more than eight miles high to leave the court. From nagappan at gmail.com Fri Oct 12 22:17:29 2012 From: nagappan at gmail.com (Nagappan Alagappan) Date: Fri, 12 Oct 2012 13:17:29 -0700 Subject: [Baypiggies] Fwd: [pyatom] [ANN] Automated Testing on Mac (ATOMac) 1.0.0 released In-Reply-To: References: Message-ID: Hello, With this announcemnt LDTP is now cross platform GUI testing ! I'm excited to share this news. Please spread the news. Thanks Nagappan ---------- Forwarded message ---------- From: James Tatum Date: Fri, Oct 12, 2012 at 12:20 PM Subject: [pyatom] [ANN] Automated Testing on Mac (ATOMac) 1.0.0 released To: ldtp-dev at lists.freedesktop.org, pyatom at lists.pyatom.com, testing-in-python at lists.idyll.org, python-announce-list at python.org Hello, The ATOMac team is proud to announce a new release of ATOMac. About ATOMac: Short for Automated Testing on Mac, ATOMac is the first Python library to fully enable GUI testing of Macintosh applications via the Apple Accessibility API. Existing tools such as using appscript to send messages to accessibility objects are painful to write and slow to use. ATOMac has direct access to the API. It's fast and easy to use to write GUI tests. Changes in this release: * LDTP compatibility added. LDTP allows testers to write a single script that will automate test cases on Linux, Windows, and now Mac OS X. Information and documentation on LDTP can be found at the LDTP home page[0]. * Detailed documentation - Sphinx has been configured to generate documentation for ATOMac. When this documentation is uploaded, it will be linked from the home page[1]. * Various fixes to reading and writing certain accessibility attributes. * Sending function keys and newlines now works as intended. A detailed changelog is available[2]. Download source: https://github.com/pyatom/pyatom Documentation references: Sphinx documentation is being uploaded. In the meantime, please see the readme at the bottom of the github page listed above. Report bugs - https://github.com/pyatom/pyatom/issues To subscribe to ATOMac mailing lists, visit http://lists.pyatom.com/ IRC Channel - #atomac on irc.freenode.net [0] http://ldtp.freedesktop.org [1] http://pyatom.com/ [2] https://raw.github.com/pyatom/pyatom/master/CHANGELOG.txt _______________________________________________ pyatom mailing list pyatom at lists.pyatom.com http://lists.pyatom.com/listinfo.cgi/pyatom-pyatom.com -- Linux Desktop (GUI Application) Testing Project - http://ldtp.freedesktop.org Cobra - Windows GUI Automation tool - https://github.com/ldtp/cobra http://nagappanal.blogspot.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From ben at groovie.org Tue Oct 16 19:16:22 2012 From: ben at groovie.org (Ben Bangert) Date: Tue, 16 Oct 2012 10:16:22 -0700 Subject: [Baypiggies] SF Meeting? In-Reply-To: References: Message-ID: <35BB9CC0-9400-44C5-B60A-D34712705DA9@groovie.org> On Oct 8, 2012, at 5:39 PM, Simeon Franklin wrote: > SF Python Meetup seems to be in a hiatus - are there any other Python specific groups in SF proper? (I've been to some of the special interest meetups like Twisted and Django). I've been wondering lately if we might not try alternating locations with to better meet the needs of Pythonistas up the penninsula... > > +1 from me - particularly if we have a regular meeting space. My company might be able to help out with snacks as well. Grace, the organizer for SF Python Meetup has changed companies and is no longer recruiting Python programmers afaik. As such there hasn't been a scheduled meet-up in awhile. I haven't been to a BayPiggies in ages, but I do recall that there was a similar debate about having BayPiggies in SF awhile back and it was decided that BayPiggies would stay in the South Bay, with the SF Python Meetup handling SF/East Bay/North Bay folks that want their Python fix. The only occasional meet-ups in SF lately have been for Django I believe. I've been looking into a general Pylons Project meet-up in SF, but haven't gotten to it yet (though there's supposedly 200+ ppl on the Meetup list for it). There is space at SF Mozilla for a meet-up, but I think its capacity is around 100 or so, tops. The SF Python Meetup's have generally been at Yelp, which can accommodate around 200, which was hit on the April meet-up. About 80 ppl showed up to the last SF Python Meetup in May. How many people make it to the BayPiggies meet-ups? Would they drive all the way to SF for a BayPiggies, or do they already go up for the SF Python meet-ups? I suppose I wonder whats the difference or point of having BayPiggies in SF, or just organizing a new SF Python Meetup (I'm sure Grace would be happy to hand that off, or just show up if someone else did the organizing). Cheers, Ben From Web at StevePiercy.com Tue Oct 16 20:00:54 2012 From: Web at StevePiercy.com (Steve Piercy - Web Site Builder) Date: Tue, 16 Oct 2012 11:00:54 -0700 Subject: [Baypiggies] SF Meeting? Message-ID: On 10/16/12 at 10:16 AM, ben at groovie.org (Ben Bangert) pronounced: >I suppose I wonder whats the difference or point of having >BayPiggies in SF, or just organizing a new SF Python Meetup >(I'm sure Grace would be happy to hand that off, or just show >up if someone else did the organizing). I would be very interested in a Pylons Project meetup wherever, and I'd come up from Santa Cruz. I think it is good to maintain diverse special interest Python groups--Django, Pylons Project, testing, data analysis--as well as general interest Python groups. Each serves a valuable purpose. Another general interest group is PyLadiesSF, founded earlier this year. It's very active with meetups up and down the Peninsula and in the South Bay. http://www.meetup.com/PyLadiesSF/ There is also support from the Python Foundation for user groups. --steve -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- Steve Piercy Web Site Builder Soquel, CA From wescpy at gmail.com Wed Oct 17 00:02:21 2012 From: wescpy at gmail.com (wesley chun) Date: Tue, 16 Oct 2012 15:02:21 -0700 Subject: [Baypiggies] SF Meeting? In-Reply-To: References: Message-ID: FYI, there's a Django SF meetup: http://www.meetup.com/The-San-Francisco-Django-Meetup-Group/ and to confirm, the last SF Python meetup was almost half a year ago: http://www.meetup.com/sfpython/ anecdotally, BayPIGgies *originated* in SF (anyone remember CoffeeNet on Harrison back in 1999?). here's a blast from the past: http://code.activestate.com/lists/python-tutor/236/ we moved south because there was much more demand (at the time). cheers, --wesley On Tue, Oct 16, 2012 at 11:00 AM, Steve Piercy - Web Site Builder wrote: > On 10/16/12 at 10:16 AM, ben at groovie.org (Ben Bangert) pronounced: > > >> I suppose I wonder whats the difference or point of having BayPiggies in >> SF, or just organizing a new SF Python Meetup (I'm sure Grace would be happy >> to hand that off, or just show up if someone else did the organizing). > > > I would be very interested in a Pylons Project meetup wherever, and I'd come > up from Santa Cruz. I think it is good to maintain diverse special interest > Python groups--Django, Pylons Project, testing, data analysis--as well as > general interest Python groups. Each serves a valuable purpose. > > Another general interest group is PyLadiesSF, founded earlier this year. > It's very active with meetups up and down the Peninsula and in the South > Bay. > http://www.meetup.com/PyLadiesSF/ > > There is also support from the Python Foundation for user groups. > > --steve > > -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- > Steve Piercy Web Site Builder Soquel, CA > > > > _______________________________________________ > Baypiggies mailing list > Baypiggies at python.org > To change your subscription options or unsubscribe: > http://mail.python.org/mailman/listinfo/baypiggies -- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - "A computer never does what you want... only what you tell it." +wesley chun : wescpy at gmail : @wescpy Python training & consulting : http://CyberwebConsulting.com "Core Python" books : http://CorePython.com Python blog: http://wescpy.blogspot.com From glen at glenjarvis.com Thu Oct 18 01:27:46 2012 From: glen at glenjarvis.com (Glen Jarvis) Date: Wed, 17 Oct 2012 16:27:46 -0700 Subject: [Baypiggies] We're hiring Message-ID: I don't remember the exact policy to advertise on BayPIGgies (my apologies). For those who don't know, after two years I left my old company and have joined another. I've been at this new company now a little over two weeks. My current project is getting a lot of resources and we're hiring. I know of two friends who are looking, but we can use even more. I don't know if I can use the company name publicly and I don't remember the policy for BayPIGgies. So, if you're interested, please contact me off list. Super duper extra bonus points and gold starts if you already have experience with tornado and mongo. However, it's not necessary. I've only just learned tornado myself and I barely scratched the surface on Mongo -- and they still hired me :) This is of course a Python project. Cheers, Glen -- "Pursue, keep up with, circle round and round your life as a dog does his master's chase. Do what you love. Know your own bone; gnaw at it, bury it, unearth it, and gnaw it still." --Henry David Thoreau -------------- next part -------------- An HTML attachment was scrubbed... URL: From glen at glenjarvis.com Thu Oct 18 01:31:38 2012 From: glen at glenjarvis.com (Glen Jarvis) Date: Wed, 17 Oct 2012 16:31:38 -0700 Subject: [Baypiggies] We're hiring In-Reply-To: References: Message-ID: Oh and.. it's a very stable start-up that's been around for about 3 years, is roughly 200 people in size and is growing really fast... It's also spread across several countries... Having a good OS background/virtualisation background certainly wouldn't hurt either... If I forgot anything else, just ask me off line so I don't spam everyone... Cheers, G On Wed, Oct 17, 2012 at 4:27 PM, Glen Jarvis wrote: > I don't remember the exact policy to advertise on BayPIGgies (my > apologies). For those who don't know, after two years I left my old company > and have joined another. I've been at this new company now a little over > two weeks. > > My current project is getting a lot of resources and we're hiring. I know > of two friends who are looking, but we can use even more. > > I don't know if I can use the company name publicly and I don't remember > the policy for BayPIGgies. So, if you're interested, please contact me off > list. > > Super duper extra bonus points and gold starts if you already have > experience with tornado and mongo. However, it's not necessary. I've only > just learned tornado myself and I barely scratched the surface on Mongo -- > and they still hired me :) > > This is of course a Python project. > > > Cheers, > > > Glen > -- > > "Pursue, keep up with, circle round and round your life as a dog does his > master's chase. Do what you love. Know your own bone; gnaw at it, bury it, > unearth it, and gnaw it still." > > --Henry David Thoreau > > -- "Pursue, keep up with, circle round and round your life as a dog does his master's chase. Do what you love. Know your own bone; gnaw at it, bury it, unearth it, and gnaw it still." --Henry David Thoreau -------------- next part -------------- An HTML attachment was scrubbed... URL: From daryl.spitzer at gmail.com Thu Oct 18 22:27:35 2012 From: daryl.spitzer at gmail.com (Daryl Spitzer) Date: Thu, 18 Oct 2012 13:27:35 -0700 Subject: [Baypiggies] Volunteer to run @BayPIGgies Twitter account Message-ID: I just realized that I haven't updated https://twitter.com/baypiggies in over two years. (I apologize if anyone has attempted to get in touch with me to ask me about this.) Since I've been so delinquent (at both posting to @BayPIGgies and, sadly, attending meetings), I should pass the baton. Would anyone else care to volunteer to run the account? (Posting news related to BayPIGgies meetings, etc.) Contact me and I'll give you the password (not over email, of course) to both the Twitter account and baypiggies.twitter at gmail.com. -- Daryl From beau at open-source-staffing.com Sat Oct 20 04:54:10 2012 From: beau at open-source-staffing.com (OSS) Date: Fri, 19 Oct 2012 21:54:10 -0500 Subject: [Baypiggies] JOB - Senior Python Developer, Los Angeles, CA | to 150k Message-ID: <004f01cdae6e$2e8758b0$8b960a10$@open-source-staffing.com> This is a full time, on-site, salaried Senior Software Engineer position located in Los Angeles, CA paying $120,000-$150,000 depending on experience + benefits. No telecommuting allowed. US Citizens or Green Card holders only please. Local candidates strongly preferred, but candidates interested in relocating considered as well. Thank you. Our Los Angeles area start-up client is looking for a Senior Software Engineer with experience building web services that drive commerce across websites, mobile apps and online games. This is an exciting opportunity to get in early with a new venture and help us build a very exciting product from scratch!?They have the resources to offer a competitive and flexible compensation package. Responsibilities: * Full-time, reporting to the CTO * Co-Architect major systems for our products * Co-develop products with internal and external teams * Lead internal and external development teams * Help to build an internal development team with best of breed development culture * Build development, testing and staging environments * Create automated and manual build and quality control systems * Regularly, consistently and clearly document all designs and implementations Requirements: * Education - BA / BS in Computer Science or Information Technology or equivalent experience * Software Experience - 5+ years development in Python or Java - 5+ years developing high-throughput and high-availability services and systems - Experience developing RESTful APIs using JSON and AJAX - Strong HTML5, CSS3, and JavaScript - building or using advertising-based technologies a plus - games industry experience is a plus * Frameworks/Platforms - Strong with frameworks/platforms (Django, Pylon, AppEngine) * Operations Experience - using source control systems like CVS, SVN, Perforce or Git - deploying robust build and deployment systems and processes * Databases - 5+ years of database development using RDBMS/SQL server - 1+ years experience using NoSQL servers (i.e. Hadoop, CouchBase, BigTable) * Infrastructure - 2+ years experience using Amazon EC2 or other cloud based infrastructure * Management Skills and Experience - excellent communication skills in both written and verbal form - delivering projects on-time and to specifications - process and standards driven developer - Agile project management * QA Automation Experience - building suites of unit tests - building and using load test scripts - simulating disaster/outage scenarios If you are interested in this job, please submit your resume and salary requirements to opensourcestaffing|AT|gmail.com From simeonf at gmail.com Sun Oct 21 18:11:19 2012 From: simeonf at gmail.com (Simeon Franklin) Date: Sun, 21 Oct 2012 12:11:19 -0400 Subject: [Baypiggies] SF Meeting? In-Reply-To: References: Message-ID: I see a variety of issues here and I'd like a sense from the community about them. Baypiggies has had valuable contributions from organizers past and present - Wes, JJ, Aahz, and Tony are all admins on the mailing list and have kept the group alive through various contributions. Tony has done most of the organizing lately in terms of speaker recruitment and running meetings and Jim has been the long time meeting coordinator. I'm also not sure who the point person is for our current host (Symantec Mountain View). I only attend about 2/3 of the meetings - there are very faithful participants like Vicky - I don't think she ever misses a meeting... All those people should chime in on this discussion. Here are my thoughts: SF is currently under-served in terms of Python interest groups and Baypiggies current location is not very convenient for folks up on the Penninsula. It would be nice to have a single user group that rocked. If we had a more centrally located meeting space and interesting and diverse speakers I'm sure we could get the most important attribute - lots of interesting Pythonistas to converse with. The most obvious course of action is to see if we can coalesce the SF Python Meetup community and the Baypiggies community and meet someplace north of Mountain View at least part of the time. Considerations include: * Can we find a regular and reliable host for our meetings? We have possible one-time offers and suggestions to try Mozilla and/or Yelp. Are there any Pythonistas on the list who work at Yelp or Mozilla who would be willing to inquire about hosting a regular Python UG? * Would moving the location discourage participation from the current community that does attend regularly? It's also been discussed that we might try meeting irregularly, alternately, or maybe even once, up in SF proper. This would eliminate the need to find a permanent host. * Would it be a negative to regularly alternate locations? Are we best off trying to stick to one location consistently? I really don't see any downsides to doing this once - even if it's not what we want to do all the time Baypiggies ought to make the effort to get to the Python community that doesn't currently have a meetup to attend. +1 from me. Finally I see mostly familiar faces at Baypiggies. This is really good (I really enjoy seeing you all) but bad in that I don't see growth, new faces, or new energy. I also look around at the energy in the Bay Area Python community and see lots of activity via PyLadies and activity in specific sub-communities: Twisted, Django, and so on. I also see Python UG other places (Boston! - everybody watched this PyCon talk @ http://youtu.be/QrITN6GZDu4 right?) with huge communities, active participation, great diversity and interesting events and speakers. I would like to see Baypiggies support PyLadies more formally and look to the Boston Python UG as a model for having a more active, diverse and dynamic community. I have a million specific ideas for events: Baypiggies should put on a Python Workshop event, we should invite other communities like Twisted and Django to reach a potentially larger audience. I've successfully run hack-style and tutorial-style events with other user groups and would love to see an occasional "Let's all write an X" for X in ['twilio app', 'game', 'data mining', 'mobile app'] event and suspect we might get a totally different crowd if we promoted these sorts of events to Python newbies. Concretely I am willing to work harder at organizing - asking PSF for money, contacting speakers and potential hosts and evangelizing and promoting Baypiggies. I can also probably supply AV services via Marakana. I just want to know if there's enthusiasm within the Baypiggies community for change! Ok - I know I'm typing a lot so: tl;dr - I want to move at least some meetings up the penninsula and reach more Pythonistas. I want to know if there is any strong community opposition to this idea. -best regards SImeon Franklin From aahz at pythoncraft.com Sun Oct 21 19:18:26 2012 From: aahz at pythoncraft.com (Aahz) Date: Sun, 21 Oct 2012 10:18:26 -0700 Subject: [Baypiggies] SF Meeting? In-Reply-To: References: Message-ID: <20121021171826.GA11102@panix.com> On Sun, Oct 21, 2012, Simeon Franklin wrote: > > tl;dr - I want to move at least some meetings up the penninsula and > reach more Pythonistas. I want to know if there is any strong > community opposition to this idea. My impression is that the SF meetup was large enough and the current BayPIGgies meeting is large enough that I think it makes more sense to not "move" but re-activate SF (or upper peninsula) meetings, preferably avoiding cross-scheduling so that people who want to attend both can do so with minimal pain. I agree that more cross-pollination would be a Good Thing. Side note: I'm acting as a community TA for the current coursera.org Introduction to Python. As of Thurs noon PDT, there were 72K people signed up, with 6K people having completed the first project. That's a *lot* of potentional Pythonistas and I think more and more geographical distribution is an Excellent Thing. -- Aahz (aahz at pythoncraft.com) <*> http://www.pythoncraft.com/ "We've just found a line in a perl script that invokes a shell script to call a lisp program which invokes the very-same perl script." --anonymous From bryceverdier at gmail.com Mon Oct 22 00:34:28 2012 From: bryceverdier at gmail.com (Bryce Verdier) Date: Sun, 21 Oct 2012 15:34:28 -0700 Subject: [Baypiggies] SF Meeting? In-Reply-To: <20121021171826.GA11102@panix.com> References: <20121021171826.GA11102@panix.com> Message-ID: <50847874.4090409@gmail.com> On 10/21/12 10:18 AM, Aahz wrote: > On Sun, Oct 21, 2012, Simeon Franklin wrote: >> tl;dr - I want to move at least some meetings up the penninsula and >> reach more Pythonistas. I want to know if there is any strong >> community opposition to this idea. > My impression is that the SF meetup was large enough and the current > BayPIGgies meeting is large enough that I think it makes more sense to > not "move" but re-activate SF (or upper peninsula) meetings, preferably > avoiding cross-scheduling so that people who want to attend both can do > so with minimal pain. > > I agree that more cross-pollination would be a Good Thing. > > Side note: I'm acting as a community TA for the current coursera.org > Introduction to Python. As of Thurs noon PDT, there were 72K people > signed up, with 6K people having completed the first project. That's a > *lot* of potentional Pythonistas and I think more and more geographical > distribution is an Excellent Thing. I agree with Aahz. Reactivation makes more sense to me than moving location. I also like the idea of having it on a different week or day so that people can attend both is they want. Bryce From markrabkin at gmail.com Mon Oct 22 15:01:31 2012 From: markrabkin at gmail.com (Mark Rabkin) Date: Mon, 22 Oct 2012 06:01:31 -0700 Subject: [Baypiggies] Novice Programmer Asking For Assistance Message-ID: All: I am having trouble getting Python installed correctly on a Mac (OS 10.6.8). I could easily meet someone in Berkeley or San Francisco at a cafe of their choosing and would happily trade a cup of coffee/tea for some assistance. As I said in the title I am a novice programmer who just needs a bit of assistance in getting started. Thank you. Cheers, Mark markrabkin at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From erin.lynn.root at gmail.com Mon Oct 22 15:53:51 2012 From: erin.lynn.root at gmail.com (Lynn Root) Date: Mon, 22 Oct 2012 06:53:51 -0700 Subject: [Baypiggies] Novice Programmer Asking For Assistance In-Reply-To: References: Message-ID: Hey Mark, You should actually have Python already installed, probably version 2.7. The way to check is open a terminal (Applications > Utilities > Terminal) and type 'python'. If you don't get an error, and see a '>>>' prompt, you're good! Let me know if you have any questions or issues! Lynn Root Sent from my cloud device. On Oct 22, 2012 9:02 AM, "Mark Rabkin" wrote: > All: > > I am having trouble getting Python installed correctly on a Mac (OS > 10.6.8). I could easily meet someone in Berkeley > or San Francisco at a cafe of their choosing and would happily trade a cup > of coffee/tea for some assistance. As I > said in the title I am a novice programmer who just needs a bit of > assistance in getting started. > > Thank you. > > Cheers, > > Mark > markrabkin at gmail.com > > _______________________________________________ > Baypiggies mailing list > Baypiggies at python.org > To change your subscription options or unsubscribe: > http://mail.python.org/mailman/listinfo/baypiggies > -------------- next part -------------- An HTML attachment was scrubbed... URL: From kellankade at gmail.com Mon Oct 22 17:00:49 2012 From: kellankade at gmail.com (Kellan Jacobs) Date: Mon, 22 Oct 2012 08:00:49 -0700 Subject: [Baypiggies] Novice Programmer Asking For Assistance In-Reply-To: References: Message-ID: <0D470353-88FE-495F-99C8-0DCB199E431E@gmail.com> Hey Mark, I will gladly help you get python installed on OSX. I teach the Intro to Python class at noisebridge. Classes are Wed night from 7-9 if you want to come in either before or after class I will help you get setup. Kellan On 22 Oct 2012, at 6:01, Mark Rabkin wrote: > All: > > I am having trouble getting Python installed correctly on a Mac (OS > 10.6.8). I could easily meet someone in Berkeley > or San Francisco at a cafe of their choosing and would happily trade a > cup > of coffee/tea for some assistance. As I > said in the title I am a novice programmer who just needs a bit of > assistance in getting started. > > Thank you. > > Cheers, > > Mark > markrabkin at gmail.com > _______________________________________________ > Baypiggies mailing list > Baypiggies at python.org > To change your subscription options or unsubscribe: > http://mail.python.org/mailman/listinfo/baypiggies From msabramo at gmail.com Mon Oct 22 20:55:38 2012 From: msabramo at gmail.com (Marc Abramowitz) Date: Mon, 22 Oct 2012 11:55:38 -0700 Subject: [Baypiggies] SF Meeting? In-Reply-To: <50847874.4090409@gmail.com> References: <20121021171826.GA11102@panix.com> <50847874.4090409@gmail.com> Message-ID: On Sun, Oct 21, 2012 at 3:34 PM, Bryce Verdier wrote: > On 10/21/12 10:18 AM, Aahz wrote: > >> My impression is that the SF meetup was large enough and the current >> BayPIGgies meeting is large enough that I think it makes more sense to >> not "move" but re-activate SF (or upper peninsula) meetings, preferably >> avoiding cross-scheduling so that people who want to attend both can do >> so with minimal pain. >> >> I agree with Aahz. Reactivation makes more sense to me than moving > location. I also like the idea of having it on a different week or day so > that people can attend both is they want. +1. Having only one meetup, wherever it is, probably hurts attendance -------------- next part -------------- An HTML attachment was scrubbed... URL: From wescpy at gmail.com Mon Oct 22 21:23:00 2012 From: wescpy at gmail.com (wesley chun) Date: Mon, 22 Oct 2012 12:23:00 -0700 Subject: [Baypiggies] Novice Programmer Asking For Assistance In-Reply-To: References: Message-ID: +1 what lynn said... and a warning: trying to install your own version of Python on Macs may not be easy and could lead to breakage (seen it/heard about it from many people) because it's likely that anything you install will likely clash with the one Apple has already put on your Mac. it's a delicate process that requires some experience. anyway, hope that kellan is able to help you with your setup if you can make it there. best of luck, --wesley On Mon, Oct 22, 2012 at 6:53 AM, Lynn Root wrote: > Hey Mark, > > You should actually have Python already installed, probably version 2.7. > The way to check is open a terminal (Applications > Utilities > Terminal) > and type 'python'. If you don't get an error, and see a '>>>' prompt, > you're good! > > Let me know if you have any questions or issues! > > Lynn Root > > Sent from my cloud device. > On Oct 22, 2012 9:02 AM, "Mark Rabkin" wrote: > >> All: >> >> I am having trouble getting Python installed correctly on a Mac (OS >> 10.6.8). I could easily meet someone in Berkeley >> or San Francisco at a cafe of their choosing and would happily trade a >> cup of coffee/tea for some assistance. As I >> said in the title I am a novice programmer who just needs a bit of >> assistance in getting started. >> >> Thank you. >> >> Cheers, >> >> Mark >> markrabkin at gmail.com >> > -- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - "A computer never does what you want... only what you tell it." +wesley chun : wescpy at gmail : @wescpy Python training & consulting : http://CyberwebConsulting.com "Core Python" books : http://CorePython.com Python blog: http://wescpy.blogspot.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From tony at tcapp.com Mon Oct 22 21:44:26 2012 From: tony at tcapp.com (Tony Cappellini) Date: Mon, 22 Oct 2012 12:44:26 -0700 Subject: [Baypiggies] SF Meeting? In-Reply-To: <50847874.4090409@gmail.com> References: <20121021171826.GA11102@panix.com> <50847874.4090409@gmail.com> Message-ID: >> My impression is that the SF meetup was large enough and the current >> BayPIGgies meeting is large enough that I think it makes more sense to >> not "move" but re-activate SF (or upper peninsula) meetings, preferably >> avoiding cross-scheduling so that people who want to attend both can do >> so with minimal pain. +1 From Web at StevePiercy.com Mon Oct 22 21:36:33 2012 From: Web at StevePiercy.com (Steve Piercy - Web Site Builder) Date: Mon, 22 Oct 2012 12:36:33 -0700 Subject: [Baypiggies] Novice Programmer Asking For Assistance In-Reply-To: Message-ID: http://www.python.org/download/mac/ Python comes pre-installed on Mac OS X, but due to Apple's release cycle, it's often one or even two years old. The overwhelming recommendation of the "MacPython" community is to upgrade your Python by downloading and installing a newer version from the Python standard release page. I'm not sure how to reconcile the above and below statements. I did the above by downloading the installer and not using macports or any other package manager. I then use virtualenv for development. I have not noticed any breakage at the system level, but that could mean there was some breakage of which I am not aware. --steve On 10/22/12 at 12:23 PM, wescpy at gmail.com (wesley chun) pronounced: >+1 what lynn said... and a warning: trying to install your own version of >Python on Macs may not be easy and could lead to breakage (seen it/heard >about it from many people) because it's likely that anything you install >will likely clash with the one Apple has already put on your Mac. it's a >delicate process that requires some experience. anyway, hope that kellan is >able to help you with your setup if you can make it there. > >best of luck, >--wesley > > >On Mon, Oct 22, 2012 at 6:53 AM, Lynn Root wrote: > >>Hey Mark, >> >>You should actually have Python already installed, probably version 2.7. >>The way to check is open a terminal (Applications > Utilities > Terminal) >>and type 'python'. If you don't get an error, and see a '>>>' prompt, >>you're good! >> >>Let me know if you have any questions or issues! >> >>Lynn Root >> >>Sent from my cloud device. >>On Oct 22, 2012 9:02 AM, "Mark Rabkin" wrote: >> >>> All: >>> >>> I am having trouble getting Python installed correctly on a Mac (OS >>> 10.6.8). I could easily meet someone in Berkeley >>> or San Francisco at a cafe of their choosing and would happily trade a >>> cup of coffee/tea for some assistance. As I >>> said in the title I am a novice programmer who just needs a bit of >>> assistance in getting started. >>> >>> Thank you. >>> >>> Cheers, >>> >>> Mark >>> markrabkin at gmail.com >>> >> > -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- Steve Piercy Web Site Builder Soquel, CA From tony at tcapp.com Mon Oct 22 21:54:06 2012 From: tony at tcapp.com (Tony Cappellini) Date: Mon, 22 Oct 2012 12:54:06 -0700 Subject: [Baypiggies] SF Meeting? In-Reply-To: References: Message-ID: Every time this topic comes up .... Given that we have had our current venue at Symantec for 3-4 (?) years now, abandoning it isn't necessarily a good idea unless we have overwhelming reason to do so. The reasons I state this are: 1. Finding a new venue takes time, and we don't know how long we will have the new venue available to us. Given that companies come and go for various reasons, keeping the meetings with Symantec until we loose that venue makes good sense. 2. If spinoff groups want to form, they should do so as separate entities. They should have their own website, mailing list and speakers. However, we should cross post meeting details to keep everyone informed. From nad at acm.org Mon Oct 22 22:17:19 2012 From: nad at acm.org (Ned Deily) Date: Mon, 22 Oct 2012 13:17:19 -0700 Subject: [Baypiggies] Novice Programmer Asking For Assistance References: Message-ID: In article , wesley chun wrote: > +1 what lynn said... and a warning: trying to install your own version of > Python on Macs may not be easy and could lead to breakage (seen it/heard > about it from many people) because it's likely that anything you install > will likely clash with the one Apple has already put on your Mac. it's a > delicate process that requires some experience. anyway, hope that kellan is > able to help you with your setup if you can make it there. It's true that Apple supplies Python with OS X, on the most recent releases, more than one version of Python (2.5, 2.6, and 2.7 on OS X 10.7 and 10.8). But, it's not true that it is difficult or dangerous to install another version of Python on an OS X system. In fact, using Python OS X framework builds, which most distributors of Python for OS X use these days, it is actually much easier to manage multiple versions of Python, even multiple instances of the same version of Python, than on other systems. That's because all of the version-specific files are isolated within each instance's framework. You can download and easily install binary versions of Python from python.org, or install Python and lots of third-party packages using the major third-party open source package managers for OS X, like MacPorts, Homebrew, or Fink. What you *shouldn't* do is try to replace the Apple-supplied Python files and links in /usr/bin and /System/Library; that could break other parts of OS X. Fortunately there is no need to if you manage your $PATH correctly. And it is perfectly acceptable to install third-party packages for use the Apple-supplied system Pythons; Apple thoughtfully includes versions of the easy_install command (from setuptools) to do so. If you install other Pythons, you would need to supply versions of Distribute/setuptools and/or pip for each of them. -- Ned Deily, nad at acm.org From mersenne at gmail.com Mon Oct 22 22:30:09 2012 From: mersenne at gmail.com (Lori W) Date: Mon, 22 Oct 2012 13:30:09 -0700 Subject: [Baypiggies] Novice Programmer Asking For Assistance Message-ID: I've installed both 3.2 and 3.3 on my MBA with no problem. 2.7 is still the installed default. -Lori +1 what lynn said... and a warning: trying to install your own version of > Python on Macs may not be easy and could lead to breakage (seen it/heard > about it from many people) because it's likely that anything you install > will likely clash with the one Apple has already put on your Mac. it's a > delicate process that requires some experience. anyway, hope that kellan is > able to help you with your setup if you can make it there. > > best of luck, > --wesley > -------------- next part -------------- An HTML attachment was scrubbed... URL: From info at findpythonjobs.com Mon Oct 22 22:36:48 2012 From: info at findpythonjobs.com (findpythonjobs) Date: Mon, 22 Oct 2012 13:36:48 -0700 (PDT) Subject: [Baypiggies] new Python Jobs board (http://FindPythonJobs.com). Post jobs for free Message-ID: <1350938208727-4993043.post@n6.nabble.com> Hi, I am happy to announce the beta version of http://FindPythonJobs.com which is a niche job board *dedicated to Python Jobs*.You can post *Python jobs for free*. All jobs are posted to Twitter, Facebook, Google plus, and in our email newsletter - all for free! The website is hosted on Amazon Cloud (AppFog is also very cool but I found AppFog after I bought EC2 dedicated servers). Hoping for positive response from community. Thanks -- View this message in context: http://python.6.n6.nabble.com/new-Python-Jobs-board-http-FindPythonJobs-com-Post-jobs-for-free-tp4993043.html Sent from the Baypiggies List 2 mailing list archive at Nabble.com. From brian at python.org Mon Oct 22 22:55:51 2012 From: brian at python.org (Brian Curtin) Date: Mon, 22 Oct 2012 15:55:51 -0500 Subject: [Baypiggies] new Python Jobs board (http://FindPythonJobs.com). Post jobs for free In-Reply-To: <1350938208727-4993043.post@n6.nabble.com> References: <1350938208727-4993043.post@n6.nabble.com> Message-ID: On Mon, Oct 22, 2012 at 3:36 PM, findpythonjobs wrote: > Hi, I am happy to announce the beta version of http://FindPythonJobs.com > which is a niche job board *dedicated to > Python Jobs*.You can post *Python jobs for free*. > > All jobs are posted to Twitter, Facebook, Google plus, and in our email > newsletter - all for free! > > The website is hosted on Amazon Cloud (AppFog is also very cool but I found > AppFog after I bought EC2 dedicated servers). > > Hoping for positive response from community. How will this differ from http://www.python.org/jobs, which is an actively curated job board which receives many job postings every day? Postings are picked up by https://twitter.com/pyjobo From aahz at pythoncraft.com Mon Oct 22 22:59:22 2012 From: aahz at pythoncraft.com (Aahz) Date: Mon, 22 Oct 2012 13:59:22 -0700 Subject: [Baypiggies] SF Meeting? In-Reply-To: References: Message-ID: <20121022205922.GA10550@panix.com> On Mon, Oct 22, 2012, Tony Cappellini wrote: > > 2. If spinoff groups want to form, they should do so as separate > entities. They should have their own website, > mailing list and speakers. However, we should cross post meeting > details to keep everyone informed. Could you expand on that? From my POV, there's no reason we can't have "BayPIGgies SF" meetings using this same mailing list and website. There could also be "BayPIGgies East Bay". Keep in mind that BayPIGgies did meet for some time in the upper peninsula (and even SF), we're just expanding to multiple meeting locations and times. -- Aahz (aahz at pythoncraft.com) <*> http://www.pythoncraft.com/ "We've just found a line in a perl script that invokes a shell script to call a lisp program which invokes the very-same perl script." --anonymous From spmcinerney at hotmail.com Mon Oct 22 23:06:59 2012 From: spmcinerney at hotmail.com (Stephen McInerney) Date: Mon, 22 Oct 2012 14:06:59 -0700 Subject: [Baypiggies] Baypiggies Digest, Vol 84, Issue 15 In-Reply-To: References: Message-ID: Mark - use MacPorts. Manually installing Python on a Mac is a huge pain. You can easily figure out MacPorts from their help on the web. Do not mess with your Mac's builtin python version. If you will need multiple 2.x or 3.x installs, and/or the ability to switch between versions on a project-specific basis, also install virtualenv. ipython is a nice interactive shell for scientific users with command-line help, inline completion, history. (PS good to use more specific subject, e.g. 'Novice needing assistance installing Python on Mac' instead of a generic 'Novice Programmer Asking For Assistance') Also, check out http://www.meetup.com/San-Francisco-PyData/ and the Berkeley Scientific Python meetup, if it's still going. Stephen -------------- next part -------------- An HTML attachment was scrubbed... URL: From info at findpythonjobs.com Mon Oct 22 23:08:56 2012 From: info at findpythonjobs.com (Python Jobs) Date: Mon, 22 Oct 2012 17:08:56 -0400 Subject: [Baypiggies] new Python Jobs board (http://FindPythonJobs.com). Post jobs for free In-Reply-To: References: <1350938208727-4993043.post@n6.nabble.com> Message-ID: <5085B5E8.2080106@findpythonjobs.com> Hi, Thanks for your reply. http://FindPythonJobs.com allows you to *post jobs directly *on website without emailing it to someone and waiting for few days for job to be actually posted. Employers can a*lso edit or remove job postings d*irectly from the website. http://www.python.org/jobs does not allow employers to post jobs directly. Personally, I felt that Python community should have a richer job board similar to what Rails community has (TopRubyJobs.com or Rubynow.com ) Hoping for a positive response from community. thanks Regards Saurabh On 10/22/12 4:55 PM, Brian Curtin wrote: > On Mon, Oct 22, 2012 at 3:36 PM, findpythonjobs wrote: >> Hi, I am happy to announce the beta version of http://FindPythonJobs.com >> which is a niche job board *dedicated to >> Python Jobs*.You can post *Python jobs for free*. >> >> All jobs are posted to Twitter, Facebook, Google plus, and in our email >> newsletter - all for free! >> >> The website is hosted on Amazon Cloud (AppFog is also very cool but I found >> AppFog after I bought EC2 dedicated servers). >> >> Hoping for positive response from community. > How will this differ from http://www.python.org/jobs, which is an > actively curated job board which receives many job postings every day? > Postings are picked up by https://twitter.com/pyjobo -------------- next part -------------- An HTML attachment was scrubbed... URL: From wescpy at gmail.com Mon Oct 22 23:18:57 2012 From: wescpy at gmail.com (wesley chun) Date: Mon, 22 Oct 2012 14:18:57 -0700 Subject: [Baypiggies] Novice Programmer Asking For Assistance In-Reply-To: References: Message-ID: cool. based on the responses i've seen so far, i'm happy to hear that things have gotten much better. i've seen many co-workers over the past few years bringing their computers to our corporate sys-admins to have them fix/reverse self-installs of Python that have gone wrong, the worst of which required a complete reinstall of the OS. --wesley On Mon, Oct 22, 2012 at 1:30 PM, Lori W wrote: > I've installed both 3.2 and 3.3 on my MBA with no problem. 2.7 is still > the installed default. > > -Lori > > +1 what lynn said... and a warning: trying to install your own version of > >> Python on Macs may not be easy and could lead to breakage (seen it/heard >> about it from many people) because it's likely that anything you install >> will likely clash with the one Apple has already put on your Mac. it's a >> delicate process that requires some experience. anyway, hope that kellan >> is >> able to help you with your setup if you can make it there. >> >> best of luck, >> --wesley >> > > _______________________________________________ > Baypiggies mailing list > Baypiggies at python.org > To change your subscription options or unsubscribe: > http://mail.python.org/mailman/listinfo/baypiggies > -- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - "A computer never does what you want... only what you tell it." +wesley chun : wescpy at gmail : @wescpy Python training & consulting : http://CyberwebConsulting.com "Core Python" books : http://CorePython.com Python blog: http://wescpy.blogspot.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From tony at tcapp.com Mon Oct 22 23:36:07 2012 From: tony at tcapp.com (Tony Cappellini) Date: Mon, 22 Oct 2012 17:36:07 -0400 Subject: [Baypiggies] SF Meeting? In-Reply-To: <20121022205922.GA10550@panix.com> References: <20121022205922.GA10550@panix.com> Message-ID: > Could you expand on that? From my POV, there's no reason we can't have > "BayPIGgies SF" meetings using this same mailing list and website. > There could also be "BayPIGgies East Bay". 1. The website is not setup at the moment to support multiple groups. I don't have time to make those changes, and I don't want to have to support multiple groups. Finding speakers each month isn't fun. Other's need to get involved finding speakers for any splinter groups, updating the website and managing the list. Others need to get involved to maintain the site too. Bill Deegan has been handling this for a long time. Plone is a pain to work with and maintain, he's the only one who has shouldered that burden. We've talked about dumping Plone for a decent CMS, but haven't arrived at any decision yet. 2. Multiple groups on one list is just a recipe for confusion. New groups, new sites. It's that simple. From msabramo at gmail.com Mon Oct 22 23:47:53 2012 From: msabramo at gmail.com (Marc Abramowitz) Date: Mon, 22 Oct 2012 14:47:53 -0700 Subject: [Baypiggies] Novice Programmer Asking For Assistance In-Reply-To: References: Message-ID: When I get a new Mac, I usually surf on over to python.org and get the latest versions of 2.7 and 3.x and install them. I don't bother with the system Python because it's often old. Most of my development happens in a 2.7.x framework build that I've installed from python.org and I create virtualenvs from that for various projects. -------------- next part -------------- An HTML attachment was scrubbed... URL: From Web at StevePiercy.com Tue Oct 23 02:00:54 2012 From: Web at StevePiercy.com (Steve Piercy - Web Site Builder) Date: Mon, 22 Oct 2012 17:00:54 -0700 Subject: [Baypiggies] SF Meeting? In-Reply-To: Message-ID: On 10/22/12 at 5:36 PM, tony at tcapp.com (Tony Cappellini) pronounced: >>Could you expand on that? From my POV, there's no reason we can't have >>"BayPIGgies SF" meetings using this same mailing list and website. >>There could also be "BayPIGgies East Bay". > >1. The website is not setup at the moment to support multiple groups. >I don't have time to make those changes, and I don't want to have to support >multiple groups. Finding speakers each month isn't fun. > >Other's need to get involved finding speakers for any splinter >groups, updating the website >and managing the list. Others need to get involved to maintain the >site too. Bill Deegan >has been handling this for a long time. Plone is a pain to work >with and maintain, he's the >only one who has shouldered that burden. We've talked about >dumping Plone for a decent >CMS, but haven't arrived at any decision yet. > >2. Multiple groups on one list is just a recipe for confusion. > >New groups, new sites. It's that simple. Or do what PyLadiesSF does: one umbrella group comprised of multiple individuals who each lead various interests using Python at multiple venues around the Bay Area. Few of their events are speaker presentations, and most provide opportunities to sprint on projects, write code, learn Python programming, and socialize. (Lynn Root may correct my perception if I have misrepresented them.) http://www.meetup.com/PyLadiesSF/ Is BayPiggies open to holding events other than monthly speaker presentations? --steve -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- Steve Piercy Web Site Builder Soquel, CA From aahz at pythoncraft.com Tue Oct 23 03:01:05 2012 From: aahz at pythoncraft.com (Aahz) Date: Mon, 22 Oct 2012 18:01:05 -0700 Subject: [Baypiggies] SF Meeting? In-Reply-To: References: Message-ID: <20121023010105.GA1592@panix.com> On Mon, Oct 22, 2012, Steve Piercy - Web Site Builder wrote: > > Is BayPiggies open to holding events other than monthly speaker > presentations? At least in theory, yes. -- Aahz (aahz at pythoncraft.com) <*> http://www.pythoncraft.com/ "We've just found a line in a perl script that invokes a shell script to call a lisp program which invokes the very-same perl script." --anonymous From Web at StevePiercy.com Tue Oct 23 03:39:22 2012 From: Web at StevePiercy.com (Steve Piercy - Web Site Builder) Date: Mon, 22 Oct 2012 18:39:22 -0700 Subject: [Baypiggies] SF Meeting? In-Reply-To: <20121023010105.GA1592@panix.com> Message-ID: On 10/22/12 at 6:01 PM, aahz at pythoncraft.com (Aahz) pronounced: >On Mon, Oct 22, 2012, Steve Piercy - Web Site Builder wrote: >> >>Is BayPiggies open to holding events other than monthly speaker >>presentations? > >At least in theory, yes. Is there a process to do so, and if so what is it? For example, let's say I want to hold an event, I get a facility or host sponsor, perhaps with food and beverage, where the attendees can hack on various Python projects, learn deployment or testing strategies, and so on. What would I need to do for a BayPiggies endorsement, announcement or other support? --steve -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- Steve Piercy Web Site Builder Soquel, CA From aahz at pythoncraft.com Tue Oct 23 04:01:26 2012 From: aahz at pythoncraft.com (Aahz) Date: Mon, 22 Oct 2012 19:01:26 -0700 Subject: [Baypiggies] SF Meeting? In-Reply-To: References: <20121023010105.GA1592@panix.com> Message-ID: <20121023020126.GA22742@panix.com> On Mon, Oct 22, 2012, Steve Piercy - Web Site Builder wrote: > On 10/22/12 at 6:01 PM, aahz at pythoncraft.com (Aahz) pronounced: >>On Mon, Oct 22, 2012, Steve Piercy - Web Site Builder wrote: >>> >>>Is BayPiggies open to holding events other than monthly speaker >>>presentations? >> >>At least in theory, yes. > > Is there a process to do so, and if so what is it? Not really. > For example, let's say I want to hold an event, I get a facility or > host sponsor, perhaps with food and beverage, where the attendees > can hack on various Python projects, learn deployment or testing > strategies, and so on. What would I need to do for a BayPiggies > endorsement, announcement or other support? BayPIGgies as an organization really doesn't exist. There are certain people who have taken on certain responsibilities, but there's no one person who "owns" all the infrastructure and no group of people who collectively own anything, either. So you're free to post your event to this list as a subscriber and any complaints are unlikely to get much traction unless there's something antisocial about your announcement. Whether you can get the webmasters to post the event is something you'll have to take up with them. You can also post your event to other Python-related lists. If you want human support, you ask for volunteers. If you want financial support, you ask the PSF (Python Software Foundation). If you want to slap the "BayPIGgies" label on your event, I would just post and see if anyone objects. Welcome to anarchy! (With some rules, e.g. the job-posting rules. ;-) -- Aahz (aahz at pythoncraft.com) <*> http://www.pythoncraft.com/ "We've just found a line in a perl script that invokes a shell script to call a lisp program which invokes the very-same perl script." --anonymous From tony at tcapp.com Tue Oct 23 04:31:03 2012 From: tony at tcapp.com (Tony Cappellini) Date: Mon, 22 Oct 2012 22:31:03 -0400 Subject: [Baypiggies] SF Meeting? In-Reply-To: References: <20121023010105.GA1592@panix.com> Message-ID: Holding these events probably isn't as much of an issue as is finding a venue for the event. Where do you propose to hold these events? On Mon, Oct 22, 2012 at 9:39 PM, Steve Piercy - Web Site Builder wrote: > On 10/22/12 at 6:01 PM, aahz at pythoncraft.com (Aahz) pronounced: > > >> On Mon, Oct 22, 2012, Steve Piercy - Web Site Builder wrote: >>> >>> >>> Is BayPiggies open to holding events other than monthly speaker >>> presentations? >> >> >> At least in theory, yes. > > > Is there a process to do so, and if so what is it? > > For example, let's say I want to hold an event, I get a facility or host > sponsor, perhaps with food and beverage, where the attendees can hack on > various Python projects, learn deployment or testing strategies, and so on. > What would I need to do for a BayPiggies endorsement, announcement or other > support? > > > --steve > > -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- > Steve Piercy Web Site Builder Soquel, CA > > > _______________________________________________ > Baypiggies mailing list > Baypiggies at python.org > To change your subscription options or unsubscribe: > http://mail.python.org/mailman/listinfo/baypiggies From msabramo at gmail.com Tue Oct 23 05:10:36 2012 From: msabramo at gmail.com (Marc Abramowitz) Date: Mon, 22 Oct 2012 20:10:36 -0700 Subject: [Baypiggies] SF Meeting? In-Reply-To: References: <20121022205922.GA10550@panix.com> Message-ID: I'd be up for helping with the site. I don't know Plone, but I'd be up for learning a bit and perhaps if there was a talk on it... :-) Plone in theory is a powerful CMS though I've not managed to wrap my head around it but I didn't have a use case to motivate me to learn it. If we wanted to switch from Plone, it could be a fun team project for a bunch of us to create a site in Django/Pyramid/etc. -Marc http://marc-abramowitz.com Sent from my iPhone 4S On Oct 22, 2012, at 2:36 PM, Tony Cappellini wrote: >> Could you expand on that? From my POV, there's no reason we can't have >> "BayPIGgies SF" meetings using this same mailing list and website. >> There could also be "BayPIGgies East Bay". > > 1. The website is not setup at the moment to support multiple groups. > I don't have time to make those changes, and I don't want to have to support > multiple groups. Finding speakers each month isn't fun. > > Other's need to get involved finding speakers for any splinter > groups, updating the website > and managing the list. Others need to get involved to maintain the > site too. Bill Deegan > has been handling this for a long time. Plone is a pain to work > with and maintain, he's the > only one who has shouldered that burden. We've talked about > dumping Plone for a decent > CMS, but haven't arrived at any decision yet. > > 2. Multiple groups on one list is just a recipe for confusion. > > New groups, new sites. It's that simple. > _______________________________________________ > Baypiggies mailing list > Baypiggies at python.org > To change your subscription options or unsubscribe: > http://mail.python.org/mailman/listinfo/baypiggies From camembert at gmail.com Tue Oct 23 05:18:00 2012 From: camembert at gmail.com (Elizabeth Leddy) Date: Mon, 22 Oct 2012 20:18:00 -0700 Subject: [Baypiggies] SF Meeting? In-Reply-To: References: <20121022205922.GA10550@panix.com> Message-ID: On Monday, October 22, 2012 at 8:10 PM, Marc Abramowitz wrote: > I'd be up for helping with the site. I don't know Plone, but I'd be up for learning a bit and perhaps if there was a talk on it... :-) Plone in theory is a powerful CMS though I've not managed to wrap my head around it but I didn't have a use case to motivate me to learn it. > > Myself and I'm sure everyone in the local Plone community would be happy to host a talk on Plone. We have our own meet ups usually but we could take a break from drinking to actually teach people ;) If there was a decent interest we would even commute down to south bay, although all of us are in peninsula and east bay. We have our meet ups at mozilla offices usually, plenty of space in a great venue. > If we wanted to switch from Plone, it could be a fun team project for a bunch of us to create a site in Django/Pyramid/etc. > > The main issue I see with all of this is no one talks about what they *want* from the site. If you just want to schedule meet ups, go to meetup.com like everyone else. If there should be something else, then decide what "something else" is and go from there. So the question is, is anyone else interested in a talk on Plone? I can set up and do the logistics if so. Liz > > > -Marc > http://marc-abramowitz.com > Sent from my iPhone 4S > > > On Oct 22, 2012, at 2:36 PM, Tony Cappellini wrote: > > > > Could you expand on that? From my POV, there's no reason we can't have > > > "BayPIGgies SF" meetings using this same mailing list and website. > > > There could also be "BayPIGgies East Bay". > > > > > > > > > 1. The website is not setup at the moment to support multiple groups. > > I don't have time to make those changes, and I don't want to have to support > > multiple groups. Finding speakers each month isn't fun. > > > > Other's need to get involved finding speakers for any splinter > > groups, updating the website > > and managing the list. Others need to get involved to maintain the > > site too. Bill Deegan > > has been handling this for a long time. Plone is a pain to work > > with and maintain, he's the > > only one who has shouldered that burden. We've talked about > > dumping Plone for a decent > > CMS, but haven't arrived at any decision yet. > > > > 2. Multiple groups on one list is just a recipe for confusion. > > > > New groups, new sites. It's that simple. > > _______________________________________________ > > Baypiggies mailing list > > Baypiggies at python.org (mailto:Baypiggies at python.org) > > To change your subscription options or unsubscribe: > > http://mail.python.org/mailman/listinfo/baypiggies > > > > _______________________________________________ > Baypiggies mailing list > Baypiggies at python.org (mailto:Baypiggies at python.org) > To change your subscription options or unsubscribe: > http://mail.python.org/mailman/listinfo/baypiggies > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From tony at tcapp.com Tue Oct 23 05:59:23 2012 From: tony at tcapp.com (Tony Cappellini) Date: Mon, 22 Oct 2012 23:59:23 -0400 Subject: [Baypiggies] SF Meeting? In-Reply-To: References: <20121022205922.GA10550@panix.com> Message-ID: > The main issue I see with all of this is no one talks about what they *want* > from the site. If you just want to schedule meet ups, go to meetup.com like > everyone else. If there should be something else, then decide what > "something else" is and go from there. To correct and detract a poorly-phrased rant that I posted on the list earlier today .... Baypiggies has been using Plone as the CMS for the group website for a number of years. The site was recently overhauled by Bill Deegan and Elizabeth Leddy (a core Plone developer whom I had forgotten to credit in my earlier post). Baypiggies has grown and the needs of the site have changed as well. The site may not be in the best-fitted state for the ongoing changes to the group, but Plone has worked well enough to serve the us over the years. We have not explored all of its capabilities and my rant stating that Plone isn't good enough and hard to maintain is both unfair and inaccurate. My sincerest apologies go out to the Plone developers & community who have worked so hard to make it what it is today. If the group is going to morph, then we need to figure out how to do it so serve everyone involved in the best way possible. Tony From Web at StevePiercy.com Tue Oct 23 06:12:36 2012 From: Web at StevePiercy.com (Steve Piercy - Web Site Builder) Date: Mon, 22 Oct 2012 21:12:36 -0700 Subject: [Baypiggies] SF Meeting? In-Reply-To: Message-ID: Oh, now there's an interesting hands-on project! How about both Django and Pyramid? There's also tutorials for both as a starting point. --steve On 10/22/12 at 8:10 PM, msabramo at gmail.com (Marc Abramowitz) pronounced: >I'd be up for helping with the site. I don't know Plone, but >I'd be up for learning a bit and perhaps if there was a talk on >it... :-) Plone in theory is a powerful CMS though I've not >managed to wrap my head around it but I didn't have a use case >to motivate me to learn it. If we wanted to switch from Plone, >it could be a fun team project for a bunch of us to create a >site in Django/Pyramid/etc. >-Marc >http://marc-abramowitz.com >Sent from my iPhone 4S > > >On Oct 22, 2012, at 2:36 PM, Tony Cappellini wrote: > >>> Could you expand on that? From my POV, there's no reason we can't have >>> "BayPIGgies SF" meetings using this same mailing list and website. >>> There could also be "BayPIGgies East Bay". >> >>1. The website is not setup at the moment to support multiple groups. >>I don't have time to make those changes, and I don't want to have to support >>multiple groups. Finding speakers each month isn't fun. >> >>Other's need to get involved finding speakers for any splinter >>groups, updating the website >>and managing the list. Others need to get involved to maintain the >>site too. Bill Deegan >>has been handling this for a long time. Plone is a pain to work >>with and maintain, he's the >>only one who has shouldered that burden. We've talked about >>dumping Plone for a decent >>CMS, but haven't arrived at any decision yet. >> >>2. Multiple groups on one list is just a recipe for confusion. >> >>New groups, new sites. It's that simple. >>_______________________________________________ >>Baypiggies mailing list >>Baypiggies at python.org >>To change your subscription options or unsubscribe: >>http://mail.python.org/mailman/listinfo/baypiggies >_______________________________________________ >Baypiggies mailing list >Baypiggies at python.org >To change your subscription options or unsubscribe: >http://mail.python.org/mailman/listinfo/baypiggies -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- Steve Piercy Web Site Builder Soquel, CA From Web at StevePiercy.com Tue Oct 23 06:06:41 2012 From: Web at StevePiercy.com (Steve Piercy - Web Site Builder) Date: Mon, 22 Oct 2012 21:06:41 -0700 Subject: [Baypiggies] SF Meeting? In-Reply-To: Message-ID: On 10/22/12 at 10:31 PM, tony at tcapp.com (Tony Cappellini) pronounced: >Holding these events probably isn't as much of an issue >as is finding a venue for the event. > >Where do you propose to hold these events? TBD. Aahz answered a pre-requisite, that other event types would be OK. I've been told that it is not difficult to sell the idea of hosting an event to a business. A host gets an opportunity to pitch their products and services to a captive audience, and gain some exposure, publicity, and recognition. They can also meet and recruit attendees for job openings. To increase attendance, I'd encourage the host to provide food and beverages, which is a convenience for those who would need to leave straight from other commitments. Anyway, it is good to know that there is the opportunity to do some kind of hands-on event within BayPiggies. Now to get the wheels churning... --steve >On Mon, Oct 22, 2012 at 9:39 PM, Steve Piercy - Web Site Builder > wrote: >>On 10/22/12 at 6:01 PM, aahz at pythoncraft.com (Aahz) pronounced: >> >> >>> On Mon, Oct 22, 2012, Steve Piercy - Web Site Builder wrote: >>>> >>>> >>>> Is BayPiggies open to holding events other than monthly speaker >>>> presentations? >>> >>> >>> At least in theory, yes. >> >> >>Is there a process to do so, and if so what is it? >> >>For example, let's say I want to hold an event, I get a facility or host >>sponsor, perhaps with food and beverage, where the attendees can hack on >>various Python projects, learn deployment or testing strategies, and so on. >>What would I need to do for a BayPiggies endorsement, announcement or other >>support? >> >> >>--steve >> >>-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- >>Steve Piercy Web Site Builder Soquel, CA >> >> >>_______________________________________________ >>Baypiggies mailing list >>Baypiggies at python.org >>To change your subscription options or unsubscribe: >>http://mail.python.org/mailman/listinfo/baypiggies -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- Steve Piercy Web Site Builder Soquel, CA From Web at StevePiercy.com Tue Oct 23 06:17:04 2012 From: Web at StevePiercy.com (Steve Piercy - Web Site Builder) Date: Mon, 22 Oct 2012 21:17:04 -0700 Subject: [Baypiggies] SF Meeting? In-Reply-To: Message-ID: And Plone, too. Each has its strengths and weaknesses. Learning basics would be useful to understand when each would be most appropriate for a given project. --steve On 10/22/12 at 9:12 PM, Web at StevePiercy.com (Steve Piercy - Web Site Builder) pronounced: >Oh, now there's an interesting hands-on project! How about >both Django and Pyramid? There's also tutorials for both as a >starting point. > >--steve > > >On 10/22/12 at 8:10 PM, msabramo at gmail.com (Marc Abramowitz) pronounced: > >>I'd be up for helping with the site. I don't know Plone, but >>I'd be up for learning a bit and perhaps if there was a talk >>on it... :-) Plone in theory is a powerful CMS though I've not >>managed to wrap my head around it but I didn't have a use case >>to motivate me to learn it. If we wanted to switch from Plone, >>it could be a fun team project for a bunch of us to create a >>site in Django/Pyramid/etc. >>-Marc >>http://marc-abramowitz.com >>Sent from my iPhone 4S >> >> >>On Oct 22, 2012, at 2:36 PM, Tony Cappellini wrote: >> >>>>Could you expand on that? From my POV, there's no reason we can't have >>>>"BayPIGgies SF" meetings using this same mailing list and website. >>>>There could also be "BayPIGgies East Bay". >>> >>>1. The website is not setup at the moment to support multiple groups. >>>I don't have time to make those changes, and I don't want to have to support >>>multiple groups. Finding speakers each month isn't fun. >>> >>>Other's need to get involved finding speakers for any splinter >>>groups, updating the website >>>and managing the list. Others need to get involved to maintain the >>>site too. Bill Deegan >>>has been handling this for a long time. Plone is a pain to work >>>with and maintain, he's the >>>only one who has shouldered that burden. We've talked about >>>dumping Plone for a decent >>>CMS, but haven't arrived at any decision yet. >>> >>>2. Multiple groups on one list is just a recipe for confusion. >>> >>>New groups, new sites. It's that simple. >>>_______________________________________________ >>>Baypiggies mailing list >>>Baypiggies at python.org >>>To change your subscription options or unsubscribe: >>>http://mail.python.org/mailman/listinfo/baypiggies >>_______________________________________________ >>Baypiggies mailing list >>Baypiggies at python.org >>To change your subscription options or unsubscribe: >>http://mail.python.org/mailman/listinfo/baypiggies > >-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- >Steve Piercy Web Site Builder Soquel, CA > > >_______________________________________________ >Baypiggies mailing list >Baypiggies at python.org >To change your subscription options or unsubscribe: >http://mail.python.org/mailman/listinfo/baypiggies -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- Steve Piercy Web Site Builder Soquel, CA From aahz at pythoncraft.com Tue Oct 23 15:42:24 2012 From: aahz at pythoncraft.com (Aahz) Date: Tue, 23 Oct 2012 06:42:24 -0700 Subject: [Baypiggies] SF Meeting? In-Reply-To: References: Message-ID: <20121023134224.GA5439@panix.com> On Mon, Oct 22, 2012, Steve Piercy - Web Site Builder wrote: > On 10/22/12 at 10:31 PM, tony at tcapp.com (Tony Cappellini) pronounced: >> >>Holding these events probably isn't as much of an issue >>as is finding a venue for the event. >> >>Where do you propose to hold these events? > > TBD. Aahz answered a pre-requisite, that other event types would be > OK. I've been told that it is not difficult to sell the idea of > hosting an event to a business. A host gets an opportunity to pitch > their products and services to a captive audience, and gain some > exposure, publicity, and recognition. They can also meet and > recruit attendees for job openings. To increase attendance, I'd > encourage the host to provide food and beverages, which is a > convenience for those who would need to leave straight from other > commitments. There needs to be some care here -- if it's like the sales pitch for timeshare condos people will get turned off. I've rarely seen anything other than an implicit sales pitch beyond "we recruit!". People just soak up the idea that XYZ Company is a good place to work by virtue of the fact that they're sponsoring a Python event. > Anyway, it is good to know that there is the opportunity to do some > kind of hands-on event within BayPiggies. Now to get the wheels > churning... Go for it! -- Aahz (aahz at pythoncraft.com) <*> http://www.pythoncraft.com/ "We've just found a line in a perl script that invokes a shell script to call a lisp program which invokes the very-same perl script." --anonymous From glen at glenjarvis.com Tue Oct 23 21:00:53 2012 From: glen at glenjarvis.com (Glen Jarvis) Date: Tue, 23 Oct 2012 12:00:53 -0700 Subject: [Baypiggies] gridfs; mongo; gluster; I'll pay you :) Message-ID: I just discovered I may need to learn grid_fs on mongo and python's gluster. I know *nothing* about these. I will do my own research... But, I'd love to pay someone to teach me so I can come up to speed as quickly as possible.... Before we talk about price, any takers? Glen -- "Pursue, keep up with, circle round and round your life as a dog does his master's chase. Do what you love. Know your own bone; gnaw at it, bury it, unearth it, and gnaw it still." --Henry David Thoreau -------------- next part -------------- An HTML attachment was scrubbed... URL: From bdbaddog at gmail.com Tue Oct 23 21:46:45 2012 From: bdbaddog at gmail.com (William Deegan) Date: Tue, 23 Oct 2012 12:46:45 -0700 Subject: [Baypiggies] Novice Programmer Asking For Assistance In-Reply-To: References: Message-ID: <0F4C37ED-07A7-4AB1-ABD0-1FE6F6791C39@gmail.com> You can also use macports or mac brew. Though that will install more than just python, but I find macports useful. -Bill On Oct 22, 2012, at 2:47 PM, Marc Abramowitz wrote: > When I get a new Mac, I usually surf on over to python.org and get the latest versions of 2.7 and 3.x and install them. I don't bother with the system Python because it's often old. Most of my development happens in a 2.7.x framework build that I've installed from python.org and I create virtualenvs from that for various projects. _______________________________________________ > Baypiggies mailing list > Baypiggies at python.org > To change your subscription options or unsubscribe: > http://mail.python.org/mailman/listinfo/baypiggies -------------- next part -------------- An HTML attachment was scrubbed... URL: From rbalfanz at gmail.com Wed Oct 24 01:27:28 2012 From: rbalfanz at gmail.com (Ryan Matthew Balfanz) Date: Tue, 23 Oct 2012 16:27:28 -0700 Subject: [Baypiggies] Novice Programmer Asking For Assistance In-Reply-To: <0F4C37ED-07A7-4AB1-ABD0-1FE6F6791C39@gmail.com> References: <0F4C37ED-07A7-4AB1-ABD0-1FE6F6791C39@gmail.com> Message-ID: I'm surprised people are still using MacPorts when Homebrew ( http://mxcl.github.com/homebrew/) exists? Similar to Homebrew, there's Pythonbrew: https://github.com/utahta/pythonbrew And, to top it off, https://github.com/brainsik/virtualenv-burrito On Tue, Oct 23, 2012 at 12:46 PM, William Deegan wrote: > You can also use macports or mac brew. > > Though that will install more than just python, but I find macports useful. > > -Bill > On Oct 22, 2012, at 2:47 PM, Marc Abramowitz wrote: > > When I get a new Mac, I usually surf on over to python.org and get the > latest versions of 2.7 and 3.x and install them. I don't bother with the > system Python because it's often old. Most of my development happens in a > 2.7.x framework build that I've installed from python.org and I create > virtualenvs from that for various projects. > _______________________________________________ > > Baypiggies mailing list > Baypiggies at python.org > To change your subscription options or unsubscribe: > http://mail.python.org/mailman/listinfo/baypiggies > > > > _______________________________________________ > Baypiggies mailing list > Baypiggies at python.org > To change your subscription options or unsubscribe: > http://mail.python.org/mailman/listinfo/baypiggies > -------------- next part -------------- An HTML attachment was scrubbed... URL: From glen at glenjarvis.com Wed Oct 24 02:24:16 2012 From: glen at glenjarvis.com (Glen Jarvis) Date: Tue, 23 Oct 2012 17:24:16 -0700 Subject: [Baypiggies] gridfs; mongo; gluster; I'll pay you :) In-Reply-To: References: Message-ID: Okay, that was an over-reaction. The gridfs was actually quite simple. From doing research today, I think I already have it nailed already. I thought it'd be more for me to learn and I didn't have a lot of research time :( There is another change as well -- the pymongo interface has changed (no more quite as file-like): http://dirolf.com/2010/03/29/new-gridfs-implementation-for-pymongo.html So, I guess I'm good. It would be very nice if there were a pool of experts that were reasonably affordable that we could go to in situations like this. I found Simeon's company's videos quite helpful for the bare bones that I need. But, that doesn't really help them if I don't pay for a class. :( Maybe I need to do a little prep work in the future. I see Simeon's blog, but don't actually remember the company without reviewing the videos (but I remember it starts with an M) :) http://simeonfranklin.com/pro-django-class/ G On Tue, Oct 23, 2012 at 12:00 PM, Glen Jarvis wrote: > I just discovered I may need to learn grid_fs on mongo and python's > gluster. > > I know *nothing* about these. I will do my own research... But, I'd love > to pay someone to teach me so I can come up to speed as quickly as > possible.... > > Before we talk about price, any takers? > > Glen > -- > > "Pursue, keep up with, circle round and round your life as a dog does his > master's chase. Do what you love. Know your own bone; gnaw at it, bury it, > unearth it, and gnaw it still." > > --Henry David Thoreau > -- "Pursue, keep up with, circle round and round your life as a dog does his master's chase. Do what you love. Know your own bone; gnaw at it, bury it, unearth it, and gnaw it still." --Henry David Thoreau -------------- next part -------------- An HTML attachment was scrubbed... URL: From bdbaddog at gmail.com Wed Oct 24 03:03:28 2012 From: bdbaddog at gmail.com (William Deegan) Date: Tue, 23 Oct 2012 18:03:28 -0700 Subject: [Baypiggies] Novice Programmer Asking For Assistance In-Reply-To: References: <0F4C37ED-07A7-4AB1-ABD0-1FE6F6791C39@gmail.com> Message-ID: <03CAA432-5B22-4A6B-870D-050AFA1AF092@gmail.com> Ryan, I tried brew, but it didn't have all the packages I wanted, so back to macports for me. -Bill On Oct 23, 2012, at 4:27 PM, Ryan Matthew Balfanz wrote: > I'm surprised people are still using MacPorts when Homebrew (http://mxcl.github.com/homebrew/) exists? > > Similar to Homebrew, there's Pythonbrew: https://github.com/utahta/pythonbrew > > And, to top it off, https://github.com/brainsik/virtualenv-burrito > > On Tue, Oct 23, 2012 at 12:46 PM, William Deegan wrote: > You can also use macports or mac brew. > > Though that will install more than just python, but I find macports useful. > > -Bill > On Oct 22, 2012, at 2:47 PM, Marc Abramowitz wrote: > >> When I get a new Mac, I usually surf on over to python.org and get the latest versions of 2.7 and 3.x and install them. I don't bother with the system Python because it's often old. Most of my development happens in a 2.7.x framework build that I've installed from python.org and I create virtualenvs from that for various projects. _______________________________________________ >> >> Baypiggies mailing list >> Baypiggies at python.org >> To change your subscription options or unsubscribe: >> http://mail.python.org/mailman/listinfo/baypiggies > > > _______________________________________________ > Baypiggies mailing list > Baypiggies at python.org > To change your subscription options or unsubscribe: > http://mail.python.org/mailman/listinfo/baypiggies > -------------- next part -------------- An HTML attachment was scrubbed... URL: From david at bitcasa.com Wed Oct 24 02:44:39 2012 From: david at bitcasa.com (David Lawrence) Date: Tue, 23 Oct 2012 17:44:39 -0700 Subject: [Baypiggies] gridfs; mongo; gluster; I'll pay you :) In-Reply-To: References: Message-ID: You may want to take a peek at MongoEngine. It could simplify using gridfs for you. I haven't used it for gridfs specifically but have had good experiences with the rest of MongoEngine. http://mongoengine-odm.readthedocs.org/en/latest/guide/gridfs.html On Tue, Oct 23, 2012 at 5:24 PM, Glen Jarvis wrote: > Okay, that was an over-reaction. The gridfs was actually quite > simple. From doing research today, I think I already have it nailed > already. I thought it'd be more for me to learn and I didn't have a lot of > research time :( > > There is another change as well -- the pymongo interface has changed > (no more quite as file-like): > > http://dirolf.com/2010/03/29/new-gridfs-implementation-for-pymongo.html > > So, I guess I'm good. It would be very nice if there were a pool of > experts that were reasonably affordable that we could go to in situations > like this. I found Simeon's company's videos quite helpful for the bare > bones that I need. But, that doesn't really help them if I don't pay for a > class. :( > > Maybe I need to do a little prep work in the future. I see Simeon's blog, > but don't actually remember the company without reviewing the videos (but I > remember it starts with an M) :) > > http://simeonfranklin.com/pro-django-class/ > > > G > > > On Tue, Oct 23, 2012 at 12:00 PM, Glen Jarvis wrote: > >> I just discovered I may need to learn grid_fs on mongo and python's >> gluster. >> >> I know *nothing* about these. I will do my own research... But, I'd love >> to pay someone to teach me so I can come up to speed as quickly as >> possible.... >> >> Before we talk about price, any takers? >> >> Glen >> -- >> >> "Pursue, keep up with, circle round and round your life as a dog does his >> master's chase. Do what you love. Know your own bone; gnaw at it, bury it, >> unearth it, and gnaw it still." >> >> --Henry David Thoreau >> > > > > -- > > "Pursue, keep up with, circle round and round your life as a dog does his > master's chase. Do what you love. Know your own bone; gnaw at it, bury it, > unearth it, and gnaw it still." > > --Henry David Thoreau > > > _______________________________________________ > Baypiggies mailing list > Baypiggies at python.org > To change your subscription options or unsubscribe: > http://mail.python.org/mailman/listinfo/baypiggies > -------------- next part -------------- An HTML attachment was scrubbed... URL: From nad at acm.org Wed Oct 24 05:02:21 2012 From: nad at acm.org (Ned Deily) Date: Tue, 23 Oct 2012 20:02:21 -0700 Subject: [Baypiggies] Novice Programmer Asking For Assistance References: <0F4C37ED-07A7-4AB1-ABD0-1FE6F6791C39@gmail.com> <03CAA432-5B22-4A6B-870D-050AFA1AF092@gmail.com> Message-ID: In article <03CAA432-5B22-4A6B-870D-050AFA1AF092 at gmail.com>, William Deegan wrote: > On Oct 23, 2012, at 4:27 PM, Ryan Matthew Balfanz > wrote: > > I'm surprised people are still using MacPorts when Homebrew > > (http://mxcl.github.com/homebrew/) exists... > I tried brew, but it didn't have all the packages I wanted, so back to > macports for me. Another reason for using MacPorts: if you have requirements to support multiple multiple versions of OS X. I currently have virtually the same set of ports, all current, installed on OS X 10.8, 10.7, 10.6, 10.5, and 10.4 (although I admit that, not surprisingly, an increasing number of ports are starting to break on 10.4). There's nothing wrong with Homebrew as far as it goes but its goals are less ambitious than MacPorts and it ends up making more compromises that don't always work out. There is a good reason that MacPorts is more complex under the covers: it's really hard to get all those third-party components to work together and on most of the environments supported by OS X. The FUD about MacPorts that gets passed around is really unfortunate. Also, MacPorts now automatically provides binary packages for many of its ports on some releases of OS X. The project is working to expand the availability to more releases. -- Ned Deily, nad at acm.org From glen at glenjarvis.com Wed Oct 24 05:08:21 2012 From: glen at glenjarvis.com (Glen Jarvis) Date: Tue, 23 Oct 2012 20:08:21 -0700 Subject: [Baypiggies] Novice Programmer Asking For Assistance In-Reply-To: References: <0F4C37ED-07A7-4AB1-ABD0-1FE6F6791C39@gmail.com> <03CAA432-5B22-4A6B-870D-050AFA1AF092@gmail.com> Message-ID: <0ED37AE7-94C3-41F2-8B4F-C23D99087FC0@glenjarvis.com> I've had really good luck with MacPorts (I keep it clean and updated -- a very good habit). But, what FUD does it get? Also, I've never had a reason to use HomeBrew -- what's its selling points? My macports are very clean and my /opt/local looks like a mini Linux file system. Can I use a new path for HomeBrew and use them in conjunction (i.e. is it relocatable)? What benefits would it give me over MacPorts? G On Oct 23, 2012, at 8:02 PM, Ned Deily wrote: > In article <03CAA432-5B22-4A6B-870D-050AFA1AF092 at gmail.com>, > William Deegan > wrote: >> On Oct 23, 2012, at 4:27 PM, Ryan Matthew Balfanz >> wrote: >>> I'm surprised people are still using MacPorts when Homebrew >>> (http://mxcl.github.com/homebrew/) exists... >> I tried brew, but it didn't have all the packages I wanted, so back to >> macports for me. > > Another reason for using MacPorts: if you have requirements to support > multiple multiple versions of OS X. I currently have virtually the same > set of ports, all current, installed on OS X 10.8, 10.7, 10.6, 10.5, and > 10.4 (although I admit that, not surprisingly, an increasing number of > ports are starting to break on 10.4). There's nothing wrong with > Homebrew as far as it goes but its goals are less ambitious than > MacPorts and it ends up making more compromises that don't always work > out. There is a good reason that MacPorts is more complex under the > covers: it's really hard to get all those third-party components to work > together and on most of the environments supported by OS X. The FUD > about MacPorts that gets passed around is really unfortunate. Also, > MacPorts now automatically provides binary packages for many of its > ports on some releases of OS X. The project is working to expand the > availability to more releases. > > -- > Ned Deily, > nad at acm.org > > _______________________________________________ > Baypiggies mailing list > Baypiggies at python.org > To change your subscription options or unsubscribe: > http://mail.python.org/mailman/listinfo/baypiggies From nad at acm.org Wed Oct 24 05:56:19 2012 From: nad at acm.org (Ned Deily) Date: Tue, 23 Oct 2012 20:56:19 -0700 Subject: [Baypiggies] Novice Programmer Asking For Assistance References: <0F4C37ED-07A7-4AB1-ABD0-1FE6F6791C39@gmail.com> <03CAA432-5B22-4A6B-870D-050AFA1AF092@gmail.com> <0ED37AE7-94C3-41F2-8B4F-C23D99087FC0@glenjarvis.com> Message-ID: In article <0ED37AE7-94C3-41F2-8B4F-C23D99087FC0 at glenjarvis.com>, Glen Jarvis wrote: > I've had really good luck with MacPorts (I keep it clean and updated -- a > very good habit). > > But, what FUD does it get? I was going to say start by looking at the home page of the project but I see that it has apparently recently been changed. ATM, you can still get a feel for it by googlng; the cached title line is still there. > Also, I've never had a reason to use HomeBrew -- > what's its selling points? Others can probably do a better job than I but I think the main advertised advantages are that (1) Homebrew recipes are written in Ruby and originally were more light-weight than the older and more option-filled MacPorts port files (written in Tcl) and (2) Homebrew recipe writers are encouraged to use OS X-supplied libraries and other components whenever possible rather than supplying and building separate versions of them as happens more often with MacPorts ports. This is a major philosophical difference. Back in the early days of OS X before Homebrew existed, this was less of an option, as fewer third-party libraries were shipped in OS X and/or they tended to be more out-of-date. But even on the most recent OS X releases, there are still some libraries that do not get updated to current versions by Apple for various reasons: openssl and ncurses come to mind. And, as Homebrew has matured and more recipes added, it has had to resort to building more and more stuff. For instance, I believe it was the case that Homebrew originally relied on the Apple-supplied system Pythons but it now does provide its own Python recipe as MacPorts does. Because MacPorts usually tries to provide a more up-to-date and reproducible environment by supplying more of the underlying libraries and other build components, that has sometimes led to some ports taking a long time to install because of all of their dependencies, in a few cases going as far to build a whole new gcc as a dependency. There are usually good reasons for that: for instance, if the port requires gfortran support which is not included in the standard Apple compilers supplied with Xcode. However, with many ports there are ways to limit the dependencies if you really don't need all of the features of a port. That's accomplished by looking at the port description and selecting a different set of port variants, one of the less well-documented and -understood features of MacPorts. Also as more and more ports become available as pre-built binaries from the project this aspect of MacPorts should become more of a non-issue. > My macports are very clean and my /opt/local looks like a mini Linux file > system. Can I use a new path for HomeBrew and use them in conjunction (i.e. > is it relocatable)? What benefits would it give me over MacPorts? I believe Homebrew by default installs its ports to /usr/local. The MacPorts project specifically warns against having installed potential duplicates in /usr/local while installing MacPorts ports. The reason is that they know from long and bitter experience (MacPorts has been around in one form or another for over 10 years and, btw, the project is supported in a number of ways by Apple) that, despite their best efforts to detect and patch the third-party configure scripts and Makefiles for all the ports they support, many of them have hardcoded references to /usr/local and can end up linking with unexpected versions of libraries that may be the wrong version or built with different architectures or OS X deployment targets. If you are happy with MacPorts, I can think of no reason to migrate to Homebrew. And, likewise, if you are happy with Homebrew, then by all means stick with it. But it's not a good idea to mix them. And the advantages of one over the other are not as one-sided as some people seem to think. -- Ned Deily, nad at acm.org From glen at glenjarvis.com Wed Oct 24 06:05:45 2012 From: glen at glenjarvis.com (Glen Jarvis) Date: Tue, 23 Oct 2012 21:05:45 -0700 Subject: [Baypiggies] Novice Programmer Asking For Assistance In-Reply-To: References: <0F4C37ED-07A7-4AB1-ABD0-1FE6F6791C39@gmail.com> <03CAA432-5B22-4A6B-870D-050AFA1AF092@gmail.com> <0ED37AE7-94C3-41F2-8B4F-C23D99087FC0@glenjarvis.com> Message-ID: <1E15FD25-7FFF-4E21-9590-4B3B82AFFD60@glenjarvis.com> Good summary. Thanks! G On Oct 23, 2012, at 8:56 PM, Ned Deily wrote: > In article <0ED37AE7-94C3-41F2-8B4F-C23D99087FC0 at glenjarvis.com>, > Glen Jarvis wrote: >> I've had really good luck with MacPorts (I keep it clean and updated -- a >> very good habit). >> >> But, what FUD does it get? > > I was going to say start by looking at the home page of the project but > I see that it has apparently recently been changed. ATM, you can still > get a feel for it by googlng; the cached title line is still there. > >> Also, I've never had a reason to use HomeBrew -- >> what's its selling points? > > Others can probably do a better job than I but I think the main > advertised advantages are that (1) Homebrew recipes are written in Ruby > and originally were more light-weight than the older and more > option-filled MacPorts port files (written in Tcl) and (2) Homebrew > recipe writers are encouraged to use OS X-supplied libraries and other > components whenever possible rather than supplying and building separate > versions of them as happens more often with MacPorts ports. This is a > major philosophical difference. Back in the early days of OS X before > Homebrew existed, this was less of an option, as fewer third-party > libraries were shipped in OS X and/or they tended to be more > out-of-date. But even on the most recent OS X releases, there are still > some libraries that do not get updated to current versions by Apple for > various reasons: openssl and ncurses come to mind. And, as Homebrew has > matured and more recipes added, it has had to resort to building more > and more stuff. For instance, I believe it was the case that Homebrew > originally relied on the Apple-supplied system Pythons but it now does > provide its own Python recipe as MacPorts does. Because MacPorts > usually tries to provide a more up-to-date and reproducible environment > by supplying more of the underlying libraries and other build > components, that has sometimes led to some ports taking a long time to > install because of all of their dependencies, in a few cases going as > far to build a whole new gcc as a dependency. There are usually good > reasons for that: for instance, if the port requires gfortran support > which is not included in the standard Apple compilers supplied with > Xcode. However, with many ports there are ways to limit the > dependencies if you really don't need all of the features of a port. > That's accomplished by looking at the port description and selecting a > different set of port variants, one of the less well-documented and > -understood features of MacPorts. Also as more and more ports become > available as pre-built binaries from the project this aspect of MacPorts > should become more of a non-issue. > >> My macports are very clean and my /opt/local looks like a mini Linux file >> system. Can I use a new path for HomeBrew and use them in conjunction (i.e. >> is it relocatable)? What benefits would it give me over MacPorts? > > I believe Homebrew by default installs its ports to /usr/local. The > MacPorts project specifically warns against having installed potential > duplicates in /usr/local while installing MacPorts ports. The reason is > that they know from long and bitter experience (MacPorts has been around > in one form or another for over 10 years and, btw, the project is > supported in a number of ways by Apple) that, despite their best efforts > to detect and patch the third-party configure scripts and Makefiles for > all the ports they support, many of them have hardcoded references to > /usr/local and can end up linking with unexpected versions of libraries > that may be the wrong version or built with different architectures or > OS X deployment targets. > > If you are happy with MacPorts, I can think of no reason to migrate to > Homebrew. And, likewise, if you are happy with Homebrew, then by all > means stick with it. But it's not a good idea to mix them. And the > advantages of one over the other are not as one-sided as some people > seem to think. > > -- > Ned Deily, > nad at acm.org > > _______________________________________________ > Baypiggies mailing list > Baypiggies at python.org > To change your subscription options or unsubscribe: > http://mail.python.org/mailman/listinfo/baypiggies From jeffrey.fischer at genforma.com Mon Oct 22 22:04:28 2012 From: jeffrey.fischer at genforma.com (Jeffrey Fischer) Date: Mon, 22 Oct 2012 13:04:28 -0700 Subject: [Baypiggies] SF Meeting? In-Reply-To: References: Message-ID: On Mon, Oct 22, 2012 at 12:54 PM, Tony Cappellini wrote: > Given that we have had our current venue at Symantec for 3-4 (?) years > now, abandoning it > isn't necessarily a good idea unless we have overwhelming reason to do so. > I agree with this. Keeping our location consistent is nice and the Symantec facility is pretty good. > > 2. If spinoff groups want to form, they should do so as separate > entities. They should have their own website, > mailing list and speakers. However, we should cross post meeting > details to keep everyone informed. > > What about having different meetings under the same umbrella group? For example, "Baypiggies-South" would continue to meet at the same time and place. "Baypiggies-North" would meet in San Francisco or somewhere else further north on a different day. They would share the same mailing list and website. This would make it easy for people to keep up on the various meetings and foster cross-pollination between the subgroups. Thanks, Jeff -------------- next part -------------- An HTML attachment was scrubbed... URL: From meredith at mochipuff.net Wed Oct 24 07:53:00 2012 From: meredith at mochipuff.net (Meredith Prince) Date: Tue, 23 Oct 2012 22:53:00 -0700 Subject: [Baypiggies] SF Meeting? In-Reply-To: References: Message-ID: <693D09D8-6D81-4C5B-AF21-33B77E6D3C20@mochipuff.net> On Oct 22, 2012, at 1:04 PM, Jeffrey Fischer wrote: > What about having different meetings under the same umbrella group? For example, "Baypiggies-South" would continue to meet at the same time and place. "Baypiggies-North" would meet in San Francisco or somewhere else further north on a different day. They would share the same mailing list and website. This would make it easy for people to keep up on the various meetings and foster cross-pollination between the subgroups. +1 --Meredith From gracelaw at mac.com Fri Oct 26 01:42:39 2012 From: gracelaw at mac.com (Grace Law) Date: Thu, 25 Oct 2012 16:42:39 -0700 Subject: [Baypiggies] SF meetings Message-ID: Hi there As some of you know, i have been organizing the SF Python meet-up for a few years now but work has been super demanding and the meetup has taken a backseat the last few months. But I miss the python community and am in the process of making some changes so I can restart the meet-up, and do it in a way that is sustainable. Thanks to a few volunteers, I am happy to report that we are finalizing the details for a meet-up at Yelp on Nov 13 or 14. I recognize the day of the event is really close to your bay piggies meeting but after the holiday seasons, you will find that the meeting dates are spaced further apart. Among other things, we are also working on opening the mailing list up for tech discussions following the meet-ups. If you'd like more info on how you can help, or if you have suggestions for SFpython Meetup, please email me at gracelaw at mac.com Thanks so much and I hope to meet you in person one day! Grace PS. Thanks to Wes for pointing me to this thread :-) -------------- next part -------------- An HTML attachment was scrubbed... URL: From glen at glenjarvis.com Fri Oct 26 19:58:07 2012 From: glen at glenjarvis.com (Glen Jarvis) Date: Fri, 26 Oct 2012 10:58:07 -0700 Subject: [Baypiggies] Don't be scared! :) Message-ID: (Although the subject of this email is absolutely horrible at summarizing the content that the email will contain; I was cute... And, hopefully got attention :) How similar are JavaScript and Java? Mostly just by name - they're completely different technologies and JavaScript was renamed to be JavaScript because Java was hot and it was marketing hype. I still get recruiters who search on "Java", get a hit against "JavaScript" on my resume, and think I'm a perfect fit for the job (and I can't convince them otherwise... argh). In the like vein, how similar are Tornado and Twisted? Not the same thing. A year or so ago, I was so scared of Tornado. I remember trying to review a talk of Tornado, Twisted, gevent, greenlets, etc. and it was overwhelming. I had no idea on any of it because it was all jumped in my mind... I started learning Tornado about a month or so ago. I read this book (free online via sfpl.org library if you're a member): Introduction to Tornado (Michael Dory, Adam Parrish, and Brenden Berg). It was a pretty good introduction. Then, I put tornado to rest for about a month -- I didn't need it immediately. But, what I've learned up to this point is that its actually quite easy. It's more like a Django framework with some different architectural decisions for long polling, less built-in functionality, and a very clean code base. Today, I began reviewing this video (don't let the title scare you -- just watch the first 30 minutes for a perfect clean over view -- Mongo isn't even mentioned until the end): http://www.10gen.com/presentations/webinar/Asynchronous-MongoDB-with-Python-and-Tornado I have to tell you, this is all much easier than it first seemed. If you were scared like me because twisted "twists your mind" and you think "twisted" and "tornado" are similar references to this stuff and thus tornado must "twist your mind too." Oh no. Not the same at all.... Venture out. Take a poke at the book and video mentioned above. I think you'll find it's actually quite easy and fun! Cheers, Glen -- "Pursue, keep up with, circle round and round your life as a dog does his master's chase. Do what you love. Know your own bone; gnaw at it, bury it, unearth it, and gnaw it still." --Henry David Thoreau -------------- next part -------------- An HTML attachment was scrubbed... URL: From tungwaiyip at yahoo.com Fri Oct 26 20:07:32 2012 From: tungwaiyip at yahoo.com (Wai Yip Tung) Date: Fri, 26 Oct 2012 11:07:32 -0700 Subject: [Baypiggies] Don't be scared! :) In-Reply-To: References: Message-ID: <508AD164.4050306@yahoo.com> Very nice analog. I haven't paid any attention to Tornado so far. Frankly it is partly because I have mixed up Twisted with Tornado. Nice to know there is a worthy non-blocking web server to consider. Wai Yip > Glen Jarvis > Friday, October 26, 2012 10:58 AM > (Although the subject of this email is absolutely horrible at > summarizing the content that the email will contain; I was cute... > And, hopefully got attention :) > > How similar are JavaScript and Java? Mostly just by name - they're > completely different technologies and JavaScript was renamed to be > JavaScript because Java was hot and it was marketing hype. I still get > recruiters who search on "Java", get a hit against "JavaScript" on my > resume, and think I'm a perfect fit for the job (and I can't convince > them otherwise... argh). > > In the like vein, how similar are Tornado and Twisted? Not the same thing. > > A year or so ago, I was so scared of Tornado. I remember trying to > review a talk of Tornado, Twisted, gevent, greenlets, etc. and it was > overwhelming. I had no idea on any of it because it was all jumped in > my mind... > > I started learning Tornado about a month or so ago. I read this book > (free online via sfpl.org library if you're a > member): Introduction to Tornado (Michael Dory, Adam Parrish, and > Brenden Berg). It was a pretty good introduction. > > Then, I put tornado to rest for about a month -- I didn't need it > immediately. But, what I've learned up to this point is that its > actually quite easy. It's more like a Django framework with some > different architectural decisions for long polling, less built-in > functionality, and a very clean code base. > > Today, I began reviewing this video (don't let the title scare you -- > just watch the first 30 minutes for a perfect clean over view -- Mongo > isn't even mentioned until the end): > > http://www.10gen.com/presentations/webinar/Asynchronous-MongoDB-with-Python-and-Tornado > > I have to tell you, this is all much easier than it first seemed. If > you were scared like me because twisted "twists your mind" and you > think "twisted" and "tornado" are similar references to this stuff and > thus tornado must "twist your mind too." Oh no. Not the same at all.... > > Venture out. Take a poke at the book and video mentioned above. I > think you'll find it's actually quite easy and fun! > > Cheers, > > > Glen > -- > > "Pursue, keep up with, circle round and round your life as a dog does > his master's chase. Do what you love. Know your own bone; gnaw at it, > bury it, unearth it, and gnaw it still." > > --Henry David Thoreau > > > _______________________________________________ > Baypiggies mailing list > Baypiggies at python.org > To change your subscription options or unsubscribe: > http://mail.python.org/mailman/listinfo/baypiggies -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: postbox-contact.jpg Type: image/jpeg Size: 1167 bytes Desc: not available URL: From janssen at parc.com Fri Oct 26 20:24:14 2012 From: janssen at parc.com (Bill Janssen) Date: Fri, 26 Oct 2012 11:24:14 -0700 Subject: [Baypiggies] Don't be scared! :) In-Reply-To: References: Message-ID: <4294.1351275854@parc.com> Let me second this -- Tornado is great. Easy to use, easy to understand. And the code is fun to read, very nicely written. It's not Twisted at all. Bill Glen Jarvis wrote: > (Although the subject of this email is absolutely horrible at summarizing > the content that the email will contain; I was cute... And, hopefully got > attention :) > > How similar are JavaScript and Java? Mostly just by name - they're > completely different technologies and JavaScript was renamed to be > JavaScript because Java was hot and it was marketing hype. I still get > recruiters who search on "Java", get a hit against "JavaScript" on my > resume, and think I'm a perfect fit for the job (and I can't convince them > otherwise... argh). > > In the like vein, how similar are Tornado and Twisted? Not the same thing. > > A year or so ago, I was so scared of Tornado. I remember trying to review a > talk of Tornado, Twisted, gevent, greenlets, etc. and it was overwhelming. > I had no idea on any of it because it was all jumped in my mind... > > I started learning Tornado about a month or so ago. I read this book (free > online via sfpl.org library if you're a member): Introduction to Tornado > (Michael Dory, Adam Parrish, and Brenden Berg). It was a pretty good > introduction. > > Then, I put tornado to rest for about a month -- I didn't need it > immediately. But, what I've learned up to this point is that its actually > quite easy. It's more like a Django framework with some > different architectural decisions for long polling, less built-in > functionality, and a very clean code base. > > Today, I began reviewing this video (don't let the title scare you -- just > watch the first 30 minutes for a perfect clean over view -- Mongo isn't > even mentioned until the end): > > http://www.10gen.com/presentations/webinar/Asynchronous-MongoDB-with-Python-and-Tornado > > I have to tell you, this is all much easier than it first seemed. If you > were scared like me because twisted "twists your mind" and you think > "twisted" and "tornado" are similar references to this stuff and thus > tornado must "twist your mind too." Oh no. Not the same at all.... > > Venture out. Take a poke at the book and video mentioned above. I think > you'll find it's actually quite easy and fun! > > Cheers, > > > Glen > -- > > "Pursue, keep up with, circle round and round your life as a dog does his > master's chase. Do what you love. Know your own bone; gnaw at it, bury it, > unearth it, and gnaw it still." > > --Henry David Thoreau > _______________________________________________ > Baypiggies mailing list > Baypiggies at python.org > To change your subscription options or unsubscribe: > http://mail.python.org/mailman/listinfo/baypiggies From kenobi at gmail.com Fri Oct 26 21:49:19 2012 From: kenobi at gmail.com (Rick Kwan) Date: Fri, 26 Oct 2012 12:49:19 -0700 Subject: [Baypiggies] Python3 on embedded Linux Message-ID: Does anyone know what is the state of Python 3 port to embedded Linux, e.g., Angstorm or Yocto, etc. Are there Bitbake and patch files somewhere for building it? --Rick Kwan From msabramo at gmail.com Fri Oct 26 23:30:15 2012 From: msabramo at gmail.com (Marc Abramowitz) Date: Fri, 26 Oct 2012 14:30:15 -0700 Subject: [Baypiggies] Don't be scared! :) In-Reply-To: <4294.1351275854@parc.com> References: <4294.1351275854@parc.com> Message-ID: On Fri, Oct 26, 2012 at 11:24 AM, Bill Janssen wrote: > Let me second this -- Tornado is great. Easy to use, easy to > understand. And the code is fun to read, very nicely written. > It's not Twisted at all. > I'll third it. I used Tornado a few years ago for a small skunkworks project and it was easy to pick up with almost no Twisted experience. Heck, it's probably even easier now because it's been a few years and the documentation might've improved. The async/callback part of course draws comparison to Twisted, but Twisted is much more general and ambitious in that it tries to cover all networking protocols from Web to SSH to SMTP, etc., etc. (and the Web stuff in Twisted was the hardest for me to grok for some reason). Tornado is really focused on HTTP and web pages so Django is not a bad comparison and perhaps an even better comparison is something like Flask since Django is more full-stack, has an ORM, etc. -------------- next part -------------- An HTML attachment was scrubbed... URL: From msabramo at gmail.com Fri Oct 26 23:32:10 2012 From: msabramo at gmail.com (Marc Abramowitz) Date: Fri, 26 Oct 2012 14:32:10 -0700 Subject: [Baypiggies] Notes for last night's Moin Moin talk? Message-ID: Did anyone take notes on last night's meeting? It sounded interesting from some of the tweets. -------------- next part -------------- An HTML attachment was scrubbed... URL: From tw-public at gmx.de Sun Oct 28 15:43:04 2012 From: tw-public at gmx.de (Thomas Waldmann) Date: Sun, 28 Oct 2012 07:43:04 -0700 Subject: [Baypiggies] Notes for last night's Moin Moin talk? In-Reply-To: References: Message-ID: <1351435384.12103.1.camel@x300.localdomain> Hi Marc, > Did anyone take notes on last night's meeting? It sounded interesting > from some of the tweets. No notes (from me), but there are the slides: http://moinmo.in/MoinMoinTalks/BayPiggies-2012-10-25 There are some more infos about moin2: http://moinmo.in/MoinMoin2.0 We also have an IRC channel, see: http://moinmo.in/MoinMoinChat Cheers, Thomas From sharma.shubhra07 at gmail.com Sun Oct 28 21:54:56 2012 From: sharma.shubhra07 at gmail.com (Shubhra Sharma) Date: Sun, 28 Oct 2012 13:54:56 -0700 Subject: [Baypiggies] Need help root causing exception http.client.BadStatusLine Message-ID: Hi All, I am encountering http.client.BadStatusLine exception when I run my python scripts on CentOS6.32 but things seem to work fine on MAC OSX10.7.5 and 10.8. I'm on Python3.2.3. I searched for answers on the internet and looked at the python documentation as well without much luck. As per the documentation if a server responds with a HTTP status code that we don?t understand this error is raised. The server is a Tomcat server. Any ideas on how to debug this will be greatly appreciated. Here's a snippet of the error: response = conn.getresponse() python3.2/http/client.py", line 1049, in getresponse response.begin() python3.2/http/client.py", line 346, in begin version, status, reason = self._read_status() python3.2/http/client.py", line 328, in _read_status raise BadStatusLine(line) http.client.BadStatusLine: Thanks a lot for all your help. Shubhra -------------- next part -------------- An HTML attachment was scrubbed... URL: From aahz at pythoncraft.com Sun Oct 28 22:06:27 2012 From: aahz at pythoncraft.com (Aahz) Date: Sun, 28 Oct 2012 14:06:27 -0700 Subject: [Baypiggies] Need help root causing exception http.client.BadStatusLine In-Reply-To: References: Message-ID: <20121028210627.GA7580@panix.com> On Sun, Oct 28, 2012, Shubhra Sharma wrote: > > I am encountering http.client.BadStatusLine exception when I run my python > scripts on CentOS6.32 but things seem to work fine on MAC OSX10.7.5 and > 10.8. I'm on Python3.2.3. > > I searched for answers on the internet and looked at the python > documentation as well without much luck. As per the documentation if a > server responds with a HTTP status code that we don?t understand this error > is raised. The server is a Tomcat server. Any ideas on how to debug this > will be greatly appreciated. > > Here's a snippet of the error: > response = conn.getresponse() > python3.2/http/client.py", line 1049, in getresponse > response.begin() > python3.2/http/client.py", line 346, in begin > version, status, reason = self._read_status() > python3.2/http/client.py", line 328, in _read_status > raise BadStatusLine(line) > http.client.BadStatusLine: I've seen various causes for this, but I'd start by making sure that you're not sending an Expect: header and doing HTTP/1.0 connection. -- Aahz (aahz at pythoncraft.com) <*> http://www.pythoncraft.com/ "We've just found a line in a perl script that invokes a shell script to call a lisp program which invokes the very-same perl script." --anonymous From sharma.shubhra07 at gmail.com Mon Oct 29 00:00:40 2012 From: sharma.shubhra07 at gmail.com (Shubhra Sharma) Date: Sun, 28 Oct 2012 16:00:40 -0700 Subject: [Baypiggies] Need help root causing exception http.client.BadStatusLine In-Reply-To: <20121028210627.GA7580@panix.com> References: <20121028210627.GA7580@panix.com> Message-ID: Hi Aahz, Thanks for responding. I'm not sending an Expect Header and I'm using Apache-Coyote/1.1 Thanks, Shubhra On Sun, Oct 28, 2012 at 2:06 PM, Aahz wrote: > On Sun, Oct 28, 2012, Shubhra Sharma wrote: > > > > I am encountering http.client.BadStatusLine exception when I run my > python > > scripts on CentOS6.32 but things seem to work fine on MAC OSX10.7.5 and > > 10.8. I'm on Python3.2.3. > > > > I searched for answers on the internet and looked at the python > > documentation as well without much luck. As per the documentation if a > > server responds with a HTTP status code that we don?t understand this > error > > is raised. The server is a Tomcat server. Any ideas on how to debug this > > will be greatly appreciated. > > > > Here's a snippet of the error: > > response = conn.getresponse() > > python3.2/http/client.py", line 1049, in getresponse > > response.begin() > > python3.2/http/client.py", line 346, in begin > > version, status, reason = self._read_status() > > python3.2/http/client.py", line 328, in _read_status > > raise BadStatusLine(line) > > http.client.BadStatusLine: > > I've seen various causes for this, but I'd start by making sure that > you're not sending an Expect: header and doing HTTP/1.0 connection. > -- > Aahz (aahz at pythoncraft.com) <*> > http://www.pythoncraft.com/ > > "We've just found a line in a perl script that invokes a shell script to > call > a lisp program which invokes the very-same perl script." --anonymous > _______________________________________________ > Baypiggies mailing list > Baypiggies at python.org > To change your subscription options or unsubscribe: > http://mail.python.org/mailman/listinfo/baypiggies > -------------- next part -------------- An HTML attachment was scrubbed... URL: From guido at python.org Mon Oct 29 01:28:59 2012 From: guido at python.org (Guido van Rossum) Date: Sun, 28 Oct 2012 17:28:59 -0700 Subject: [Baypiggies] Need help root causing exception http.client.BadStatusLine In-Reply-To: References: <20121028210627.GA7580@panix.com> Message-ID: That particular line where this is raised means the server closed the connection without sending any response at all. Check your server logs? On Sun, Oct 28, 2012 at 4:00 PM, Shubhra Sharma wrote: > Hi Aahz, > > Thanks for responding. I'm not sending an Expect Header and I'm using > Apache-Coyote/1.1 > > Thanks, > Shubhra > > > On Sun, Oct 28, 2012 at 2:06 PM, Aahz wrote: >> >> On Sun, Oct 28, 2012, Shubhra Sharma wrote: >> > >> > I am encountering http.client.BadStatusLine exception when I run my >> > python >> > scripts on CentOS6.32 but things seem to work fine on MAC OSX10.7.5 and >> > 10.8. I'm on Python3.2.3. >> > >> > I searched for answers on the internet and looked at the python >> > documentation as well without much luck. As per the documentation if a >> > server responds with a HTTP status code that we don?t understand this >> > error >> > is raised. The server is a Tomcat server. Any ideas on how to debug this >> > will be greatly appreciated. >> > >> > Here's a snippet of the error: >> > response = conn.getresponse() >> > python3.2/http/client.py", line 1049, in getresponse >> > response.begin() >> > python3.2/http/client.py", line 346, in begin >> > version, status, reason = self._read_status() >> > python3.2/http/client.py", line 328, in _read_status >> > raise BadStatusLine(line) >> > http.client.BadStatusLine: >> >> I've seen various causes for this, but I'd start by making sure that >> you're not sending an Expect: header and doing HTTP/1.0 connection. >> -- >> Aahz (aahz at pythoncraft.com) <*> >> http://www.pythoncraft.com/ >> >> "We've just found a line in a perl script that invokes a shell script to >> call >> a lisp program which invokes the very-same perl script." --anonymous >> _______________________________________________ >> Baypiggies mailing list >> Baypiggies at python.org >> To change your subscription options or unsubscribe: >> http://mail.python.org/mailman/listinfo/baypiggies > > > > _______________________________________________ > Baypiggies mailing list > Baypiggies at python.org > To change your subscription options or unsubscribe: > http://mail.python.org/mailman/listinfo/baypiggies -- --Guido van Rossum (python.org/~guido) From sharma.shubhra07 at gmail.com Mon Oct 29 02:37:10 2012 From: sharma.shubhra07 at gmail.com (Shubhra Sharma) Date: Sun, 28 Oct 2012 18:37:10 -0700 Subject: [Baypiggies] Need help root causing exception http.client.BadStatusLine In-Reply-To: References: <20121028210627.GA7580@panix.com> Message-ID: Hi Guido, Thanks for responding.I will check the catalina logs to see what happened. When tomcat is not running on my setup I see the following error: File "/opt/local/Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2/site-packages/httplib2/__init__.py", line 1207, in request (response, content) = self._request(conn, authority, uri, request_uri, method, body, headers, redirections, cachekey) File "/opt/local/Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2/site-packages/httplib2/__init__.py", line 961, in _request (response, content) = self._conn_request(conn, request_uri, method, body, headers) File "/opt/local/Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2/site-packages/httplib2/__init__.py", line 898, in _conn_request conn.connect() File "/opt/local/Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2/http/client.py", line 724, in connect self.timeout, self.source_address) File "/opt/local/Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2/socket.py", line 404, in create_connection raise err File "/opt/local/Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2/socket.py", line 395, in create_connection sock.connect(sa) socket.error: [Errno 61] Connection refused I did not see the BadStatusLine exception in my unittesting. Is there anything I can do to catch this exception, the try catch around the http request did not catch it? I am using httplib2 if that helps Thanks, Shubhra On Sun, Oct 28, 2012 at 5:28 PM, Guido van Rossum wrote: > That particular line where this is raised means the server closed the > connection without sending any response at all. Check your server > logs? > > On Sun, Oct 28, 2012 at 4:00 PM, Shubhra Sharma > wrote: > > Hi Aahz, > > > > Thanks for responding. I'm not sending an Expect Header and I'm using > > Apache-Coyote/1.1 > > > > Thanks, > > Shubhra > > > > > > On Sun, Oct 28, 2012 at 2:06 PM, Aahz wrote: > >> > >> On Sun, Oct 28, 2012, Shubhra Sharma wrote: > >> > > >> > I am encountering http.client.BadStatusLine exception when I run my > >> > python > >> > scripts on CentOS6.32 but things seem to work fine on MAC OSX10.7.5 > and > >> > 10.8. I'm on Python3.2.3. > >> > > >> > I searched for answers on the internet and looked at the python > >> > documentation as well without much luck. As per the documentation if > a > >> > server responds with a HTTP status code that we don?t understand this > >> > error > >> > is raised. The server is a Tomcat server. Any ideas on how to debug > this > >> > will be greatly appreciated. > >> > > >> > Here's a snippet of the error: > >> > response = conn.getresponse() > >> > python3.2/http/client.py", line 1049, in getresponse > >> > response.begin() > >> > python3.2/http/client.py", line 346, in begin > >> > version, status, reason = self._read_status() > >> > python3.2/http/client.py", line 328, in _read_status > >> > raise BadStatusLine(line) > >> > http.client.BadStatusLine: > >> > >> I've seen various causes for this, but I'd start by making sure that > >> you're not sending an Expect: header and doing HTTP/1.0 connection. > >> -- > >> Aahz (aahz at pythoncraft.com) <*> > >> http://www.pythoncraft.com/ > >> > >> "We've just found a line in a perl script that invokes a shell script to > >> call > >> a lisp program which invokes the very-same perl script." --anonymous > >> _______________________________________________ > >> Baypiggies mailing list > >> Baypiggies at python.org > >> To change your subscription options or unsubscribe: > >> http://mail.python.org/mailman/listinfo/baypiggies > > > > > > > > _______________________________________________ > > Baypiggies mailing list > > Baypiggies at python.org > > To change your subscription options or unsubscribe: > > http://mail.python.org/mailman/listinfo/baypiggies > > > > -- > --Guido van Rossum (python.org/~guido) > -------------- next part -------------- An HTML attachment was scrubbed... URL: From aahz at pythoncraft.com Mon Oct 29 02:44:38 2012 From: aahz at pythoncraft.com (Aahz) Date: Sun, 28 Oct 2012 18:44:38 -0700 Subject: [Baypiggies] Need help root causing exception http.client.BadStatusLine In-Reply-To: References: <20121028210627.GA7580@panix.com> Message-ID: <20121029014438.GA16862@panix.com> On Sun, Oct 28, 2012, Shubhra Sharma wrote: > > Thanks for responding. I'm not sending an Expect Header and I'm using > Apache-Coyote/1.1 You missed my point -- I'm not talking about the server stack, I'm talking about the HTTP protocol version. HTTP/1.1 allows reusable connections, and I've seen some oddball errors that are fixed by switching to HTTP/1.0. Similarly, if you're doing a POST, check to see whether your client library is setting Expect: 100-continue (libcurl/pycurl has that problem in some versions -- you may need to log full headers server-side to diagnose.) Finally, is there any proxy between Tomcat and the incoming socket? -- Aahz (aahz at pythoncraft.com) <*> http://www.pythoncraft.com/ "We've just found a line in a perl script that invokes a shell script to call a lisp program which invokes the very-same perl script." --anonymous From ams.fwd at gmail.com Mon Oct 29 03:09:07 2012 From: ams.fwd at gmail.com (AM) Date: Sun, 28 Oct 2012 19:09:07 -0700 Subject: [Baypiggies] Need help root causing exception http.client.BadStatusLine In-Reply-To: References: <20121028210627.GA7580@panix.com> Message-ID: <508DE543.40505@gmail.com> I think what Guido meant was that the server was alive but did not respond with anything, instead closing the connection. Assuming you are running on linux or OSX a quick way to check it is to use the netcat tool in a terminal: nc -l -p 8080 Then have your client connect to localhost:8080/... In the terminal you should see the request. Ctrl-C netcat and you should (afaik) see the BadStatusLine error. What that would mean is that somewhere tomcat decided to simply close the connection before any response was sent out. HTH AM On 10/28/2012 06:37 PM, Shubhra Sharma wrote: > Hi Guido, > > Thanks for responding.I will check the catalina logs to see what > happened. > > When tomcat is not running on my setup I see the following error: > > File > "/opt/local/Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2/site-packages/httplib2/__init__.py", > line 1207, in request > (response, content) = self._request(conn, authority, uri, > request_uri, method, body, headers, redirections, cachekey) > File > "/opt/local/Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2/site-packages/httplib2/__init__.py", > line 961, in _request > (response, content) = self._conn_request(conn, request_uri, > method, body, headers) > File > "/opt/local/Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2/site-packages/httplib2/__init__.py", > line 898, in _conn_request > conn.connect() > File > "/opt/local/Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2/http/client.py", > line 724, in connect > self.timeout, self.source_address) > File > "/opt/local/Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2/socket.py", > line 404, in create_connection > raise err > File > "/opt/local/Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2/socket.py", > line 395, in create_connection > sock.connect(sa) > socket.error: [Errno 61] Connection refused > > I did not see the BadStatusLine exception in my unittesting. Is there > anything I can do to catch this exception, the try catch around the > http request did not catch it? I am using httplib2 if that helps > Thanks, > Shubhra > > On Sun, Oct 28, 2012 at 5:28 PM, Guido van Rossum > wrote: > > That particular line where this is raised means the server closed the > connection without sending any response at all. Check your server > logs? > > On Sun, Oct 28, 2012 at 4:00 PM, Shubhra Sharma > > > wrote: > > Hi Aahz, > > > > Thanks for responding. I'm not sending an Expect Header and I'm > using > > Apache-Coyote/1.1 > > > > Thanks, > > Shubhra > > > > > > On Sun, Oct 28, 2012 at 2:06 PM, Aahz > wrote: > >> > >> On Sun, Oct 28, 2012, Shubhra Sharma wrote: > >> > > >> > I am encountering http.client.BadStatusLine exception when I > run my > >> > python > >> > scripts on CentOS6.32 but things seem to work fine on MAC > OSX10.7.5 and > >> > 10.8. I'm on Python3.2.3. > >> > > >> > I searched for answers on the internet and looked at the python > >> > documentation as well without much luck. As per the > documentation if a > >> > server responds with a HTTP status code that we don?t > understand this > >> > error > >> > is raised. The server is a Tomcat server. Any ideas on how to > debug this > >> > will be greatly appreciated. > >> > > >> > Here's a snippet of the error: > >> > response = conn.getresponse() > >> > python3.2/http/client.py", line 1049, in getresponse > >> > response.begin() > >> > python3.2/http/client.py", line 346, in begin > >> > version, status, reason = self._read_status() > >> > python3.2/http/client.py", line 328, in _read_status > >> > raise BadStatusLine(line) > >> > http.client.BadStatusLine: > >> > >> I've seen various causes for this, but I'd start by making sure > that > >> you're not sending an Expect: header and doing HTTP/1.0 connection. > >> -- > >> Aahz (aahz at pythoncraft.com ) > <*> > >> http://www.pythoncraft.com/ > >> > >> "We've just found a line in a perl script that invokes a shell > script to > >> call > >> a lisp program which invokes the very-same perl script." > --anonymous > >> _______________________________________________ > >> Baypiggies mailing list > >> Baypiggies at python.org > >> To change your subscription options or unsubscribe: > >> http://mail.python.org/mailman/listinfo/baypiggies > > > > > > > > _______________________________________________ > > Baypiggies mailing list > > Baypiggies at python.org > > To change your subscription options or unsubscribe: > > http://mail.python.org/mailman/listinfo/baypiggies > > > > -- > --Guido van Rossum (python.org/~guido ) > > > > > _______________________________________________ > Baypiggies mailing list > Baypiggies at python.org > To change your subscription options or unsubscribe: > http://mail.python.org/mailman/listinfo/baypiggies From sharma.shubhra07 at gmail.com Mon Oct 29 03:36:34 2012 From: sharma.shubhra07 at gmail.com (Shubhra Sharma) Date: Sun, 28 Oct 2012 19:36:34 -0700 Subject: [Baypiggies] Need help root causing exception http.client.BadStatusLine In-Reply-To: <20121029014438.GA16862@panix.com> References: <20121028210627.GA7580@panix.com> <20121029014438.GA16862@panix.com> Message-ID: Sorry I missed your point. I'm using HTTP/1.1 here is the netcat response: ssharma$ nc -l localhost 8080 GET /xyz/api/states/syncingIds HTTP/1.1 Host: localhost:8080 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:16.0) Gecko/20100101 Firefox/16.0 Accept: */* Accept-Language: en-US,en;q=0.5 Accept-Encoding: gzip, deflate Connection: keep-alive X-Requested-With: XMLHttpRequest Referer: http://localhost:8080/xyz/ ==================== No proxies. Do I still need to worry about Expect:100-continue? On Sun, Oct 28, 2012 at 6:44 PM, Aahz wrote: > On Sun, Oct 28, 2012, Shubhra Sharma wrote: > > > > Thanks for responding. I'm not sending an Expect Header and I'm using > > Apache-Coyote/1.1 > > You missed my point -- I'm not talking about the server stack, I'm > talking about the HTTP protocol version. HTTP/1.1 allows reusable > connections, and I've seen some oddball errors that are fixed by > switching to HTTP/1.0. Similarly, if you're doing a POST, check to see > whether your client library is setting > > Expect: 100-continue > > (libcurl/pycurl has that problem in some versions -- you may need to log > full headers server-side to diagnose.) > > Finally, is there any proxy between Tomcat and the incoming socket? > -- > Aahz (aahz at pythoncraft.com) <*> > http://www.pythoncraft.com/ > > "We've just found a line in a perl script that invokes a shell script to > call > a lisp program which invokes the very-same perl script." --anonymous > _______________________________________________ > Baypiggies mailing list > Baypiggies at python.org > To change your subscription options or unsubscribe: > http://mail.python.org/mailman/listinfo/baypiggies > -------------- next part -------------- An HTML attachment was scrubbed... URL: From sharma.shubhra07 at gmail.com Mon Oct 29 04:17:52 2012 From: sharma.shubhra07 at gmail.com (Shubhra Sharma) Date: Sun, 28 Oct 2012 20:17:52 -0700 Subject: [Baypiggies] Need help root causing exception http.client.BadStatusLine In-Reply-To: <508DE543.40505@gmail.com> References: <20121028210627.GA7580@panix.com> <508DE543.40505@gmail.com> Message-ID: So nc -l localhost 8080 in one terminal tab and running my client in another tab. My client does several POST, PUT and some GETs. I did a Ctrl-C but didnot hit the Bad StatusLine on my OSX10.7.x. I never hit the Bad StatusLine on my OSX10.7.x. It occurs only on CentOS. Maybe I am missing something? Thanks for your help, Shubhra On Sun, Oct 28, 2012 at 7:09 PM, AM wrote: > I think what Guido meant was that the server was alive but did not respond > with anything, instead closing the connection. > > Assuming you are running on linux or OSX a quick way to check it is to use > the netcat tool in a terminal: > > nc -l -p 8080 > > Then have your client connect to localhost:8080/... > > In the terminal you should see the request. Ctrl-C netcat and you should > (afaik) see the BadStatusLine error. > > What that would mean is that somewhere tomcat decided to simply close the > connection before any response was sent out. > > HTH > AM > > > On 10/28/2012 06:37 PM, Shubhra Sharma wrote: > >> Hi Guido, >> >> Thanks for responding.I will check the catalina logs to see what happened. >> >> When tomcat is not running on my setup I see the following error: >> >> File "/opt/local/Library/**Frameworks/Python.framework/** >> Versions/3.2/lib/python3.2/**site-packages/httplib2/__init_**_.py", line >> 1207, in request >> (response, content) = self._request(conn, authority, uri, >> request_uri, method, body, headers, redirections, cachekey) >> File "/opt/local/Library/**Frameworks/Python.framework/** >> Versions/3.2/lib/python3.2/**site-packages/httplib2/__init_**_.py", line >> 961, in _request >> (response, content) = self._conn_request(conn, request_uri, method, >> body, headers) >> File "/opt/local/Library/**Frameworks/Python.framework/** >> Versions/3.2/lib/python3.2/**site-packages/httplib2/__init_**_.py", line >> 898, in _conn_request >> conn.connect() >> File "/opt/local/Library/**Frameworks/Python.framework/** >> Versions/3.2/lib/python3.2/**http/client.py", line 724, in connect >> self.timeout, self.source_address) >> File "/opt/local/Library/**Frameworks/Python.framework/** >> Versions/3.2/lib/python3.2/**socket.py", line 404, in create_connection >> raise err >> File "/opt/local/Library/**Frameworks/Python.framework/** >> Versions/3.2/lib/python3.2/**socket.py", line 395, in create_connection >> sock.connect(sa) >> socket.error: [Errno 61] Connection refused >> >> I did not see the BadStatusLine exception in my unittesting. Is there >> anything I can do to catch this exception, the try catch around the http >> request did not catch it? I am using httplib2 if that helps >> Thanks, >> Shubhra >> >> On Sun, Oct 28, 2012 at 5:28 PM, Guido van Rossum > guido at python.org>> wrote: >> >> That particular line where this is raised means the server closed the >> connection without sending any response at all. Check your server >> logs? >> >> On Sun, Oct 28, 2012 at 4:00 PM, Shubhra Sharma >> >> >> >> >> wrote: >> > Hi Aahz, >> > >> > Thanks for responding. I'm not sending an Expect Header and I'm >> using >> > Apache-Coyote/1.1 >> > >> > Thanks, >> > Shubhra >> > >> > >> > On Sun, Oct 28, 2012 at 2:06 PM, Aahz > > wrote: >> >> >> >> On Sun, Oct 28, 2012, Shubhra Sharma wrote: >> >> > >> >> > I am encountering http.client.BadStatusLine exception when I >> run my >> >> > python >> >> > scripts on CentOS6.32 but things seem to work fine on MAC >> OSX10.7.5 and >> >> > 10.8. I'm on Python3.2.3. >> >> > >> >> > I searched for answers on the internet and looked at the python >> >> > documentation as well without much luck. As per the >> documentation if a >> >> > server responds with a HTTP status code that we don?t >> understand this >> >> > error >> >> > is raised. The server is a Tomcat server. Any ideas on how to >> debug this >> >> > will be greatly appreciated. >> >> > >> >> > Here's a snippet of the error: >> >> > response = conn.getresponse() >> >> > python3.2/http/client.py", line 1049, in getresponse >> >> > response.begin() >> >> > python3.2/http/client.py", line 346, in begin >> >> > version, status, reason = self._read_status() >> >> > python3.2/http/client.py", line 328, in _read_status >> >> > raise BadStatusLine(line) >> >> > http.client.BadStatusLine: >> >> >> >> I've seen various causes for this, but I'd start by making sure >> that >> >> you're not sending an Expect: header and doing HTTP/1.0 connection. >> >> -- >> >> Aahz (aahz at pythoncraft.com ) >> <*> >> >> >> http://www.pythoncraft.com/ >> >> >> >> "We've just found a line in a perl script that invokes a shell >> script to >> >> call >> >> a lisp program which invokes the very-same perl script." >> --anonymous >> >> ______________________________**_________________ >> >> Baypiggies mailing list >> >> Baypiggies at python.org >> >> >> To change your subscription options or unsubscribe: >> >> http://mail.python.org/**mailman/listinfo/baypiggies >> > >> > >> > >> > ______________________________**_________________ >> > Baypiggies mailing list >> > Baypiggies at python.org >> >> > To change your subscription options or unsubscribe: >> > http://mail.python.org/**mailman/listinfo/baypiggies >> >> >> >> -- >> --Guido van Rossum (python.org/~guido ) >> >> >> >> >> >> ______________________________**_________________ >> Baypiggies mailing list >> Baypiggies at python.org >> To change your subscription options or unsubscribe: >> http://mail.python.org/**mailman/listinfo/baypiggies >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From ams.fwd at gmail.com Mon Oct 29 06:16:34 2012 From: ams.fwd at gmail.com (AM) Date: Sun, 28 Oct 2012 22:16:34 -0700 Subject: [Baypiggies] Need help root causing exception http.client.BadStatusLine In-Reply-To: References: <20121028210627.GA7580@panix.com> <508DE543.40505@gmail.com> Message-ID: <508E1132.6000701@gmail.com> Strange. On debian testing with python 2.7 with the following steps I get this output: 1. Start netcat, (note: OSX does now allow -p with -l) 2. Fire the request 3. ctrl-c netcat Can you reproduce that? netcat: ? nc -l -p 8080 GET /hello HTTP/1.1 Accept-Encoding: identity Host: localhost:8080 Connection: close User-Agent: Python-urllib/2.7 ^C Interpreter: ? python Python 2.7.3rc2 (default, Apr 22 2012, 22:30:17) [GCC 4.6.3] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> from urllib2 import urlopen >>> r = urlopen('http://localhost:8080/hello') Traceback (most recent call last): File "", line 1, in File "/usr/lib/python2.7/urllib2.py", line 126, in urlopen return _opener.open(url, data, timeout) File "/usr/lib/python2.7/urllib2.py", line 400, in open response = self._open(req, data) File "/usr/lib/python2.7/urllib2.py", line 418, in _open '_open', req) File "/usr/lib/python2.7/urllib2.py", line 378, in _call_chain result = func(*args) File "/usr/lib/python2.7/urllib2.py", line 1207, in http_open return self.do_open(httplib.HTTPConnection, req) File "/usr/lib/python2.7/urllib2.py", line 1180, in do_open r = h.getresponse(buffering=True) File "/usr/lib/python2.7/httplib.py", line 1030, in getresponse response.begin() File "/usr/lib/python2.7/httplib.py", line 407, in begin version, status, reason = self._read_status() File "/usr/lib/python2.7/httplib.py", line 371, in _read_status raise BadStatusLine(line) httplib.BadStatusLine: '' >>> On 10/28/2012 08:17 PM, Shubhra Sharma wrote: > So nc -l localhost 8080 in one terminal tab and running my client in > another tab. My client does several POST, PUT and some GETs. I did a > Ctrl-C but didnot hit the Bad StatusLine on my OSX10.7.x. I never hit > the Bad StatusLine on my OSX10.7.x. It occurs only on CentOS. Maybe I > am missing something? > > Thanks for your help, > Shubhra > > On Sun, Oct 28, 2012 at 7:09 PM, AM > wrote: > > I think what Guido meant was that the server was alive but did not > respond with anything, instead closing the connection. > > Assuming you are running on linux or OSX a quick way to check it > is to use the netcat tool in a terminal: > > nc -l -p 8080 > > Then have your client connect to localhost:8080/... > > In the terminal you should see the request. Ctrl-C netcat and you > should (afaik) see the BadStatusLine error. > > What that would mean is that somewhere tomcat decided to simply > close the connection before any response was sent out. > > HTH > AM > > > On 10/28/2012 06:37 PM, Shubhra Sharma wrote: > > Hi Guido, > > Thanks for responding.I will check the catalina logs to see > what happened. > > When tomcat is not running on my setup I see the following error: > > File > "/opt/local/Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2/site-packages/httplib2/__init__.py", > line 1207, in request > (response, content) = self._request(conn, authority, uri, > request_uri, method, body, headers, redirections, cachekey) > File > "/opt/local/Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2/site-packages/httplib2/__init__.py", > line 961, in _request > (response, content) = self._conn_request(conn, > request_uri, method, body, headers) > File > "/opt/local/Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2/site-packages/httplib2/__init__.py", > line 898, in _conn_request > conn.connect() > File > "/opt/local/Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2/http/client.py", > line 724, in connect > self.timeout, self.source_address) > File > "/opt/local/Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2/socket.py", > line 404, in create_connection > raise err > File > "/opt/local/Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2/socket.py", > line 395, in create_connection > sock.connect(sa) > socket.error: [Errno 61] Connection refused > > I did not see the BadStatusLine exception in my unittesting. > Is there anything I can do to catch this exception, the try > catch around the http request did not catch it? I am using > httplib2 if that helps > Thanks, > Shubhra > > On Sun, Oct 28, 2012 at 5:28 PM, Guido van Rossum > > >> wrote: > > That particular line where this is raised means the server > closed the > connection without sending any response at all. Check your > server > logs? > > On Sun, Oct 28, 2012 at 4:00 PM, Shubhra Sharma > > >> > > wrote: > > Hi Aahz, > > > > Thanks for responding. I'm not sending an Expect Header > and I'm > using > > Apache-Coyote/1.1 > > > > Thanks, > > Shubhra > > > > > > On Sun, Oct 28, 2012 at 2:06 PM, Aahz > > >> wrote: > >> > >> On Sun, Oct 28, 2012, Shubhra Sharma wrote: > >> > > >> > I am encountering http.client.BadStatusLine exception > when I > run my > >> > python > >> > scripts on CentOS6.32 but things seem to work fine on MAC > OSX10.7.5 and > >> > 10.8. I'm on Python3.2.3. > >> > > >> > I searched for answers on the internet and looked at > the python > >> > documentation as well without much luck. As per the > documentation if a > >> > server responds with a HTTP status code that we don?t > understand this > >> > error > >> > is raised. The server is a Tomcat server. Any ideas > on how to > debug this > >> > will be greatly appreciated. > >> > > >> > Here's a snippet of the error: > >> > response = conn.getresponse() > >> > python3.2/http/client.py", line 1049, in getresponse > >> > response.begin() > >> > python3.2/http/client.py", line 346, in begin > >> > version, status, reason = self._read_status() > >> > python3.2/http/client.py", line 328, in _read_status > >> > raise BadStatusLine(line) > >> > http.client.BadStatusLine: > >> > >> I've seen various causes for this, but I'd start by > making sure > that > >> you're not sending an Expect: header and doing HTTP/1.0 > connection. > >> -- > >> Aahz (aahz at pythoncraft.com > >) <*> > > >> http://www.pythoncraft.com/ > >> > >> "We've just found a line in a perl script that invokes > a shell > script to > >> call > >> a lisp program which invokes the very-same perl script." > --anonymous > >> _______________________________________________ > >> Baypiggies mailing list > >> Baypiggies at python.org > > > > >> To change your subscription options or unsubscribe: > >> http://mail.python.org/mailman/listinfo/baypiggies > > > > > > > > _______________________________________________ > > Baypiggies mailing list > > Baypiggies at python.org > > > > > To change your subscription options or unsubscribe: > > http://mail.python.org/mailman/listinfo/baypiggies > > > > -- > --Guido van Rossum (python.org/~guido > ) > > > > > > _______________________________________________ > Baypiggies mailing list > Baypiggies at python.org > To change your subscription options or unsubscribe: > http://mail.python.org/mailman/listinfo/baypiggies > > > From sharma.shubhra07 at gmail.com Mon Oct 29 06:22:57 2012 From: sharma.shubhra07 at gmail.com (Shubhra Sharma) Date: Sun, 28 Oct 2012 22:22:57 -0700 Subject: [Baypiggies] Need help root causing exception http.client.BadStatusLine In-Reply-To: <508E1132.6000701@gmail.com> References: <20121028210627.GA7580@panix.com> <508DE543.40505@gmail.com> <508E1132.6000701@gmail.com> Message-ID: nc -l -p 8080 doesnot work on my osx. ssharma-dev1:newscripts ssharma$ nc -l localhost 8080 GET /xyz/api/states/syncingIds HTTP/1.1 Host: localhost:8080 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:16.0) Gecko/20100101 Firefox/16.0 Accept: */* Accept-Language: en-US,en;q=0.5 Accept-Encoding: gzip, deflate Connection: keep-alive X-Requested-With: XMLHttpRequest Referer: http://localhost:8080/xyz/ ^C ssharma-dev1:newscripts ssharma$ nc -l localhost 8080 POST /ucx/api/nodes/ HTTP/1.1 Host: localhost:8080 Content-Length: 78 accept-encoding: gzip, deflate content-type: application/json; charset=UTF-8 accept: application/json user-agent: Python-httplib2/0.7.6 (gzip) {"parentId":1275,"name":"COMPANY-2012-10-28 19:57:24.507300","type":"COMPANY"}^C On Sun, Oct 28, 2012 at 10:16 PM, AM wrote: > Strange. On debian testing with python 2.7 with the following steps I get > this output: > > 1. Start netcat, (note: OSX does now allow -p with -l) > 2. Fire the request > 3. ctrl-c netcat > > Can you reproduce that? > > netcat: > ? nc -l -p 8080 > GET /hello HTTP/1.1 > Accept-Encoding: identity > Host: localhost:8080 > Connection: close > User-Agent: Python-urllib/2.7 > > ^C > > > Interpreter: > ? python > Python 2.7.3rc2 (default, Apr 22 2012, 22:30:17) > [GCC 4.6.3] on linux2 > Type "help", "copyright", "credits" or "license" for more information. > >>> from urllib2 import urlopen > >>> r = urlopen('http://localhost:**8080/hello > ') > Traceback (most recent call last): > File "", line 1, in > File "/usr/lib/python2.7/urllib2.**py", line 126, in urlopen > return _opener.open(url, data, timeout) > File "/usr/lib/python2.7/urllib2.**py", line 400, in open > response = self._open(req, data) > File "/usr/lib/python2.7/urllib2.**py", line 418, in _open > '_open', req) > File "/usr/lib/python2.7/urllib2.**py", line 378, in _call_chain > result = func(*args) > File "/usr/lib/python2.7/urllib2.**py", line 1207, in http_open > return self.do_open(httplib.**HTTPConnection, req) > File "/usr/lib/python2.7/urllib2.**py", line 1180, in do_open > r = h.getresponse(buffering=True) > File "/usr/lib/python2.7/httplib.**py", line 1030, in getresponse > response.begin() > File "/usr/lib/python2.7/httplib.**py", line 407, in begin > > version, status, reason = self._read_status() > File "/usr/lib/python2.7/httplib.**py", line 371, in _read_status > raise BadStatusLine(line) > httplib.BadStatusLine: '' > > >>> > > > On 10/28/2012 08:17 PM, Shubhra Sharma wrote: > >> So nc -l localhost 8080 in one terminal tab and running my client in >> another tab. My client does several POST, PUT and some GETs. I did a Ctrl-C >> but didnot hit the Bad StatusLine on my OSX10.7.x. I never hit the Bad >> StatusLine on my OSX10.7.x. It occurs only on CentOS. Maybe I am missing >> something? >> >> Thanks for your help, >> Shubhra >> >> On Sun, Oct 28, 2012 at 7:09 PM, AM > ams.fwd at gmail.com>> wrote: >> >> I think what Guido meant was that the server was alive but did not >> respond with anything, instead closing the connection. >> >> Assuming you are running on linux or OSX a quick way to check it >> is to use the netcat tool in a terminal: >> >> nc -l -p 8080 >> >> Then have your client connect to localhost:8080/... >> >> In the terminal you should see the request. Ctrl-C netcat and you >> should (afaik) see the BadStatusLine error. >> >> What that would mean is that somewhere tomcat decided to simply >> close the connection before any response was sent out. >> >> HTH >> AM >> >> >> On 10/28/2012 06:37 PM, Shubhra Sharma wrote: >> >> Hi Guido, >> >> Thanks for responding.I will check the catalina logs to see >> what happened. >> >> When tomcat is not running on my setup I see the following error: >> >> File >> "/opt/local/Library/**Frameworks/Python.framework/** >> Versions/3.2/lib/python3.2/**site-packages/httplib2/__init_**_.py", >> line 1207, in request >> (response, content) = self._request(conn, authority, uri, >> request_uri, method, body, headers, redirections, cachekey) >> File >> "/opt/local/Library/**Frameworks/Python.framework/** >> Versions/3.2/lib/python3.2/**site-packages/httplib2/__init_**_.py", >> line 961, in _request >> (response, content) = self._conn_request(conn, >> request_uri, method, body, headers) >> File >> "/opt/local/Library/**Frameworks/Python.framework/** >> Versions/3.2/lib/python3.2/**site-packages/httplib2/__init_**_.py", >> line 898, in _conn_request >> conn.connect() >> File >> "/opt/local/Library/**Frameworks/Python.framework/** >> Versions/3.2/lib/python3.2/**http/client.py", >> line 724, in connect >> self.timeout, self.source_address) >> File >> "/opt/local/Library/**Frameworks/Python.framework/** >> Versions/3.2/lib/python3.2/**socket.py", >> line 404, in create_connection >> raise err >> File >> "/opt/local/Library/**Frameworks/Python.framework/** >> Versions/3.2/lib/python3.2/**socket.py", >> line 395, in create_connection >> sock.connect(sa) >> socket.error: [Errno 61] Connection refused >> >> I did not see the BadStatusLine exception in my unittesting. >> Is there anything I can do to catch this exception, the try >> catch around the http request did not catch it? I am using >> httplib2 if that helps >> Thanks, >> Shubhra >> >> On Sun, Oct 28, 2012 at 5:28 PM, Guido van Rossum >> >> >> wrote: >> >> That particular line where this is raised means the server >> closed the >> connection without sending any response at all. Check your >> server >> logs? >> >> On Sun, Oct 28, 2012 at 4:00 PM, Shubhra Sharma >> > >> > >> >> >> >> >>> >> >> wrote: >> > Hi Aahz, >> > >> > Thanks for responding. I'm not sending an Expect Header >> and I'm >> using >> > Apache-Coyote/1.1 >> > >> > Thanks, >> > Shubhra >> > >> > >> > On Sun, Oct 28, 2012 at 2:06 PM, Aahz >> >> > >> >**> wrote: >> >> >> >> On Sun, Oct 28, 2012, Shubhra Sharma wrote: >> >> > >> >> > I am encountering http.client.BadStatusLine exception >> when I >> run my >> >> > python >> >> > scripts on CentOS6.32 but things seem to work fine on MAC >> OSX10.7.5 and >> >> > 10.8. I'm on Python3.2.3. >> >> > >> >> > I searched for answers on the internet and looked at >> the python >> >> > documentation as well without much luck. As per the >> documentation if a >> >> > server responds with a HTTP status code that we don?t >> understand this >> >> > error >> >> > is raised. The server is a Tomcat server. Any ideas >> on how to >> debug this >> >> > will be greatly appreciated. >> >> > >> >> > Here's a snippet of the error: >> >> > response = conn.getresponse() >> >> > python3.2/http/client.py", line 1049, in getresponse >> >> > response.begin() >> >> > python3.2/http/client.py", line 346, in begin >> >> > version, status, reason = self._read_status() >> >> > python3.2/http/client.py", line 328, in _read_status >> >> > raise BadStatusLine(line) >> >> > http.client.BadStatusLine: >> >> >> >> I've seen various causes for this, but I'd start by >> making sure >> that >> >> you're not sending an Expect: header and doing HTTP/1.0 >> connection. >> >> -- >> >> Aahz (aahz at pythoncraft.com >> > >> >**) <*> >> >> >> http://www.pythoncraft.com/ >> >> >> >> "We've just found a line in a perl script that invokes >> a shell >> script to >> >> call >> >> a lisp program which invokes the very-same perl script." >> --anonymous >> >> ______________________________**_________________ >> >> Baypiggies mailing list >> >> Baypiggies at python.org >> **> >> >> >> >> To change your subscription options or unsubscribe: >> >> http://mail.python.org/**mailman/listinfo/baypiggies >> > >> > >> > >> > ______________________________**_________________ >> > Baypiggies mailing list >> > Baypiggies at python.org >> **> >> >> >> > To change your subscription options or unsubscribe: >> > http://mail.python.org/**mailman/listinfo/baypiggies >> >> >> >> -- >> --Guido van Rossum (python.org/~guido >> ) >> >> >> >> >> >> ______________________________**_________________ >> Baypiggies mailing list >> >> Baypiggies at python.org >> To change your subscription options or unsubscribe: >> http://mail.python.org/**mailman/listinfo/baypiggies >> >> >> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From ams.fwd at gmail.com Mon Oct 29 06:34:25 2012 From: ams.fwd at gmail.com (AM) Date: Sun, 28 Oct 2012 22:34:25 -0700 Subject: [Baypiggies] Need help root causing exception http.client.BadStatusLine In-Reply-To: References: <20121028210627.GA7580@panix.com> <508DE543.40505@gmail.com> <508E1132.6000701@gmail.com> Message-ID: <508E1561.8020908@gmail.com> This is specific to python httplib, so using FF against nc wouldnt help. Keep in mind that what we are trying to do here is to simulate the behaviour of the tomcat server so that the python client raises a BadStatusLine error. Which means that netcat is the server and the client is the python code. So in the second nc that you pasted here, try ctrl-c-ing it before typing out the response just like you did with the first one and let us know what the python traceback says. AM On 10/28/2012 10:22 PM, Shubhra Sharma wrote: > nc -l -p 8080 doesnot work on my osx. > ssharma-dev1:newscripts ssharma$ nc -l localhost 8080 > GET /xyz/api/states/syncingIds HTTP/1.1 > Host: localhost:8080 > User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:16.0) > Gecko/20100101 Firefox/16.0 > Accept: */* > Accept-Language: en-US,en;q=0.5 > Accept-Encoding: gzip, deflate > Connection: keep-alive > X-Requested-With: XMLHttpRequest > Referer: http://localhost:8080/xyz/ > > ^C > ssharma-dev1:newscripts ssharma$ nc -l localhost 8080 > POST /ucx/api/nodes/ HTTP/1.1 > Host: localhost:8080 > Content-Length: 78 > accept-encoding: gzip, deflate > content-type: application/json; charset=UTF-8 > accept: application/json > user-agent: Python-httplib2/0.7.6 (gzip) > > {"parentId":1275,"name":"COMPANY-2012-10-28 > 19:57:24.507300","type":"COMPANY"}^C > > > > On Sun, Oct 28, 2012 at 10:16 PM, AM > wrote: > > Strange. On debian testing with python 2.7 with the following > steps I get this output: > > 1. Start netcat, (note: OSX does now allow -p with -l) > 2. Fire the request > 3. ctrl-c netcat > > Can you reproduce that? > > netcat: > ? nc -l -p 8080 > GET /hello HTTP/1.1 > Accept-Encoding: identity > Host: localhost:8080 > Connection: close > User-Agent: Python-urllib/2.7 > > ^C > > > Interpreter: > ? python > Python 2.7.3rc2 (default, Apr 22 2012, 22:30:17) > [GCC 4.6.3] on linux2 > Type "help", "copyright", "credits" or "license" for more information. > >>> from urllib2 import urlopen > >>> r = urlopen('http://localhost:8080/hello') > Traceback (most recent call last): > File "", line 1, in > File "/usr/lib/python2.7/urllib2.py", line 126, in urlopen > return _opener.open(url, data, timeout) > File "/usr/lib/python2.7/urllib2.py", line 400, in open > response = self._open(req, data) > File "/usr/lib/python2.7/urllib2.py", line 418, in _open > '_open', req) > File "/usr/lib/python2.7/urllib2.py", line 378, in _call_chain > result = func(*args) > File "/usr/lib/python2.7/urllib2.py", line 1207, in http_open > return self.do_open(httplib.HTTPConnection, req) > File "/usr/lib/python2.7/urllib2.py", line 1180, in do_open > r = h.getresponse(buffering=True) > File "/usr/lib/python2.7/httplib.py", line 1030, in getresponse > response.begin() > File "/usr/lib/python2.7/httplib.py", line 407, in begin > > version, status, reason = self._read_status() > File "/usr/lib/python2.7/httplib.py", line 371, in _read_status > raise BadStatusLine(line) > httplib.BadStatusLine: '' > > >>> > > > On 10/28/2012 08:17 PM, Shubhra Sharma wrote: > > So nc -l localhost 8080 in one terminal tab and running my > client in another tab. My client does several POST, PUT and > some GETs. I did a Ctrl-C but didnot hit the Bad StatusLine on > my OSX10.7.x. I never hit the Bad StatusLine on my OSX10.7.x. > It occurs only on CentOS. Maybe I am missing something? > > Thanks for your help, > Shubhra > > On Sun, Oct 28, 2012 at 7:09 PM, AM >> wrote: > > I think what Guido meant was that the server was alive but > did not > respond with anything, instead closing the connection. > > Assuming you are running on linux or OSX a quick way to > check it > is to use the netcat tool in a terminal: > > nc -l -p 8080 > > Then have your client connect to localhost:8080/... > > In the terminal you should see the request. Ctrl-C netcat > and you > should (afaik) see the BadStatusLine error. > > What that would mean is that somewhere tomcat decided to > simply > close the connection before any response was sent out. > > HTH > AM > > > On 10/28/2012 06:37 PM, Shubhra Sharma wrote: > > Hi Guido, > > Thanks for responding.I will check the catalina logs > to see > what happened. > > When tomcat is not running on my setup I see the > following error: > > File > > "/opt/local/Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2/site-packages/httplib2/__init__.py", > line 1207, in request > (response, content) = self._request(conn, > authority, uri, > request_uri, method, body, headers, redirections, > cachekey) > File > > "/opt/local/Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2/site-packages/httplib2/__init__.py", > line 961, in _request > (response, content) = self._conn_request(conn, > request_uri, method, body, headers) > File > > "/opt/local/Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2/site-packages/httplib2/__init__.py", > line 898, in _conn_request > conn.connect() > File > > "/opt/local/Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2/http/client.py", > line 724, in connect > self.timeout, self.source_address) > File > > "/opt/local/Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2/socket.py", > line 404, in create_connection > raise err > File > > "/opt/local/Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2/socket.py", > line 395, in create_connection > sock.connect(sa) > socket.error: [Errno 61] Connection refused > > I did not see the BadStatusLine exception in my > unittesting. > Is there anything I can do to catch this exception, > the try > catch around the http request did not catch it? I am using > httplib2 if that helps > Thanks, > Shubhra > > On Sun, Oct 28, 2012 at 5:28 PM, Guido van Rossum > > > > > >>> wrote: > > That particular line where this is raised means > the server > closed the > connection without sending any response at all. > Check your > server > logs? > > On Sun, Oct 28, 2012 at 4:00 PM, Shubhra Sharma > > > > > > >>> > > wrote: > > Hi Aahz, > > > > Thanks for responding. I'm not sending an Expect > Header > and I'm > using > > Apache-Coyote/1.1 > > > > Thanks, > > Shubhra > > > > > > On Sun, Oct 28, 2012 at 2:06 PM, Aahz > > > > > > >>> wrote: > >> > >> On Sun, Oct 28, 2012, Shubhra Sharma wrote: > >> > > >> > I am encountering http.client.BadStatusLine > exception > when I > run my > >> > python > >> > scripts on CentOS6.32 but things seem to work > fine on MAC > OSX10.7.5 and > >> > 10.8. I'm on Python3.2.3. > >> > > >> > I searched for answers on the internet and > looked at > the python > >> > documentation as well without much luck. As > per the > documentation if a > >> > server responds with a HTTP status code that > we don?t > understand this > >> > error > >> > is raised. The server is a Tomcat server. Any > ideas > on how to > debug this > >> > will be greatly appreciated. > >> > > >> > Here's a snippet of the error: > >> > response = conn.getresponse() > >> > python3.2/http/client.py", line 1049, in > getresponse > >> > response.begin() > >> > python3.2/http/client.py", line 346, in begin > >> > version, status, reason = self._read_status() > >> > python3.2/http/client.py", line 328, in > _read_status > >> > raise BadStatusLine(line) > >> > http.client.BadStatusLine: > >> > >> I've seen various causes for this, but I'd start by > making sure > that > >> you're not sending an Expect: header and doing > HTTP/1.0 > connection. > >> -- > >> Aahz (aahz at pythoncraft.com > > > > > >>) <*> > > >> http://www.pythoncraft.com/ > >> > >> "We've just found a line in a perl script that > invokes > a shell > script to > >> call > >> a lisp program which invokes the very-same perl > script." > --anonymous > >> _______________________________________________ > >> Baypiggies mailing list > >> Baypiggies at python.org > > > >> > > > >> To change your subscription options or unsubscribe: > >> http://mail.python.org/mailman/listinfo/baypiggies > > > > > > > > _______________________________________________ > > Baypiggies mailing list > > Baypiggies at python.org > > > >> > > > > To change your subscription options or unsubscribe: > > http://mail.python.org/mailman/listinfo/baypiggies > > > > -- > --Guido van Rossum (python.org/~guido > > ) > > > > > > _______________________________________________ > Baypiggies mailing list > > Baypiggies at python.org > > > To change your subscription options or unsubscribe: > http://mail.python.org/mailman/listinfo/baypiggies > > > > > From aahz at pythoncraft.com Mon Oct 29 15:39:46 2012 From: aahz at pythoncraft.com (Aahz) Date: Mon, 29 Oct 2012 07:39:46 -0700 Subject: [Baypiggies] Need help root causing exception http.client.BadStatusLine In-Reply-To: References: <20121028210627.GA7580@panix.com> <20121029014438.GA16862@panix.com> Message-ID: <20121029143946.GA20308@panix.com> On Sun, Oct 28, 2012, Shubhra Sharma wrote: > > Sorry I missed your point. I'm using HTTP/1.1 here is the netcat response: > ssharma$ nc -l localhost 8080 > GET /xyz/api/states/syncingIds HTTP/1.1 > Host: localhost:8080 > User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:16.0) > Gecko/20100101 Firefox/16.0 > Accept: */* > Accept-Language: en-US,en;q=0.5 > Accept-Encoding: gzip, deflate > Connection: keep-alive > X-Requested-With: XMLHttpRequest > Referer: http://localhost:8080/xyz/ > ==================== > No proxies. Do I still need to worry about Expect:100-continue? Probably not. Try using HTTP/1.0, there may be a problem with Tomcat and the keep-alive. -- Aahz (aahz at pythoncraft.com) <*> http://www.pythoncraft.com/ "We've just found a line in a perl script that invokes a shell script to call a lisp program which invokes the very-same perl script." --anonymous From max at theslimmers.net Mon Oct 29 17:26:31 2012 From: max at theslimmers.net (Max Slimmer) Date: Mon, 29 Oct 2012 09:26:31 -0700 Subject: [Baypiggies] Baypiggies Digest, Vol 84, Issue 29 In-Reply-To: References: Message-ID: For all it's worth I see this error from time to time. I have some code that does screen scraping against ADP (payroll) servers, and it sometimes is a fairly lengthy process. From some clients systems this error occurs, I just take it as poor internet connection, so i put the code that does the post in a try loop and if I get the error I wait a second or tow and re-try up to three times. With this in place it almost never causes problems. I see the re-trys happening but they go thru. max On Sun, Oct 28, 2012 at 10:22 PM, wrote: > Send Baypiggies mailing list submissions to > baypiggies at python.org > > To subscribe or unsubscribe via the World Wide Web, visit > http://mail.python.org/mailman/listinfo/baypiggies > or, via email, send a message with subject or body 'help' to > baypiggies-request at python.org > > You can reach the person managing the list at > baypiggies-owner at python.org > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Baypiggies digest..." > > Today's Topics: > > 1. Re: Need help root causing exception > http.client.BadStatusLine (AM) > 2. Re: Need help root causing exception > http.client.BadStatusLine (Shubhra Sharma) > > > ---------- Forwarded message ---------- > From: AM > To: Shubhra Sharma > Cc: Baypiggies at python.org > Date: Sun, 28 Oct 2012 22:16:34 -0700 > Subject: Re: [Baypiggies] Need help root causing exception http.client.BadStatusLine > Strange. On debian testing with python 2.7 with the following steps I get this output: > > 1. Start netcat, (note: OSX does now allow -p with -l) > 2. Fire the request > 3. ctrl-c netcat > > Can you reproduce that? > > netcat: > ? nc -l -p 8080 > GET /hello HTTP/1.1 > Accept-Encoding: identity > Host: localhost:8080 > Connection: close > User-Agent: Python-urllib/2.7 > > ^C > > > Interpreter: > ? python > Python 2.7.3rc2 (default, Apr 22 2012, 22:30:17) > [GCC 4.6.3] on linux2 > Type "help", "copyright", "credits" or "license" for more information. >>>> from urllib2 import urlopen >>>> r = urlopen('http://localhost:8080/hello') > Traceback (most recent call last): > File "", line 1, in > File "/usr/lib/python2.7/urllib2.py", line 126, in urlopen > return _opener.open(url, data, timeout) > File "/usr/lib/python2.7/urllib2.py", line 400, in open > response = self._open(req, data) > File "/usr/lib/python2.7/urllib2.py", line 418, in _open > '_open', req) > File "/usr/lib/python2.7/urllib2.py", line 378, in _call_chain > result = func(*args) > File "/usr/lib/python2.7/urllib2.py", line 1207, in http_open > return self.do_open(httplib.HTTPConnection, req) > File "/usr/lib/python2.7/urllib2.py", line 1180, in do_open > r = h.getresponse(buffering=True) > File "/usr/lib/python2.7/httplib.py", line 1030, in getresponse > response.begin() > File "/usr/lib/python2.7/httplib.py", line 407, in begin > version, status, reason = self._read_status() > File "/usr/lib/python2.7/httplib.py", line 371, in _read_status > raise BadStatusLine(line) > httplib.BadStatusLine: '' >>>> > > > On 10/28/2012 08:17 PM, Shubhra Sharma wrote: >> >> So nc -l localhost 8080 in one terminal tab and running my client in another tab. My client does several POST, PUT and some GETs. I did a Ctrl-C but didnot hit the Bad StatusLine on my OSX10.7.x. I never hit the Bad StatusLine on my OSX10.7.x. It occurs only on CentOS. Maybe I am missing something? >> >> Thanks for your help, >> Shubhra >> >> On Sun, Oct 28, 2012 at 7:09 PM, AM > wrote: >> >> I think what Guido meant was that the server was alive but did not >> respond with anything, instead closing the connection. >> >> Assuming you are running on linux or OSX a quick way to check it >> is to use the netcat tool in a terminal: >> >> nc -l -p 8080 >> >> Then have your client connect to localhost:8080/... >> >> In the terminal you should see the request. Ctrl-C netcat and you >> should (afaik) see the BadStatusLine error. >> >> What that would mean is that somewhere tomcat decided to simply >> close the connection before any response was sent out. >> >> HTH >> AM >> >> >> On 10/28/2012 06:37 PM, Shubhra Sharma wrote: >> >> Hi Guido, >> >> Thanks for responding.I will check the catalina logs to see >> what happened. >> >> When tomcat is not running on my setup I see the following error: >> >> File >> "/opt/local/Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2/site-packages/httplib2/__init__.py", >> line 1207, in request >> (response, content) = self._request(conn, authority, uri, >> request_uri, method, body, headers, redirections, cachekey) >> File >> "/opt/local/Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2/site-packages/httplib2/__init__.py", >> line 961, in _request >> (response, content) = self._conn_request(conn, >> request_uri, method, body, headers) >> File >> "/opt/local/Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2/site-packages/httplib2/__init__.py", >> line 898, in _conn_request >> conn.connect() >> File >> "/opt/local/Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2/http/client.py", >> line 724, in connect >> self.timeout, self.source_address) >> File >> "/opt/local/Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2/socket.py", >> line 404, in create_connection >> raise err >> File >> "/opt/local/Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2/socket.py", >> line 395, in create_connection >> sock.connect(sa) >> socket.error: [Errno 61] Connection refused >> >> I did not see the BadStatusLine exception in my unittesting. >> Is there anything I can do to catch this exception, the try >> catch around the http request did not catch it? I am using >> httplib2 if that helps >> Thanks, >> Shubhra >> >> On Sun, Oct 28, 2012 at 5:28 PM, Guido van Rossum >> >> >> wrote: >> >> That particular line where this is raised means the server >> closed the >> connection without sending any response at all. Check your >> server >> logs? >> >> On Sun, Oct 28, 2012 at 4:00 PM, Shubhra Sharma >> > >> > >> >> >> wrote: >> > Hi Aahz, >> > >> > Thanks for responding. I'm not sending an Expect Header >> and I'm >> using >> > Apache-Coyote/1.1 >> > >> > Thanks, >> > Shubhra >> > >> > >> > On Sun, Oct 28, 2012 at 2:06 PM, Aahz >> >> > >> wrote: >> >> >> >> On Sun, Oct 28, 2012, Shubhra Sharma wrote: >> >> > >> >> > I am encountering http.client.BadStatusLine exception >> when I >> run my >> >> > python >> >> > scripts on CentOS6.32 but things seem to work fine on MAC >> OSX10.7.5 and >> >> > 10.8. I'm on Python3.2.3. >> >> > >> >> > I searched for answers on the internet and looked at >> the python >> >> > documentation as well without much luck. As per the >> documentation if a >> >> > server responds with a HTTP status code that we don?t >> understand this >> >> > error >> >> > is raised. The server is a Tomcat server. Any ideas >> on how to >> debug this >> >> > will be greatly appreciated. >> >> > >> >> > Here's a snippet of the error: >> >> > response = conn.getresponse() >> >> > python3.2/http/client.py", line 1049, in getresponse >> >> > response.begin() >> >> > python3.2/http/client.py", line 346, in begin >> >> > version, status, reason = self._read_status() >> >> > python3.2/http/client.py", line 328, in _read_status >> >> > raise BadStatusLine(line) >> >> > http.client.BadStatusLine: >> >> >> >> I've seen various causes for this, but I'd start by >> making sure >> that >> >> you're not sending an Expect: header and doing HTTP/1.0 >> connection. >> >> -- >> >> Aahz (aahz at pythoncraft.com >> > >) <*> >> >> >> http://www.pythoncraft.com/ >> >> >> >> "We've just found a line in a perl script that invokes >> a shell >> script to >> >> call >> >> a lisp program which invokes the very-same perl script." >> --anonymous >> >> _______________________________________________ >> >> Baypiggies mailing list >> >> Baypiggies at python.org >> > >> >> >> To change your subscription options or unsubscribe: >> >> http://mail.python.org/mailman/listinfo/baypiggies >> > >> > >> > >> > _______________________________________________ >> > Baypiggies mailing list >> > Baypiggies at python.org >> > >> >> > To change your subscription options or unsubscribe: >> > http://mail.python.org/mailman/listinfo/baypiggies >> >> >> >> -- >> --Guido van Rossum (python.org/~guido >> ) >> >> >> >> >> >> _______________________________________________ >> Baypiggies mailing list >> Baypiggies at python.org >> To change your subscription options or unsubscribe: >> http://mail.python.org/mailman/listinfo/baypiggies >> >> >> > > > > > ---------- Forwarded message ---------- > From: Shubhra Sharma > To: AM > Cc: Baypiggies at python.org > Date: Sun, 28 Oct 2012 22:22:57 -0700 > Subject: Re: [Baypiggies] Need help root causing exception http.client.BadStatusLine > nc -l -p 8080 doesnot work on my osx. > ssharma-dev1:newscripts ssharma$ nc -l localhost 8080 > GET /xyz/api/states/syncingIds HTTP/1.1 > Host: localhost:8080 > User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:16.0) Gecko/20100101 Firefox/16.0 > Accept: */* > Accept-Language: en-US,en;q=0.5 > Accept-Encoding: gzip, deflate > Connection: keep-alive > X-Requested-With: XMLHttpRequest > Referer: http://localhost:8080/xyz/ > > ^C > ssharma-dev1:newscripts ssharma$ nc -l localhost 8080 > POST /ucx/api/nodes/ HTTP/1.1 > Host: localhost:8080 > Content-Length: 78 > accept-encoding: gzip, deflate > content-type: application/json; charset=UTF-8 > accept: application/json > user-agent: Python-httplib2/0.7.6 (gzip) > > {"parentId":1275,"name":"COMPANY-2012-10-28 19:57:24.507300","type":"COMPANY"}^C > > > > On Sun, Oct 28, 2012 at 10:16 PM, AM wrote: >> >> Strange. On debian testing with python 2.7 with the following steps I get this output: >> >> 1. Start netcat, (note: OSX does now allow -p with -l) >> 2. Fire the request >> 3. ctrl-c netcat >> >> Can you reproduce that? >> >> netcat: >> ? nc -l -p 8080 >> GET /hello HTTP/1.1 >> Accept-Encoding: identity >> Host: localhost:8080 >> Connection: close >> User-Agent: Python-urllib/2.7 >> >> ^C >> >> >> Interpreter: >> ? python >> Python 2.7.3rc2 (default, Apr 22 2012, 22:30:17) >> [GCC 4.6.3] on linux2 >> Type "help", "copyright", "credits" or "license" for more information. >> >>> from urllib2 import urlopen >> >>> r = urlopen('http://localhost:8080/hello') >> Traceback (most recent call last): >> File "", line 1, in >> File "/usr/lib/python2.7/urllib2.py", line 126, in urlopen >> return _opener.open(url, data, timeout) >> File "/usr/lib/python2.7/urllib2.py", line 400, in open >> response = self._open(req, data) >> File "/usr/lib/python2.7/urllib2.py", line 418, in _open >> '_open', req) >> File "/usr/lib/python2.7/urllib2.py", line 378, in _call_chain >> result = func(*args) >> File "/usr/lib/python2.7/urllib2.py", line 1207, in http_open >> return self.do_open(httplib.HTTPConnection, req) >> File "/usr/lib/python2.7/urllib2.py", line 1180, in do_open >> r = h.getresponse(buffering=True) >> File "/usr/lib/python2.7/httplib.py", line 1030, in getresponse >> response.begin() >> File "/usr/lib/python2.7/httplib.py", line 407, in begin >> >> version, status, reason = self._read_status() >> File "/usr/lib/python2.7/httplib.py", line 371, in _read_status >> raise BadStatusLine(line) >> httplib.BadStatusLine: '' >> >> >>> >> >> >> On 10/28/2012 08:17 PM, Shubhra Sharma wrote: >>> >>> So nc -l localhost 8080 in one terminal tab and running my client in another tab. My client does several POST, PUT and some GETs. I did a Ctrl-C but didnot hit the Bad StatusLine on my OSX10.7.x. I never hit the Bad StatusLine on my OSX10.7.x. It occurs only on CentOS. Maybe I am missing something? >>> >>> Thanks for your help, >>> Shubhra >>> >>> On Sun, Oct 28, 2012 at 7:09 PM, AM > wrote: >>> >>> I think what Guido meant was that the server was alive but did not >>> respond with anything, instead closing the connection. >>> >>> Assuming you are running on linux or OSX a quick way to check it >>> is to use the netcat tool in a terminal: >>> >>> nc -l -p 8080 >>> >>> Then have your client connect to localhost:8080/... >>> >>> In the terminal you should see the request. Ctrl-C netcat and you >>> should (afaik) see the BadStatusLine error. >>> >>> What that would mean is that somewhere tomcat decided to simply >>> close the connection before any response was sent out. >>> >>> HTH >>> AM >>> >>> >>> On 10/28/2012 06:37 PM, Shubhra Sharma wrote: >>> >>> Hi Guido, >>> >>> Thanks for responding.I will check the catalina logs to see >>> what happened. >>> >>> When tomcat is not running on my setup I see the following error: >>> >>> File >>> "/opt/local/Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2/site-packages/httplib2/__init__.py", >>> line 1207, in request >>> (response, content) = self._request(conn, authority, uri, >>> request_uri, method, body, headers, redirections, cachekey) >>> File >>> "/opt/local/Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2/site-packages/httplib2/__init__.py", >>> line 961, in _request >>> (response, content) = self._conn_request(conn, >>> request_uri, method, body, headers) >>> File >>> "/opt/local/Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2/site-packages/httplib2/__init__.py", >>> line 898, in _conn_request >>> conn.connect() >>> File >>> "/opt/local/Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2/http/client.py", >>> line 724, in connect >>> self.timeout, self.source_address) >>> File >>> "/opt/local/Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2/socket.py", >>> line 404, in create_connection >>> raise err >>> File >>> "/opt/local/Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2/socket.py", >>> line 395, in create_connection >>> sock.connect(sa) >>> socket.error: [Errno 61] Connection refused >>> >>> I did not see the BadStatusLine exception in my unittesting. >>> Is there anything I can do to catch this exception, the try >>> catch around the http request did not catch it? I am using >>> httplib2 if that helps >>> Thanks, >>> Shubhra >>> >>> On Sun, Oct 28, 2012 at 5:28 PM, Guido van Rossum >>> >>> >> wrote: >>> >>> That particular line where this is raised means the server >>> closed the >>> connection without sending any response at all. Check your >>> server >>> logs? >>> >>> On Sun, Oct 28, 2012 at 4:00 PM, Shubhra Sharma >>> >> >>> >> >>> >> >>> >>> wrote: >>> > Hi Aahz, >>> > >>> > Thanks for responding. I'm not sending an Expect Header >>> and I'm >>> using >>> > Apache-Coyote/1.1 >>> > >>> > Thanks, >>> > Shubhra >>> > >>> > >>> > On Sun, Oct 28, 2012 at 2:06 PM, Aahz >>> >>> >> >>> >> wrote: >>> >> >>> >> On Sun, Oct 28, 2012, Shubhra Sharma wrote: >>> >> > >>> >> > I am encountering http.client.BadStatusLine exception >>> when I >>> run my >>> >> > python >>> >> > scripts on CentOS6.32 but things seem to work fine on MAC >>> OSX10.7.5 and >>> >> > 10.8. I'm on Python3.2.3. >>> >> > >>> >> > I searched for answers on the internet and looked at >>> the python >>> >> > documentation as well without much luck. As per the >>> documentation if a >>> >> > server responds with a HTTP status code that we don?t >>> understand this >>> >> > error >>> >> > is raised. The server is a Tomcat server. Any ideas >>> on how to >>> debug this >>> >> > will be greatly appreciated. >>> >> > >>> >> > Here's a snippet of the error: >>> >> > response = conn.getresponse() >>> >> > python3.2/http/client.py", line 1049, in getresponse >>> >> > response.begin() >>> >> > python3.2/http/client.py", line 346, in begin >>> >> > version, status, reason = self._read_status() >>> >> > python3.2/http/client.py", line 328, in _read_status >>> >> > raise BadStatusLine(line) >>> >> > http.client.BadStatusLine: >>> >> >>> >> I've seen various causes for this, but I'd start by >>> making sure >>> that >>> >> you're not sending an Expect: header and doing HTTP/1.0 >>> connection. >>> >> -- >>> >> Aahz (aahz at pythoncraft.com >>> >> >>> >) <*> >>> >>> >> http://www.pythoncraft.com/ >>> >> >>> >> "We've just found a line in a perl script that invokes >>> a shell >>> script to >>> >> call >>> >> a lisp program which invokes the very-same perl script." >>> --anonymous >>> >> _______________________________________________ >>> >> Baypiggies mailing list >>> >> Baypiggies at python.org >>> > >>> >>> >>> >> To change your subscription options or unsubscribe: >>> >> http://mail.python.org/mailman/listinfo/baypiggies >>> > >>> > >>> > >>> > _______________________________________________ >>> > Baypiggies mailing list >>> > Baypiggies at python.org >>> > >>> >>> >>> > To change your subscription options or unsubscribe: >>> > http://mail.python.org/mailman/listinfo/baypiggies >>> >>> >>> >>> -- >>> --Guido van Rossum (python.org/~guido >>> ) >>> >>> >>> >>> >>> >>> _______________________________________________ >>> Baypiggies mailing list >>> >>> Baypiggies at python.org >>> To change your subscription options or unsubscribe: >>> http://mail.python.org/mailman/listinfo/baypiggies >>> >>> >>> >> > > > _______________________________________________ > Baypiggies mailing list > Baypiggies at python.org > To change your subscription options or unsubscribe: > http://mail.python.org/mailman/listinfo/baypiggies