a little update! it seems that I do have a response from PD when I drag the file on top of the window,and the mouse touches the window limits, (not the white part of the "canvas"). Now I do get an "Application Error" pop-up window and the message is:
bad window path name "" bad window path name "" while executing "winfo toplevel $win" (procedure "FindWindowWithCommonTypes" line 2) invoked from within "FindWindowWithCommonTypes $drop_target $_typelist" (procedure "::tkdnd::generic::HandlePosition" line 32) invoked from within "::tkdnd::generic::HandlePosition $drop_target $drag_source $_pressedkeys $rootX $rootY" (procedure "tkdnd::xdnd::HandleXdndPosition" line 5) invoked from within "tkdnd::xdnd::HandleXdndPosition {} 557 94 2097167"
best
On Wed, Feb 26, 2020 at 6:34 PM José Rafael Subía Valdez < jsubiavaldez@gmail.com> wrote:
what i meant is, start Pd with "-verbose", and then -in the
Pd-console-
set the "Log-Level" to "4 all".
this is what I did, I ment that I was sure tu put 4 all in the pd consoile to see all messages ;)
here is my pd window print. I have trashed my preference file and I am only loading the -help file
'pd-gui' connecting to 'pd' on localhost 5402 ... ------------------ done with main ---------------------- Tk 8.6.8 Detected font: DejaVu Sans Mono Using font: DejaVu Sans Mono bold tried /home/jrsv/Documents/Pd/externals/dnd-plugin/dnd-plugin-help.pd and succeeded tried /home/jrsv/Documents/Pd/externals/dnd-plugin/dnd-fileinfo.l_amd64 and failed tried /home/jrsv/Documents/Pd/externals/dnd-plugin/dnd-fileinfo.l_ia64 and failed tried /home/jrsv/Documents/Pd/externals/dnd-plugin/dnd-fileinfo.pd_linux and failed tried /home/jrsv/Documents/Pd/externals/dnd-plugin/dnd-fileinfo.so and failed tried /home/jrsv/Documents/Pd/externals/dnd-plugin/dnd-fileinfo/dnd-fileinfo.l_amd64 and failed tried /home/jrsv/Documents/Pd/externals/dnd-plugin/dnd-fileinfo/dnd-fileinfo.l_ia64 and failed tried /home/jrsv/Documents/Pd/externals/dnd-plugin/dnd-fileinfo/dnd-fileinfo.pd_linux and failed tried /home/jrsv/Documents/Pd/externals/dnd-plugin/dnd-fileinfo/dnd-fileinfo.so and failed tried /home/jrsv/Documents/Pd/externals/dnd-plugin/dnd-fileinfo.pd and succeeded tried /home/jrsv/Documents/Pd/externals/dnd-plugin/dnd-fileinfo.pd and succeeded Loading plugin: /usr/local/lib/pd/tcl/pd_deken.tcl [deken] Platform detected: Linux-x86_64-float32 Loading plugin: /usr/local/lib/pd/tcl/pd_docsdir.tcl [deken] Platform re-detected: Linux-amd64-float32 priority 6 scheduling enabled.
opened 0 MIDI input device(s) and 0 MIDI output device(s). The Pd window filtered 24 lines Pd documents directory: /home/jrsv/Documents/Pd
In the patch, everything opens as it should, but the plugin does not work when I drag a file on to PD. The terminal does not print out anything else after opening PD
my terminal returns this:
pd -verbose dnd-plugin-help.pd input channels = 2, output channels = 2 Pd-0.50.2 ("") compiled 11:48:15 Nov 23 2019 port 5401 TCL_LIBRARY="/usr/local/lib/pd/lib/tcl/library" TK_LIBRARY="/usr/local/lib/pd/lib/tk/library" wish "/usr/local/lib/pd/tcl//pd-gui.tcl" 5401 Waiting for connection request... ... connected /usr/local/lib/pd/bin/pd-watchdog
Best
On Wed, Feb 26, 2020 at 11:20 AM IOhannes m zmölnig zmoelnig@iem.at wrote:
On 2/26/20 3:56 PM, José Rafael Subía Valdez wrote:
Thanks IOhannes,
I have started PD with -verbose "4 all" there are no messages regarding
that's not what i meant, as this is not a valid cmdline (it enables verbose mode and attempts to load a file "4 all" (which most likely does not exist).
what i meant is, start Pd with "-verbose", and then -in the Pd-console- set the "Log-Level" to "4 all". but anyhow....
Drag and Drop on Window Drag and Drop on Canvas Usage: See /home/jrsv/Documents/Pd/externals/dnd-plugin/dnd-plugin-help.pd
...this looks good. unfortunately the plugin tries to load the binary after printing out that information, so if anything goes wrong while loading the binary, you will still see this message. that probably should be fixed.
and my pd window says this: (only thing relevant -and normal about the plugin)
would you mind pasting the *entire* Pd-console. it's hard to tell whether your filter for "only relevant" matches mine :-)
to reduce the noise in the output make sure to only open the /home/jrsv/Documents/Pd/externals/dnd-plugin/dnd-plugin-help.pd (and no other patches).
than drag something onto the patch and tell use what you get - in the patch, the Pd-console and the terminal.
gfmdars IOhannes
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
-- José Rafael Subía Valdez www.jrsv.net