Re: [Pythonmac-SIG] Building plans .....

2020-03-11 Thread David Brooks
. What would be really, really nice is for CPython itself to switch to CMake -- what is needed to make this happen?? Thanks, David Brooks Auckland Bioengineering Institute ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org https://mail.python.or

Re: [Pythonmac-SIG] py2app is not finding imported libraries

2018-07-29 Thread David Brooks
Python versions (such as 3.6 or 3.7)?  > > Ronald > >> On 27 Jul 2018, at 18:56, David Simmons > <mailto:dsimmons...@earthlink.net>> wrote: >> >> Do not know where else to seek help as I have extensively searched >> for months on the internet without finding

[Pythonmac-SIG] py2app is not finding imported libraries

2018-07-28 Thread David Simmons
tinter for the GUI and reportlab to write PDF’s. Any clue on how to solve this problem would be greatly appreciated. NOTE: py2app was working fine before and then started failing. David Simmons ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org

[Pythonmac-SIG] py2app .app crashes... but only when downloaded (quarantine)

2017-02-02 Thread David A. Riggs
cr2: 0x000107e22100 Logical CPU: 0 Error Code: 0x02000148 Trap Number: 133 -- David A. Riggs Myotisoft Transect 1.1.4_2017-01-26-215534_Davids-MacBook-Pro.crash Description: Binary data ___ Pythonmac-SIG maillist - Pythonmac-SIG@python

[Pythonmac-SIG] py2app .app crashes... but only when downloaded (quarantine)

2017-02-02 Thread David A. Riggs
elated crash?! The crash diagnostics follow. You may download my .app file from the following URL if you'd like to try it yourself: http://myotisoft.com/wp-content/uploads/2016/10/Myotisoft_Transect-1.1.4-MacOSX.zip Thanks for any help you can offer! - DR -- David A. Riggs __

Re: [Pythonmac-SIG] py2app issue, app crashes on 10.7.5

2013-02-24 Thread David Smith
ronaldoussoren/py2app/issue/93/mach-o-header-may-be-too-large-to-relocate https://groups.google.com/forum/?fromgroups=#!topic/wxpython-users/uGzpA5rllJo On Feb 24, 2013, at 11:00 AM, Ronald Oussoren wrote: > > On 23 Feb, 2013, at 21:03, David Smith wrote: > >> Hello, >>

Re: [Pythonmac-SIG] py2app issue, app crashes on 10.7.5

2013-02-23 Thread David Smith
Hello, Were you able to resolve the crash problem on 10.7? If so, can you describe your solution? I just built an app with py2app on 10.8, and it crashes with identical exceptions on 10.6. Thanks! ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.

Re: [Pythonmac-SIG] ImportError, no suitable image found (app not running under 10.5)

2012-09-18 Thread David Brooks
On 18/09/12 8:51 PM, Paul Wiseman wrote: On 17 September 2012 22:11, David Brooks <mailto:d...@bcs.co.nz>> wrote: On 18/09/12 6:03 AM, Paul Wiseman wrote: On 17 September 2012 18:13, Paul Wiseman mailto:poal...@gmail.com>> wrote: This app runs fine on 10.6 and

Re: [Pythonmac-SIG] ImportError, no suitable image found (app not running under 10.5)

2012-09-17 Thread David Brooks
On 18/09/12 6:03 AM, Paul Wiseman wrote: On 17 September 2012 18:13, Paul Wiseman > wrote: This app runs fine on 10.6 and 10.7, but when I run it on 10.5 I an apple error report, and the following error in console Traceback (most recent call last):

Re: [Pythonmac-SIG] new subscriber

2011-12-19 Thread David Cortesi
But just take pains to be clear & include sample code to illustrate your question and somebody will usually answer. (Also, stackoverflow.com is a good place to look for answers.) Re the mac, none of the non-Apple python installs (i.e. from ActiveState or python.org) will deliberately override the

Re: [Pythonmac-SIG] how to retrieve unique serial number from usb storage device

2011-11-26 Thread David Hughes
On 25/11/2011 22:20, Brendan Simon (eTRIX) wrote: On 26/11/11 12:12 AM, David Hughes wrote: On 25/11/2011 11:22, Brendan Simon (eTRIX) wrote: Anyone know how to retrieve the unique serial number of a usb storage device using python on OS X ?? How about using system_profiler SPUSBDataType I

