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

Errors and failures with Octave 3.8 #40

Closed
Arfrever opened this Issue Feb 25, 2014 · 6 comments

Comments

Projects
None yet
3 participants
@Arfrever

I recently upgraded Octave from 3.6.4 to 3.8.1 and now test suite of oct2py 1.3.0 has about 28 more errors and 2 more failures. New errors and failures occur with all versions of Python.

Example error (all new errors have the same Octave error):

======================================================================
ERROR: Test the call command
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/tmp/oct2py-1.3.0/oct2py/tests/test_oct2py.py", line 567, in test_call
    out = octave.call('roundtrip.m', 1)
  File "/tmp/oct2py-1.3.0/oct2py/session.py", line 240, in call
    resp = self._eval(cmd, verbose=verbose, timeout=timeout)
  File "/tmp/oct2py-1.3.0/oct2py/session.py", line 395, in _eval
    timeout=timeout)
  File "/tmp/oct2py-1.3.0/oct2py/session.py", line 647, in evaluate
    raise Oct2PyError(msg)
Oct2PyError: Oct2Py tried to run:
"""
[a__] = roundtrip(A__)
"""
Octave returned:
'y' undefined near line 2 column 31

2 new failures:

======================================================================
FAIL: Testing help command
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/tmp/oct2py-1.3.0/oct2py/tests/test_oct2py.py", line 591, in test_help
    assert 'Compute the cosine for each element of X in radians.' in doc
AssertionError

======================================================================
FAIL: Test all of the types, originating in octave, and returning
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/tmp/oct2py-1.3.0/oct2py/tests/test_oct2py.py", line 286, in test_octave_origin
    assert ret == 'ans =  1'
AssertionError

----------------------------------------------------------------------
@blink1073

This comment has been minimized.

Show comment
Hide comment
@blink1073

blink1073 Jun 19, 2014

Owner

These issues should be corrected in the latest master, thanks for the report.

Owner

blink1073 commented Jun 19, 2014

These issues should be corrected in the latest master, thanks for the report.

@blink1073 blink1073 closed this Jun 19, 2014

@noahfx

This comment has been minimized.

Show comment
Hide comment
@noahfx

noahfx Jun 28, 2014

Contributor

Hi
I am packaging oct2py for Debian and I have the same issue. I'll be waiting the next release to get oct2py into the Debian archive.

Contributor

noahfx commented Jun 28, 2014

Hi
I am packaging oct2py for Debian and I have the same issue. I'll be waiting the next release to get oct2py into the Debian archive.

@blink1073

This comment has been minimized.

Show comment
Hide comment
@blink1073

blink1073 Jun 28, 2014

Owner

Excellent, thanks @noahfx! I just released 1.4.0.

Owner

blink1073 commented Jun 28, 2014

Excellent, thanks @noahfx! I just released 1.4.0.

@blink1073

This comment has been minimized.

Show comment
Hide comment
@blink1073

blink1073 Jul 2, 2014

Owner

@noahfx, you may want to wait until I release 1.5.0 this weekend. I removed the optional dependency on pexpect (by using the pty module directly), and added support for python 2.6.

Owner

blink1073 commented Jul 2, 2014

@noahfx, you may want to wait until I release 1.5.0 this weekend. I removed the optional dependency on pexpect (by using the pty module directly), and added support for python 2.6.

@blink1073

This comment has been minimized.

Show comment
Hide comment
@blink1073

blink1073 Jul 2, 2014

Owner

Okay, 1.5.0 is out.

Owner

blink1073 commented Jul 2, 2014

Okay, 1.5.0 is out.

@noahfx

This comment has been minimized.

Show comment
Hide comment
@noahfx

noahfx Jul 2, 2014

Contributor

@blink1073 thanks for the follow up !!! Btw with some python 3 unit tests I've found a notable increment of the memory consumption, is this normal?

Contributor

noahfx commented Jul 2, 2014

@blink1073 thanks for the follow up !!! Btw with some python 3 unit tests I've found a notable increment of the memory consumption, is this normal?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment