[Pythonmac-SIG] Fwd: Re: python appscript is displaying warning/errors sometimes
Bob Ippolito
bob at redivi.com
Thu Jun 29 02:47:34 CEST 2006
You have some kind of haxie-like-thing (an InputManager maybe)
installed. That haxie is broken and causing those messages.
Nothing to see here, not a bug in appscript or Python.
-bob
On Jun 28, 2006, at 5:42 PM, Jordan Breeding wrote:
> Okay, so this is going to be a bit long, I didn't know if you would
> want the short stack trace or the full stack trace so I will just
> put the full one. To reproduce the problem I ran my script with a
> certain track list, the program completed and never triggered the
> breakpoint. Then I cleared all of the transfered files, reset
> everything on the iTunes side and started it again. It got to
> generating the end of the first file, and right before starting to
> generate the second zip file the breakpoint triggered, here is the
> backtrace:
>
> Breakpoint 1, 0x92a0abac in _NSAutoreleaseNoPool ()
> (gdb) bt full
> #0 0x92a0abac in _NSAutoreleaseNoPool ()
> No symbol table info available.
> #1 0x9291c4c0 in -[NSObject autorelease] ()
> No symbol table info available.
> #2 0x9292fedc in _NSSoftLinkingLoadFrameworkImage ()
> No symbol table info available.
> #3 0x9292fe44 in _NSSoftLinkingGetFrameworkFuncPtr ()
> No symbol table info available.
> #4 0x9292fda4 in _NS_AEInstallEventHandler ()
> No symbol table info available.
> #5 0x9292fad0 in -[NSAppleEventManager
> setEventHandler:andSelector:forEventClass:andEventID:] ()
> No symbol table info available.
> #6 0x059be320 in DFPatch::Initialize ()
> No symbol table info available.
> #7 0x059c9c30 in SCPatchInit ()
> No symbol table info available.
> #8 0x0141455c in SCLoadPatchBundle ()
> No symbol table info available.
> #9 0x01415438 in BundleLoader::ReceiveMessage ()
> No symbol table info available.
> #10 0x0141512c in SCPatchMessenger::ReceiveCallback ()
> No symbol table info available.
> #11 0x90823104 in __CFMessagePortPerform ()
> No symbol table info available.
> #12 0x907e9734 in __CFRunLoopDoSource1 ()
> No symbol table info available.
> #13 0x907dbe4c in __CFRunLoopRun ()
> No symbol table info available.
> #14 0x907db47c in CFRunLoopRunSpecific ()
> No symbol table info available.
> #15 0x931e6740 in RunCurrentEventLoopInMode ()
> No symbol table info available.
> #16 0x932cae5c in GetNextEventMatchingMask ()
> No symbol table info available.
> #17 0x932cac10 in WNEInternal ()
> No symbol table info available.
> #18 0x933e3080 in _AEWNE ()
> No symbol table info available.
> #19 0x914fc584 in aeSend ()
> No symbol table info available.
> #20 0x9329438c in AESend ()
> No symbol table info available.
> #21 0x0100ace0 in AEDesc_AESend (_self=0x5b88ae8, _args=0x5b6ee18)
> at src/_AEmodule.c:635
> _save = (PyThreadState *) 0x600230
> _res = (PyObject *) 0x0
> _err = 103
> reply = {
> descriptorType = 1634039412,
> dataHandle = 0x67ed94
> }
> sendMode = 3
> sendPriority = 0
> timeOutInTicks = -1
> #22 0x0028b7fc in PyEval_EvalFrame (f=0x606ab0) at /Volumes/Data/
> Users/ronald/Universal/python24-fat/Python/ceval.c:3563
> callargs = (PyObject *) 0x5b6ee18
> tstate = (PyThreadState *) 0x600230
> pfunc = (PyObject **) 0x606c10
> w = (PyObject *) 0x6cfe80
> sp = (PyObject **) 0x606c14
> stack_pointer = (PyObject **) 0x3
> next_instr = (unsigned char *) 0x9291c4c0 "\200\001"
> opcode = 6292016
> oparg = 6319120
> why = WHY_NOT
> err = 0
> x = (PyObject *) 0x3
> v = (PyObject *) 0x5b06d28
> w = (PyObject *) 0x600230
> u = (PyObject *) 0x6cfe80
> t = (PyObject *) 0x600230
> stream = (PyObject *) 0x5b06d28
> fastlocals = (PyObject **) 0x606bfc
> freevars = (PyObject **) 0x606c10
> retval = (PyObject *) 0x0
> tstate = (PyThreadState *) 0x600230
> co = (PyCodeObject *) 0xddb20
> instr_ub = -1
> instr_lb = 0
> instr_prev = -1
> first_instr = (unsigned char *) 0x67e44 "t"
> names = (PyObject *) 0xdc260
> consts = (PyObject *) 0xdb1b8
> #23 0x0028b984 in PyEval_EvalFrame (f=0x613b00) at /Volumes/Data/
> Users/ronald/Universal/python24-fat/Python/ceval.c:3645
> f = (PyFrameObject *) 0x606ab0
> tstate = (PyThreadState *) 0x600230
> fastlocals = (PyObject **) 0x9291c4c0
> stack = (PyObject **) 0xa291b704
> co = (PyCodeObject *) 0x6cfe80
> nd = -1835940672
> globals = (PyObject *) 0x68
> argdefs = (PyObject *) 0x90a3c628
> d = (PyObject **) 0x90a3c628
> n = 2
> pfunc = (PyObject **) 0x613c60
> w = (PyObject *) 0x6cfe80
> sp = (PyObject **) 0x613c6c
> stack_pointer = (PyObject **) 0x2
> next_instr = (unsigned char *) 0x9291c4c0 "\200\001"
> opcode = 6292016
> oparg = 6372448
> why = WHY_NOT
> err = 0
> x = (PyObject *) 0x2
> v = (PyObject *) 0x594830
> w = (PyObject *) 0x600230
> u = (PyObject *) 0x6cfe80
> t = (PyObject *) 0x600230
> stream = (PyObject *) 0x594830
> fastlocals = (PyObject **) 0x613c4c
> freevars = (PyObject **) 0x613c60
> retval = (PyObject *) 0x0
> tstate = (PyThreadState *) 0x600230
> co = (PyCodeObject *) 0x591ee0
> instr_ub = -1
> instr_lb = 0
> instr_prev = -1
> first_instr = (unsigned char *) 0x631f54 "t"
> names = (PyObject *) 0xade40
> consts = (PyObject *) 0xddab0
> #24 0x0028b984 in PyEval_EvalFrame (f=0x614ba0) at /Volumes/Data/
> Users/ronald/Universal/python24-fat/Python/ceval.c:3645
> f = (PyFrameObject *) 0x613b00
> tstate = (PyThreadState *) 0x600230
> fastlocals = (PyObject **) 0x9291c4c0
> stack = (PyObject **) 0xa291b704
> co = (PyCodeObject *) 0x6cfe80
> nd = -1835940672
> globals = (PyObject *) 0x68
> argdefs = (PyObject *) 0x90a3c628
> d = (PyObject **) 0x90a3c628
> n = 1
> pfunc = (PyObject **) 0x614d00
> w = (PyObject *) 0x6cfe80
> sp = (PyObject **) 0x614d08
> stack_pointer = (PyObject **) 0x1
> next_instr = (unsigned char *) 0x9291c4c0 "\200\001"
> opcode = 6292016
> oparg = 6376704
> why = WHY_NOT
> err = 0
> x = (PyObject *) 0x1
> v = (PyObject *) 0x5947b0
> w = (PyObject *) 0x600230
> u = (PyObject *) 0x6cfe80
> t = (PyObject *) 0x600230
> stream = (PyObject *) 0x5947b0
> fastlocals = (PyObject **) 0x614cec
> freevars = (PyObject **) 0x614d00
> retval = (PyObject *) 0x0
> tstate = (PyThreadState *) 0x600230
> co = (PyCodeObject *) 0xd9460
> instr_ub = -1
> instr_lb = 0
> instr_prev = -1
> first_instr = (unsigned char *) 0xbc9b4 "|\004"
> names = (PyObject *) 0xa9c48
> consts = (PyObject *) 0xd7c88
> #25 0x0028da5c in PyEval_EvalCodeEx (co=0xd9460,
> globals=0xa293ab98, locals=0x9291c4c0, args=0x614d00, argcount=3,
> kws=0x1, kwcount=1, defs=0xda3cc, defcount=4, closure=0x0) at /
> Volumes/Data/Users/ronald/Universal/python24-fat/Python/ceval.c:2736
> f = (PyFrameObject *) 0x614ba0
> retval = (PyObject *) 0xda3dc
> fastlocals = (PyObject **) 0x614cec
> freevars = (PyObject **) 0x614d00
> tstate = (PyThreadState *) 0x600230
> x = (PyObject *) 0x6661f0
> u = (PyObject *) 0xda3dc
> defcount = 4
> closure = (PyObject *) 0x0
> #26 0x0022bf40 in function_call (func=0x596170, arg=0x5b760d0,
> kw=0x1) at /Volumes/Data/Users/ronald/Universal/python24-fat/
> Objects/funcobject.c:548
> result = (PyObject *) 0xd9460
> argdefs = (PyObject *) 0xd9460
> d = (PyObject **) 0xda3cc
> k = (PyObject **) 0x696280
> nk = 1
> nd = 4
> #27 0x0020d5a4 in PyObject_Call (func=0x6cfe80, arg=0xa293ab98,
> kw=0x68) at /Volumes/Data/Users/ronald/Universal/python24-fat/
> Objects/abstract.c:1795
> result = (PyObject *) 0x5b760d0
> call = (ternaryfunc) 0x9291c4c0 <-[NSObject autorelease]+24>
> #28 0x00217324 in instancemethod_call (func=0x6cfe80,
> arg=0x5b760d0, kw=0x5b8f150) at /Volumes/Data/Users/ronald/
> Universal/python24-fat/Objects/classobject.c:2447
> self = (PyObject *) 0x5b6eee0
> class = (PyObject *) 0x2
> result = (PyObject *) 0x5b6eee0
> #29 0x0020d5a4 in PyObject_Call (func=0x6cfe80, arg=0xa293ab98,
> kw=0x68) at /Volumes/Data/Users/ronald/Universal/python24-fat/
> Objects/abstract.c:1795
> result = (PyObject *) 0x104abc0
> call = (ternaryfunc) 0x9291c4c0 <-[NSObject autorelease]+24>
> #30 0x00286578 in PyEval_CallObjectWithKeywords (func=0xaf710,
> arg=0x104abc0, kw=0x5b8f150) at /Volumes/Data/Users/ronald/
> Universal/python24-fat/Python/ceval.c:3430
> result = (PyObject *) 0x5b8f150
> #31 0x00219b88 in PyInstance_New (klass=0x6cfe80, arg=0x104abc0,
> kw=0x5b8f150) at /Volumes/Data/Users/ronald/Universal/python24-fat/
> Objects/classobject.c:575
> res = (PyObject *) 0xaf710
> inst = (PyInstanceObject *) 0x5b6eee0
> init = (PyObject *) 0xaf710
> initstr = (PyObject *) 0x5680
> #32 0x0020d5a4 in PyObject_Call (func=0x6cfe80, arg=0xa293ab98,
> kw=0x68) at /Volumes/Data/Users/ronald/Universal/python24-fat/
> Objects/abstract.c:1795
> result = (PyObject *) 0x104abc0
> call = (ternaryfunc) 0x9291c4c0 <-[NSObject autorelease]+24>
> #33 0x0028ba98 in PyEval_EvalFrame (f=0x180be10) at /Volumes/Data/
> Users/ronald/Universal/python24-fat/Python/ceval.c:3771
> callargs = (PyObject *) 0x104abc0
> kwdict = (PyObject *) 0x5b8f150
> nk = 96006480
> func = (PyObject *) 0x1042060
> pfunc = (PyObject **) 0x180bf88
> w = (PyObject *) 0x6cfe80
> sp = (PyObject **) 0x180bf8c
> stack_pointer = (PyObject **) 0x2
> next_instr = (unsigned char *) 0x9291c4c0 "\200\001"
> opcode = 96006480
> oparg = 25214856
> why = WHY_NOT
> err = 0
> x = (PyObject *) 0x2
> v = (PyObject *) 0x1042060
> w = (PyObject *) 0x5b8f150
> u = (PyObject *) 0x6cfe80
> t = (PyObject *) 0x5b8f150
> stream = (PyObject *) 0x1042060
> fastlocals = (PyObject **) 0x180bf5c
> freevars = (PyObject **) 0x180bf88
> retval = (PyObject *) 0x0
> tstate = (PyThreadState *) 0x600230
> co = (PyCodeObject *) 0xc5ae0
> instr_ub = -1
> instr_lb = 0
> instr_prev = -1
> first_instr = (unsigned char *) 0x623394 "t"
> names = (PyObject *) 0xdb58
> consts = (PyObject *) 0xc65a0
> #34 0x0028da5c in PyEval_EvalCodeEx (co=0xc5ae0,
> globals=0xa293ab98, locals=0x9291c4c0, args=0x180bf74, argcount=2,
> kws=0x0, kwcount=0, defs=0x105a6fc, defcount=5, closure=0x0) at /
> Volumes/Data/Users/ronald/Universal/python24-fat/Python/ceval.c:2736
> f = (PyFrameObject *) 0x180be10
> retval = (PyObject *) 0x105a710
> fastlocals = (PyObject **) 0x180bf5c
> freevars = (PyObject **) 0x180bf88
> tstate = (PyThreadState *) 0x600230
> x = (PyObject *) 0x6661f0
> u = (PyObject *) 0x105a710
> defcount = 5
> closure = (PyObject *) 0x0
> #35 0x0022bf40 in function_call (func=0x105f8b0, arg=0x5b06cd8,
> kw=0x0) at /Volumes/Data/Users/ronald/Universal/python24-fat/
> Objects/funcobject.c:548
> result = (PyObject *) 0xc5ae0
> argdefs = (PyObject *) 0xc5ae0
> d = (PyObject **) 0x105a6fc
> k = (PyObject **) 0x0
> nk = 0
> nd = 5
> #36 0x0020d5a4 in PyObject_Call (func=0x6cfe80, arg=0xa293ab98,
> kw=0x68) at /Volumes/Data/Users/ronald/Universal/python24-fat/
> Objects/abstract.c:1795
> result = (PyObject *) 0x5b06cd8
> call = (ternaryfunc) 0x9291c4c0 <-[NSObject autorelease]+24>
> #37 0x00217324 in instancemethod_call (func=0x6cfe80,
> arg=0x5b06cd8, kw=0x0) at /Volumes/Data/Users/ronald/Universal/
> python24-fat/Objects/classobject.c:2447
> self = (PyObject *) 0x5b095d0
> class = (PyObject *) 0x1
> result = (PyObject *) 0x5b095d0
> #38 0x0020d5a4 in PyObject_Call (func=0x6cfe80, arg=0xa293ab98,
> kw=0x68) at /Volumes/Data/Users/ronald/Universal/python24-fat/
> Objects/abstract.c:1795
> result = (PyObject *) 0xaf6e8
> call = (ternaryfunc) 0x9291c4c0 <-[NSObject autorelease]+24>
> #39 0x00259730 in slot_tp_init (self=0x6cfe80, args=0x5b095b0,
> kwds=0x0) at /Volumes/Data/Users/ronald/Universal/python24-fat/
> Objects/typeobject.c:4759
> init_str = (PyObject *) 0x5680
> meth = (PyObject *) 0xaf6e8
> res = (PyObject *) 0x5b095b0
> #40 0x0025c428 in type_call (type=0x63f9b0, args=0x5b095b0,
> kwds=0x0) at /Volumes/Data/Users/ronald/Universal/python24-fat/
> Objects/typeobject.c:435
> obj = (PyObject *) 0x5b095d0
> #41 0x0020d5a4 in PyObject_Call (func=0x6cfe80, arg=0xa293ab98,
> kw=0x68) at /Volumes/Data/Users/ronald/Universal/python24-fat/
> Objects/abstract.c:1795
> result = (PyObject *) 0x5b095b0
> call = (ternaryfunc) 0x9291c4c0 <-[NSObject autorelease]+24>
> #42 0x0028ba98 in PyEval_EvalFrame (f=0x6c8f20) at /Volumes/Data/
> Users/ronald/Universal/python24-fat/Python/ceval.c:3771
> callargs = (PyObject *) 0x5b095b0
> kwdict = (PyObject *) 0x0
> nk = 0
> func = (PyObject *) 0x63f9b0
> pfunc = (PyObject **) 0x6c9074
> w = (PyObject *) 0x6cfe80
> sp = (PyObject **) 0x6c9078
> stack_pointer = (PyObject **) 0x1
> next_instr = (unsigned char *) 0x9291c4c0 "\200\001"
> opcode = 0
> oparg = 7114868
> why = WHY_NOT
> err = 0
> x = (PyObject *) 0x1
> v = (PyObject *) 0x63f9b0
> w = (PyObject *) 0x0
> u = (PyObject *) 0x6cfe80
> t = (PyObject *) 0x0
> stream = (PyObject *) 0x63f9b0
> fastlocals = (PyObject **) 0x6c906c
> freevars = (PyObject **) 0x6c9074
> retval = (PyObject *) 0x0
> tstate = (PyThreadState *) 0x600230
> co = (PyCodeObject *) 0xe1b20
> instr_ub = -1
> instr_lb = 0
> instr_prev = -1
> first_instr = (unsigned char *) 0x4b544 "t"
> names = (PyObject *) 0x50ea0
> consts = (PyObject *) 0xe1af0
> #43 0x0028b984 in PyEval_EvalFrame (f=0x608800) at /Volumes/Data/
> Users/ronald/Universal/python24-fat/Python/ceval.c:3645
> f = (PyFrameObject *) 0x6c8f20
> tstate = (PyThreadState *) 0x600230
> fastlocals = (PyObject **) 0x9291c4c0
> stack = (PyObject **) 0xa291b704
> co = (PyCodeObject *) 0x6cfe80
> nd = -1835940672
> globals = (PyObject *) 0x68
> argdefs = (PyObject *) 0x90a3c628
> d = (PyObject **) 0x90a3c628
> n = 2
> pfunc = (PyObject **) 0x608950
> w = (PyObject *) 0x6cfe80
> sp = (PyObject **) 0x60895c
> stack_pointer = (PyObject **) 0x2
> next_instr = (unsigned char *) 0x9291c4c0 "\200\001"
> opcode = 6292016
> oparg = 6326608
> why = WHY_NOT
> err = 0
> x = (PyObject *) 0x2
> v = (PyObject *) 0x105fb70
> w = (PyObject *) 0x600230
> u = (PyObject *) 0x6cfe80
> t = (PyObject *) 0x600230
> stream = (PyObject *) 0x105fb70
> fastlocals = (PyObject **) 0x60894c
> freevars = (PyObject **) 0x60894c
> retval = (PyObject *) 0x0
> tstate = (PyThreadState *) 0x600230
> co = (PyCodeObject *) 0xe1da0
> instr_ub = -1
> instr_lb = 0
> instr_prev = -1
> first_instr = (unsigned char *) 0x184c414 "d"
> names = (PyObject *) 0x1840610
> consts = (PyObject *) 0x60ad60
> #44 0x0028da5c in PyEval_EvalCodeEx (co=0xe1da0,
> globals=0xa293ab98, locals=0x9291c4c0, args=0x0, argcount=0,
> kws=0x0, kwcount=0, defs=0x0, defcount=0, closure=0x0) at /Volumes/
> Data/Users/ronald/Universal/python24-fat/Python/ceval.c:2736
> f = (PyFrameObject *) 0x608800
> retval = (PyObject *) 0x0
> fastlocals = (PyObject **) 0x60894c
> freevars = (PyObject **) 0x60894c
> tstate = (PyThreadState *) 0x600230
> x = (PyObject *) 0x6661f0
> u = (PyObject *) 0x0
> defcount = 0
> closure = (PyObject *) 0x0
> #45 0x0028dbe4 in PyEval_EvalCode (co=0x6cfe80, globals=0xa293ab98,
> locals=0x68) at /Volumes/Data/Users/ronald/Universal/python24-fat/
> Python/ceval.c:484
> No locals.
> #46 0x002b5ba8 in PyRun_FileExFlags (fp=0xa000db44,
> filename=0xbffff809 "/Users/jordan/ruby_testing/
> archive_and_send_appscript_alternate_local.py", start=-1602514356,
> globals=0x1fa50, locals=0x1fa50, closeit=1, flags=0xe1da0) at /
> Volumes/Data/Users/ronald/Universal/python24-fat/Python/pythonrun.c:
> 1265
> co = (PyCodeObject *) 0xe1da0
> v = (PyObject *) 0xe230
> n = (node *) 0xe230
> #47 0x002b5dbc in PyRun_SimpleFileExFlags (fp=0xa000db44,
> filename=0xbffff809 "/Users/jordan/ruby_testing/
> archive_and_send_appscript_alternate_local.py", closeit=1,
> flags=0xbffff54c) at /Volumes/Data/Users/ronald/Universal/python24-
> fat/Python/pythonrun.c:860
> d = (PyObject *) 0x1fa50
> v = (PyObject *) 0x0
> ext = 0xbffff84d "l.py"
> #48 0x002c0bfc in Py_Main (argc=-2147483648, argv=0xbffff6b0) at /
> Volumes/Data/Users/ronald/Universal/python24-fat/Modules/main.c:501
> c = 7143040
> sts = -1610605668
> command = 0x0
> filename = 0xa293ab98 "\220?\200\b\220?H\224\220?\\\210\220?
> \222?\220??"
> module = 0x0
> fp = (FILE *) 0xa000db44
> p = 0x6cfe80 "?{\226t"
> inspect = 0
> unbuffered = 3211608
> skipfirstline = 0
> stdin_is_interactive = 1
> help = -1073743863
> version = 1
> saw_inspect_flag = 536870912
> saw_unbuffered_flag = -1073744564
> cf = {
> cf_flags = 0
> }
> #49 0x0000257c in _call_objcInit () at /SourceCache/Csu/Csu-58/
> crt.c:361
> i = 3221223100
> count = 3221223088
> _dyld_image_count_fn = (unsigned int (*)()) 0x8fe07364
> <__dyld__Z20_dyld_mod_term_funcsv>
> _dyld_get_image_name_fn = (const char *(*)()) 0
> _dyld_get_image_header_fn = (const void *(*)()) 0
> NSLookupSymbolInImage_fn = (const void *(*)()) 0
> NSAddressOfSymbol_fn = (void *(*)()) 0xbffff6a8
> #50 0x00002424 in _start (argc=2, argv=0xbffff6b0, envp=0xbffff6bc)
> at /SourceCache/Csu/Csu-58/crt.c:205
> p = 0xa291b704 "\220"
> q = (char **) 0xffffffff
> term = (void (*)()) 0
> (gdb)
>
> On Jun 28, 2006, at 15:23 , Bob Ippolito wrote:
>
>> I don't see anything in this script that could directly cause
>> those warnings. It's got to be something in appscript calls into...
>>
>> If you run it under GDB with a breakpoint on _NSAutoreleaseNoPool
>> you might be able to track it down. If you could reproduce the
>> issue in such a way that it was easy to reproduce then someone
>> else would probably look at it, but in its current state I don't
>> think this script is going to work very well on anyone else's
>> machine.
>>
>> CoreFoundation doesn't have autorelease pools and could never
>> trigger this message on its own. There *must* be some Foundation-
>> based Objective-C code involved somewhere along the way. No such
>> code is in Python, but it's possible that there is some such
>> dependency in something appscript is using.
>>
>> -bob
>>
>> On Jun 28, 2006, at 12:26 PM, Jordan Breeding wrote:
>>
>>> Okay, I am attaching a copy of the current script. Usernames,
>>> passwords, and email addresses have been replaced with "****".
>>> This code might be a little rough, probably looks like c++
>>> instead of pure python, etc. But it does work except for that I
>>> get those errors from time to time. I seem to get the errors
>>> regardless of whether I call python or pythonw. I am using the
>>> latest appscript (appscript installer 1.3.2) and Universal Python
>>> 2.4.3. Thanks for any help tracking down why these errors/
>>> warnings occur.
>>>
>>> Jordan
>>>
>>> On Wednesday, June 28, 2006, at 02:01PM, Bob Ippolito
>>> <bob at redivi.com> wrote:
>>>
>>>> pythonw is and always has been a stub that launches a regular
>>>> python
>>>> interpreter. There is nothing special about it except for the path
>>>> the regular interpreter is located at. The only thing it can do is
>>>> enable WindowServer access; it shouldn't ever cause any issues
>>>> (especially of this sort). In other words, it is absolutely not
>>>> your
>>>> problem.
>>>>
>>>> The script isn't attached. I doubt anyone will be able to help
>>>> you on
>>>> this without source code. You are correct about the message's
>>>> meaning, but without source the cause can't be determined.
>>>>
>>>> -bob
>>>>
>>>> On Jun 28, 2006, at 11:44 AM, Jordan Breeding wrote:
>>>>
>>>>> Hello,
>>>>>
>>>>> Do you think that the Python 2.4.3 Universal build could be having
>>>>> this effect with python and pythonw now combined? I don't see
>>>>> these messages all of the time but when I do it is a block of
>>>>> about
>>>>> 10 or so of them, and I usually only get the messages once per run
>>>>> of a script even when they do show up. I tried googling around
>>>>> and
>>>>> it seems like this message means something was marked autorelease
>>>>> in Cocoa somewhere but without a pool in place. Please let me
>>>>> know
>>>>> if you think you know what is going on but need more information.
>>>>> The problem might also be present in the 2.5b1 Universal, don't
>>>>> know yet because I don't have an appscript module for python built
>>>>> yet that will work with 2.5b1.
>>>>>
>>>>> Thanks,
>>>>> Jordan
>>>>>
>>>>> From: has <has.temp3 at virgin.net>
>>>>> To: Jordan Breeding <jordan.breeding at mac.com>
>>>>> Date: Wed Jun 28, 2006 11:31:03 AM CDT
>>>>> Subject: Re: python appscript is displaying warning/errors
>>>>> sometimes
>>>>>
>>>>> Hi,
>>>>>
>>>>>> I am using appscript in python to do some various tasks in
>>>>>> iTunes.
>>>>>> The scripts are organized by task. One of the scripts makes some
>>>>>> zip files based on a playlist and then sends them. The problem I
>>>>>> have is that while the script does compete all of its takes I get
>>>>>> this set of messages sometimes:
>>>>>>
>>>>>> 2006-06-21 09:23:26.019 Python[21992] *** _NSAutoreleaseNoPool():
>>>>>> Object 0x6fa480 of class NSCFString autoreleased with no pool in
>>>>>> place - just leaking
>>>>>> ...
>>>>>>
>>>>>> I am attaching a copy of the script with servernames, usernames,
>>>>>> and passwords blanked out. I know it probably isn't the greatest
>>>>>> code in the world but it seems to get the job done and I was just
>>>>>> wondering if you could easily spot the place that is leaking.
>>>>>
>>>>> Hmm, dunno; not very good on that stuff. If I had to guess, I'd
>>>>> say
>>>>> check the interpreter; I think it was rewritten recently to
>>>>> eliminate
>>>>> the python/pythonw dichotomy. I don't think any of the modules in
>>>>> your script are using Cocoa/CoreFoundation. Sorry I can't be more
>>>>> helpful.
>>>>>
>>>>> Regards,
>>>>>
>>>>> has
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> Pythonmac-SIG maillist - Pythonmac-SIG at python.org
>>>>> http://mail.python.org/mailman/listinfo/pythonmac-sig
>>>>
>>>>
>>>>
>>>> <archive_and_send.py>
>>
>
More information about the Pythonmac-SIG
mailing list