Re: [Pythonmac-SIG] how to retrieve unique serial number from usb storage device

2011-11-25 Thread David Hughes
On 25/11/2011 11:22, Brendan Simon (eTRIX) wrote: Anyone know how to retrieve the unique serial number of a usb storage device using python on OS X ?? How about using system_profiler SPUSBDataType -- Regards David Hughes Forestfield Software

[Pythonmac-SIG] [py2app] help interpreting py2applet messages

2011-10-20 Thread David Cortesi
Using the latest (20 Oct "tip") version of py2app, using py2applet to build with this command, py2applet ../src/ppqt.py ../ppqt-mac/Marvin.icns all appears to run without error, and a bundle is built (with the icon), but it dies when executed with the console message, ImportError: '/usr/lib/

Re: [Pythonmac-SIG] [py2app] - error: argv-emulation is not supported for 64-bit executables

2011-10-17 Thread David Cortesi
Thank you, that sounds good. I have downloaded it, and now have the folder py2app, but the relationship between that and setup.py is not clear to me. I was blindly following the instructions in the py2app doc, e.g. "sudo easy_install -U py2app" etc, but I can't find where that actually stashed py2a

[Pythonmac-SIG] [py2app] - error: argv-emulation is not supported for 64-bit executables

2011-10-17 Thread David Cortesi
This seems to be a rather FAsked question, based on googling that error string. Not FAnswered, however, altho it is probably relevant that on this list in August, Ronald Oussoren wrote, "The py2app repository contains a version of the argv emulator that works in 64-bit mode. I have to rebuild the e

Re: [Pythonmac-SIG] py2app with genshi problem

2011-09-04 Thread David Bolen
age data files in those packages, getting it all to end up in the right spot in the packaged version can sometimes be a challenge. You may find separating out the pure data files into their own tree to be easier. -- David ___ Pythonmac-SIG maillist - Py

Re: [Pythonmac-SIG] Extension module compile fail, due to isysroot param pointing to sdk without certain headers. Any tips?

2011-05-05 Thread David Brooks
On 5/05/11 6:06 PM, Ronald Oussoren wrote: On 3 May, 2011, at 20:28, Irmen de Jong wrote: I haven't looked into the problem you have with automaticly picking up dependencies in /usr/local, AFAIK that should just work the same as without -isysroot. charon:~ irmen$ cat /usr/local/include/ir

Re: [Pythonmac-SIG] Python 3. OS/X 10.6 Ipython

2011-04-09 Thread David Warde-Farley
IPython stable does not support Python 3. There is an experimental version at http://github.com/ipython/ipython-py3k based off of trunk. On 2010-05-28, at 2:00 PM, John Riordan wrote: > I am trying to get IPython running with Python 3.1 on OS/X 10.6.3. > The install script for IPython configures

[Pythonmac-SIG] Allow multiple executables in a single py2app bundle

2011-03-02 Thread David Brooks
Hi, The following patch enables the name of the stub executable to determine the Python script to run. This allows multiple scripts to use a common runtime. Required manual steps are to make copies of the stub in ./MacOS and to copy the actual Python scripts into ./Resources. N.B. The py2a

[Pythonmac-SIG] Allow multiple executables in a single py2app bundle

2011-02-20 Thread David Brooks
Resending, as didn't make it to the list when sent on 18 February... Hi, The following patch enables the name of the stub executable to determine the Python script to run. This allows multiple scripts to use a common runtime. Required manual steps are to make copies of the stub in ./MacOS a

Re: [Pythonmac-SIG] py2app not including /Library/Python/2.6/site-packages

2011-01-25 Thread David Bolen
hird-party packages you may need, again without affecting the system python. Those packages also get included in the final app bundle by py2app. -- David ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo

Re: [Pythonmac-SIG] Python development on OSX

2011-01-20 Thread David Bolen
OSX system libraries. -- David ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig unsubscribe: http://mail.python.org/mailman/options/Pythonmac-SIG

[Pythonmac-SIG] Accessing the iTunes database directly?

2010-12-14 Thread David Stokes
of a similar size took multiple hours. I had thought I'd heard that iTunes uses -- or once used -- SQLite, but either it has changed or I was just looking in the wrong place.If nothing else, I suppose I can use an XML export of the library data and then re-import it.Thanks,

