Renaming $HOME/.sage did not help and I've upgraded to 2.8.14. I still get the same error message.
Kelly On Nov 23, 12:33 pm, mabshoff <[EMAIL PROTECTED] dortmund.de> wrote: > On Nov 23, 8:58 pm, trio123 <[EMAIL PROTECTED]> wrote: > > > Hi > > Hello, > > > > > I'm running SAGE 2.8.12 on Ubuntu 6.06 built from source and I can't > > seem to get notebook() to run. > > Any ideas? > > Just a hunch: can you rename $HOME/.sage to something else and start > Sage again? It seems odd that you are overwriting the dsage key. > 2.8.13 is out by the way ;) > > > Thanks in advance. > > Cheers, > > Michael > > > Error message down below: > > > control:~> sage > > ---------------------------------------------------------------------- > > | SAGE Version 2.8.12, Release Date: 2007-11-06 | > > | Type notebook() for the GUI, and license() for information. | > > ---------------------------------------------------------------------- > > > sage: notebook() > > In order to use an SECURE encrypted notebook, you must first run > > notebook.setup(). > > Now running notebook.setup() > > Using dsage certificates. > > -------------------------------------------------- > > Generating public/private key pair for authentication... > > Your key will be stored in /home/chook/.sage/dsage/dsage_key > > Just hit enter when prompted for a passphrase > > -------------------------------------------------- > > /home/chook/.sage/dsage/dsage_key already exists. > > Overwrite (y/n)? n > > > Client configuration finished. > > > Worker configuration finished. > > > Choose a domain name for your SAGE notebook server, > > for example, localhost (personal use) or control.uvic.ca (to allow > > outside connections). > > Domain name [localhost]: > > Using default localhost > > -------------------------------------------------- > > Generating SSL certificate for server... > > Using openssl to generate key > > openssl genrsa > /home/chook/.sage/dsage/cacert.pem > > Generating RSA private key, 512 bit long modulus > > .....++++++++++++ > > ........++++++++++++ > > e is 65537 (0x10001) > > Generating a self signed certificate... > > > X.509 certificate info: > > > Version: 3 > > Serial Number (hex): 52:CB:5D > > Subject: C=US,O=SAGE (at > > localhost),OU=389,ST=Washington,CN=localhost,UID=sage_user > > Validity: > > Not Before: Fri Nov 23 11:54:41 2007 > > Not After: Tue Apr 10 12:54:41 2035 > > Subject Public Key Info: > > Public Key Algorithm: RSA (512 bits) > > > X.509 Extensions: > > Basic Constraints: (critical) > > CA:FALSE > > Key usage: (critical) > > Digital signature. > > Key encipherment. > > Key purpose OIDs: > > TLS WWW Server. > > Subject Key ID: > > 1C:87:E3:3D:FB:26:EF:15:67:6D:06:EE:1A:9D:79:EC:0A:9F: > > 34:BD > > > Other information: > > Public Key ID: 1C:87:E3:3D:FB:26:EF:15:67:6D:06:EE:1A:9D:79:EC: > > 0A:9F:34:BD > > > Signing certificate... > > -------------------------------------------------- > > --------------------------------------------------------------------------- > > <class 'sqlite3.OperationalError'> Traceback (most recent call > > last) > > > /home/chook/<ipython console> in <module>() > > > /usr/local/sage-2.8.12/local/lib/python2.5/site-packages/sage/server/ > > notebook/notebook_object.py in __call__(self, *args, **kwds) > > 135 """ > > 136 def __call__(self, *args, **kwds): > > --> 137 return self.notebook(*args, **kwds) > > 138 > > 139 notebook = run_notebook.notebook_twisted > > > /usr/local/sage-2.8.12/local/lib/python2.5/site-packages/sage/server/ > > notebook/run_notebook.py in notebook_twisted(self, directory, port, > > address, port_tries, secure, reset, accounts, server_pool, ulimit, > > timeout, open_viewer, sagetex_path, start_path) > > 211 if open_viewer: > > 212 "Open viewer automatically isn't fully implemented. > > You have to manually open your web browser to the above URL." > > --> 213 run(port) > > 214 > > 215 return True > > > /usr/local/sage-2.8.12/local/lib/python2.5/site-packages/sage/server/ > > notebook/run_notebook.py in run(port) > > 119 print "In order to use an SECURE encrypted > > notebook, you must first run notebook.setup()." > > 120 print "Now running notebook.setup()" > > --> 121 notebook_setup() > > 122 if not os.path.exists(private_pem) or not > > os.path.exists(public_pem): > > 123 print "Failed to setup notebook. Please try > > notebook.setup() again manually." > > > /usr/local/sage-2.8.12/local/lib/python2.5/site-packages/sage/server/ > > notebook/run_notebook.py in notebook_setup(self) > > 37 dsage = os.path.join(DOT_SAGE, 'dsage') > > 38 import sage.dsage.all > > ---> 39 sage.dsage.all.dsage.setup() > > 40 shutil.copyfile(dsage + '/cacert.pem', private_pem) > > 41 shutil.copyfile(dsage + '/pubcert.pem', public_pem) > > > /usr/local/sage-2.8.12/local/lib/python2.5/site-packages/sage/dsage/ > > dsage.py in setup(self, template) > > 262 > > 263 from sage.dsage.scripts.dsage_setup import > > setup > > --> 264 setup(template=template) > > 265 > > 266 def setup_server(self, *args): > > > /usr/local/sage-2.8.12/local/lib/python2.5/site-packages/sage/dsage/ > > scripts/dsage_setup.py in setup(template) > > 191 setup_client() > > 192 setup_worker() > > --> 193 setup_server(template=template) > > 194 print "Configuration finished.." > > 195 > > > /usr/local/sage-2.8.12/local/lib/python2.5/site-packages/sage/dsage/ > > scripts/dsage_setup.py in setup_server(template) > > 171 username = getuser() > > 172 pubkey_file = os.path.join(DSAGE_DIR, 'dsage_key.pub') > > --> 173 clientdb = ClientDatabase() > > 174 pubkey = base64.encodestring( > > 175 > > keys.getPublicKeyString(filename=pubkey_file).strip()) > > > /usr/local/sage-2.8.12/local/lib/python2.5/site-packages/sage/dsage/ > > database/clientdb.py in __init__(self, db_file, log_file, log_level, > > test) > > 72 # Don't use this slow! > > 73 # self.con.text_factory = sqlite3.OptimizedUnicode > > ---> 74 sql_functions.optimize_sqlite(self.con) > > 75 self.con.text_factory = str > > 76 if sql_functions.table_exists(self.con, > > self.tablename) is None: > > > /usr/local/sage-2.8.12/local/lib/python2.5/site-packages/sage/dsage/ > > database/sql_functions.py in optimize_sqlite(con) > > 30 > > 31 cur = con.cursor() > > ---> 32 cur.execute("pragma cache_size=4000") # Use double the > > default cache_size > > 33 cur.execute("pragma synchronous=off") # do not wait for > > disk writes > > 34 cur.execute("pragma temp_store=2") # store temporary > > results in memory > > > <class 'sqlite3.OperationalError'>: database is locked > > sage: --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://sage.math.washington.edu/sage/ and http://sage.scipy.org/sage/ -~----------~----~----~----~------~----~------~--~---