#1870: somehow we completely broke the moinmoin wiki stuff included in Sage on 
OS
X.
----------------------------+-----------------------------------------------
   Reporter:  was           |       Owner:  was       
       Type:  defect        |      Status:  new       
   Priority:  critical      |   Milestone:  sage-4.3.1
  Component:  website/wiki  |    Keywords:            
Work_issues:                |      Author:            
   Upstream:  N/A           |    Reviewer:            
     Merged:                |  
----------------------------+-----------------------------------------------
Changes (by kcrisman):

  * upstream:  => N/A


Comment:

 This has gotten fantastically worse - at least on 4.3 on Macintel!  Check
 this out - I had to close the window manually, as Ctrl-C and Ctrl-D did
 absolutely nothing.   The only thing I can think about why this wouldn't
 be valid is that maybe I have bad permissions?

 Also, why is it still in the sage_wiki folder and not in .sage/sage_wiki
 or something similar to what is now done with the notebook?
 {{{
 sage: wiki()
 /Users/.../sage-4.3/local/lib/python2.6/site-packages/MoinMoin/user.py:9:
 DeprecationWarning: the sha module is deprecated; use the hashlib module
 instead
   import os, time, sha, codecs
 **************************************************
 *                                                *
 * Open your web browser to http://localhost:9000 *
 *                                                *
 **************************************************
 /Users/.../sage-4.3/local/lib/python2.6/site-
 packages/twisted/spread/pb.py:30: DeprecationWarning: the md5 module is
 deprecated; use hashlib instead
   import md5
 /Users/.../sage-4.3/local/lib/python2.6/site-packages/MoinMoin/user.py:9:
 DeprecationWarning: the sha module is deprecated; use the hashlib module
 instead
   import os, time, sha, codecs
 2009-12-28 12:27:23-0500 [-] Log opened.
 2009-12-28 12:27:23-0500 [-] twistd 8.2.0
 (/Users/.../sage-4.3/local/bin/python 2.6.2) starting up.
 2009-12-28 12:27:23-0500 [-] reactor class:
 twisted.internet.selectreactor.SelectReactor.
 2009-12-28 12:27:23-0500 [-] MoinMoin.server.twistedmoin.MoinSite starting
 on 9000
 2009-12-28 12:27:23-0500 [-] Starting factory
 <MoinMoin.server.twistedmoin.MoinSite instance at 0x1268b70>
 2009-12-28 12:27:23-0500 [-] Traceback (most recent call last):
 2009-12-28 12:27:23-0500 [-]   File
 "/Users/.../sage-4.3/local/bin/twistd", line 21, in <module>
 2009-12-28 12:27:23-0500 [-]     run()
 2009-12-28 12:27:23-0500 [-]   File
 "/Users/.../sage-4.3/local/lib/python2.6/site-
 packages/twisted/scripts/twistd.py", line 27, in run
 2009-12-28 12:27:23-0500 [-]     app.run(runApp, ServerOptions)
 2009-12-28 12:27:23-0500 [-]   File
 "/Users/.../sage-4.3/local/lib/python2.6/site-
 packages/twisted/application/app.py", line 694, in run
 2009-12-28 12:27:23-0500 [-]     runApp(config)
 2009-12-28 12:27:23-0500 [-]   File
 "/Users/.../sage-4.3/local/lib/python2.6/site-
 packages/twisted/scripts/twistd.py", line 23, in runApp
 2009-12-28 12:27:23-0500 [-]     _SomeApplicationRunner(config).run()
 2009-12-28 12:27:23-0500 [-]   File
 "/Users/.../sage-4.3/local/lib/python2.6/site-
 packages/twisted/application/app.py", line 423, in run
 2009-12-28 12:27:23-0500 [-]     self.postApplication()
 2009-12-28 12:27:23-0500 [-]   File
 "/Users/.../sage-4.3/local/lib/python2.6/site-
 packages/twisted/scripts/_twistd_unix.py", line 206, in postApplication
 2009-12-28 12:27:23-0500 [-]     self.startApplication(self.application)
 2009-12-28 12:27:23-0500 [-]   File
 "/Users/.../sage-4.3/local/lib/python2.6/site-
 packages/twisted/scripts/_twistd_unix.py", line 319, in startApplication
 2009-12-28 12:27:23-0500 [-]     self.shedPrivileges(self.config['euid'],
 uid, gid)
 2009-12-28 12:27:23-0500 [-]   File
 "/Users/.../sage-4.3/local/lib/python2.6/site-
 packages/twisted/scripts/_twistd_unix.py", line 290, in shedPrivileges
 2009-12-28 12:27:23-0500 [-]     switchUID(uid, gid, euid)
 2009-12-28 12:27:23-0500 [-]   File
 "/Users/.../sage-4.3/local/lib/python2.6/site-
 packages/twisted/python/util.py", line 663, in switchUID
 2009-12-28 12:27:23-0500 [-]     initgroups(uid, gid)
 2009-12-28 12:27:23-0500 [-]   File
 "/Users/.../sage-4.3/local/lib/python2.6/site-
 packages/twisted/python/util.py", line 640, in initgroups
 2009-12-28 12:27:23-0500 [-]     _setgroups_until_success(l)
 2009-12-28 12:27:23-0500 [-]   File
 "/Users/.../sage-4.3/local/lib/python2.6/site-
 packages/twisted/python/util.py", line 586, in _setgroups_until_success
 2009-12-28 12:27:23-0500 [-]     setgroups(l)
 2009-12-28 12:27:23-0500 [-] OSError: [Errno 1] Operation not permitted
 Port 9000 is already in use.  Trying next port...
 **************************************************
 *                                                *
 * Open your web browser to http://localhost:9001 *
 *                                                *
 **************************************************
 Removing stale pidfile /Users/.../sage_wiki/twistd.pid
 /Users/.../sage-4.3/local/lib/python2.6/site-
 packages/twisted/spread/pb.py:30: DeprecationWarning: the md5 module is
 deprecated; use hashlib instead
   import md5
 /Users/.../sage-4.3/local/lib/python2.6/site-packages/MoinMoin/user.py:9:
 DeprecationWarning: the sha module is deprecated; use the hashlib module
 instead
   import os, time, sha, codecs
 2009-12-28 12:27:23-0500 [-] Log opened.
 2009-12-28 12:27:23-0500 [-] twistd 8.2.0
 (/Users/.../sage-4.3/local/bin/python 2.6.2) starting up.
 2009-12-28 12:27:23-0500 [-] reactor class:
 twisted.internet.selectreactor.SelectReactor.
 2009-12-28 12:27:23-0500 [-] MoinMoin.server.twistedmoin.MoinSite starting
 on 9001
 2009-12-28 12:27:23-0500 [-] Starting factory
 <MoinMoin.server.twistedmoin.MoinSite instance at 0x1268b70>
 2009-12-28 12:27:23-0500 [-] Traceback (most recent call last):
 2009-12-28 12:27:23-0500 [-]   File
 "/Users/.../sage-4.3/local/bin/twistd", line 21, in <module>
 2009-12-28 12:27:23-0500 [-]     run()
 2009-12-28 12:27:23-0500 [-]   File
 "/Users/.../sage-4.3/local/lib/python2.6/site-
 packages/twisted/scripts/twistd.py", line 27, in run
 2009-12-28 12:27:23-0500 [-]     app.run(runApp, ServerOptions)
 2009-12-28 12:27:23-0500 [-]   File
 "/Users/.../sage-4.3/local/lib/python2.6/site-
 packages/twisted/application/app.py", line 694, in run
 2009-12-28 12:27:23-0500 [-]     runApp(config)
 2009-12-28 12:27:23-0500 [-]   File
 "/Users/.../sage-4.3/local/lib/python2.6/site-
 packages/twisted/scripts/twistd.py", line 23, in runApp
 2009-12-28 12:27:23-0500 [-]     _SomeApplicationRunner(config).run()
 2009-12-28 12:27:23-0500 [-]   File
 "/Users/.../sage-4.3/local/lib/python2.6/site-
 packages/twisted/application/app.py", line 423, in run
 2009-12-28 12:27:23-0500 [-]     self.postApplication()
 2009-12-28 12:27:23-0500 [-]   File
 "/Users/.../sage-4.3/local/lib/python2.6/site-
 packages/twisted/scripts/_twistd_unix.py", line 206, in postApplication
 2009-12-28 12:27:23-0500 [-]     self.startApplication(self.application)
 2009-12-28 12:27:23-0500 [-]   File
 "/Users/.../sage-4.3/local/lib/python2.6/site-
 packages/twisted/scripts/_twistd_unix.py", line 319, in startApplication
 2009-12-28 12:27:23-0500 [-]     self.shedPrivileges(self.config['euid'],
 uid, gid)
 2009-12-28 12:27:23-0500 [-]   File
 "/Users/.../sage-4.3/local/lib/python2.6/site-
 packages/twisted/scripts/_twistd_unix.py", line 290, in shedPrivileges
 2009-12-28 12:27:23-0500 [-]     switchUID(uid, gid, euid)
 2009-12-28 12:27:23-0500 [-]   File
 "/Users/.../sage-4.3/local/lib/python2.6/site-
 packages/twisted/python/util.py", line 663, in switchUID
 2009-12-28 12:27:23-0500 [-]     initgroups(uid, gid)
 2009-12-28 12:27:23-0500 [-]   File
 "/Users/.../sage-4.3/local/lib/python2.6/site-
 packages/twisted/python/util.py", line 640, in initgroups
 2009-12-28 12:27:23-0500 [-]     _setgroups_until_success(l)
 2009-12-28 12:27:23-0500 [-]   File
 "/Users/.../sage-4.3/local/lib/python2.6/site-
 packages/twisted/python/util.py", line 586, in _setgroups_until_success
 2009-12-28 12:27:23-0500 [-]     setgroups(l)
 2009-12-28 12:27:23-0500 [-] OSError: [Errno 1] Operation not permitted
 Port 9000 is already in use.  Trying next port...
 **************************************************
 *                                                *
 * Open your web browser to http://localhost:9002 *
 *                                                *
 **************************************************
 Removing stale pidfile /Users/.../sage_wiki/twistd.pid
 /Users/.../sage-4.3/local/lib/python2.6/site-
 packages/twisted/spread/pb.py:30: DeprecationWarning: the md5 module is
 deprecated; use hashlib instead
   import md5
 /Users/.../sage-4.3/local/lib/python2.6/site-packages/MoinMoin/user.py:9:
 DeprecationWarning: the sha module is deprecated; use the hashlib module
 instead
   import os, time, sha, codecs
 2009-12-28 12:27:24-0500 [-] Log opened.
 2009-12-28 12:27:24-0500 [-] twistd 8.2.0
 (/Users/.../sage-4.3/local/bin/python 2.6.2) starting up.
 2009-12-28 12:27:24-0500 [-] reactor class:
 twisted.internet.selectreactor.SelectReactor.
 2009-12-28 12:27:24-0500 [-] MoinMoin.server.twistedmoin.MoinSite starting
 on 9002
 2009-12-28 12:27:24-0500 [-] Starting factory
 <MoinMoin.server.twistedmoin.MoinSite instance at 0x1268b70>
 2009-12-28 12:27:24-0500 [-] Traceback (most recent call last):
 2009-12-28 12:27:24-0500 [-]   File
 "/Users/.../sage-4.3/local/bin/twistd", line 21, in <module>
 2009-12-28 12:27:24-0500 [-]     run()
 2009-12-28 12:27:24-0500 [-]   File
 "/Users/.../sage-4.3/local/lib/python2.6/site-
 packages/twisted/scripts/twistd.py", line 27, in run
 2009-12-28 12:27:24-0500 [-]     app.run(runApp, ServerOptions)
 2009-12-28 12:27:24-0500 [-]   File
 "/Users/.../sage-4.3/local/lib/python2.6/site-
 packages/twisted/application/app.py", line 694, in run
 2009-12-28 12:27:24-0500 [-]     runApp(config)
 2009-12-28 12:27:24-0500 [-]   File
 "/Users/.../sage-4.3/local/lib/python2.6/site-
 packages/twisted/scripts/twistd.py", line 23, in runApp
 2009-12-28 12:27:24-0500 [-]     _SomeApplicationRunner(config).run()
 2009-12-28 12:27:24-0500 [-]   File
 "/Users/.../sage-4.3/local/lib/python2.6/site-
 packages/twisted/application/app.py", line 423, in run
 2009-12-28 12:27:24-0500 [-]     self.postApplication()
 2009-12-28 12:27:24-0500 [-]   File
 "/Users/.../sage-4.3/local/lib/python2.6/site-
 packages/twisted/scripts/_twistd_unix.py", line 206, in postApplication
 2009-12-28 12:27:24-0500 [-]     self.startApplication(self.application)
 2009-12-28 12:27:24-0500 [-]   File
 "/Users/.../sage-4.3/local/lib/python2.6/site-
 packages/twisted/scripts/_twistd_unix.py", line 319, in startApplication
 2009-12-28 12:27:24-0500 [-]     self.shedPrivileges(self.config['euid'],
 uid, gid)
 2009-12-28 12:27:24-0500 [-]   File
 "/Users/.../sage-4.3/local/lib/python2.6/site-
 packages/twisted/scripts/_twistd_unix.py", line 290, in shedPrivileges
 2009-12-28 12:27:24-0500 [-]     switchUID(uid, gid, euid)
 2009-12-28 12:27:24-0500 [-]   File
 "/Users/.../sage-4.3/local/lib/python2.6/site-
 packages/twisted/python/util.py", line 663, in switchUID
 2009-12-28 12:27:24-0500 [-]     initgroups(uid, gid)
 2009-12-28 12:27:24-0500 [-]   File
 "/Users/.../sage-4.3/local/lib/python2.6/site-
 packages/twisted/python/util.py", line 640, in initgroups
 2009-12-28 12:27:24-0500 [-]     _setgroups_until_success(l)
 2009-12-28 12:27:24-0500 [-]   File
 "/Users/.../sage-4.3/local/lib/python2.6/site-
 packages/twisted/python/util.py", line 586, in _setgroups_until_success
 2009-12-28 12:27:24-0500 [-]     setgroups(l)
 2009-12-28 12:27:24-0500 [-] OSError: [Errno 1] Operation not permitted
 Port 9000 is already in use.  Trying next port...
 **************************************************
 *                                                *
 * Open your web browser to http://localhost:9003 *
 *                                                *
 **************************************************
 Removing stale pidfile /Users/.../sage_wiki/twistd.pid
 /Users/.../sage-4.3/local/lib/python2.6/site-
 packages/twisted/spread/pb.py:30: DeprecationWarning: the md5 module is
 deprecated; use hashlib instead
   import md5
 /Users/.../sage-4.3/local/lib/python2.6/site-packages/MoinMoin/user.py:9:
 DeprecationWarning: the sha module is deprecated; use the hashlib module
 instead
   import os, time, sha, codecs
 2009-12-28 12:27:24-0500 [-] Log opened.
 2009-12-28 12:27:24-0500 [-] twistd 8.2.0
 (/Users/.../sage-4.3/local/bin/python 2.6.2) starting up.
 2009-12-28 12:27:24-0500 [-] reactor class:
 twisted.internet.selectreactor.SelectReactor.
 2009-12-28 12:27:24-0500 [-] MoinMoin.server.twistedmoin.MoinSite starting
 on 9003
 2009-12-28 12:27:24-0500 [-] Starting factory
 <MoinMoin.server.twistedmoin.MoinSite instance at 0x1268b70>
 2009-12-28 12:27:24-0500 [-] Traceback (most recent call last):
 2009-12-28 12:27:24-0500 [-]   File
 "/Users/.../sage-4.3/local/bin/twistd", line 21, in <module>
 2009-12-28 12:27:24-0500 [-]     run()
 2009-12-28 12:27:24-0500 [-]   File
 "/Users/.../sage-4.3/local/lib/python2.6/site-
 packages/twisted/scripts/twistd.py", line 27, in run
 2009-12-28 12:27:24-0500 [-]     app.run(runApp, ServerOptions)
 2009-12-28 12:27:24-0500 [-]   File
 "/Users/.../sage-4.3/local/lib/python2.6/site-
 packages/twisted/application/app.py", line 694, in run
 2009-12-28 12:27:24-0500 [-]     runApp(config)
 2009-12-28 12:27:24-0500 [-]   File
 "/Users/.../sage-4.3/local/lib/python2.6/site-
 packages/twisted/scripts/twistd.py", line 23, in runApp
 2009-12-28 12:27:24-0500 [-]     _SomeApplicationRunner(config).run()
 2009-12-28 12:27:24-0500 [-]   File
 "/Users/.../sage-4.3/local/lib/python2.6/site-
 packages/twisted/application/app.py", line 423, in run
 2009-12-28 12:27:24-0500 [-]     self.postApplication()
 2009-12-28 12:27:24-0500 [-]   File
 "/Users/.../sage-4.3/local/lib/python2.6/site-
 packages/twisted/scripts/_twistd_unix.py", line 206, in postApplication
 2009-12-28 12:27:24-0500 [-]     self.startApplication(self.application)
 2009-12-28 12:27:24-0500 [-]   File
 "/Users/.../sage-4.3/local/lib/python2.6/site-
 packages/twisted/scripts/_twistd_unix.py", line 319, in startApplication
 2009-12-28 12:27:24-0500 [-]     self.shedPrivileges(self.config['euid'],
 uid, gid)
 2009-12-28 12:27:24-0500 [-]   File
 "/Users/.../sage-4.3/local/lib/python2.6/site-
 packages/twisted/scripts/_twistd_unix.py", line 290, in shedPrivileges
 2009-12-28 12:27:24-0500 [-]     switchUID(uid, gid, euid)
 2009-12-28 12:27:24-0500 [-]   File
 "/Users/.../sage-4.3/local/lib/python2.6/site-
 packages/twisted/python/util.py", line 663, in switchUID
 2009-12-28 12:27:24-0500 [-]     initgroups(uid, gid)
 2009-12-28 12:27:24-0500 [-]   File
 "/Users/.../sage-4.3/local/lib/python2.6/site-
 packages/twisted/python/util.py", line 640, in initgroups
 2009-12-28 12:27:24-0500 [-]     _setgroups_until_success(l)
 2009-12-28 12:27:24-0500 [-]   File
 "/Users/.../sage-4.3/local/lib/python2.6/site-
 packages/twisted/python/util.py", line 586, in _setgroups_until_success
 2009-12-28 12:27:24-0500 [-]     setgroups(l)
 2009-12-28 12:27:24-0500 [-] OSError: [Errno 1] Operation not permitted
 Port 9000 is already in use.  Trying next port...
 **************************************************
 *                                                *
 * Open your web browser to http://localhost:9004 *
 *                                                *
 **************************************************
 Removing stale pidfile /Users/.../sage_wiki/twistd.pid
 /Users/.../sage-4.3/local/lib/python2.6/site-
 packages/twisted/spread/pb.py:30: DeprecationWarning: the md5 module is
 deprecated; use hashlib instead
   import md5
 /Users/.../sage-4.3/local/lib/python2.6/site-packages/MoinMoin/user.py:9:
 DeprecationWarning: the sha module is deprecated; use the hashlib module
 instead
   import os, time, sha, codecs
 2009-12-28 12:27:25-0500 [-] Log opened.
 2009-12-28 12:27:25-0500 [-] twistd 8.2.0
 (/Users/.../sage-4.3/local/bin/python 2.6.2) starting up.
 2009-12-28 12:27:25-0500 [-] reactor class:
 twisted.internet.selectreactor.SelectReactor.
 2009-12-28 12:27:25-0500 [-] MoinMoin.server.twistedmoin.MoinSite starting
 on 9004
 2009-12-28 12:27:25-0500 [-] Starting factory
 <MoinMoin.server.twistedmoin.MoinSite instance at 0x1268b70>
 2009-12-28 12:27:25-0500 [-] Traceback (most recent call last):
 2009-12-28 12:27:25-0500 [-]   File
 "/Users/.../sage-4.3/local/bin/twistd", line 21, in <module>
 2009-12-28 12:27:25-0500 [-]     run()
 2009-12-28 12:27:25-0500 [-]   File
 "/Users/.../sage-4.3/local/lib/python2.6/site-
 packages/twisted/scripts/twistd.py", line 27, in run
 2009-12-28 12:27:25-0500 [-]     app.run(runApp, ServerOptions)
 2009-12-28 12:27:25-0500 [-]   File
 "/Users/.../sage-4.3/local/lib/python2.6/site-
 packages/twisted/application/app.py", line 694, in run
 2009-12-28 12:27:25-0500 [-]     runApp(config)
 2009-12-28 12:27:25-0500 [-]   File
 "/Users/.../sage-4.3/local/lib/python2.6/site-
 packages/twisted/scripts/twistd.py", line 23, in runApp
 2009-12-28 12:27:25-0500 [-]     _SomeApplicationRunner(config).run()
 2009-12-28 12:27:25-0500 [-]   File
 "/Users/.../sage-4.3/local/lib/python2.6/site-
 packages/twisted/application/app.py", line 423, in run
 2009-12-28 12:27:25-0500 [-]     self.postApplication()
 2009-12-28 12:27:25-0500 [-]   File
 "/Users/.../sage-4.3/local/lib/python2.6/site-
 packages/twisted/scripts/_twistd_unix.py", line 206, in postApplication
 2009-12-28 12:27:25-0500 [-]     self.startApplication(self.application)
 2009-12-28 12:27:25-0500 [-]   File
 "/Users/.../sage-4.3/local/lib/python2.6/site-
 packages/twisted/scripts/_twistd_unix.py", line 319, in startApplication
 2009-12-28 12:27:25-0500 [-]     self.shedPrivileges(self.config['euid'],
 uid, gid)
 2009-12-28 12:27:25-0500 [-]   File
 "/Users/.../sage-4.3/local/lib/python2.6/site-
 packages/twisted/scripts/_twistd_unix.py", line 290, in shedPrivileges
 2009-12-28 12:27:25-0500 [-]     switchUID(uid, gid, euid)
 2009-12-28 12:27:25-0500 [-]   File
 "/Users/.../sage-4.3/local/lib/python2.6/site-
 packages/twisted/python/util.py", line 663, in switchUID
 2009-12-28 12:27:25-0500 [-]     initgroups(uid, gid)
 2009-12-28 12:27:25-0500 [-]   File
 "/Users/.../sage-4.3/local/lib/python2.6/site-
 packages/twisted/python/util.py", line 640, in initgroups
 2009-12-28 12:27:25-0500 [-]     _setgroups_until_success(l)
 2009-12-28 12:27:25-0500 [-]   File
 "/Users/.../sage-4.3/local/lib/python2.6/site-
 packages/twisted/python/util.py", line 586, in _setgroups_until_success
 2009-12-28 12:27:25-0500 [-]     setgroups(l)
 2009-12-28 12:27:25-0500 [-] OSError: [Errno 1] Operation not permitted
 Port 9000 is already in use.  Trying next port...
 }}}

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/1870#comment:2>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

--

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.


Reply via email to