Program suddenly stops working without anything being changed and with no error

asked 2022-09-03 11:54:05 +0100

Flopsiturtle gravatar image

updated 2022-09-05 12:10:11 +0100

FrédéricC gravatar image

link to notebook: https://nbviewer.org/github/sagemanif...

This is a Jupyter Notebook about simulating black holes and I made a program based on that, extending it to rotating black holes. Everything worked and I could produce pictures but suddenly a few days ago, I wanted to produce some pictures again and the program was stoping at the render function, but still trying to compute something. So I tried with the original program and the same problem occured. Since there are no changes with the program and I didnt do any updates I dont know what the problem could be. I tried reinstalling everything also at older versions of python and Sage but still the same problem occured. My professor tried running it on his linux pc and there the program fully compiled, but at the point where my program stopped he simply got a javascript error but it compiled nonetheless.

Does anyone have any Idea what I could try? Thank you already in advance!

edit retag flag offensive close merge delete

Comments

I've just run this notebook with SageMath 9.6: it works perfectly fine on my computer (Ubuntu 20.04 laptop with Python 3.8.10). Could you provide more details about your issue? Is is happening in cell 43?

eric_g gravatar imageeric_g ( 2022-09-04 23:38:03 +0100 )edit

So I have a Windows Laptop so I guess that really makes a difference, though I cant explain why it shouldnt work on windows all of a sudden. Yes the error occurs in cell 43. I tried to run it on different versions of windows, but it makes no difference. I struggle to provide much information, because I do not have any and am not all that well versed and dont know what information would be usefull. I have python 3.10.6 and I have SageMath 9.2, but I have also tried with different versions of both.

Flopsiturtle gravatar imageFlopsiturtle ( 2022-09-05 03:07:46 +0100 )edit
1

9.2 is a pretty old version of SageMath. Could you try with version 9.6 ? See https://doc.sagemath.org/html/en/inst... for the installation in Windows (via WSL).

eric_g gravatar imageeric_g ( 2022-09-05 11:15:19 +0100 )edit
1

Okay so my own program I wrote suddenly started working again and I have no Idea why. But in this case I think I just wont question it so I can finally get my Bachelors done. I do appreciate the help though and thank you for investing your time :)

Flopsiturtle gravatar imageFlopsiturtle ( 2022-09-05 19:05:59 +0100 )edit