Summary: | net-www/moinmoin updated for webapp.eclass | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Renat Lumpau (RETIRED) <rl03> |
Component: | New packages | Assignee: | Gentoo Web Application Packages Maintainers <web-apps> |
Status: | RESOLVED FIXED | ||
Severity: | enhancement | CC: | dwc, g2boojum, stuart |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 57913 | ||
Attachments: |
moinmoin-1.2.3.ebuild
files/postinstall-en.txt moinmoin-1.2.3.ebuild files/postinstall-en.txt |
Description
Renat Lumpau (RETIRED)
2004-07-26 04:04:51 UTC
Created attachment 36184 [details]
moinmoin-1.2.3.ebuild
Created attachment 36185 [details]
files/postinstall-en.txt
Created attachment 36573 [details]
moinmoin-1.2.3.ebuild
Created attachment 36574 [details]
files/postinstall-en.txt
small bugs
moinmoin-1.2.3 gives me an error /usr/lib/python2.3/site-packages/MoinMoin/util/filesys.py:106: FutureWarning: hex/oct constants > sys.maxint will return positive values in Python 2.4 and up __highbits = 0xffff0000 # XXX FIXME, gives Python2.3 warning. Traceback (most recent call last): File "/var/www/localhost/htdocs/moinmoin/moin.cgi", line 32, in ? request = RequestCGI() File "/usr/lib/python2.3/site-packages/MoinMoin/request.py", line 503, in __init__ RequestBase.__init__(self, properties) File "/usr/lib/python2.3/site-packages/MoinMoin/request.py", line 63, in __init__ self.dicts = self.initdicts() File "/usr/lib/python2.3/site-packages/MoinMoin/request.py", line 223, in initdicts dicts.scandicts() File "/usr/lib/python2.3/site-packages/MoinMoin/wikidicts.py", line 253, in scandicts pagelist = wikiutil.getPageList(config.text_dir) File "/usr/lib/python2.3/site-packages/MoinMoin/wikiutil.py", line 274, in getPageList pages = os.listdir(text_dir) OSError: [Errno 2] No such file or directory: 'data/text' Martin, I'm unable to reproduce this error---when does it happen? I just did a fresh install of 1.2.3, and verified that /var/www/localhost/htdocs/moinmoin/data/text exists. Did you create the Alias and ScriptAlias? ok, i had to change postinstall # echo "Options ExecCGI" > ${G_HTDOCSDIR}/moinmoin/.htaccess this is from apache error.log [Fri Aug 06 21:39:41 2004] [error] [client 192.168.1.8] (13)Permission denied: exec of '/var/www/localhost/htdocs/moinmoin/moin.cgi' failed ls -la -rw-rw---- 1 apache apache 1021 Aug 6 21:37 moin.cgi chmod 0770 /var/www/localhost/htdocs/moinmoin/moin.cgi now it works I would like to add this ebuild to the tree, but whenever I try emerging it I end up with /var/www/localhost/htdocs/moinmoin/moin.cgi _not_ being +x, despite the explicit chmod. Help? Stuart, can you help? You'll need webapp-config 1.10-r8 (now in CVS). Or change VHOSTS_PERMS_VIRTUALOWNED_FILE to be 'o-w' in /etc/vhosts/webapp-config. Best regards, Stu I've emailed moin devs to find out what files need to be owned by the webserver, so we don't have to make everything httpd-owned, which will make the explicit chmod work. I'll commit it once I hear back, if noone objects. Permissions fixed, in CVS |