#3693: [with spkg and patches, needs review] upgrade moinmoin to 1.7.2
-------------------------+--------------------------------------------------
Reporter: was | Owner: was
Type: enhancement | Status: assigned
Priority: major | Milestone: sage-3.4.1
Component: packages | Keywords:
-------------------------+--------------------------------------------------
Comment(by rlm):
Has anyone looked at mhansen's spkg or patch yet? The current state of
moinmoin in Sage is pretty sad:
{{{
$ ./sage
----------------------------------------------------------------------
| Sage Version 3.3.rc2, Release Date: 2009-02-17 |
| Type notebook() for the GUI, and license() for information. |
----------------------------------------------------------------------
sage: pwd
'/Users/rlmill/sage-3.3.rc2'
sage: wiki()
**************************************************
* *
* Open your web browser to http://localhost:9000 *
* *
**************************************************
Removing stale pidfile /Users/rlmill/sage-3.3.rc2/sage_wiki/twistd.pid
2009-02-20 17:57:31-0800 [-] Log opened.
2009-02-20 17:57:31-0800 [-] twistd 8.1.0
(/Users/rlmill/sage-3.3.rc2/local/bin/python 2.5.2) starting up
2009-02-20 17:57:31-0800 [-] reactor class: <class
'twisted.internet.selectreactor.SelectReactor'>
2009-02-20 17:57:31-0800 [-] MoinMoin.server.twistedmoin.MoinSite starting
on 9000
2009-02-20 17:57:31-0800 [-] Starting factory
<MoinMoin.server.twistedmoin.MoinSite instance at 0x11b5a08>
2009-02-20 17:57:31-0800 [-] Traceback (most recent call last):
2009-02-20 17:57:31-0800 [-] File
"/Users/rlmill/sage-3.3.rc2/local/bin/twistd", line 21, in <module>
2009-02-20 17:57:31-0800 [-] run()
2009-02-20 17:57:31-0800 [-] File
"/Users/rlmill/sage-3.3.rc2/local/lib/python2.5/site-
packages/twisted/scripts/twistd.py", line 27, in run
2009-02-20 17:57:31-0800 [-] app.run(runApp, ServerOptions)
2009-02-20 17:57:31-0800 [-] File
"/Users/rlmill/sage-3.3.rc2/local/lib/python2.5/site-
packages/twisted/application/app.py", line 614, in run
2009-02-20 17:57:31-0800 [-] runApp(config)
2009-02-20 17:57:31-0800 [-] File
"/Users/rlmill/sage-3.3.rc2/local/lib/python2.5/site-
packages/twisted/scripts/twistd.py", line 23, in runApp
2009-02-20 17:57:31-0800 [-] _SomeApplicationRunner(config).run()
2009-02-20 17:57:31-0800 [-] File
"/Users/rlmill/sage-3.3.rc2/local/lib/python2.5/site-
packages/twisted/application/app.py", line 337, in run
2009-02-20 17:57:31-0800 [-] self.postApplication()
2009-02-20 17:57:31-0800 [-] File
"/Users/rlmill/sage-3.3.rc2/local/lib/python2.5/site-
packages/twisted/scripts/_twistd_unix.py", line 207, in postApplication
2009-02-20 17:57:31-0800 [-] self.startApplication(self.application)
2009-02-20 17:57:31-0800 [-] File
"/Users/rlmill/sage-3.3.rc2/local/lib/python2.5/site-
packages/twisted/scripts/_twistd_unix.py", line 309, in startApplication
2009-02-20 17:57:31-0800 [-] self.shedPrivileges(self.config['euid'],
uid, gid)
2009-02-20 17:57:31-0800 [-] File
"/Users/rlmill/sage-3.3.rc2/local/lib/python2.5/site-
packages/twisted/scripts/_twistd_unix.py", line 281, in shedPrivileges
2009-02-20 17:57:31-0800 [-] switchUID(uid, gid, euid)
2009-02-20 17:57:31-0800 [-] File
"/Users/rlmill/sage-3.3.rc2/local/lib/python2.5/site-
packages/twisted/python/util.py", line 664, in switchUID
2009-02-20 17:57:31-0800 [-] initgroups(uid, gid)
2009-02-20 17:57:31-0800 [-] File
"/Users/rlmill/sage-3.3.rc2/local/lib/python2.5/site-
packages/twisted/python/util.py", line 641, in initgroups
2009-02-20 17:57:31-0800 [-] _setgroups_until_success(l)
2009-02-20 17:57:31-0800 [-] File
"/Users/rlmill/sage-3.3.rc2/local/lib/python2.5/site-
packages/twisted/python/util.py", line 587, in _setgroups_until_success
2009-02-20 17:57:31-0800 [-] setgroups(l)
2009-02-20 17:57:31-0800 [-] OSError: [Errno 1] Operation not permitted
True
sage: pwd
'/Users/rlmill/sage-3.3.rc2/sage_wiki'
sage: exit
Exiting SAGE (CPU time 0m0.08s, Wall time 0m14.13s).
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/3693#comment:14>
Sage <http://sagemath.org/>
Sage - Open Source Mathematical Software: Building the Car Instead of
Reinventing the Wheel
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en
-~----------~----~----~----~------~----~------~--~---