system: iBook G4 MacOS X.4.10 sage 2.8.2

Your response to part 1 (using hg_sage) worked for 2.8. With 2.8.2 I
get the error:

sage-2.8.2-PowerMacintosh-Darwin/sage
----------------------------------------------------------------------
| SAGE Version 2.8.2, Release Date: 2007-08-22                       |
| Type notebook() for the GUI, and license() for information.        |
----------------------------------------------------------------------
The SAGE install tree may have moved.
Regenerating Python.pyo and .pyc files that hardcode the install PATH
(please wait less than a minute)...
Please do not interrupt this.


sage: octave.sin(1)

  0.841471

sage:

sage: notebook()
In order to use an SECURE encrypted notebook, you must first run
notebook.setup().
Now running notebook.setup()
Using dsage certificates.
Creating /Users/davidgalant/.sage/dsage
--------------------------------------------------
Generating public/private key pair for authentication...
Your key will be stored in /Users/davidgalant/.sage/dsage/dsage_key
Just hit enter when prompted for a passphrase
--------------------------------------------------
Enter passphrase (empty for no passphrase):
Enter same passphrase again:


Client configuration finished.

Worker configuration finished.

Choose a domain name for your SAGE notebook server,
for example, localhost (personal use) or iBookG4.local (to allow
outside connections).
Domain name [localhost]:
Using default localhost
--------------------------------------------------
Generating SSL certificate for server...
Using certtool to generate key
certtool --generate-privkey --outfile /Users/davidgalant/.sage/dsage/
cacert.pem
Generating a private key...
Generating a 1024 bit RSA private key...
Generating a self signed certificate...


X.509 certificate info:

Version: 3
Serial Number (hex): 2C:C1:38
Subject: C=US,O=SAGE (at
localhost),OU=389,ST=Washington,CN=localhost,UID=sage_user
Validity:
        Not Before: Thu Aug 23 11:26:48 2007
        Not After: Mon Jan  8 10:26:48 2035
