[MacPorts] #31807: ikiwiki: wikilist file cannot be written when creating a new wiki (was: wikilist file cannot be written when creating a new wiki)
MacPorts
noreply at macports.org
Thu Oct 27 17:55:49 PDT 2011
#31807: ikiwiki: wikilist file cannot be written when creating a new wiki
----------------------------------+-----------------------------------------
Reporter: ecastillac@… | Owner: tommyd@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.0.3
Keywords: | Port: ikiwiki
----------------------------------+-----------------------------------------
Changes (by ryandesign@…):
* owner: macports-tickets@… => tommyd@…
Old description:
> This is an example of an ikiwiki wiki creation:
>
> {{{
> imac:~ ecastilla$ ikiwiki --setup /opt/local/etc/ikiwiki/auto.setup
> ¿ Qué nombre tendrá el wiki ? miwiki1
> ¿ Qué sistema de control de versiones empleará ? svn
> Which user (wiki account or openid) will be admin? ecastilla
>
> Setting up miwiki1 ...
> Importing /Users/ecastilla/miwiki1 into svn
>
> Committed revision 1.
> Checked out revision 1.
> property 'svn:ignore' set on '.'
> svn: warning: '*' not found
> Sending .
>
> Committed revision 2.
> Directory /Users/ecastilla/miwiki1 is now a checkout of svn repository
> /Users/ecastilla/miwiki1.svn
> Traceback (most recent call last):
> File "/opt/local/lib/ikiwiki/plugins/rst", line 39, in <module>
> from docutils.core import publish_parts;
> ImportError: No module named docutils.core
> Failed to load highlight. Configuring anyway.
>
> Creating wiki admin ecastilla ...
> Choose a password:
> Confirm password:
>
> ''ikiwiki-update-wikilist: cannot write to
> /opt/local/etc/ikiwiki/wikilist
> ** Failed to add you to the system wikilist file.
> ** (Probably ikiwiki-update-wikilist is not SUID root.)
> ** Your wiki will not be automatically updated when ikiwiki is
> upgraded.''
>
> Successfully set up miwiki1:
> url: http://imac.local/~ecastilla/miwiki1
> srcdir: ~/miwiki1
> destdir: ~/public_html/miwiki1
> repository: ~/miwiki1.svn
> To modify settings, edit ~/miwiki1.setup and then run:
> ikiwiki -setup ~/miwiki1.setup
>
> }}}
>
> If executed with
>
> $ sudo ikiwiki --setup ...
>
> wikilist file will be written, but root username will be inserted.
New description:
This is an example of an ikiwiki wiki creation:
{{{
imac:~ ecastilla$ ikiwiki --setup /opt/local/etc/ikiwiki/auto.setup
¿ Qué nombre tendrá el wiki ? miwiki1
¿ Qué sistema de control de versiones empleará ? svn
Which user (wiki account or openid) will be admin? ecastilla
Setting up miwiki1 ...
Importing /Users/ecastilla/miwiki1 into svn
Committed revision 1.
Checked out revision 1.
property 'svn:ignore' set on '.'
svn: warning: '*' not found
Sending .
Committed revision 2.
Directory /Users/ecastilla/miwiki1 is now a checkout of svn repository
/Users/ecastilla/miwiki1.svn
Traceback (most recent call last):
File "/opt/local/lib/ikiwiki/plugins/rst", line 39, in <module>
from docutils.core import publish_parts;
ImportError: No module named docutils.core
Failed to load highlight. Configuring anyway.
Creating wiki admin ecastilla ...
Choose a password:
Confirm password:
''ikiwiki-update-wikilist: cannot write to /opt/local/etc/ikiwiki/wikilist
** Failed to add you to the system wikilist file.
** (Probably ikiwiki-update-wikilist is not SUID root.)
** Your wiki will not be automatically updated when ikiwiki is upgraded.''
Successfully set up miwiki1:
url: http://imac.local/~ecastilla/miwiki1
srcdir: ~/miwiki1
destdir: ~/public_html/miwiki1
repository: ~/miwiki1.svn
To modify settings, edit ~/miwiki1.setup and then run:
ikiwiki -setup ~/miwiki1.setup
}}}
If executed with
{{{
$ sudo ikiwiki --setup ...
}}}
wikilist file will be written, but root username will be inserted.
--
--
Ticket URL: <https://trac.macports.org/ticket/31807#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list