Dear Simon, >> But the only difference between the good and the bad version is that some function is called PC in the bad file and PCc in the good file Yes, exactly.
>> However, Oleksandr: What is one supposed to do in order to reproduce the error? When I start a sage session and attach Main.sage, then it fails with both the bad and the good version. You should replace: if __name__ == "__main__": sys.exit(main()) by main() Or just run "Main.sage" from a shell (in this case, variable PATH should has a path to the sage directory, like this one "PATH=/home/user/bin/sage/:$PATH"). Best regards, Oleksandr -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org