|   | 1 |  initial version  | 
What is the file /var/www/lingapps/assets/sage/socket.py doing there? My guess is that this file is messing things up: Python (via Sage) is trying to load a module socket which ought to be found in local/lib/python/socket.py, but it is loading this other file instead. Two suggestions: move that file out of the Sage directory (don't add anything to the Sage directory, in fact), and don't name your own files with the same names as standard Python modules.
 Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.
 
                
                Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.