Unable to drag and drop on mac machine

I’ve tried a few drag and drop examples which work fine on windows.
http://python.dzone.com/articles/wxpython-introduction-drag-and

When I try to drag and drop in a mac I get the following error

CoreDragMessageHandler : Cannot track drag receiver. No pasteboard name.

I’m using the following

Python 2.7.5

2.7.5 (default, Aug 25 2013, 00:04:04)

[GCC 4.2.1 Compatible Apple LLVM 5.0 (clang-500.0.68)]

2.8.12.1 (mac-unicode)

I’m also running in 32-bit mode

$ defaults write com.apple.versioner.python Prefer-32-Bit -bool yes

Any ideas why I cannot do drag and drop on a mac?

Have you tried downloading, installing and running the wxPython Docs
& Demos package - it includes sample code for just about all of
wx and is itself the test suite - this makes it an excellent
starting point for your own development work and the perfect start
for reporting bugs - if you can reproduce the problem in the Drag
& Drop Demo then it is almost sure to get some attention.

···

On 27/12/13 06:03, RedHotChiliPepper
wrote:

    I've tried a few drag and drop examples which work

fine on windows.

      When I try to drag and drop in a mac I get the following

error

         CoreDragMessageHandler

: Cannot track drag receiver. No pasteboard name.

I’m using the following

Python 2.7.5

2.7.5 (default, Aug 25 2013, 00:04:04)

[GCC 4.2.1 Compatible Apple LLVM 5.0 (clang-500.0.68)]

2.8.12.1 (mac-unicode)

I’m also running in 32-bit mode

          $ defaults write

com.apple.versioner.python Prefer-32-Bit -bool yes

Any ideas why I cannot do drag and drop on a mac?

  You received this message because you are subscribed to the Google

Groups “wxPython-users” group.

  To unsubscribe from this group and stop receiving emails from it,

send an email to .
For more options, visit .

http://python.dzone.com/articles/wxpython-introduction-drag-and
wxpython-users+unsubscribe@googlegroups.com
https://groups.google.com/groups/opt_out

RedHotChiliPepper wrote:

I've tried a few drag and drop examples which work fine on windows.
http://python.dzone.com/articles/wxpython-introduction-drag-and

When I try to drag and drop in a mac I get the following error

CoreDragMessageHandler : Cannot track drag receiver. No pasteboard name.

I'm using the following
Python 2.7.5
2.7.5 (default, Aug 25 2013, 00:04:04)
[GCC 4.2.1 Compatible Apple LLVM 5.0 (clang-500.0.68)]
2.8.12.1 (mac-unicode)

I'm also running in 32-bit mode
$ defaults write com.apple.versioner.python Prefer-32-Bit -bool yes

Any ideas why I cannot do drag and drop on a mac?

Is that the Python and wxPython that came with OSX or packages that you've installed from Python.org and wxPython.org?

···

--
Robin Dunn
Software Craftsman

Hi Robin -

Sorry for the delayed response. The python came pre-installed on osx and wxpython came from your website.

The reason I was having this problem was because I was running the python script in terminal while in a tmux session. Tmux is a terminal multiplexer like screen.

-s

···

On Friday, December 27, 2013 5:28:29 PM UTC-8, Robin Dunn wrote:

RedHotChiliPepper wrote:

I’ve tried a few drag and drop examples which work fine on windows.

http://python.dzone.com/articles/wxpython-introduction-drag-and

When I try to drag and drop in a mac I get the following error

CoreDragMessageHandler : Cannot track drag receiver. No pasteboard name.

I’m using the following

Python 2.7.5

2.7.5 (default, Aug 25 2013, 00:04:04)

[GCC 4.2.1 Compatible Apple LLVM 5.0 (clang-500.0.68)]

2.8.12.1 (mac-unicode)

I’m also running in 32-bit mode

$ defaults write com.apple.versioner.python Prefer-32-Bit -bool yes

Any ideas why I cannot do drag and drop on a mac?

Is that the Python and wxPython that came with OSX or packages that
you’ve installed from Python.org and wxPython.org?


Robin Dunn

Software Craftsman

http://wxPython.org