[kforge-user] kforge 0.11 svn repo creation error
Rufus Pollock
rufus.pollock at okfn.org
Mon Jul 24 22:03:29 UTC 2006
Forgot to cc' the list.
-------- Original Message --------
Subject: Re: [kforge-user] kforge 0.11 svn repo creation error
Date: Mon, 24 Jul 2006 18:05:26 +0100
From: Rufus Pollock <rufus.pollock at okfn.org>
To: Omer KARAGOZOGLU <oa.karagozoglu at belbim.com.tr>
References: <BE412EB4B0BC374E854CC2B2F5D4C8651FE7E7 at KANUNI.belbim.local>
Omer KARAGOZOGLU wrote:
> Thank you for your reply.
>
> I have setup the whole system on sles 9 and here are the versions of
> the packages that I have installed.
>
> Postgresql 7.4.2 Python 2.3 Python-psycopg 1.1.21 Sqlobject 0.7.0
> Subversion 1.3.2 Trac 0.9.6 Django -r304 = django 1.0.0
>
> I have rechecked the permissions they have been set to the wwwrun
> user and www group. Even though an error page is displayed in the
> background the svn directory is created but not filled in. so it is
> created but empty. Its owner is again wwwrun.
Yes that means that svnadmin command is failing (as you detailed in your
previous post). Given that it is not a permissions issue we'll have to
look further. Open:
kforge/plugin/svn.py
and go to line 99:
{{{
if os.system(cmd):
raise Exception('svnadmin create error: %s' % cmd)
}}}
replace this with:
{{{
import commands
status, output = commands.getstatusoutput(cmd)
if status:
raise Exception('svnadmin create error on %s: %s' % (cmd,
output))
}}}
Now try running it again and see what error message you get.
> About the theme as you have mentioned I think it is not rendering
> correctly. I am sending you a screenshot of how it looks like.
I've taken a look and it is difficult to say what is wrong. Have you
tried accessing the media files (css etc) directly (do view source on
that web page to see where the url they are being loaded from).
Regards,
Rufus Pollock
> -----Özgün İleti----- Kimden: Rufus Pollock
> [mailto:rufus.pollock at okfn.org] Tarih: 24 Temmuz 2006 Pazartesi 13:23
> Kime: Omer KARAGOZOGLU Bilgi: kforge-user at lists.okfn.org Konu: Re:
> [kforge-user] kforge 0.11 svn repo creation error
>
> Omer KARAGOZOGLU wrote:
>
>> Hello
>>
>> I have setup Kforge 0.11 but cannot create svn repo. When I try to
>> do so I receive the following error.
>>
>
>
> [snip]
>
>
>> File "/usr/lib/python2.3/site-packages/kforge/plugin/svn.py", line
>> 100, in createRepository
>>
>> raise Exception('svnadmin create error: %s' % cmd)
>>
>> Exception: svnadmin create error: svnadmin create
>> /home/projeler/kforge/var/project_data/obsm/svn/15 --fs-type fsfs
>
>
> What user does your web server run as? Does that user have write
> permission to the directory where you are trying to create the repo:
>
> /home/projeler/kforge/var/project_data/obsm/svn
>
> If not make sure it does. Recall step 5 from quickstart installation
> instructions (in INSTALL):
>
> {{{ 5. Final touches: * set file permissions/ownerships (www-user is
> the user under which the web server runs) $ chown -R
> <www-user>:<www-user> <base> }}}
>
> (see also the full explanation in the full instructions)
>
>
>
>> One other question is about the django template at the moment my
>> site is nothing near the demo what could be done. I would
>> appreciate any kind of help. Thanks in advance.
>>
>
>
> I am not sure I entirely understand your question here. Do you wish
> to change the theme or is the problem that the *default* theme is not
> rendering correctly?
>
> Regards,
>
> Rufus
More information about the kforge-user
mailing list