From Jack.Jansen at cwi.nl Thu Feb 2 10:22:07 2017 From: Jack.Jansen at cwi.nl (Jack Jansen) Date: Thu, 2 Feb 2017 16:22:07 +0100 Subject: [Pythonmac-SIG] py2app .app crashes... but only when downloaded (quarantine) In-Reply-To: References: Message-ID: If I look at the stack trace (for thread 0, the thread that crashes) it seems that there?s a dialog posted from the mainline code (stack frames 29/30). This may be the thing that only happens because of the quarantaine, but I guess you?ll know that better. From there, a temporary runloop is created to handle the interaction with the dialog (around frame 19), which trigger TclTk handlers (frame 15), which call back into Python (frame 4), which aborts (frame 3). The latter probably because the thread state hasn?t been initialized yet, or something like that. My guess is that this could be caused by some early dialog that triggers a bug in your initialization code, or more precisely: the order in which you initialize things. But really: I?m only guessing here, in the hope it?ll give you an ?Aha!? moment:-) Jack > On 30 Jan 2017, at 20:14, David A. Riggs wrote: > > I've got a bizarre issue here. I've built a .app with py2app 0.10 on my OS X 10.9.5 machine using python.org Python 2.7.12. It's a Tkinter application, with a relatively simple `setup.py`. The .app works beautifully when I build it and double-click it locally, and when I "sneaker net" it to a 10.10.5 non-development Mac. > > However, if I *download* the exact same file from the Internet, Apple's Gatekeeper says that this "is an application downloaded from the Internet. Are you sure you want to open it?" When I click "Open", my Tkinter GUI very briefly appears, and then CRASH. > > When I double-click the downloaded version a second time (after its first crash), it seem to work fine. Presumably OS X is clearing the com.apple.quarantine attribute during the failed first run? > > Does anyone have a clue as to what could be causing this quarantine-related 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 > > > Crash diagnostics: > > > Process: Myotisoft Transect 1.1.4 [6331] > Path: /Users/USER/Downloads/Myotisoft Transect 1.1.4.app/Contents/MacOS/Myotisoft Transect 1.1.4 > Identifier: com.myotisoft.transect > Version: 1.1.4 (1.1.4) > Code Type: X86-64 (Native) > Parent Process: launchd [273] > Responsible: Myotisoft Transect 1.1.4 [6331] > User ID: 501 > > Date/Time: 2017-01-26 21:55:33.906 -0800 > OS Version: Mac OS X 10.9.5 (13F34) > Report Version: 11 > Anonymous UUID: 4FDDD4D4-D605-83FC-F213-CE2AC888F9D2 > > Sleep/Wake UUID: BB7BD922-CCB7-4B40-B294-2A8709CE2CFF > > Crashed Thread: 0 Dispatch queue: com.apple.main-thread > > Exception Type: EXC_CRASH (SIGABRT) > Exception Codes: 0x0000000000000000, 0x0000000000000000 > > Application Specific Information: > abort() called > > Thread 0 Crashed:: Dispatch queue: com.apple.main-thread > 0 libsystem_kernel.dylib 0x00007fff8ccd6866 __pthread_kill + 10 > 1 libsystem_pthread.dylib 0x00007fff8d4b335c pthread_kill + 92 > 2 libsystem_c.dylib 0x00007fff89b04b1a abort + 125 > 3 org.python.python 0x00000001006e9ed1 Py_FatalError + 49 > 4 org.python.python 0x00000001006ba96f PyEval_RestoreThread + 95 > 5 _tkinter.so 0x0000000102a357b3 Tkapp_CallDeallocArgs + 9523 > 6 Tcl 0x0000000102a4c786 TclInvokeStringCommand + 124 > 7 Tcl 0x0000000102a4dab6 0x102a40000 + 55990 > 8 Tcl 0x0000000102a8dd6a 0x102a40000 + 318826 > 9 Tcl 0x0000000102a91dbc 0x102a40000 + 335292 > 10 Tcl 0x0000000102a4f73f TclEvalObjEx + 422 > 11 Tcl 0x0000000102ad0f92 0x102a40000 + 593810 > 12 Tcl 0x0000000102ad1192 0x102a40000 + 594322 > 13 Tcl 0x0000000102ab7a14 Tcl_ServiceEvent + 140 > 14 Tcl 0x0000000102ab7dd1 Tcl_ServiceAll + 173 > 15 Tcl 0x0000000102ae64bd 0x102a40000 + 681149 > 16 com.apple.CoreFoundation 0x00007fff8b433d67 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 23 > 17 com.apple.CoreFoundation 0x00007fff8b433cd7 __CFRunLoopDoObservers + 391 > 18 com.apple.CoreFoundation 0x00007fff8b425493 __CFRunLoopRun + 995 > 19 com.apple.CoreFoundation 0x00007fff8b424e75 CFRunLoopRunSpecific + 309 > 20 com.apple.HIToolbox 0x00007fff92fa5a0d RunCurrentEventLoopInMode + 226 > 21 com.apple.HIToolbox 0x00007fff92fa57b7 ReceiveNextEventCommon + 479 > 22 com.apple.HIToolbox 0x00007fff92fa55bc _BlockUntilNextEventMatchingListInModeWithFilter + 65 > 23 com.apple.AppKit 0x00007fff9020a24e _DPSNextEvent + 1434 > 24 com.apple.AppKit 0x00007fff9020989b -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 122 > 25 Tk 0x0000000102bdba2a 0x102b25000 + 748074 > 26 com.apple.AppKit 0x00007fff90568e2e -[NSApplication _realDoModalLoop:peek:] + 642 > 27 com.apple.AppKit 0x00007fff9056754e -[NSApplication runModalForWindow:] + 117 > 28 com.apple.AppKit 0x00007fff905978a2 _NXDoLocalRunAlertPanel + 427 > 29 com.apple.AppKit 0x00007fff905976df NSRunAlertPanel + 157 > 30 com.myotisoft.transect 0x0000000100004009 0x100000000 + 16393 > 31 com.myotisoft.transect 0x00000001000013ff main + 1375 > 32 com.myotisoft.transect 0x0000000100000ce4 start + 52 > > Thread 1: > 0 libsystem_kernel.dylib 0x00007fff8ccd6e6a __workq_kernreturn + 10 > 1 libsystem_pthread.dylib 0x00007fff8d4b3f08 _pthread_wqthread + 330 > 2 libsystem_pthread.dylib 0x00007fff8d4b6fb9 start_wqthread + 13 > > Thread 2:: Dispatch queue: com.apple.libdispatch-manager > 0 libsystem_kernel.dylib 0x00007fff8ccd7662 kevent64 + 10 > 1 libdispatch.dylib 0x00007fff92ce1421 _dispatch_mgr_invoke + 239 > 2 libdispatch.dylib 0x00007fff92ce1136 _dispatch_mgr_thread + 52 > > Thread 3: > 0 libsystem_kernel.dylib 0x00007fff8ccd6e6a __workq_kernreturn + 10 > 1 libsystem_pthread.dylib 0x00007fff8d4b3f08 _pthread_wqthread + 330 > 2 libsystem_pthread.dylib 0x00007fff8d4b6fb9 start_wqthread + 13 > > Thread 4: > 0 libsystem_kernel.dylib 0x00007fff8ccd6e6a __workq_kernreturn + 10 > 1 libsystem_pthread.dylib 0x00007fff8d4b3f08 _pthread_wqthread + 330 > 2 libsystem_pthread.dylib 0x00007fff8d4b6fb9 start_wqthread + 13 > > Thread 5: > 0 libsystem_kernel.dylib 0x00007fff8ccd6e6a __workq_kernreturn + 10 > 1 libsystem_pthread.dylib 0x00007fff8d4b3f08 _pthread_wqthread + 330 > 2 libsystem_pthread.dylib 0x00007fff8d4b6fb9 start_wqthread + 13 > > Thread 6: > 0 libsystem_kernel.dylib 0x00007fff8ccd69aa __select + 10 > 1 Tcl 0x0000000102ae77e9 0x102a40000 + 686057 > 2 libsystem_pthread.dylib 0x00007fff8d4b2899 _pthread_body + 138 > 3 libsystem_pthread.dylib 0x00007fff8d4b272a _pthread_start + 137 > 4 libsystem_pthread.dylib 0x00007fff8d4b6fc9 thread_start + 13 > > Thread 7:: com.apple.appkit-heartbeat > 0 libsystem_kernel.dylib 0x00007fff8ccd6a3a __semwait_signal + 10 > 1 libsystem_c.dylib 0x00007fff89b23dc0 nanosleep + 200 > 2 libsystem_c.dylib 0x00007fff89b23cb2 usleep + 54 > 3 com.apple.AppKit 0x00007fff9046e17d -[NSUIHeartBeat _heartBeatThread:] + 2132 > 4 com.apple.Foundation 0x00007fff93f0cdfb __NSThread__main__ + 1318 > 5 libsystem_pthread.dylib 0x00007fff8d4b2899 _pthread_body + 138 > 6 libsystem_pthread.dylib 0x00007fff8d4b272a _pthread_start + 137 > 7 libsystem_pthread.dylib 0x00007fff8d4b6fc9 thread_start + 13 > > Thread 0 crashed with X86 Thread State (64-bit): > rax: 0x0000000000000000 rbx: 0x00007fff7a160310 rcx: 0x00007fff5fbfb7b8 rdx: 0x0000000000000000 > rdi: 0x0000000000000707 rsi: 0x0000000000000006 rbp: 0x00007fff5fbfb7e0 rsp: 0x00007fff5fbfb7b8 > r8: 0x0000000000000040 r9: 0x00007fff5fbfb700 r10: 0x0000000008000000 r11: 0x0000000000000206 > r12: 0x0000000000000000 r13: 0x0000000000000001 r14: 0x0000000000000006 r15: 0x00000001031516a0 > rip: 0x00007fff8ccd6866 rfl: 0x0000000000000206 cr2: 0x0000000107e22100 > > Logical CPU: 0 > Error Code: 0x02000148 > Trap Number: 133 > > > > -- > David A. Riggs > > _______________________________________________ > Pythonmac-SIG maillist - Pythonmac-SIG at python.org > https://mail.python.org/mailman/listinfo/pythonmac-sig > unsubscribe: https://mail.python.org/mailman/options/Pythonmac-SIG -- Jack Jansen, , http://www.cwi.nl/~jack If I can't dance I don't want to be part of your revolution -- Emma Goldman From barry at barrys-emacs.org Thu Feb 2 09:43:52 2017 From: barry at barrys-emacs.org (Barry Scott) Date: Thu, 2 Feb 2017 14:43:52 +0000 Subject: [Pythonmac-SIG] Prevent python install editing .bash_profile In-Reply-To: <22ED7962-FB03-48F9-9006-DBDD82F0041B@barrys-emacs.org> References: <1FDFF7B7-89B1-4988-9F84-2A3B953A20EE@barrys-emacs.org> <4E2E30A2-23B5-4723-B486-8C140F4D4EED@mac.com> <22ED7962-FB03-48F9-9006-DBDD82F0041B@barrys-emacs.org> Message-ID: > On 31 Jan 2017, at 21:19, Barry Scott wrote: > > >> On 31 Jan 2017, at 21:08, Ronald Oussoren wrote: >> >> >>> On 28 Jan 2017, at 17:42, Barry Scott wrote: >>> >>> Is it possible to prevent the editing of the shell profile when I install a python kit? >>> >>> I keep having to delete the, unnecessary for me, PATH editing. >> >> The installer has an option for not updating the shell profile: after the ?select a destination? screen you can choose ?customize?, on that screen unselect ?shell profile updater?. > > O.k. I will use that when I update again. Given that /usr/local/bin is on the PATH (as it is in /etc/paths) and the installer links python pip etc into /usr/local/bin why does it need to edit my .bash_profile at all with the long /Library/Frameworks/Python.framework/Versions/3.6/bin/python3.6 paths. Is this a hang over from older macOS versions? Barry From barry at barrys-emacs.org Thu Feb 2 09:47:08 2017 From: barry at barrys-emacs.org (Barry Scott) Date: Thu, 2 Feb 2017 14:47:08 +0000 Subject: [Pythonmac-SIG] py2app .app crashes... but only when downloaded (quarantine) In-Reply-To: References: Message-ID: <18BEBA5F-4CB8-44FB-B6F9-C4823F3DB8E8@barrys-emacs.org> Is there any change if you use the latest py2app 0.11? Barry > On 30 Jan 2017, at 19:14, David A. Riggs wrote: > > I've got a bizarre issue here. I've built a .app with py2app 0.10 on my OS X 10.9.5 machine using python.org Python 2.7.12. It's a Tkinter application, with a relatively simple `setup.py`. The .app works beautifully when I build it and double-click it locally, and when I "sneaker net" it to a 10.10.5 non-development Mac. > > However, if I *download* the exact same file from the Internet, Apple's Gatekeeper says that this "is an application downloaded from the Internet. Are you sure you want to open it?" When I click "Open", my Tkinter GUI very briefly appears, and then CRASH. > > When I double-click the downloaded version a second time (after its first crash), it seem to work fine. Presumably OS X is clearing the com.apple.quarantine attribute during the failed first run? > > Does anyone have a clue as to what could be causing this quarantine-related 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 > > > Crash diagnostics: > > > Process: Myotisoft Transect 1.1.4 [6331] > Path: /Users/USER/Downloads/Myotisoft Transect 1.1.4.app/Contents/MacOS/Myotisoft Transect 1.1.4 > Identifier: com.myotisoft.transect > Version: 1.1.4 (1.1.4) > Code Type: X86-64 (Native) > Parent Process: launchd [273] > Responsible: Myotisoft Transect 1.1.4 [6331] > User ID: 501 > > Date/Time: 2017-01-26 21:55:33.906 -0800 > OS Version: Mac OS X 10.9.5 (13F34) > Report Version: 11 > Anonymous UUID: 4FDDD4D4-D605-83FC-F213-CE2AC888F9D2 > > Sleep/Wake UUID: BB7BD922-CCB7-4B40-B294-2A8709CE2CFF > > Crashed Thread: 0 Dispatch queue: com.apple.main-thread > > Exception Type: EXC_CRASH (SIGABRT) > Exception Codes: 0x0000000000000000, 0x0000000000000000 > > Application Specific Information: > abort() called > > Thread 0 Crashed:: Dispatch queue: com.apple.main-thread > 0 libsystem_kernel.dylib 0x00007fff8ccd6866 __pthread_kill + 10 > 1 libsystem_pthread.dylib 0x00007fff8d4b335c pthread_kill + 92 > 2 libsystem_c.dylib 0x00007fff89b04b1a abort + 125 > 3 org.python.python 0x00000001006e9ed1 Py_FatalError + 49 > 4 org.python.python 0x00000001006ba96f PyEval_RestoreThread + 95 > 5 _tkinter.so 0x0000000102a357b3 Tkapp_CallDeallocArgs + 9523 > 6 Tcl 0x0000000102a4c786 TclInvokeStringCommand + 124 > 7 Tcl 0x0000000102a4dab6 0x102a40000 + 55990 > 8 Tcl 0x0000000102a8dd6a 0x102a40000 + 318826 > 9 Tcl 0x0000000102a91dbc 0x102a40000 + 335292 > 10 Tcl 0x0000000102a4f73f TclEvalObjEx + 422 > 11 Tcl 0x0000000102ad0f92 0x102a40000 + 593810 > 12 Tcl 0x0000000102ad1192 0x102a40000 + 594322 > 13 Tcl 0x0000000102ab7a14 Tcl_ServiceEvent + 140 > 14 Tcl 0x0000000102ab7dd1 Tcl_ServiceAll + 173 > 15 Tcl 0x0000000102ae64bd 0x102a40000 + 681149 > 16 com.apple.CoreFoundation 0x00007fff8b433d67 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 23 > 17 com.apple.CoreFoundation 0x00007fff8b433cd7 __CFRunLoopDoObservers + 391 > 18 com.apple.CoreFoundation 0x00007fff8b425493 __CFRunLoopRun + 995 > 19 com.apple.CoreFoundation 0x00007fff8b424e75 CFRunLoopRunSpecific + 309 > 20 com.apple.HIToolbox 0x00007fff92fa5a0d RunCurrentEventLoopInMode + 226 > 21 com.apple.HIToolbox 0x00007fff92fa57b7 ReceiveNextEventCommon + 479 > 22 com.apple.HIToolbox 0x00007fff92fa55bc _BlockUntilNextEventMatchingListInModeWithFilter + 65 > 23 com.apple.AppKit 0x00007fff9020a24e _DPSNextEvent + 1434 > 24 com.apple.AppKit 0x00007fff9020989b -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 122 > 25 Tk 0x0000000102bdba2a 0x102b25000 + 748074 > 26 com.apple.AppKit 0x00007fff90568e2e -[NSApplication _realDoModalLoop:peek:] + 642 > 27 com.apple.AppKit 0x00007fff9056754e -[NSApplication runModalForWindow:] + 117 > 28 com.apple.AppKit 0x00007fff905978a2 _NXDoLocalRunAlertPanel + 427 > 29 com.apple.AppKit 0x00007fff905976df NSRunAlertPanel + 157 > 30 com.myotisoft.transect 0x0000000100004009 0x100000000 + 16393 > 31 com.myotisoft.transect 0x00000001000013ff main + 1375 > 32 com.myotisoft.transect 0x0000000100000ce4 start + 52 > > Thread 1: > 0 libsystem_kernel.dylib 0x00007fff8ccd6e6a __workq_kernreturn + 10 > 1 libsystem_pthread.dylib 0x00007fff8d4b3f08 _pthread_wqthread + 330 > 2 libsystem_pthread.dylib 0x00007fff8d4b6fb9 start_wqthread + 13 > > Thread 2:: Dispatch queue: com.apple.libdispatch-manager > 0 libsystem_kernel.dylib 0x00007fff8ccd7662 kevent64 + 10 > 1 libdispatch.dylib 0x00007fff92ce1421 _dispatch_mgr_invoke + 239 > 2 libdispatch.dylib 0x00007fff92ce1136 _dispatch_mgr_thread + 52 > > Thread 3: > 0 libsystem_kernel.dylib 0x00007fff8ccd6e6a __workq_kernreturn + 10 > 1 libsystem_pthread.dylib 0x00007fff8d4b3f08 _pthread_wqthread + 330 > 2 libsystem_pthread.dylib 0x00007fff8d4b6fb9 start_wqthread + 13 > > Thread 4: > 0 libsystem_kernel.dylib 0x00007fff8ccd6e6a __workq_kernreturn + 10 > 1 libsystem_pthread.dylib 0x00007fff8d4b3f08 _pthread_wqthread + 330 > 2 libsystem_pthread.dylib 0x00007fff8d4b6fb9 start_wqthread + 13 > > Thread 5: > 0 libsystem_kernel.dylib 0x00007fff8ccd6e6a __workq_kernreturn + 10 > 1 libsystem_pthread.dylib 0x00007fff8d4b3f08 _pthread_wqthread + 330 > 2 libsystem_pthread.dylib 0x00007fff8d4b6fb9 start_wqthread + 13 > > Thread 6: > 0 libsystem_kernel.dylib 0x00007fff8ccd69aa __select + 10 > 1 Tcl 0x0000000102ae77e9 0x102a40000 + 686057 > 2 libsystem_pthread.dylib 0x00007fff8d4b2899 _pthread_body + 138 > 3 libsystem_pthread.dylib 0x00007fff8d4b272a _pthread_start + 137 > 4 libsystem_pthread.dylib 0x00007fff8d4b6fc9 thread_start + 13 > > Thread 7:: com.apple.appkit-heartbeat > 0 libsystem_kernel.dylib 0x00007fff8ccd6a3a __semwait_signal + 10 > 1 libsystem_c.dylib 0x00007fff89b23dc0 nanosleep + 200 > 2 libsystem_c.dylib 0x00007fff89b23cb2 usleep + 54 > 3 com.apple.AppKit 0x00007fff9046e17d -[NSUIHeartBeat _heartBeatThread:] + 2132 > 4 com.apple.Foundation 0x00007fff93f0cdfb __NSThread__main__ + 1318 > 5 libsystem_pthread.dylib 0x00007fff8d4b2899 _pthread_body + 138 > 6 libsystem_pthread.dylib 0x00007fff8d4b272a _pthread_start + 137 > 7 libsystem_pthread.dylib 0x00007fff8d4b6fc9 thread_start + 13 > > Thread 0 crashed with X86 Thread State (64-bit): > rax: 0x0000000000000000 rbx: 0x00007fff7a160310 rcx: 0x00007fff5fbfb7b8 rdx: 0x0000000000000000 > rdi: 0x0000000000000707 rsi: 0x0000000000000006 rbp: 0x00007fff5fbfb7e0 rsp: 0x00007fff5fbfb7b8 > r8: 0x0000000000000040 r9: 0x00007fff5fbfb700 r10: 0x0000000008000000 r11: 0x0000000000000206 > r12: 0x0000000000000000 r13: 0x0000000000000001 r14: 0x0000000000000006 r15: 0x00000001031516a0 > rip: 0x00007fff8ccd6866 rfl: 0x0000000000000206 cr2: 0x0000000107e22100 > > Logical CPU: 0 > Error Code: 0x02000148 > Trap Number: 133 > > > > -- > David A. Riggs > > > _______________________________________________ > Pythonmac-SIG maillist - Pythonmac-SIG at python.org > https://mail.python.org/mailman/listinfo/pythonmac-sig > unsubscribe: https://mail.python.org/mailman/options/Pythonmac-SIG -------------- next part -------------- An HTML attachment was scrubbed... URL: From kw at codebykevin.com Thu Feb 2 20:31:00 2017 From: kw at codebykevin.com (Kevin Walzer) Date: Thu, 2 Feb 2017 20:31:00 -0500 Subject: [Pythonmac-SIG] py2app .app crashes... but only when downloaded (quarantine) In-Reply-To: References: Message-ID: <1d4d425c-7083-6da9-c600-65989de5b6f8@codebykevin.com> On 2/2/17 10:22 AM, Jack Jansen wrote: > My guess is that this could be caused by some early dialog that triggers a bug in your initialization code, or more precisely: the order in which you initialize things. I think Jack's diagnosis is sound. I see you are linking to the system Tk on Mac OS, which is very old and buggy in terms of event loop integration; these kinds of overloads were not uncommon with that version (8.5). Try updating your build to 8.6.6 and see what happens; it's a lot more stable. --Kevin -- Kevin Walzer Code by Kevin/Mobile Code by Kevin http://www.codebykevin.com http://www.wtmobilesoftware.com From ronaldoussoren at mac.com Sun Feb 5 07:16:45 2017 From: ronaldoussoren at mac.com (Ronald Oussoren) Date: Sun, 05 Feb 2017 13:16:45 +0100 Subject: [Pythonmac-SIG] Prevent python install editing .bash_profile In-Reply-To: References: <1FDFF7B7-89B1-4988-9F84-2A3B953A20EE@barrys-emacs.org> <4E2E30A2-23B5-4723-B486-8C140F4D4EED@mac.com> <22ED7962-FB03-48F9-9006-DBDD82F0041B@barrys-emacs.org> Message-ID: > On 2 Feb 2017, at 15:43, Barry Scott > wrote: > >> >> On 31 Jan 2017, at 21:19, Barry Scott > wrote: >> >> >>> On 31 Jan 2017, at 21:08, Ronald Oussoren > wrote: >>> >>> >>>> On 28 Jan 2017, at 17:42, Barry Scott > wrote: >>>> >>>> Is it possible to prevent the editing of the shell profile when I install a python kit? >>>> >>>> I keep having to delete the, unnecessary for me, PATH editing. >>> >>> The installer has an option for not updating the shell profile: after the ?select a destination? screen you can choose ?customize?, on that screen unselect ?shell profile updater?. >> >> O.k. I will use that when I update again. > > Given that /usr/local/bin is on the PATH (as it is in /etc/paths) and the installer links python pip etc into /usr/local/bin > why does it need to edit my .bash_profile at all with the long /Library/Frameworks/Python.framework/Versions/3.6/bin/python3.6 > paths. > > Is this a hang over from older macOS versions? I?m not 100% sure, /usr/local may not have been in the default PATH in the past and if it were it would have been after /usr/bin which is problematic when trying to use a Python.org install of the same python version as is included in macOS. A more important reason is that when you install additional software into the global installation any scripts will get installed in the directory /Library/Frameworks/?/bin and not in /usr/local. It could have been possible to coax distutils to install scripts into /usr/local, but then you run into problems when running multiple python versions. I generally install with neither updating the shell profile nor installing links in /usr/local, that keeps the global system clean (and I have some custom shell profile code to keep python frameworks on PATH in the order I like). Ronald -------------- next part -------------- An HTML attachment was scrubbed... URL: From ronaldoussoren at mac.com Wed Feb 22 05:39:01 2017 From: ronaldoussoren at mac.com (Ronald Oussoren) Date: Wed, 22 Feb 2017 11:39:01 +0100 Subject: [Pythonmac-SIG] py2app 0.12 and modulegraph 0.14 released Message-ID: Hi, I?ve just pushed py2app 0.12 and modulegraph 0.14 to PyPI. Both primarily contain bugfixes. I had hoped to fix more issues in these releases, but that hasn?t worked out and the fixed bugs are serious enough to not delay the release any more. On to the next release? Ronald From glyph at twistedmatrix.com Thu Feb 23 02:52:08 2017 From: glyph at twistedmatrix.com (Glyph Lefkowitz) Date: Wed, 22 Feb 2017 23:52:08 -0800 Subject: [Pythonmac-SIG] py2app 0.12 and modulegraph 0.14 released In-Reply-To: References: Message-ID: <950FF533-98A8-4C58-8D06-8BD0794C5A26@twistedmatrix.com> > On Feb 22, 2017, at 2:39 AM, Ronald Oussoren wrote: > > Hi, > > I?ve just pushed py2app 0.12 and modulegraph 0.14 to PyPI. Both primarily contain bugfixes. > > I had hoped to fix more issues in these releases, but that hasn?t worked out and the fixed bugs are serious enough to not delay the release any more. On to the next release? Thanks for the release, Ronald! Looking forward to some of those fixes, and good luck on the next batch :-). -glyph From m90.zidan at gmail.com Tue Feb 21 22:27:55 2017 From: m90.zidan at gmail.com (Maher Zidan) Date: Tue, 21 Feb 2017 19:27:55 -0800 Subject: [Pythonmac-SIG] please advise me Message-ID: Hello, I am new to programming in python, one thing is really important to me to keep learning python is the Vpython Launcher app. It keep hanging out when i use it for raw_input function or i want to Visualize anything from my script on it. there is a A Error or note message keep showing whenever i tried to open the Vpyhton directly. it is below?Please let me know what i can do fast to fix i could not see anything related solution on the internet. Thanks Maher Zidan m90.zidan at gmail.com 415-960-9722 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Screen Shot 2017-02-21 at 7.27.09 PM.png Type: image/png Size: 73416 bytes Desc: not available URL: From barry at barrys-emacs.org Tue Feb 28 11:47:26 2017 From: barry at barrys-emacs.org (Barry Scott) Date: Tue, 28 Feb 2017 16:47:26 +0000 Subject: [Pythonmac-SIG] please advise me In-Reply-To: References: Message-ID: > On 22 Feb 2017, at 03:27, Maher Zidan wrote: > > Hello, > I am new to programming in python, one thing is really important to me to keep learning python is the Vpython Launcher app. > It keep hanging out when i use it for raw_input function or i want to Visualize anything from my script on it. > there is a A Error or note message keep showing whenever i tried to open the Vpyhton directly. it is below?Please let me know what i can do fast to fix i could not see anything related solution on the internet. Thanks > > This is telling you that VPython is not the default app to open python files. At this point you can do a few things. 1. Dismiss the message with the Don;t show button. 2. Read ?Chaging the ?? in help and setup which app you want to open python files. Barry > > Maher Zidan > m90.zidan at gmail.com > 415-960-9722 > > > _______________________________________________ > Pythonmac-SIG maillist - Pythonmac-SIG at python.org > https://mail.python.org/mailman/listinfo/pythonmac-sig > unsubscribe: https://mail.python.org/mailman/options/Pythonmac-SIG -------------- next part -------------- An HTML attachment was scrubbed... URL: From chris.barker at noaa.gov Tue Feb 28 12:23:44 2017 From: chris.barker at noaa.gov (Chris Barker) Date: Tue, 28 Feb 2017 09:23:44 -0800 Subject: [Pythonmac-SIG] please advise me In-Reply-To: References: Message-ID: This is really a better question for the VPython folks, but: 1) Have you clicked "Don't show this warning again"? if so, does it keep coming back? 2) you will need to tell us more about exactly what you installed, and how you are running the application. i.e. "I open a Terminal Windows and type ...." or " I doubple click on the ??? icon, or ??? and when in this whole process does the above dialog appear? -CHB On Tue, Feb 21, 2017 at 7:27 PM, Maher Zidan wrote: > Hello, > I am new to programming in python, one thing is really important to me to > keep learning python is the Vpython Launcher app. > It keep hanging out when i use it for raw_input function or i want to > Visualize anything from my script on it. > there is a A Error or note message keep showing whenever i tried to open > the Vpyhton directly. it is below?Please let me know what i can do fast to > fix i could not see anything related solution on the internet. Thanks > > > Maher Zidan > m90.zidan at gmail.com > 415-960-9722 <(415)%20960-9722> > > > > _______________________________________________ > Pythonmac-SIG maillist - Pythonmac-SIG at python.org > https://mail.python.org/mailman/listinfo/pythonmac-sig > unsubscribe: https://mail.python.org/mailman/options/Pythonmac-SIG > > -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R (206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317 main reception Chris.Barker at noaa.gov -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Screen Shot 2017-02-21 at 7.27.09 PM.png Type: image/png Size: 73416 bytes Desc: not available URL: