Forums Redmine

Problem in CVS Repository

Subscribe to Problem in CVS Repository 6 post(s), 2 voice(s)

 
Avatar Sarbjeet 10 post(s)

I have created a CVS repository with
Module:some module name
CVSROOT::pserver;username=sarabjeet_s;hostname=comet:/CVSRepository

but now i am getting error to delete it

Error is like this

ActiveRecord::StatementInvalid in RepositoriesController#destroy
Mysql::Error: Can’t create/write to file ‘C:\WINDOWS\TEMP\#sql_a00_0.MYD’ (Errcode: 13): SHOW FIELDS FROM `changesets_issues`
RAILS_ROOT: C:/Program Files/BitNami Redmine Stack/redmine

Application Trace | Framework Trace | Full Trace
vendor/rails/activerecord/lib/active_record/connection_adapters/abstract_adapter.rb:150:in `log’
vendor/rails/activerecord/lib/active_record/connection_adapters/mysql_adapter.rb:281:in `execute’
vendor/rails/activerecord/lib/active_record/connection_adapters/mysql_adapter.rb:411:in `columns’
vendor/rails/activerecord/lib/active_record/associations/has_and_belongs_to_many_association.rb:147:in `finding_with_ambiguous_select?’
vendor/rails/activerecord/lib/active_record/associations/has_and_belongs_to_many_association.rb:50:in `find’
vendor/rails/activerecord/lib/active_record/associations/association_collection.rb:182:in `find_target’
vendor/rails/activerecord/lib/active_record/associations/association_proxy.rb:133:in `load_target’
vendor/rails/activerecord/lib/active_record/associations/association_collection.rb:117:in `length’
vendor/rails/activerecord/lib/active_record/associations/association_collection.rb:69:in `clear’
(eval):3:in `destroy_without_callbacks’
app/controllers/repositories_controller.rb:47:in `destroy’
vendor/rails/activerecord/lib/active_record/connection_adapters/abstract_adapter.rb:150:in `log’
vendor/rails/activerecord/lib/active_record/connection_adapters/mysql_adapter.rb:281:in `execute’
vendor/rails/activerecord/lib/active_record/connection_adapters/mysql_adapter.rb:411:in `columns’
vendor/rails/activerecord/lib/active_record/associations/has_and_belongs_to_many_association.rb:147:in `finding_with_ambiguous_select?’
vendor/rails/activerecord/lib/active_record/associations/has_and_belongs_to_many_association.rb:50:in `find’
vendor/rails/activerecord/lib/active_record/associations/association_collection.rb:182:in `find_target’
vendor/rails/activerecord/lib/active_record/associations/association_proxy.rb:133:in `load_target’
vendor/rails/activerecord/lib/active_record/associations/association_collection.rb:117:in `length’
vendor/rails/activerecord/lib/active_record/associations/association_collection.rb:69:in `clear’
vendor/rails/activerecord/lib/active_record/callbacks.rb:295:in `destroy_without_transactions’
vendor/rails/activerecord/lib/active_record/transactions.rb:104:in `destroy’
vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb:66:in `transaction’
vendor/rails/activerecord/lib/active_record/transactions.rb:80:in `transaction’
vendor/rails/activerecord/lib/active_record/transactions.rb:100:in `transaction’
vendor/rails/activerecord/lib/active_record/transactions.rb:104:in `destroy’
vendor/rails/activerecord/lib/active_record/callbacks.rb:309:in `callback’
vendor/rails/activerecord/lib/active_record/associations/association_proxy.rb:125:in `each’
vendor/rails/activerecord/lib/active_record/associations/association_proxy.rb:125:in `send’
vendor/rails/activerecord/lib/active_record/associations/association_proxy.rb:125:in `method_missing’
vendor/rails/activerecord/lib/active_record/associations/association_collection.rb:162:in `method_missing’
vendor/rails/activerecord/lib/active_record/callbacks.rb:309:in `callback’
vendor/rails/activerecord/lib/active_record/callbacks.rb:309:in `callback’
vendor/rails/activerecord/lib/active_record/callbacks.rb:304:in `each’
vendor/rails/activerecord/lib/active_record/callbacks.rb:304:in `callback’
vendor/rails/activerecord/lib/active_record/callbacks.rb:294:in `destroy_without_transactions’
vendor/rails/activerecord/lib/active_record/transactions.rb:104:in `destroy’
vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb:66:in `transaction’
vendor/rails/activerecord/lib/active_record/transactions.rb:80:in `transaction’
vendor/rails/activerecord/lib/active_record/transactions.rb:100:in `transaction’
vendor/rails/activerecord/lib/active_record/transactions.rb:104:in `destroy’
vendor/rails/activerecord/lib/active_record/associations/association_proxy.rb:125:in `send’
vendor/rails/activerecord/lib/active_record/associations/association_proxy.rb:125:in `method_missing’
vendor/rails/actionpack/lib/action_controller/base.rb:1158:in `send’
vendor/rails/actionpack/lib/action_controller/base.rb:1158:in `perform_action_without_filters’
vendor/rails/actionpack/lib/action_controller/filters.rb:697:in `call_filters’
vendor/rails/actionpack/lib/action_controller/filters.rb:689:in `perform_action_without_benchmark’
vendor/rails/actionpack/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue’
C:/PROGRA1/BITNAM1/ruby/lib/ruby/1.8/benchmark.rb:293:in `measure’
vendor/rails/actionpack/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue’
vendor/rails/actionpack/lib/action_controller/rescue.rb:199:in `perform_action_without_caching’
vendor/rails/actionpack/lib/action_controller/caching.rb:678:in `perform_action’
vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb:33:in `cache’
vendor/rails/activerecord/lib/active_record/query_cache.rb:8:in `cache’
vendor/rails/actionpack/lib/action_controller/caching.rb:677:in `perform_action’
vendor/rails/actionpack/lib/action_controller/base.rb:524:in `send’
vendor/rails/actionpack/lib/action_controller/base.rb:524:in `process_without_filters’
vendor/rails/actionpack/lib/action_controller/filters.rb:685:in `process_without_session_management_support’
vendor/rails/actionpack/lib/action_controller/session_management.rb:123:in `process’
vendor/rails/actionpack/lib/action_controller/base.rb:388:in `process’
vendor/rails/actionpack/lib/action_controller/dispatcher.rb:171:in `handle_request’
vendor/rails/actionpack/lib/action_controller/dispatcher.rb:115:in `dispatch’
vendor/rails/actionpack/lib/action_controller/dispatcher.rb:126:in `dispatch_cgi’
vendor/rails/actionpack/lib/action_controller/dispatcher.rb:9:in `dispatch’
C:/PROGRA1/BITNAM1/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/lib/mongrel/rails.rb:76:in `process’
C:/PROGRA1/BITNAM1/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/lib/mongrel/rails.rb:74:in `synchronize’
C:/PROGRA1/BITNAM1/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/lib/mongrel/rails.rb:74:in `process’
C:/PROGRA1/BITNAM1/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/lib/mongrel.rb:159:in `process_client’
C:/PROGRA1/BITNAM1/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/lib/mongrel.rb:158:in `each’
C:/PROGRA1/BITNAM1/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/lib/mongrel.rb:158:in `process_client’
C:/PROGRA1/BITNAM1/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/lib/mongrel.rb:285:in `run’
C:/PROGRA1/BITNAM1/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/lib/mongrel.rb:285:in `initialize’
C:/PROGRA1/BITNAM1/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/lib/mongrel.rb:285:in `new’
C:/PROGRA1/BITNAM1/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/lib/mongrel.rb:285:in `run’
C:/PROGRA1/BITNAM1/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/lib/mongrel.rb:268:in `initialize’
C:/PROGRA1/BITNAM1/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/lib/mongrel.rb:268:in `new’
C:/PROGRA1/BITNAM1/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/lib/mongrel.rb:268:in `run’
C:/PROGRA1/BITNAM1/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/lib/mongrel/configurator.rb:282:in `run’
C:/PROGRA1/BITNAM1/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/lib/mongrel/configurator.rb:281:in `each’
C:/PROGRA1/BITNAM1/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/lib/mongrel/configurator.rb:281:in `run’
C:/PROGRA1/BITNAM1/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/bin/mongrel_rails:128:in `run’
C:/PROGRA1/BITNAM1/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/lib/mongrel/command.rb:212:in `run’
C:/PROGRA1/BITNAM1/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/bin/mongrel_rails:281
vendor/rails/activesupport/lib/active_support/dependencies.rb:489:in `load’
vendor/rails/activesupport/lib/active_support/dependencies.rb:489:in `load’
vendor/rails/activesupport/lib/active_support/dependencies.rb:342:in `new_constants_in’
vendor/rails/activesupport/lib/active_support/dependencies.rb:489:in `load’
vendor/rails/railties/lib/commands/servers/mongrel.rb:64
C:/PROGRA1/BITNAM1/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require’
C:/PROGRA1/BITNAM1/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require’
vendor/rails/activesupport/lib/active_support/dependencies.rb:496:in `require’
vendor/rails/activesupport/lib/active_support/dependencies.rb:342:in `new_constants_in’
vendor/rails/activesupport/lib/active_support/dependencies.rb:496:in `require’
vendor/rails/railties/lib/commands/server.rb:39
C:/PROGRA1/BITNAM1/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require’
C:/PROGRA1/BITNAM1/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require’
script/server:3
vendor/rails/activerecord/lib/active_record/connection_adapters/abstract_adapter.rb:150:in `log’
vendor/rails/activerecord/lib/active_record/connection_adapters/mysql_adapter.rb:281:in `execute’
vendor/rails/activerecord/lib/active_record/connection_adapters/mysql_adapter.rb:411:in `columns’
vendor/rails/activerecord/lib/active_record/associations/has_and_belongs_to_many_association.rb:147:in `finding_with_ambiguous_select?’
vendor/rails/activerecord/lib/active_record/associations/has_and_belongs_to_many_association.rb:50:in `find’
vendor/rails/activerecord/lib/active_record/associations/association_collection.rb:182:in `find_target’
vendor/rails/activerecord/lib/active_record/associations/association_proxy.rb:133:in `load_target’
vendor/rails/activerecord/lib/active_record/associations/association_collection.rb:117:in `length’
vendor/rails/activerecord/lib/active_record/associations/association_collection.rb:69:in `clear’
(eval):3:in `destroy_without_callbacks’
vendor/rails/activerecord/lib/active_record/callbacks.rb:295:in `destroy_without_transactions’
vendor/rails/activerecord/lib/active_record/transactions.rb:104:in `destroy’
vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb:66:in `transaction’
vendor/rails/activerecord/lib/active_record/transactions.rb:80:in `transaction’
vendor/rails/activerecord/lib/active_record/transactions.rb:100:in `transaction’
vendor/rails/activerecord/lib/active_record/transactions.rb:104:in `destroy’
vendor/rails/activerecord/lib/active_record/callbacks.rb:309:in `callback’
vendor/rails/activerecord/lib/active_record/associations/association_proxy.rb:125:in `each’
vendor/rails/activerecord/lib/active_record/associations/association_proxy.rb:125:in `send’
vendor/rails/activerecord/lib/active_record/associations/association_proxy.rb:125:in `method_missing’
vendor/rails/activerecord/lib/active_record/associations/association_collection.rb:162:in `method_missing’
vendor/rails/activerecord/lib/active_record/callbacks.rb:309:in `callback’
vendor/rails/activerecord/lib/active_record/callbacks.rb:309:in `callback’
vendor/rails/activerecord/lib/active_record/callbacks.rb:304:in `each’
vendor/rails/activerecord/lib/active_record/callbacks.rb:304:in `callback’
vendor/rails/activerecord/lib/active_record/callbacks.rb:294:in `destroy_without_transactions’
vendor/rails/activerecord/lib/active_record/transactions.rb:104:in `destroy’
vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb:66:in `transaction’
vendor/rails/activerecord/lib/active_record/transactions.rb:80:in `transaction’
vendor/rails/activerecord/lib/active_record/transactions.rb:100:in `transaction’
vendor/rails/activerecord/lib/active_record/transactions.rb:104:in `destroy’
vendor/rails/activerecord/lib/active_record/associations/association_proxy.rb:125:in `send’
vendor/rails/activerecord/lib/active_record/associations/association_proxy.rb:125:in `method_missing’
app/controllers/repositories_controller.rb:47:in `destroy’
vendor/rails/actionpack/lib/action_controller/base.rb:1158:in `send’
vendor/rails/actionpack/lib/action_controller/base.rb:1158:in `perform_action_without_filters’
vendor/rails/actionpack/lib/action_controller/filters.rb:697:in `call_filters’
vendor/rails/actionpack/lib/action_controller/filters.rb:689:in `perform_action_without_benchmark’
vendor/rails/actionpack/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue’
C:/PROGRA1/BITNAM1/ruby/lib/ruby/1.8/benchmark.rb:293:in `measure’
vendor/rails/actionpack/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue’
vendor/rails/actionpack/lib/action_controller/rescue.rb:199:in `perform_action_without_caching’
vendor/rails/actionpack/lib/action_controller/caching.rb:678:in `perform_action’
vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb:33:in `cache’
vendor/rails/activerecord/lib/active_record/query_cache.rb:8:in `cache’
vendor/rails/actionpack/lib/action_controller/caching.rb:677:in `perform_action’
vendor/rails/actionpack/lib/action_controller/base.rb:524:in `send’
vendor/rails/actionpack/lib/action_controller/base.rb:524:in `process_without_filters’
vendor/rails/actionpack/lib/action_controller/filters.rb:685:in `process_without_session_management_support’
vendor/rails/actionpack/lib/action_controller/session_management.rb:123:in `process’
vendor/rails/actionpack/lib/action_controller/base.rb:388:in `process’
vendor/rails/actionpack/lib/action_controller/dispatcher.rb:171:in `handle_request’
vendor/rails/actionpack/lib/action_controller/dispatcher.rb:115:in `dispatch’
vendor/rails/actionpack/lib/action_controller/dispatcher.rb:126:in `dispatch_cgi’
vendor/rails/actionpack/lib/action_controller/dispatcher.rb:9:in `dispatch’
C:/PROGRA1/BITNAM1/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/lib/mongrel/rails.rb:76:in `process’
C:/PROGRA1/BITNAM1/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/lib/mongrel/rails.rb:74:in `synchronize’
C:/PROGRA1/BITNAM1/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/lib/mongrel/rails.rb:74:in `process’
C:/PROGRA1/BITNAM1/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/lib/mongrel.rb:159:in `process_client’
C:/PROGRA1/BITNAM1/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/lib/mongrel.rb:158:in `each’
C:/PROGRA1/BITNAM1/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/lib/mongrel.rb:158:in `process_client’
C:/PROGRA1/BITNAM1/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/lib/mongrel.rb:285:in `run’
C:/PROGRA1/BITNAM1/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/lib/mongrel.rb:285:in `initialize’
C:/PROGRA1/BITNAM1/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/lib/mongrel.rb:285:in `new’
C:/PROGRA1/BITNAM1/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/lib/mongrel.rb:285:in `run’
C:/PROGRA1/BITNAM1/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/lib/mongrel.rb:268:in `initialize’
C:/PROGRA1/BITNAM1/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/lib/mongrel.rb:268:in `new’
C:/PROGRA1/BITNAM1/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/lib/mongrel.rb:268:in `run’
C:/PROGRA1/BITNAM1/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/lib/mongrel/configurator.rb:282:in `run’
C:/PROGRA1/BITNAM1/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/lib/mongrel/configurator.rb:281:in `each’
C:/PROGRA1/BITNAM1/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/lib/mongrel/configurator.rb:281:in `run’
C:/PROGRA1/BITNAM1/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/bin/mongrel_rails:128:in `run’
C:/PROGRA1/BITNAM1/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/lib/mongrel/command.rb:212:in `run’
C:/PROGRA1/BITNAM1/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/bin/mongrel_rails:281
vendor/rails/activesupport/lib/active_support/dependencies.rb:489:in `load’
vendor/rails/activesupport/lib/active_support/dependencies.rb:489:in `load’
vendor/rails/activesupport/lib/active_support/dependencies.rb:342:in `new_constants_in’
vendor/rails/activesupport/lib/active_support/dependencies.rb:489:in `load’
vendor/rails/railties/lib/commands/servers/mongrel.rb:64
C:/PROGRA1/BITNAM1/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require’
C:/PROGRA1/BITNAM1/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require’
vendor/rails/activesupport/lib/active_support/dependencies.rb:496:in `require’
vendor/rails/activesupport/lib/active_support/dependencies.rb:342:in `new_constants_in’
vendor/rails/activesupport/lib/active_support/dependencies.rb:496:in `require’
vendor/rails/railties/lib/commands/server.rb:39
C:/PROGRA1/BITNAM1/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require’
C:/PROGRA1/BITNAM1/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require’
script/server:3
Request
Parameters:

{“id”=>”kms”}

Show session dump

-
boardsindex_sort: :key: messages.updated_on :order: desc
projectslist_files_sort: :key: attachments.filename :order: asc
:return_to_params:
:user_id: 1
issuesindex_sort: :key: issues.id :order: desc
flash: !map:ActionController::Flash::FlashHash {}

:query: :filters: status_id: :values: – ”” :operator: o :project_id: 1

Response
Headers:

{“cookie”=>[], “Cache-Control”=>”no-cache”}

Help me Out
Thanks,
Sarbjeet

 
Avatar beltran Administrator 417 post(s)

Hi,

Sorry I do not know what is doing wrong. We use the Redmine Stack with CVS and we have not any problem. Maybe in the Redmine forums you can find more help.

Cheers

 
Avatar Sarbjeet 10 post(s)

ok can you tell me how it looks. Are you able to access all the files? Is it showing the file structure as we can see in CVS? Actually CVS repository works for me now but its just showing the difference between files without showing the file structure.

 
Avatar beltran Administrator 417 post(s)

Yes, if you specify the repository root in the seetings you can see the directory structure in the “Repository” tag into the project.

 
Avatar Sarbjeet 10 post(s)

ya I have passed the CVSROOT as :pserver:sarbjeet_s:password@comet:/CVSRepository and some module.

but it again showing me the differences b/w files only. But it doesn’t show the directory structure.

 
Avatar beltran Administrator 417 post(s)

Oupss, sorry I have been talking about SVN, I do not know if it is possible with CVS. I apologize for the inconvenience.

Cheers

Forums Redmine