Can't save ssh key

67 views
Skip to first unread message

Medrand

unread,
Dec 14, 2010, 5:07:29 PM12/14/10
to Gitorious
Hi, I'm running my own installation of Gitorious and every time I try
to save an ssh key I get a message saying: We are sorry, but something
went wrong. Here is the output the error generates:

A TypeError occurred in keys#create:

can't convert nil into Integer
[RAILS_ROOT]/vendor/plugins/paperclip/lib/paperclip/processor.rb:
45:in `sprintf'

-------------------------------
Request:
-------------------------------

* URL : http://opi2022-002.cs.clsi.ca:3000/~admin/keys
* IP address: 10.45.0.229
* Parameters: {"ssh_key"=>{"key"=>"ssh-rsa
AAAAB3NzaC1yc2EAAAABIwAAAQEAy6RULqR4XbEMkNfDNWK7agCWC5/
KxuPUo0YPVM7S459rAYObIITjxMMew+
+wQRPjIHUAOH1fGASuYL81nlaLMeOyxIuX5LoUiuBmtWKiLgCC3Y57iflVBYKJQzcgxN9Mr0gCZoTlVCEJmkYxhBfIwWM/
vqkUaiElOOUXI3h97jSkQckf9EBKVjLNq6v4MEh0aMsCgY7Wqq1abANmyIB/am/G5KVGDl/
vZZGkjCfHv8N6nLnOFUl16/Y7rI/dV9dpDqBTL09/lKoWxvGLaaSAUTcDYuVZm
+ARFvY3t4VOWL755wQhdGXF9YLyYwx0BSEfU/pCZ5r4isjKDhCgKIvm/w==
med...@macbookpro.clsi.ca"}, "commit"=>"Save", "controller"=>"keys",
"action"=>"create", "user_id"=>"admin"}
* Rails root: /var/www/git.opi2022-002.cs.clsi.ca/gitorious

-------------------------------
Session:
-------------------------------

* session id: nil
* data: nil

-------------------------------
Environment:
-------------------------------

* CONTENT_LENGTH : 468
* CONTENT_TYPE : application/x-www-
form-urlencoded
* GATEWAY_INTERFACE : CGI/1.2
* HTTP_ACCEPT : application/
xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/
*;q=0.5
* HTTP_ACCEPT_CHARSET :
ISO-8859-1,utf-8;q=0.7,*;q=0.3
* HTTP_ACCEPT_ENCODING : gzip,deflate,sdch
* HTTP_ACCEPT_LANGUAGE : en-US,en;q=0.8
* HTTP_CACHE_CONTROL : max-age=0
* HTTP_CONNECTION : keep-alive
* HTTP_COOKIE : _logged_in=true;
_gitorious_sess=89d6def71ce99844cefd946ae0fc8b6d
* HTTP_HOST :
opi2022-002.cs.clsi.ca:3000
* HTTP_ORIGIN : http://opi2022-002.cs.clsi.ca:3000
* HTTP_REFERER :
http://opi2022-002.cs.clsi.ca:3000/~admin/keys/new
* HTTP_USER_AGENT : Mozilla/5.0
(Macintosh; U; Intel Mac OS X 10_6_5; en-US) AppleWebKit/534.10
(KHTML, like Gecko) Chrome/8.0.552.224 Safari/534.10
* HTTP_VERSION : HTTP/1.1
* PATH_INFO : /~admin/keys
* QUERY_STRING :
* REMOTE_ADDR : 10.45.0.229
* REQUEST_METHOD : POST
* REQUEST_PATH : /~admin/keys
* REQUEST_URI : /~admin/keys
* SCRIPT_NAME :
* SERVER_NAME :
opi2022-002.cs.clsi.ca
* SERVER_PORT : 3000
* SERVER_PROTOCOL : HTTP/1.1
* SERVER_SOFTWARE : Mongrel 1.2.0.pre2
* action_controller.request.path_parameters :
{"controller"=>"keys", "action"=>"create", "user_id"=>"admin"}
* action_controller.request.query_parameters : {}
* action_controller.request.request_parameters:
{"ssh_key"=>{"key"=>"ssh-rsa
AAAAB3NzaC1yc2EAAAABIwAAAQEAy6RULqR4XbEMkNfDNWK7agCWC5/
KxuPUo0YPVM7S459rAYObIITjxMMew+
+wQRPjIHUAOH1fGASuYL81nlaLMeOyxIuX5LoUiuBmtWKiLgCC3Y57iflVBYKJQzcgxN9Mr0gCZoTlVCEJmkYxhBfIwWM/
vqkUaiElOOUXI3h97jSkQckf9EBKVjLNq6v4MEh0aMsCgY7Wqq1abANmyIB/am/G5KVGDl/
vZZGkjCfHv8N6nLnOFUl16/Y7rI/dV9dpDqBTL09/lKoWxvGLaaSAUTcDYuVZm
+ARFvY3t4VOWL755wQhdGXF9YLyYwx0BSEfU/pCZ5r4isjKDhCgKIvm/w==
med...@macbookpro.clsi.ca"}, "commit"=>"Save"}
* action_controller.rescue.request :
#<ActionController::Request:0xbd9e300>
* action_controller.rescue.response :
#<ActionController::Response:0xbd9e2d8>
* rack.errors : #<IO:0x90c3830>
* rack.input : #<StringIO:0x91fdc00>
* rack.multiprocess : false
* rack.multithread : false
* rack.request.cookie_hash :
{"_logged_in"=>"true",
"_gitorious_sess"=>"89d6def71ce99844cefd946ae0fc8b6d"}
* rack.request.cookie_string : _logged_in=true;
_gitorious_sess=89d6def71ce99844cefd946ae0fc8b6d
* rack.request.form_hash :
{"ssh_key"=>{"key"=>"ssh-rsa
AAAAB3NzaC1yc2EAAAABIwAAAQEAy6RULqR4XbEMkNfDNWK7agCWC5/
KxuPUo0YPVM7S459rAYObIITjxMMew+
+wQRPjIHUAOH1fGASuYL81nlaLMeOyxIuX5LoUiuBmtWKiLgCC3Y57iflVBYKJQzcgxN9Mr0gCZoTlVCEJmkYxhBfIwWM/
vqkUaiElOOUXI3h97jSkQckf9EBKVjLNq6v4MEh0aMsCgY7Wqq1abANmyIB/am/G5KVGDl/
vZZGkjCfHv8N6nLnOFUl16/Y7rI/dV9dpDqBTL09/lKoWxvGLaaSAUTcDYuVZm
+ARFvY3t4VOWL755wQhdGXF9YLyYwx0BSEfU/pCZ5r4isjKDhCgKIvm/w==
med...@macbookpro.clsi.ca"}, "commit"=>"Save"}
* rack.request.form_input : #<StringIO:0x91fdc00>
* rack.request.form_vars : ssh_key%5Bkey%5D=ssh-
rsa
+AAAAB3NzaC1yc2EAAAABIwAAAQEAy6RULqR4XbEMkNfDNWK7agCWC5%2FKxuPUo0YPVM7S459rAYObIITjxMMew
%2B
%2BwQRPjIHUAOH1fGASuYL81nlaLMeOyxIuX5LoUiuBmtWKiLgCC3Y57iflVBYKJQzcgxN9Mr0gCZoTlVCEJmkYxhBfIwWM
%2FvqkUaiElOOUXI3h97jSkQckf9EBKVjLNq6v4MEh0aMsCgY7Wqq1abANmyIB%2Fam
%2FG5KVGDl%2FvZZGkjCfHv8N6nLnOFUl16%2FY7rI
%2FdV9dpDqBTL09%2FlKoWxvGLaaSAUTcDYuVZm
%2BARFvY3t4VOWL755wQhdGXF9YLyYwx0BSEfU%2FpCZ5r4isjKDhCgKIvm%2Fw%3D%3D
+medrand%40macbookpro.clsi.ca&commit=Save
* rack.request.query_hash : {}
* rack.request.query_string :
* rack.run_once : false
* rack.session :
{"flash"=>{}, :user_id=>1}
* rack.session.options :
{:key=>"_gitorious_sess", :path=>"/", :domain=>".opi2022-002.cs.clsi.ca", :expire_after=>21
days, :secure=>false, :httponly=>true, :cookie_only=>true, :secret=>"VavGatGhitpetwugheilfUrlijwerabrEigMekurkIksUcdirvEpcypfillObJobRitoovobelTitdyepIlrukjonHikibOtOurEcpiWruelcobAyftEjphogyatenririnVejaidoitgidUcUvChytju4dribHegIabCurbEbabethorHighicOvEbshanncubyefCoabOyrampOnyuwrofVadGodCishejNewWinFelaiWrabmeephurtAiff{>OmenvooxUvVumOlAwCyebEvyugnacFehyHevPawEbNargUgMadyoivdotAfBiasRynWawhesHewckojHimmIspercecDetbiksh@okdeowAtgapWapOuweajthijSoc", :id=>"89d6def71ce99844cefd946ae0fc8b6d"}
* rack.session.record :
#<ActiveRecord::SessionStore::Session:0xbd9cb54>
* rack.url_scheme : http
* rack.version : [1, 0]

* Process: 6612
- Hide quoted text -
* Server : opi2022-002

-------------------------------
Backtrace:
-------------------------------

[RAILS_ROOT]/vendor/plugins/paperclip/lib/paperclip/processor.rb:
45:in `sprintf'
[RAILS_ROOT]/vendor/plugins/paperclip/lib/paperclip/processor.rb:
45:in `make_tmpname'
/usr/local/lib/ruby/1.9.1/tmpdir.rb:132:in `create'
/usr/local/lib/ruby/1.9.1/tempfile.rb:134:in `initialize'
[RAILS_ROOT]/app/models/ssh_key.rb:121:in `new'
[RAILS_ROOT]/app/models/ssh_key.rb:121:in
`valid_key_using_ssh_keygen?'
[RAILS_ROOT]/app/models/ssh_key.rb:47:in `validate'
[RAILS_ROOT]/vendor/rails/activerecord/lib/active_record/
validations.rb:1099:in `valid?'
[RAILS_ROOT]/vendor/rails/activerecord/lib/active_record/callbacks.rb:
315:in `valid_with_callbacks?'
[RAILS_ROOT]/vendor/rails/activerecord/lib/active_record/
validations.rb:1077:in `save_with_validation'
[RAILS_ROOT]/vendor/rails/activerecord/lib/active_record/dirty.rb:
79:in `save_with_dirty'
[RAILS_ROOT]/vendor/rails/activerecord/lib/active_record/
transactions.rb:229:in `block in with_transaction_returning_status'
[RAILS_ROOT]/vendor/rails/activerecord/lib/active_record/
connection_adapters/abstract/database_statements.rb:136:in
`transaction'
[RAILS_ROOT]/vendor/rails/activerecord/lib/active_record/
transactions.rb:182:in `transaction'
[RAILS_ROOT]/vendor/rails/activerecord/lib/active_record/
transactions.rb:228:in `with_transaction_returning_status'
[RAILS_ROOT]/vendor/rails/activerecord/lib/active_record/
transactions.rb:196:in `block in save_with_transactions'
[RAILS_ROOT]/vendor/rails/activerecord/lib/active_record/
transactions.rb:208:in `rollback_active_record_state!'
[RAILS_ROOT]/vendor/rails/activerecord/lib/active_record/
transactions.rb:196:in `save_with_transactions'
[RAILS_ROOT]/app/controllers/keys_controller.rb:49:in `block in
create'
[RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/
mime_responds.rb:106:in `call'
[RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/
mime_responds.rb:106:in `respond_to'
[RAILS_ROOT]/app/controllers/keys_controller.rb:48:in `create'
[RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/base.rb:
1331:in `perform_action'
[RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/filters.rb:
617:in `call_filters'
[RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/filters.rb:
610:in `perform_action_with_filters'
[RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/
benchmarking.rb:68:in `block in perform_action_with_benchmark'
[RAILS_ROOT]/vendor/rails/activesupport/lib/active_support/core_ext/
benchmark.rb:17:in `block in ms'
/usr/local/lib/ruby/1.9.1/benchmark.rb:309:in `realtime'
[RAILS_ROOT]/vendor/rails/activesupport/lib/active_support/core_ext/
benchmark.rb:17:in `ms'
[RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/
benchmarking.rb:68:in `perform_action_with_benchmark'
[RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/rescue.rb:
160:in `perform_action_with_rescue'
[RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/flash.rb:
146:in `perform_action_with_flash'
[RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/base.rb:
532:in `process'
[RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/filters.rb:
606:in `process_with_filters'
[RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/base.rb:
391:in `process'
[RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/base.rb:
386:in `call'
[RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/routing/
route_set.rb:437:in `call'
[RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/
dispatcher.rb:87:in `dispatch'
[RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/
dispatcher.rb:121:in `_call'
[RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/
dispatcher.rb:130:in `block in build_middleware_stack'
[RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/
string_coercion.rb:25:in `call'
[RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/
string_coercion.rb:25:in `call'
/usr/local/lib/ruby/gems/1.9.1/gems/rack-1.0.1/lib/rack/head.rb:9:in
`call'
/usr/local/lib/ruby/gems/1.9.1/gems/rack-1.0.1/lib/rack/
methodoverride.rb:24:in `call'
[RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/
params_parser.rb:15:in `call'
[RAILS_ROOT]/vendor/rails/railties/lib/rails/rack/metal.rb:47:in
`call'
[RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/session/
abstract_store.rb:122:in `call'
[RAILS_ROOT]/vendor/rails/activerecord/lib/active_record/
query_cache.rb:29:in `block in call'
[RAILS_ROOT]/vendor/rails/activerecord/lib/active_record/
connection_adapters/abstract/query_cache.rb:34:in `cache'
[RAILS_ROOT]/vendor/rails/activerecord/lib/active_record/
query_cache.rb:9:in `cache'
[RAILS_ROOT]/vendor/rails/activerecord/lib/active_record/
query_cache.rb:28:in `call'
[RAILS_ROOT]/vendor/rails/activerecord/lib/active_record/
connection_adapters/abstract/connection_pool.rb:361:in `call'
[RAILS_ROOT]/vendor/rails/activesupport/lib/active_support/cache/
strategy/local_cache.rb:24:in `call'
[RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/
failsafe.rb:26:in `call'
/usr/local/lib/ruby/gems/1.9.1/gems/rack-1.0.1/lib/rack/lock.rb:11:in
`block in call'
<internal:prelude>:10:in `synchronize'
/usr/local/lib/ruby/gems/1.9.1/gems/rack-1.0.1/lib/rack/lock.rb:11:in
`call'
[RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/
dispatcher.rb:106:in `call'
[RAILS_ROOT]/vendor/rails/railties/lib/rails/rack/static.rb:31:in
`call'
/usr/local/lib/ruby/gems/1.9.1/gems/rack-1.0.1/lib/rack/urlmap.rb:
46:in `block in call'
/usr/local/lib/ruby/gems/1.9.1/gems/rack-1.0.1/lib/rack/urlmap.rb:
40:in `each'
/usr/local/lib/ruby/gems/1.9.1/gems/rack-1.0.1/lib/rack/urlmap.rb:
40:in `call'
[RAILS_ROOT]/vendor/rails/railties/lib/rails/rack/log_tailer.rb:17:in
`call'
/usr/local/lib/ruby/gems/1.9.1/gems/rack-1.0.1/lib/rack/
content_length.rb:13:in `call'
/usr/local/lib/ruby/gems/1.9.1/gems/rack-1.0.1/lib/rack/chunked.rb:
15:in `call'
/usr/local/lib/ruby/gems/1.9.1/gems/rack-1.0.1/lib/rack/handler/
mongrel.rb:64:in `process'
/usr/local/lib/ruby/gems/1.9.1/gems/mongrel-1.2.0.pre2/lib/mongrel.rb:
165:in `block in process_client'
/usr/local/lib/ruby/gems/1.9.1/gems/mongrel-1.2.0.pre2/lib/mongrel.rb:
164:in `each'
/usr/local/lib/ruby/gems/1.9.1/gems/mongrel-1.2.0.pre2/lib/mongrel.rb:
164:in `process_client'
/usr/local/lib/ruby/gems/1.9.1/gems/mongrel-1.2.0.pre2/lib/mongrel.rb:
291:in `block (2 levels) in run'

Is there something I'm missing here????

The Stiffmeister

unread,
Dec 29, 2010, 2:13:02 PM12/29/10
to Gitorious
Hey Medrand,

I have exactly the same problem. I have installed several other
installations but this one goes wrong.
Can anybody help us out?


On Dec 14, 11:07 pm, Medrand <diony.medr...@gmail.com> wrote:
> Hi, I'm running my own installation of Gitorious and every time I try
> to save an ssh key I get a message saying: We are sorry, but something
> went wrong. Here is the output the error generates:
>
> A TypeError occurred in keys#create:
>
>  can't convert nil into Integer
>  [RAILS_ROOT]/vendor/plugins/paperclip/lib/paperclip/processor.rb:45:in`sprintf'
>
> -------------------------------
> Request:
> -------------------------------
>
>  * URL       :http://opi2022-002.cs.clsi.ca:3000/~admin/keys
>  * IP address: 10.45.0.229
>  * Parameters: {"ssh_key"=>{"key"=>"ssh-rsa
> AAAAB3NzaC1yc2EAAAABIwAAAQEAy6RULqR4XbEMkNfDNWK7agCWC5/
> KxuPUo0YPVM7S459rAYObIITjxMMew+
> +wQRPjIHUAOH1fGASuYL81nlaLMeOyxIuX5LoUiuBmtWKiLgCC3Y57iflVBYKJQzcgxN9Mr0gCZ oTlVCEJmkYxhBfIwWM/
> vqkUaiElOOUXI3h97jSkQckf9EBKVjLNq6v4MEh0aMsCgY7Wqq1abANmyIB/am/G5KVGDl/
> vZZGkjCfHv8N6nLnOFUl16/Y7rI/dV9dpDqBTL09/lKoWxvGLaaSAUTcDYuVZm
> +ARFvY3t4VOWL755wQhdGXF9YLyYwx0BSEfU/pCZ5r4isjKDhCgKIvm/w==
> medr...@macbookpro.clsi.ca"}, "commit"=>"Save", "controller"=>"keys",
> medr...@macbookpro.clsi.ca"}, "commit"=>"Save"}
>  * action_controller.rescue.request            :
> #<ActionController::Request:0xbd9e300>
>  * action_controller.rescue.response           :
> #<ActionController::Response:0xbd9e2d8>
>  * rack.errors                                 : #<IO:0x90c3830>
>  * rack.input                                  : #<StringIO:0x91fdc00>
>  * rack.multiprocess                           : false
>  * rack.multithread                            : false
>  * rack.request.cookie_hash                    :
> {"_logged_in"=>"true",
> "_gitorious_sess"=>"89d6def71ce99844cefd946ae0fc8b6d"}
>  * rack.request.cookie_string                  : _logged_in=true;
> _gitorious_sess=89d6def71ce99844cefd946ae0fc8b6d
>  * rack.request.form_hash                      :
> {"ssh_key"=>{"key"=>"ssh-rsa
> AAAAB3NzaC1yc2EAAAABIwAAAQEAy6RULqR4XbEMkNfDNWK7agCWC5/
> KxuPUo0YPVM7S459rAYObIITjxMMew+
> +wQRPjIHUAOH1fGASuYL81nlaLMeOyxIuX5LoUiuBmtWKiLgCC3Y57iflVBYKJQzcgxN9Mr0gCZ oTlVCEJmkYxhBfIwWM/
> vqkUaiElOOUXI3h97jSkQckf9EBKVjLNq6v4MEh0aMsCgY7Wqq1abANmyIB/am/G5KVGDl/
> vZZGkjCfHv8N6nLnOFUl16/Y7rI/dV9dpDqBTL09/lKoWxvGLaaSAUTcDYuVZm
> +ARFvY3t4VOWL755wQhdGXF9YLyYwx0BSEfU/pCZ5r4isjKDhCgKIvm/w==
> medr...@macbookpro.clsi.ca"}, "commit"=>"Save"}
>  * rack.request.form_input                     : #<StringIO:0x91fdc00>
>  * rack.request.form_vars                      : ssh_key%5Bkey%5D=ssh-
> rsa
> +AAAAB3NzaC1yc2EAAAABIwAAAQEAy6RULqR4XbEMkNfDNWK7agCWC5%2FKxuPUo0YPVM7S459r AYObIITjxMMew
> %2B
> %2BwQRPjIHUAOH1fGASuYL81nlaLMeOyxIuX5LoUiuBmtWKiLgCC3Y57iflVBYKJQzcgxN9Mr0g CZoTlVCEJmkYxhBfIwWM
> %2FvqkUaiElOOUXI3h97jSkQckf9EBKVjLNq6v4MEh0aMsCgY7Wqq1abANmyIB%2Fam
> %2FG5KVGDl%2FvZZGkjCfHv8N6nLnOFUl16%2FY7rI
> %2FdV9dpDqBTL09%2FlKoWxvGLaaSAUTcDYuVZm
> %2BARFvY3t4VOWL755wQhdGXF9YLyYwx0BSEfU%2FpCZ5r4isjKDhCgKIvm%2Fw%3D%3D
> +medrand%40macbookpro.clsi.ca&commit=Save
>  * rack.request.query_hash                     : {}
>  * rack.request.query_string                   :
>  * rack.run_once                               : false
>  * rack.session                                :
> {"flash"=>{}, :user_id=>1}
>  * rack.session.options                        :
> {:key=>"_gitorious_sess", :path=>"/", :domain=>".opi2022-002.cs.clsi.ca", :expire_after=>21
> days, :secure=>false, :httponly=>true, :cookie_only=>true, :secret=>"VavGatGhitpetwugheilfUrlijwerabrEigMekurkIksUcdirvEpcypfillObJobR itoovobelTitdyepIlrukjonHikibOtOurEcpiWruelcobAyftEjphogyatenririnVejaidoit gidUcUvChytju4dribHegIabCurbEbabethorHighicOvEbshanncubyefCoabOyrampOnyuwro fVadGodCishejNewWinFelaiWrabmeephurtAiff{>OmenvooxUvVumOlAwCyebEvyugnacFehy HevPawEbNargUgMadyoivdotAfBiasRynWawhesHewckojHimmIspercecDetbiksh@okdeowAt gapWapOuweajthijSoc", :id=>"89d6def71ce99844cefd946ae0fc8b6d"}

The Stiffmeister

unread,
Dec 29, 2010, 10:30:34 AM12/29/10
to Gitorious
Hi,

I'm having exactly the same issues over here.
The abovementioned problem is also visible in the production.log (see
listing above).

I cannot add new SSH-keys for a user -> Gitorious anwers with: "We're
sorry, but something went wrong.."

I'am also confused. I have installed gitorious many time but I don't
know what is happening here.



On Dec 14, 11:07 pm, Medrand <diony.medr...@gmail.com> wrote:
> Hi, I'm running my own installation of Gitorious and every time I try
> to save an ssh key I get a message saying: We are sorry, but something
> went wrong. Here is the output the error generates:
>
> A TypeError occurred in keys#create:
>
>  can'tconvertnilintoInteger
>  [RAILS_ROOT]/vendor/plugins/paperclip/lib/paperclip/processor.rb:
> 45:in `sprintf'
>
> -------------------------------
> Request:
> -------------------------------
>
>  * URL       :http://opi2022-002.cs.clsi.ca:3000/~admin/keys
>  * IP address: 10.45.0.229
>  * Parameters: {"ssh_key"=>{"key"=>"ssh-rsa
> AAAAB3NzaC1yc2EAAAABIwAAAQEAy6RULqR4XbEMkNfDNWK7agCWC5/
> KxuPUo0YPVM7S459rAYObIITjxMMew+
> +wQRPjIHUAOH1fGASuYL81nlaLMeOyxIuX5LoUiuBmtWKiLgCC3Y57iflVBYKJQzcgxN9Mr0gCZ oTlVCEJmkYxhBfIwWM/
> vqkUaiElOOUXI3h97jSkQckf9EBKVjLNq6v4MEh0aMsCgY7Wqq1abANmyIB/am/G5KVGDl/
> vZZGkjCfHv8N6nLnOFUl16/Y7rI/dV9dpDqBTL09/lKoWxvGLaaSAUTcDYuVZm
> +ARFvY3t4VOWL755wQhdGXF9YLyYwx0BSEfU/pCZ5r4isjKDhCgKIvm/w==
> medr...@macbookpro.clsi.ca"}, "commit"=>"Save", "controller"=>"keys",
> +wQRPjIHUAOH1fGASuYL81nlaLMeOyxIuX5LoUiuBmtWKiLgCC3Y57iflVBYKJQzcgxN9Mr0gCZ oTlVCEJmkYxhBfIwWM/
> vqkUaiElOOUXI3h97jSkQckf9EBKVjLNq6v4MEh0aMsCgY7Wqq1abANmyIB/am/G5KVGDl/
> vZZGkjCfHv8N6nLnOFUl16/Y7rI/dV9dpDqBTL09/lKoWxvGLaaSAUTcDYuVZm
> +ARFvY3t4VOWL755wQhdGXF9YLyYwx0BSEfU/pCZ5r4isjKDhCgKIvm/w==
> medr...@macbookpro.clsi.ca"}, "commit"=>"Save"}
>  * action_controller.rescue.request            :
> #<ActionController::Request:0xbd9e300>
>  * action_controller.rescue.response           :
> #<ActionController::Response:0xbd9e2d8>
>  * rack.errors                                 : #<IO:0x90c3830>
>  * rack.input                                  : #<StringIO:0x91fdc00>
>  * rack.multiprocess                           : false
>  * rack.multithread                            : false
>  * rack.request.cookie_hash                    :
> {"_logged_in"=>"true",
> "_gitorious_sess"=>"89d6def71ce99844cefd946ae0fc8b6d"}
>  * rack.request.cookie_string                  : _logged_in=true;
> _gitorious_sess=89d6def71ce99844cefd946ae0fc8b6d
>  * rack.request.form_hash                      :
> {"ssh_key"=>{"key"=>"ssh-rsa
> AAAAB3NzaC1yc2EAAAABIwAAAQEAy6RULqR4XbEMkNfDNWK7agCWC5/
> KxuPUo0YPVM7S459rAYObIITjxMMew+
> +wQRPjIHUAOH1fGASuYL81nlaLMeOyxIuX5LoUiuBmtWKiLgCC3Y57iflVBYKJQzcgxN9Mr0gCZ oTlVCEJmkYxhBfIwWM/
> vqkUaiElOOUXI3h97jSkQckf9EBKVjLNq6v4MEh0aMsCgY7Wqq1abANmyIB/am/G5KVGDl/
> vZZGkjCfHv8N6nLnOFUl16/Y7rI/dV9dpDqBTL09/lKoWxvGLaaSAUTcDYuVZm
> +ARFvY3t4VOWL755wQhdGXF9YLyYwx0BSEfU/pCZ5r4isjKDhCgKIvm/w==
> medr...@macbookpro.clsi.ca"}, "commit"=>"Save"}
>  * rack.request.form_input                     : #<StringIO:0x91fdc00>
>  * rack.request.form_vars                      : ssh_key%5Bkey%5D=ssh-
> rsa
> +AAAAB3NzaC1yc2EAAAABIwAAAQEAy6RULqR4XbEMkNfDNWK7agCWC5%2FKxuPUo0YPVM7S459r AYObIITjxMMew
> %2B
> %2BwQRPjIHUAOH1fGASuYL81nlaLMeOyxIuX5LoUiuBmtWKiLgCC3Y57iflVBYKJQzcgxN9Mr0g CZoTlVCEJmkYxhBfIwWM
> %2FvqkUaiElOOUXI3h97jSkQckf9EBKVjLNq6v4MEh0aMsCgY7Wqq1abANmyIB%2Fam
> %2FG5KVGDl%2FvZZGkjCfHv8N6nLnOFUl16%2FY7rI
> %2FdV9dpDqBTL09%2FlKoWxvGLaaSAUTcDYuVZm
> %2BARFvY3t4VOWL755wQhdGXF9YLyYwx0BSEfU%2FpCZ5r4isjKDhCgKIvm%2Fw%3D%3D
> +medrand%40macbookpro.clsi.ca&commit=Save
>  * rack.request.query_hash                     : {}
>  * rack.request.query_string                   :
>  * rack.run_once                               : false
>  * rack.session                                :
> {"flash"=>{}, :user_id=>1}
>  * rack.session.options                        :
> {:key=>"_gitorious_sess", :path=>"/", :domain=>".opi2022-002.cs.clsi.ca", :expire_after=>21
> days, :secure=>false, :httponly=>true, :cookie_only=>true, :secret=>"VavGatGhitpetwugheilfUrlijwerabrEigMekurkIksUcdirvEpcypfillObJobR itoovobelTitdyepIlrukjonHikibOtOurEcpiWruelcobAyftEjphogyatenririnVejaidoit gidUcUvChytju4dribHegIabCurbEbabethorHighicOvEbshanncubyefCoabOyrampOnyuwro fVadGodCishejNewWinFelaiWrabmeephurtAiff{>OmenvooxUvVumOlAwCyebEvyugnacFehy HevPawEbNargUgMadyoivdotAfBiasRynWawhesHewckojHimmIspercecDetbiksh@okdeowAt gapWapOuweajthijSoc", :id=>"89d6def71ce99844cefd946ae0fc8b6d"}

Marius Mårnes Mathiesen

unread,
Jan 4, 2011, 3:16:50 AM1/4/11
to gito...@googlegroups.com
On Wed, Dec 29, 2010 at 4:30 PM, The Stiffmeister <derstif...@gmail.com> wrote:
Hi,

I'm having exactly the same issues over here.
The abovementioned problem is also visible in the production.log (see
listing above).

I cannot add new SSH-keys for a user -> Gitorious anwers with: "We're
sorry, but something went wrong.."

I'am also confused. I have installed gitorious many time but I don't
know what is happening here.

Could it be that you're running a newer version of Paperclip that makes this happen? If you open a console and enter:

Paperclip::VERSION

what do you get?

Cheers,
- Marius

Eonflare

unread,
Jan 30, 2011, 1:56:35 AM1/30/11
to Gitorious
Actually, considering that the Paperclip gem is frozen into their
project, I don't think that's the reason we're having issues.

Brett

On Jan 4, 3:16 am, Marius Mårnes Mathiesen
<marius.mathie...@gmail.com> wrote:
> On Wed, Dec 29, 2010 at 4:30 PM, The Stiffmeister <derstiffmeis...@gmail.com

Eonflare

unread,
Jan 30, 2011, 1:51:24 AM1/30/11
to Gitorious
I'm having a similar issue as well. The version of Paperclip I have
installed is 2.2.8. I'll try downgrading it and see if that has any
effect.

Brett

On Jan 4, 3:16 am, Marius Mårnes Mathiesen
<marius.mathie...@gmail.com> wrote:
> On Wed, Dec 29, 2010 at 4:30 PM, The Stiffmeister <derstiffmeis...@gmail.com
Reply all
Reply to author
Forward
0 new messages