I don't know the answer to this question, but I wanted to warn you: be
careful using multiprocessing with PyObjc. I never was able to get it
into a easy test case, but sometimes one or more of my multiprocessing
processes would never return when used in conjunction with PyObjc, and
the prog
I'm developing a fairly large project and have run into a crash
situation. There's no exception thrown by python; it just drops into
GDB. I'm developing under xcode; is there any way to use gdb to give me
a hint as to where the problem is occurring?
dan
Hmm, strange. One thing you could try is to just download the tar.gz and
install it manually - usually with "python setup.py install". I don't
know how to keep easy_install from passing -q (quiet) to setup.py so you
can see what's going on.
dan
Chris Adams wrote:
Hi Dan, thanks for the quic
Chris Adams wrote:
I'm using bash as my shell, on Leopard 10.5.5, and in my .profile
config file, I have
export PYTHONPATH
That line does nothing, unless you have a prior line that looks like:
PYTHONPATH=/Library/Python/...:etc
So what you probably want to do is:
export PYTHONPATH=$PYTHON
Hy, awesome! Who woulda thought that reading the documentation would
actually come in handy? Much obliged, Mike!
dan
Mike Covill wrote:
From Apple's "Xcode Workspace Guide:, chapter 6, section 2:
http://developer.apple.com/documentation/DeveloperTools/Conceptual/XcodeWorkspace/600-The_
Nehemiah Dacres wrote:
> What are u using a #pragma for in python? You See that POUND sign your
using, thats a COMPILER DIRECTIVE, python is an interpreted scripting
language, no PREPROCESSING allowed , (except for the .pyc code but thats
compiled if you want to get technical with me)
Am I mis
When I try to import QTKit and build and run my app, I get "Fatal Python
error: Interpreter not initialized (version mismatch?)". Any ideas?
dan
___
Pythonmac-SIG maillist - Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-
Anybody know how to make #pragma mark work with python in xcode?
dan
___
Pythonmac-SIG maillist - Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig
I've done some searching but can't exactly figure out how to do this.
How can I include a menu item or somesuch that will bring up a live
python interpreter window in my PyObjC app? I've seen the examples of
injecting a python interpreter into a running app, but I want to build
in the functiona
Ronald Oussoren wrote:
On 24 Jul, 2008, at 14:07, Daniel Ashbrook wrote:
Ronald Oussoren wrote:
Decorators like endSheetMethod aren't needed for most other methods
because either the method signature is simple (all arguments are
objects, as is the return value), or PyObjC can deduc
Ronald Oussoren wrote:
There was a case where I had to decorate a couple of functions with
@objc.accessor or I got the same kind of no-error crash. Is it the
same cause? Is there a way to know when I need to use that vs not?
>
That depends on the method names you're using. "Regular" accessors
Ronald Oussoren wrote:
Decorators like endSheetMethod aren't needed for most other methods
because either the method signature is simple (all arguments are
objects, as is the return value), or PyObjC can deduct the correct
method signature from the super class or protocol definitions.
There w
related to sheet callback methods not having a fixed
signature.
On Wed, Jul 23, 2008 at 11:57 AM, Daniel Ashbrook <[EMAIL PROTECTED]> wrote:
I'm working my way through the excellent book "Cocoa Programming for Mac OS
X", but using PyObjC instead of ObjC. For the most part it's
SLog(u'Alert ended')
if choice == NSAlertDefaultReturn:
self._employeeController.remove(None)
Thanks in advance for any hints, whether general or specific!
Daniel Ashbrook
___
Pythonmac-SIG maillist - Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig
14 matches
Mail list logo