On Sep 22, 6:59 am, Adam Webb <[EMAIL PROTECTED]> wrote:
> Hi,
Hi Adam,
> I would guess this might be related to ticket #1870. If I try to run
> sage -wiki or wiki() I get an error.
>
> $ sage
> ----------------------------------------------------------------------
> | SAGE Version 3.1.2, Release Date: 2008-09-16 |
> | Type notebook() for the GUI, and license() for information. |
> ----------------------------------------------------------------------
>
> sage: wiki()
> **************************************************
> * *
> * Open your web browser tohttp://localhost:9000*
> * *
> **************************************************
It works for me:
sage: wiki()
**************************************************
* *
* Open your web browser to http://localhost:9000 *
* *
**************************************************
2008-09-22 09:30:32-0700 [-] Log opened.
2008-09-22 09:30:32-0700 [-] twistd 8.1.0 (//scratch/mabshoff/release-
cycle/sage-3.1.3.alpha1/local/bin/python 2.5.2) starting up
2008-09-22 09:30:32-0700 [-] reactor class: <class
'twisted.internet.selectreactor.SelectReactor'>
2008-09-22 09:30:32-0700 [-] MoinMoin.server.twistedmoin.MoinSite
starting on 9000
2008-09-22 09:30:32-0700 [-] Starting factory
<MoinMoin.server.twistedmoin.MoinSite instance at 0x2b944c8f7830>
2008-09-22 09:30:32-0700 [-] set uid/gid 1090/1090
> Removing stale pidfile /home/adamwebb/tmp/sage_wiki/twistd.pid
> 2008-09-22 14:03:18+0200 [-] Log opened.
> 2008-09-22 14:03:18+0200 [-] twistd 8.1.0 (/home/adamwebb/local/sage/
> local/bin/python 2.5.2) starting up
> 2008-09-22 14:03:18+0200 [-] reactor class: <class
> 'twisted.internet.selectreactor.SelectReactor'>
> 2008-09-22 14:03:18+0200 [-] MoinMoin.server.twistedmoin.MoinSite
> starting on 9000
> 2008-09-22 14:03:18+0200 [-] Starting factory
> <MoinMoin.server.twistedmoin.MoinSite instance at 0x8f4572c>
> 2008-09-22 14:03:18+0200 [-] Traceback (most recent call last):
> 2008-09-22 14:03:18+0200 [-] File "/home/adamwebb/local/sage/local/
> bin/twistd", line 21, in <module>
> 2008-09-22 14:03:18+0200 [-] run()
> 2008-09-22 14:03:18+0200 [-] File "/home/adamwebb/local/sage/local/
> lib/python2.5/site-packages/twisted/scripts/twistd.py", line 27, in
> run
> 2008-09-22 14:03:18+0200 [-] app.run(runApp, ServerOptions)
> 2008-09-22 14:03:18+0200 [-] File "/home/adamwebb/local/sage/local/
> lib/python2.5/site-packages/twisted/application/app.py", line 614, in
> run
> 2008-09-22 14:03:18+0200 [-] runApp(config)
> 2008-09-22 14:03:18+0200 [-] File "/home/adamwebb/local/sage/local/
> lib/python2.5/site-packages/twisted/scripts/twistd.py", line 23, in
> runApp
> 2008-09-22 14:03:18+0200 [-] _SomeApplicationRunner(config).run()
> 2008-09-22 14:03:18+0200 [-] File "/home/adamwebb/local/sage/local/
> lib/python2.5/site-packages/twisted/application/app.py", line 337, in
> run
> 2008-09-22 14:03:18+0200 [-] self.postApplication()
> 2008-09-22 14:03:18+0200 [-] File "/home/adamwebb/local/sage/local/
> lib/python2.5/site-packages/twisted/scripts/_twistd_unix.py", line
> 207, in postApplication
> 2008-09-22 14:03:18+0200 [-]
> self.startApplication(self.application)
> 2008-09-22 14:03:18+0200 [-] File "/home/adamwebb/local/sage/local/
> lib/python2.5/site-packages/twisted/scripts/_twistd_unix.py", line
> 309, in startApplication
> 2008-09-22 14:03:18+0200 [-]
> self.shedPrivileges(self.config['euid'], uid, gid)
> 2008-09-22 14:03:18+0200 [-] File "/home/adamwebb/local/sage/local/
> lib/python2.5/site-packages/twisted/scripts/_twistd_unix.py", line
> 281, in shedPrivileges
> 2008-09-22 14:03:18+0200 [-] switchUID(uid, gid, euid)
> 2008-09-22 14:03:18+0200 [-] File "/home/adamwebb/local/sage/local/
> lib/python2.5/site-packages/twisted/python/util.py", line 664, in
> switchUID
> 2008-09-22 14:03:18+0200 [-] initgroups(uid, gid)
> 2008-09-22 14:03:18+0200 [-] File "/home/adamwebb/local/sage/local/
> lib/python2.5/site-packages/twisted/python/util.py", line 641, in
> initgroups
> 2008-09-22 14:03:18+0200 [-] _setgroups_until_success(l)
> 2008-09-22 14:03:18+0200 [-] File "/home/adamwebb/local/sage/local/
> lib/python2.5/site-packages/twisted/python/util.py", line 587, in
> _setgroups_until_success
> 2008-09-22 14:03:18+0200 [-] setgroups(l)
> 2008-09-22 14:03:18+0200 [-] OSError: [Errno 1] Operation not
> permitted
^^^ This is some sort of permission error. Are you running SELinux or
something like that?
> True
> sage:
>
> This is on 32-bit Scientific Linux 5.1. I used the wiki with 3.1 so
> this is recent.
>
> cheers,
> Adam
Cheers,
Michael
--~--~---------~--~----~------------~-------~--~----~
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://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---