[opensuse-buildservice] Using OBS from svn trunc with rails 2.0
Hi, I have successfully build and installed a new OBS version from svn trunc -r 3189, with all the rails 2.0 packages installed . The resulting OBS server works correctly, and can be used by the webclient. But I cannot control this with osc command line client anymore. osc reports errors for all its commands. I have reported a bug in bugzilla for this https://bugzilla.novell.com/show_bug.cgi?id=366405. Has anybody else seens this? Regards, Martin --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On Sunday 02 March 2008 19:11:05 wrote Martin Mohring:
Hi,
I have successfully build and installed a new OBS version from svn trunc -r 3189, with all the rails 2.0 packages installed . The resulting OBS server works correctly, and can be used by the webclient. But I cannot control this with osc command line client anymore. osc reports errors for all its commands.
I have reported a bug in bugzilla for this https://bugzilla.novell.com/show_bug.cgi?id=366405.
Has anybody else seens this?
Please attach the api log file to the bugreport. thanks adrian -- Adrian Schroeter SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) email: adrian@suse.de --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Adrian Schröter wrote:
On Sunday 02 March 2008 19:11:05 wrote Martin Mohring:
Hi,
I have successfully build and installed a new OBS version from svn trunc -r 3189, with all the rails 2.0 packages installed . The resulting OBS server works correctly, and can be used by the webclient. But I cannot control this with osc command line client anymore. osc reports errors for all its commands.
I have reported a bug in bugzilla for this https://bugzilla.novell.com/show_bug.cgi?id=366405.
Has anybody else seens this?
Please attach the api log file to the bugreport.
thanks adrian
Going through the logfiles and seeing the error: "errorcode 'uncaught_exception' - CGI::Session::CookieStore::TamperedWithCookie" inspired me to try to solve the problem by removing the osc cookie file: $ rm ~/.osc_cookiejar And it worked. So the new OBS doesnt want to work with the old cookies somehow? Is that intended? Cheers, Martin --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Martin Mohring wrote:
Adrian Schröter wrote:
On Sunday 02 March 2008 19:11:05 wrote Martin Mohring:
Hi,
I have successfully build and installed a new OBS version from svn trunc -r 3189, with all the rails 2.0 packages installed . The resulting OBS server works correctly, and can be used by the webclient. But I cannot control this with osc command line client anymore. osc reports errors for all its commands.
I have reported a bug in bugzilla for this https://bugzilla.novell.com/show_bug.cgi?id=366405.
Has anybody else seens this?
Please attach the api log file to the bugreport.
thanks adrian
Going through the logfiles and seeing the error:
"errorcode 'uncaught_exception' - CGI::Session::CookieStore::TamperedWithCookie"
inspired me to try to solve the problem by removing the osc cookie file:
$ rm ~/.osc_cookiejar
And it worked. So the new OBS doesnt want to work with the old cookies somehow? Is that intended?
Cheers, Martin The following commands now seem to work:
osc co osc up osc meta osc ci (when nothing to commit) osc ls Identified now the commands, which still cause trouble: osc ci (when changes are committed) osc rebuildpac --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On 2008-03-03 10:58:12 +0100, Martin Mohring wrote:
Going through the logfiles and seeing the error:
"errorcode 'uncaught_exception' - CGI::Session::CookieStore::TamperedWithCookie"
inspired me to try to solve the problem by removing the osc cookie file:
$ rm ~/.osc_cookiejar
And it worked. So the new OBS doesnt want to work with the old cookies somehow? Is that intended?
in rails 2 the default cookie store changed from pstore to cookie store. the format of the cookie is different since then, so rails failed to parse your old cookie as new cookie. to get back the old behavior: inside the do/end block of "Rails::Initializer.run do |config|" you add "config.action_controller.session_store = :p_store" to get the old cookie store. darix -- openSUSE - SUSE Linux is my linux openSUSE is good for you www.opensuse.org --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Marcus Rueckert wrote:
On 2008-03-03 10:58:12 +0100, Martin Mohring wrote:
Going through the logfiles and seeing the error:
"errorcode 'uncaught_exception' - CGI::Session::CookieStore::TamperedWithCookie"
inspired me to try to solve the problem by removing the osc cookie file:
$ rm ~/.osc_cookiejar
And it worked. So the new OBS doesnt want to work with the old cookies somehow? Is that intended?
in rails 2 the default cookie store changed from pstore to cookie store. the format of the cookie is different since then, so rails failed to parse your old cookie as new cookie.
to get back the old behavior:
inside the do/end block of "Rails::Initializer.run do |config|" you add "config.action_controller.session_store = :p_store" to get the old cookie store.
darix
I still do have trouble with the commands: osc ci (when there is something to commit - works when nothing to commit) osc rebuildpac (also the Webclient reports the same exception as mentioned in the updated bugzilla report) Both commands return with an internal server error 500 when called, but the operation is performed - correctly as far as I can see. Martin --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
participants (3)
-
Adrian Schröter
-
Marcus Rueckert
-
Martin Mohring