Could you try to import the 'load_matlab' function to help me
understand what's wrong with it?

Just open a Python interpreter outside Spyder and enter the following:
from spyderlib.utils.iofuncs import load_matlab

Have you tried to simply import scipy.io (again, outside Spyder)?

Thanks,
Pierre

On Oct 4, 5:54 pm, Benoit Bovy <[email protected]> wrote:
> Here am i again :-) !
>
> Just to say that i commented the code in load_matlab function
> (spyderlib/utils/iofuncs.py).
> Now the external consoles start properly, with scipy (but without
> load_matlab, but i don't use it :-) )
> The solution is there...
>
> Benoît.
>
> On 4 oct, 12:19, Benoit Bovy <[email protected]> wrote:
>
>
>
> > More details about the tracebacks :
> > I think I saw something related to "scipy.io" submodule (but I'm not
> > sure)
> > I remember I had to change some part of my python scripts where I used
> > some functions of scipy.io that are now removed in scipy 0.8
> > (fread...). I don't know if there is a link with the issue here.
>
> > I removed the scipy 0.8.0-12.1 package and now the external consoles
> > (ipython and python) work properly. But without scipy...
>
> > On 4 oct, 10:11, Benoit Bovy <[email protected]> wrote:
>
> > > I tried to run a simple script in a new console with the "-v" option,
> > > and I got a lot of tracebacks !
> > > Unfortunately, Spyder quits with a bus error before I'm able to read
> > > or copy/paste the messages (I set the buffer depth to 100 000
> > > lines !). I don't know how I can get it (Is there a file where
> > > tracebacks are recorded ?)
> > > I just had the time to see some "scipy" stuff in the long messages...
>
> > > From a terminal, I can run simple scripts and also scripts where
> > > scipy, numpy, matplotlib, pylab... are imported.
>
> > > Thanks,
> > > Benoît.
>
> > > On 2 oct, 11:45, Pierre Raybaut <[email protected]> wrote:
>
> > > > Hi,
>
> > > > In Spyder v2.0:
> > > > * Could you please open the internal console in case there is some
> > > > tracebacks there?
> > > > * When running a simple script (like a "hello world!" program), could
> > > > you edit the run configuration and add "-v" to Python interpreter
> > > > command line options? -> this should display a lot of debug text and
> > > > hopefully an error message. (you may have to change console's buffer
> > > > depth which is only 300 lines by default -- Preferences > Console >
> > > > Buffer ("tampon"))
>
> > > > Thanks,
> > > > Pierre
>
> > > > On 30 sep, 16:18, Benoit Bovy <[email protected]> wrote:
>
> > > > > Hello,
>
> > > > > I've just updated numpy (to 1.5.0), scipy (to 0.8.0) and matplotlib
> > > > > (to 1.0.0) from package repositories of opensuse 11.2.
>
> > > > > Everything worked fine before the updates but now I can't open any
> > > > > external console in spyder (run a script, open a new python or ipython
> > > > > interpreter...). The new console tap opens and then the process
> > > > > (thread) immediately stops (console status is "terminé").
>
> > > > > I have this issue with both spyder 1.1.3 and 2.0.0beta3. I've tried
> > > > > running spyder in debug mode and alse removed all starting options for
> > > > > ipython, but the problem is still there and no error is mentioned
> > > > > during debugging.
>
> > > > > Any idea ?
>
> > > > > Thanks,
>
> > > > > Benoit.

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