Subject Public Key Info:
        Public Key Algorithm: RSA (1024 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:
                E3:2A:C8:0E:C1:01:2A:E5:F4:5F:98:41:2A:8D:
64:0A:C5:47:72:3F

Other information:
        Public Key ID: E3:2A:C8:0E:C1:01:2A:E5:F4:5F:98:41:2A:8D:
64:0A:C5:47:72:3F



Signing certificate...
--------------------------------------------------
Added user davidgalant.

Server configuration finished.


Configuration finished..
Successfully configured notebook.
****************************************************
*                                                  *
* Open your web browser to https://localhost:8000  *
*                                                  *
****************************************************
There is an admin account.  If you do not remember the password,
quit the notebook and type notebook(reset=True).
Removing stale pidfile /Users/davidgalant/sage_notebook/twistd.pd
2007/08/23 11:26 +0300 [-] Log opened.
2007/08/23 11:26 +0300 [-] twistd 2.5.0 (/Users/davidgalant/Desktop/
sage-2.8.2-PowerMacintosh-Darwin/local/bin/python 2.5.1) starting up
2007/08/23 11:26 +0300 [-] reactor class: <class
'twisted.internet.selectreactor.SelectReactor'>
2007/08/23 11:26 +0300 [-] Loading sage_notebook/twistedconf.tac...
2007/08/23 11:26 +0300 [-] Traceback (most recent call last):
2007/08/23 11:26 +0300 [-]   File "/Users/davidgalant/Desktop/
sage-2.8.2-PowerMacintosh-Darwin/local/lib/python2.5/site-packages/
twisted/application/app.py", line 218, in getApplication
2007/08/23 11:26 +0300 [-]     application =
service.loadApplication(filename, style, passphrase)
2007/08/23 11:26 +0300 [-]   File "/Users/davidgalant/Desktop/
sage-2.8.2-PowerMacintosh-Darwin/local/lib/python2.5/site-packages/
twisted/application/service.py", line 341, in loadApplication
2007/08/23 11:26 +0300 [-]     application =
sob.loadValueFromFile(filename, 'application', passphrase)
2007/08/23 11:26 +0300 [-]   File "/Users/davidgalant/Desktop/
sage-2.8.2-PowerMacintosh-Darwin/local/lib/python2.5/site-packages/
twisted/persisted/sob.py", line 215, in loadValueFromFile
2007/08/23 11:26 +0300 [-]     exec fileObj in d, d
2007/08/23 11:26 +0300 [-]   File "sage_notebook/twistedconf.tac",
line 46, in <module>
2007/08/23 11:26 +0300 [-]     s = strports.service('tls:
8000:privateKey=/Users/davidgalant/.sage/notebook/private.pem:certKey=/
Users/davidgalant/.sage/notebook/public.pem', factory)
2007/08/23 11:26 +0300 [-]   File "/Users/davidgalant/Desktop/
sage-2.8.2-PowerMacintosh-Darwin/local/lib/python2.5/site-packages/
twisted/application/strports.py", line 172, in service
2007/08/23 11:26 +0300 [-]     name, args, kw = parse(description,
factory, default)
2007/08/23 11:26 +0300 [-]   File "/Users/davidgalant/Desktop/
sage-2.8.2-PowerMacintosh-Darwin/local/lib/python2.5/site-packages/
twisted/application/strports.py", line 156, in parse
2007/08/23 11:26 +0300 [-]     return (args[0].upper(),)
+_funcs[args[0]](factory, *args[1:], **kw)
2007/08/23 11:26 +0300 [-]   File "/Users/davidgalant/Desktop/
sage-2.8.2-PowerMacintosh-Darwin/local/lib/python2.5/site-packages/
twisted/application/strports.py", line 60, in _parseTLS
2007/08/23 11:26 +0300 [-]     from gnutls.interfaces.twisted import
X509Credentials
2007/08/23 11:26 +0300 [-] ImportError: No module named
gnutls.interfaces.twisted
2007/08/23 11:26 +0300 [-] Failed to load application: No module named
gnutls.interfaces.twisted
2007/08/23 11:26 +0300 [-] Unhandled Error
        Traceback (most recent call last):
          File "/Users/davidgalant/Desktop/sage-2.8.2-PowerMacintosh-
Darwin/local/lib/python2.5/site-packages/twisted/application/app.py",
line 379, in run
            runApp(config)
          File "/Users/davidgalant/Desktop/sage-2.8.2-PowerMacintosh-
Darwin/local/lib/python2.5/site-packages/twisted/scripts/twistd.py",
line 23, in runApp
            _SomeApplicationRunner(config).run()
          File "/Users/davidgalant/Desktop/sage-2.8.2-PowerMacintosh-
Darwin/local/lib/python2.5/site-packages/twisted/application/app.py",
line 157, in run
            self.application = self.createOrGetApplication()
          File "/Users/davidgalant/Desktop/sage-2.8.2-PowerMacintosh-
Darwin/local/lib/python2.5/site-packages/twisted/application/app.py",
line 207, in createOrGetApplication
            application = getApplication(self.config, passphrase)
        --- <exception caught here> ---
          File "/Users/davidgalant/Desktop/sage-2.8.2-PowerMacintosh-
Darwin/local/lib/python2.5/site-packages/twisted/application/app.py",
line 218, in getApplication
            application = service.loadApplication(filename, style,
passphrase)
          File "/Users/davidgalant/Desktop/sage-2.8.2-PowerMacintosh-
Darwin/local/lib/python2.5/site-packages/twisted/application/
service.py", line 341, in loadApplication
            application = sob.loadValueFromFile(filename,
'application', passphrase)
          File "/Users/davidgalant/Desktop/sage-2.8.2-PowerMacintosh-
Darwin/local/lib/python2.5/site-packages/twisted/persisted/sob.py",
line 215, in loadValueFromFile
            exec fileObj in d, d
          File "sage_notebook/twistedconf.tac", line 46, in <module>
            s = strports.service('tls:8000:privateKey=/Users/
davidgalant/.sage/notebook/private.pem:certKey=/Users/
davidgalant/.sage/notebook/public.pem', factory)
          File "/Users/davidgalant/Desktop/sage-2.8.2-PowerMacintosh-
Darwin/local/lib/python2.5/site-packages/twisted/application/
strports.py", line 172, in service
            name, args, kw = parse(description, factory, default)
          File "/Users/davidgalant/Desktop/sage-2.8.2-PowerMacintosh-
Darwin/local/lib/python2.5/site-packages/twisted/application/
strports.py", line 156, in parse
            return (args[0].upper(),)+_funcs[args[0]](factory,
*args[1:], **kw)
          File "/Users/davidgalant/Desktop/sage-2.8.2-PowerMacintosh-
Darwin/local/lib/python2.5/site-packages/twisted/application/
strports.py", line 60, in _parseTLS
            from gnutls.interfaces.twisted import X509Credentials
        exceptions.ImportError: No module named
gnutls.interfaces.twisted


Failed to load application: No module named gnutls.interfaces.twisted
2007/08/23 11:26 +0300 [-]
---------------------------------------------------------------------------
<class 'socket.error'>                    Traceback (most recent call
last)

/Users/davidgalant/<ipython console> in <module>()

/Users/davidgalant/Desktop/sage-2.8.2-PowerMacintosh-Darwin/local/lib/
python2.5/site-packages/sage/server/notebook/notebook_object.py in
__call__(self, *args, **kwds)
    120     """
    121     def __call__(self, *args, **kwds):
--> 122         return self.notebook(*args, **kwds)
    123
    124     notebook = run_notebook.notebook_twisted

/Users/davidgalant/Desktop/sage-2.8.2-PowerMacintosh-Darwin/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, open_viewer)
    202     if open_viewer:
    203         "Open viewer automatically isn't fully implemented.
You have to manually open your web browser to the above URL."
--> 204     run(port)
    205
    206     return True

/Users/davidgalant/Desktop/sage-2.8.2-PowerMacintosh-Darwin/local/lib/
python2.5/site-packages/sage/server/notebook/run_notebook.py in
run(port)
    188         e = os.system('sage -twistd --pidfile="%s"/twistd.pd -
ny "%s"/twistedconf.tac'%(directory, directory))
    189         if e == 256:
--> 190             raise socket.error
    191
    192     if address != 'localhost' and not secure:

<class 'socket.error'>:

----------------------------------------

Will the same solution work again? Or is something new required?

Thank you,

David Galant


--~--~---------~--~----~------------~-------~--~----~
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/
-~----------~----~----~----~------~----~------~--~---

Reply via email to