Seth Gilchrist | 23 Sep 01:16 2014
Picon

Is outline automatic collapsing intentional?

The outline pane automatically collapses files that you are not viewing in the editor. I often want to see the list of classes and methods in file A while working in the editor on file B. I can expand the correct node in the outline to view file A, but when I click back into the editor the outline automatically collapses file A, hiding the class method list, and goes to the spot I'm working on in file B.
 
Is this intentional? It seems deliberate, but I can't see why it would behave this way.
 
Spyder 2.3.0rc
Python 3.4.1 64bit
Qt 4.8.6
PyQt4 (API vs) 4.10.4
Win7 64 bit
Installed with Anaconda Python

--
You received this message because you are subscribed to the Google Groups "spyder" group.
To unsubscribe from this group and stop receiving emails from it, send an email to spyderlib+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To post to this group, send email to spyderlib-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
Visit this group at http://groups.google.com/group/spyderlib.
For more options, visit https://groups.google.com/d/optout.
Ioannis Filippidis | 21 Sep 06:22 2014
Picon

transition to git and github

Hello all,

I would like to ask about thoughts and opinions regarding moving the development of Spyder to github, using git.
Potential advantages are:

- git offers more control than mercurial. The point of this email is not to start an argumentation of git vs hg, some comments can be found in this issue:
    https://code.google.com/p/spyderlib/issues/detail?id=1911
and these older discussions linked from it:
    https://groups.google.com/forum/#!searchin/spyderlib/github/spyderlib/F0N3MdUNEtA/cP1DmEmibssJ
    https://groups.google.com/forum/#!searchin/spyderlib/github/spyderlib/z4JrnmAE3rA/oPUp8_Y8hI0J
Examples of github's flexibility:
    - branching
    - history editing (amending, rebasing, cherry-picking, squashing, etc.)
    - staging: a handy mechanism for filtering changes into smaller commits

- it is likely that several developers that use github regularly would be interested in submitting patches or reporting and discussing issues for Spyder. Forking and pull requests have benefited a lot the growth of other projects, e.g., networkx:
    http://networkx.github.io/

- the core of the python scientific stack is on github. Some of these projects were previously hosted elsewhere (e.g., SourceForge).
It cannot be overlooked that they all chose to switch to github, and have been quite active after the switch.
    https://github.com/numpy
    https://github.com/scipy
    https://github.com/matplotlib
    https://github.com/ipython
    https://github.com/sympy
    https://github.com/pydata
    https://github.com/nose-devs/nose/
    https://github.com/enthought
    https://github.com/cython
    https://github.com/search?utf8=%E2%9C%93&q=scikit

- github is rising in popularity, and considering its function, the main reason appears to be that people find it more practical as an interface for managing their projects.

- issue tracking:
    - (github-flavored) markdown
    - linking to messages by commit hash
    - linking to specific lines in code in specific changesets
    - and several other features.

For tools that can help with migration, please take a look at issue #1911 (https://code.google.com/p/spyderlib/issues/detail?id=1911).

For completeness, it is worth mentioning that python development uses hg, but the reasons are here:
    http://legacy.python.org/dev/peps/pep-0374/#why-mercurial-over-other-dvcss
and are either subjective, or time-specific:
    1. windows interface for git: has improved much since 2009, see, e.g., Github for Windows
    2. developer opinions: this is personal preference of a set of people
    3. promoting a tool written in python - is not really relevant to the function of a vcs.

Thanks,
ioannis

--
You received this message because you are subscribed to the Google Groups "spyder" group.
To unsubscribe from this group and stop receiving emails from it, send an email to spyderlib+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To post to this group, send email to spyderlib-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
Visit this group at http://groups.google.com/group/spyderlib.
For more options, visit https://groups.google.com/d/optout.

BM | 19 Sep 16:44 2014
Picon

Two beginner questions: running Spyder inside a Python virtual environment and setting up Spyder to automatically compile and execute Cython code

Hi everyone,

I have been using Spyder on Windows for a long time, and absolutely love it. However, I am still very much a beginner, because I don't use any of the advanced features yet. Recently, I have had to switch to a Linux platform (Debian), and needed to run a version of Python and Spyder that is more updated than the ones available in the Debian repositories. Thus, I needed to set up virtual environments.

I have not had success getting Spyder to run inside a virtual environment: after typing in 'spyder' in the console, I get an error that says I need the right version of PyQt (which I have already made sure is installed...). Is what I am trying to do possible, and am I simply making an error?

