To confirm: This happened when you created a repository with the sync
adapter? Or project? Steps to reproduce?

Johannes Ernst writes:

> This is the 'sync' messaging_adapter.
>
> From the log file:
>
> ActionView::Template::Error (undefined method `url' for nil:NilClass):
>     35:     </div>
>     36:     <div id="clone-help-<%= repository.id -%>-box" 
> class="clone-help-text" style="display:none;">
>     37:       <% if logged_in? && site_admin?(current_user) -%>
>     38:         <% vcs_link_tag(:href => repository.push_url, :title => 
> t("views.repos.show_page_title", :repo => repository.name, :title => 
> h(@owner.title))) %>
>     39:         <p>Repository path: <code><%= 
> h(repository.full_repository_path) -%></a></code></p>
>     40: <% end -%>
>     41: <% if logged_in? && can_push?(current_user, repository) -%>
>   app/models/repository.rb:272:in `push_url'
>   app/views/repositories/_clone_urls.html.erb:38:in 
> `_app_views_repositories__clone_urls_html_erb___2335148388720198927_48740900'
>   app/views/repositories/_overview.html.erb:41:in 
> `_app_views_repositories__overview_html_erb__3435105863187103473_47675660'
>   app/views/repositories/show.html.erb:29:in `block in 
> _app_views_repositories_show_html_erb__1041238873808912094_46862480'
>   app/helpers/application_helper.rb:133:in `render_if_ready'
>   app/views/repositories/show.html.erb:27:in 
> `_app_views_repositories_show_html_erb__1041238873808912094_46862480'
>   app/controllers/repositories_controller.rb:67:in `show'
>
>
>
> ActionController::RoutingError (No route matches [GET] 
> "/javascripts/lib/all.js"):
>   actionpack (3.2.12) 
> lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
>   actionpack (3.2.12) lib/action_dispatch/middleware/show_exceptions.rb:56:in 
> `call'
>   railties (3.2.12) lib/rails/rack/logger.rb:32:in `call_app'
>   railties (3.2.12) lib/rails/rack/logger.rb:16:in `block in call'
>   activesupport (3.2.12) lib/active_support/tagged_logging.rb:22:in `tagged'
>   railties (3.2.12) lib/rails/rack/logger.rb:16:in `call'
>   actionpack (3.2.12) lib/action_dispatch/middleware/request_id.rb:22:in 
> `call'
>   rack (1.4.5) lib/rack/methodoverride.rb:21:in `call'
>   rack (1.4.5) lib/rack/runtime.rb:17:in `call'
>   activesupport (3.2.12) 
> lib/active_support/cache/strategy/local_cache.rb:72:in `call'
>   rack (1.4.5) lib/rack/lock.rb:15:in `call'
>   actionpack (3.2.12) lib/action_dispatch/middleware/static.rb:62:in `call'
>   rack-cache (1.2) lib/rack/cache/context.rb:136:in `forward'
>   rack-cache (1.2) lib/rack/cache/context.rb:245:in `fetch'
>   rack-cache (1.2) lib/rack/cache/context.rb:185:in `lookup'
>   rack-cache (1.2) lib/rack/cache/context.rb:66:in `call!'
>   rack-cache (1.2) lib/rack/cache/context.rb:51:in `call'
>   railties (3.2.12) lib/rails/engine.rb:479:in `call'
>   railties (3.2.12) lib/rails/application.rb:223:in `call'
>   railties (3.2.12) lib/rails/railtie/configurable.rb:30:in `method_missing'
>   /usr/lib/ruby/1.9.1/phusion_passenger/rack/request_handler.rb:96:in 
> `process_request'
>   /usr/lib/ruby/1.9.1/phusion_passenger/abstract_request_handler.rb:516:in 
> `accept_and_process_next_request'
>   /usr/lib/ruby/1.9.1/phusion_passenger/abstract_request_handler.rb:274:in 
> `main_loop'
>   /usr/lib/ruby/1.9.1/phusion_passenger/rack/application_spawner.rb:206:in 
> `start_request_handler'
>   /usr/lib/ruby/1.9.1/phusion_passenger/rack/application_spawner.rb:171:in 
> `block in handle_spawn_application'
>   /usr/lib/ruby/1.9.1/phusion_passenger/utils.rb:470:in `safe_fork'
>   /usr/lib/ruby/1.9.1/phusion_passenger/rack/application_spawner.rb:166:in 
> `handle_spawn_application'
>   /usr/lib/ruby/1.9.1/phusion_passenger/abstract_server.rb:357:in 
> `server_main_loop'
>   /usr/lib/ruby/1.9.1/phusion_passenger/abstract_server.rb:206:in 
> `start_synchronously'
>   /usr/lib/ruby/1.9.1/phusion_passenger/abstract_server.rb:180:in `start'
>   /usr/lib/ruby/1.9.1/phusion_passenger/rack/application_spawner.rb:129:in 
> `start'
>   /usr/lib/ruby/1.9.1/phusion_passenger/spawn_manager.rb:253:in `block (2 
> levels) in spawn_rack_application'
>   /usr/lib/ruby/1.9.1/phusion_passenger/abstract_server_collection.rb:132:in 
> `lookup_or_add'
>   /usr/lib/ruby/1.9.1/phusion_passenger/spawn_manager.rb:246:in `block in 
> spawn_rack_application'
>   /usr/lib/ruby/1.9.1/phusion_passenger/abstract_server_collection.rb:82:in 
> `block in synchronize'
>   <internal:prelude>:10:in `synchronize'
>   /usr/lib/ruby/1.9.1/phusion_passenger/abstract_server_collection.rb:79:in 
> `synchronize'
>   /usr/lib/ruby/1.9.1/phusion_passenger/spawn_manager.rb:244:in 
> `spawn_rack_application'
>   /usr/lib/ruby/1.9.1/phusion_passenger/spawn_manager.rb:137:in 
> `spawn_application'
>   /usr/lib/ruby/1.9.1/phusion_passenger/spawn_manager.rb:275:in 
> `handle_spawn_application'
>   /usr/lib/ruby/1.9.1/phusion_passenger/abstract_server.rb:357:in 
> `server_main_loop'
>   /usr/lib/ruby/1.9.1/phusion_passenger/abstract_server.rb:206:in 
> `start_synchronously'
>   /usr/share/phusion-passenger/helper-scripts/passenger-spawn-server:99:in 
> `<main>'
>
>
> I do find a file called all.js, but here:
>
> # find . -name all.js
> ./public/javascripts/all.js
>
>
>
> --

-- 
-- 
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]

--- 
You received this message because you are subscribed to the Google Groups 
"Gitorious" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to