Mailinglist Archive: opensuse-buildservice (216 mails)

< Previous Next >
Re: [opensuse-buildservice] api import script fails
  • From: Adrian Schröter <adrian@xxxxxxx>
  • Date: Fri, 5 Mar 2010 09:34:42 +0100
  • Message-id: <201003050934.43280.adrian@xxxxxxx>
Am Donnerstag, 4. März 2010 14:28:32 schrieb Scott Bahling:
Hi,

Installed OBS 1.7.1 and while trying to import a base distribution like
documented in the README.SETUP file the import script fails:

# RAILS_ENV="production" ruby /srv/www/obs/api/script/import
/usr/lib64/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/session/cookie_store.rb:163:in
`ensure_session_key': A key is required to write a cookie containing the
session data. Use config.action_controller.session = { :key =>
"_myapp_session", :secret => "some secret phrase" } in config/environment.rb
(ArgumentError)

I get the same result in the OBS appliance.

Is this a bug or user/setup error?

That is a bug, the script is more or less a relict.

In general it is recommended to use the OBS interconnect as described in
README.SETUP.

The future plan is to have admin interfaces to setup interconnect or to
clone/import repos from other places (local or remote instance).

bye
adrian

--

Adrian Schroeter
SUSE Linux Products GmbH
email: adrian@xxxxxxx

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

< Previous Next >
References