[typo] Typo not working under Leopard!

Frederic de Villamil neuro at 7el.net
Fri Nov 2 04:05:52 EDT 2007


Well, if you haven't backed your mysql database up before installing  
your new OS, it's obvious you've lost it and unfortunately, we can't  
do anything about it yet.

Regards
Frédéric

Le 2 nov. 07 à 08:51, Eamon Ford a écrit :

> OK, here's what production.log says. Does this mean I have to  
> reinstall MySQL? Oh crap... does that also mean I've lost  
> everything in my Typo database?
>
>
> Processing ArticlesController#index (for 192.168.0.3 at 2007-11-02  
> 00:47:59) [GET]
>   Parameters: {"action"=>"index", "controller"=>"articles"}
>
>
> Errno::ENOENT (No such file or directory - /tmp/mysql.sock):
>     /vendor/rails/activerecord/lib/active_record/vendor/mysql.rb: 
> 104:in `initialize'
>     /vendor/rails/activerecord/lib/active_record/vendor/mysql.rb: 
> 104:in `new'
>     /vendor/rails/activerecord/lib/active_record/vendor/mysql.rb: 
> 104:in `real_connect'
>     /vendor/rails/activerecord/lib/active_record/ 
> connection_adapters/mysql_adapter.rb:330:in `connect'
>     /vendor/rails/activerecord/lib/active_record/ 
> connection_adapters/mysql_adapter.rb:87:in `initialize'
>     /vendor/rails/activerecord/lib/active_record/ 
> connection_adapters/mysql_adapter.rb:36:in `new'
>     /vendor/rails/activerecord/lib/active_record/ 
> connection_adapters/mysql_adapter.rb:36:in `mysql_connection'
>     /vendor/rails/activerecord/lib/active_record/ 
> connection_adapters/abstract/connection_specification.rb:251:in `send'
>     /vendor/rails/activerecord/lib/active_record/ 
> connection_adapters/abstract/connection_specification.rb:251:in  
> `connection_without_query_cache='
>     /vendor/rails/activerecord/lib/active_record/query_cache.rb: 
> 54:in `connection='
>     /vendor/rails/activerecord/lib/active_record/ 
> connection_adapters/abstract/connection_specification.rb:220:in  
> `retrieve_connection'
>     /vendor/rails/activerecord/lib/active_record/ 
> connection_adapters/abstract/connection_specification.rb:78:in  
> `connection'
>     /vendor/rails/activerecord/lib/active_record/base.rb:1046:in  
> `add_limit!'
>     /vendor/rails/activerecord/lib/active_record/base.rb:1017:in  
> `construct_finder_sql'
>     /vendor/rails/activerecord/lib/active_record/base.rb:924:in  
> `find_every'
>     /vendor/rails/activerecord/lib/active_record/base.rb:918:in  
> `find_initial'
>     /vendor/rails/activerecord/lib/active_record/base.rb:380:in `find'
>     /app/models/blog.rb:115:in `default'
>     /app/controllers/application.rb:40:in `get_the_blog_object'
>     /vendor/rails/actionpack/lib/action_controller/filters.rb: 
> 399:in `send'
>     /vendor/rails/actionpack/lib/action_controller/filters.rb: 
> 399:in `call_filters'
>     /vendor/rails/actionpack/lib/action_controller/filters.rb: 
> 394:in `each'
>     /vendor/rails/actionpack/lib/action_controller/filters.rb: 
> 394:in `call_filters'
>     /vendor/rails/actionpack/lib/action_controller/filters.rb: 
> 383:in `before_action'
>     /vendor/rails/actionpack/lib/action_controller/filters.rb: 
> 365:in `perform_action_without_benchmark'
>     /vendor/rails/actionpack/lib/action_controller/benchmarking.rb: 
> 69:in `perform_action_without_rescue'
>     /usr/local/lib/ruby/1.8/benchmark.rb:293:in `measure'
>     /vendor/rails/actionpack/lib/action_controller/benchmarking.rb: 
> 69:in `perform_action_without_rescue'
>     /vendor/rails/actionpack/lib/action_controller/rescue.rb:82:in  
> `perform_action'
>     /vendor/rails/actionpack/lib/action_controller/base.rb:408:in  
> `send'
>     /vendor/rails/actionpack/lib/action_controller/base.rb:408:in  
> `process_without_filters'
>     /vendor/rails/actionpack/lib/action_controller/filters.rb: 
> 377:in `process_without_session_management_support'
>     /vendor/rails/actionpack/lib/action_controller/ 
> session_management.rb:117:in `process'
>     /vendor/rails/railties/lib/dispatcher.rb:38:in `dispatch'
>     /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel/ 
> rails.rb:78:in `process'
>     /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel/ 
> rails.rb:76:in `synchronize'
>     /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel/ 
> rails.rb:76:in `process'
>     /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel.rb: 
> 618:in `process_client'
>     /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel.rb: 
> 617:in `each'
>     /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel.rb: 
> 617:in `process_client'
>     /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel.rb: 
> 736:in `run'
>     /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel.rb: 
> 736:in `initialize'
>     /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel.rb: 
> 736:in `new'
>     /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel.rb: 
> 736:in `run'
>     /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel.rb: 
> 720:in `initialize'
>     /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel.rb: 
> 720:in `new'
>     /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel.rb: 
> 720:in `run'
>     /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel/ 
> configurator.rb:271:in `run'
>     /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel/ 
> configurator.rb:270:in `each'
>     /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel/ 
> configurator.rb:270:in `run'
>     /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.0.1/bin/ 
> mongrel_rails:127:in `run'
>     /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel/ 
> command.rb:211:in `run'
>     /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.0.1/bin/ 
> mongrel_rails:243
>     /usr/local/bin/mongrel_rails:16:in `load'
>     /usr/local/bin/mongrel_rails:16
>
>
>
>
> Processing Base#index (for 192.168.0.3 at 2007-11-02 00:47:59) [GET]
>   Parameters: {"action"=>"index", "controller"=>"articles"}
>
>
> Errno::ENOENT (No such file or directory - /tmp/mysql.sock):
>     /vendor/rails/activerecord/lib/active_record/vendor/mysql.rb: 
> 104:in `initialize'
>     /vendor/rails/activerecord/lib/active_record/vendor/mysql.rb: 
> 104:in `new'
>     /vendor/rails/activerecord/lib/active_record/vendor/mysql.rb: 
> 104:in `real_connect'
>     /vendor/rails/activerecord/lib/active_record/ 
> connection_adapters/mysql_adapter.rb:330:in `connect'
>     /vendor/rails/activerecord/lib/active_record/ 
> connection_adapters/mysql_adapter.rb:87:in `initialize'
>     /vendor/rails/activerecord/lib/active_record/ 
> connection_adapters/mysql_adapter.rb:36:in `new'
>     /vendor/rails/activerecord/lib/active_record/ 
> connection_adapters/mysql_adapter.rb:36:in `mysql_connection'
>     /vendor/rails/activerecord/lib/active_record/ 
> connection_adapters/abstract/connection_specification.rb:251:in `send'
>     /vendor/rails/activerecord/lib/active_record/ 
> connection_adapters/abstract/connection_specification.rb:251:in  
> `connection_without_query_cache='
>     /vendor/rails/activerecord/lib/active_record/query_cache.rb: 
> 54:in `connection='
>     /vendor/rails/activerecord/lib/active_record/ 
> connection_adapters/abstract/connection_specification.rb:220:in  
> `retrieve_connection'
>     /vendor/rails/activerecord/lib/active_record/ 
> connection_adapters/abstract/connection_specification.rb:78:in  
> `connection'
>     /vendor/rails/activerecord/lib/active_record/base.rb:1046:in  
> `add_limit!'
>     /vendor/rails/activerecord/lib/active_record/base.rb:1017:in  
> `construct_finder_sql'
>     /vendor/rails/activerecord/lib/active_record/base.rb:924:in  
> `find_every'
>     /vendor/rails/activerecord/lib/active_record/base.rb:918:in  
> `find_initial'
>     /vendor/rails/activerecord/lib/active_record/base.rb:380:in `find'
>     /app/models/blog.rb:115:in `default'
>     /app/controllers/application.rb:50:in `this_blog'
>     /app/controllers/content_controller.rb:76:in `theme_layout'
>     /vendor/rails/actionpack/lib/action_controller/layout.rb:218:in  
> `send'
>     /vendor/rails/actionpack/lib/action_controller/layout.rb:218:in  
> `active_layout'
>     /vendor/rails/actionpack/lib/action_controller/layout.rb:278:in  
> `pick_layout'
>     /vendor/rails/actionpack/lib/action_controller/layout.rb:237:in  
> `render_without_benchmark'
>     /vendor/rails/actionpack/lib/action_controller/benchmarking.rb: 
> 53:in `render'
>     /usr/local/lib/ruby/1.8/benchmark.rb:293:in `measure'
>     /vendor/rails/actionpack/lib/action_controller/benchmarking.rb: 
> 53:in `render'
>     /app/controllers/articles_controller.rb:73:in  
> `rescue_action_in_public'
>     /vendor/rails/actionpack/lib/action_controller/rescue.rb:33:in  
> `rescue_action'
>     /vendor/rails/actionpack/lib/action_controller/rescue.rb:108:in  
> `perform_action'
>     /vendor/rails/actionpack/lib/action_controller/base.rb:408:in  
> `send'
>     /vendor/rails/actionpack/lib/action_controller/base.rb:408:in  
> `process_without_filters'
>     /vendor/rails/actionpack/lib/action_controller/filters.rb: 
> 377:in `process_without_session_management_support'
>     /vendor/rails/actionpack/lib/action_controller/ 
> session_management.rb:117:in `process'
>     /vendor/rails/railties/lib/dispatcher.rb:38:in `dispatch'
>     /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel/ 
> rails.rb:78:in `process'
>     /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel/ 
> rails.rb:76:in `synchronize'
>     /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel/ 
> rails.rb:76:in `process'
>     /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel.rb: 
> 618:in `process_client'
>     /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel.rb: 
> 617:in `each'
>     /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel.rb: 
> 617:in `process_client'
>     /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel.rb: 
> 736:in `run'
>     /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel.rb: 
> 736:in `initialize'
>     /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel.rb: 
> 736:in `new'
>     /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel.rb: 
> 736:in `run'
>     /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel.rb: 
> 720:in `initialize'
>     /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel.rb: 
> 720:in `new'
>     /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel.rb: 
> 720:in `run'
>     /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel/ 
> configurator.rb:271:in `run'
>     /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel/ 
> configurator.rb:270:in `each'
>     /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel/ 
> configurator.rb:270:in `run'
>     /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.0.1/bin/ 
> mongrel_rails:127:in `run'
>     /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel/ 
> command.rb:211:in `run'
>     /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.0.1/bin/ 
> mongrel_rails:243
>     /usr/local/bin/mongrel_rails:16:in `load'
>     /usr/local/bin/mongrel_rails:16
>
>
>
> On Nov 2, 2007, at 12:08 AM, Frederic de Villamil wrote:
>
>> Hi,
>>
>> Can you send us what your production.log tels ? I don't have  
>> leopard yet.
>>
>> Regards
>> Frédéric
>>
>> Le 2 nov. 07 à 07:55, Eamon Ford a écrit :
>>
>>> Hi all,
>>> I've been serving Typo 4.0.3 on a 2.16GHz Core 2 Duo iMac running  
>>> Mac
>>> OS 10.4.10, and everything has been working fine. But when I  
>>> upgraded
>>> to Mac OS 10.5, Typo just gives me Application Error (Rails). Does
>>> anyone know what could be wrong, and how to fix it?
>>>
>>> Thanks!
>>> _______________________________________________
>>> Typo-list mailing list
>>> Typo-list at rubyforge.org
>>> http://rubyforge.org/mailman/listinfo/typo-list
>>
>> --
>> Frédéric de Villamil
>> frederic at de-villamil.com                        tel: +33 (0)6 62  
>> 19 1337
>> http://fredericdevillamil.com		     Typo : http://typosphere.org
>>
>>
>>
>>
>> _______________________________________________
>> Typo-list mailing list
>> Typo-list at rubyforge.org
>> http://rubyforge.org/mailman/listinfo/typo-list
>
> _______________________________________________
> Typo-list mailing list
> Typo-list at rubyforge.org
> http://rubyforge.org/mailman/listinfo/typo-list

--
Frédéric de Villamil
frederic at de-villamil.com                        tel: +33 (0)6 62 19 1337
http://fredericdevillamil.com		     Typo : http://typosphere.org




-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/typo-list/attachments/20071102/935ff290/attachment-0001.html 


More information about the Typo-list mailing list