[Pythonmac-SIG] Python's Mac/BuildScript/build_installer.py fails on 10.6 / 2.6.5

2010-04-27 Thread David Warde-Farley
I have so far had two issues, one that should definitely be addressed by the package maintainers and one that . One was that this line in Mac/Makefile.in, $(CC) $(subst -arch i386,,$(subst -arch ppc,,$(LDFLAGS))) -o $@ @UNIVERSAL_ARCH64_FLAGS@ $(srcdir)/Tools/pythonw.c was causing the '-arch pp

Re: [Pythonmac-SIG] Voice/Speech recognition

2010-03-08 Thread David Warde-Farley
be able to leverage the Speech Service built into OS X for this. http://developer.apple.com/mac/library/documentation/cocoa/Conceptual/Speech/Articles/RecognizeSpeech.html David ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.o

Re: [Pythonmac-SIG] pyopencl

2010-01-27 Thread David Warde-Farley
thon.org Python binary with install_name_tool. Pain in the neck. David ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig

Re: [Pythonmac-SIG] pyopencl

2010-01-25 Thread David Warde-Farley
x27;t compiled it on OS X but I've compiled other projects that use boost and it can be a pain I have played around with pyopencl on Linux and found it to be quite usable. David ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.

Re: [Pythonmac-SIG] [Numpy-discussion] 1.4.0 installer fails on OSX 10.6.2

2010-01-10 Thread David Cournapeau
Christopher Barker wrote: David Cournapeau wrote: On Thu, Jan 7, 2010 at 1:35 AM, Christopher Barker In the past, I think folks' have used the default name provided by bdist_mpkg, and those are not always clear. Something like: numpy1.4-osx10.4-python.org2.6-32bit.dmg The 32 bi

Re: [Pythonmac-SIG] [Numpy-discussion] 1.4.0 installer fails on OSX 10.6.2

2010-01-10 Thread David Cournapeau
out osx10.4, I still don't know how to make sure we do work there with distutils. The whole MACOSX_DEPLOYMENT_TARGET confuses me quite a lot. Other than that, the numpy 1.4.0 follows your advice, and contains the python.org part. David ___ Pythonma

Re: [Pythonmac-SIG] [Numpy-discussion] 1.4.0 installer fails on OSX 10.6.2

2010-01-10 Thread David Cournapeau
On Thu, Jan 7, 2010 at 1:22 AM, Christopher Barker wrote: > NOTE: cc-d to the pythonmac list from the numpy list -- this is really a > Mac issue. It's a discussion of what/how to produce binaries of numpy > for OS-X > > > David Cournapeau wrote: >> On Wed, Jan 6,

Re: [Pythonmac-SIG] django webapp using CoreGraphics complains about "wrong architecture"

2009-09-17 Thread David Warde-Farley
On 17-Sep-09, at 7:07 AM, Geert Dekkers wrote: Would this then mean that PIL would also fail complaining about "wrong architecture" when running under 64-bit Apache? If you tried to actually access image data with it (like, poke at actual pixels), ye

Re: [Pythonmac-SIG] django webapp using CoreGraphics complains about "wrong architecture"

2009-09-14 Thread David Warde-Farley
ion as the import of _imaging will silently fail somewhere in the Python code but be caught by an exception handler. David ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig

[Pythonmac-SIG] C Extension build troubles in 10.6

2009-09-10 Thread david
ment that should be pretty clean. Any ideas? I'm having little luck figuring this out. There doesn't seem to be much information / discussion about the lipo error. Thanks, David ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig

Re: [Pythonmac-SIG] MacPython v2.5 on OS 10.5 yet?

2009-06-30 Thread David Warde-Farley
themselves. AFAIK PyObjC now easy_install's fine with these builds, so the only thing missing will be the closed-source stuff that Apple doesn't make public (i.e. the CoreGraphics SWIG wrappers which seem to be leaky anyway). David ___

Re: [Pythonmac-SIG] GASP on OSX 10.5.6

2009-06-29 Thread David Warde-Farley
(and possibly pygame). MacPorts has cairo and I imagine pycairo is easy_install'able. It's unfortunately a lot of work for a beginner... David ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo

Re: [Pythonmac-SIG] New beta release for pyobjc: 2.2b2

