Can you try a desperate workaround? in tcl/pd_connect.tcl, replace the funciton ::pd_connect::to_pd this way:
# if pd opens first, it starts pd-gui, then pd-gui connects to the port pd sent proc ::pd_connect::to_pd {port {host localhost}} { variable pd_socket ::pdwindow::debug "'pd-gui' connecting to 'pd' on localhost $port ...\n" if {[catch {set pd_socket [socket $host $port]}]} { if {$filename ne "localhost" || [catch {set pd_socket [socket 127.0.0.1 $port]}]} { puts stderr "WARNING: connect to pd failed, retrying port $host:$port." after 1000 ::pd_connect::to_pd $port $host return } } ::pd_connect::configure_socket $pd_socket } If 'localhost" falist that retries with 127.0.0.1 :) Miller On Fri, Jul 21, 2017 at 10:41:12AM -0400, me.grimm wrote: > >> Is the firewall on ...? > firewall is off > > >> ping localhost > ping: cannot resolve localhost: Unknown host > > >> with -nogui in Terminal ala > n$ /Volumes/U/Pd-0.48-0test3.app/Contents/Resources/bin/pd -nogui -verbose > input channels = 2, output channels = 2 > Pd-0.48.0 ("test3") compiled 22:16:32 Jul 19 2017 > error: Ignoring invalid font-metrics from GUI! > Pt_Start() called > > >> is that the classic messed up /private/etc/hosts file? > yeah this is what I found there: > https://github.com/lennylxx/ipv6-hosts > > >> Desperately installing the Adobe crack on OS X and in the process of > hindering it of calling home deleting the localhost line? > not sure what this means... so delete this file? > > so, the /private/etc/hosts file "Hosts file which is used for improving > IPv6 access speed to Google, YouTube, Facebook, Wikipedia, etc. in Mainland > China." > > ... and yes the student is from china so that explains this at least. > > so what do I do now? :) > > this gets us into privacy laws, china gov laws?, no idea, etc. which turns > this to a much deeper discussion since I assume we are here to support as > many students as possible but without fully understanding what a systems > level change could potentially do once students return to native country I > really have no experience or clue here.... > > max, you have some experience here no? > > well anyway, might there be a work around for now? or could pd issue a > warning like "is your firewall on?" OR "sup with your /private/etc/hosts > file? > > thanks! > m > > > On Fri, Jul 21, 2017 at 10:09 AM, Max <abonneme...@revolwear.com> wrote: > > > is that the classic messed up /private/etc/hosts file? Desperately > > installing the Adobe crack on OS X and in the process of hindering it of > > calling home deleting the localhost line? > > > > ping localhost > > > > > > > > > > On 2017년 07월 21일 16:01, me.grimm wrote: > > > >> same stuff going on here... what to be done? > >> > >> test3 > >> $ /Volumes/U/Pd.app/Contents/Resources/bin/pd -verbose > >> input channels = 2, output channels = 2 > >> Pd-0.48.0 ("test3") compiled 07:55:09 Jul 21 2017 > >> port 5400 > >> "/Volumes/U/Pd.app/Contents/Resources/../MacOS/Pd" 5400 > >> Waiting for connection request... > >> WARNING: connect to pd failed, retrying port localhost:5400. > >> WARNING: connect to pd failed, retrying port localhost:5400. > >> WARNING: connect to pd failed, retrying port localhost:5400. > >> WARNING: connect to pd failed, retrying port localhost:5400. > >> WARNING: connect to pd failed, retrying port localhost:5400. > >> WARNING: connect to pd failed, retrying port localhost:5400. > >> WARNING: connect to pd failed, retrying port localhost:5400. > >> WARNING: connect to pd failed, retrying port localhost:5400. > >> ^CPd: signal 2 > >> gui socket 0 - closing audio... > >> closing MIDI... > >> ... done. > >> > >> from this morn git pull > >> $ /Volumes/U/Pd-0.48-0test3.app/Contents/Resources/bin/pd -verbose > >> input channels = 2, output channels = 2 > >> Pd-0.48.0 ("test3") compiled 22:16:32 Jul 19 2017 > >> port 5400 > >> "/Volumes/U/Pd-0.48-0test3.app/Contents/Resources/../MacOS/Pd" 5400 > >> Waiting for connection request... > >> WARNING: connect to pd failed, retrying port localhost:5400. > >> WARNING: connect to pd failed, retrying port localhost:5400. > >> WARNING: connect to pd failed, retrying port localhost:5400. > >> WARNING: connect to pd failed, retrying port localhost:5400. > >> WARNING: connect to pd failed, retrying port localhost:5400. > >> WARNING: connect to pd failed, retrying port localhost:5400. > >> WARNING: connect to pd failed, retrying port localhost:5400. > >> WARNING: connect to pd failed, retrying port localhost:5400. > >> WARNING: connect to pd failed, retrying port localhost:5400. > >> ^CPd: signal 2 > >> gui socket 0 - closing audio... > >> closing MIDI... > >> ... done. > >> $ > >> > >> On Thu, Jul 20, 2017 at 11:37 AM, Miller Puckette <m...@ucsd.edu <mailto: > >> m...@ucsd.edu>> wrote: > >> > >> Thanks.. and how does "test3" behave? It's compiled with 8.5-gen > >> Tcl/TK - should behave like "test1" ded, except with better > >> text spacing. > >> > >> M > >> > >> On Thu, Jul 20, 2017 at 11:08:30AM -0400, me.grimm wrote: > >> > ok... got a chance to test this morn. > >> > > >> > miller test02 (pd icon just bounces in the dock) > >> > > >> > $ /Volumes/U/Pd-0.48-0test2.app/Contents/Resources/bin/pd -verbose > >> > input channels = 2, output channels = 2 > >> > Pd-0.48.0 ("test2") compiled 08:40:39 Jul 19 2017 > >> > port 5400 > >> > "/Volumes/U/Pd-0.48-0test2.app/Contents/Resources/../MacOS/Pd" > >> 5400 > >> > Waiting for connection request... > >> > WARNING: connect to pd failed, retrying port localhost:5400. > >> > WARNING: connect to pd failed, retrying port localhost:5400. > >> > WARNING: connect to pd failed, retrying port localhost:5400. > >> > ^CPd: signal 2 > >> > gui socket 0 - closing audio... > >> > closing MIDI... > >> > ... done. > >> > $ > >> > > >> > > >> > my compile with tk 8.6.6 (tk "feather" icon just bounces in the > >> dock > >> > > >> > $ /Volumes/U/Pd.app/Contents/Resources/bin/pd -verbose > >> > input channels = 2, output channels = 2 > >> > Pd-0.48.0 ("test1") compiled 16:38:24 Jul 19 2017 > >> > port 5400 > >> > "/Volumes/U/Pd.app/Contents/Resources/../MacOS/Pd" 5400 > >> > Waiting for connection request... > >> > WARNING: connect to pd failed, retrying port localhost:5400. > >> > WARNING: connect to pd failed, retrying port localhost:5400. > >> > WARNING: connect to pd failed, retrying port localhost:5400. > >> > WARNING: connect to pd failed, retrying port localhost:5400. > >> > WARNING: connect to pd failed, retrying port localhost:5400. > >> > WARNING: connect to pd failed, retrying port localhost:5400. > >> > WARNING: connect to pd failed, retrying port localhost:5400. > >> > WARNING: connect to pd failed, retrying port localhost:5400. > >> > WARNING: connect to pd failed, retrying port localhost:5400. > >> > WARNING: connect to pd failed, retrying port localhost:5400. > >> > WARNING: connect to pd failed, retrying port localhost:5400. > >> > WARNING: connect to pd failed, retrying port localhost:5400. > >> > WARNING: connect to pd failed, retrying port localhost:5400. > >> > WARNING: connect to pd failed, retrying port localhost:5400. > >> > WARNING: connect to pd failed, retrying port localhost:5400. > >> > WARNING: connect to pd failed, retrying port localhost:5400. > >> > WARNING: connect to pd failed, retrying port localhost:5400. > >> > ^CPd: signal 2 > >> > gui socket 0 - closing audio... > >> > closing MIDI... > >> > ... done. > >> > $ > >> > > >> > > >> > tell me what to try and i will since i have access to student > >> computer next > >> > couple weeks.... > >> > > >> > cheers > >> > m > >> > > >> > > >> > On Wed, Jul 19, 2017 at 1:32 PM, Miller Puckette <m...@ucsd.edu > >> <mailto:m...@ucsd.edu>> wrote: > >> > > >> > > Can you try with "test2"? (on my site, just now uploaded it). > >> > > > >> > > thanks > >> > > Miller > >> > > > >> > > On Wed, Jul 19, 2017 at 06:00:36PM +0200, Dan Wilcox wrote: > >> > > > The error indicates the pd core has crashed or is not > >> running. Sometimes > >> > > this also happens if the pd proves has hung in the background. > >> Open > >> > > Activity Monitor and make sure there is no "pd" processing > >> running, if so > >> > > then kill it. > >> > > > > >> > > > As a test, try running the pd core from the command line in > >> Terminal: > >> > > > > >> > > > /Applications/Pd-VERSION.app/Contents/Resources/bin/pd > >> > > > > >> > > > You can at least see some info. You can also run it with the > >> -verbose > >> > > flag to see even more info. > >> > > > > >> > > > > On Jul 18, 2017, at 11:21 PM, pd-list-requ...@lists.iem.at > >> <mailto:pd-list-requ...@lists.iem.at> wrote: > >> > > > > > >> > > > > Subject: Re: [PD] Macbook Air Errors with 0.48 Test 1 > >> > > > > Date: July 18, 2017 at 10:16:13 PM GMT+2 > >> > > > > To: Miller Puckette <m...@ucsd.edu <mailto:m...@ucsd.edu> > >> <mailto:m...@ucsd.edu <mailto:m...@ucsd.edu>>> > >> > > > > Cc: "pd-list@lists.iem.at <mailto:pd-list@lists.iem.at> > >> <mailto:pd-list@lists.iem.at <mailto:pd-list@lists.iem.at>>" < > >> > > pd-list@lists.iem.at <mailto:pd-list@lists.iem.at> > >> <mailto:pd-list@lists.iem.at <mailto:pd-list@lists.iem.at>>> > >> > > > > > >> > > > > > >> > > > > sierra indicates > >> > > > > > >> > > > > 10.12 > >> > > > > > >> > > > > https://en.wikipedia.org/wiki/MacOS_Sierra > >> <https://en.wikipedia.org/wiki/MacOS_Sierra> < > >> https://en.wikipedia.org/ > >> > > wiki/MacOS_Sierra> > >> > > > > > >> > > > > > >> > > > >> On 18 Jul 2017, at 21:55, Miller Puckette <m...@ucsd.edu > >> <mailto:m...@ucsd.edu> <mailto: > >> > >> > > m...@ucsd.edu <mailto:m...@ucsd.edu>>> wrote: > >> > > > >> > >> > > > >> Really 10.2.5? Not 10.5? > >> > > > >> > >> > > > >> I've tested on 10.6. I ues I'd better try an earlier one :) > >> > > > >> > >> > > > >> M > >> > > > >> > >> > > > >> On Tue, Jul 18, 2017 at 02:39:06PM -0400, me.grimm wrote: > >> > > > >>> Hello, > >> > > > >>> > >> > > > >>> So I have a student with a Macbook Air. Pd 0.47.1 that she > >> > > downloaded hangs > >> > > > >>> and quits as detailed here: > >> > > > >>> > >> https://lists.puredata.info/pipermail/pd-list/2016-12/117154.html > >> <https://lists.puredata.info/pipermail/pd-list/2016-12/117154.html> < > >> > > > >> https://lists.puredata.info/pipermail/pd-list/2016-12/117154.html > >> <https://lists.puredata.info/pipermail/pd-list/2016-12/117154.html>> > >> > > > >>> > >> > > > >>> then miller said he maybe fixed? > >> > > > >>> > >> https://lists.puredata.info/pipermail/pd-list/2016-12/117157.html > >> <https://lists.puredata.info/pipermail/pd-list/2016-12/117157.html> < > >> > > > >> https://lists.puredata.info/pipermail/pd-list/2016-12/117157.html > >> <https://lists.puredata.info/pipermail/pd-list/2016-12/117157.html>> > >> > > > >>> > >> > > > >>> So I just tried the version (recent test) i recently > >> compiled and > >> > > that > >> > > > >>> opens (sort of) but I get now Pd window. I did get error: > >> > > > >>> > >> > > > >>> Not connected to 'pd' process > >> > > > >>> Not connected to 'pd' process > >> > > > >>> while executing > >> > > > >>> "error "Not connected to 'pd' process"" > >> > > > >>> (procedure "pdsend" line 6) > >> > > > >>> invoked from within > >> > > > >>> "pdsend "pd audio-properties"" > >> > > > >>> (procedure "::tk::mac::ShowPreferences" line 3) > >> > > > >>> invoked from within > >> > > > >>> "::tk::mac::ShowPreferences" > >> > > > >>> > >> > > > >>> shes on macbook air 10.2.5 (sierra) 13" early 2015 > >> > > > >>> > >> > > > >>> I know there has been trouble running Pd on Macbook Airs > >> in the past > >> > > and > >> > > > >>> would like to nail whats wrong. let me know what to do to > >> test while > >> > > I have > >> > > > >>> access to this machine for the next couple weeks. > >> > > > >>> > >> > > > >>> thanks! > >> > > > > _______________________________________________ > > Pd-list@lists.iem.at mailing list > > UNSUBSCRIBE and account-management -> https://lists.puredata.info/li > > stinfo/pd-list > > > > > > -- > ____________________ > m.e.grimm, m.f.a, ed.m. > syracuse u., tc3 > megrimm.net > ____________________ > _______________________________________________ > Pd-list@lists.iem.at mailing list > UNSUBSCRIBE and account-management -> > https://lists.puredata.info/listinfo/pd-list _______________________________________________ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list