File DND not working in 2.5.1.0p7u

Attached is the file to prove it.
Maybe I'm doing it wrong... am I missing something?

It works in 2.4.2.4 but in 2.5.1.0p7u it does not.

it seams that the files do not get wrapped right, the DropTarget works on both versions (I can drop files in the widget) but when I try to drag them out it dies (some kind of "the memory could not be writen" error)

I need it working in 2.5 as the rest of my app is coded with new stuff (Bind for events, tuples for parameters)
What can I do? (beside porting everything back to 2.4)

fb.py (2.9 KB)

···

--
Peter Damoc
Hacker Wannabe
Now: XP SP1, Python 2.3.3, wxPython 2.5.1.0p7u (2.4.2.4 via set PYHONPATH)

Any news about this topic?
it's 2.5.1.5 and still no fix...
any workaround?

attached is yet another proof that something is fishy with the wx.FileDataObject
dropping files from outside works but if I try to grab the list item and drop it KABOOOM
"Application Error".... The memory could not be "read"... etc.

dndError.py (963 Bytes)

···

On Mon, 23 Feb 2004 11:40:53 -0800, Robin Dunn <robin@alldunn.com> wrote:

Peter Damoc wrote:

Attached is the file to prove it.
Maybe I'm doing it wrong... am I missing something?
It works in 2.4.2.4 but in 2.5.1.0p7u it does not.
it seams that the files do not get wrapped right, the DropTarget works on both versions (I can drop files in the widget) but when I try to drag them out it dies (some kind of "the memory could not be writen" error)
I need it working in 2.5 as the rest of my app is coded with new stuff (Bind for events, tuples for parameters)
What can I do? (beside porting everything back to 2.4)

Wait for the next 2.5 preview, this seems to have already been fixed. It was probably related to some typemap fixes that I did a couple weeks ago.

--
Peter Damoc
Hacker Wannabe

Peter Damoc wrote:

···

On Mon, 23 Feb 2004 11:40:53 -0800, Robin Dunn <robin@alldunn.com> wrote:

Peter Damoc wrote:

Attached is the file to prove it.
Maybe I'm doing it wrong... am I missing something?
It works in 2.4.2.4 but in 2.5.1.0p7u it does not.
it seams that the files do not get wrapped right, the DropTarget works on both versions (I can drop files in the widget) but when I try to drag them out it dies (some kind of "the memory could not be writen" error)
I need it working in 2.5 as the rest of my app is coded with new stuff (Bind for events, tuples for parameters)
What can I do? (beside porting everything back to 2.4)

Wait for the next 2.5 preview, this seems to have already been fixed. It was probably related to some typemap fixes that I did a couple weeks ago.

Any news about this topic?
it's 2.5.1.5 and still no fix...
any workaround?

attached is yet another proof that something is fishy with the wx.FileDataObject
dropping files from outside works but if I try to grab the list item and drop it KABOOOM
"Application Error".... The memory could not be "read"... etc.

I must not have noticed that you were using the unicode version before. I am seeing the problem now, I'll see if I can figure out what is going on...

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!

Robin Dunn wrote:

Peter Damoc wrote:

I must not have noticed that you were using the unicode version before. I am seeing the problem now, I'll see if I can figure out what is going on...

Found it. It will be fixed in the next release.

···

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!

Thanks, I'm looking forward for the 2.5.2 or 2.5.1.6... I'm not picky :smiley:

···

On Fri, 28 May 2004 18:01:36 -0700, Robin Dunn <robin@alldunn.com> wrote:

Robin Dunn wrote:

Peter Damoc wrote:

I must not have noticed that you were using the unicode version before. I am seeing the problem now, I'll see if I can figure out what is going on...

Found it. It will be fixed in the next release.

--
Peter Damoc
Hacker Wannabe

Peter Damoc wrote:

···

On Fri, 28 May 2004 18:01:36 -0700, Robin Dunn <robin@alldunn.com> wrote:

Robin Dunn wrote:

Peter Damoc wrote:

I must not have noticed that you were using the unicode version before. I am seeing the problem now, I'll see if I can figure out what is going on...

Found it. It will be fixed in the next release.

Thanks, I'm looking forward for the 2.5.2 or 2.5.1.6... I'm not picky :smiley:

It will be 2.5.2.x. wxWidgets 2.5.2 was tagged today.

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!

will there be a 2.5.2.0p1u by the end of the week? :slight_smile:

···

On Mon, 31 May 2004 11:40:28 -0700, Robin Dunn <robin@alldunn.com> wrote:

Peter Damoc wrote:

On Fri, 28 May 2004 18:01:36 -0700, Robin Dunn <robin@alldunn.com> >> wrote:

Robin Dunn wrote:

Peter Damoc wrote:

I must not have noticed that you were using the unicode version before. I am seeing the problem now, I'll see if I can figure out what is going on...

Found it. It will be fixed in the next release.

Thanks, I'm looking forward for the 2.5.2 or 2.5.1.6... I'm not picky :smiley:

It will be 2.5.2.x. wxWidgets 2.5.2 was tagged today.

--
Peter Damoc
Hacker Wannabe

Peter Damoc wrote:

···

On Mon, 31 May 2004 11:40:28 -0700, Robin Dunn <robin@alldunn.com> wrote:

It will be 2.5.2.x. wxWidgets 2.5.2 was tagged today.

will there be a 2.5.2.0p1u by the end of the week? :slight_smile:

Maybe. I have a few more things I want to finish before I start the release cycle again.

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!