Ask Your Question

Is Codenode compatible with Sage?

asked 2010-08-18 19:58:09 +0200

timothyclemans gravatar image

Has anyone successfully installed Codenode in Sage?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2010-08-18 20:37:07 +0200

William Stein gravatar image

I had no trouble at all installing codenode into sage-4.5.2 using the directions here and then configure as explained here. However, I couldn't log in. I get a big error about "CSRF verification failed. Request aborted". I tried clearing cookies, making an account, etc., but nothing got me around that problem.

edit flag offensive delete link more


I'm pretty sure that it is an upstream problem in their code. I don't think that Codenode is actively developed at the moment.

Mike Hansen gravatar imageMike Hansen ( 2010-08-18 20:43:23 +0200 )edit

The problem appears because your Django version is too old (you need >= 1.2.1) or because your codenode version is too old (if you use easy_install it will pull the package available in pypi, which is outdated. You need the latest github package).

Carlos Cordoba gravatar imageCarlos Cordoba ( 2010-08-23 19:49:42 +0200 )edit

William, how did you manage to not mess up the sage notebook? I say it because codenode needs twisted >= 10.0 and I think sage uses twisted 8.2 or something.

Carlos Cordoba gravatar imageCarlos Cordoba ( 2010-08-23 19:54:48 +0200 )edit

I don't know. The Twisted I have installed in that Sage install is just Twisted-9.0, which is what Sage includes. It didn't get changed when I easy_installe'd codenode. I didn't use a virtualenv. Anyway, thanks for the heads up explaining how to solve the problem and answering Tim's question.

William Stein gravatar imageWilliam Stein ( 2010-08-24 19:08:03 +0200 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2010-08-18 19:58:09 +0200

Seen: 542 times

Last updated: Aug 18 '10