[opensuse-buildservice] Error in OBS Release 1.8.0 RC3?
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@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
fixed. pushed to git 1.8 branch, and put into openSUSE:Tools:MeeGo also 1.8.0 RC5 packages. victor.liu@nokia.com 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@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
participants (2)
-
Martin Mohring
-
victor.liu@nokia.com