2009-05-26 Thread David Warde-Farley
in assuming that for full support you need something built against the "10.5" SDK? I know I had problems building pyobjc2 against universal macpython 2.5. David ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.o

Re: [Pythonmac-SIG] bdist_mpkg 0.4.4 released

2009-05-22 Thread David Warde-Farley
+1. I mostly lurk here but I am quite aware of all the work you do to make Python on the Mac better, you have my sincerest gratitude. David On 22-May-09, at 12:11 PM, Christopher Barker wrote: Ronald Oussoren wrote: I've just uploaded dist_mpkg 0.4.4 to PyPI. Thanks Ronald, I r

[Pythonmac-SIG] building 4-way framework build with readline?

2009-05-20 Thread David Warde-Farley
l gdbm imageoplinuxaudiodev ossaudiodev readline spwd sunaudiodev To find the necessary bits, look in setup.py in detect_modules() for the module's name. Thanks, David ___ Pythonmac-SIG ma

Re: [Pythonmac-SIG] 64-bit wxMac/wxPython?

2009-05-20 Thread David Warde-Farley
ths. Hi Stefan, That's fantastic. Is the path to a wxPython fairly straightforward once wx 2.9 is nailed down? Regards, and thanks for all your efforts! David ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig

Re: [Pythonmac-SIG] 64-bit wxMac/wxPython?

2009-05-19 Thread David Warde-Farley
'm reading the Cocoa port is more- or-less dead. David ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig

[Pythonmac-SIG] 64-bit wxMac/wxPython?

2009-05-19 Thread David Warde-Farley
flags. Regards, David ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig

Re: [Pythonmac-SIG] py2app and ipython

2009-04-30 Thread David Warde-Farley
kage, which embeds IPython (and some other neat NumPy-related features) in an OpenGL pseudo-terminal. http://www.loria.fr/~rougier/glipy David ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig

Re: [Pythonmac-SIG] Building a PreferencePane with PyObjC?

2009-04-19 Thread David Hain
le_nib=CompileNib))) This will find any *.[nx]ib files in the CWD and compile them into the resources/English.lproj directory. Should be easy enough to modify. All it really does is call 'ibtool --compile' which does the work. To use, just run 'python setup.py compile_

Re: [Pythonmac-SIG] Getting None in KVC objectInKeyAtIndex_

2009-04-13 Thread David Hain
= 0 but then the program crashed with a Bus Error. I now assume that is because the bridge didn't know what to expect my method to return. With the signature line, I've told it to expect an object, so it works flawlessly! Thanks for the he

[Pythonmac-SIG] Getting None in KVC objectInKeyAtIndex_

2009-04-12 Thread David Hain
def objectInChildrenAtIndex_(self, index): return self.children[index] If other information or code would be helpful, I'd be happy to provide it. Thanks! -David [1]: http://developer.apple.com/documentation/Cocoa/Conceptual/KeyValue

Re: [Pythonmac-SIG] py2app traceback with wxPython 2.8.9.2

2009-04-03 Thread David Hughes
Are you using the latest py2app and macholib? $ easy_install macholib==dev Updating macholib has fixed the problem for me. Thanks, Chris. -- David Hughes Forestfield Software ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org

Re: [Pythonmac-SIG] py2app traceback with wxPython 2.8.9.2

2009-04-02 Thread David Hughes
PM.so* and -apart from me using a slightly earlier version of py2app than Paul - it produces the self same error word for word (see attachments). Could it be *_renderPM.so* itself that is causing your error Paul? --- Regards, David Hughes Forestfield Software Traceback (most recent cal

[Pythonmac-SIG] selecting wxpython version with py2app

2009-03-11 Thread David Manthey
framework version of wx (2.8.4.0), and, unfortunately, my program doesn't work because I've used newer features of wx. How do I instruct py2app to NOT use the system framework version of wx? Or, alternately, how do I upgrade the system framework version of wx? Many thanks. - David

Re: [Pythonmac-SIG] MacPython and Gnuplot

2009-01-29 Thread David Warde-Farley
and are not particularly married to Gnuplot, I strongly recommend it: http://matplotlib.sourceforge.net/ David ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig

Re: [Pythonmac-SIG] How to install latest 2.5 in OS X 10.4?

2009-01-07 Thread David Warde-Farley
;s built against the 10.4u SDK, so the apps you build should be portable to any 10.4 machine, even if built on 10.5. What error are you encountering when you try to run the 10.5-built app on 10.4? David ___ Pythonmac-SIG maillist - Pythonmac

Re: [Pythonmac-SIG] string ids

2008-12-29 Thread David Hostetler
you were seeing when using 'is' were really just the python interpretor lifting up its skirts a bit and (inadvertantly perhaps) revealing when it had shared the memory storage for a string literal and when it hadn't. On Mon, Dec 29, 2008 at 11:21 AM, David Hostetler wrote:

Re: [Pythonmac-SIG] string ids

2008-12-29 Thread David Hostetler
see: http://docs.python.org/reference/expressions.html#id24 "Due to automatic garbage-collection, free lists, and the dynamic nature of descriptors, you may notice seemingly unusual behaviour in certain uses of the is operator, like those involving comparisons between instance methods, or constan

Re: [Pythonmac-SIG] pyobjc 2.0 with the python.org distribution?

2008-12-17 Thread David Hain
gainst the python.org binary dist of 2.6, but I have a script that will build 2.6 from source and then build pyobjc from trunk. See below for the important bits. Thanks, Reza On Wed, Dec 17, 2008 at 9:52 AM, David Warde-Farley > wrote: Hi folks, I noticed today that while PyObjC, etc. i

[Pythonmac-SIG] pyobjc 2.0 with the python.org distribution?

2008-12-17 Thread David Hain
rtant bits. Thanks, Reza On Wed, Dec 17, 2008 at 9:52 AM, David Warde-Farley > wrote: Hi folks, I noticed today that while PyObjC, etc. is included in the system Python in 10.5, the py2.5-fat binaries on undefined.org are 1.4.x series. As I understood it, the python.org UB is the only solution

Re: [Pythonmac-SIG] pyobjc 2.0 with the python.org distribution?

2008-12-17 Thread David Warde-Farley
omments that he built one, provides a now-dead link to a package on his site, but I imagine building your own framework build with the 10.5u SDK isn't too hard. David ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.

[Pythonmac-SIG] pyobjc 2.0 with the python.org distribution?

2008-12-17 Thread David Warde-Farley
he mailing list from July that went unanswered detailing pretty much the same situation. Any hints? Thanks, David ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig

Re: [Pythonmac-SIG] Status of Python 3.0 for Mac?

2008-12-16 Thread David Warde-Farley
On 16-Dec-08, at 3:13 PM, Dav Clark wrote: For completeness / clarity, you simply CAN'T build VTK bindings from the stock sources targeting the system python if you have ANY Frameworks installed. You can modify some of the build scripts and get a successful install, however. I would not b

[Pythonmac-SIG] App distribution with eggs

2008-11-18 Thread David Woods
lks recommend for building distributable apps which have dependencies on eggs? David ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig

Re: [Pythonmac-SIG] which directory for site-packages

2008-11-15 Thread David Warde-Farley
rk are two different Python installations. You seem to be running the latter while attempting to run the former. David ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig

Re: [Pythonmac-SIG] which directory for site-packages

2008-11-15 Thread David Warde-Farley
Change the first path entry to /Library/Frameworks/Python.framework/ Versions/2.5/lib/python2.5/bin David On 15-Nov-08, at 1:15 PM, Hunt Culver wrote: /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5 ___ Pythonmac-SIG maillist

Re: [Pythonmac-SIG] MySQLdb on OS X?

2008-10-30 Thread David Warde-Farley
t it. I'm guessing the system python's headers are doing something that conflicts with mysql's headers. If installing/using python.org python is an option, I'd recommend doing that. David ___ Pythonmac-SIG maillist - Pythonmac-SIG@

Re: [Pythonmac-SIG] IDE that doesn't look awful?

2008-10-27 Thread David Warde-Farley
the thread for pydev on Eclipse. It's really quite polished, and other than the weird tab widgets that Eclipse/SWT uses, looks okay to me. David ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig

[Pythonmac-SIG] py2app fails on /usr/bin/strip

2008-10-24 Thread David Eyk
on: 2.5.1 setuptools: 0.6c9 py2app: 0.4.2 Can anyone else replicate this error with the attached package? Anyone have an idea what's going on, or how I might fix it? Thanks, David Eyk dummy-0.2.dev.tar.gz Description: GNU Zip compressed data _

Re: [Pythonmac-SIG] Anyone have 10.5.5 on a G5?

2008-10-20 Thread David Warde-Farley
On 17-Oct-08, at 1:34 PM, has wrote: Hi folks, Trying to get py-appscript 0.19.0 out the door, but I've a user reporting big problems trying to install it on their system and need to find out if it's their system or appscript that's at fault. Need a quick favour from someone with a copy o

Re: [Pythonmac-SIG] Py2app/modulegraph crashes on pkg_resources

2008-10-17 Thread David Eyk
th a really simple, tiny app? That > should at least tell you what a working app bundle should look like. That's a good idea. As I may have mentioned, I've used py2app successfully before, with a wxPython app. But that probably doesn't qualify as simple or tiny. :) I

Re: [Pythonmac-SIG] Py2app/modulegraph crashes on pkg_resources

2008-10-17 Thread David Eyk
below: On Thu, Oct 16, 2008 at 3:11 PM, Christopher Barker <[EMAIL PROTECTED]> wrote: >> David Eyk wrote: >> >> That got me halfway there! Let me briefly plug zc.buildout here: I've >> been using it on all my projects since PyCon, and it made these tweaks >&g

[Pythonmac-SIG] Py2app/modulegraph crashes on pkg_resources

2008-10-16 Thread David Eyk
e, pkg_resources is importable, at least from within the debugger, but I don't understand how exactly modulegraph works its magic. Any ideas? (I've attached my setup.py, in case it might shed light.) Thanks for your time. David Eyk # -*- coding: utf-8 -*- """setup -- setupto

