From cbc at unc.edu Tue Nov 9 18:09:24 2010 From: cbc at unc.edu (Chris Calloway) Date: Tue, 09 Nov 2010 12:09:24 -0500 Subject: [TriZPUG] November Meeting Call for Talks Message-ID: <4CD98044.10007@unc.edu> In November we are meeting next week on Thursday the 18th because the fourth Thursday is Thanksgiving. If all goes well, we'll also be meeting at Red Hat HQ in Raleigh on the NCSU Centennial Campus at 7pm, where parking is abundant. I'm prodding to see if anyone wants to call shotgun on any major presentations for the meeting. We can always and also have lightning talks. But I know there are a few of you out there who have been planning a feature length talk for awhile. So I'm just throwing out the chance to afix your name to the meeting theme for this month. I'd like to thanks Chris Rossi for a fine presentation on repoze.catalog last month. I love a presentation where we walk through code. -- Sincerely, Chris Calloway http://nccoos.org/Members/cbc office: 3313 Venable Hall phone: (919) 599-3530 mail: Campus Box #3300, UNC-CH, Chapel Hill, NC 27599 From pmclanahan at gmail.com Wed Nov 10 23:59:43 2010 From: pmclanahan at gmail.com (Paul McLanahan) Date: Wed, 10 Nov 2010 17:59:43 -0500 Subject: [TriZPUG] Python Job in Atlanta Message-ID: A friend of mine, and fellow Django developer, has a job available in Atlanta for which he's having trouble finding candidates. On the off chance that someone on this list lives in that area, or knows a Python developer who does, I offered to post a link to his job here. The gig is developing Django apps, but prior Django knowledge/experience is NOT required. Job description and application instructions are at the following link: http://jobs.github.com/positions/6b74e0f4-a889-11df-8d42-7489718b6169 Thanks, Paul From cbc at unc.edu Wed Nov 17 20:12:04 2010 From: cbc at unc.edu (Chris Calloway) Date: Wed, 17 Nov 2010 14:12:04 -0500 Subject: [TriZPUG] TriZPUG November 2010 Meeting: PyCon Tune-up Message-ID: <4CE42904.9070502@unc.edu> http://trizpug.org/Members/cbc/nov-10-mtg Reminder: the TriZPUG meeting in Raleigh is tomorrow (Thur. Nov 18) at 7pm. Directions: http://www.redhat.com/about/contact/ww/americas/raleigh.html This will be our first meeting at Red Hat HQ. Your host is Alex Kesling. I will not be able to be there due to more eye surgery this week. So I hope you will all pitch in to make the meeting a success. As the login message says on our IRC, "Please be a catalyst." Please be a catalyst at this meeting by participating (i.e., speaking up). Please start by introducing yourselves to each other. If you submitted a talk at PyCon, bring it to this meeting and practice on us. If you haven't finished your talk, practice what you have. If you haven't started preparing your talk yet, come present your outline you submitted. If you didn't submit a talk to PyCon, I bet you did learn something about Python in the last month. Take one minute, or five, or ten, to stand up at the meeting and tell us about it. That's called a lightning talk. Lightning talks are what make good meetings work well. If you came to the last meeting, then you know that there is no lightning talk to trivial or stupid, as I got up and told about the list multiplication mistake I keep making over and over through the years. It's a really stupid mistake. Believe me, you risk no embarrassment in making a lightning talk at TriZPUG. Please decide the after-meeting water hole location at the meeting itself. There are four bars up at Mission Vally Shopping Center just a couple of blocks from the meeting location (Sammy's, Champions, Ruckus, and Ba-Da Wings). Plone Boot Camp was conceived at Sammy's after a meeting where only three people showed up. Moral: after-meetings are the most important part of the meeting. -- Sincerely, Chris Calloway http://nccoos.org/Members/cbc office: 3313 Venable Hall phone: (919) 599-3530 mail: Campus Box #3300, UNC-CH, Chapel Hill, NC 27599 From jim at ibang.com Fri Nov 19 21:10:38 2010 From: jim at ibang.com (Jim Allman) Date: Fri, 19 Nov 2010 15:10:38 -0500 Subject: [TriZPUG] TriZPUG November 2010 Meeting: PyCon Tune-up In-Reply-To: <4CE42904.9070502@unc.edu> References: <4CE42904.9070502@unc.edu> Message-ID: <6E9E33C3-4CC2-4AE5-BAFA-BA1C189E4381@ibang.com> Notes from the November 18 meeting (highly subjective, amendments welcome!) http://trizpug.org/Members/jimA/Nov_2010_mtg_notes =jimA= From jmack at wm7d.net Sat Nov 20 15:36:11 2010 From: jmack at wm7d.net (Joseph Mack NA3T) Date: Sat, 20 Nov 2010 06:36:11 -0800 (PST) Subject: [TriZPUG] determining libraries for python programs Message-ID: For a regular binary you can use ldd to determine the dynamic libraries. What do you do to determine the libraries used for a python program? I have a python program that uses tkInter, but when I do ldd on /usr/local/bin/python, libtk doesn't show up. My python program must ask for libtk. How do I check the libraries that the my python program calls? Thanks Joe -- Joseph Mack NA3T EME(B,D), FM05lw North Carolina jmack (at) wm7d (dot) net - azimuthal equidistant map generator at http://www.wm7d.net/azproj.shtml Homepage http://www.austintek.com/ It's GNU/Linux! From jamie.daniel at duke.edu Sat Nov 20 16:01:47 2010 From: jamie.daniel at duke.edu (Jamie Daniel) Date: Sat, 20 Nov 2010 10:01:47 -0500 Subject: [TriZPUG] Jamie Daniel is out of the office Message-ID: I will be out of the office starting 11/11/2010 and will not return until 11/22/2010. From dragonstrider at gmail.com Sun Nov 21 06:32:37 2010 From: dragonstrider at gmail.com (Joseph Tate) Date: Sun, 21 Nov 2010 00:32:37 -0500 Subject: [TriZPUG] determining libraries for python programs In-Reply-To: References: Message-ID: The best way to see what your app uses is to strace it. You can look just for the "open" syscall. If you drop to a debugging prompt, you can inspect sys.modules to see what has been imported. Joseph On Sat, Nov 20, 2010 at 9:36 AM, Joseph Mack NA3T wrote: > For a regular binary you can use ldd to determine the dynamic libraries. > What do you do to determine the libraries used for a python program? I have > a python program that uses tkInter, but when I do ldd on > /usr/local/bin/python, libtk doesn't show up. My python program must ask for > libtk. How do I check the libraries that the my python program calls? > > Thanks Joe > > -- > Joseph Mack NA3T EME(B,D), FM05lw North Carolina > jmack (at) wm7d (dot) net - azimuthal equidistant map > generator at http://www.wm7d.net/azproj.shtml > Homepage http://www.austintek.com/ It's GNU/Linux! > _______________________________________________ > TriZPUG mailing list > TriZPUG at python.org > http://mail.python.org/mailman/listinfo/trizpug > http://trizpug.org is the Triangle Zope and Python Users Group > -- Joseph Tate Personal e-mail: jtate AT dragonstrider DOT com Web: http://www.dragonstrider.com From jmack at wm7d.net Sun Nov 21 20:55:21 2010 From: jmack at wm7d.net (Joseph Mack NA3T) Date: Sun, 21 Nov 2010 11:55:21 -0800 (PST) Subject: [TriZPUG] determining libraries for python programs In-Reply-To: References: Message-ID: On Sun, 21 Nov 2010, Joseph Tate wrote: > The best way to see what your app uses is to strace it. > You can look just for the "open" syscall. this is what I've been doing. I was hoping for something that would give me an answer without having to run the python program. However this will do. > If you drop to a debugging prompt, do you mean the python debugging prompt? > you can inspect sys.modules to see what has been imported. didn't know you could do this. Will go find out what it's about. Thanks Joe -- Joseph Mack NA3T EME(B,D), FM05lw North Carolina jmack (at) wm7d (dot) net - azimuthal equidistant map generator at http://www.wm7d.net/azproj.shtml Homepage http://www.austintek.com/ It's GNU/Linux! From jmack at wm7d.net Mon Nov 22 20:58:14 2010 From: jmack at wm7d.net (Joseph Mack NA3T) Date: Mon, 22 Nov 2010 11:58:14 -0800 (PST) Subject: [TriZPUG] determining libraries for python programs In-Reply-To: References: Message-ID: On Sun, 21 Nov 2010, Joseph Tate wrote: > The best way to see what your app uses is to strace it. > You can look just for the "open" syscall. If you drop to > a debugging prompt, you can inspect sys.modules to see > what has been imported. Hi Joseph, The problem was that I was working on a machine with /usr/lib/libtcl8.4.so /usr/lib64/libtk8.4.so I needed libtk8.5.so. For administrative reasons :-( I wasn't allowed to change any files in these two directories, was only allowed to install in /usr/local/lib, but not allowed to add /usr/local/lib to /etc/ld.so.conf. So I had to build python in a way that it found /usr/local/lib/libtk8.5.so but not the two copies of libtk8.4.so. This is where I needed to know what libraries were being loaded at run time. The solution was to (temporarily) delete the 8.4 libraries, add /usr/local/lib to LD_LIBRARY_PATH for the python install, then restore the 8.4 libraries. Tkinter looks for the 8.5 library now. Thanks Joe -- Joseph Mack NA3T EME(B,D), FM05lw North Carolina jmack (at) wm7d (dot) net - azimuthal equidistant map generator at http://www.wm7d.net/azproj.shtml Homepage http://www.austintek.com/ It's GNU/Linux!