Hello list,
I have installed the dnd-plugin available on Deken in my Fedora 31 computer, and it does not work, How can I troubleshoot this to find out whats going on. same plugin works like a charm in my ubuntu 19 machines.
José Rafael Subía Valdez www.jrsv.net
On 2/25/20 4:47 PM, José Rafael Subía Valdez wrote:
Hello list,
I have installed the dnd-plugin available on Deken in my Fedora 31 computer, and it does not work, How can I troubleshoot this to find out whats going on. same plugin works like a charm in my ubuntu 19 machines.
the dnd-plugin has a binary component (dnd-plugin/tkdnd/libtkdnd2.8.so), that links to a couple of libraries. if any of them is missing, the plugin cannot be loaded.
you can check the dependencies, by running 'ldd' on the binary.
on my system this returns:
$ ldd tkdnd/libtkdnd2.8.so
linux-vdso.so.1 (0x00007ffddbf5d000)
libX11.so.6 => /usr/lib/x86_64-linux-gnu/libX11.so.6 (0x00007f67d1b83000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f67d19c3000)
libxcb.so.1 => /usr/lib/x86_64-linux-gnu/libxcb.so.1 (0x00007f67d1999000)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f67d1994000)
/lib64/ld-linux-x86-64.so.2 (0x00007f67d1f12000)
libXau.so.6 => /usr/lib/x86_64-linux-gnu/libXau.so.6 (0x00007f67d1790000)
libXdmcp.so.6 => /usr/lib/x86_64-linux-gnu/libXdmcp.so.6
(0x00007f67d158a000)
libbsd.so.0 => /usr/lib/x86_64-linux-gnu/libbsd.so.0 (0x00007f67d156e000)
if any of the lines contains a "not found", then you must install the missing library via your package manager.
gfrdsam IOhannes
PS: and don't forget to report any success :-)
Thanks IOhannes
so, I ran that command and this is what I get:
linux-vdso.so.1 (0x00007fffa4460000) libX11.so.6 => /lib64/libX11.so.6 (0x00007f51d1de5000) libc.so.6 => /lib64/libc.so.6 (0x00007f51d1c1c000) libxcb.so.1 => /lib64/libxcb.so.1 (0x00007f51d1bf1000) libdl.so.2 => /lib64/libdl.so.2 (0x00007f51d1bea000) /lib64/ld-linux-x86-64.so.2 (0x00007f51d2165000) libXau.so.6 => /lib64/libXau.so.6 (0x00007f51d1be4000)
compared to yours, I am missing 2 libs which are:
libXdmcp.so.6 => /usr/lib/x86_64-linux-gnu/libXdmcp.so.6(0x00007f67d158a000) libbsd.so.0 => /usr/lib/x86_64-linux-gnu/libbsd.so.0 (0x00007f67d156e000)
however, when I search for installers, both are already installed and if I do a "whereis"
whereis libbsd libbsd: /usr/lib64/libbsd.so /usr/share/man/man7/libbsd.7.gz
whereis libXdmcp libXdmcp: /usr/lib64/libXdmcp.so
so I guess the problem is here, but I have no idea how to fix this. ideas?
On Tue, Feb 25, 2020 at 11:37 AM IOhannes m zmölnig zmoelnig@iem.at wrote:
On 2/25/20 4:47 PM, José Rafael Subía Valdez wrote:
Hello list,
I have installed the dnd-plugin available on Deken in my Fedora 31 computer, and it does not work, How can I troubleshoot this to find out whats going on. same plugin works like a charm in my ubuntu 19 machines.
the dnd-plugin has a binary component (dnd-plugin/tkdnd/libtkdnd2.8.so), that links to a couple of libraries. if any of them is missing, the plugin cannot be loaded.
you can check the dependencies, by running 'ldd' on the binary.
on my system this returns:
$ ldd tkdnd/libtkdnd2.8.so linux-vdso.so.1 (0x00007ffddbf5d000) libX11.so.6 => /usr/lib/x86_64-linux-gnu/libX11.so.6 (0x00007f67d1b83000) libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f67d19c3000) libxcb.so.1 => /usr/lib/x86_64-linux-gnu/libxcb.so.1 (0x00007f67d1999000) libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f67d1994000) /lib64/ld-linux-x86-64.so.2 (0x00007f67d1f12000) libXau.so.6 => /usr/lib/x86_64-linux-gnu/libXau.so.6 (0x00007f67d1790000) libXdmcp.so.6 => /usr/lib/x86_64-linux-gnu/libXdmcp.so.6 (0x00007f67d158a000) libbsd.so.0 => /usr/lib/x86_64-linux-gnu/libbsd.so.0 (0x00007f67d156e000)
if any of the lines contains a "not found", then you must install the missing library via your package manager.
gfrdsam IOhannes
PS: and don't forget to report any success :-)
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
On 2/25/20 6:16 PM, José Rafael Subía Valdez wrote:
Thanks IOhannes
On Tue, Feb 25, 2020 at 11:37 AM IOhannes m zmölnig wrote:
if any of the lines contains a "not found", then you must install the missing library via your package manager.
so, I ran that command and this is what I get:
[...]
compared to yours, I am missing 2 libs which are:
libXdmcp.so.6 => /usr/lib/x86_64-linux-gnu/libXdmcp.so.6(0x00007f67d158a000) libbsd.so.0 => /usr/lib/x86_64-linux-gnu/libbsd.so.0 (0x00007f67d156e000)
that's fine. i meant that ldd would literally print "not found" for libraries that are required but not present. since you don't have any such lines, all libraries are present, and you should be fine.
so I guess the problem is here, but I have no idea how to fix this. ideas?
as i said above, we have not identified the problem yet.
it might be interesting to get the full output of the Pd-console *and* the terminal, when running Pd with "-verbose" and setting the log-level of the Pd-console to "4 all".
gfmdsar IOhannes
Thanks IOhannes,
I have started PD with -verbose "4 all" there are no messages regarding the plugin, my terminal gives this: (nothing that I could find)
pd -verbose input channels = 2, output channels = 2 Pd-0.50.2 ("") compiled 11:48:15 Nov 23 2019 port 5400 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" 5400 Waiting for connection request... ... connected /usr/local/lib/pd/bin/pd-watchdog Cannot connect to server socket err = No such file or directory Cannot connect to server request channel jack server is not running or cannot be started JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
and my pd window says this: (only thing relevant -and normal about the plugin)
Drag and Drop on Window Drag and Drop on Canvas Usage: See /home/jrsv/Documents/Pd/externals/dnd-plugin/dnd-plugin-help.pd
Best
On Tue, Feb 25, 2020 at 1:38 PM IOhannes m zmölnig zmoelnig@iem.at wrote:
On 2/25/20 6:16 PM, José Rafael Subía Valdez wrote:
Thanks IOhannes
On Tue, Feb 25, 2020 at 11:37 AM IOhannes m zmölnig wrote:
if any of the lines contains a "not found", then you must install the missing library via your package manager.
so, I ran that command and this is what I get:
[...]
compared to yours, I am missing 2 libs which are:
libXdmcp.so.6 =>
/usr/lib/x86_64-linux-gnu/libXdmcp.so.6(0x00007f67d158a000)
libbsd.so.0 => /usr/lib/x86_64-linux-gnu/libbsd.so.0 (0x00007f67d156e000)
that's fine. i meant that ldd would literally print "not found" for libraries that are required but not present. since you don't have any such lines, all libraries are present, and you should be fine.
so I guess the problem is here, but I have no idea how to fix this. ideas?
as i said above, we have not identified the problem yet.
it might be interesting to get the full output of the Pd-console *and* the terminal, when running Pd with "-verbose" and setting the log-level of the Pd-console to "4 all".
gfmdsar IOhannes
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
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
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
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