[Pythonmac-SIG] Frameworks which won't import

2005-05-18 Thread Dethe Elza
Let me try to rephrase my question.

I have a framework which I can't import into PyObjC in the usual  
way.  Since then I've tried various other frameworks I've found on my  
system, mostly embedded in application bundles, and some import but  
others do not.  I'm not getting any information on *why* they can't  
be imported, even when I turn on debugging with the following lines  
before any attempt to load bundles.

from PyObjCTools import Debugging
Debugging.installVerboseExceptionHandler()

Here are the questions:

* What can I do to find out why a bundle wouldn't load?
* Are there common, expected reasons for a framework bundle to not load?
* Is there anything I can do about it?

Now, as far as the Skype framework itself is concerned, I realized  
I'm using a Beta and downloaded the earlier, stable release, which  
does not have embedded frameworks.

Thanks!

--Dethe

___
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig


Re: [Pythonmac-SIG] Frameworks which won't import

2005-05-18 Thread Bob Ippolito
On May 18, 2005, at 2:05 PM, Dethe Elza wrote:

 I have a framework which I can't import into PyObjC in the usual
 way.  Since then I've tried various other frameworks I've found on my
 system, mostly embedded in application bundles, and some import but
 others do not.  I'm not getting any information on *why* they can't
 be imported, even when I turn on debugging with the following lines
 before any attempt to load bundles.

 from PyObjCTools import Debugging
 Debugging.installVerboseExceptionHandler()

This logs Objective-C exceptions, not linker errors.  It's not going  
to do anything for you unless the problem is due to a +load or  
something (which, I have never seen).

It's more or less a case of getting what you deserve, trying to load  
embedded frameworks from applications that were never meant for  
external use.  They probably depend on symbols defined in the  
executable or something.

 Here are the questions:

 * What can I do to find out why a bundle wouldn't load?

Not much.

 * Are there common, expected reasons for a framework bundle to not  
 load?

Not really.

 * Is there anything I can do about it?

Probably not.

-bob

___
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig


Re: [Pythonmac-SIG] Frameworks which won't import

2005-05-18 Thread Dethe Elza
 It's more or less a case of getting what you deserve, trying to  
 load embedded frameworks from applications that were never meant  
 for external use.  They probably depend on symbols defined in the  
 executable or something.

OK, thanks.  At least I know to give up that route and try another way.

--Dethe
___
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig


[Pythonmac-SIG] ANN: py2app 0.2

2005-05-18 Thread Bob Ippolito
`py2app 0.2`_ is a minor bug fix release.  You can download it from  
`pythonmac.org packages`_.  `PyObjC`_ 1.3.5 ships with py2app 0.2, so  
if you have that, you have already upgraded to py2app 0.2!

.. _`py2app 0.2`: http://undefined.org/python/#py2app
.. _`pythonmac.org packages`: http://pythonmac.org/packages/
.. _`PyObjC 1.3.5`: http://pyobjc.sourceforge.net/

Functional changes:

- New datamodels option to support CoreData.  Compiles
   .xcdatamodel files and places them in the Resources dir
   (as .mom).

- New use-pythonpath option.  The py2app application bootstrap
   will no longer use entries from PYTHONPATH unless this option
   is used.

- py2app now persists information about the build environment
   (python version, executable, build style, etc.) in the
   Info.plist and will clean the executable before rebuilding
   if anything at all has changed.

- bdist_mpkg now builds packages with the full platform info,
   so that installing a package for one platform combination
   will not look like an upgrade to another platform combination.

Bug Fixes:

- Fixed a bug in standalone building, where a rebuild could
   cause an unlaunchable executable.

- Plugin bootstrap should compile/link correctly
   with gcc 4.

- Plugin bootstrap no longer sets PYTHONHOME and will
   restore PYTHONPATH after initialization.

- Plugin bootstrap swaps out thread state upon plug-in
   load if it is the first to initialize Python.  This
   fixes threading issues.
___
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig


Re: [Pythonmac-SIG] Performance improvement in Python 2.4.1/wxPython 2.6?

2005-05-18 Thread Kevin Ollivier
Hi Kevin,

On May 17, 2005, at 8:45 PM, Kevin Walzer wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 Has anyone using wxPython libraries noticed a performance  
 improvement in
 Bob's Python 2.4.1 build and wxPython 2.6? I'm working on some new
 versions of the wxPython apps I maintain, and they seem less crash- 
 prone
 when linking against the latest and greatest than the Apple-shipped
 Python/wxPython. If others are noticing this, I may rethink my  
 decision
 about supporting only the Apple installation. Please let me know your
 comments.

It's very likely that improvements to wxWidgets have contributed to  
this. 2.5.3 is six months old, and considering the rate at which the  
Mac port has been moving, that's a very long time. Particularly since  
the last couple months have been focused on bug fixing. Had we known  
Apple was bundling wx we probably could have pushed a few things off  
and moved the bug testing up... Unfortunately, we didn't, so the  
wxPython included with Tiger is missing out on a lot of good bug  
fixes. ;-/

Thanks,

Kevin

 - --
 Cheers,

 Kevin Walzer, PhD
 WordTech Software--Open Source Applications and Packages for OS X
 http://www.wordtech-software.com
 http://www.smallbizmac.com
 http://www.kevin-walzer.com
 mailto:[EMAIL PROTECTED]
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.1 (Darwin)
 Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

 iD8DBQFCirpRJmdQs+6YVcoRAuUeAJ4yx+sCUMYpH+Aon32zycM6lLnjMwCfTrSS
 xJ+Zy+RBFCE4iHt+ouoaRaI=
 =eF1K
 -END PGP SIGNATURE-
 ___
 Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
 http://mail.python.org/mailman/listinfo/pythonmac-sig



