New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Oct2py hangs in Windows #63
Comments
Hi @spinningplates, thanks for the report. Can you open up a "cmd" Window and just type "octave" and let me know if Octave starts? |
Actually, also paste the Octave start prompt if you don't mind. |
Octave is able to start and I have successfully run programs using Octave. This is copy-pasted after initializing Octave: GNU Octave, version 3.8.1 Octave was configured for "i686-w64-mingw32". Additional information about Octave is available at http://www.octave.org. Please contribute if you find this software useful. Read http://www.octave.org/bugs.html to learn how to submit bug reports. |
@blink1073 I've noticed that anaconda does not work inside a MinGW or Cygwin shell. The Octave binaries for Windows are built with wither MinGW or Cygwin, so maybe there is an incompatibility. How do you install Octave on windows and do you use it with Anaconda on Windows? |
Here's my environment: $ bash --version
GNU bash, version 3.1.0(1)-release (i686-pc-msys)
Copyright (C) 2005 Free Software Foundation, Inc.
User: ~
$ python --version
Python 2.7.7 :: Anaconda 2.0.1 (32-bit)
$ octave --version
GNU Octave, version 3.6.4
Copyright (C) 2013 John W. Eaton and others.
This is free software; see the source code for copying conditions.
There is ABSOLUTELY NO WARRANTY; not even for MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE.
Octave was configured for "i686-pc-mingw32".
Additional information about Octave is available at http://www.octave.org.
Please contribute if you find this software useful.
For more information, visit http://www.octave.org/get-involved.html
Read http://www.octave.org/bugs.html to learn how to submit bug reports. |
I use Git Bash. I also tested with a clean install of |
@spinningplates, I see that 3.8 is an unofficial build for Windows. http://wiki.octave.org/Octave_for_Windows#Octave_3.8_MXE_Builds. I do not want to get into the business of supporting unofficial builds. Its hard enough keeping up with all the environments as is... |
I think we were using 3.8 because of some other issues. How do you find official builds for octave? |
I'll make the docs clearer in that I only support the official builds on Windows and do not support Cygwin. http://sourceforge.net/projects/octave/files/Octave%20Windows%20binaries/. There's a link to the .NET builds on the installation page. |
@spinningplates Can you try Octave 3.6.4 from the download @blink1073 just shared? |
I think this is why I was using 3.8+ on Ubuntu: #35 BTW, 3.8.1 is the default on 14.04 LTS: http://packages.ubuntu.com/trusty/math/octave |
@moorepants @blink1073 Confirmed that oct2py works in Octave 3.6.4. |
Great. So that's the deal. oct2py likely doesn't work on Windows with anything > 3.6.4. See if our software works. We may need to modify the matlab code to run with 3.6.4. |
I did have to make some changes to accommodate 3.8 on Linux, but its been working for a couple versions now. It sounds like the pipe behavior may have changed between 3.6 and 3.8 (which led me to go back to pty on Linux). I fear oct2py may never work on Windows with Octave 3.8+. How did you install 3.8 on Windows? I can take a look when I get a spare moment. |
I just downloaded 3.8.2 from here: http://mxeoctave.osuv.de/ and installed as I did the other versions of Octave (in an Octave folder on the C drive). I also manually added the Octave/bin folder to the path to get it to work in Windows command line. |
Fixed! I'll make sure it works still on Linux, and fire off a bug fix release. |
Should be good in v2.4.2, |
Awesome, thanks! I'll pin our software to this version as the dependency (at least for Windows). |
@spinningplates Can you confirm that the 2.4.2 release works?
will install the new version. |
I've just confirmed that the 2.4.2 release works. Thanks! |
Great! You're very welcome! |
Dear Blink1075 |
Oct2py hangs in Windows after importing "octave" in either Python or IPython in Windows command line. Currently using Windows 7, Python 2.7.8, Anaconda 2.1.0, oct2py 2.4.0. It also hangs during the nosetests after cloning the repo.
The text was updated successfully, but these errors were encountered: