These are chat archives for spyder-ide/public

28th
Jul 2016
Thomas Robitaille
@astrofrog
Jul 28 2016 16:22
Are any spyder devs around at the moment? (cc @ccordoba12, @goanpeca)
Gonzalo Peña-Castellanos
@goanpeca
Jul 28 2016 16:56
Hey Thomas
I am here
@astrofrog
Thomas Robitaille
@astrofrog
Jul 28 2016 17:08
@goanpeca - great! I'm running into an issue where I create a clean conda environment and install spyder into it from the spyder-ide channel
I then remove spyder itself and install it from github
when I do that I get:
pkg_resources.DistributionNotFound: The 'gnureadline; sys_platform == "darwin" and platform_python_implementation == "CPython"' distribution was not found and is required by the application
Any idea how to fix that?
Huh wait the error went away, nevermind...
Gonzalo Peña-Castellanos
@goanpeca
Jul 28 2016 17:12
Wow....
Ok hahahaha
Thomas Robitaille
@astrofrog
Jul 28 2016 17:12
@goanpeca - do you develop on MacOS X?
Gonzalo Peña-Castellanos
@goanpeca
Jul 28 2016 17:13
Good cause that is a very weird error
Only if I have to ;-)
Yes I have a Mac (but mostly develop on linux)
Thomas Robitaille
@astrofrog
Jul 28 2016 17:14
ah it looks like you have the same issue as me with glue - will explain
if you install the latest dev version of spyder (or glueviz) into a conda environment and launch the application, the menubar doesn't work - you have to switch to another application and switch back for it to work
Gonzalo Peña-Castellanos
@goanpeca
Jul 28 2016 17:14
Ok shoot
Thomas Robitaille
@astrofrog
Jul 28 2016 17:14
have you noticed that before or has anyone reported that?
Gonzalo Peña-Castellanos
@goanpeca
Jul 28 2016 17:15
Menubar as in -> File Edit Run Tool Help etc....
Thomas Robitaille
@astrofrog
Jul 28 2016 17:15
Yes
Gonzalo Peña-Castellanos
@goanpeca
Jul 28 2016 17:15
On OSX ?
Thomas Robitaille
@astrofrog
Jul 28 2016 17:15
Yep
Gonzalo Peña-Castellanos
@goanpeca
Jul 28 2016 17:15
Qt4 or Qt5?
Thomas Robitaille
@astrofrog
Jul 28 2016 17:16
Qt5
(but I think the issue would happen with Qt4 too)
Note that I can reproduce the issue by simply running
from PyQt4.QtGui import QApplication, QMainWindow, QMenu

app = QApplication([''])
main = QMainWindow()
mbar = main.menuBar()
menu = QMenu(mbar)
menu.setTitle("&File")
mbar.addMenu(menu)
main.show()
main.raise_()
app.exec_()
with python script.py
Gonzalo Peña-Castellanos
@goanpeca
Jul 28 2016 17:16
Ok
HAve to go out now, but I can look into this later today
Thomas Robitaille
@astrofrog
Jul 28 2016 17:17
ok thanks!
Gonzalo Peña-Castellanos
@goanpeca
Jul 28 2016 17:17
Can you postan issue in Spyder and tag me ?
Thomas Robitaille
@astrofrog
Jul 28 2016 17:17
will be interested to hear if you see the same issue
yep
Gonzalo Peña-Castellanos
@goanpeca
Jul 28 2016 17:17
please ad this script
Thanks
Thomas Robitaille
@astrofrog
Jul 28 2016 17:17
will do
Gonzalo Peña-Castellanos
@goanpeca
Jul 28 2016 17:17
a+
Thomas Robitaille
@astrofrog
Jul 28 2016 19:32
@Nodd - when you get a chance, could you double check conda-forge/staged-recipes#1158 and put a note if it's good to go and you are happy to be included?