Mauricio Calvao | 7 Mar 16:06 2015
Picon

how to add new keyboard shortcut

Hi there,

First of all, congratulations for the wonderful environment Syper is!

I would like to know whether it is possible to add a custom-defined keyboard shortcut (either via the Preferences submenu, under the Tools menu, or straight through a configuration file) to accomplish the task, which already works, under a usual Ipython console (outside Spyder, I mean), of reverse search in the history, while in the IPython console pane. This uses to be bound to Ctrl+R and I checked that apparently this binding is not used under my Spyder version (2.3.1).

If this is possible, I would like to have a step-by-step set of instructions, if you please.

Cheers

--
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.
Yuxiang Wang | 7 Mar 05:21 2015
Picon

Shortcut to remove trailing spaces?

Dear all,

Was wondering why there is no shortcut to remove trailing spaces, as this seems to be a fairly common thing that I do. It could be just me.... So I decided to post here to see what everyone thinks, before submitting a feature/pull request.

Thanks,

Shawn

--
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.
Dedi Gadot | 5 Mar 09:56 2015
Picon

Unicode filename?

Hi, 

I keep getting the following error with spyder 2.3.3, didn't happen with 2.3.2:

  File "DNN.py", line 13, in <module>
    from nolearn.lasagne import BatchIterator as BatchIterator

  File "/home/dedigadot/Envs/env1/local/lib/python2.7/site-packages/nolearn/lasagne.py", line 1, in <module>
    from __future__ import absolute_import

  File "/home/dedigadot/Envs/env1/local/lib/python2.7/site-packages/nolearn/lasagne.py", line 1, in <module>
    from __future__ import absolute_import

  File "/usr/lib/python2.7/bdb.py", line 48, in trace_dispatch
    return self.dispatch_line(frame)

  File "/usr/lib/python2.7/bdb.py", line 65, in dispatch_line
    if self.stop_here(frame) or self.break_here(frame):

  File "/home/dedigadot/spyder-2.3.3/spyderlib/widgets/externalshell/sitecustomize.py", line 515, in break_here
    filename = unicode(filename, "utf-8")

TypeError: decoding Unicode is not supported

Anyone knows what's going on?

Thanks
David

--
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.
Robert | 5 Mar 11:42 2015
Picon

Status of JULIA support in Spyder?

What is the status of the project to integrate support for the JULIA language into the Spyder IDE?
There arose promising hope about it by comments posted to the "  Spyder 2.3 fourth beta release " thread.
I found syntax highlighting to be integrated by now, but failed to find any IJulia or REPL integration.
Would be nice to have it! Actually, I would appreciate if there would be the possibility to write a Julia command somewhere at a Spyder integrated command line, outside the editor in order to keep command trials out of the *.jl document in progress, and to then receive written output in that Julia REPL and additionally the generated values pushed to the active workspace. MATLAB IDE alike.
Is anybody working on the creation such functionality?

--
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.
Martin Durant | 3 Mar 16:14 2015
Picon
Picon

savefig causes crash

In spyder 2.3.3, matplotlib's savefig causes ipython kernel crash. Reverting to 2.3.2 fixes problem.

Figure displays OK (I use pyqt 4 in a window). Savefig opens a file, and crash happens before anything is written to the file. Happens with any file extension.

I am using Python 3.4.2 |Anaconda 2.1.0 (64-bit)| (default, Oct 21 2014, 17:16:37), IPython 3.0.0, Qt 4.8.5, PyQt4 (API v2) 4.10.4 on Linuxmint 17.1. Perhaps too experimental?

--
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.
google.3.gnufiz | 2 Mar 17:19 2015

GTK auto-completition not working as expected

Hi all,

somehow I do not get the auto-completition of Spyder (2.3.1 out of current Debian Sid) working for GTK usage.
Following code was taken (and modified) from the PyGtk tutorial:

    import pygtk
    pygtk
.require('2.0')
   
import gtk
    dialog
= gtk.MessageDialog(type=gtk.MESSAGE_ERROR, buttons=gtk.BUTTONS_CLOSE)
    dialog
.set_markup("Message")
    dialog
.set_title(APP_NAME + " - Error")
    dialog
.show()
    gtk
.main()


And this one from another tutorial, using another kind of import:


   
from gi.repository import Gtk

    message
= "\n<b>Error.</b>\n"+ message
    dialog
= Gtk.MessageDialog(None, 0,
       
Gtk.MessageType.ERROR, Gtk.ButtonsType.CLOSE, "unformated message")
    dialog
.set_title(APP_NAME + " - Error")
    dialog
.run()


In both cases I do not get the usual completition popups (except of the parts already used in code) – be it for classes of modules, their methods or constants – and I do not get any documentation for any methods like 'dialog.run()' or 'dialog.show()' at all.

I also tried to add some directorys to PYTHONPATH in Spyder:

/usr/lib/python2.7/dist-packages/gi/overrides/
/
usr/lib/python2.7/dist-packages/gi/repository/
/
usr/lib/python2.7/dist-packages/gi/_gobject/
/
usr/lib/python2.7/dist-packages/gobject/
/
usr/lib/python2.7/dist-packages/glib/
/
usr/lib/python2.7/dist-packages/gtk-2.0/
/
usr/lib/python2.7/dist-packages/gtk-2.0/gio/
/
usr/lib/python2.7/dist-packages/gtk-2.0/gnome/
/
usr/lib/python2.7/dist-packages/gtk-2.0/gnomevfs/
/
usr/lib/python2.7/dist-packages/gtk-2.0/bonobo
/usr/lib/python2.7/dist-packages/gtk-2.0/gtk


which also made no difference (even after restarting Spyder)
The code is in either case working as expected, so that should not be the problem.

If anyone has an idea how to fix this I'd be quite happy.

(As I am quite new to Python, Spyder and also GTK, these trys might also not be "the way" to import GTK libs, so if anybody could help out in any direction I'd be happy.)

Thanks, Jaleks

--
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.
Gene Callahan | 1 Mar 00:27 2015
Picon

An offer to help with documentation

Hi. I am currently working on an ABM system that I believe I would like to make available as a Spyder plugin sometime soon. In the meantime, I would like to offer help in cleaning up the documentation. I am also a professional writer -- you can Google and find lots of things I've written -- and my only goal at this point would be to improve the clarity and flow of the text.

If people are interested in my help with this, please tell me how to get started.

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.
Zbyněk Fiala | 26 Feb 00:31 2015
Picon

No Qt-designer entry in Tools menu

Hi,

I am using Spyder 2.3.3  (Python 3.4.0 64bits, Qt 4.8.6, PyQt4 (API v2) 4.10.4) on  Linux Mint 17.1
I have no qt-designer entry in Tools menu. Everything regarding Qt 4  installed from standard repository. Designer is in my system $PATH.

Thanks  for any help

       zbyna

--
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 | 25 Feb 22:13 2015
Picon

ANN: Spyder 2.3.3 is released!

Hi all,

On the behalf of Spyder’s development team (https://github.com/spyder-ide/spyder/blob/master/AUTHORS), I’m pleased to announce that Spyder 2.3.3 has been released and is available for Windows, GNU/Linux and MacOS X: https://github.com/spyder-ide/spyder/releases

This release represents more than 2 months of development since version 2.3.2 and introduces several new features:

  • Editor
    • Use the Jedi library to do code completions
    • Add Ctrl+= as a shortcut to do Zoom in and Ctrl+0 to reset zoom
    • Add an option to show blank spaces, under the Source menu. There is also an option to make this permanent under Preferences > Editor.
  • IPython Console
    • Don’t print DataFrames as html tables because this won’t be supported since IPython 3.0
    • Drop support for IPython 0.13
    • Support the upcoming 3.0 version
    • Add Ctrl+T as shortcut to open new consoles
    • Simplify how consoles are named
  • Variable Explorer
    • More optimizations to handle big DataFrames and NumPy arrays (i.e. with more than 1e6 elements).
  • Main Window
    • Add Ctrl+W and Ctrl+F4 to close tabs in all platforms
    • Show shortcuts to move to each pane in View > Panes

Spyder is a free, open-source (MIT license) interactive development environment for the Python language with advanced editing, interactive testing, debugging and introspection features. It was designed to provide MATLAB-like features (integrated help, interactive console, variable explorer with GUI-based editors for NumPy arrays and Pandas dataframes), it is strongly oriented towards scientific computing and software development.

Don’t forget to follow Spyder updates/news:

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!

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.

avkaplmkt | 25 Feb 15:06 2015
Picon

Specify Python version (3.x vs 2.x) when running code and starting intepreters?

Hello,

New user here, is there a way to specify the default (and a way to override the default) Python version when running a selection or a file? And is there a way to specify the version of the Python interpreter to open? I am running the latest Spyder on Fedora 21 with both Python 3 and 2 installed. Would I have to change the system-wide default Python (which I don't prefer) or is there a way to change it in Spyder or specify on a case-by-case basis? 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.
Chris Dorian | 25 Feb 02:17 2015

Spyder wont launch

Hi
I just installed Python(x,y) and it all seems to have worked well, I even uninstalled python 2.7 before I installed, but when I try to run Spyder a console window pops up and disappears, then nothing happens.

I dont even know where to start with troubleshooting this since it's my first time with Spyder.

My system is Windows 8.1, 64bit.

Thanks in advance for any help,
Chris

• The following refers to email messages transmitted from, or on behalf of, Dorian Consultants Pty. Ltd. • The information contained in any e-mail and its attached files, including replies and forwarded copies, is confidential and intended solely for the addressee(s) and may be legally privileged or prohibited from disclosure and unauthorised use.• If you are not the named addressee you may not use, copy or disclose this information to any other person. • If you received this message in error please notify the sender immediately and delete all copies of the email and associated files. • If you are not the intended recipient, any form of reproduction, dissemination, copying, disclosure, modification, distribution and/or publication or any action taken or omitted to be taken in reliance upon this message or its attachments is prohibited and may be unlawful. • Any views or opinions presented are solely those of the originator and do not necessarily represent those of Dorian Consultants Pty Ltd. • All liability for viruses is excluded to the fullest extent permitted by law. • Although every effort has been made to ensure the correctness and integrity of attachments that may be included in this email, this can only apply to the unaltered/uncorrupted form. A copy of the original attachment is available from our office should you require it. • Alternatively, if further verification is required please request a hard copy version.
P Please consider the environment before printing this email

--
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