[kforge-user] kforge 0.11 svn repo creation error

Omer KARAGOZOGLU oa.karagozoglu at belbim.com.tr
Tue Jul 25 08:05:32 UTC 2006


I have commented out line 99 and added the code given. The result is the following extra error. 

svnadmin: Can't open config file '/root/.subversion/servers'

About the theme I have examined the source and tried to reach https://media.kforge but faced with access forbidden error 403 page. I also reviewed the error log for media. Here again there was an error which said 
Client denied by server configuration : /usr/share/kforge/www/media/scripts/...

I realy appriciate your help. Thank you.
 
Regards
 
Ömer A. KARAGÖZOĞLU
Elektrik & Elektronik Mühendisi
İş ve Proje Geliştirme Müdürlüğü
 
oa.karagozoglu at belbim.com.tr
Hava Limanı Karşısı
İstanbul Dünya Ticaret Merkezi
A3 Blok Kat:2-3 34149
Yeşilköy/İSTANBUL 
Tel: 
+90 (212) 465 52 10 h 1112
 
 
-----Özgün İleti-----
Kimden: Rufus Pollock [mailto:rufus.pollock at okfn.org] 
Tarih: 24 Temmuz 2006 Pazartesi 20:05
Kime: Omer KARAGOZOGLU
Konu: Re: [kforge-user] kforge 0.11 svn repo creation error

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