___
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig


Re: [Pythonmac-SIG] [Pyobjc-dev] ANN: PyObjC 1.3.5

2005-05-18 Thread Ronald Oussoren
On 18-mei-2005, at 22:10, Bob Ippolito wrote:
On May 18, 2005, at 3:10 PM, Ronald Oussoren wrote:

PyObjC 1.3.5 is now available for download at http:// 
pyobjc.sourceforge.net/

DO NOT DOWNLOAD THIS YET.  There is a mistake in the release, it  
includes the wrong version of py2app (0.1.9), which means that the  
Xcode templates are probably broken and it does not implement all  
of the features it advertises!

We need to take this down and fix it.
I've uploaded new release files that include py2app 0.2.0 instead of  
0.1.9

Ronald


smime.p7s
Description: S/MIME cryptographic signature
___
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig


Re: [Pythonmac-SIG] [Pyobjc-dev] ANN: PyObjC 1.3.5

2005-05-18 Thread Michael Stearne
Looks great!  Thanks for the work.

Michael


On 5/18/05, Ronald Oussoren [EMAIL PROTECTED] wrote:
 PyObjC 1.3.5 is now available for download at http://
 pyobjc.sourceforge.net/
 
 PyObjC is a bridge between Python and Objective-C.  It allows full
 featured Cocoa applications to be written in pure Python.  It is also
 easy to use other frameworks containing Objective-C class libraries
 from Python and to mix in Objective-C, C and C++ source.
 
 Python is a highly dynamic programming language with a shallow learning
 curve.  It combines remarkable power with very clear syntax.
 
 The installer package includes a number of Xcode templates
 for easily creating new Cocoa-Python projects, as well as py2app,
 a suite of tools for building redistributable Python applications
 and plugins.
 
 PyObjC also supports full introspection of Objective-C classes and
 direct invocation of Objective-C APIs from the interactive interpreter.
 
 PyObjC requires Mac OS X 10.2 or later and Python 2.3 or later.  PyObjC
 works with the Apple provided Python installation in Mac OS X 10.3
 (and later),
 MacPython 2.3, and MacPython 2.4.
 
 This release features several bugfixes, improved documentation, new
 Xcode
 templates, Tiger support and many major enhancements.  See the news
 file at
 http://pyobjc.sourceforge.net/NEWS-1.3.5.txt for more information.
 
 PyObjC is released with an open source license (MIT style).
 
 

___
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig


[Pythonmac-SIG] Python Metadata Importer

2005-05-18 Thread Jonathan Wight
Version 0.9 (everything done exception final documentation tidy-up)  
is online at:

http://svn.toxicsoftware.com/svn/toxic_public/trunk/Freeware/Python% 
20Metadata%20Importer/Releases/Python%20Metadata%20Importer.dmg

Source is available from:

http://svn.toxicsoftware.com/svn/toxic_public/trunk/Freeware/Python% 
20Metadata%20Importer

Feedback MOST welcome.

 Jon.
___
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig


[Pythonmac-SIG] Silly question perhaps, but how do I use py2app?

2005-05-18 Thread Skip Montanaro
I downloaded and installed py2app this evening.  I didn't find an app named
py2app, but did find /usr/local/bin/py2applet.  Is that py2app?  If not,
where is it?  I tried running py2applet with no args or with --help.  Both
times it emitted lines like:

running py2app
creating /private/tmp/tmpN4iyW5/build
creating /private/tmp/tmpN4iyW5/build/bdist.darwin-7.9.0-Power_Macintosh
creating 
/private/tmp/tmpN4iyW5/build/bdist.darwin-7.9.0-Power_Macintosh/python2.4-standalone
creating 
/private/tmp/tmpN4iyW5/build/bdist.darwin-7.9.0-Power_Macintosh/python2.4-standalone/app
creating 
/private/tmp/tmpN4iyW5/build/bdist.darwin-7.9.0-Power_Macintosh/python2.4-standalone/app/collect
creating 
/private/tmp/tmpN4iyW5/build/bdist.darwin-7.9.0-Power_Macintosh/python2.4-standalone/app/temp
creating /private/tmp/tmpN4iyW5/dist
creating 
build/bdist.darwin-7.9.0-Power_Macintosh/python2.4-standalone/app/lib-dynload
creating 
build/bdist.darwin-7.9.0-Power_Macintosh/python2.4-standalone/app/Frameworks
error: You must specify either app or plugin

I'd appreciate some tips on how to use it.

Thanks,

-- 
Skip Montanaro
[EMAIL PROTECTED]
___
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig


Re: [Pythonmac-SIG] Silly question perhaps, but how do I use py2app?

2005-05-18 Thread Bob Ippolito
On May 18, 2005, at 11:45 PM, Skip Montanaro wrote:

 I downloaded and installed py2app this evening.  I didn't find an  
 app named
 py2app, but did find /usr/local/bin/py2applet.  Is that py2app?   
 If not,
 where is it?  I tried running py2applet with no args or with -- 
 help.  Both
 times it emitted lines like:

http://undefined.org/python/py2app.html
http://pyobjc.sourceforge.net/doc/tutorial.php

-bob

___
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig