Hello,
I have just uploaded new packages for Windows and Debian (i386) of PuREST JSON.
PuREST JSON is a library for connecting Pd to HTTP services and encoding and decoding JSON data.
The library can issue GET, POST, PUT and DELETE statements, so consumation of RESTful services is possible, e.g. CouchDB.
https://github.com/residuum/PuRestJson/downloads
I have written compilation instructions in the wiki, and am currently trying to cross-compile for Windows on Debian. The next logical step is trying to get cross-compilation for Mac OS X working, any pointers on how to accomplish that?
Have fun, {"name": "Thomas"}
can't wait for the MAC OS version!! Regards, JF
On Fri, Jan 27, 2012 at 6:58 PM, Thomas Mayer thomas@residuum.org wrote:
Hello,
I have just uploaded new packages for Windows and Debian (i386) of PuREST JSON.
PuREST JSON is a library for connecting Pd to HTTP services and encoding and decoding JSON data.
The library can issue GET, POST, PUT and DELETE statements, so consumation of RESTful services is possible, e.g. CouchDB.
https://github.com/residuum/PuRestJson/downloads
I have written compilation instructions in the wiki, and am currently trying to cross-compile for Windows on Debian. The next logical step is trying to get cross-compilation for Mac OS X working, any pointers on how to accomplish that?
Have fun, {"name": "Thomas"} -- "We left all that stuff out. If there's an error, we have this routine called panic, and when it is called, the machine crashes, and you holler down the hall, 'Hey, reboot it.'" (Dennis Ritchie) http://www.residuum.org/
Pd-announce mailing list Pd-announce@iem.at http://lists.puredata.info/listinfo/pd-announce
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
This fork I just did should be easy to build on Mac: https://github.com/eighthave/PuRestJson
Just have Xcode installed, and then do this in the terminal:
cd ~/Library/Pd git clone https://github.com/eighthave/PuRestJson purest_json cd purest_json make
Then you can [import purest_json] and check out the examples in the Help Browser. I'm looking forward to playing with this myself!
.hc
On Jan 27, 2012, at 4:30 PM, Tuti wrote:
can't wait for the MAC OS version!! Regards, JF
On Fri, Jan 27, 2012 at 6:58 PM, Thomas Mayer thomas@residuum.org wrote:
Hello,
I have just uploaded new packages for Windows and Debian (i386) of PuREST JSON.
PuREST JSON is a library for connecting Pd to HTTP services and encoding and decoding JSON data.
The library can issue GET, POST, PUT and DELETE statements, so consumation of RESTful services is possible, e.g. CouchDB.
https://github.com/residuum/PuRestJson/downloads
I have written compilation instructions in the wiki, and am currently trying to cross-compile for Windows on Debian. The next logical step is trying to get cross-compilation for Mac OS X working, any pointers on how to accomplish that?
Have fun, {"name": "Thomas"} -- "We left all that stuff out. If there's an error, we have this routine called panic, and when it is called, the machine crashes, and you holler down the hall, 'Hey, reboot it.'" (Dennis Ritchie) http://www.residuum.org/
Pd-announce mailing list Pd-announce@iem.at http://lists.puredata.info/listinfo/pd-announce
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
--
José Fornari (Tuti) http:/sites.google.com/site/tutifornari/ email: tutifornari@gmail.com skype: tutifornari cel: (11) 8318-8778
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Programs should be written for people to read, and only incidentally for machines to execute.
i get:
purest_json.h:7:23: error: json/json.h: No such file or directory
where is json.h?
m
On Sun, Jan 29, 2012 at 12:13 AM, Hans-Christoph Steiner hans@at.or.at wrote:
This fork I just did should be easy to build on Mac: https://github.com/eighthave/PuRestJson
Just have Xcode installed, and then do this in the terminal:
cd ~/Library/Pd git clone https://github.com/eighthave/PuRestJson purest_json cd purest_json make
Then you can [import purest_json] and check out the examples in the Help Browser. I'm looking forward to playing with this myself!
.hc
On Jan 27, 2012, at 4:30 PM, Tuti wrote:
can't wait for the MAC OS version!! Regards, JF
On Fri, Jan 27, 2012 at 6:58 PM, Thomas Mayer thomas@residuum.org wrote:
Hello,
I have just uploaded new packages for Windows and Debian (i386) of PuREST JSON.
PuREST JSON is a library for connecting Pd to HTTP services and encoding and decoding JSON data.
The library can issue GET, POST, PUT and DELETE statements, so consumation of RESTful services is possible, e.g. CouchDB.
https://github.com/residuum/PuRestJson/downloads
I have written compilation instructions in the wiki, and am currently trying to cross-compile for Windows on Debian. The next logical step is trying to get cross-compilation for Mac OS X working, any pointers on how to accomplish that?
Have fun, {"name": "Thomas"} -- "We left all that stuff out. If there's an error, we have this routine called panic, and when it is called, the machine crashes, and you holler down the hall, 'Hey, reboot it.'" (Dennis Ritchie) http://www.residuum.org/
Pd-announce mailing list Pd-announce@iem.at http://lists.puredata.info/listinfo/pd-announce
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
--
José Fornari (Tuti) http:/sites.google.com/site/tutifornari/ email: tutifornari@gmail.com skype: tutifornari cel: (11) 8318-8778
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Programs should be written for people to read, and only incidentally for machines to execute. - from Structure and Interpretation of Computer Programs
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
On Mac OS X: fink install libjson On Debian/etc: apt-get install libjson0-dev
.hc
On Jan 29, 2012, at 9:25 AM, m.e.grimm wrote:
i get:
purest_json.h:7:23: error: json/json.h: No such file or directory
where is json.h?
m
On Sun, Jan 29, 2012 at 12:13 AM, Hans-Christoph Steiner hans@at.or.at wrote:
This fork I just did should be easy to build on Mac: https://github.com/eighthave/PuRestJson
Just have Xcode installed, and then do this in the terminal:
cd ~/Library/Pd git clone https://github.com/eighthave/PuRestJson purest_json cd purest_json make
Then you can [import purest_json] and check out the examples in the Help Browser. I'm looking forward to playing with this myself!
.hc
On Jan 27, 2012, at 4:30 PM, Tuti wrote:
can't wait for the MAC OS version!! Regards, JF
On Fri, Jan 27, 2012 at 6:58 PM, Thomas Mayer thomas@residuum.org wrote:
Hello,
I have just uploaded new packages for Windows and Debian (i386) of PuREST JSON.
PuREST JSON is a library for connecting Pd to HTTP services and encoding and decoding JSON data.
The library can issue GET, POST, PUT and DELETE statements, so consumation of RESTful services is possible, e.g. CouchDB.
https://github.com/residuum/PuRestJson/downloads
I have written compilation instructions in the wiki, and am currently trying to cross-compile for Windows on Debian. The next logical step is trying to get cross-compilation for Mac OS X working, any pointers on how to accomplish that?
Have fun, {"name": "Thomas"} -- "We left all that stuff out. If there's an error, we have this routine called panic, and when it is called, the machine crashes, and you holler down the hall, 'Hey, reboot it.'" (Dennis Ritchie) http://www.residuum.org/
Pd-announce mailing list Pd-announce@iem.at http://lists.puredata.info/listinfo/pd-announce
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
--
José Fornari (Tuti) http:/sites.google.com/site/tutifornari/ email: tutifornari@gmail.com skype: tutifornari cel: (11) 8318-8778
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Programs should be written for people to read, and only incidentally for machines to execute.
- from Structure and Interpretation of Computer Programs
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
-- ____________________ m.e.grimm | m.f.a | ed.m. megrimm@gmail.com | 315.378.2136 _________________________________
"Making boring techno music is really easy with modern tools, but with live coding, boring techno is much harder." - Chris McCormick
no:
"Failed: no package found for specification 'libjson'!"
all i see as a fink package is libjson-glib
but maybe me being on 10.7 has something to do with it?
http://pdb.finkproject.org/pdb/package.php/libjson-glib
=
no source distribution
On Sun, Jan 29, 2012 at 11:00 AM, Hans-Christoph Steiner hans@at.or.at wrote:
On Mac OS X: fink install libjson On Debian/etc: apt-get install libjson0-dev
.hc
On Jan 29, 2012, at 9:25 AM, m.e.grimm wrote:
i get:
purest_json.h:7:23: error: json/json.h: No such file or directory
where is json.h?
m
On Sun, Jan 29, 2012 at 12:13 AM, Hans-Christoph Steiner hans@at.or.at wrote:
This fork I just did should be easy to build on Mac: https://github.com/eighthave/PuRestJson
Just have Xcode installed, and then do this in the terminal:
cd ~/Library/Pd git clone https://github.com/eighthave/PuRestJson purest_json cd purest_json make
Then you can [import purest_json] and check out the examples in the Help Browser. I'm looking forward to playing with this myself!
.hc
On Jan 27, 2012, at 4:30 PM, Tuti wrote:
can't wait for the MAC OS version!! Regards, JF
On Fri, Jan 27, 2012 at 6:58 PM, Thomas Mayer thomas@residuum.org wrote:
Hello,
I have just uploaded new packages for Windows and Debian (i386) of PuREST JSON.
PuREST JSON is a library for connecting Pd to HTTP services and encoding and decoding JSON data.
The library can issue GET, POST, PUT and DELETE statements, so consumation of RESTful services is possible, e.g. CouchDB.
https://github.com/residuum/PuRestJson/downloads
I have written compilation instructions in the wiki, and am currently trying to cross-compile for Windows on Debian. The next logical step is trying to get cross-compilation for Mac OS X working, any pointers on how to accomplish that?
Have fun, {"name": "Thomas"} -- "We left all that stuff out. If there's an error, we have this routine called panic, and when it is called, the machine crashes, and you holler down the hall, 'Hey, reboot it.'" (Dennis Ritchie) http://www.residuum.org/
Pd-announce mailing list Pd-announce@iem.at http://lists.puredata.info/listinfo/pd-announce
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
--
José Fornari (Tuti) http:/sites.google.com/site/tutifornari/ email: tutifornari@gmail.com skype: tutifornari cel: (11) 8318-8778
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Programs should be written for people to read, and only incidentally for machines to execute. - from Structure and Interpretation of Computer Programs
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
-- ____________________ m.e.grimm | m.f.a | ed.m. megrimm@gmail.com | 315.378.2136 _________________________________
"Making boring techno music is really easy with modern tools, but with live coding, boring techno is much harder." - Chris McCormick
I made a 32-bit Mac OS X build, try it here:
http://autobuild.puredata.info/pdlab/purest_json.zip
.hc
On Jan 29, 2012, at 12:56 PM, m.e.grimm wrote:
no:
"Failed: no package found for specification 'libjson'!"
all i see as a fink package is libjson-glib
but maybe me being on 10.7 has something to do with it?
http://pdb.finkproject.org/pdb/package.php/libjson-glib
=
no source distribution
On Sun, Jan 29, 2012 at 11:00 AM, Hans-Christoph Steiner hans@at.or.at wrote:
On Mac OS X: fink install libjson On Debian/etc: apt-get install libjson0-dev
.hc
On Jan 29, 2012, at 9:25 AM, m.e.grimm wrote:
i get:
purest_json.h:7:23: error: json/json.h: No such file or directory
where is json.h?
m
On Sun, Jan 29, 2012 at 12:13 AM, Hans-Christoph Steiner hans@at.or.at wrote:
This fork I just did should be easy to build on Mac: https://github.com/eighthave/PuRestJson
Just have Xcode installed, and then do this in the terminal:
cd ~/Library/Pd git clone https://github.com/eighthave/PuRestJson purest_json cd purest_json make
Then you can [import purest_json] and check out the examples in the Help Browser. I'm looking forward to playing with this myself!
.hc
On Jan 27, 2012, at 4:30 PM, Tuti wrote:
can't wait for the MAC OS version!! Regards, JF
On Fri, Jan 27, 2012 at 6:58 PM, Thomas Mayer thomas@residuum.org wrote:
Hello,
I have just uploaded new packages for Windows and Debian (i386) of PuREST JSON.
PuREST JSON is a library for connecting Pd to HTTP services and encoding and decoding JSON data.
The library can issue GET, POST, PUT and DELETE statements, so consumation of RESTful services is possible, e.g. CouchDB.
https://github.com/residuum/PuRestJson/downloads
I have written compilation instructions in the wiki, and am currently trying to cross-compile for Windows on Debian. The next logical step is trying to get cross-compilation for Mac OS X working, any pointers on how to accomplish that?
Have fun, {"name": "Thomas"} -- "We left all that stuff out. If there's an error, we have this routine called panic, and when it is called, the machine crashes, and you holler down the hall, 'Hey, reboot it.'" (Dennis Ritchie) http://www.residuum.org/
Pd-announce mailing list Pd-announce@iem.at http://lists.puredata.info/listinfo/pd-announce
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
--
José Fornari (Tuti) http:/sites.google.com/site/tutifornari/ email: tutifornari@gmail.com skype: tutifornari cel: (11) 8318-8778
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Programs should be written for people to read, and only incidentally for machines to execute.
- from Structure and Interpretation of Computer Programs
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
-- ____________________ m.e.grimm | m.f.a | ed.m. megrimm@gmail.com | 315.378.2136 _________________________________
"Making boring techno music is really easy with modern tools, but with live coding, boring techno is much harder." - Chris McCormick
-- ____________________ m.e.grimm | m.f.a | ed.m. megrimm@gmail.com | 315.378.2136 _________________________________
All mankind is of one author, and is one volume; when one man dies, one chapter is not torn out of the book, but translated into a better language; and every chapter must be so translated.... -John Donne
great! Thanks!
works! ... i just get a pd crash when message "http://search.twitter.com/search.json?q=%23puredata" is sent to [rest-json]
i will be nice when the oauth is implemented. i was just looking at this recently to send twitter updates... any idea when this might work?
great job... really cool stuff...
cheers m
On Sun, Jan 29, 2012 at 9:59 PM, Hans-Christoph Steiner hans@at.or.at wrote:
I made a 32-bit Mac OS X build, try it here:
http://autobuild.puredata.info/pdlab/purest_json.zip
.hc
On Jan 29, 2012, at 12:56 PM, m.e.grimm wrote:
no:
"Failed: no package found for specification 'libjson'!"
all i see as a fink package is libjson-glib
but maybe me being on 10.7 has something to do with it?
http://pdb.finkproject.org/pdb/package.php/libjson-glib
=
no source distribution
On Sun, Jan 29, 2012 at 11:00 AM, Hans-Christoph Steiner hans@at.or.at wrote:
On Mac OS X: fink install libjson On Debian/etc: apt-get install libjson0-dev
.hc
On Jan 29, 2012, at 9:25 AM, m.e.grimm wrote:
i get:
purest_json.h:7:23: error: json/json.h: No such file or directory
where is json.h?
m
On Sun, Jan 29, 2012 at 12:13 AM, Hans-Christoph Steiner hans@at.or.at wrote:
This fork I just did should be easy to build on Mac: https://github.com/eighthave/PuRestJson
Just have Xcode installed, and then do this in the terminal:
cd ~/Library/Pd git clone https://github.com/eighthave/PuRestJson purest_json cd purest_json make
Then you can [import purest_json] and check out the examples in the Help Browser. I'm looking forward to playing with this myself!
.hc
On Jan 27, 2012, at 4:30 PM, Tuti wrote:
can't wait for the MAC OS version!! Regards, JF
On Fri, Jan 27, 2012 at 6:58 PM, Thomas Mayer thomas@residuum.org wrote: > Hello, > > I have just uploaded new packages for Windows and Debian (i386) of > PuREST JSON. > > PuREST JSON is a library for connecting Pd to HTTP services and encoding > and decoding JSON data. > > The library can issue GET, POST, PUT and DELETE statements, so > consumation of RESTful services is possible, e.g. CouchDB. > > https://github.com/residuum/PuRestJson/downloads > > I have written compilation instructions in the wiki, and am currently > trying to cross-compile for Windows on Debian. The next logical step is > trying to get cross-compilation for Mac OS X working, any pointers on > how to accomplish that? > > Have fun, > {"name": "Thomas"} > -- > "We left all that stuff out. If there's an error, we have this > routine called panic, and when it is called, the machine crashes, > and you holler down the hall, 'Hey, reboot it.'" (Dennis Ritchie) > http://www.residuum.org/ > > _______________________________________________ > Pd-announce mailing list > Pd-announce@iem.at > http://lists.puredata.info/listinfo/pd-announce > > _______________________________________________ > Pd-list@iem.at mailing list > UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
--
José Fornari (Tuti) http:/sites.google.com/site/tutifornari/ email: tutifornari@gmail.com skype: tutifornari cel: (11) 8318-8778
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Programs should be written for people to read, and only incidentally for machines to execute. - from Structure and Interpretation of Computer Programs
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
-- ____________________ m.e.grimm | m.f.a | ed.m. megrimm@gmail.com | 315.378.2136 _________________________________
"Making boring techno music is really easy with modern tools, but with live coding, boring techno is much harder." - Chris McCormick
-- ____________________ m.e.grimm | m.f.a | ed.m. megrimm@gmail.com | 315.378.2136 _________________________________
All mankind is of one author, and is one volume; when one man dies, one chapter is not torn out of the book, but translated into a better language; and every chapter must be so translated.... -John Donne
Hi,
On 30.01.2012 14:52, m.e.grimm wrote:
great! Thanks!
works! ... i just get a pd crash when message "http://search.twitter.com/search.json?q=%23puredata" is sent to [rest-json]
Oops, that was a bug that I reintroduced during some code cleanup. I have fixed it in git with commit cee81ff: https://github.com/residuum/PuRestJson/commit/cee81ff94d044caec1c722cb47b54b...
Feel free to post any bugs at https://github.com/residuum/PuRestJson/issues
i will be nice when the oauth is implemented. i was just looking at this recently to send twitter updates... any idea when this might work?
Right now, I am merging the helpful patches from Hans-Christoph Steiner and writing compilation docs in the Github wiki, cleaning out edges etc. When that is done, I will tag it 0.6, and make some binary packages.
After that, I will start with OAuth. The problem with OAuth is not so much a programming problem, but more of a design problem. What should be done in the Pd object, what is the responsibility of the user, how to deal with using one object to get data from different servers, how is OAuth really implemented at each provider, etc.
I will start off with some ideas and then post some stuff in the Github wiki.
great job... really cool stuff...
Thanks.
All the best, Thomas
On Jan 30, 2012, at 2:20 PM, Thomas Mayer wrote:
Hi,
On 30.01.2012 14:52, m.e.grimm wrote:
great! Thanks!
works! ... i just get a pd crash when message "http://search.twitter.com/search.json?q=%23puredata" is sent to [rest-json]
Oops, that was a bug that I reintroduced during some code cleanup. I have fixed it in git with commit cee81ff: https://github.com/residuum/PuRestJson/commit/cee81ff94d044caec1c722cb47b54b...
Feel free to post any bugs at https://github.com/residuum/PuRestJson/issues
i will be nice when the oauth is implemented. i was just looking at this recently to send twitter updates... any idea when this might work?
Right now, I am merging the helpful patches from Hans-Christoph Steiner and writing compilation docs in the Github wiki, cleaning out edges etc. When that is done, I will tag it 0.6, and make some binary packages.
After that, I will start with OAuth. The problem with OAuth is not so much a programming problem, but more of a design problem. What should be done in the Pd object, what is the responsibility of the user, how to deal with using one object to get data from different servers, how is OAuth really implemented at each provider, etc.
I will start off with some ideas and then post some stuff in the Github wiki.
I updated my Mac OS X 32-bit Intel i386 build:
http://autobuild.puredata.info/pdlab/purest_json.zip
I also posted some bug reports. If you want ssh access to the PdLab mac machines, please post a request to pd-dev which includes your ssh key, and I can add you.
For anyone wanting to build it themselves on Mac OS X, I updated the Fink package. It is now called 'json-c' since there were name conflicts for 'libjson'. It should also be in 10.7 now.
great job... really cool stuff...
I agree :-D
.hc
Mistrust authority - promote decentralization. - the hacker ethic
great! thanks for all the work... good to have this in pd for data visualization, etc...
anyway, a quick test patch is attached. the third message doesn't work. might you guys know why? is it the "&" in the request? request looks right...
which brings up the question. how to handle complicated requests with strange characters in message boxes....
For anyone wanting to build it themselves on Mac OS X, I updated the Fink package. It is now called 'json-c' since there were name conflicts for 'libjson'. It should also be in 10.7 now.
yeah i dont know why but its still not in 10.7.
Thanks for the builds though!!! work good!
m
On Mon, Jan 30, 2012 at 3:29 PM, Hans-Christoph Steiner hans@at.or.at wrote:
On Jan 30, 2012, at 2:20 PM, Thomas Mayer wrote:
Hi,
On 30.01.2012 14:52, m.e.grimm wrote:
great! Thanks!
works! ... i just get a pd crash when message "http://search.twitter.com/search.json?q=%23puredata" is sent to [rest-json]
Oops, that was a bug that I reintroduced during some code cleanup. I have fixed it in git with commit cee81ff: https://github.com/residuum/PuRestJson/commit/cee81ff94d044caec1c722cb47b54b...
Feel free to post any bugs at https://github.com/residuum/PuRestJson/issues
i will be nice when the oauth is implemented. i was just looking at this recently to send twitter updates... any idea when this might work?
Right now, I am merging the helpful patches from Hans-Christoph Steiner and writing compilation docs in the Github wiki, cleaning out edges etc. When that is done, I will tag it 0.6, and make some binary packages.
After that, I will start with OAuth. The problem with OAuth is not so much a programming problem, but more of a design problem. What should be done in the Pd object, what is the responsibility of the user, how to deal with using one object to get data from different servers, how is OAuth really implemented at each provider, etc.
I will start off with some ideas and then post some stuff in the Github wiki.
I updated my Mac OS X 32-bit Intel i386 build:
http://autobuild.puredata.info/pdlab/purest_json.zip
I also posted some bug reports. If you want ssh access to the PdLab mac machines, please post a request to pd-dev which includes your ssh key, and I can add you.
For anyone wanting to build it themselves on Mac OS X, I updated the Fink package. It is now called 'json-c' since there were name conflicts for 'libjson'. It should also be in 10.7 now.
great job... really cool stuff...
I agree :-D
.hc
Mistrust authority - promote decentralization. - the hacker ethic
yeah i dont know why but its still not in 10.7.
oops sorry... forgot to update fink. its there now!
thanks! m
On Mon, Jan 30, 2012 at 4:11 PM, m.e.grimm megrimm@gmail.com wrote:
great! thanks for all the work... good to have this in pd for data visualization, etc...
anyway, a quick test patch is attached. the third message doesn't work. might you guys know why? is it the "&" in the request? request looks right...
which brings up the question. how to handle complicated requests with strange characters in message boxes....
For anyone wanting to build it themselves on Mac OS X, I updated the Fink package. It is now called 'json-c' since there were name conflicts for 'libjson'. It should also be in 10.7 now.
yeah i dont know why but its still not in 10.7.
Thanks for the builds though!!! work good!
m
On Mon, Jan 30, 2012 at 3:29 PM, Hans-Christoph Steiner hans@at.or.at wrote:
On Jan 30, 2012, at 2:20 PM, Thomas Mayer wrote:
Hi,
On 30.01.2012 14:52, m.e.grimm wrote:
great! Thanks!
works! ... i just get a pd crash when message "http://search.twitter.com/search.json?q=%23puredata" is sent to [rest-json]
Oops, that was a bug that I reintroduced during some code cleanup. I have fixed it in git with commit cee81ff: https://github.com/residuum/PuRestJson/commit/cee81ff94d044caec1c722cb47b54b...
Feel free to post any bugs at https://github.com/residuum/PuRestJson/issues
i will be nice when the oauth is implemented. i was just looking at this recently to send twitter updates... any idea when this might work?
Right now, I am merging the helpful patches from Hans-Christoph Steiner and writing compilation docs in the Github wiki, cleaning out edges etc. When that is done, I will tag it 0.6, and make some binary packages.
After that, I will start with OAuth. The problem with OAuth is not so much a programming problem, but more of a design problem. What should be done in the Pd object, what is the responsibility of the user, how to deal with using one object to get data from different servers, how is OAuth really implemented at each provider, etc.
I will start off with some ideas and then post some stuff in the Github wiki.
I updated my Mac OS X 32-bit Intel i386 build:
http://autobuild.puredata.info/pdlab/purest_json.zip
I also posted some bug reports. If you want ssh access to the PdLab mac machines, please post a request to pd-dev which includes your ssh key, and I can add you.
For anyone wanting to build it themselves on Mac OS X, I updated the Fink package. It is now called 'json-c' since there were name conflicts for 'libjson'. It should also be in 10.7 now.
great job... really cool stuff...
I agree :-D
.hc
Mistrust authority - promote decentralization. - the hacker ethic
-- ____________________ m.e.grimm | m.f.a | ed.m. megrimm@gmail.com _________________________________
About strange characters, Pd should handle those fine. The ones that Pd has trouble with are the ones with meaning to Pd: , ; \ and space. $ with a number after it will be interpretted by Pd as a dollar arg, but $ASD will just be a symbol. Then there are the Tcl braces {} that we haven't gotten properly escaped so they are currently not usable. I think that's it. Now that Pd is UTF-8 internally, it really should handle any character.
So that is , ; \ { } space and sometimes $. {}; are used by the json format, so people likely already avoid them in their json data.
.hc
On Jan 30, 2012, at 4:11 PM, m.e.grimm wrote:
great! thanks for all the work... good to have this in pd for data visualization, etc...
anyway, a quick test patch is attached. the third message doesn't work. might you guys know why? is it the "&" in the request? request looks right...
which brings up the question. how to handle complicated requests with strange characters in message boxes....
For anyone wanting to build it themselves on Mac OS X, I updated the Fink package. It is now called 'json-c' since there were name conflicts for 'libjson'. It should also be in 10.7 now.
yeah i dont know why but its still not in 10.7.
Thanks for the builds though!!! work good!
m
On Mon, Jan 30, 2012 at 3:29 PM, Hans-Christoph Steiner hans@at.or.at wrote:
On Jan 30, 2012, at 2:20 PM, Thomas Mayer wrote:
Hi,
On 30.01.2012 14:52, m.e.grimm wrote:
great! Thanks!
works! ... i just get a pd crash when message "http://search.twitter.com/search.json?q=%23puredata" is sent to [rest-json]
Oops, that was a bug that I reintroduced during some code cleanup. I have fixed it in git with commit cee81ff: https://github.com/residuum/PuRestJson/commit/cee81ff94d044caec1c722cb47b54b...
Feel free to post any bugs at https://github.com/residuum/PuRestJson/issues
i will be nice when the oauth is implemented. i was just looking at this recently to send twitter updates... any idea when this might work?
Right now, I am merging the helpful patches from Hans-Christoph Steiner and writing compilation docs in the Github wiki, cleaning out edges etc. When that is done, I will tag it 0.6, and make some binary packages.
After that, I will start with OAuth. The problem with OAuth is not so much a programming problem, but more of a design problem. What should be done in the Pd object, what is the responsibility of the user, how to deal with using one object to get data from different servers, how is OAuth really implemented at each provider, etc.
I will start off with some ideas and then post some stuff in the Github wiki.
I updated my Mac OS X 32-bit Intel i386 build:
http://autobuild.puredata.info/pdlab/purest_json.zip
I also posted some bug reports. If you want ssh access to the PdLab mac machines, please post a request to pd-dev which includes your ssh key, and I can add you.
For anyone wanting to build it themselves on Mac OS X, I updated the Fink package. It is now called 'json-c' since there were name conflicts for 'libjson'. It should also be in 10.7 now.
great job... really cool stuff...
I agree :-D
.hc
Mistrust authority - promote decentralization. - the hacker ethic
-- ____________________ m.e.grimm | m.f.a | ed.m. megrimm@gmail.com _________________________________ <nyt-json-test.pd>
There is no way to peace, peace is the way. -A.J. Muste
I was just thinking about the data format and how to represent the nested lists of json. I guess those are two different problems.
First thing, about the raw json data coming out of [rest-json] and [json-encode], I think those should be lists of byte values of the characters, like the pdstring library does (i.e. [moocow/bytes2any], etc.). Then Pd will never hang up on any characters, like {} and it won't generate symbols for the big blocks of data, and the subchunks. Then [json-decode] would accept lists of byte values.
Using byte values also means that the raw json text could be parsed and broken into lists by Pd, using the byte values of {}[], etc. Even better would be if we came up with some kind of format that made sense in terms of Pd lists. Here are some ideas:
the key side of the "key":"value" pair gets turned into a symbol and is used as the selector of a message, i.e. [key value( or [name Thomas Mayer(.
the "value" side of the pair gets converted into the Pd type that makes the most sense, i.e: :"Thomas Mayer" --> list of 2 symbols :"residuum" --> single symbol :1239 --> single float
[ ] used to bracket nested lists, like in JSON (all 1 list):
author [ [ name Thomas Mayer ] [ login residuum ] [ email thomas@residuum.org ]
Just some ideas to get the discussion going. I attached a simple sketch of json parsing by bytes I did a while back for a simple example.
.hc
On Jan 30, 2012, at 4:38 PM, Hans-Christoph Steiner wrote:
About strange characters, Pd should handle those fine. The ones that Pd has trouble with are the ones with meaning to Pd: , ; \ and space. $ with a number after it will be interpretted by Pd as a dollar arg, but $ASD will just be a symbol. Then there are the Tcl braces {} that we haven't gotten properly escaped so they are currently not usable. I think that's it. Now that Pd is UTF-8 internally, it really should handle any character.
So that is , ; \ { } space and sometimes $. {}; are used by the json format, so people likely already avoid them in their json data.
.hc
On Jan 30, 2012, at 4:11 PM, m.e.grimm wrote:
great! thanks for all the work... good to have this in pd for data visualization, etc...
anyway, a quick test patch is attached. the third message doesn't work. might you guys know why? is it the "&" in the request? request looks right...
which brings up the question. how to handle complicated requests with strange characters in message boxes....
For anyone wanting to build it themselves on Mac OS X, I updated the Fink package. It is now called 'json-c' since there were name conflicts for 'libjson'. It should also be in 10.7 now.
yeah i dont know why but its still not in 10.7.
Thanks for the builds though!!! work good!
m
On Mon, Jan 30, 2012 at 3:29 PM, Hans-Christoph Steiner hans@at.or.at wrote:
On Jan 30, 2012, at 2:20 PM, Thomas Mayer wrote:
Hi,
On 30.01.2012 14:52, m.e.grimm wrote:
great! Thanks!
works! ... i just get a pd crash when message "http://search.twitter.com/search.json?q=%23puredata" is sent to [rest-json]
Oops, that was a bug that I reintroduced during some code cleanup. I have fixed it in git with commit cee81ff: https://github.com/residuum/PuRestJson/commit/cee81ff94d044caec1c722cb47b54b...
Feel free to post any bugs at https://github.com/residuum/PuRestJson/issues
i will be nice when the oauth is implemented. i was just looking at this recently to send twitter updates... any idea when this might work?
Right now, I am merging the helpful patches from Hans-Christoph Steiner and writing compilation docs in the Github wiki, cleaning out edges etc. When that is done, I will tag it 0.6, and make some binary packages.
After that, I will start with OAuth. The problem with OAuth is not so much a programming problem, but more of a design problem. What should be done in the Pd object, what is the responsibility of the user, how to deal with using one object to get data from different servers, how is OAuth really implemented at each provider, etc.
I will start off with some ideas and then post some stuff in the Github wiki.
I updated my Mac OS X 32-bit Intel i386 build:
http://autobuild.puredata.info/pdlab/purest_json.zip
I also posted some bug reports. If you want ssh access to the PdLab mac machines, please post a request to pd-dev which includes your ssh key, and I can add you.
For anyone wanting to build it themselves on Mac OS X, I updated the Fink package. It is now called 'json-c' since there were name conflicts for 'libjson'. It should also be in 10.7 now.
great job... really cool stuff...
I agree :-D
.hc
Mistrust authority - promote decentralization. - the hacker ethic
-- ____________________ m.e.grimm | m.f.a | ed.m. megrimm@gmail.com _________________________________ <nyt-json-test.pd>
There is no way to peace, peace is the way. -A.J. Muste
"It is convenient to imagine a power beyond us because that means we don't have to examine our own lives.", from "The Idols of Environmentalism", by Curtis White
This is great, I'm happy to see you working on it more. I'm also looking to working with more data sources. I've played around with it a little, and am getting a crash running on Mac OS X 10.6.8/64-bit. I open the rest-json-help.pd and add a [json-decode] to the bottom of the [rest-json] object. When I click on a URL, it crashes. I tried to debug it a little but no luck, basically its crashing on the first line of output_json():
enum json_type outer_type = json_object_get_type(jobj);
I also posted another pull request, this one is has a script for embedding the needed libraries when building on Mac OS X.
.hc
On Jan 27, 2012, at 3:58 PM, Thomas Mayer wrote:
Hello,
I have just uploaded new packages for Windows and Debian (i386) of PuREST JSON.
PuREST JSON is a library for connecting Pd to HTTP services and encoding and decoding JSON data.
The library can issue GET, POST, PUT and DELETE statements, so consumation of RESTful services is possible, e.g. CouchDB.
https://github.com/residuum/PuRestJson/downloads
I have written compilation instructions in the wiki, and am currently trying to cross-compile for Windows on Debian. The next logical step is trying to get cross-compilation for Mac OS X working, any pointers on how to accomplish that?
Have fun, {"name": "Thomas"} -- "We left all that stuff out. If there's an error, we have this routine called panic, and when it is called, the machine crashes, and you holler down the hall, 'Hey, reboot it.'" (Dennis Ritchie) http://www.residuum.org/
Pd-announce mailing list Pd-announce@iem.at http://lists.puredata.info/listinfo/pd-announce
"It is convenient to imagine a power beyond us because that means we don't have to examine our own lives.", from "The Idols of Environmentalism", by Curtis White
Le 27/01/2012 21:58, Thomas Mayer a écrit :
Hello,
Hi Thomas,
I have just uploaded new packages for Windows and Debian (i386) of PuREST JSON.
I just installed the Debian package on a Ubuntu Studio 10.04 LTS install into ~/pd-externals with Pd-extended 0.42-5 and it works fine for two things:
I had to add "_" instead of the spaces of the [print] objects of your help files.
I got a crash when trying to connect to couchdb through your example.
Here is the crash report.
OH
:~/purematter/purestjson$ pdextended
tk scaling is 1.6821192052980132
*** glibc detected *** pdextended: corrupted double-linked list:
0x09609ac8 ***
======= Backtrace: =========
/lib/tls/i686/cmov/libc.so.6(+0x6b591)[0x37f591]
/lib/tls/i686/cmov/libc.so.6(+0x6ce41)[0x380e41]
/lib/tls/i686/cmov/libc.so.6(cfree+0x6d)[0x383ecd]
/usr/lib/libjson.so.0(array_list_free+0x47)[0x1b1aae7]
/usr/lib/libjson.so.0(+0x23f5)[0x1b1b3f5]
/usr/lib/libjson.so.0(json_object_put+0x26)[0x1b1adf6]
/usr/lib/libjson.so.0(+0x1edd)[0x1b1aedd]
/usr/lib/libjson.so.0(array_list_free+0x35)[0x1b1aad5]
/usr/lib/libjson.so.0(+0x23f5)[0x1b1b3f5]
/usr/lib/libjson.so.0(json_object_put+0x26)[0x1b1adf6]
/usr/lib/libjson.so.0(+0x1edd)[0x1b1aedd]
/usr/lib/libjson.so.0(array_list_free+0x35)[0x1b1aad5]
/usr/lib/libjson.so.0(+0x23f5)[0x1b1b3f5]
/usr/lib/libjson.so.0(json_object_put+0x26)[0x1b1adf6]
/usr/lib/libjson.so.0(+0x21ff)[0x1b1b1ff]
/usr/lib/libjson.so.0(lh_table_free+0x2c)[0x1b1d7bc]
/usr/lib/libjson.so.0(+0x2b75)[0x1b1bb75]
/usr/lib/libjson.so.0(json_object_put+0x26)[0x1b1adf6]
/home/olivier/pd-externals/purest_json.pd_linux(json_encode_bang+0x2a0)[0x1ad1b20]
pdextended(outlet_bang+0x33)[0x80b9783]
======= Memory map: ========
00110000-00111000 r-xp 00000000 08:03 589083
/usr/lib/pd-extended/extra/libdir.pd_linux
00111000-00112000 r--p 00000000 08:03 589083
/usr/lib/pd-extended/extra/libdir.pd_linux
00112000-00113000 rw-p 00001000 08:03 589083
/usr/lib/pd-extended/extra/libdir.pd_linux
00113000-00119000 r-xp 00000000 08:03 168352 /usr/lib/libv4l2.so.0
00119000-0011a000 r--p 00005000 08:03 168352 /usr/lib/libv4l2.so.0
0011a000-0011e000 rw-p 00006000 08:03 168352 /usr/lib/libv4l2.so.0
0011e000-0018e000 r-xp 00000000 08:03 192404
/usr/lib/libquicktime.so.1.0.0
0018e000-0018f000 r--p 0006f000 08:03 192404
/usr/lib/libquicktime.so.1.0.0
0018f000-00191000 rw-p 00070000 08:03 192404
/usr/lib/libquicktime.so.1.0.0
00191000-00192000 rw-p 00000000 00:00 0
00192000-001a5000 r-xp 00000000 08:03 135097 /lib/libz.so.1.2.3.3
001a5000-001a6000 r--p 00012000 08:03 135097 /lib/libz.so.1.2.3.3
001a6000-001a7000 rw-p 00013000 08:03 135097 /lib/libz.so.1.2.3.3
001a7000-001c1000 r-xp 00000000 08:03 192396 /usr/lib/libdv.so.4.0.3
001c1000-001c2000 r--p 00019000 08:03 192396 /usr/lib/libdv.so.4.0.3
001c2000-001c4000 rw-p 0001a000 08:03 192396 /usr/lib/libdv.so.4.0.3
001c4000-001d0000 rw-p 00000000 00:00 0
001d0000-001de000 r-xp 00000000 08:03 147925 /usr/lib/libXext.so.6.4.0
001de000-001df000 r--p 0000d000 08:03 147925 /usr/lib/libXext.so.6.4.0
001df000-001e0000 rw-p 0000e000 08:03 147925 /usr/lib/libXext.so.6.4.0
001e1000-001f0000 r-xp 00000000 08:03 187000 /usr/lib/libjack.so.0.0.28
001f0000-001f1000 r--p 0000e000 08:03 187000 /usr/lib/libjack.so.0.0.28
001f1000-001f3000 rw-p 0000f000 08:03 187000 /usr/lib/libjack.so.0.0.28
001f3000-001fb000 rw-p 00000000 00:00 0
001fb000-0026c000 r-xp 00000000 08:03 143827
/usr/lib/libMagick++.so.2.0.1
0026c000-0026e000 r--p 00070000 08:03 143827
/usr/lib/libMagick++.so.2.0.1
0026e000-0026f000 rw-p 00072000 08:03 143827
/usr/lib/libMagick++.so.2.0.1
0026f000-00291000 r-xp 00000000 08:03 192394 /usr/lib/libmpeg3.so.1.5.4
00291000-00296000 rw-p 00022000 08:03 192394 /usr/lib/libmpeg3.so.1.5.4
00296000-002a9000 rw-p 00000000 00:00 0
002a9000-002ad000 r-xp 00000000 08:03 178565
/usr/lib/libXxf86vm.so.1.0.0
002ad000-002ae000 r--p 00003000 08:03 178565
/usr/lib/libXxf86vm.so.1.0.0
002ae000-002af000 rw-p 00004000 08:03 178565
/usr/lib/libXxf86vm.so.1.0.0
002af000-002cc000 r-xp 00000000 08:03 131184 /lib/libgcc_s.so.1
002cc000-002cd000 r--p 0001c000 08:03 131184 /lib/libgcc_s.so.1
002cd000-002ce000 rw-p 0001d000 08:03 131184 /lib/libgcc_s.so.1
002ce000-002fe000 r-xp 00000000 08:03 131141 /usr/lib/liblcms.so.1.0.18
002fe000-002ff000 r--p 0002f000 08:03 131141 /usr/lib/liblcms.so.1.0.18
002ff000-00300000 rw-p 00030000 08:03 131141 /usr/lib/liblcms.so.1.0.18
00300000-00302000 rw-p 00000000 00:00 0
00302000-00312000 r-xp 00000000 08:03 130355 /lib/libbz2.so.1.0.4
00312000-00313000 r--p 0000f000 08:03 130355 /lib/libbz2.so.1.0.4
00313000-00314000 rw-p 00010000 08:03 130355 /lib/libbz2.so.1.0.4
00314000-00467000 r-xp 00000000 08:03 132578
/lib/tls/i686/cmov/libc-2.11.1.so
00467000-00468000 ---p 00153000 08:03 132578
/lib/tls/i686/cmov/libc-2.11.1.so
00468000-0046a000 r--p 00153000 08:03 132578
/lib/tls/i686/cmov/libc-2.11.1.so
0046a000-0046b000 rw-p 00155000 08:03 132578
/lib/tls/i686/cmov/libc-2.11.1.so
0046b000-0046e000 rw-p 00000000 00:00 0
0046e000-0063d000 r-xp 00000000 08:03 238405
/usr/lib/libMagickCore.so.2.0.1
0063d000-00647000 r--p 001ce000 08:03 238405
/usr/lib/libMagickCore.so.2.0.1
00647000-0068c000 rw-p 001d8000 08:03 238405
/usr/lib/libMagickCore.so.2.0.1
0068c000-006a4000 rw-p 00000000 00:00 0
006a4000-006ab000 r-xp 00000000 08:03 159280 /usr/lib/libltdl.so.7.2.1
006ab000-006ac000 r--p 00006000 08:03 159280 /usr/lib/libltdl.so.7.2.1
006ac000-006ad000 rw-p 00007000 08:03 159280 /usr/lib/libltdl.so.7.2.1
006ad000-006b4000 r-xp 00000000 08:03 147937 /usr/lib/libSM.so.6.0.1
006b4000-006b5000 r--p 00006000 08:03 147937 /usr/lib/libSM.so.6.0.1
006b5000-006b6000 rw-p 00007000 08:03 147937 /usr/lib/libSM.so.6.0.1
006b6000-006cb000 r-xp 00000000 08:03 147931 /usr/lib/libICE.so.6.3.0
006cb000-006cc000 r--p 00014000 08:03 147931 /usr/lib/libICE.so.6.3.0
006cc000-006cd000 rw-p 00015000 08:03 147931 /usr/lib/libICE.so.6.3.0
006cd000-006cf000 rw-p 00000000 00:00 0
006cf000-006db000 r-xp 00000000 08:03 191815 /usr/lib/libgomp.so.1.0.0
006db000-006dc000 r--p 0000b000 08:03 191815 /usr/lib/libgomp.so.1.0.0
006dc000-006dd000 rw-p 0000c000 08:03 191815 /usr/lib/libgomp.so.1.0.0
006dd000-006de000 r-xp 00000000 08:03 539644
/usr/lib/nvidia-173/tls/libnvidia-tls.so.173.14.22
006de000-006df000 rw-p 00000000 08:03 539644
/usr/lib/nvidia-173/tls/libnvidia-tls.so.173.14.22
006e0000-006e2000 r-xp 00000000 08:03 132584
/lib/tls/i686/cmov/libdl-2.11.1.so
006e2000-006e3000 r--p 00001000 08:03 132584
/lib/tls/i686/cmov/libdl-2.11.1.so
006e3000-006e4000 rw-p 00002000 08:03 132584
/lib/tls/i686/cmov/libdl-2.11.1.so
006e4000-00753000 r-xp 00000000 08:03 148678
/usr/lib/libGLU.so.1.3.070701
00753000-00754000 r--p 0006e000 08:03 148678
/usr/lib/libGLU.so.1.3.070701
00754000-00755000 rw-p 0006f000 08:03 148678
/usr/lib/libGLU.so.1.3.070701
00755000-007dd000 r-xp 00000000 08:03 539652
/usr/lib/nvidia-173/libGL.so.173.14.22
007dd000-007f8000 rwxp 00088000 08:03 539652
/usr/lib/nvidia-173/libGL.so.173.14.22
007f8000-007f9000 rwxp 00000000 00:00 0
007f9000-00813000 r-xp 00000000 08:03 168353 /usr/lib/libv4lconvert.so.0
00813000-00815000 r--p 0001a000 08:03 168353 /usr/lib/libv4lconvert.so.0
00815000-00816000 rw-p 0001c000 08:03 168353 /usr/lib/libv4lconvert.so.0
00816000-00866000 rw-p 00000000 00:00 0
00866000-00869000 r-xp 00000000 08:03 132183 /lib/libuuid.so.1.3.0
00869000-0086a000 r--p 00002000 08:03 132183 /lib/libuuid.so.1.3.0
0086a000-0086b000 rw-p 00003000 08:03 132183 /lib/libuuid.so.1.3.0
0086c000-00887000 r-xp 00000000 08:03 131977 /lib/ld-2.11.1.so
00887000-00888000 r--p 0001a000 08:03 131977 /lib/ld-2.11.1.so
00888000-00889000 rw-p 0001b000 08:03 131977 /lib/ld-2.11.1.so
00889000-00892000 r-xp 00000000 08:03 192393 /usr/lib/liba52-0.7.4.so
00892000-00893000 r--p 00008000 08:03 192393 /usr/lib/liba52-0.7.4.so
00893000-00894000 rw-p 00009000 08:03 192393 /usr/lib/liba52-0.7.4.so
00894000-00895000 rw-p 00000000 00:00 0
00895000-008ad000 r-xp 00000000 08:03 147658 /usr/lib/libxcb.so.1.1.0
008ad000-008ae000 r--p 00017000 08:03 147658 /usr/lib/libxcb.so.1.1.0
008ae000-008af000 rw-p 00018000 08:03 147658 /usr/lib/libxcb.so.1.1.0
008af000-008b1000 r-xp 00000000 08:03 147650 /usr/lib/libXau.so.6.0.0
008b1000-008b2000 r--p 00001000 08:03 147650 /usr/lib/libXau.so.6.0.0
008b2000-008b3000 rw-p 00002000 08:03 147650 /usr/lib/libXau.so.6.0.0
008b3000-008b7000 r-xp 00000000 08:03 147656 /usr/lib/libXdmcp.so.6.0.0
008b7000-008b8000 r--p 00003000 08:03 147656 /usr/lib/libXdmcp.so.6.0.0
008b8000-008b9000 rw-p 00004000 08:03 147656 /usr/lib/libXdmcp.so.6.0.0
008b9000-008bb000 rwxp 00000000 00:05 1202 /dev/zero
008bb000-008bd000 r-xp 00000000 08:03 587980
/usr/lib/pd-extended/extra/ggee/vbap.pd_linux
008bd000-008be000 r--p 00001000 08:03 587980
/usr/lib/pd-extended/extra/ggee/vbap.pd_linux
008be000-008bf000 rw-p 00002000 08:03 587980
/usr/lib/pd-extended/extra/ggee/vbap.pd_linux
008bf000-008c0000 r-xp 00000000 08:03 588183
/usr/lib/pd-extended/extra/iemlib/iem_anything.pd_linux
008c0000-008c1000 r--p 00001000 08:03 588183
/usr/lib/pd-extended/extra/iemlib/iem_anything.pd_linux
008c1000-008c2000 rw-p 00002000 08:03 588183
/usr/lib/pd-extended/extra/iemlib/iem_anything.pd_linux
008c2000-008d7000 r-xp 00000000 08:03 133039
/lib/tls/i686/cmov/libpthread-2.11.1.so
008d7000-008d8000 r--p 00014000 08:03 133039
/lib/tls/i686/cmov/libpthread-2.11.1.so
008d8000-008d9000 rw-p 00015000 08:03 133039
/lib/tls/i686/cmov/libpthread-2.11.1.so
008d9000-008db000 rw-p 00000000 00:00 0
008db000-008e4000 r-xp 00000000 08:03 156163 /usr/lib/libesd.so.0.2.39
008e4000-008e5000 r--p 00008000 08:03 156163 /usr/lib/libesd.so.0.2.39
008e5000-008e6000 rw-p 00009000 08:03 156163 /usr/lib/libesd.so.0.2.39
008e6000-008e9000 r-xp 00000000 08:03 160574
/usr/lib/libpulse-simple.so.0.0.3
008e9000-008ea000 r--p 00002000 08:03 160574
/usr/lib/libpulse-simple.so.0.0.3
008ea000-008eb000 rw-p 00003000 08:03 160574
/usr/lib/libpulse-simple.so.0.0.3
008eb000-008ec000 r-xp 00000000 08:05 696349
/home/olivier/pd-externals/gridflow/gridflow_gem_loader.pd_linux
008ec000-008ed000 r--p 00000000 08:05 696349
/home/olivier/pd-externals/gridflow/gridflow_gem_loader.pd_linux
008ed000-008ee000 rw-p 00001000 08:05 696349
/home/olivier/pd-externals/gridflow/gridflow_gem_loader.pd_linux
008ef000-00913000 r-xp 00000000 08:03 132586
/lib/tls/i686/cmov/libm-2.11.1.so
00913000-00914000 r--p 00023000 08:03 132586
/lib/tls/i686/cmov/libm-2.11.1.so
00914000-00915000 rw-p 00024000 08:03 132586
/lib/tls/i686/cmov/libm-2.11.1.so
00915000-0096d000 r-xp 00000000 08:03 178675 /usr/lib/libtiff.so.4.3.2
0096d000-0096f000 r--p 00057000 08:03 178675 /usr/lib/libtiff.so.4.3.2
0096f000-00970000 rw-p 00059000 08:03 178675 /usr/lib/libtiff.so.4.3.2
00970000-00978000 r-xp 00000000 08:03 155660
/usr/lib/libfusion-1.2.so.0.8.0
00978000-00979000 r--p 00007000 08:03 155660
/usr/lib/libfusion-1.2.so.0.8.0
------------------------------ caught Abort
1: /lib/tls/i686/cmov/libc.so.6(+0x2a6e8) [0x33e6e8]
2: /lib/ld-linux.so.2(+0x832) [0x86c832]
3: /lib/tls/i686/cmov/libc.so.6(abort+0x182) [0x341a82]
4: /lib/tls/i686/cmov/libc.so.6(+0x6149d) [0x37549d]
5: /lib/tls/i686/cmov/libc.so.6(+0x6b591) [0x37f591]
6: /lib/tls/i686/cmov/libc.so.6(+0x6ce41) [0x380e41]
7: /lib/tls/i686/cmov/libc.so.6(cfree+0x6d) [0x383ecd]
8: /usr/lib/libjson.so.0(array_list_free+0x47) [0x1b1aae7]
9: /usr/lib/libjson.so.0(+0x23f5) [0x1b1b3f5]
10: /usr/lib/libjson.so.0(json_object_put+0x26) [0x1b1adf6]
11: /usr/lib/libjson.so.0(+0x1edd) [0x1b1aedd]
12: /usr/lib/libjson.so.0(array_list_free+0x35) [0x1b1aad5]
13: /usr/lib/libjson.so.0(+0x23f5) [0x1b1b3f5]
14: /usr/lib/libjson.so.0(json_object_put+0x26) [0x1b1adf6]
15: /usr/lib/libjson.so.0(+0x1edd) [0x1b1aedd]
16: /usr/lib/libjson.so.0(array_list_free+0x35) [0x1b1aad5]
17: /usr/lib/libjson.so.0(+0x23f5) [0x1b1b3f5]
18: /usr/lib/libjson.so.0(json_object_put+0x26) [0x1b1adf6]
19: /usr/lib/libjson.so.0(+0x21ff) [0x1b1b1ff]
20: /usr/lib/libjson.so.0(lh_table_free+0x2c) [0x1b1d7bc]
21: /usr/lib/libjson.so.0(+0x2b75) [0x1b1bb75]
22: /usr/lib/libjson.so.0(json_object_put+0x26) [0x1b1adf6]
23:
/home/olivier/pd-externals/purest_json.pd_linux(json_encode_bang+0x2a0)
[0x1ad1b20]
24: pdextended(outlet_bang+0x33) [0x80b9783]
-------- crash report displayed by segfault.pd_linux 1.0 (by matju)
pd_gui: pd process exited
PuREST JSON is a library for connecting Pd to HTTP services and encoding and decoding JSON data.
The library can issue GET, POST, PUT and DELETE statements, so consumation of RESTful services is possible, e.g. CouchDB.
https://github.com/residuum/PuRestJson/downloads
I have written compilation instructions in the wiki, and am currently trying to cross-compile for Windows on Debian. The next logical step is trying to get cross-compilation for Mac OS X working, any pointers on how to accomplish that?
Have fun, {"name": "Thomas"}
Hi,
thank you for testing.
On 30.01.2012 14:13, Oli44 wrote:
Le 27/01/2012 21:58, Thomas Mayer a écrit :
Hello,
Hi Thomas,
I have just uploaded new packages for Windows and Debian (i386) of PuREST JSON.
I just installed the Debian package on a Ubuntu Studio 10.04 LTS install into ~/pd-externals with Pd-extended 0.42-5 and it works fine for two things:
I had to add "_" instead of the spaces of the [print] objects of your help files.
I have just committed this to Github.
I got a crash when trying to connect to couchdb through your example.
I will investigate this.
Here is the crash report.
OH
:~/purematter/purestjson$ pdextended tk scaling is 1.6821192052980132 *** glibc detected *** pdextended: corrupted double-linked list: 0x09609ac8 *** ======= Backtrace: ========= /lib/tls/i686/cmov/libc.so.6(+0x6b591)[0x37f591] /lib/tls/i686/cmov/libc.so.6(+0x6ce41)[0x380e41] /lib/tls/i686/cmov/libc.so.6(cfree+0x6d)[0x383ecd] /usr/lib/libjson.so.0(array_list_free+0x47)[0x1b1aae7] /usr/lib/libjson.so.0(+0x23f5)[0x1b1b3f5] /usr/lib/libjson.so.0(json_object_put+0x26)[0x1b1adf6] /usr/lib/libjson.so.0(+0x1edd)[0x1b1aedd] /usr/lib/libjson.so.0(array_list_free+0x35)[0x1b1aad5] /usr/lib/libjson.so.0(+0x23f5)[0x1b1b3f5] /usr/lib/libjson.so.0(json_object_put+0x26)[0x1b1adf6] /usr/lib/libjson.so.0(+0x1edd)[0x1b1aedd] /usr/lib/libjson.so.0(array_list_free+0x35)[0x1b1aad5] /usr/lib/libjson.so.0(+0x23f5)[0x1b1b3f5] /usr/lib/libjson.so.0(json_object_put+0x26)[0x1b1adf6] /usr/lib/libjson.so.0(+0x21ff)[0x1b1b1ff] /usr/lib/libjson.so.0(lh_table_free+0x2c)[0x1b1d7bc] /usr/lib/libjson.so.0(+0x2b75)[0x1b1bb75] /usr/lib/libjson.so.0(json_object_put+0x26)[0x1b1adf6] /home/olivier/pd-externals/purest_json.pd_linux(json_encode_bang+0x2a0)[0x1ad1b20] pdextended(outlet_bang+0x33)[0x80b9783] ======= Memory map: ======== 00110000-00111000 r-xp 00000000 08:03 589083 /usr/lib/pd-extended/extra/libdir.pd_linux 00111000-00112000 r--p 00000000 08:03 589083 /usr/lib/pd-extended/extra/libdir.pd_linux 00112000-00113000 rw-p 00001000 08:03 589083 /usr/lib/pd-extended/extra/libdir.pd_linux 00113000-00119000 r-xp 00000000 08:03 168352 /usr/lib/libv4l2.so.0 00119000-0011a000 r--p 00005000 08:03 168352 /usr/lib/libv4l2.so.0 0011a000-0011e000 rw-p 00006000 08:03 168352 /usr/lib/libv4l2.so.0 0011e000-0018e000 r-xp 00000000 08:03 192404 /usr/lib/libquicktime.so.1.0.0 0018e000-0018f000 r--p 0006f000 08:03 192404 /usr/lib/libquicktime.so.1.0.0 0018f000-00191000 rw-p 00070000 08:03 192404 /usr/lib/libquicktime.so.1.0.0 00191000-00192000 rw-p 00000000 00:00 0 00192000-001a5000 r-xp 00000000 08:03 135097 /lib/libz.so.1.2.3.3 001a5000-001a6000 r--p 00012000 08:03 135097 /lib/libz.so.1.2.3.3 001a6000-001a7000 rw-p 00013000 08:03 135097 /lib/libz.so.1.2.3.3 001a7000-001c1000 r-xp 00000000 08:03 192396 /usr/lib/libdv.so.4.0.3 001c1000-001c2000 r--p 00019000 08:03 192396 /usr/lib/libdv.so.4.0.3 001c2000-001c4000 rw-p 0001a000 08:03 192396 /usr/lib/libdv.so.4.0.3 001c4000-001d0000 rw-p 00000000 00:00 0 001d0000-001de000 r-xp 00000000 08:03 147925 /usr/lib/libXext.so.6.4.0 001de000-001df000 r--p 0000d000 08:03 147925 /usr/lib/libXext.so.6.4.0 001df000-001e0000 rw-p 0000e000 08:03 147925 /usr/lib/libXext.so.6.4.0 001e1000-001f0000 r-xp 00000000 08:03 187000 /usr/lib/libjack.so.0.0.28 001f0000-001f1000 r--p 0000e000 08:03 187000 /usr/lib/libjack.so.0.0.28 001f1000-001f3000 rw-p 0000f000 08:03 187000 /usr/lib/libjack.so.0.0.28 001f3000-001fb000 rw-p 00000000 00:00 0 001fb000-0026c000 r-xp 00000000 08:03 143827 /usr/lib/libMagick++.so.2.0.1 0026c000-0026e000 r--p 00070000 08:03 143827 /usr/lib/libMagick++.so.2.0.1 0026e000-0026f000 rw-p 00072000 08:03 143827 /usr/lib/libMagick++.so.2.0.1 0026f000-00291000 r-xp 00000000 08:03 192394 /usr/lib/libmpeg3.so.1.5.4 00291000-00296000 rw-p 00022000 08:03 192394 /usr/lib/libmpeg3.so.1.5.4 00296000-002a9000 rw-p 00000000 00:00 0 002a9000-002ad000 r-xp 00000000 08:03 178565 /usr/lib/libXxf86vm.so.1.0.0 002ad000-002ae000 r--p 00003000 08:03 178565 /usr/lib/libXxf86vm.so.1.0.0 002ae000-002af000 rw-p 00004000 08:03 178565 /usr/lib/libXxf86vm.so.1.0.0 002af000-002cc000 r-xp 00000000 08:03 131184 /lib/libgcc_s.so.1 002cc000-002cd000 r--p 0001c000 08:03 131184 /lib/libgcc_s.so.1 002cd000-002ce000 rw-p 0001d000 08:03 131184 /lib/libgcc_s.so.1 002ce000-002fe000 r-xp 00000000 08:03 131141 /usr/lib/liblcms.so.1.0.18 002fe000-002ff000 r--p 0002f000 08:03 131141 /usr/lib/liblcms.so.1.0.18 002ff000-00300000 rw-p 00030000 08:03 131141 /usr/lib/liblcms.so.1.0.18 00300000-00302000 rw-p 00000000 00:00 0 00302000-00312000 r-xp 00000000 08:03 130355 /lib/libbz2.so.1.0.4 00312000-00313000 r--p 0000f000 08:03 130355 /lib/libbz2.so.1.0.4 00313000-00314000 rw-p 00010000 08:03 130355 /lib/libbz2.so.1.0.4 00314000-00467000 r-xp 00000000 08:03 132578 /lib/tls/i686/cmov/libc-2.11.1.so 00467000-00468000 ---p 00153000 08:03 132578 /lib/tls/i686/cmov/libc-2.11.1.so 00468000-0046a000 r--p 00153000 08:03 132578 /lib/tls/i686/cmov/libc-2.11.1.so 0046a000-0046b000 rw-p 00155000 08:03 132578 /lib/tls/i686/cmov/libc-2.11.1.so 0046b000-0046e000 rw-p 00000000 00:00 0 0046e000-0063d000 r-xp 00000000 08:03 238405 /usr/lib/libMagickCore.so.2.0.1 0063d000-00647000 r--p 001ce000 08:03 238405 /usr/lib/libMagickCore.so.2.0.1 00647000-0068c000 rw-p 001d8000 08:03 238405 /usr/lib/libMagickCore.so.2.0.1 0068c000-006a4000 rw-p 00000000 00:00 0 006a4000-006ab000 r-xp 00000000 08:03 159280 /usr/lib/libltdl.so.7.2.1 006ab000-006ac000 r--p 00006000 08:03 159280 /usr/lib/libltdl.so.7.2.1 006ac000-006ad000 rw-p 00007000 08:03 159280 /usr/lib/libltdl.so.7.2.1 006ad000-006b4000 r-xp 00000000 08:03 147937 /usr/lib/libSM.so.6.0.1 006b4000-006b5000 r--p 00006000 08:03 147937 /usr/lib/libSM.so.6.0.1 006b5000-006b6000 rw-p 00007000 08:03 147937 /usr/lib/libSM.so.6.0.1 006b6000-006cb000 r-xp 00000000 08:03 147931 /usr/lib/libICE.so.6.3.0 006cb000-006cc000 r--p 00014000 08:03 147931 /usr/lib/libICE.so.6.3.0 006cc000-006cd000 rw-p 00015000 08:03 147931 /usr/lib/libICE.so.6.3.0 006cd000-006cf000 rw-p 00000000 00:00 0 006cf000-006db000 r-xp 00000000 08:03 191815 /usr/lib/libgomp.so.1.0.0 006db000-006dc000 r--p 0000b000 08:03 191815 /usr/lib/libgomp.so.1.0.0 006dc000-006dd000 rw-p 0000c000 08:03 191815 /usr/lib/libgomp.so.1.0.0 006dd000-006de000 r-xp 00000000 08:03 539644 /usr/lib/nvidia-173/tls/libnvidia-tls.so.173.14.22 006de000-006df000 rw-p 00000000 08:03 539644 /usr/lib/nvidia-173/tls/libnvidia-tls.so.173.14.22 006e0000-006e2000 r-xp 00000000 08:03 132584 /lib/tls/i686/cmov/libdl-2.11.1.so 006e2000-006e3000 r--p 00001000 08:03 132584 /lib/tls/i686/cmov/libdl-2.11.1.so 006e3000-006e4000 rw-p 00002000 08:03 132584 /lib/tls/i686/cmov/libdl-2.11.1.so 006e4000-00753000 r-xp 00000000 08:03 148678 /usr/lib/libGLU.so.1.3.070701 00753000-00754000 r--p 0006e000 08:03 148678 /usr/lib/libGLU.so.1.3.070701 00754000-00755000 rw-p 0006f000 08:03 148678 /usr/lib/libGLU.so.1.3.070701 00755000-007dd000 r-xp 00000000 08:03 539652 /usr/lib/nvidia-173/libGL.so.173.14.22 007dd000-007f8000 rwxp 00088000 08:03 539652 /usr/lib/nvidia-173/libGL.so.173.14.22 007f8000-007f9000 rwxp 00000000 00:00 0 007f9000-00813000 r-xp 00000000 08:03 168353 /usr/lib/libv4lconvert.so.0 00813000-00815000 r--p 0001a000 08:03 168353 /usr/lib/libv4lconvert.so.0 00815000-00816000 rw-p 0001c000 08:03 168353 /usr/lib/libv4lconvert.so.0 00816000-00866000 rw-p 00000000 00:00 0 00866000-00869000 r-xp 00000000 08:03 132183 /lib/libuuid.so.1.3.0 00869000-0086a000 r--p 00002000 08:03 132183 /lib/libuuid.so.1.3.0 0086a000-0086b000 rw-p 00003000 08:03 132183 /lib/libuuid.so.1.3.0 0086c000-00887000 r-xp 00000000 08:03 131977 /lib/ld-2.11.1.so 00887000-00888000 r--p 0001a000 08:03 131977 /lib/ld-2.11.1.so 00888000-00889000 rw-p 0001b000 08:03 131977 /lib/ld-2.11.1.so 00889000-00892000 r-xp 00000000 08:03 192393 /usr/lib/liba52-0.7.4.so 00892000-00893000 r--p 00008000 08:03 192393 /usr/lib/liba52-0.7.4.so 00893000-00894000 rw-p 00009000 08:03 192393 /usr/lib/liba52-0.7.4.so 00894000-00895000 rw-p 00000000 00:00 0 00895000-008ad000 r-xp 00000000 08:03 147658 /usr/lib/libxcb.so.1.1.0 008ad000-008ae000 r--p 00017000 08:03 147658 /usr/lib/libxcb.so.1.1.0 008ae000-008af000 rw-p 00018000 08:03 147658 /usr/lib/libxcb.so.1.1.0 008af000-008b1000 r-xp 00000000 08:03 147650 /usr/lib/libXau.so.6.0.0 008b1000-008b2000 r--p 00001000 08:03 147650 /usr/lib/libXau.so.6.0.0 008b2000-008b3000 rw-p 00002000 08:03 147650 /usr/lib/libXau.so.6.0.0 008b3000-008b7000 r-xp 00000000 08:03 147656 /usr/lib/libXdmcp.so.6.0.0 008b7000-008b8000 r--p 00003000 08:03 147656 /usr/lib/libXdmcp.so.6.0.0 008b8000-008b9000 rw-p 00004000 08:03 147656 /usr/lib/libXdmcp.so.6.0.0 008b9000-008bb000 rwxp 00000000 00:05 1202 /dev/zero 008bb000-008bd000 r-xp 00000000 08:03 587980 /usr/lib/pd-extended/extra/ggee/vbap.pd_linux 008bd000-008be000 r--p 00001000 08:03 587980 /usr/lib/pd-extended/extra/ggee/vbap.pd_linux 008be000-008bf000 rw-p 00002000 08:03 587980 /usr/lib/pd-extended/extra/ggee/vbap.pd_linux 008bf000-008c0000 r-xp 00000000 08:03 588183 /usr/lib/pd-extended/extra/iemlib/iem_anything.pd_linux 008c0000-008c1000 r--p 00001000 08:03 588183 /usr/lib/pd-extended/extra/iemlib/iem_anything.pd_linux 008c1000-008c2000 rw-p 00002000 08:03 588183 /usr/lib/pd-extended/extra/iemlib/iem_anything.pd_linux 008c2000-008d7000 r-xp 00000000 08:03 133039 /lib/tls/i686/cmov/libpthread-2.11.1.so 008d7000-008d8000 r--p 00014000 08:03 133039 /lib/tls/i686/cmov/libpthread-2.11.1.so 008d8000-008d9000 rw-p 00015000 08:03 133039 /lib/tls/i686/cmov/libpthread-2.11.1.so 008d9000-008db000 rw-p 00000000 00:00 0 008db000-008e4000 r-xp 00000000 08:03 156163 /usr/lib/libesd.so.0.2.39 008e4000-008e5000 r--p 00008000 08:03 156163 /usr/lib/libesd.so.0.2.39 008e5000-008e6000 rw-p 00009000 08:03 156163 /usr/lib/libesd.so.0.2.39 008e6000-008e9000 r-xp 00000000 08:03 160574 /usr/lib/libpulse-simple.so.0.0.3 008e9000-008ea000 r--p 00002000 08:03 160574 /usr/lib/libpulse-simple.so.0.0.3 008ea000-008eb000 rw-p 00003000 08:03 160574 /usr/lib/libpulse-simple.so.0.0.3 008eb000-008ec000 r-xp 00000000 08:05 696349 /home/olivier/pd-externals/gridflow/gridflow_gem_loader.pd_linux 008ec000-008ed000 r--p 00000000 08:05 696349 /home/olivier/pd-externals/gridflow/gridflow_gem_loader.pd_linux 008ed000-008ee000 rw-p 00001000 08:05 696349 /home/olivier/pd-externals/gridflow/gridflow_gem_loader.pd_linux 008ef000-00913000 r-xp 00000000 08:03 132586 /lib/tls/i686/cmov/libm-2.11.1.so 00913000-00914000 r--p 00023000 08:03 132586 /lib/tls/i686/cmov/libm-2.11.1.so 00914000-00915000 rw-p 00024000 08:03 132586 /lib/tls/i686/cmov/libm-2.11.1.so 00915000-0096d000 r-xp 00000000 08:03 178675 /usr/lib/libtiff.so.4.3.2 0096d000-0096f000 r--p 00057000 08:03 178675 /usr/lib/libtiff.so.4.3.2 0096f000-00970000 rw-p 00059000 08:03 178675 /usr/lib/libtiff.so.4.3.2 00970000-00978000 r-xp 00000000 08:03 155660 /usr/lib/libfusion-1.2.so.0.8.0 00978000-00979000 r--p 00007000 08:03 155660 /usr/lib/libfusion-1.2.so.0.8.0 ------------------------------ caught Abort 1: /lib/tls/i686/cmov/libc.so.6(+0x2a6e8) [0x33e6e8] 2: /lib/ld-linux.so.2(+0x832) [0x86c832] 3: /lib/tls/i686/cmov/libc.so.6(abort+0x182) [0x341a82] 4: /lib/tls/i686/cmov/libc.so.6(+0x6149d) [0x37549d] 5: /lib/tls/i686/cmov/libc.so.6(+0x6b591) [0x37f591] 6: /lib/tls/i686/cmov/libc.so.6(+0x6ce41) [0x380e41] 7: /lib/tls/i686/cmov/libc.so.6(cfree+0x6d) [0x383ecd] 8: /usr/lib/libjson.so.0(array_list_free+0x47) [0x1b1aae7] 9: /usr/lib/libjson.so.0(+0x23f5) [0x1b1b3f5] 10: /usr/lib/libjson.so.0(json_object_put+0x26) [0x1b1adf6] 11: /usr/lib/libjson.so.0(+0x1edd) [0x1b1aedd] 12: /usr/lib/libjson.so.0(array_list_free+0x35) [0x1b1aad5] 13: /usr/lib/libjson.so.0(+0x23f5) [0x1b1b3f5] 14: /usr/lib/libjson.so.0(json_object_put+0x26) [0x1b1adf6] 15: /usr/lib/libjson.so.0(+0x1edd) [0x1b1aedd] 16: /usr/lib/libjson.so.0(array_list_free+0x35) [0x1b1aad5] 17: /usr/lib/libjson.so.0(+0x23f5) [0x1b1b3f5] 18: /usr/lib/libjson.so.0(json_object_put+0x26) [0x1b1adf6] 19: /usr/lib/libjson.so.0(+0x21ff) [0x1b1b1ff] 20: /usr/lib/libjson.so.0(lh_table_free+0x2c) [0x1b1d7bc] 21: /usr/lib/libjson.so.0(+0x2b75) [0x1b1bb75] 22: /usr/lib/libjson.so.0(json_object_put+0x26) [0x1b1adf6] 23: /home/olivier/pd-externals/purest_json.pd_linux(json_encode_bang+0x2a0) [0x1ad1b20] 24: pdextended(outlet_bang+0x33) [0x80b9783] -------- crash report displayed by segfault.pd_linux 1.0 (by matju)
pd_gui: pd process exited
PuREST JSON is a library for connecting Pd to HTTP services and encoding and decoding JSON data.
The library can issue GET, POST, PUT and DELETE statements, so consumation of RESTful services is possible, e.g. CouchDB.
https://github.com/residuum/PuRestJson/downloads
I have written compilation instructions in the wiki, and am currently trying to cross-compile for Windows on Debian. The next logical step is trying to get cross-compilation for Mac OS X working, any pointers on how to accomplish that?
Have fun, {"name": "Thomas"}
On Jan 30, 2012, at 2:29 PM, Thomas Mayer wrote:
Hi,
thank you for testing.
On 30.01.2012 14:13, Oli44 wrote:
Le 27/01/2012 21:58, Thomas Mayer a écrit :
Hello,
Hi Thomas,
I have just uploaded new packages for Windows and Debian (i386) of PuREST JSON.
I just installed the Debian package on a Ubuntu Studio 10.04 LTS install into ~/pd-externals with Pd-extended 0.42-5 and it works fine for two things:
I had to add "_" instead of the spaces of the [print] objects of your help files.
I have just committed this to Github.
I just committed the old Pd-extended print object which understands spaces, it'll be in tomorrow's build.
.hc
Looking at things from a more basic level, you can come up with a more direct solution... It may sound small in theory, but it in practice, it can change entire economies. - Amy Smith
Hi Olivier,
On 30.01.2012 20:29, Thomas Mayer wrote:
Hi,
thank you for testing.
On 30.01.2012 14:13, Oli44 wrote:
I got a crash when trying to connect to couchdb through your example.
Here is the crash report.
OH
:~/purematter/purestjson$ pdextended tk scaling is 1.6821192052980132 *** glibc detected *** pdextended: corrupted double-linked list: 0x09609ac8 *** ======= Backtrace: ========= /lib/tls/i686/cmov/libc.so.6(+0x6b591)[0x37f591]
[snip]
/usr/lib/libjson.so.0(json_object_put+0x26)[0x1b1adf6] /home/olivier/pd-externals/purest_json.pd_linux(json_encode_bang+0x2a0)[0x1ad1b20]
pdextended(outlet_bang+0x33)[0x80b9783] ======= Memory map: ========
[snip]
22: /usr/lib/libjson.so.0(json_object_put+0x26) [0x1b1adf6] 23:
I just wanted to say, that I have just fixed a bug related to calls to json_object_put() [1], so maybe that crash is fixed as well. I have not updated the binary packages yet.
[1] https://github.com/residuum/PuRestJson/issues/4
Best regards, Thomas