Re: [Pythonmac-SIG] Please help! py2app broken

2008-09-11 Thread David Hostetler
l). This is all probably moot soon, as I don't expect the setuptools guys to allow the problem to persist at large. But yeah, in a pinch and disregarding the other stuff, he could roll back to 1.4.4. -David ___ Pythonmac-SIG maillist - Pytho

[Pythonmac-SIG] using py-appscript

2008-09-10 Thread David Morley
interactively explore what is available? Something like dir(app('TextEdit')) -> [..., "documents", ...] to let me know that the app has document components app('TextEdit').documents.keys() -> [..., "Read M

[Pythonmac-SIG] py2app PyOpenGL "Unable to find an implementation" Error

2008-08-27 Thread David Selassie
7;darwin' ('posix') platform 8/27/08 11:29:27 AM com.apple.launchd[149] ([0x0-0x6e06e].org.pythonmac.unspecified.PyTensor[4893]) Exited with exit code: 255 - Thanks for your help. - David Selassie ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig

Re: [Pythonmac-SIG] catching the Cmd+Q event

2008-08-24 Thread David Warde-Farley
Hmm, that's an interesting idea. Do you mean to say __del__ of wx.App? David On 24-Aug-08, at 5:08 AM, Henning Hraban Ramm wrote: Am 2008-08-24 um 10:41 schrieb David Warde-Farley: I was wondering if anyone knew of a way to catch Cmd+Q in a threaded wx/Tkinter/etc. event loop. I rem

[Pythonmac-SIG] catching the Cmd+Q event

2008-08-24 Thread David Warde-Farley
nk it most likely will). Thanks, David ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig

Re: [Pythonmac-SIG] How to click on a Mac OS X button using python

2008-08-23 Thread David Warde-Farley
eScript support for "clicking a button" and things like that. Note that you need to have it enabled in the Universal Access preference pane. Good luck, and please be more patient with your messages in the future. David ___ Pyt

Re: [Pythonmac-SIG] "Best" Mac Python under Leopard?

2008-08-23 Thread David Warde-Farley
e Tiger days, it seems that most of the options on the table (System, Python.org, EPD) are quite acceptable, but YMMV. Certainly if you run into specific issues with any one of these distributions, please make a note of it on this list so that others can benefit. We

[Pythonmac-SIG] Help! I can't get py2app v0.4.2 to correctly embed Authorization

2008-08-08 Thread David Hostetler
es/lib/python2.5/lib-dynload/Authorization/. Am I failing to pass some critical option to my setup.py? I'm not particularly OSX saavy, so any help is appreciated. regards, -David ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig

[Pythonmac-SIG] iTunes query

