Re: [PD] DSP crashing - PD freezes.

2023-01-31 Thread Theron Trowbridge
Mac Mini M1, Ventura 13.1

It works better in some ways - the windows close and things quit when I ask
them to. I don't have to force quit, and it doesn't seem to be messing up
audio on the computer.

But when I turn on the DSP the output console just spams "unknown API" over
and over again, and when I go into audios settings, I don't see my usual
devices. The input device list has three options: "input device #1", "input
device #2" and "input device #3" and there is no pull-down menu for output
device, but only says "(same as input device)..." And I can't get it to
make any sound.

When I turn off DSP, it outputs "sys_close_audio: unknown API 4"


-Theron
^



On Tue, Jan 31, 2023 at 8:24 PM Miller Puckette  wrote:

> OK (and thanks to Zmoelnig's CI machine)- here's a version of Pd with
> the newest stable portaudio - can someone with MacOS 13 test this and see
> if
> the problem is still there?
>
> http://msp.ucsd.edu/tmp/pure-data_pa-v19.7.0_Darwin.zip
>
> cheers
> Miller
>
> On Tue, Jan 31, 2023 at 01:28:14PM -0800, Miller Puckette via Pd-list
> wrote:
> > Thanks for the heads-up... Pd is carrying around a rather old version of
> > portaudio - I'm in the middle of trying to update ot the latest stable
> version,
> > will let you know when I have something you can try...
> >
> > Miller
> >
> > On Mon, Jan 30, 2023 at 01:46:22PM -0800, Theron Trowbridge wrote:
> > > I have similar issues on my Mac Mini M1 running Ventura 13.1. If I do
> > > anything to generate audio, I cannot get it to quit normally, and have
> to
> > > force quit. It also screws up audio playback on the machine a little
> bit
> > > (pausing a YouTube video stutters a few times before it ceases to play
> > > audio, for example) until I restart the computer (didn't think to try
> and
> > > kill the CoreAudio process).
> > >
> > >
> > > -Theron
> > > ^
> > >
> > >
> > > On Mon, Jan 30, 2023 at 12:09 PM William Brent <
> william.br...@gmail.com>
> > > wrote:
> > >
> > > > This was originally reported on this list Oct 27 2022 (see this
> thread
> > > > <
> https://urldefense.com/v3/__https://lists.puredata.info/pipermail/pd-list/2022-10/131609.html__;!!Mih3wA!FTX7ZBUz4d6gyF2FNd0fVyy0AM3EJ8dsNg5XR5I0kLxUB_tQoZnnxvzASC7vdL5WsMyhuRfHPRhHSzQZ9RwRUfQ$
> >), and
> > > > I can also confirm it second-hand via someone I'm currently
> collaborating
> > > > with. He accidentally upgraded to Ventura and since then has been
> unable to
> > > > quit Pd using Pd menu/Quit or command-Q. It's the only reason I
> haven't
> > > > upgraded to macOS 13!
> > > >
> > > > On Mon, Jan 30, 2023 at 2:26 PM Phil Stone 
> wrote:
> > > >
> > > >> I cannot reproduce it by disabling/enabling DSP on an M1 Macbook
> running
> > > >> Monterrey and Pd 0.53-1.
> > > >>
> > > >>
> > > >>
> > > >> *From: *Pd-list  on behalf of Denis
> Połeć <
> > > >> denis.po...@gmail.com>
> > > >> *Date: *Monday, January 30, 2023 at 11:10 AM
> > > >> *To: *pd-list@lists.iem.at 
> > > >> *Subject: *[PD] DSP crashing - PD freezes.
> > > >>
> > > >> Hello everyone,
> > > >> I am experiencing an issue with Pure Data (0.53-1) on macOS Ventura
> > > >> (13.2) running on an Apple Silicon machine. Whenever I make changes
> to some
> > > >> of the DSP settings, such as disabling and enabling it again, the
> > > >> application freezes and I have to force close it. This also causes
> my audio
> > > >> to crash, and I have to kill CoreAudio in order to get it back up
> and
> > > >> running.
> > > >>
> > > >> Does anyone else experience this issue?
> > > >> I have tried older versions, but I am getting the same result. Is
> this an
> > > >> issue with Ventura? Can someone reproduce this?
> > > >>
> > > >> thanks.
> > > >> denis. :)
> > > >>
> > > >>
> > > >> ___
> > > >> Pd-list@lists.iem.at mailing list
> > > >> UNSUBSCRIBE and account-management ->
> > > >>
> https://urldefense.com/v3/__https://lists.puredata.info/listinfo/pd-list__;!!Mih3wA!FTX7ZBUz4d6gyF2FNd0fVyy0AM3EJ8dsNg5XR5I0kLxUB_tQoZnnxvzASC7vdL5WsMyhuRfHPRhHSzQZ5K6hjtw$
> > > >> ___
> > > >> Pd-list@lists.iem.at mailing list
> > > >> UNSUBSCRIBE and account-management ->
> > > >>
> https://urldefense.com/v3/__https://lists.puredata.info/listinfo/pd-list__;!!Mih3wA!FTX7ZBUz4d6gyF2FNd0fVyy0AM3EJ8dsNg5XR5I0kLxUB_tQoZnnxvzASC7vdL5WsMyhuRfHPRhHSzQZ5K6hjtw$
> > > >>
> > > >
> > > >
> > > > --
> > > > William Brent
> > > >
> > > > “Great minds flock together”
> > > > Conflations: conversational idiom for the 21st century
> > > >
> > > >
> https://urldefense.com/v3/__http://www.conflations.com__;!!Mih3wA!FTX7ZBUz4d6gyF2FNd0fVyy0AM3EJ8dsNg5XR5I0kLxUB_tQoZnnxvzASC7vdL5WsMyhuRfHPRhHSzQZSCeOCOU$
> > > > ___
> > > > Pd-list@lists.iem.at mailing list
> > > > UNSUBSCRIBE and account-management ->
> > > >
> 

Re: [PD] DSP crashing - PD freezes.

2023-01-31 Thread Miller Puckette via Pd-list
Bizarre... looks like the compile flags went whack somehow (API 4 is
portaudio, which is precisely what I updated).  I'll dig around in the
compiler output and see if I can psychoanalyse...

thanks
Miller

On Tue, Jan 31, 2023 at 10:12:08PM -0800, Theron Trowbridge wrote:
> Mac Mini M1, Ventura 13.1
> 
> It works better in some ways - the windows close and things quit when I ask
> them to. I don't have to force quit, and it doesn't seem to be messing up
> audio on the computer.
> 
> But when I turn on the DSP the output console just spams "unknown API" over
> and over again, and when I go into audios settings, I don't see my usual
> devices. The input device list has three options: "input device #1", "input
> device #2" and "input device #3" and there is no pull-down menu for output
> device, but only says "(same as input device)..." And I can't get it to
> make any sound.
> 
> When I turn off DSP, it outputs "sys_close_audio: unknown API 4"
> 
> 
> -Theron
> ^
> 
> 
> 
> On Tue, Jan 31, 2023 at 8:24 PM Miller Puckette  wrote:
> 
> > OK (and thanks to Zmoelnig's CI machine)- here's a version of Pd with
> > the newest stable portaudio - can someone with MacOS 13 test this and see
> > if
> > the problem is still there?
> >
> > http://msp.ucsd.edu/tmp/pure-data_pa-v19.7.0_Darwin.zip
> >
> > cheers
> > Miller
> >
> > On Tue, Jan 31, 2023 at 01:28:14PM -0800, Miller Puckette via Pd-list
> > wrote:
> > > Thanks for the heads-up... Pd is carrying around a rather old version of
> > > portaudio - I'm in the middle of trying to update ot the latest stable
> > version,
> > > will let you know when I have something you can try...
> > >
> > > Miller
> > >
> > > On Mon, Jan 30, 2023 at 01:46:22PM -0800, Theron Trowbridge wrote:
> > > > I have similar issues on my Mac Mini M1 running Ventura 13.1. If I do
> > > > anything to generate audio, I cannot get it to quit normally, and have
> > to
> > > > force quit. It also screws up audio playback on the machine a little
> > bit
> > > > (pausing a YouTube video stutters a few times before it ceases to play
> > > > audio, for example) until I restart the computer (didn't think to try
> > and
> > > > kill the CoreAudio process).
> > > >
> > > >
> > > > -Theron
> > > > ^
> > > >
> > > >
> > > > On Mon, Jan 30, 2023 at 12:09 PM William Brent <
> > william.br...@gmail.com>
> > > > wrote:
> > > >
> > > > > This was originally reported on this list Oct 27 2022 (see this
> > thread
> > > > > <
> > https://urldefense.com/v3/__https://lists.puredata.info/pipermail/pd-list/2022-10/131609.html__;!!Mih3wA!FTX7ZBUz4d6gyF2FNd0fVyy0AM3EJ8dsNg5XR5I0kLxUB_tQoZnnxvzASC7vdL5WsMyhuRfHPRhHSzQZ9RwRUfQ$
> > >), and
> > > > > I can also confirm it second-hand via someone I'm currently
> > collaborating
> > > > > with. He accidentally upgraded to Ventura and since then has been
> > unable to
> > > > > quit Pd using Pd menu/Quit or command-Q. It's the only reason I
> > haven't
> > > > > upgraded to macOS 13!
> > > > >
> > > > > On Mon, Jan 30, 2023 at 2:26 PM Phil Stone 
> > wrote:
> > > > >
> > > > >> I cannot reproduce it by disabling/enabling DSP on an M1 Macbook
> > running
> > > > >> Monterrey and Pd 0.53-1.
> > > > >>
> > > > >>
> > > > >>
> > > > >> *From: *Pd-list  on behalf of Denis
> > Połeć <
> > > > >> denis.po...@gmail.com>
> > > > >> *Date: *Monday, January 30, 2023 at 11:10 AM
> > > > >> *To: *pd-list@lists.iem.at 
> > > > >> *Subject: *[PD] DSP crashing - PD freezes.
> > > > >>
> > > > >> Hello everyone,
> > > > >> I am experiencing an issue with Pure Data (0.53-1) on macOS Ventura
> > > > >> (13.2) running on an Apple Silicon machine. Whenever I make changes
> > to some
> > > > >> of the DSP settings, such as disabling and enabling it again, the
> > > > >> application freezes and I have to force close it. This also causes
> > my audio
> > > > >> to crash, and I have to kill CoreAudio in order to get it back up
> > and
> > > > >> running.
> > > > >>
> > > > >> Does anyone else experience this issue?
> > > > >> I have tried older versions, but I am getting the same result. Is
> > this an
> > > > >> issue with Ventura? Can someone reproduce this?
> > > > >>
> > > > >> thanks.
> > > > >> denis. :)
> > > > >>
> > > > >>
> > > > >> ___
> > > > >> Pd-list@lists.iem.at mailing list
> > > > >> UNSUBSCRIBE and account-management ->
> > > > >>
> > https://urldefense.com/v3/__https://lists.puredata.info/listinfo/pd-list__;!!Mih3wA!FTX7ZBUz4d6gyF2FNd0fVyy0AM3EJ8dsNg5XR5I0kLxUB_tQoZnnxvzASC7vdL5WsMyhuRfHPRhHSzQZ5K6hjtw$
> > > > >> ___
> > > > >> Pd-list@lists.iem.at mailing list
> > > > >> UNSUBSCRIBE and account-management ->
> > > > >>
> > https://urldefense.com/v3/__https://lists.puredata.info/listinfo/pd-list__;!!Mih3wA!FTX7ZBUz4d6gyF2FNd0fVyy0AM3EJ8dsNg5XR5I0kLxUB_tQoZnnxvzASC7vdL5WsMyhuRfHPRhHSzQZ5K6hjtw$
> > > > >>
> > > > >
> > > > >
> > > > > --
> > > > > William Brent
> > > > >
> > > > > “Great minds 

Re: [PD] DSP crashing - PD freezes.

2023-01-31 Thread Miller Puckette via Pd-list
OK (and thanks to Zmoelnig's CI machine)- here's a version of Pd with
the newest stable portaudio - can someone with MacOS 13 test this and see if
the problem is still there?

http://msp.ucsd.edu/tmp/pure-data_pa-v19.7.0_Darwin.zip

cheers
Miller

On Tue, Jan 31, 2023 at 01:28:14PM -0800, Miller Puckette via Pd-list wrote:
> Thanks for the heads-up... Pd is carrying around a rather old version of
> portaudio - I'm in the middle of trying to update ot the latest stable 
> version,
> will let you know when I have something you can try...
> 
> Miller
> 
> On Mon, Jan 30, 2023 at 01:46:22PM -0800, Theron Trowbridge wrote:
> > I have similar issues on my Mac Mini M1 running Ventura 13.1. If I do
> > anything to generate audio, I cannot get it to quit normally, and have to
> > force quit. It also screws up audio playback on the machine a little bit
> > (pausing a YouTube video stutters a few times before it ceases to play
> > audio, for example) until I restart the computer (didn't think to try and
> > kill the CoreAudio process).
> > 
> > 
> > -Theron
> > ^
> > 
> > 
> > On Mon, Jan 30, 2023 at 12:09 PM William Brent 
> > wrote:
> > 
> > > This was originally reported on this list Oct 27 2022 (see this thread
> > >  > >  >), and
> > > I can also confirm it second-hand via someone I'm currently collaborating
> > > with. He accidentally upgraded to Ventura and since then has been unable 
> > > to
> > > quit Pd using Pd menu/Quit or command-Q. It's the only reason I haven't
> > > upgraded to macOS 13!
> > >
> > > On Mon, Jan 30, 2023 at 2:26 PM Phil Stone  wrote:
> > >
> > >> I cannot reproduce it by disabling/enabling DSP on an M1 Macbook running
> > >> Monterrey and Pd 0.53-1.
> > >>
> > >>
> > >>
> > >> *From: *Pd-list  on behalf of Denis Połeć <
> > >> denis.po...@gmail.com>
> > >> *Date: *Monday, January 30, 2023 at 11:10 AM
> > >> *To: *pd-list@lists.iem.at 
> > >> *Subject: *[PD] DSP crashing - PD freezes.
> > >>
> > >> Hello everyone,
> > >> I am experiencing an issue with Pure Data (0.53-1) on macOS Ventura
> > >> (13.2) running on an Apple Silicon machine. Whenever I make changes to 
> > >> some
> > >> of the DSP settings, such as disabling and enabling it again, the
> > >> application freezes and I have to force close it. This also causes my 
> > >> audio
> > >> to crash, and I have to kill CoreAudio in order to get it back up and
> > >> running.
> > >>
> > >> Does anyone else experience this issue?
> > >> I have tried older versions, but I am getting the same result. Is this an
> > >> issue with Ventura? Can someone reproduce this?
> > >>
> > >> thanks.
> > >> denis. :)
> > >>
> > >>
> > >> ___
> > >> Pd-list@lists.iem.at mailing list
> > >> UNSUBSCRIBE and account-management ->
> > >> https://urldefense.com/v3/__https://lists.puredata.info/listinfo/pd-list__;!!Mih3wA!FTX7ZBUz4d6gyF2FNd0fVyy0AM3EJ8dsNg5XR5I0kLxUB_tQoZnnxvzASC7vdL5WsMyhuRfHPRhHSzQZ5K6hjtw$
> > >>  
> > >> ___
> > >> Pd-list@lists.iem.at mailing list
> > >> UNSUBSCRIBE and account-management ->
> > >> https://urldefense.com/v3/__https://lists.puredata.info/listinfo/pd-list__;!!Mih3wA!FTX7ZBUz4d6gyF2FNd0fVyy0AM3EJ8dsNg5XR5I0kLxUB_tQoZnnxvzASC7vdL5WsMyhuRfHPRhHSzQZ5K6hjtw$
> > >>  
> > >>
> > >
> > >
> > > --
> > > William Brent
> > >
> > > “Great minds flock together”
> > > Conflations: conversational idiom for the 21st century
> > >
> > > https://urldefense.com/v3/__http://www.conflations.com__;!!Mih3wA!FTX7ZBUz4d6gyF2FNd0fVyy0AM3EJ8dsNg5XR5I0kLxUB_tQoZnnxvzASC7vdL5WsMyhuRfHPRhHSzQZSCeOCOU$
> > >  
> > > ___
> > > Pd-list@lists.iem.at mailing list
> > > UNSUBSCRIBE and account-management ->
> > > https://urldefense.com/v3/__https://lists.puredata.info/listinfo/pd-list__;!!Mih3wA!FTX7ZBUz4d6gyF2FNd0fVyy0AM3EJ8dsNg5XR5I0kLxUB_tQoZnnxvzASC7vdL5WsMyhuRfHPRhHSzQZ5K6hjtw$
> > >  
> > >
> 
> > ___
> > Pd-list@lists.iem.at mailing list
> > UNSUBSCRIBE and account-management -> 
> > https://urldefense.com/v3/__https://lists.puredata.info/listinfo/pd-list__;!!Mih3wA!FTX7ZBUz4d6gyF2FNd0fVyy0AM3EJ8dsNg5XR5I0kLxUB_tQoZnnxvzASC7vdL5WsMyhuRfHPRhHSzQZ5K6hjtw$
> >  
> 
> 
> 
> 
> ___
> Pd-list@lists.iem.at mailing list
> UNSUBSCRIBE and account-management -> 
> https://urldefense.com/v3/__https://lists.puredata.info/listinfo/pd-list__;!!Mih3wA!Gtrj30C3cU5_VqI6J-159nxT9UGzp2Er4b3P3OuFbqZMvVd8XT7i37Fjh9yz6E1-30KbGKe9AKY-sIfy$
>  



___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] DSP crashing - PD freezes.

2023-01-31 Thread Miller Puckette via Pd-list
Thanks for the heads-up... Pd is carrying around a rather old version of
portaudio - I'm in the middle of trying to update ot the latest stable version,
will let you know when I have something you can try...

Miller

On Mon, Jan 30, 2023 at 01:46:22PM -0800, Theron Trowbridge wrote:
> I have similar issues on my Mac Mini M1 running Ventura 13.1. If I do
> anything to generate audio, I cannot get it to quit normally, and have to
> force quit. It also screws up audio playback on the machine a little bit
> (pausing a YouTube video stutters a few times before it ceases to play
> audio, for example) until I restart the computer (didn't think to try and
> kill the CoreAudio process).
> 
> 
> -Theron
> ^
> 
> 
> On Mon, Jan 30, 2023 at 12:09 PM William Brent 
> wrote:
> 
> > This was originally reported on this list Oct 27 2022 (see this thread
> >  >  >), and
> > I can also confirm it second-hand via someone I'm currently collaborating
> > with. He accidentally upgraded to Ventura and since then has been unable to
> > quit Pd using Pd menu/Quit or command-Q. It's the only reason I haven't
> > upgraded to macOS 13!
> >
> > On Mon, Jan 30, 2023 at 2:26 PM Phil Stone  wrote:
> >
> >> I cannot reproduce it by disabling/enabling DSP on an M1 Macbook running
> >> Monterrey and Pd 0.53-1.
> >>
> >>
> >>
> >> *From: *Pd-list  on behalf of Denis Połeć <
> >> denis.po...@gmail.com>
> >> *Date: *Monday, January 30, 2023 at 11:10 AM
> >> *To: *pd-list@lists.iem.at 
> >> *Subject: *[PD] DSP crashing - PD freezes.
> >>
> >> Hello everyone,
> >> I am experiencing an issue with Pure Data (0.53-1) on macOS Ventura
> >> (13.2) running on an Apple Silicon machine. Whenever I make changes to some
> >> of the DSP settings, such as disabling and enabling it again, the
> >> application freezes and I have to force close it. This also causes my audio
> >> to crash, and I have to kill CoreAudio in order to get it back up and
> >> running.
> >>
> >> Does anyone else experience this issue?
> >> I have tried older versions, but I am getting the same result. Is this an
> >> issue with Ventura? Can someone reproduce this?
> >>
> >> thanks.
> >> denis. :)
> >>
> >>
> >> ___
> >> Pd-list@lists.iem.at mailing list
> >> UNSUBSCRIBE and account-management ->
> >> https://urldefense.com/v3/__https://lists.puredata.info/listinfo/pd-list__;!!Mih3wA!FTX7ZBUz4d6gyF2FNd0fVyy0AM3EJ8dsNg5XR5I0kLxUB_tQoZnnxvzASC7vdL5WsMyhuRfHPRhHSzQZ5K6hjtw$
> >>  
> >> ___
> >> Pd-list@lists.iem.at mailing list
> >> UNSUBSCRIBE and account-management ->
> >> https://urldefense.com/v3/__https://lists.puredata.info/listinfo/pd-list__;!!Mih3wA!FTX7ZBUz4d6gyF2FNd0fVyy0AM3EJ8dsNg5XR5I0kLxUB_tQoZnnxvzASC7vdL5WsMyhuRfHPRhHSzQZ5K6hjtw$
> >>  
> >>
> >
> >
> > --
> > William Brent
> >
> > “Great minds flock together”
> > Conflations: conversational idiom for the 21st century
> >
> > https://urldefense.com/v3/__http://www.conflations.com__;!!Mih3wA!FTX7ZBUz4d6gyF2FNd0fVyy0AM3EJ8dsNg5XR5I0kLxUB_tQoZnnxvzASC7vdL5WsMyhuRfHPRhHSzQZSCeOCOU$
> >  
> > ___
> > Pd-list@lists.iem.at mailing list
> > UNSUBSCRIBE and account-management ->
> > https://urldefense.com/v3/__https://lists.puredata.info/listinfo/pd-list__;!!Mih3wA!FTX7ZBUz4d6gyF2FNd0fVyy0AM3EJ8dsNg5XR5I0kLxUB_tQoZnnxvzASC7vdL5WsMyhuRfHPRhHSzQZ5K6hjtw$
> >  
> >

