Purr Data 2.3.3 is out:
- ggee/image performance improved
- Gem jpeg plugin added for Windows
Releases:
https://github.com/jonwwilkes/purr-data/releases/tag/2.3.3
Bug Reports:
https://git.purrdata.net/jwilkes/purr-data/issues
Purr Data 2.3.3
Purr Data 2.3.3 is out:
Releases:
https://github.com/jonwwilkes/purr-data/releases/tag/2.3.3
Bug Reports:
https://git.purrdata.net/jwilkes/purr-data/issues
Just tested on OSX 10.11:
Can you list the steps you took to reproduce the bug?
thanks for your reply.
1 Installed Purr Data 2.3.3 on OSX 10.10.5 with no previous preferences files
2 Run Purr Data. All libs loaded correctly.
3 Opened "Preferences" and chose "Startup" Tab, then clicked "Ok"
4 Closed Purr Data.
5 Reopened Purr Data. (no booksellers loaded.)
6 Chose "Preferences."
7 no location preferences, no Audio MIDI loaded, all startup spaces empty.
the preferences are stored in the file org.puredata.pd-l2ork.plist but Purr data is not able to read
on this mac I'm running Vanilla and Pd-extended correctly
I have a ssd disk for sistem and Applications and an HD disk for users
@federicocogo Can you send me that plist?
@federicocogo Your plist loads perfectly fine on OSX 10.11 x86_64. It could be there is some feature of Apple's awful plist tools we're leveraging that exists in 10.11 but not in 10.10.5. I'll have a look.
@jancsika Hm, try opening a terminal window and typing man plutil
.
In the man page search for "json" (I.e., type /
then json
). Does it show you that json is an accepted format?
thanks for your reply
here I copy the result of the terminal window after continuing with its indications:
PLUTIL(1) BSD General Commands Manual PLUTIL(1)
NAME
plutil -- property list utility
SYNOPSIS
plutil [command_option] [other_options] file
...
DESCRIPTION
plutil can be used to check the syntax of property list files, or convert
a plist file from one format to another. Specifying - as an input file
reads from stdin.
The first argument indicates the operation to perform, one of:
-help Show the usage information for the command and exit.
-p Print the property list in a human-readable fashion. The
output format is not stable and not designed for machine
parsing. The purpose of this command is to be able to eas-
ily read the contents of a plist file, no matter what for-
mat it is in.
-lint Check the named property list files for syntax errors.
This is the default command option if none is specified.
-convert fmt Convert the named file to the indicated format and write
back to the file system. If the file can't be loaded due
to invalid syntax, the operation fails.
fmt is one of: xml1, for version 1 of the XML plist format
binary1, for version 1 of the binary plist
format json, for the JSON format
There are a few additional options:
-- Specifies that all further arguments are file names
-s Don't print anything on success.
-r For JSON, add whitespace and indentation to make the output
more human-readable.
-o path Specify an alternate path name for the result of the -con-
vert operation; this option is only useful with a single
file to be converted. Specifying - as the path outputs to
stdout.
-e extension Specify an alternate extension for converted files, and the
output file names are otherwise the same.
DIAGNOSTICS
The plutil command exits 0 on success, and 1 on failure.
SEE ALSO
plist(5)
STANDARDS
The plutil command obeys no one's rules but its own.
HISTORY
The plutil command first appeared in Mac OS X 10.2.
Mac OS X August 30, 2002 Mac OS X
@federicocogo Try putting this in the terminal:
plutil -convert json -r -o - path/to/purr/data.plist | sed -E -e 's/[{}]//g' -e 's/^ *\"(([^\"]|\\.)*)\" *: *\"(([^\"]|\\.)*)\".*/\1: \3/' -e 's/\\(.)/\1/g'
Where path/to/purr/data.plist
is the plist you sent me.
did not work
terminal content:
MacBook-Pro-de-Federico:~ federicocogo$ plutil -convert json -r -o - ~/Library/Preferences/org.puredata.pd-l2ork.plist | sed -E -e 's/[{}]//g' -e 's/^ "(([^"]|\.))" : "(([^"]|\.))"./\1: \3/' -e 's/\(.)/\1/g'
path31: /Applications/Pd-l2ork.app/Contents/Resources/app.nw/extra/ekext
loadlib8: list-abs
loadlib14: motex
rate: 44100
loadlib28: jmmmp
path5: /System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/lib/fonts
path11: /Applications/Pd-l2ork.app/Contents/Resources/app.nw/extra/list-abs
nomidiin: True
loadlib17: pdogg
path14: /Applications/Pd-l2ork.app/Contents/Resources/app.nw/extra/maxlib
nloadlib: 35
path17: /Applications/Pd-l2ork.app/Contents/Resources/app.nw/extra/motex
noaudioin: False
nomidiout: True
audiobuf: 20
loadlib32: ekext
callback: 0
path20: /Applications/Pd-l2ork.app/Contents/Resources/app.nw/extra/pdogg
audiooutdev1: 0 2
path23: /Applications/Pd-l2ork.app/Contents/Resources/app.nw/extra/sigpack
noaudioout: False
path26: /Applications/Pd-l2ork.app/Contents/Resources/app.nw/extra/pan
loadlib21: sigpack
path6: /Applications/Pd-l2ork.app/Contents/Resources/app.nw/extra/cyclone
loadlib35: lyonpotpourri
path29: /Applications/Pd-l2ork.app/Contents/Resources/app.nw/extra/ext13
savezoom: 0
loadlib3: cyclone
loadlib10: markex
loadlib24: vbap
loadlib6: cxc
guipreset: default
path32: /Applications/Pd-l2ork.app/Contents/Resources/app.nw/extra/disis
audioindev1: 0 2
loadlib13: mjlib
loadlib27: hcs
loadlib9: mapping
path1: /System/Library/Fonts
npath: 33
loadlib16: pddp
path12: /Applications/Pd-l2ork.app/Contents/Resources/app.nw/extra/mapping
path7: /Applications/Pd-l2ork.app/Contents/Resources/app.nw/extra/zexy
path15: /Applications/Pd-l2ork.app/Contents/Resources/app.nw/extra/memento
path18: /Applications/Pd-l2ork.app/Contents/Resources/app.nw/extra/oscx
loadlib19: pmpd
flags: -helppath ~/Library/Pd-l2ork -helppath /Library/Pd-l2ork
loadlib31: iem_anything
midiapi: 4
path21: /Applications/Pd-l2ork.app/Contents/Resources/app.nw/extra/pixeltango
path2: /Library/Fonts
path24: /Applications/Pd-l2ork.app/Contents/Resources/app.nw/extra/smlib
loadlib34: disis
loadlib20: rradical
path27: /Applications/Pd-l2ork.app/Contents/Resources/app.nw/extra/hcs
path8: /Applications/Pd-l2ork.app/Contents/Resources/app.nw/extra/creb
loadlib1: libdir
nmidiin: 0
loadlib23: unauthorized
loadlib4: zexy
path30: /Applications/Pd-l2ork.app/Contents/Resources/app.nw/extra/ggee
loadlib12: memento
loadlib7: iemlib
loadlib26: freeverb~
path33: /Applications/Pd-l2ork.app/Contents/Resources/app.nw/extra/lyonpotpourri
loadlib15: oscx
naudioin: 1
loadlib29: ext13
path10: /Applications/Pd-l2ork.app/Contents/Resources/app.nw/extra/iemlib
verbose: 0
path3: ~/Library/Fonts
path13: /Applications/Pd-l2ork.app/Contents/Resources/app.nw/extra/markex
path9: /Applications/Pd-l2ork.app/Contents/Resources/app.nw/extra/cxc
loadlib18: pixeltango
path16: /Applications/Pd-l2ork.app/Contents/Resources/app.nw/extra/mjlib
path19: /Applications/Pd-l2ork.app/Contents/Resources/app.nw/extra/pddp
defeatrt: 0
naudioout: 1
loadlib30: ggee
blocksize: 64
path22: /Applications/Pd-l2ork.app/Contents/Resources/app.nw/extra/rradical
loadlib33: pdp
standardpath: 1
path25: /Applications/Pd-l2ork.app/Contents/Resources/app.nw/extra/unauthorized
path4: /usr/X11R6/lib/X11/fonts/TTF
nmidiout: 0
path28: /Applications/Pd-l2ork.app/Contents/Resources/app.nw/extra/jmmmp
loadlib22: smlib
loadlib2: Gem
loadlib5: creb
audioapi: 4
loadlib25: pan
loadlib11: maxlib
MacBook-Pro-de-Federico:~ federicocogo$
console content:
Welcome to Pd GUI using Node-Webkit
0.22.1
font stack check: using optimal font sizes.
GUI is starting Pd...
GUI listening on port 5400 on host 127.0.0.1
gui_path is /Applications/Pd-l2ork.app/Contents/Resources/app.nw
binary is /Applications/Pd-l2ork.app/Contents/Resources/app.nw/bin/pd-l2ork
Pd started.
incoming connection to GUI
canvasinfo: v0.1
stable canvasinfo methods: args dir dirty editmode vis
pdinfo: v.0.1
stable pdinfo methods: dir dsp version
classinfo: v.0.1
stable classinfo methods: size
objectinfo: v.0.1
stable objectinfo methods: class
[import] $Revision: 1.2 $
[import] is still in development, the interface could change!
compiled against Pd-l2ork version 2.3.3 (20171004-rev.fb96e06)
working directory is /Volumes/Macintosh HD/Users/federicocogo
placing another path gives as a result:
MacBook-Pro-de-Federico:~ federicocogo$ plutil -convert json -r -o - /Volumes/Macintosh HD/Users/federicocogo/Library/Preferences/org.puredata.pd-l2ork.plist | sed -E -e 's/[{}]//g' -e 's/^ "(([^"]|\.))" : "(([^"]|\.))"./\1: \3/' -e 's/\(.)/\1/g'
/Volumes/Macintosh: file does not exist or is not readable or is not a regular file (Error Domain=NSCocoaErrorDomain Code=260 "The file “Macintosh” couldn’t be opened because there is no such file." UserInfo=0x7feef9601640 NSFilePath=/Volumes/Macintosh, NSUnderlyingError=0x7feef96013b0 "The operation couldn’t be completed. No such file or directory")
HD/Users/federicocogo/Library/Preferences/org.puredata.pd-l2ork.plist: file does not exist or is not readable or is not a regular file (Error Domain=NSCocoaErrorDomain Code=260 "The file “org.puredata.pd-l2ork.plist” couldn’t be opened because there is no such file." UserInfo=0x7feef9513b80 NSFilePath=HD/Users/federicocogo/Library/Preferences/org.puredata.pd-l2ork.plist, NSUnderlyingError=0x7feef95062c0 "The operation couldn’t be completed. No such file or directory")
MacBook-Pro-de-Federico:~ federicocogo$
@federicocogo Try quoting it: "/Volumes/Macintosh HD/Users/federicocogo/Library/Preferences/org.puredata.pd-l2ork.plist"
terminal loads it but purr data still does not recognize preferences
Ok. Now try Applications/Pd-l2ork.app/Contents/Resources/app.nw/bin/pd-l2ork
on the command line and tell me if you get any errors to the to the console.
MacBook-Pro-de-Federico:~ federicocogo$ plutil -convert json -r -o - Applications/Pd-l2ork.app/Contents/Resources/app.nw/bin/pd-l2ork | sed -E -e 's/[{}]//g' -e 's/^ "(([^"]|\.))" : "(([^"]|\.))"./\1: \3/' -e 's/\(.)/\1/g'
Applications/Pd-l2ork.app/Contents/Resources/app.nw/bin/pd-l2ork: file does not exist or is not readable or is not a regular file (Error Domain=NSCocoaErrorDomain Code=260 "The file “pd-l2ork” couldn’t be opened because there is no such file." UserInfo=0x7fdb6a5037f0 NSFilePath=Applications/Pd-l2ork.app/Contents/Resources/app.nw/bin/pd-l2ork, NSUnderlyingError=0x7fdb6a503560 "The operation couldn’t be completed. No such file or directory")
MacBook-Pro-de-Federico:~ federicocogo$
@federicocogo Don't use it as an argument to plutil.
Just type Applications/Pd-l2ork.app/Contents/Resources/app.nw/bin/pd-l2ork
in the console and hit <Enter>
MacBook-Pro-de-Federico:~ federicocogo$ Applications/Pd-l2ork.app/Contents/Resources/app.nw/bin/pd-l2ork
-bash: Applications/Pd-l2ork.app/Contents/Resources/app.nw/bin/pd-l2ork: No such file or directory
Oops, try /Applications/Pd-l2ork.app/Contents/Resources/app.nw/bin/pd-l2ork
Or if you have a non-standard setup start in whatever directory "Applications" is and use tab completion to navigate all the way to the end of that path above.
MacBook-Pro-de-Federico:~ federicocogo$ /Applications/Pd-l2ork.app/Contents/Resources/app.nw/bin/pd-l2ork
[1010/173803.704144:WARNING:chrome_main_delegate.cc(565)] final extension: .nw
Pt_Start() called
run Purr data without loading pref
@federicocogo Ok, now try this:
Applications/Pd-l2ork.app/Contents/Resources/app.nw/bin/pd-l2ork -verbose
See if this is printed to the console:
success reading preferences from...
Oops! Looks like something went wrong!