thanks Reiner, making the change to mysql.rb fixed it, and yup i'm using ruby 1.8.6
best, andrew On Feb 22, 2008, at 6:28 AM, Reinier Balt wrote: > 1.043 has rails1.1 wich includes the issue mentioned in > > http://www.railized.com/2008/2/17/wrong-argument-error-when-running-rails-1-1-6-with-ruby-1-8-6 > > So i guess that because of this tracks1.043 does not work on > ruby1.8.6. > Could someone confirm? > > Reinier > > On Fri, 2008-02-22 at 14:34 +0100, Reinier Balt wrote: >> Hi all, >> >> On the forums someone found the solution: >> http://www.rousette.org.uk/projects/forums/viewthread/189/ >> >> Looks like an update of activerecord is needed? >> >> Reinier >> >> On Fri, 2008-02-22 at 14:29 +0100, Reinier Balt wrote: >>> Hi Andrew, >>> >>> Did you try to do a 'gem update' to get the latest ruby libs? >>> >>> As to a mobile interface, the latest trunk does have a mobile >>> interface. >>> Don't know if it works with an iPhone though... >>> >>> Reinier >>> >>> >>> On Thu, 2008-02-21 at 18:26 -0800, Andrew Hill wrote: >>>> i thought it might be related to versioning based on similar errors >>>> i've seen in the past, which is why i updated via svn to get the >>>> latest tracks. >>>> >>>> been getting this error for a few months actually, but still >>>> getting >>>> it after updating everything, so that i'm running: >>>> rails 2.0.2 >>>> ruby 1.8.6 (2007-09-24 patchlevel 111) >>>> mysql 5.0.45 >>>> >>>> i like tracks quite a bit. or at least i think i do. >>>> it's been a while since i could get it working. but i don't think >>>> anything else comes close to a good web-based GTD that i can >>>> install >>>> myself. >>>> >>>> wondering - any plans for an iphone-sized inteface? :) >>>> >>>> best, >>>> andrew >>>> >>>> >>>> >>>> On Feb 19, 2008, at 8:01 AM, Reinier Balt wrote: >>>> >>>>> I've seen this error on the forums too. I thought it had something >>>>> to do >>>>> with versioning of rails / activerecord / ruby-mysql, but I'm not >>>>> sure. Does >>>>> anyone have a solution? >>>>> >>>>> Reinier >>>>> >>>>>> -----Oorspronkelijk bericht----- >>>>>> Van: [EMAIL PROTECTED] >>>>>> [mailto:[EMAIL PROTECTED] Namens >>>>>> Andrew Hill >>>>>> Verzonden: maandag 18 februari 2008 5:37 >>>>>> Aan: Luke Melia >>>>>> CC: [email protected] >>>>>> Onderwerp: Re: [Tracks-discuss] tracks on leopard >>>>>> >>>>>> sorry - that would have made sense :) >>>>>> >>>>>> i don't have anything in the .log files, but here is the result >>>>>> of >>>>>> browsing: >>>>>> >>>>>> >>>>>> wrong number of arguments (1 for 0) >>>>>> ./script/../config/../vendor/rails/activerecord/lib/ >>>>>> active_record/ >>>>>> vendor/mysql.rb:551:in `initialize' >>>>>> ./script/../config/../vendor/rails/activerecord/lib/ >>>>>> active_record/ >>>>>> vendor/mysql.rb:551:in `new' >>>>>> ./script/../config/../vendor/rails/activerecord/lib/ >>>>>> active_record/ >>>>>> vendor/mysql.rb:551:in `scramble41' >>>>>> ./script/../config/../vendor/rails/activerecord/lib/ >>>>>> active_record/ >>>>>> vendor/mysql.rb:141:in `real_connect' >>>>>> ./script/../config/../vendor/rails/activerecord/lib/ >>>>>> active_record/ >>>>>> connection_adapters/mysql_adapter.rb:331:in `connect' >>>>>> ./script/../config/../vendor/rails/activerecord/lib/ >>>>>> active_record/ >>>>>> connection_adapters/mysql_adapter.rb:88:in `initialize' >>>>>> ./script/../config/../vendor/rails/activerecord/lib/ >>>>>> active_record/ >>>>>> connection_adapters/mysql_adapter.rb:37:in `new' >>>>>> ./script/../config/../vendor/rails/activerecord/lib/ >>>>>> active_record/ >>>>>> connection_adapters/mysql_adapter.rb:37:in `mysql_connection' >>>>>> ./script/../config/../vendor/rails/activerecord/lib/ >>>>>> active_record/ >>>>>> connection_adapters/abstract/connection_specification.rb:251:in >>>>>> `send' >>>>>> ./script/../config/../vendor/rails/activerecord/lib/ >>>>>> active_record/ >>>>>> connection_adapters/abstract/connection_specification.rb:251:in >>>>>> `connection_without_query_cache=' >>>>>> ./script/../config/../vendor/rails/activerecord/lib/ >>>>>> active_record/ >>>>>> query_cache.rb:54:in `connection=' >>>>>> ./script/../config/../vendor/rails/activerecord/lib/ >>>>>> active_record/ >>>>>> connection_adapters/abstract/connection_specification.rb:220:in >>>>>> `retrieve_connection' >>>>>> ./script/../config/../vendor/rails/activerecord/lib/ >>>>>> active_record/ >>>>>> connection_adapters/abstract/connection_specification.rb:78:in >>>>>> `connection' >>>>>> ./script/../config/../vendor/rails/activerecord/lib/ >>>>>> active_record/ >>>>>> base.rb:696:in `columns' >>>>>> ./script/../config/../vendor/rails/activerecord/lib/ >>>>>> active_record/ >>>>>> base.rb:704:in `columns_hash' >>>>>> ./script/../config/../vendor/rails/actionpack/lib/ >>>>>> action_controller/ >>>>>> session/active_record_store.rb:103:in >>>>>> `setup_sessid_compatibility!' >>>>>> ./script/../config/../vendor/rails/actionpack/lib/ >>>>>> action_controller/ >>>>>> session/active_record_store.rb:77:in `find_by_session_id' >>>>>> ./script/../config/../vendor/rails/actionpack/lib/ >>>>>> action_controller/ >>>>>> session/active_record_store.rb:281:in `initialize' >>>>>> ./script/../config/../vendor/rails/activerecord/lib/ >>>>>> active_record/ >>>>>> base.rb:794:in `silence' >>>>>> ./script/../config/../vendor/rails/actionpack/lib/ >>>>>> action_controller/ >>>>>> session/active_record_store.rb:281:in `initialize' >>>>>> /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ >>>>>> ruby/ >>>>>> 1.8/cgi/session.rb:273:in `new' >>>>>> /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ >>>>>> ruby/ >>>>>> 1.8/cgi/session.rb:273:in `initialize' >>>>>> ./script/../config/../vendor/rails/actionpack/lib/ >>>>>> action_controller/ >>>>>> cgi_process.rb:111:in `new' >>>>>> ./script/../config/../vendor/rails/actionpack/lib/ >>>>>> action_controller/ >>>>>> cgi_process.rb:111:in `session' >>>>>> ./script/../config/../vendor/rails/actionpack/lib/ >>>>>> action_controller/ >>>>>> cgi_process.rb:141:in `stale_session_check!' >>>>>> ./script/../config/../vendor/rails/actionpack/lib/ >>>>>> action_controller/ >>>>>> cgi_process.rb:107:in `session' >>>>>> ./script/../config/../vendor/rails/actionpack/lib/ >>>>>> action_controller/ >>>>>> base.rb:885:in `assign_shortcuts_without_flash' >>>>>> ./script/../config/../vendor/rails/actionpack/lib/ >>>>>> action_controller/ >>>>>> flash.rb:141:in `assign_shortcuts' >>>>>> ./script/../config/../vendor/rails/actionpack/lib/ >>>>>> action_controller/ >>>>>> base.rb:373:in `process_without_filters' >>>>>> ./script/../config/../vendor/rails/actionpack/lib/ >>>>>> action_controller/ >>>>>> filters.rb:364:in `process_without_session_management_support' >>>>>> ./script/../config/../vendor/rails/actionpack/lib/ >>>>>> action_controller/ >>>>>> session_management.rb:117:in `process' >>>>>> ./script/../config/../vendor/rails/railties/lib/dispatcher.rb: >>>>>> 38:in >>>>>> `dispatch' >>>>>> ./script/../config/../vendor/rails/railties/lib/ >>>>>> webrick_server.rb: >>>>>> 115:in `handle_dispatch' >>>>>> ./script/../config/../vendor/rails/railties/lib/ >>>>>> webrick_server.rb: >>>>>> 81:in `service' >>>>>> /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ >>>>>> ruby/ >>>>>> 1.8/webrick/httpserver.rb:104:in `service' >>>>>> /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ >>>>>> ruby/ >>>>>> 1.8/webrick/httpserver.rb:65:in `run' >>>>>> /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ >>>>>> ruby/ >>>>>> 1.8/webrick/server.rb:173:in `start_thread' >>>>>> /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ >>>>>> ruby/ >>>>>> 1.8/webrick/server.rb:162:in `start' >>>>>> /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ >>>>>> ruby/ >>>>>> 1.8/webrick/server.rb:162:in `start_thread' >>>>>> /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ >>>>>> ruby/ >>>>>> 1.8/webrick/server.rb:95:in `start' >>>>>> /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ >>>>>> ruby/ >>>>>> 1.8/webrick/server.rb:92:in `each' >>>>>> /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ >>>>>> ruby/ >>>>>> 1.8/webrick/server.rb:92:in `start' >>>>>> /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ >>>>>> ruby/ >>>>>> 1.8/webrick/server.rb:23:in `start' >>>>>> /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ >>>>>> ruby/ >>>>>> 1.8/webrick/server.rb:82:in `start' >>>>>> ./script/../config/../vendor/rails/railties/lib/ >>>>>> webrick_server.rb: >>>>>> 67:in `dispatch' >>>>>> ./script/../config/../vendor/rails/railties/lib/commands/servers/ >>>>>> webrick.rb:59 >>>>>> /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ >>>>>> ruby/ >>>>>> 1.8/rubygems/custom_require.rb:27:in `gem_original_require' >>>>>> /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ >>>>>> ruby/ >>>>>> 1.8/rubygems/custom_require.rb:27:in `require' >>>>>> ./script/../config/../vendor/rails/activesupport/lib/ >>>>>> active_support/ >>>>>> dependencies.rb:136:in `require' >>>>>> ./script/../config/../vendor/rails/railties/lib/commands/ >>>>>> server.rb:30 >>>>>> script/server:3:in `require' >>>>>> script/server:3 >>>>>> >>>>>> On Feb 17, 2008, at 8:30 PM, Luke Melia wrote: >>>>>> >>>>>>> Hi Andrew, >>>>>>> >>>>>>> Send your whole stacktrace with your error message, and maybe >>>>>>> I can >>>>>>> help. >>>>>>> >>>>>>> Cheers from NYC, >>>>>>> Luke >>>>>>> >>>>>>> On Feb 17, 2008, at 11:11 PM, Andrew Hill wrote: >>>>>>> >>>>>>>> i'm having the hardest time getting tracks up and running >>>>>> after going >>>>>>>> to Mac OS X. >>>>>>>> >>>>>>>> after some digging i've successfully done the: >>>>>>>> sudo -s >>>>>>>> ARCHFLAGS="-arch i386" gem install mysql -- --with-mysql-dir=/ >>>>>>>> usr/ >>>>>>>> local/mysql >>>>>>>> >>>>>>>> stuff, plus i've gotten tracks from svn and have also gem >>>>>> install'd >>>>>>>> rails, to make sure all is well. >>>>>>>> >>>>>>>> but i can't seem to get tracks running - getting the >>>>>> "wrong number of >>>>>>>> arguments (1 for 0)" error as my final stumbling block. >>>>>>>> >>>>>>>> anyone have an idea? >>>>>>>> >>>>>>>> thanks, >>>>>>>> andrew >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> _______________________________________________ >>>>>>>> Tracks-discuss mailing list >>>>>>>> [email protected] >>>>>>>> http://lists.rousette.org.uk/mailman/listinfo/tracks-discuss >>>>>>> >>>>>>> -- >>>>>>> Luke Melia >>>>>>> [EMAIL PROTECTED] >>>>>>> http://www.lukemelia.com/ >>>>>>> >>>>>> >>>>>> _______________________________________________ >>>>>> Tracks-discuss mailing list >>>>>> [email protected] >>>>>> http://lists.rousette.org.uk/mailman/listinfo/tracks-discuss >>>>>> >>>>> >>>>> _______________________________________________ >>>>> Tracks-discuss mailing list >>>>> [email protected] >>>>> http://lists.rousette.org.uk/mailman/listinfo/tracks-discuss >>>> >>> >> > _______________________________________________ Tracks-discuss mailing list [email protected] http://lists.rousette.org.uk/mailman/listinfo/tracks-discuss
