SageMath version 9.7.beta1, Release Date: 2022-05-26 Operating system: macOS Monterey 12.4
When running sage in Jupyter notebook, I get the following problem. *sage: ascii_art(list(Partitions(5)))* *<repr(<sage.typeset.ascii_art.AsciiArt at 0x7f8f358aa250>) failed: OSError: [Errno 25] Inappropriate ioctl for device>* The exact same code works when I run my sage in the terminal. My guess is the "_terminal_width()" private method does not work with Jupiter. In the terminal, the following command gives sage: ascii_art(list(Partitions(*5*)))._terminal_width() 80 While in Jupiter notebook I get OSError: [Errno 25] Inappropriate ioctl for device This was not an issue before I recently upgraded my sage. Thanks! -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-support/4a6b4c2c-823a-4998-9736-7b2bd54cef0fn%40googlegroups.com.