> ___
> Pd-list@lists.iem.at mailing list
> UNSUBSCRIBE and account-management -> 
> https://urldefense.com/v3/__https://lists.puredata.info/listinfo/pd-list__;!!Mih3wA!FTX7ZBUz4d6gyF2FNd0fVyy0AM3EJ8dsNg5XR5I0kLxUB_tQoZnnxvzASC7vdL5WsMyhuRfHPRhHSzQZ5K6hjtw$
>  




___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] [PD-announce] PuREST JSON 2.0.0 "Medea" released

2023-01-31 Thread IOhannes m zmoelnig

On 1/31/23 13:16, Roman Haefeli wrote:

The included libraries are x86_64 only. Even if the the externals are
multiarch, they won't work on arm64.


are they installed with 'brew' (on the build-machine)?

brew will only install single-arch binaries (and only for the currently 
selected architecture).


gfmdasr
IOhannes


OpenPGP_signature
Description: OpenPGP digital signature
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] [PD-announce] PuREST JSON 2.0.0 "Medea" released

2023-01-31 Thread Roman Haefeli
On Tue, 2023-01-31 at 12:31 +0100, Thomas Mayer wrote:
> Hi Tobias,
> 
> On 31.01.23 08:47, KHM Mail wrote:
> > when using the external, [rest], [oauth] and [urlparams] are not
> > working.
> > Error shows:
> > 
> > Library not loaded: '/opt/homebrew/opt/json-c/lib/libjson-
> > c.5.dylib'
> > Referenced from:
> > '/Users/XXX/Documents/Pd/externals/purest_json/rest.pd_darwin'
> > Reason: tried: '/opt/homebrew/opt/json-c/lib/libjson-c.5.dylib' (no
> > such file), '/usr/lib/libjson-c.5.dylib' (no such file)
> 
> As Roman has mentioned, there is version 2.0.1 only for Mac OS,
> because 
> 2.0.0 did not include libcurl in the package 
> (https://github.com/residuum/PuRestJson/issues/76), but that is not
> the 
> case here.
> 
> It looks like the libraries are not linked correctly, because it
> should 
> search for the dylib file first in the same folder, but that is not
> the 
> case here.
> 
> As I do not own or have access to a Mac, maybe this has something to
> do 
> with security hardening in current Mac OS X versions, try run Pd with
> the -verbose flag, and look for output on the Pd console.
> 
> Are there lines containing the following:
> "file system relative paths not allowed in hardened programs".
> 
> See also the conversation about this bug report:
> https://github.com/residuum/PuRestJson/issues/51

The included libraries are x86_64 only. Even if the the externals are
multiarch, they won't work on arm64.

Roman




signature.asc
Description: This is a digitally signed message part
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] [PD-announce] PuREST JSON 2.0.0 "Medea" released

2023-01-31 Thread Thomas Mayer

Hi Tobias,

On 31.01.23 08:47, KHM Mail wrote:

when using the external, [rest], [oauth] and [urlparams] are not working.
Error shows:

Library not loaded: '/opt/homebrew/opt/json-c/lib/libjson-c.5.dylib'
Referenced from: 
'/Users/XXX/Documents/Pd/externals/purest_json/rest.pd_darwin'
Reason: tried: '/opt/homebrew/opt/json-c/lib/libjson-c.5.dylib' (no such file), 
'/usr/lib/libjson-c.5.dylib' (no such file)


As Roman has mentioned, there is version 2.0.1 only for Mac OS, because 
2.0.0 did not include libcurl in the package 
(https://github.com/residuum/PuRestJson/issues/76), but that is not the 
case here.


It looks like the libraries are not linked correctly, because it should 
search for the dylib file first in the same folder, but that is not the 
case here.


As I do not own or have access to a Mac, maybe this has something to do 
with security hardening in current Mac OS X versions, try run Pd with 
the -verbose flag, and look for output on the Pd console.


Are there lines containing the following:
"file system relative paths not allowed in hardened programs".

See also the conversation about this bug report:
https://github.com/residuum/PuRestJson/issues/51

Hth,
Thomas
--
"Prisons are needed only to provide the illusion that courts and police
are effective. They're a kind of job insurance."
(Leto II. in: Frank Herbert, God Emperor of Dune)
http://www.residuum.org/




___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] [PD-announce] PuREST JSON 2.0.0 "Medea" released

2023-01-31 Thread Roman Haefeli
On Tue, 2023-01-31 at 08:47 +0100, KHM Mail wrote:
> Hi Thomas and list, 
> 
> when using the external, [rest], [oauth] and [urlparams] are not
> working.
> Error shows:
> 
> Library not loaded: '/opt/homebrew/opt/json-c/lib/libjson-c.5.dylib'
> Referenced from:
> '/Users/XXX/Documents/Pd/externals/purest_json/rest.pd_darwin'
> Reason: tried: '/opt/homebrew/opt/json-c/lib/libjson-c.5.dylib' (no
> such file), '/usr/lib/libjson-c.5.dylib' (no such file)
> 
I see there is a version 2.0.1 available only for macOS (x86_64 and
arm64). Without having looked at your problem in detail, you tried that
version? This looks like something has been fixed specifically for
macOS.

https://deken.puredata.info/library/purest_json

Roman



signature.asc
Description: This is a digitally signed message part
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list