Re: [LogiLogi-list] Sourceforge username
Status: Beta
Brought to you by:
wybow
From: Bruno S. <bs...@gm...> - 2006-11-09 03:27:52
|
Wybo, I've gone through the problems that emerged. I added the -pPASS to the mysql command and worked fine. I've used shellscripts that ask for mysql password this way: mysql -u root -p -e "select *" this error apears now when entering "domain.com:3000/public/": ----------------------------------------------------------------------------------------------- Showing app/views/logi/_url_bars.rhtml where line #18 raised: You have a nil object when you didn't expect it! The error occured while evaluating nil.only_word? Extracted source (around line #18): 15: </div> 16: <div id="received_line"></div> 17: <div id="requests_and_prefs_bar"> 18: <center>prefs-profile-drop-down-select | <%= languages_select_flags %> | Search [searchbox]</center> 19: </div> 20: <% else %> 21: <div id="requests_and_prefs_bar"> RAILS_ROOT: script/../config/.. ----------------------------------------------------------------------------------------------- -- Bruno On 11/8/06, Bruno Sarlo <bs...@gm...> wrote: > Ok, thanks for the Ruby tips. > > When executing "rake do_dev_db" I got this errors: > > # rake do_dev_db --trace > (in /var/www/virtual/overbits.com/logilogimanta) > ** Invoke do_dev_db (first_time) > ** Execute do_dev_db > echo 'create database logilogi_development;' | mysql -u root > ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using > password: NO) > rake aborted! > Command failed with status (1): [echo 'create database logilogi_development...] > /usr/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:722:in `sh' > /usr/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:721:in `call' > /usr/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:729:in `sh' > /usr/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:812:in `sh' > /usr/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:807:in `sh' > ./lib/tasks/do_dev_db.rake:2 > ./lib/tasks/do_dev_db.rake:1:in `call' > /usr/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:387:in `execute' > /usr/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:387:in `each' > /usr/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:387:in `execute' > /usr/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:357:in `invoke' > /usr/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:350:in `synchronize' > /usr/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:350:in `invoke' > /usr/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:1906:in `run' > /usr/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:1906:in `each' > /usr/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:1906:in `run' > /usr/lib/ruby/gems/1.8/gems/rake-0.7.1/bin/rake:7 > /usr/bin/rake:18:in `load' > /usr/bin/rake:18 > > On 11/8/06, Wybo Wiersma <wy...@lo...> wrote: > > > I don't want to distract you or fill the mailing list with smal > > > tecnical questions. If you think so, please forward this to the > > > mailing and we'll continue over there the conversation. > > > > I will because this is an important thing I forgot to mention in the > > docs. I am very sorry and I hereby repent. > > > > > to be completed to work (I guess)... Could an admin default user be in > > > the default DB schema? > > > > > > This is the error anyway: > > > > > > Couldn't find User with ID=1 > > > > A few database related rake commands need to be run too, like rake > > db:migrate and rake db:migrate:engines. A rake task is included > > with Manta do do all of these in one go, it's called do_dev_db. So: > > > > rake do_dev_db > > > > does the trick (redo_dev_db, after one is in place and you need a > > newer version). > > > > I updated the documentation and committed the change. > > > > Wybo > > > > PS: I added your user-name from the previous e-mail, you have full > > developer access now. > > > > > -- > Bruno > -- Bruno |