I started a wiki server from the same account that I use to run a Sage
notebook server with no problems, by issuing the command "sage -wiki".
It sort of works, but I get a lot of error messages, starting with
Traceback (most recent call last):
File
"/usr/local/sage/sage-4.8/local/lib/python2.6/site-packages/Twisted-9.0.0-py2.6-linux-x86_64.egg/twisted/application/a
pp.py", line 668, in parseOptions
usage.Options.parseOptions(self, options)
File
"/usr/local/sage/sage-4.8/local/lib/python2.6/site-packages/Twisted-9.0.0-py2.6-linux-x86_64.egg/twisted/python/usage.py",
line 226, in parseOptions
for (cmd, short, parser, doc) in self.subCommands:
File
"/usr/local/sage/sage-4.8/local/lib/python2.6/site-packages/Twisted-9.0.0-py2.6-linux-x86_64.egg/twisted/application/app.py",
line 678, in subCommands
for plug in plugins:
File
"/usr/local/sage/sage-4.8/local/lib/python2.6/site-packages/Twisted-9.0.0-py2.6-linux-x86_64.egg/twisted/plugin.py",
line 200, in getPlugins
allDropins = getCache(package)
--- <exception caught here> ---
File
"/usr/local/sage/sage-4.8/local/lib/python2.6/site-packages/Twisted-9.0.0-py2.6-linux-x86_64.egg/twisted/plugin.py",
line 179, in getCache
dropinPath.setContent(pickle.dumps(dropinDotCache))
File
"/usr/local/sage/sage-4.8/local/lib/python2.6/site-packages/Twisted-9.0.0-py2.6-linux-x86_64.egg/twisted/python/filepath.py",
line 644, in setContent
f = sib.open('w')
File
"/usr/local/sage/sage-4.8/local/lib/python2.6/site-packages/Twisted-9.0.0-py2.6-linux-x86_64.egg/twisted/python/filepath.py",
line 454, in open
return open(self.path, mode+'b')
exceptions.IOError: [Errno 13] Permission denied:
'/usr/local/sage/sage-4.8/local/lib/python2.6/site-packages/Twisted-9.0.0-py2.6-linux-x86_64.egg/twisted/plugins/dropin.cache.new'
2012-02-16 18:03:15,655 WARNING MoinMoin.log:139 using logging
configuration read from built-in fallback in MoinMoin.log module!
2012-02-16 18:03:16+0000 [-] Log opened.
2012-02-16 18:03:16+0000 [-] twistd 9.0.0
(/usr/local/sage/sage-4.8/local/bin/python 2.6.4) starting up.
2012-02-16 18:03:16+0000 [-] reactor class:
twisted.internet.selectreactor.SelectReactor.
2012-02-16 18:03:16+0000 [-] twisted.web.server.Site starting on 9000
2012-02-16 18:03:16+0000 [-] Starting factory <twisted.web.server.Site
instance at 0x1abc290>
2012-02-16 18:06:48,843 INFO MoinMoin.config.multiconfig:127 using
wiki config: /home/sage/sage_wiki/wikiconfig.py
which are presumably because it is trying to put logs into /usr/local
instead of the current user's home. Did I do something wrong, or is
this a bug, or what?
Another problem is that if I start the wiki by using the command
wiki() after starting sage normally, then I cannot stop it: Ctrl-C
quits and starts another on the next port number (9001), and so on;
the only way out is Ctrl-z and then kill. Not nice.
John
--
To post to this group, send an email to [email protected]
To unsubscribe from this group, send an email to
[email protected]
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org