2008-07-27 Thread David Blackman
I'm trying to figure out how AOEM queries work on iTunes, the code I'm trying looks like: for track in library.tracks[appscript.its.name().encode("utf-8").find("Sun")]: (I'm trying to find all the tracks in my library with the string "Sun" in the title) and the error I'm getting is: Tracebac

[Pythonmac-SIG] py2app, svn 1.5 and macholib

2008-07-14 Thread David A Krauth
/modulegraph/modulegraph/trunk/ modulegraph cd modulegraph/ easy_install -Z . cd .. svn co http://svn.pythonmac.org/py2app/py2app/trunk py2app cd py2app/ easy_install -Z . cd .. This seemed to hit the sweet stop - my build worked and executed

Re: [Pythonmac-SIG] py2app and bdist_mpkg on Linux?

2008-05-12 Thread David Warde-Farley
OS X, and most packages that have those targets are not going to build properly on Linux without rewriting half the package itself. David > On Mon, May 12, 2008 at 7:15 PM, Arne Babenhauserheide <[EMAIL PROTECTED]> > wrote: > > Hi, > > > > I am trying to get py2

[Pythonmac-SIG] codes

2007-12-28 Thread david odey
please send me relevant codes for beginners ALWAYS THERE FOR YOU - Sent from Yahoo! - a smarter inbox.___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-

Re: [Pythonmac-SIG] Py2app and shared libraries under Leopard

2007-12-18 Thread David Hughes
David Hughes wrote: .Built using Distutils under Leopard, the library [/Reportlab's _Render.pm]/ is working exactly as intended/expected. However, comparing the .so file produced, it is under half the size of the same built using Tiger [/and it generates an error when it is include

[Pythonmac-SIG] Py2app and shared libraries under Leopard

2007-12-11 Thread David Hughes
e the libraries with their Tiger-built counterparts, the application builds OK (under Leopard). I installed Xcode on Leopard using default settings. Any ideas please? Regards, David Hughes Forestfield Software $ cd /users/pydevsrc/dp6mac_v630 $ ./build_all running py2app creating /Users/pyd

Re: [Pythonmac-SIG] vobject

2007-12-05 Thread David Warde-Farley
. I might consider writing the address book portion when I get around to coding up an iSync conduit for my obsolete cell phone. David ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig

Re: [Pythonmac-SIG] appscript create new iphoto album

2007-11-28 Thread David Voswinkel
d: app(u'/Applications/iPhoto.app').make(new=k.photo, with_properties={k.class_: k.photo, k.image_path: mactypes.Alias(u'/Users/david/Desktop/20071127_Misc/IMG_0299.JPG')}) or: appscript.reference.CommandError: CommandError -1700: Can't make some data into the expected ty

[Pythonmac-SIG] Fw: Re: Any hints on building libpng universal?

2007-11-27 Thread David Warde-Farley
Chris Barker brought it to my attention that packages that go bup on Pythonmac.org should have their own static copies of (non system?) dependencies. The current matplotlib package expects libpng in /usr/local/lib. If someone can give me a very basic rundown of how this is done I'd be happy t

[Pythonmac-SIG] hi

2007-11-27 Thread david odey
Please I would love to receive a daily newsletter with simple python codes for beginners; and to progress as time goes. ALWAYS THERE FOR YOU - For ideas on reducing your carbon footprint visit Yahoo! For Good this month.__

[Pythonmac-SIG] Any hints on building libpng universal?

2007-11-22 Thread David Warde-Farley
file, which I can't seem to combine. I've never been totally clear on the difference between .a and .la archives, but there does seem to be one. Any hints? I will of course post the build script and an URL for the package once I'm sure it works. David __

[Pythonmac-SIG] appscript create new iphoto album

2007-11-20 Thread David Voswinkel
Hi, try to create an new iPhoto album, But cant get it working. Is this a bug? >>> app('iPhoto').make(new=k.regular_album, with_properties={ k.name : 'New Album' }) Traceback (most recent call last): File "", line 1, in File "/Library/Python/2.5/site-packages/appscript-0.17.2-py2.5-macosx

Re: [Pythonmac-SIG] MySQLdb on 2.5?

2007-11-19 Thread David Warde-Farley
;t need. 32-bit works fine. My uninformed guess is that 32-bit Python/64 bit MySQL will never let their children marry each other. Thanks for the quick response (as always), David ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig

[Pythonmac-SIG] MySQLdb on 2.5?

2007-11-19 Thread David Warde-Farley
n error: command 'gcc' failed with exit status 1 -- If it makes a difference I'm compiling this on a G5. Has anyone got the patch kicking around that was used to build the 2.4 UB package? Thanks, David ___ Pythonmac-SIG maill

Re: [Pythonmac-SIG] working around versions

2007-11-05 Thread David Worrall
Thanks for your reply Ronald. I do run multiple versions, but I change the symlink of Current. Do you mean because people change versions in other ways, say through a shell alias rather than change the symlink? I can see that the sys.prefix approach is safer. thanks, David On 06/11/2007, at 1

[Pythonmac-SIG] working around versions

2007-11-04 Thread David Worrall
puting the locating values for x and y in '/Library/Frameworks/Python.framework/Versions/Current/lib/pythonx.y/' other than through concatenating the above string with a splice of sys.version? thanks, David _ experimental polymedia: www

Re: [Pythonmac-SIG] easygui

2007-10-06 Thread David Worrall
Hi Robin, I know them both very well. Good at what they do. Supercollider is even better (IMO) However they both only have python for scripting. If it's python you want, approach with caution .... David On 06/10/2007, at 11:42 PM, robin meier wrote: > hello, > > for simp

Re: [Pythonmac-SIG] easygui

2007-10-04 Thread David Worrall
Hi Rafael, Not a comprhensive list by any means, but here are a couple of my links: http://www.psychopy.org/ you may find this useful: http://psy.ck.sissa.it/OtherStuff/OtherStuff.html also pythoncard has lots of examples which might get you into a ballpark: http://pythoncard.sourceforge.ne

Re: [Pythonmac-SIG] entire applications in python?

2007-10-03 Thread David Worrall
at my sonipy.sourceforge.net for some toolset ideas. It is being developed in the first instance on OSX. good luck! David On 04/10/2007, at 12:50 PM, Brett Calcott wrote: > Thanks to everyone for their replies; very useful stuff. > > I must say that getting a large number of replies so q

Re: [Pythonmac-SIG] seg fault in intelOSX+python2.4

2007-08-31 Thread David Worrall
21 August 2007, David Worrall escrigué: > >> I lowered NODE_MAX_SLOTS from 256 to128 and that slowed the leak - >> enough to get some sort of DB happening. >> It eventually seg faulted, however. >> I've noticed that sometimes the seg fault causes the (non-python) >&

[Pythonmac-SIG] seg fault in intelOSX+python2.4

2007-08-29 Thread David Worrall
Hi all, I've been using PyTables (www.pytables.org) with python2.4 on intel Mac OSX 10.4.10 and I'm running into a seg. fault when generating a large hdf5 file. Almost certainly something to do with relationship between OS and python. Has anyone had a similar (memory leak?) experience? ___

[Pythonmac-SIG] persistence speeds compared

2007-07-16 Thread David Worrall
ical applic. so needs to be as fast as possible. I haven't been able to find even a simple comparative analysis. Can anyone point me in the right direction? thanks heaps, David _ experimental polymedia: www.avatar.com.au Sonic Communica

Re: [Pythonmac-SIG] Using Python for cgi

2007-05-01 Thread David Warde-Farley
quot; line is uncommented as well as the "AddModule mod_cgi.c" line (search for them). Once you're sure all this is in place, "sudo apachectl graceful" at a prompt. Cheers, David ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig

Re: [Pythonmac-SIG] Pythonmac 2.4.4 (PPC) and mod_python problems

2007-04-25 Thread David Pratt
me better reliability back into some of the software builds that I seemed to have before. Many thanks for this tip :-) Regards David Ned Deily wrote: > In article <[EMAIL PROTECTED]>, > David Pratt <[EMAIL PROTECTED]> wrote: >> I will be attempting to build mod_python again s

Re: [Pythonmac-SIG] Pythonmac 2.4.4 (PPC) and mod_python problems

2007-04-25 Thread David Pratt
was introduced. I am running into similar linking issues with lxml. See below. What can be done about this :-( Regards David Buildout build == zc.buildout.easy_install: Getting new distribution for lxml Building lxml version 1.3.beta warning: no previously-included files found

  1   2   3   >