Mailinglist Archive: opensuse-buildservice (184 mails)

< Previous Next >
Re: [opensuse-buildservice] Local openSuSE Build Service at 11.0
  • From: Andreas Bauer <abauer@xxxxxxx>
  • Date: Thu, 09 Oct 2008 16:50:26 +0200
  • Message-id: <48EE1A32.9040803@xxxxxxx>
aledr schrieb:
Good day!

I've recently updated my local Build Service to openSuSE 11.0 with a
production environment.
Live Log Refreshing is not working and I can't see my packages files
on the webclient. Here is the error when trying to access a package:

------------------------------------------------------------------------------------------------------------------------------------------------------
OpenSUSE Webclient Error:

Error Details:
Errorcode: unknown
Message: uninitialized constant ApplicationHelper::EXTERNAL_FRONTEND_HOST

That's a bug in the current stable packages. As Ulf mentioned, you can either use the latest -devel packages from openSUSE:Tools:Unstable, or you can apply the attached patch. The patch needs to be applied in /srv/www/obs.

Andreas





--- webclient/app/helpers/application_helper.rb 2008-07-08 20:54:57.000000000
+0200
+++ webclient-patched/app/helpers/application_helper.rb 2008-07-18
16:04:57.000000000 +0200
@@ -55,8 +55,8 @@


def get_frontend_url_for( opt={} )
- opt[:host] ||= self.class.const_defined? EXTERNAL_FRONTEND_HOST ?
EXTERNAL_FRONTEND_HOST : FRONTEND_HOST
- opt[:port] ||= self.class.const_defined? EXTERNAL_FRONTEND_PORT ?
EXTERNAL_FRONTEND_PORT : FRONTEND_PORT
+ opt[:host] ||= Object.const_defined? :EXTERNAL_FRONTEND_HOST ?
EXTERNAL_FRONTEND_HOST : FRONTEND_HOST
+ opt[:port] ||= Object.const_defined? :EXTERNAL_FRONTEND_PORT ?
EXTERNAL_FRONTEND_PORT : FRONTEND_PORT
opt[:protocol] ||= FRONTEND_PROTOCOL

if not opt[:controller]
< Previous Next >
Follow Ups
References