Hi,

Thanks for reporting this bug. It is less critical than it appears to be but
it's vicious as it went unnoticed for a while now.

Actually, if you do some interactive plotting first (with Matplotlib for
instance), it works because the source of the problem is that the
QApplication object is lost when quitting the edit function (which is called
by the variable explorer: the array editor, or even the dictionary editor or
the text editor). The fact that the shape of the array change is almost
normal because it has to be changed by the array editor, but it is restored
when quitting this editor (because of this bug, the editor never quits
properly so the shape is never restored).

I'm taking care of it (already done actually).

In the meantime, you may disable the "Edit data in the remote process"
option in the Variable Explorer settings (through the preferences dialog or
the option menu on the vertical toolbar).

Cheers
Pierre

Le 17 oct. 2011 à 17:00, Markus Roppelt <[email protected]> a
écrit :

Hi,

I don't know if this is bug, but an edit on a numpy array changes the shape
of the array. The test is with new RC1.

Python 2.6.6 (r266:84297, Aug 24 2010, 18:46:32) [MSC v.1500 32 bit (Intel)]
on win32
Type "copyright", "credits" or "license" for more information.

Imported NumPy 1.6.0, SciPy 0.9.0, Matplotlib 1.0.1 + guidata 1.3.2, guiqwt
2.1.4
Type "scientific" for more details.
>>> test = np.ones(10)
>>> test.shape
(10,)

Now in Variable explorer, right click variable "test" and select edit. -->
Nothing happens - No editor appears. But shape is changed.

>>> >>> test.shape
(10, 1)

Greetings
 Markus

2011/10/17 Pierre Raybaut <[email protected]>

> Hi all,
>
> On the behalf of Spyder's development team, I'm pleased to announce
> that Spyder v2.1.0 RC1 has been released.
>
> This version should be very close to the stable release. So our top
> priority is to (eventually) find and (surely) fix bugs!
>
> As with the last beta release, you will also see on the download page
> that a portable/stand-alone version of Spyder is available. This is
> still experimental but it should provide a working all-in-one portable
> version of Spyder for Windows platforms, i.e. it does not require
> anything to be installed (anything but a Python 2.x interpreter of
> course...).
>
> See the incomplete changelog here:
> http://code.google.com/p/spyderlib/wiki/ChangeLogBeta
>
> And don't forget to follow Spyder updates/news on the project website
> (http://code.google.com/p/spyderlib/) and on our official blog
> (http://spyder-ide.blogspot.com/).
>
> Enjoy!
> -Pierre
>
> --
> You received this message because you are subscribed to the Google Groups
> "spyder" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/spyderlib?hl=en.
>
>
 --
You received this message because you are subscribed to the Google Groups
"spyder" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/spyderlib?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"spyder" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/spyderlib?hl=en.

Reply via email to