Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[nsm] Petri-foo doesn't restore in an nsm session #16

Open
grammoboy2 opened this issue May 1, 2013 · 2 comments
Open

[nsm] Petri-foo doesn't restore in an nsm session #16

grammoboy2 opened this issue May 1, 2013 · 2 comments
Labels

Comments

@grammoboy2
Copy link

When I add a new patch in petri-foo, add a sample, close nsm and restart the session. Petri-foo doesn't restore the state.

@grammoboy2
Copy link
Author

And close:
[non-session-manager] Sending close.
[nsmd] Commanding attached clients to save.
[nsmd] Telling Petri-Foo to save
[nsmd] Telling JACKPatch to save
[nsmd] Waiting for clients to reply to commands
++ Petri-Foo.nUKGB:out_left |> system:playback_1
++ Petri-Foo.nUKGB:out_right |> system:playback_2
++ MPlayer [16559]:out_0 |> system:playback_1
++ MPlayer [16559]:out_1 |> system:playback_2
[nsmd] Client "JACKPatch" replied with: OK in 3.400000ms
gui/session.c: 439 session_nsm_save_cb : NSM Save
[Petri-Foo.nUKGB] 16:42:54.786 Message: NSM client recieved save command
libpetrifui/dish_file.c: 542 dish_write : attempting to write file:/home/derick/NSM Sessions/petrifoo/Petri-Foo.nUKGB/Petri-Foo.nUKGB.petri-foo
[Petri-Foo.nUKGB] 16:42:54.787 ERROR: failed to create dir 'samples' within '/home/derick/NSM Sessions/petrifoo/Petri-Foo.nUKGB/'
[nsmd] Client "Petri-Foo" replied with: OK in 10.267000ms
[nsmd] Done waiting
[nsmd] Commanding attached clients to quit.
[nsmd] Commanding Petri-Foo to quit

[Petri-Foo.nUKGB] 16:42:54.789 Message: Caught SIGTERM signal
[nsmd] Commanding patchage to quit
[nsmd] Commanding JACKPatch to quit
[nsmd] Waiting for killed clients to die.
[nsmd] Loop 0
[Petri-Foo.nUKGB] 16:42:54.792 Message: Cleanup...
gui/session.c: 313 session_cleanup : cleaning up session data
libpetrifoo/midi.c: 229 midi_stop : Stopping MIDI
libpetrifoo/midi.c: 234 midi_stop : MIDI stopped
libpetrifoo/jackdriver.c: 387 stop : JACK shutting down...
libpetrifoo/patch_util.c: 648 patch_shutdown : shutting down...
libpetrifoo/patch_private/patch_data.c: 191 patch_free : ********************************
libpetrifoo/patch_private/patch_data.c: 192 patch_free : freeing patch:'Default'
libpetrifoo/patch_private/patch_data.c: 193 patch_free : ********************************
libpetrifoo/patch_util.c: 653 patch_shutdown : done
libpetrifoo/mixer.c: 516 mixer_shutdown : shutting down...
libpetrifoo/mixer.c: 518 mixer_shutdown : done
[Petri-Foo.nUKGB] 16:42:54.925 Message: Writing global settings to: /home/derick/.config/petri-foo/rc.xml
gui/global_settings.c: 292 settings_write : attempting to write file:/home/derick/.config/petri-foo/rc.xml
[Petri-Foo] 16:42:54.927 Message: Goodbye!
[nsmd] Loop 1
[nsmd] Client Petri-Foo terminated because we told it to.
[nsmd] Client patchage terminated because we told it to.
[nsmd] Client JACKPatch terminated because we told it to.
[nsmd] Loop 2
[nsmd] All clients have died.
[nsmd] Done
[non-session-manager] /nsm/server/close says Closed.

@grammoboy2
Copy link
Author

This is the interesting part I think:
[nsmd] Client "JACKPatch" replied with: OK in 3.400000ms
gui/session.c: 439 session_nsm_save_cb : NSM Save
[Petri-Foo.nUKGB] 16:42:54.786 Message: NSM client recieved save command
libpetrifui/dish_file.c: 542 dish_write : attempting to write file:/home/derick/NSM Sessions/petrifoo/Petri-Foo.nUKGB/Petri-Foo.nUKGB.petri-foo
[Petri-Foo.nUKGB] 16:42:54.787 ERROR: failed to create dir 'samples' within '/home/derick/NSM Sessions/petrifoo/Petri-Foo.nUKGB/'

:~/NSM Sessions/petrifoo$ ls -a
. .. JACKPatch.nEAOU.jackpatch session.nsm

session.nsm:
Petri-Foo:petri-foo:nUKGB
patchage:patchage:nLIVV
JACKPatch:jackpatch:nEAOU

@residuum residuum added the bug label Jul 18, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants