bugGNU Octave - Bugs: bug #60708, [octave forge] (symbolic) stopped...

 
 

bug #60708: [octave forge] (symbolic) stopped working with SymPy 1.8

Submitter:  None
Submitted:  Mon 31 May 2021 03:34:25 AM UTC
   
 
Category:  Octave Package Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Unexpected Error or Warning
Status:  Duplicate Assigned to:  None
Originator Name:  Originator Email:  -email is unavailable-
Open/Closed:  * Closed Release:  * dev
Operating System:  * GNU/Linux Fixed Release:  None
Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Mon 31 May 2021 04:24:42 PM UTC, comment #3: 

You are welcome 🙂

Closing as duplicate of bug #58491.

Kai Torben Ohlhus <siko1056>
Group Member
Mon 31 May 2021 02:32:15 PM UTC, comment #2: 

Oh my! My Sympy version is 1.8-1 as part of the distro updates. I thought I was being diligent in keeping everything up to date without realizing it broke the symbolic package that I use only rarely.

I will find out how to install an older version of Sympy and get 1.5.1. Thank you for pointing me to the right place.

Anonymous
Mon 31 May 2021 03:41:44 AM UTC, comment #1: 

Can you confirm you SymPy version.  If it is not version 1.5.1, please take a look at this bug report and the link posted therein (bug #58491) for a solution.

Kai Torben Ohlhus <siko1056>
Group Member
Mon 31 May 2021 03:34:25 AM UTC, original submission:  

Hello,

I don't use the symbolic package often and if I'm doing something wrong I apologize. I found that my symbolic code from 2020 no longer works, and even a basic "syms x" statement gives a SymPy error. I have verified that my SymPy installation is proper. Is this a bug or is it user error?


octave:10> pkg load symbolic
octave:11> syms x
Symbolic pkg v2.9.0: Traceback (most recent call last):
  File "<stdin>", line 28, in <module>
AttributeError: '_PrintFunction' object has no attribute '__globals__'
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "<stdin>", line 12, in octoutput_drv
  File "<stdin>", line 54, in octoutput
  File "<stdin>", line 55, in octoutput
AttributeError: module 'sympy' has no attribute 'compatibility'
Closing the Python communications link.

error: Python exception: AttributeError: '_PrintFunction' object has no attribute '__globals__'
    occurred in python_header import block.
    Try "sympref reset" and repeat your command?
    (consider filing an issue at https://github.com/cbm755/octsympy/issues)
error: called from
    pycall_sympy__ at line 191 column 5
    valid_sym_assumptions at line 38 column 10
    assumptions at line 82 column 7
    syms at line 97 column 13
octave:12>


Anonymous

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Digest:
   bug dependencies.

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by siko1056 (Posted a comment)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2021-05-31 siko1056 Dependencies- Depends on bugs #58491
    2021-05-31 siko1056 StatusNeed Info Duplicate
        Open/ClosedOpen Closed
        Summary[octave forge] (symbolic) Syms stopped working? [octave forge] (symbolic) stopped working with SymPy 1.8
    2021-05-31 siko1056 StatusNone Need Info
        SummarySyms stopped working? [octave forge] (symbolic) Syms stopped working?

    Back to the top

    Powered by Savane 3.13-caa5.
    Corresponding source code