bborn / communityengine
- Source
- Commits
- Network (112)
- Issues (2)
- Downloads (7)
- Wiki (3)
- Graphs
-
Branch:
master
Pledgie Donations
Once activated, we'll place the following badge in your repository's detail box:
Adds basic social networking capabilities to your existing application, including users, blogs, photos, clippings, favorites, and more. — Read more
-
Hi, I'm getting this error since I checked in my project into svn. Maybe the problem lies in rails_asset_extensions.rb in the line "FileUtils.cp_r(asset_path, "#{RAILS_ROOT}/public/#{EnginesHelper.plugin_assets_directory}/#{plugin}/.", :preserve => true)". I think CE is trying to copy the .svn-folders along with the plugin-assets into the public-folder of the app(?) and fails with "Permission denied". Maybe it would work if the Line excludes svn-specific folders?
(Setting self.autoload_assets = false can fix the problem for the moment.)
adding a :verbose => true to FileUtils.cp_r gives:
cp -rp /Users/username/languageschool/vendor/plugins/community_engine/public/charts /Users/username/languageschool/public/plugin_assets/community_engine/.greetz, flo.
TRACE:
=> Booting Mongrel => Rails 2.3.2 application starting on http://0.0.0.0:3000 /usr/local/lib/ruby/1.8/fileutils.rb:1262:in `initialize': Permission denied - /Users/username/languageschool/public/plugin_assets/community_engine/./charts/.svn/all-wcprops (Errno::EACCES) from /usr/local/lib/ruby/1.8/fileutils.rb:1262:in `open' from /usr/local/lib/ruby/1.8/fileutils.rb:1262:in `copy_file' from /usr/local/lib/ruby/1.8/fileutils.rb:1261:in `open' from /usr/local/lib/ruby/1.8/fileutils.rb:1261:in `copy_file' from /usr/local/lib/ruby/1.8/fileutils.rb:1231:in `copy' from /usr/local/lib/ruby/1.8/fileutils.rb:451:in `copy_entry' from /usr/local/lib/ruby/1.8/fileutils.rb:1324:in `traverse' from /usr/local/lib/ruby/1.8/fileutils.rb:448:in `copy_entry' from /usr/local/lib/ruby/1.8/fileutils.rb:423:in `cp_r' from /usr/local/lib/ruby/1.8/fileutils.rb:1395:in `fu_each_src_dest' from /usr/local/lib/ruby/1.8/fileutils.rb:1409:in `fu_each_src_dest0' from /usr/local/lib/ruby/1.8/fileutils.rb:1393:in `fu_each_src_dest' from /usr/local/lib/ruby/1.8/fileutils.rb:422:in `cp_r' from /Users/username/languageschool/vendor/plugins/community_engine/lib/rails_asset_extensions.rb:19:in `propagate' from /Users/username/languageschool/vendor/plugins/community_engine/lib/rails_asset_extensions.rb:18:in `each' from /Users/username/languageschool/vendor/plugins/community_engine/lib/rails_asset_extensions.rb:18:in `propagate' from /Users/username/languageschool/vendor/plugins/community_engine/lib/rails_asset_extensions.rb:16:in `each' from /Users/username/languageschool/vendor/plugins/community_engine/lib/rails_asset_extensions.rb:16:in `propagate' from /Users/username/languageschool/vendor/plugins/community_engine/lib/rails_asset_extensions.rb:132 from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require' from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require' from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/dependencies.rb:156:in `require_without_desert' from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/dependencies.rb:521:in `new_constants_in' from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/dependencies.rb:156:in `require_without_desert' from /usr/local/lib/ruby/gems/1.8/gems/desert-0.5.0/lib/desert/ruby/object.rb:8:in `require' from /usr/local/lib/ruby/gems/1.8/gems/desert-0.5.0/lib/desert/ruby/object.rb:28:in `__each_matching_file' from /usr/local/lib/ruby/gems/1.8/gems/desert-0.5.0/lib/desert/ruby/object.rb:27:in `each' from /usr/local/lib/ruby/gems/1.8/gems/desert-0.5.0/lib/desert/ruby/object.rb:27:in `__each_matching_file' from /usr/local/lib/ruby/gems/1.8/gems/desert-0.5.0/lib/desert/ruby/object.rb:7:in `require' from /Users/username/languageschool/vendor/plugins/community_engine/lib/community_engine.rb:42 from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require' from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require' from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/dependencies.rb:156:in `require_without_desert' from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/dependencies.rb:521:in `new_constants_in' from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/dependencies.rb:156:in `require_without_desert' from /usr/local/lib/ruby/gems/1.8/gems/desert-0.5.0/lib/desert/ruby/object.rb:8:in `require' from /usr/local/lib/ruby/gems/1.8/gems/desert-0.5.0/lib/desert/ruby/object.rb:28:in `__each_matching_file' from /usr/local/lib/ruby/gems/1.8/gems/desert-0.5.0/lib/desert/ruby/object.rb:27:in `each' from /usr/local/lib/ruby/gems/1.8/gems/desert-0.5.0/lib/desert/ruby/object.rb:27:in `__each_matching_file' from /usr/local/lib/ruby/gems/1.8/gems/desert-0.5.0/lib/desert/ruby/object.rb:7:in `require' from /Users/username/languageschool/vendor/plugins/community_engine/init.rb:37:in `evaluate_init_rb' from /usr/local/lib/ruby/gems/1.8/gems/rails-2.3.2/lib/rails/plugin.rb:146:in `evaluate_init_rb' from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/core_ext/kernel/reporting.rb:11:in `silence_warnings' from /usr/local/lib/ruby/gems/1.8/gems/rails-2.3.2/lib/rails/plugin.rb:142:in `evaluate_init_rb' from /usr/local/lib/ruby/gems/1.8/gems/rails-2.3.2/lib/rails/plugin.rb:48:in `load_without_desert' from /usr/local/lib/ruby/gems/1.8/gems/desert-0.5.0/lib/desert/rails/2.0.0/plugin.rb:16:in `load' from /usr/local/lib/ruby/gems/1.8/gems/desert-0.5.0/lib/desert/manager.rb:45:in `register_plugin' from /usr/local/lib/ruby/gems/1.8/gems/desert-0.5.0/lib/desert/manager.rb:11:in `__send__' from /usr/local/lib/ruby/gems/1.8/gems/desert-0.5.0/lib/desert/manager.rb:11:in `method_missing' from /usr/local/lib/ruby/gems/1.8/gems/desert-0.5.0/lib/desert/rails/2.0.0/plugin.rb:15:in `load' from /usr/local/lib/ruby/gems/1.8/gems/rails-2.3.2/lib/rails/plugin/loader.rb:38:in `load_plugins' from /usr/local/lib/ruby/gems/1.8/gems/rails-2.3.2/lib/rails/plugin/loader.rb:37:in `each' from /usr/local/lib/ruby/gems/1.8/gems/rails-2.3.2/lib/rails/plugin/loader.rb:37:in `load_plugins' from /usr/local/lib/ruby/gems/1.8/gems/rails-2.3.2/lib/initializer.rb:348:in `load_plugins' from /usr/local/lib/ruby/gems/1.8/gems/rails-2.3.2/lib/initializer.rb:163:in `process' from /usr/local/lib/ruby/gems/1.8/gems/rails-2.3.2/lib/initializer.rb:113:in `send' from /usr/local/lib/ruby/gems/1.8/gems/rails-2.3.2/lib/initializer.rb:113:in `run' from /Users/username/languageschool/config/environment.rb:11 from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require' from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require' from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/dependencies.rb:156:in `require' from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/dependencies.rb:521:in `new_constants_in' from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/dependencies.rb:156:in `require' from /usr/local/lib/ruby/gems/1.8/gems/rails-2.3.2/lib/commands/server.rb:84 from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require' from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require' from script/server:3Comments
-
Can't migrate when deploying CE on Postgres. I get the following error when lauching "rake db:migrate"
RuntimeError: ERROR C25P02 Mcurrent transaction is aborted, commands ignored until end of transaction block Fpostgres.c L906 Rexec_simple_query: SELECT version FROM plugin_schema_migrations WHERE plugin_name = 'community_engine'
with the trace activated :
RuntimeError: ERROR C25P02 Mcurrent transaction is aborted, commands ignored until end of transaction block Fpostgres.cL906 Rexec_simple_query: SELECT version FROM plugin_schema_migrations WHERE plugin_name = 'community_engine' /home/steph/.gem/ruby/1.8/gems/activerecord-2.3.2/lib/active_record/connection_adapters/abstract_adapter.rb:212:in log' /home/steph/.gem/ruby/1.8/gems/activerecord-2.3.2/lib/active_record/connection_adapters/postgresql_adapter.rb:507:inexecute' /home/steph/.gem/ruby/1.8/gems/activerecord-2.3.2/lib/active_record/connection_adapters/postgresql_adapter.rb:985:in select_raw' /home/steph/.gem/ruby/1.8/gems/activerecord-2.3.2/lib/active_record/connection_adapters/postgresql_adapter.rb:435:inselect_rows' /home/steph/.gem/ruby/1.8/gems/activerecord-2.3.2/lib/active_record/connection_adapters/abstract/database_statements.rb:27:in select_values' /media/Data/Steph/projets/entrenounous/vendor/plugins/community_engine/init.rb:25:incurrent_version' /home/steph/.gem/ruby/1.8/gems/activerecord-2.3.2/lib/active_record/migration.rb:384:in migrate' /var/lib/gems/1.8/gems/desert-0.5.0/lib/desert/plugin_migrations/migrator.rb:16:inmigrate_plugin' /var/lib/gems/1.8/gems/desert-0.5.0/lib/desert/rails/migration.rb:5:in migrate_plugin' ./db/migrate//20090806141335_community_engine_to_version_62.rb:3:inup_without_benchmarks' /home/steph/.gem/ruby/1.8/gems/activerecord-2.3.2/lib/active_record/migration.rb:282:in send' /home/steph/.gem/ruby/1.8/gems/activerecord-2.3.2/lib/active_record/migration.rb:282:inmigrate' /usr/lib/ruby/1.8/benchmark.rb:293:in measure' /home/steph/.gem/ruby/1.8/gems/activerecord-2.3.2/lib/active_record/migration.rb:282:inmigrate' (DELEGATION):2:in send' (DELEGATION):2:inmigrate' /home/steph/.gem/ruby/1.8/gems/activerecord-2.3.2/lib/active_record/migration.rb:486:in migrate' /home/steph/.gem/ruby/1.8/gems/activerecord-2.3.2/lib/active_record/migration.rb:560:incall' /home/steph/.gem/ruby/1.8/gems/activerecord-2.3.2/lib/active_record/migration.rb:560:in ddl_transaction' /home/steph/.gem/ruby/1.8/gems/activerecord-2.3.2/lib/active_record/connection_adapters/abstract/database_statements.rb:136:intransaction' /home/steph/.gem/ruby/1.8/gems/activerecord-2.3.2/lib/active_record/transactions.rb:182:in transaction' /home/steph/.gem/ruby/1.8/gems/activerecord-2.3.2/lib/active_record/migration.rb:560:inddl_transaction' /home/steph/.gem/ruby/1.8/gems/activerecord-2.3.2/lib/active_record/migration.rb:485:in migrate' /home/steph/.gem/ruby/1.8/gems/activerecord-2.3.2/lib/active_record/migration.rb:472:ineach' /home/steph/.gem/ruby/1.8/gems/activerecord-2.3.2/lib/active_record/migration.rb:472:in migrate' /home/steph/.gem/ruby/1.8/gems/activerecord-2.3.2/lib/active_record/migration.rb:400:inup' /home/steph/.gem/ruby/1.8/gems/activerecord-2.3.2/lib/active_record/migration.rb:383:in migrate' /home/steph/.gem/ruby/1.8/gems/rails-2.3.2/lib/tasks/databases.rake:116 /usr/lib/ruby/1.8/rake.rb:546:incall' /usr/lib/ruby/1.8/rake.rb:546:in execute' /usr/lib/ruby/1.8/rake.rb:541:ineach' /usr/lib/ruby/1.8/rake.rb:541:in execute' /usr/lib/ruby/1.8/rake.rb:508:ininvoke_with_call_chain' /usr/lib/ruby/1.8/rake.rb:501:in synchronize' /usr/lib/ruby/1.8/rake.rb:501:ininvoke_with_call_chain' /usr/lib/ruby/1.8/rake.rb:494:in invoke' /usr/lib/ruby/1.8/rake.rb:1931:ininvoke_task' /usr/lib/ruby/1.8/rake.rb:1909:in top_level' /usr/lib/ruby/1.8/rake.rb:1909:ineach' /usr/lib/ruby/1.8/rake.rb:1909:in top_level' /usr/lib/ruby/1.8/rake.rb:1948:instandard_exception_handling' /usr/lib/ruby/1.8/rake.rb:1903:in top_level' /usr/lib/ruby/1.8/rake.rb:1881:inrun' /usr/lib/ruby/1.8/rake.rb:1948:in standard_exception_handling' /usr/lib/ruby/1.8/rake.rb:1878:inrun' /usr/bin/rake:28
The migration of CE from Engines to Desert could have broken its Postgres compatibility ...
Comments
This issue was due to a problem in the desert gem. A patch for this issue has been provided by cauta (git://github.com/cauta/desert.git).
-
Running rake community_engine:test take several hours
1 comment Created 5 months ago by lgsRunning rake community_engine:test is taking several hours on my machine. I can see 3 or 4 processes waiting for IO, while the CPU is just used for ~1/3 (75% idle):
see: http://gist.github.com/152183
I think it could be someting to do with thread :
see: http://gist.github.com/152180
It also seems to wait forever : http://gist.github.com/152185
any idea ?
Bye LucaSystem :
root@webby2066:~# ruby -v
ruby 1.8.7 (2008-08-11 patchlevel 72) [x86_64-linux]
root@webby2066:~# uname -a
Linux webby2066 2.6.18-92.1.18.el5xen #1 SMP Wed Nov 12 09:48:10 EST 2008 x86_64 GNU/Linux
root@webby2066:~# rails -v
Rails 2.3.2
root@webby2066:~#Comments
-
Could not locate the following plugins: white_list (LoadError)
0 comments Created 7 months ago by vtypalI get this LoadError after trying to install CE (rails 2.3.2) Edge (tried the git and the tar-version)
All required passes as described in the documentation have been succesfully completed.$ script/generate plugin_migration /usr/local/lib/ruby/gems/1.8/gems/rails-2.3.2/lib/rails/plugin/loader.rb:184:in `ensure_all_registered_plugins_are_loaded!': Could not locate the following plugins: white_list (LoadError)
Please could you help me with this?
Comments
-
As soon as I change the routes.rb - I get an error.
scott@ubuntuServer:/var/rails/www$ script/generate plugin_migration
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/routing/builder.rb:159:inbuild': undefined method[]' for :community_engine:Symbol (NoMethodError)from /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/routing/route_set.rb:308:in `add_route' from /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/routing/route_set.rb:316:in `add_named_route'Comments
The master branch does not. The edge branch is Rails 2.3.2 compatible.
Update: CE master is now Rails 2.3.2 compatible. Edge is 2.3.4 compatible.
admindexter
Thu Dec 17 07:35:58 -0800 2009
| link
I get the following error.
/home/dextersmart/Documents/www/rails_app/pulltheloan/vendor/plugins/community_engine/lib/mime/types.rb:1531:in
<top (required)>': undefined methodeach' for #<String:0xa6d05c8> (NoMethodError)This happens immediately I enter $ script/generate plugin_migration.
I am running linuxmint 7 and rails 2.3.5
Any ideas.
-
test
Comments




