[PD] drag and drop plugins

hi joson.android at googlemail.com
Wed Mar 30 13:44:10 CEST 2016


thanks for sharing!!

but doesn't work (osx 10.8.5, pd-0.46.7), and produces this in pd-window:

-
Drag and Drop on Window
Drag and Drop on Canvas
-
-----------
UNHANDLED ERROR: syntax error in expression "[tk windowingsystem] eq "aqua" && "AppKit" ni [winfo server ...": extra tokens at end of expression
   while executing
"if {[tk windowingsystem] eq "aqua" && "AppKit" ni [winfo server .]} {
 error {TkAqua Cocoa required}
}"
   (file "/Applications/pd-0.46-7/GUI-plugins/dnd-plugin-master/tkdnd/tkdnd_macosx.tcl" line 50)
   invoked from within
"source $dir/tkdnd_macosx.tcl"
   ("aqua" arm line 2)
   invoked from within
"switch $_windowingsystem {
     x11 {
       source $dir/tkdnd_unix.tcl
       set _platform_namespace xdnd
     }
     win32 -
     windows {
..."
   (procedure "tkdnd::initialise" line 74)
   invoked from within
"tkdnd::initialise {/Applications/pd-0.46-7/GUI-plugins/dnd-plugin-master/tkdnd} libtkdnd2.8.dylib tkdnd"
   ("package ifneeded" script)
   invoked from within
"package require tkdnd"
   ("uplevel" body line 18)
   invoked from within
"uplevel #0 $tclcode"
FAILED TO LOAD /Applications/pd-0.46-7/GUI-plugins/dnd-plugin-master/dnd-plugin.tcl
Am 30.03.2016 um 13:20 schrieb megrimm <megrimm at gmail.com>:

> Try this. Worked for me but untested elsewhere:
> 
> https://github.com/megrimm/dnd-plugin
> 
> .....
> 
>> On Mar 30, 2016, at 7:09 AM, hi via Pd-list <pd-list at lists.iem.at> wrote:
>> 
>> is there any chance to make it work on osx?
>> 
>> where would tkdnd have to be installed?
>> 
>> thanks 
>> 
>> johnny
>> 
>> 
>>> Am 01.03.2016 um 16:30 schrieb patrice colet <colet.patrice at free.fr>:
>>> 
>>> 
>>> 
>>> Le 01/03/2016 16:04, IOhannes m zmoelnig a écrit :
>>>> On 2016-03-01 15:49, patrice colet wrote:
>>>> 
>>>>> 
>>>>> I've got pd-0.46.7 on Manjaro archlinux and it doesn't work for me, same
>>>>> error with the fixed version.
>>>>> there is no tkdnd package for archlinux, the aur version is dead, I've
>>>>> compiled and installed this one:
>>>>> 
>>>>> 
>>>>> https://github.com/petasis/tkdnd
>>>>>>> - it only works for patches that are stored in my fully-qualified search
>>>>>>> path. e.g. i can drop "/home/frodel/pd-externals/foo.pd" but i cannot
>>>>>>> drop "/tmp/bar.pd" (unless i added "/tmp" to my search path).
>>>>> This is exactly how I designed this plugin, glad it works for you, what
>>>>> tkdnd version are you using?
>>>> 2.6-1 as packaged for Debian by hans...
>>>> however i doubt that this is the reason.
>>>> 
>>>> try running Pd without any externals (and loaders) loaded.
>>> by running with -noprefs it's working good, it was a bad entry in preferences/path pointing to pd-externals folder.
>>> 
>>>> i've taken the liberty to put the plugin onto github
>>>> 
>>>> 
>>>> https://github.com/pure-data/gui-plugins
>>>> 
>>>> 
>>>> let me know if you want write access.
>>>> 
>>>> fgasmd
>>>> IOhannes
>>>> 
>>>> 
>>>> 
>>>> 
>>>> _______________________________________________
>>>> 
>>>> Pd-list at lists.iem.at
>>>> mailing list
>>>> UNSUBSCRIBE and account-management -> 
>>>> http://lists.puredata.info/listinfo/pd-list
>>> 
>>> _______________________________________________
>>> Pd-list at lists.iem.at mailing list
>>> UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
>> 
>> 
>> _______________________________________________
>> Pd-list at lists.iem.at mailing list
>> UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list




More information about the Pd-list mailing list