bugGNU Octave - Bugs: bug #46671, Octave - Sympy

 
 

bug #46671: Octave - Sympy

Submitted by:  None
Submitted on:  Sat 12 Dec 2015 03:16:00 AM UTC  
 
Category: Octave Forge PackageSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Segfault, Bus Error, etc.
Status: FixedAssigned to: None
Originator Name: C2Originator Email: -unavailable-
Open/Closed: ClosedRelease: 3.8.1
Operating System: GNU/Linux

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sat 12 Dec 2015 01:58:01 PM UTC, comment #2:

Philip is right, the symbolic package might someday say that it supports only 4.0 and newer (unless things like this are fixed). This has been fixed in the meantime on the symbolic package's master branch, next release should not have this error:

https://github.com/cbm755/octsympy/commit/1b18fbdb86db1ae44c3db84b535a659c5d320c34

Mike Miller <mtmiller>
Project Administrator
Sat 12 Dec 2015 12:58:22 PM UTC, comment #1:

I'm afraid your Octave version is too old - the function _compactformat_ was added (IRC) in 3.8.2. So my advice is to upgrade Octave to a newer version.

Maybe maybe the following hack can help you:

Copy this to _compactformat_.m, put this file somewhere in a subdir in your Octave search path, and try again. Be sure to cross fingers.....

(And it may very well be that you'll then meet other issues with the symbolic package. I can only emphasize my first advice)

Philip Nienhuis <philipnienhuis>
Project Member
Sat 12 Dec 2015 03:16:00 AM UTC, original submission:

Unable to run symbolic math. Below is the screen output. This only happen in linux system, windows octave have no problem.

=======================================

GNU Octave, version 3.8.1
Copyright (C) 2014 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. For details, type 'warranty'.

Octave was configured for "x86_64-pc-linux-gnu".

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.
For information about changes from previous versions, type 'news'.

>> pkg load symbolic
>> syms x y

OctSymPy v2.2.3: this is free software without warranty, see source.
Initializing communication with SymPy using a popen2() pipe.
Some output from the Python subprocess (pid 2194) might appear next.
Python 2.7.6 (default, Jun 22 2015, 17:58:13)
[GCC 4.8.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.

>>> >>>

OctSymPy: Communication established. SymPy v0.7.6.1.

>> x

error: '__compactformat__' undefined near line 1 column 3
error: called from:
error: /home/seechew/octave/symbolic-2.2.3/@sym/display.m at line 83, column 11

>>

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by mtmiller (Posted a comment)
  • -unavailable- added by None (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 12 Dec 2015 01:58:01 PM UTCmtmillerStatusNone=>Fixed
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1