Mailinglist Archive: opensuse-buildservice (306 mails)

< Previous Next >
Re: [opensuse-buildservice] Error in OBS Release 1.8.0 RC3?
  • From: Martin Mohring <martinmohring@xxxxxxxxxxxxxxxxxxx>
  • Date: Mon, 07 Jun 2010 16:22:01 +0200
  • Message-id: <4C0D0089.6020906@xxxxxxxxxxxxxxxxxxx>
fixed. pushed to git 1.8 branch, and put into openSUSE:Tools:MeeGo also
1.8.0 RC5 packages.

victor.liu@xxxxxxxxx wrote:
Hi,

Just had a try on OBS 1.8.0 RC3(from project: openSUSE:Tools:MeeGo), found an
error when trying to view the package source files on webui:

*******************************************
openSUSE Webclient Error:

Error Details:

Errorcode: unknown
Message: uncaught exception: undefined method `find_package' for
#<DbProject:0xb67deb80>
********************************************

Same issue when using osc to checkout project.

I just checked the API code(both for RC3 and 1.8 branch on git), there is no
"find_package" definition in /srv/www/obs/api/app/models/db_project.rb, but
this method is required by other codes:

/srv/www/obs/api/app/controllers/source_controller.rb:137: pkg =
prj.find_package(package_name)
/srv/www/obs/api/app/controllers/build_controller.rb:177: pkg =
prj.find_package params[:package]

Could you pls help on this issue? It blocks our testing work...

Thanks
Victor Liu


--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >
References