Secondly, I'd like to Cythonize some of code. There are a wide variety of ways to compile Cython code (see http://docs.cython.org/src/reference/compilation.html). So, I'd like to ask: which way is most suitable for integration into Spyder? A dream would be: I press F9, the code is Cythonized and then run in the interpreter. Is this possible?

Thanks very much for your help,
Brian

--
You received this message because you are subscribed to the Google Groups "spyder" group.
To unsubscribe from this group and stop receiving emails from it, send an email to spyderlib+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To post to this group, send email to spyderlib-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
Visit this group at http://groups.google.com/group/spyderlib.
For more options, visit https://groups.google.com/d/optout.
Carlos Córdoba | 18 Sep 07:50 2014
Picon

ANN: Spyder 2.3.1 is released!

Hi all,

On the behalf of Spyder's development team (http://code.google.com/p/spyderlib/people/list), I'm pleased to announce that Spyder 2.3.1 has been released and is available for Windows XP/Vista/7/8, GNU/Linux and MacOS X: https://bitbucket.org/spyder-ide/spyderlib/downloads

This release represents 2 months of development since 2.3.0 and introduces major enhancements and new features:

  * Support for Pandas DataFrame's and TimeSerie's types, and Numpy 3D arrays in the Variable Explorer
  * Connect to external IPython kernels through ssh
  * Add a tutorial for beginners to the Object Inspector
  * Improve our looking style on Mac
  * And several other changes: http://code.google.com/p/spyderlib/wiki/ChangeLog

We fixed 15 important bugs, merged 13 pull requests from 8 authors and added more than 300 commits between these two releases.

Spyder is a free, open-source (MIT license) interactive development environment for the Python language with advanced editing, interactive testing, debugging and introspection features. Originally designed to provide MATLAB-like features (integrated help, interactive console, variable explorer with GUI-based editors for dictionaries, NumPy arrays, ...), it is strongly oriented towards scientific computing and software development. Thanks to the `spyderlib` library, Spyder also provides powerful ready-to-use widgets: embedded Python console (example: http://packages.python.org/guiqwt/_images/sift3.png), NumPy array editor (example: http://packages.python.org/guiqwt/_images/sift2.png), dictionary editor, source code editor, etc.

Description of key features with tasty screenshots can be found at:
http://code.google.com/p/spyderlib/wiki/Features

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/

Last, but not least, we welcome any contribution that helps making Spyder an efficient scientific development/computing environment. Join us to help creating your favorite environment!
(http://code.google.com/p/spyderlib/wiki/NoteForContributors)

Enjoy!
-Carlos

--
You received this message because you are subscribed to the Google Groups "spyder" group.
To unsubscribe from this group and stop receiving emails from it, send an email to spyderlib+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To post to this group, send email to spyderlib-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
Visit this group at http://groups.google.com/group/spyderlib.
For more options, visit https://groups.google.com/d/optout.

Tonio Bonnef | 16 Sep 14:55 2014
Picon

ipdb and auto completion

Hi,

I've been using spyder for a while but I still have problems with the bebugger.
It seems that IPython from spyder and from my terminal do not have the same ipdb behaviours.

I installed two spyders, one thanks to macport and the other one from anaconda and none of them allow autocompletion and "up arrow" action to reuse previous command when debugging in ipdb.
The ipdb is open through the "debugfile" builtin function.

When I'm running the IPython installed thanks to macport directly in the terminal and I import ipdb (installed with macport) then I have auto completion and the up-arrow action...

I would like to be able to have the benefits of debugging in spyder, eg lines highlighted and the "Variable explorer" but with the autocompletion available.

Do you know if it is possible?

Thanks

Tonio

--
You received this message because you are subscribed to the Google Groups "spyder" group.
To unsubscribe from this group and stop receiving emails from it, send an email to spyderlib+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To post to this group, send email to spyderlib-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
Visit this group at http://groups.google.com/group/spyderlib.
For more options, visit https://groups.google.com/d/optout.
Serge-Étienne Parent | 15 Sep 16:06 2014
Picon

Run cell small keyboard

Hi,

The default shortcut to run a cell is Ctrl+Enter, Enter being the key included in the numerical pad of usual large keyboards. This key is absent from small laptop keyboards. The shortcut to run a cell can not be edited from the Preference dialog. Can I change Ctrl+Enter to Ctrl+Return in a configuration file? I might suggest that Enter and Return keys should be considered as similar inputs.

Thanks!

Essi Parent

--
You received this message because you are subscribed to the Google Groups "spyder" group.
To unsubscribe from this group and stop receiving emails from it, send an email to spyderlib+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To post to this group, send email to spyderlib-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
Visit this group at http://groups.google.com/group/spyderlib.
For more options, visit https://groups.google.com/d/optout.
JD Mclaurin | 9 Sep 23:32 2014
Picon

Spyder Crashes on startup from terminal

I am running OSX 10.5.8 and attempting to start spyder from the terminal. Whenever I do this, spyder crashes. Anyone have any insight into this? I also have problems starting other environments (i.e. Canopy) but can use python from the terminal just fine. 

--
You received this message because you are subscribed to the Google Groups "spyder" group.
To unsubscribe from this group and stop receiving emails from it, send an email to spyderlib+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To post to this group, send email to spyderlib-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
Visit this group at http://groups.google.com/group/spyderlib.
For more options, visit https://groups.google.com/d/optout.
Steve Sell | 7 Sep 04:01 2014
Picon

2.3.0 with anaconda 2.0.1

Hello,

I installed the Anaconda 2.0.1 distribution with python 3.4.1 in it... all was well and worked as expected.  I noticed that the anaconda distribution includes 2.3.0rc and now that 2.3.0 is released, I wanted to update to the released version.  So I did:

   conda update spyder

That updates:

   ipython:    2.1.0-py34_2    --> 2.2.0-py34_1

   python.app: 1.2-py34_2      --> 1.2-py34_3  

   pyzmq:      14.3.0-py34_0   --> 14.3.1-py34_0

   spyder:     2.3.0rc1-py34_0 --> 2.3.0-py34_1


Now, with the OSX backend (or set to automatic) in Preferences->IPython Console->Graphics->Backend, when I generate plots, they open in new windows behind the spyder window and I cannot Cmd-Tab or Cmd-~ to the windows (they sorta appear as though they are their own app, but there's no dock entry from them),  The only way to get them to the foreground is to move the spyder window, then click on the plot window.  Super annoying.

Anyway,  this is brand-new behavior when going from the completely updated anaconda to the updated spyder 2.3.0 release..  My exact steps were:

1) Download Anaconda3-2.0.1-MacOSX-x86_64 from Continuum
2) Install
3) "conda update conda" this updated the following packages:

   conda-3.6.3                |           py34_0         154 KB

   python-3.4.1               |                3        18.8 MB

   requests-2.4.0             |           py34_0         609 KB

   xz-5.0.5                   |                0         132 KB


4) At this point spyder was still at 2.3.0rc and everything worked as expected.
5) "conda update spyder" and it updated the packages I mentioned above
6) Now Backend OSX does not work properly.

Is this a bug?  Is there a fix?

Thanks!


--
You received this message because you are subscribed to the Google Groups "spyder" group.
To unsubscribe from this group and stop receiving emails from it, send an email to spyderlib+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To post to this group, send email to spyderlib-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
Visit this group at http://groups.google.com/group/spyderlib.
For more options, visit https://groups.google.com/d/optout.
anatoly techtonik | 7 Sep 05:25 2014
Picon

Continuum Analytics upsets me with Anaconda 2.0

...PyQt is now the default Qt binding, as some users were experiencing stability problems
with spyder...
http://continuum.io/blog/anaconda-2-released

I feel like claims that Anaconda is completely free now are false
https://store.continuum.io/cshop/anaconda/

Why am I upset about it? With so much buzz and marketing power that Continuum
delivers, I expected guys to be active somehow in the open source part of the ecosystem
and pay attention at the values of the project that are not only at the top of their IDE list
http://docs.continuum.io/anaconda/ide_integration.html
but also important enough to break dozens (hundreds?) internal application. That's why a
major version change.

I am not saying that everybody here wants non-restricted Qt bindings on Windows. People
usually don't care, but after MS killed Nokia, so that there is no PySide team anymore,
I'd expect a company like Continuum to be able to calculate the impact made and provide
at least some support value back to PySide project. Reporting bugs at minimum.

It is just my personal rant, but...
Getting the best out of open source projects, wrapping them in package and marketing it
at a conferences. This is not what you expect from a scientific company that holds the
keys to open source, algorithms and processing. You expect them to be on a edge of
researching the economy, the system that powers it - the ecosystem - to make sure that
useful agents survive, not die. You expect them to be leaders that explain the trends, how
the stuff works, to provide some hope for this darkness. And what you see from the
ecosystem point of view? Just another parasite trying to survive in this "economy".

Just to make clean about the matter. I am sitting right now trying to code some stuff for
the money that will be plenty enough for food or buying new clothes, I see people quitting
social science, biology, neural networks labs just to earn cash and write dumb 
games or join outsourcing business (because, well, it is boring for US developers to write
and maintain code for their own products). My "quality of life" directly depends on the
amount of people involved in research jobs, because I hope that one day it will be possible
to find a solution for my personal issue. Hoped. If money always kills the game, it is
pointless for me to continue in the open source race, because I will never be able to
afford the costs of the outcome as I am not as smart as others to earn some.

--
You received this message because you are subscribed to the Google Groups "spyder" group.
To unsubscribe from this group and stop receiving emails from it, send an email to spyderlib+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To post to this group, send email to spyderlib-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
Visit this group at http://groups.google.com/group/spyderlib.
For more options, visit https://groups.google.com/d/optout.
Sean Smith | 4 Sep 21:26 2014
Picon

f2py with dmg package

f2py works without a hitch using the standard packages on my linux system to install python, fortran, numpy, and spyder.
I'm using the spyder dmg for a python/numpy distribution on mac. Even though gfortran is installed on the system, it seems there is no easy way to get f2py running. Should this be the case?
It does seem like a complicated distribution issue, so I'm not complaining or making requests. I just wanted to know if there is a simple solution before shutting the door on the approach.

--
You received this message because you are subscribed to the Google Groups "spyder" group.
To unsubscribe from this group and stop receiving emails from it, send an email to spyderlib+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To post to this group, send email to spyderlib-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
Visit this group at http://groups.google.com/group/spyderlib.
For more options, visit https://groups.google.com/d/optout.
statmobile | 3 Sep 22:59 2014
Picon

Spyder 2.3 Beta and Python 3.4

Hi All,

So I installed the latest beta of Spyder 2.3 in order to get Python 3.4 support.  I installed python 3.4 through macports and changed the settings for Console > Advanced settings > Python executable binary to /opt/local/bin/python.  Now when I open Spyder I go to the Console and I try the following in the session

Python 3.4.1 (default, May 21 2014, 01:39:38)
[GCC 4.2.1 Compatible Apple LLVM 5.1 (clang-503.0.40)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> abc = 2
>>> print(ab<tab for completion>

The Internal console pops up with the following Traceback of the error:


DON'T USE THIS CONSOLE TO RUN CODE!

It's used to report application errors
and to inspect Spyder internals with
the following commands:
  spy.app, spy.window, dir(spy)
>>> Traceback (most recent call last):
  File "/Applications/Spyder.app/Contents/Resources/lib/python2.7/spyderlib/widgets/shell.py", line 298, in keyPressEvent
    self.postprocess_keyevent(event)
  File "/Applications/Spyder.app/Contents/Resources/lib/python2.7/spyderlib/widgets/shell.py", line 727, in postprocess_keyevent
    ShellBaseWidget.postprocess_keyevent(self, event)
  File "/Applications/Spyder.app/Contents/Resources/lib/python2.7/spyderlib/widgets/shell.py", line 358, in postprocess_keyevent
    self._key_tab()
  File "/Applications/Spyder.app/Contents/Resources/lib/python2.7/spyderlib/widgets/shell.py", line 759, in _key_tab
    self.show_code_completion(automatic=False)
  File "/Applications/Spyder.app/Contents/Resources/lib/python2.7/spyderlib/widgets/shell.py", line 900, in show_code_completion
    b_k_g = dir(builtins)+self.get_globals_keys()+keyword.kwlist
TypeError: can only concatenate list (not "NoneType") to list


Any help on this matter would be much appreciated, since I really enjoy using the console to debug on Spyder. 

 

--
You received this message because you are subscribed to the Google Groups "spyder" group.
To unsubscribe from this group and stop receiving emails from it, send an email to spyderlib+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To post to this group, send email to spyderlib-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
Visit this group at http://groups.google.com/group/spyderlib.
For more options, visit https://groups.google.com/d/optout.

Gmane