From cyril.mougel at gmail.com Sun Mar 1 07:53:18 2009 From: cyril.mougel at gmail.com (Cyril Mougel) Date: Sun, 01 Mar 2009 13:53:18 +0100 Subject: [typo] Problem with trackbacks In-Reply-To: <4115ef20d4e089c3425746461b340430@ruby-forum.com> References: <4115ef20d4e089c3425746461b340430@ruby-forum.com> Message-ID: <49AA853E.1040009@gmail.com> Harry Seldon a ?crit : > Hey guys, > > I have some small problems with the trackbacks generated by my own site > on my own site. Weirdly the address to trackback from has one > supplementary "http://:" . > You can check it here: > http://harryseldon.thinkosphere.com/2009/02/22/good-news-from-the-combat-against-the-crisis > in the trackbacks . > > Moreover, as you can see, Markdown is not interpreted in the trackback, > therefore that makes ugly trackbacks. > > Is it only on my blog ? > > I run Typo 5.2 (stable). > > And about trackbacks do they work well on external sites? I have not > really tested them recently but some time ago it looked like they were > not working that well. But maybe it was only me not knowing that much > how to use them. Do you use them, can you confirm they are working well? > > I change some route about trackback. Can you test your data with master typo version ? -- Cyril Mougel http://blog.shingara.fr From cyril.mougel at gmail.com Sun Mar 1 07:55:49 2009 From: cyril.mougel at gmail.com (Cyril Mougel) Date: Sun, 01 Mar 2009 13:55:49 +0100 Subject: [typo] Simple Routing question In-Reply-To: <09e5466ca32de7e0a7092b2f69300c0e@ruby-forum.com> References: <09e5466ca32de7e0a7092b2f69300c0e@ruby-forum.com> Message-ID: <49AA85D5.4020406@gmail.com> Harry Seldon a ?crit : > I have added in my blog a controller called test_it to show some graphs > for OFC. The routes to reach it were simply like /test_it/index, that is > old routing style. > After the migration to Typo 5.2 and Rails 2.2 these routes were no > longer working. So I added these routes : > map.connect ':controller/:action' > map.connect ':controller/:action/:id.:format' > > But these broke the tag route (see this post : > http://www.ruby-forum.com/topic/176700#773450) > > Is there a simple way to activate this route just for the test_it > controller ? > The answer is probably simple but I don't know much about the routing > system. > In typo route there are a route with *from. this route get all route and use to redirectcontroller. Create your route before this route and named it. -- Cyril Mougel http://blog.shingara.fr From cyril.mougel at gmail.com Sun Mar 1 07:59:09 2009 From: cyril.mougel at gmail.com (Cyril Mougel) Date: Sun, 01 Mar 2009 13:59:09 +0100 Subject: [typo] Typo and feedburner In-Reply-To: <5ae5e4c2b0786609552e9b3083fec62c@ruby-forum.com> References: <5ae5e4c2b0786609552e9b3083fec62c@ruby-forum.com> Message-ID: <49AA869D.4070006@gmail.com> Harry Seldon a ?crit : > Hey (again) guys, > If you have a look at this post (1) about Rails heroes RSS feeds you > will see that they all use feedburners. My question is how to use > feedburner with Typo? > For instance how to change the feed address that appears when clicking > on the RSS logo in firefox url bar (or its equivalent in Safari)? > How to change the address appearing in the syndication sidebar? > I use a rewrite url in my nginx configuration to redirect to feedburner. -- Cyril Mougel http://blog.shingara.fr From ruby-forum-incoming at andreas-s.net Sun Mar 1 08:07:52 2009 From: ruby-forum-incoming at andreas-s.net (Harry Seldon) Date: Sun, 1 Mar 2009 14:07:52 +0100 Subject: [typo] Simple Routing question In-Reply-To: <49AA85D5.4020406@gmail.com> References: <09e5466ca32de7e0a7092b2f69300c0e@ruby-forum.com> <49AA85D5.4020406@gmail.com> Message-ID: <388335bc4e35d54d5eaecb666d24fe6e@ruby-forum.com> Cyril Mougel wrote: > Harry Seldon a ?crit : >> >> Is there a simple way to activate this route just for the test_it >> controller ? >> The answer is probably simple but I don't know much about the routing >> system. >> > In typo route there are a route with *from. this route get all route and > use to redirectcontroller. Create your route before this route and named > it. OK. I am afraid of abusing, but can you remind me how to form a named route ;-) -- Posted via http://www.ruby-forum.com/. From ruby-forum-incoming at andreas-s.net Sun Mar 1 08:09:15 2009 From: ruby-forum-incoming at andreas-s.net (Harry Seldon) Date: Sun, 1 Mar 2009 14:09:15 +0100 Subject: [typo] Problem with trackbacks In-Reply-To: <49AA853E.1040009@gmail.com> References: <4115ef20d4e089c3425746461b340430@ruby-forum.com> <49AA853E.1040009@gmail.com> Message-ID: <181d225bdbffdf15eccb760a0d752b79@ruby-forum.com> Cyril Mougel wrote: > Harry Seldon a ?crit : >> therefore that makes ugly trackbacks. >> > I change some route about trackback. Can you test your data with master > typo version ? > > -- > Cyril Mougel > http://blog.shingara.fr Sure, I will do it today if I get enough time else I'll test it this week Thx Cyril -- Posted via http://www.ruby-forum.com/. From cyril.mougel at gmail.com Sun Mar 1 08:20:56 2009 From: cyril.mougel at gmail.com (Cyril Mougel) Date: Sun, 01 Mar 2009 14:20:56 +0100 Subject: [typo] Simple Routing question In-Reply-To: <388335bc4e35d54d5eaecb666d24fe6e@ruby-forum.com> References: <09e5466ca32de7e0a7092b2f69300c0e@ruby-forum.com> <49AA85D5.4020406@gmail.com> <388335bc4e35d54d5eaecb666d24fe6e@ruby-forum.com> Message-ID: <49AA8BB8.4030906@gmail.com> Harry Seldon a ?crit : > Cyril Mougel wrote: > >> Harry Seldon a ?crit : >> >>> Is there a simple way to activate this route just for the test_it >>> controller ? >>> The answer is probably simple but I don't know much about the routing >>> system. >>> >>> >> In typo route there are a route with *from. this route get all route and >> use to redirectcontroller. Create your route before this route and named >> it. >> > > OK. I am afraid of abusing, but can you remind me how to form a named > route ;-) > map.test_it '/test_it', :controller => 'Tests', :action => 'test' test_it_url -- Cyril Mougel From ruby-forum-incoming at andreas-s.net Sun Mar 1 08:53:06 2009 From: ruby-forum-incoming at andreas-s.net (Harry Seldon) Date: Sun, 1 Mar 2009 14:53:06 +0100 Subject: [typo] Typo and feedburner In-Reply-To: <49AA869D.4070006@gmail.com> References: <5ae5e4c2b0786609552e9b3083fec62c@ruby-forum.com> <49AA869D.4070006@gmail.com> Message-ID: <4dea011bb9519e85d649bc94693c3e40@ruby-forum.com> Cyril Mougel wrote: > Harry Seldon a ?crit : >> Hey (again) guys, >> If you have a look at this post (1) about Rails heroes RSS feeds you >> will see that they all use feedburners. My question is how to use >> feedburner with Typo? >> For instance how to change the feed address that appears when clicking >> on the RSS logo in firefox url bar (or its equivalent in Safari)? >> How to change the address appearing in the syndication sidebar? >> > > I use a rewrite url in my nginx configuration to redirect to feedburner. Thx Cyril, Heu, never heard about nginx I am on a shared host. Isn't there a solution using Typo? As it is really standard nowadays to use feedburner, a simple solution would be appreciated. Btw the (1) was for http://harryseldon.thinkosphere.com/2009/02/03/read-your-rails-heroes . H -- Posted via http://www.ruby-forum.com/. From ruby-forum-incoming at andreas-s.net Sun Mar 1 09:26:38 2009 From: ruby-forum-incoming at andreas-s.net (Harry Seldon) Date: Sun, 1 Mar 2009 15:26:38 +0100 Subject: [typo] Simple Routing question In-Reply-To: <49AA8BB8.4030906@gmail.com> References: <09e5466ca32de7e0a7092b2f69300c0e@ruby-forum.com> <49AA85D5.4020406@gmail.com> <388335bc4e35d54d5eaecb666d24fe6e@ruby-forum.com> <49AA8BB8.4030906@gmail.com> Message-ID: Cyril Mougel wrote: > Harry Seldon a ?crit : >>> In typo route there are a route with *from. this route get all route and >>> use to redirectcontroller. Create your route before this route and named >>> it. >>> >> >> OK. I am afraid of abusing, but can you remind me how to form a named >> route ;-) >> > map.test_it '/test_it', :controller => 'Tests', :action => 'test' > > test_it_url Thx ! -- Posted via http://www.ruby-forum.com/. From cyril.mougel at gmail.com Sun Mar 1 09:53:38 2009 From: cyril.mougel at gmail.com (Cyril Mougel) Date: Sun, 01 Mar 2009 15:53:38 +0100 Subject: [typo] Typo and feedburner In-Reply-To: <4dea011bb9519e85d649bc94693c3e40@ruby-forum.com> References: <5ae5e4c2b0786609552e9b3083fec62c@ruby-forum.com> <49AA869D.4070006@gmail.com> <4dea011bb9519e85d649bc94693c3e40@ruby-forum.com> Message-ID: <49AAA172.7060303@gmail.com> Harry Seldon a ?crit : > Cyril Mougel wrote: > >> Harry Seldon a ?crit : >> >>> Hey (again) guys, >>> If you have a look at this post (1) about Rails heroes RSS feeds you >>> will see that they all use feedburners. My question is how to use >>> feedburner with Typo? >>> For instance how to change the feed address that appears when clicking >>> on the RSS logo in firefox url bar (or its equivalent in Safari)? >>> How to change the address appearing in the syndication sidebar? >>> >>> >> I use a rewrite url in my nginx configuration to redirect to feedburner. >> > > Thx Cyril, > Heu, never heard about nginx I am on a shared host. Isn't there a > solution using Typo? As it is really standard nowadays to use > feedburner, a simple solution would be appreciated. > > Btw the (1) was for > http://harryseldon.thinkosphere.com/2009/02/03/read-your-rails-heroes . > If you want redirect to feedburner, you need Hack typo code. In your app/controller/articles_controller.rb, in block format.rss {} You need check if user-agent is feedburner or not. If not feedburner, you need redirect to feedburner feed. Instead of you need render partial. A little hack (not tested is) format.rss { if request.env["HTTP_USER_AGENT"][/Feedburner/] render :partial => 'articles/rss20_feed', :object => @article.published_feedback else redirect_to 'http://feeds2.feedburner.com/ProgDreamShiny' end } Maybe a feature request to define that in a plugin is a good thing. -- Cyril Mougel From frederic at de-villamil.com Sun Mar 1 10:53:18 2009 From: frederic at de-villamil.com (=?ISO-8859-1?Q?de_Villamil_Fr=E9d=E9ric?=) Date: Sun, 1 Mar 2009 16:53:18 +0100 Subject: [typo] Typo and feedburner In-Reply-To: <49AAA172.7060303@gmail.com> References: <5ae5e4c2b0786609552e9b3083fec62c@ruby-forum.com> <49AA869D.4070006@gmail.com> <4dea011bb9519e85d649bc94693c3e40@ruby-forum.com> <49AAA172.7060303@gmail.com> Message-ID: <3F99BB68-16FB-4A23-889A-F1EBF73DE5B1@de-villamil.com> Le 1 mars 09 ? 15:53, Cyril Mougel a ?crit : > Harry Seldon a ?crit : >> Cyril Mougel wrote: >> >>> Harry Seldon a ?crit : >>> >>>> Hey (again) guys, >>>> If you have a look at this post (1) about Rails heroes RSS feeds >>>> you >>>> will see that they all use feedburners. My question is how to use >>>> feedburner with Typo? >>>> For instance how to change the feed address that appears when >>>> clicking >>>> on the RSS logo in firefox url bar (or its equivalent in Safari)? >>>> How to change the address appearing in the syndication sidebar? >>>> >>> I use a rewrite url in my nginx configuration to redirect to >>> feedburner. >>> >> >> Thx Cyril, >> Heu, never heard about nginx I am on a shared host. Isn't there a >> solution using Typo? As it is really standard nowadays to use >> feedburner, a simple solution would be appreciated. >> >> Btw the (1) was for http://harryseldon.thinkosphere.com/2009/02/03/read-your-rails-heroes >> . >> > > If you want redirect to feedburner, you need Hack typo code. > > In your app/controller/articles_controller.rb, in block format.rss {} > > You need check if user-agent is feedburner or not. If not > feedburner, you need redirect to feedburner feed. Instead of you > need render partial. > > A little hack (not tested is) > > format.rss > { if > request.env["HTTP_USER_AGENT"][/Feedburner/] > render :partial => 'articles/rss20_feed', :object => > @article.published_feedback > else > redirect_to 'http://feeds2.feedburner.com/ProgDreamShiny' > end > } > > Maybe a feature request to define that in a plugin is a good thing. I've been willing to do this for a while now. I've opened a feature ticket on Lighthouse : http://fdv.lighthouseapp.com/projects/11171-typo-blog/tickets/51-add-feedburner-support-from-the-admin This will be included in the nex release. Cheers, Fr?d?ric -- Fr?d?ric de Villamil "What's mine is mine. What's yours is still unsetteled" ? Go player proverb frederic at de-villamil.com tel: +33 (0)6 62 19 1337 http://t37.net Typo : http://typosphere.org -------------- next part -------------- An HTML attachment was scrubbed... URL: From frederic at de-villamil.com Sun Mar 1 11:26:00 2009 From: frederic at de-villamil.com (=?ISO-8859-1?Q?de_Villamil_Fr=E9d=E9ric?=) Date: Sun, 1 Mar 2009 17:26:00 +0100 Subject: [typo] Typo and feedburner In-Reply-To: <3F99BB68-16FB-4A23-889A-F1EBF73DE5B1@de-villamil.com> References: <5ae5e4c2b0786609552e9b3083fec62c@ruby-forum.com> <49AA869D.4070006@gmail.com> <4dea011bb9519e85d649bc94693c3e40@ruby-forum.com> <49AAA172.7060303@gmail.com> <3F99BB68-16FB-4A23-889A-F1EBF73DE5B1@de-villamil.com> Message-ID: <97C45897-6A4F-4BEA-AE18-7257D863BAA0@de-villamil.com> Le 1 mars 09 ? 16:53, de Villamil Fr?d?ric a ?crit : > > Le 1 mars 09 ? 15:53, Cyril Mougel a ?crit : > >> Harry Seldon a ?crit : >>> Cyril Mougel wrote: >>> >>>> Harry Seldon a ?crit : >>>> >>>>> Hey (again) guys, >>>>> If you have a look at this post (1) about Rails heroes RSS feeds >>>>> you >>>>> will see that they all use feedburners. My question is how to use >>>>> feedburner with Typo? >>>>> For instance how to change the feed address that appears when >>>>> clicking >>>>> on the RSS logo in firefox url bar (or its equivalent in Safari)? >>>>> How to change the address appearing in the syndication sidebar? >>>>> >>>> I use a rewrite url in my nginx configuration to redirect to >>>> feedburner. >>>> >>> >>> Thx Cyril, >>> Heu, never heard about nginx I am on a shared host. Isn't there a >>> solution using Typo? As it is really standard nowadays to use >>> feedburner, a simple solution would be appreciated. >>> >>> Btw the (1) was for http://harryseldon.thinkosphere.com/2009/02/03/read-your-rails-heroes >>> . >>> >> >> If you want redirect to feedburner, you need Hack typo code. >> >> In your app/controller/articles_controller.rb, in block format.rss {} >> >> You need check if user-agent is feedburner or not. If not >> feedburner, you need redirect to feedburner feed. Instead of you >> need render partial. >> >> A little hack (not tested is) >> >> format.rss >> { if >> request.env["HTTP_USER_AGENT"][/Feedburner/] >> render :partial => 'articles/rss20_feed', :object => >> @article.published_feedback >> else >> redirect_to 'http://feeds2.feedburner.com/ProgDreamShiny' >> end >> } >> >> Maybe a feature request to define that in a plugin is a good thing. > > > I've been willing to do this for a while now. > I've opened a feature ticket on Lighthouse : http://fdv.lighthouseapp.com/projects/11171-typo-blog/tickets/51-add-feedburner-support-from-the-admin > > This will be included in the nex release. > Cheers, > Fr?d?ric I had 5 minutes to kill, so if you're following edge, maybe you'll be interested by http://github.com/fdv/typo/commit/58fc900d97faa0c3e3d692c0e0e17f1ec97f1128 Frederic -- Fr?d?ric de Villamil "What's mine is mine. What's yours is still unsetteled" ? Go player proverb frederic at de-villamil.com tel: +33 (0)6 62 19 1337 http://t37.net Typo : http://typosphere.org -------------- next part -------------- An HTML attachment was scrubbed... URL: From ruby-forum-incoming at andreas-s.net Sun Mar 1 15:13:34 2009 From: ruby-forum-incoming at andreas-s.net (Harry Seldon) Date: Sun, 1 Mar 2009 21:13:34 +0100 Subject: [typo] Problem with trackbacks In-Reply-To: <181d225bdbffdf15eccb760a0d752b79@ruby-forum.com> References: <4115ef20d4e089c3425746461b340430@ruby-forum.com> <49AA853E.1040009@gmail.com> <181d225bdbffdf15eccb760a0d752b79@ruby-forum.com> Message-ID: I updated to My dev version to edge and I have some difficulties: I obtain this error when clicking on an article from the home page: Looks like there were changes in the routing to comments? I will need to update my theme. Showing themes/thinkosphere_theme/views/articles/_comment_form.html.erb where line #1 raised: undefined method `comments_path' for # Extracted source (around line #1): 1: <% form_remote_tag :url => comments_path(@article), 2: :position => :bottom, 3: :update => {:success => 'commentList'}, 4: :loading => "loading()", Trace of template inclusion: themes/thinkosphere_theme/views/articles/read.html.erb themes/thinkosphere_theme/views/articles/_comment_form.html.erb:1 config/initializers/benchmark_hacks.rb:4:in `realtime' themes/thinkosphere_theme/views/articles/read.html.erb:61 config/initializers/benchmark_hacks.rb:4:in `realtime' app/controllers/redirect_controller.rb:98:in `show_article' app/controllers/redirect_controller.rb:97:in `show_article' app/controllers/redirect_controller.rb:43:in `redirect' -e:2:in `load' -e:2 -- Posted via http://www.ruby-forum.com/. From ruby-forum-incoming at andreas-s.net Sun Mar 1 15:16:51 2009 From: ruby-forum-incoming at andreas-s.net (Harry Seldon) Date: Sun, 1 Mar 2009 21:16:51 +0100 Subject: [typo] Typo and feedburner In-Reply-To: <97C45897-6A4F-4BEA-AE18-7257D863BAA0@de-villamil.com> References: <5ae5e4c2b0786609552e9b3083fec62c@ruby-forum.com> <49AA869D.4070006@gmail.com> <4dea011bb9519e85d649bc94693c3e40@ruby-forum.com> <49AAA172.7060303@gmail.com> <3F99BB68-16FB-4A23-889A-F1EBF73DE5B1@de-villamil.com> <97C45897-6A4F-4BEA-AE18-7257D863BAA0@de-villamil.com> Message-ID: Cool! Thx! I have updated to edge (on dev env). I have entered my feedburner pseudo in Settings/Read/Feedburner ID. But when I return to the home page the syndicate sidebar it is still the same. Idem for the RSS logo. I swept the cache. What am I missing? H -- Posted via http://www.ruby-forum.com/. From ruby-forum-incoming at andreas-s.net Sun Mar 1 15:20:21 2009 From: ruby-forum-incoming at andreas-s.net (Harry Seldon) Date: Sun, 1 Mar 2009 21:20:21 +0100 Subject: [typo] Typo and feedburner In-Reply-To: References: <5ae5e4c2b0786609552e9b3083fec62c@ruby-forum.com> <49AA869D.4070006@gmail.com> <4dea011bb9519e85d649bc94693c3e40@ruby-forum.com> <49AAA172.7060303@gmail.com> <3F99BB68-16FB-4A23-889A-F1EBF73DE5B1@de-villamil.com> <97C45897-6A4F-4BEA-AE18-7257D863BAA0@de-villamil.com> Message-ID: Hum never mind, I had not clicked on it (just looked the url in FF status bar). But when I click on it goes well. Thx a lot. -- Posted via http://www.ruby-forum.com/. From ruby-forum-incoming at andreas-s.net Sun Mar 1 16:39:27 2009 From: ruby-forum-incoming at andreas-s.net (Harry Seldon) Date: Sun, 1 Mar 2009 22:39:27 +0100 Subject: [typo] Typo and feedburner In-Reply-To: References: <5ae5e4c2b0786609552e9b3083fec62c@ruby-forum.com> <49AA869D.4070006@gmail.com> <4dea011bb9519e85d649bc94693c3e40@ruby-forum.com> <49AAA172.7060303@gmail.com> <3F99BB68-16FB-4A23-889A-F1EBF73DE5B1@de-villamil.com> <97C45897-6A4F-4BEA-AE18-7257D863BAA0@de-villamil.com> Message-ID: <22855339c1ae49e0fb0be432e1f44fd2@ruby-forum.com> Subsidiary question: what about the comment feed? Thx Harry Seldon wrote: > Hum never mind, I had not clicked on it (just looked the url in FF > status bar). But when I click on it goes well. > Thx a lot. -- Posted via http://www.ruby-forum.com/. From ruby-forum-incoming at andreas-s.net Sun Mar 1 16:44:16 2009 From: ruby-forum-incoming at andreas-s.net (Harry Seldon) Date: Sun, 1 Mar 2009 22:44:16 +0100 Subject: [typo] Problem with trackbacks In-Reply-To: References: <4115ef20d4e089c3425746461b340430@ruby-forum.com> <49AA853E.1040009@gmail.com> <181d225bdbffdf15eccb760a0d752b79@ruby-forum.com> Message-ID: To correct my problem I replaced in _comment_form.html the calls to xx_path by @article.comment_url and @article.preview_comment_url. For the trackbacks, can they be tested in development? Because I create a post with [test](http://127.0.0.1:3030/trackbacks?article_id=21) and I see nothing in this article 21. -- Posted via http://www.ruby-forum.com/. From matijs at matijs.net Tue Mar 3 02:18:43 2009 From: matijs at matijs.net (Matijs van Zuijlen) Date: Tue, 03 Mar 2009 08:18:43 +0100 Subject: [typo] Problem with trackbacks In-Reply-To: References: <4115ef20d4e089c3425746461b340430@ruby-forum.com> <49AA853E.1040009@gmail.com> <181d225bdbffdf15eccb760a0d752b79@ruby-forum.com> Message-ID: <49ACD9D3.1040503@matijs.net> Harry Seldon wrote: > For the trackbacks, can they be tested in development? Because I create > a post with [test](http://127.0.0.1:3030/trackbacks?article_id=21) and I > see nothing in this article 21. If you're just running one instance (i.e., you started typo by running ./script/server), it won't work: You need one instance of typo sending the trackback, and one recieving it. Once upon a time, the trackbacks and pingbacks were sent in a separate thread to overcome this problem, but it was difficult to get right because Rails was not thread-safe, so this was removed. On my own blog, I've been using a modified typo that still uses a separate thread, but I recently discovered it was broken. I fixed it, but it needs further testing. I'll see if I can upload this one of these days. Regards, Matijs -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: OpenPGP digital signature URL: From ruby-forum-incoming at andreas-s.net Wed Mar 4 14:26:26 2009 From: ruby-forum-incoming at andreas-s.net (Harry Seldon) Date: Wed, 4 Mar 2009 20:26:26 +0100 Subject: [typo] Problem with trackbacks In-Reply-To: <49ACD9D3.1040503@matijs.net> References: <4115ef20d4e089c3425746461b340430@ruby-forum.com> <49AA853E.1040009@gmail.com> <181d225bdbffdf15eccb760a0d752b79@ruby-forum.com> <49ACD9D3.1040503@matijs.net> Message-ID: Thx 2 instances? What about the online blog, it cannot either send a trackback to itself? H Matijs Van zuijlen wrote: > Harry Seldon wrote: >> For the trackbacks, can they be tested in development? Because I create >> a post with [test](http://127.0.0.1:3030/trackbacks?article_id=21) and I >> see nothing in this article 21. > > If you're just running one instance (i.e., you started typo by running > ./script/server), it won't work: You need one instance of typo sending > the trackback, and one recieving it. > > Once upon a time, the trackbacks and pingbacks were sent in a separate > thread to overcome this problem, but it was difficult to get right > because Rails was not thread-safe, so this was removed. > > On my own blog, I've been using a modified typo that still uses a > separate thread, but I recently discovered it was broken. I fixed it, > but it needs further testing. I'll see if I can upload this one of these > days. > > Regards, > Matijs -- Posted via http://www.ruby-forum.com/. From ruby-forum-incoming at andreas-s.net Wed Mar 4 17:21:25 2009 From: ruby-forum-incoming at andreas-s.net (Harry Seldon) Date: Wed, 4 Mar 2009 23:21:25 +0100 Subject: [typo] Problem with trackbacks In-Reply-To: References: <4115ef20d4e089c3425746461b340430@ruby-forum.com> <49AA853E.1040009@gmail.com> <181d225bdbffdf15eccb760a0d752b79@ruby-forum.com> <49ACD9D3.1040503@matijs.net> Message-ID: <076fcd7f059ec39a5ae4146e782c6b3a@ruby-forum.com> @Cyril, I am now running on edge in production. The old trackbacks url have not changed. I have not tested yet a new trackback. -- Posted via http://www.ruby-forum.com/. From ruby-forum-incoming at andreas-s.net Wed Mar 4 17:58:05 2009 From: ruby-forum-incoming at andreas-s.net (Harry Seldon) Date: Wed, 4 Mar 2009 23:58:05 +0100 Subject: [typo] Archives link is broken Message-ID: <05cfbcdfbc7eec447ab10f534302acc3@ruby-forum.com> Hey, I am now running on edge, I had a link to /archives it is now broken. Has it been replaced by something else? Thx H -- Posted via http://www.ruby-forum.com/. From mikemondragon at gmail.com Wed Mar 4 22:38:40 2009 From: mikemondragon at gmail.com (Mike Mondragon) Date: Wed, 4 Mar 2009 19:38:40 -0800 Subject: [typo] Typo and feedburner In-Reply-To: <5ae5e4c2b0786609552e9b3083fec62c@ruby-forum.com> References: <5ae5e4c2b0786609552e9b3083fec62c@ruby-forum.com> Message-ID: <967d3b9a0903041938h43a1c8acy17cda963591a358c@mail.gmail.com> On Sat, Feb 28, 2009 at 2:02 PM, Harry Seldon wrote: > Hey (again) guys, > If you have a look at this post (1) about Rails heroes RSS feeds you > will see that they all use feedburners. My question is how to use > feedburner with Typo? > For instance how to change the feed address that appears when clicking > on the RSS logo in firefox url bar (or its equivalent in Safari)? > How to change the address appearing in the syndication sidebar? > > Thx > H > -- > Posted via http://www.ruby-forum.com/. > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list > This is what I do to redirect everyone to FeedBurner in my Apache VirtualHost for Typo. Only FeedBurner itself is allowed to get the feed directly. You won't have to hack Typo itself. RewriteEngine On # 302 temporary, 301 permanent RewriteCond %{HTTP_USER_AGENT} !^FeedBurner/.* RewriteRule ^/xml/rss20/feed.xml$ http://feeds.feedburner.com/mondragon/PQVR [R=302,L] RewriteRule ^/xml/atom/feed.xml$ http://feeds.feedburner.com/mondragon/PQVR [R=302,L] Here's the Apache docs for mod_rewrite http://httpd.apache.org/docs/2.2/mod/mod_rewrite.html -- Mike Mondragon Work> http://sas.quat.ch/ Blog> http://blog.mondragon.cc/ From frederic at de-villamil.com Thu Mar 5 01:41:03 2009 From: frederic at de-villamil.com (=?ISO-8859-1?Q?de_Villamil_Fr=E9d=E9ric?=) Date: Thu, 5 Mar 2009 07:41:03 +0100 Subject: [typo] Archives link is broken In-Reply-To: <05cfbcdfbc7eec447ab10f534302acc3@ruby-forum.com> References: <05cfbcdfbc7eec447ab10f534302acc3@ruby-forum.com> Message-ID: Le 4 mars 09 ? 23:58, Harry Seldon a ?crit : > Hey, > > I am now running on edge, I had a link to /archives it is now broken. > Has it been replaced by something else? > > Thx > H Hello, I've discovered it yesterday, there is a ticket opened for this. I'll try to fix it tonight. http://fdv.lighthouseapp.com/projects/11171/tickets/55-archives-is-brocken Regards, Fr?d?ric -- Fr?d?ric de Villamil "What's mine is mine. What's yours is still unsetteled" ? Go player proverb frederic at de-villamil.com tel: +33 (0)6 62 19 1337 http://t37.net Typo : http://typosphere.org From frederic at de-villamil.com Thu Mar 5 03:27:46 2009 From: frederic at de-villamil.com (=?ISO-8859-1?Q?de_Villamil_Fr=E9d=E9ric?=) Date: Thu, 5 Mar 2009 09:27:46 +0100 Subject: [typo] Typo and feedburner In-Reply-To: <967d3b9a0903041938h43a1c8acy17cda963591a358c@mail.gmail.com> References: <5ae5e4c2b0786609552e9b3083fec62c@ruby-forum.com> <967d3b9a0903041938h43a1c8acy17cda963591a358c@mail.gmail.com> Message-ID: <73F7C522-52C8-4590-9A55-C556C808C431@de-villamil.com> Le 5 mars 09 ? 04:38, Mike Mondragon a ?crit : > On Sat, Feb 28, 2009 at 2:02 PM, Harry Seldon > wrote: >> Hey (again) guys, >> If you have a look at this post (1) about Rails heroes RSS feeds you >> will see that they all use feedburners. My question is how to use >> feedburner with Typo? >> For instance how to change the feed address that appears when >> clicking >> on the RSS logo in firefox url bar (or its equivalent in Safari)? >> How to change the address appearing in the syndication sidebar? >> >> Thx >> H >> -- >> Posted via http://www.ruby-forum.com/. >> _______________________________________________ >> Typo-list mailing list >> Typo-list at rubyforge.org >> http://rubyforge.org/mailman/listinfo/typo-list >> > > > This is what I do to redirect everyone to FeedBurner in my Apache > VirtualHost for Typo. Only FeedBurner itself is allowed to get the > feed directly. You won't have to hack Typo itself. > > RewriteEngine On > # 302 temporary, 301 permanent > RewriteCond %{HTTP_USER_AGENT} !^FeedBurner/.* > RewriteRule ^/xml/rss20/feed.xml$ > http://feeds.feedburner.com/mondragon/PQVR [R=302,L] > RewriteRule ^/xml/atom/feed.xml$ > http://feeds.feedburner.com/mondragon/PQVR [R=302,L] > > Here's the Apache docs for mod_rewrite > http://httpd.apache.org/docs/2.2/mod/mod_rewrite.html Hello Mike, Feedburner support has been added to Typo edge a few days ago with proper redirection directly in your blog, to avoid server specific redirections. Regards, Fr?d?ric -- Fr?d?ric de Villamil "What's mine is mine. What's yours is still unsetteled" ? Go player proverb frederic at de-villamil.com tel: +33 (0)6 62 19 1337 http://t37.net Typo : http://typosphere.org From cyril.mougel at gmail.com Thu Mar 5 04:21:13 2009 From: cyril.mougel at gmail.com (Cyril Mougel) Date: Thu, 05 Mar 2009 10:21:13 +0100 Subject: [typo] Problem with trackbacks In-Reply-To: <076fcd7f059ec39a5ae4146e782c6b3a@ruby-forum.com> References: <4115ef20d4e089c3425746461b340430@ruby-forum.com> <49AA853E.1040009@gmail.com> <181d225bdbffdf15eccb760a0d752b79@ruby-forum.com> <49ACD9D3.1040503@matijs.net> <076fcd7f059ec39a5ae4146e782c6b3a@ruby-forum.com> Message-ID: <49AF9989.8050002@gmail> Harry Seldon wrote: > @Cyril, > I am now running on edge in production. The old trackbacks url have not > changed. I have not tested yet a new trackback. > Have you sweep cache ? In edge, the cache management is little broken. I fixed next week. I prepare RailsCamp this week. -- Cyril Mougel http://blog.shingara.fr From frederic at de-villamil.com Thu Mar 5 05:29:38 2009 From: frederic at de-villamil.com (=?WINDOWS-1252?Q?de_Villamil_Fr=E9d=E9ric?=) Date: Thu, 5 Mar 2009 11:29:38 +0100 Subject: [typo] Archives link is broken In-Reply-To: References: <05cfbcdfbc7eec447ab10f534302acc3@ruby-forum.com> Message-ID: <8A773D21-9B46-49D3-9AEC-B8DAA79F4720@de-villamil.com> Le 5 mars 09 ? 07:41, de Villamil Fr?d?ric a ?crit : > Le 4 mars 09 ? 23:58, Harry Seldon a ?crit : > >> Hey, >> >> I am now running on edge, I had a link to /archives it is now broken. >> Has it been replaced by something else? >> >> Thx >> H > > > Hello, > > I've discovered it yesterday, there is a ticket opened for this. > I'll try to fix it tonight. > http://fdv.lighthouseapp.com/projects/11171/tickets/55-archives-is-brocken > > Regards, > Fr?d?ric I reply to myself to tell you it was fixed in commit a14a0d22a74171236b01ab13d175536dcd44fce8 People using bleeding edge can now update. -- Fr?d?ric de Villamil "What's mine is mine. What's yours is still unsetteled" ? Go player proverb frederic at de-villamil.com tel: +33 (0)6 62 19 1337 http://t37.net Typo : http://typosphere.org From ruby-forum-incoming at andreas-s.net Fri Mar 6 13:34:11 2009 From: ruby-forum-incoming at andreas-s.net (Harry Seldon) Date: Fri, 6 Mar 2009 19:34:11 +0100 Subject: [typo] Archives link is broken In-Reply-To: <8A773D21-9B46-49D3-9AEC-B8DAA79F4720@de-villamil.com> References: <05cfbcdfbc7eec447ab10f534302acc3@ruby-forum.com> <8A773D21-9B46-49D3-9AEC-B8DAA79F4720@de-villamil.com> Message-ID: <1333e352b0b2fbcbd4ed094b5bc5e7b1@ruby-forum.com> Thx I like your go proverb, btw ;-) -- Posted via http://www.ruby-forum.com/. From ruby-forum-incoming at andreas-s.net Sat Mar 7 10:28:18 2009 From: ruby-forum-incoming at andreas-s.net (Ivan Camacho) Date: Sat, 7 Mar 2009 16:28:18 +0100 Subject: [typo] can't install typo In-Reply-To: <49A111EF.9000203@onrails.lt> References: <49A07629.5090509@onrails.lt> <43cee7130902211417u17afbb3ehdd5456705519aa24@mail.gmail.com> <49A111EF.9000203@onrails.lt> Message-ID: <0f8f892ec2918e43d0f077744bd9e4cd@ruby-forum.com> Darius wrote: > cleanup doesn't help, but thank you, you put me on the right way :) , > problem is because lastest actionwebservice from gems depends on > ationpack 1.13.6, activerecord 1.15.6 and activesupport 1.4.4 > > i install actionwebservice from github ant its work :) Me too. I got actionwebservice from github and extract that file and rename actionwebservice but it not works. Here is what i process to install manually. 1) Extract the latest actionwebservice.zip 2) Put it in to C:\xxxx\ruby\lib\ruby\gems\1.8\gems and actionwebservice.gemspec into C:\xxxx\ruby\lib\ruby\gems\1.8\specifications. 3) Gem install actionwebservice. ... then i have still got the same problem with actionwebservice-1.2.6 from console. How can i update the latest one please? -- Posted via http://www.ruby-forum.com/. From darius at onrails.lt Sat Mar 7 12:09:43 2009 From: darius at onrails.lt (Darius) Date: Sat, 07 Mar 2009 19:09:43 +0200 Subject: [typo] can't install typo In-Reply-To: <0f8f892ec2918e43d0f077744bd9e4cd@ruby-forum.com> References: <49A07629.5090509@onrails.lt> <43cee7130902211417u17afbb3ehdd5456705519aa24@mail.gmail.com> <49A111EF.9000203@onrails.lt> <0f8f892ec2918e43d0f077744bd9e4cd@ruby-forum.com> Message-ID: <49B2AA57.8070303@onrails.lt> did you install this http://github.com/datanoise/actionwebservice/tree/master ? in my setup gem list --local show this: datanoise-actionwebservice (2.2.2) Ivan Camacho wrote: > Darius wrote: > >> cleanup doesn't help, but thank you, you put me on the right way :) , >> problem is because lastest actionwebservice from gems depends on >> ationpack 1.13.6, activerecord 1.15.6 and activesupport 1.4.4 >> >> i install actionwebservice from github ant its work :) >> > > Me too. I got actionwebservice from github and extract that file and > rename actionwebservice but it not works. Here is what i process to > install manually. > > 1) Extract the latest actionwebservice.zip > 2) Put it in to C:\xxxx\ruby\lib\ruby\gems\1.8\gems and > actionwebservice.gemspec into > C:\xxxx\ruby\lib\ruby\gems\1.8\specifications. > 3) Gem install actionwebservice. > > ... then i have still got the same problem with actionwebservice-1.2.6 > from console. > > How can i update the latest one please? > -------------- next part -------------- An HTML attachment was scrubbed... URL: From darius at onrails.lt Sun Mar 8 04:52:39 2009 From: darius at onrails.lt (Darius) Date: Sun, 08 Mar 2009 10:52:39 +0200 Subject: [typo] how load plugin Message-ID: <49B38757.9010707@onrails.lt> Hi, I try load related_posts plugin from http://github.com/fdv/typo_related_posts/trunk, install successful. But get error: |undefined local variable or method `render_related_posts' for # it seems like plugin aren't load, but how load it ? | From frederic at de-villamil.com Sun Mar 8 07:01:46 2009 From: frederic at de-villamil.com (=?ISO-8859-1?Q?de_Villamil_Fr=E9d=E9ric?=) Date: Sun, 8 Mar 2009 12:01:46 +0100 Subject: [typo] how load plugin In-Reply-To: <49B38757.9010707@onrails.lt> References: <49B38757.9010707@onrails.lt> Message-ID: <56785502-FAEF-4162-9E9D-E34FA9593B8A@de-villamil.com> Le 8 mars 09 ? 09:52, Darius a ?crit : > Hi, > > I try load related_posts plugin from http://github.com/fdv/typo_related_posts/trunk > , install successful. But get error: > > |undefined local variable or method `render_related_posts' for > # > > it seems like plugin aren't load, but how load it ? > | > Hello, This plugin was coded very quickly, without a real release purpose (for my own use)... The readme is wrong, to install it you need to ./script/plugin install git://github.com/fdv/typo_related_posts.git or git clone git://github.com/fdv/typo_related_posts.git and move the typo_related_posts directory into you Typo vendor/plugins Then, you need to call it in the read.html.erb of your theme: <%= render_related_posts %> Oh, and I fear you'll have to translate it because it has 99.9% of chances to be in french. Regards, Fr?d?ric -- Fr?d?ric de Villamil "What's mine is mine. What's yours is still unsetteled" ? Go player proverb frederic at de-villamil.com tel: +33 (0)6 62 19 1337 http://t37.net Typo : http://typosphere.org -- Fr?d?ric de Villamil "What's mine is mine. What's yours is still unsetteled" ? Go player proverb frederic at de-villamil.com tel: +33 (0)6 62 19 1337 http://t37.net Typo : http://typosphere.org From ruby-forum-incoming at andreas-s.net Sun Mar 8 10:29:27 2009 From: ruby-forum-incoming at andreas-s.net (Harry Seldon) Date: Sun, 8 Mar 2009 15:29:27 +0100 Subject: [typo] Problem with trackbacks In-Reply-To: <49AF9989.8050002@gmail> References: <4115ef20d4e089c3425746461b340430@ruby-forum.com> <49AA853E.1040009@gmail.com> <181d225bdbffdf15eccb760a0d752b79@ruby-forum.com> <49ACD9D3.1040503@matijs.net> <076fcd7f059ec39a5ae4146e782c6b3a@ruby-forum.com> <49AF9989.8050002@gmail> Message-ID: <291e47dba23e00802c62d54c316b3166@ruby-forum.com> Hi, I just swept the cache and it is the same. H http://harryseldon.thinkosphere.com Cyril Mougel wrote: > Harry Seldon wrote: >> @Cyril, >> I am now running on edge in production. The old trackbacks url have not >> changed. I have not tested yet a new trackback. >> > Have you sweep cache ? > > In edge, the cache management is little broken. I fixed next week. I > prepare RailsCamp this week. > > -- > Cyril Mougel > http://blog.shingara.fr -- Posted via http://www.ruby-forum.com/. From ruby-forum-incoming at andreas-s.net Sun Mar 8 13:48:26 2009 From: ruby-forum-incoming at andreas-s.net (Harry Seldon) Date: Sun, 8 Mar 2009 18:48:26 +0100 Subject: [typo] can't install typo In-Reply-To: <49B2AA57.8070303@onrails.lt> References: <49A07629.5090509@onrails.lt> <43cee7130902211417u17afbb3ehdd5456705519aa24@mail.gmail.com> <49A111EF.9000203@onrails.lt> <0f8f892ec2918e43d0f077744bd9e4cd@ruby-forum.com> <49B2AA57.8070303@onrails.lt> Message-ID: <2dadc1864b13ec913a8715c993541e39@ruby-forum.com> For info, check this post for news about Typo: http://harryseldon.thinkosphere.com/2009/03/08/news-from-typo-edge -- Posted via http://www.ruby-forum.com/. From cyril.mougel at gmail.com Mon Mar 9 12:30:29 2009 From: cyril.mougel at gmail.com (Cyril Mougel) Date: Mon, 09 Mar 2009 17:30:29 +0100 Subject: [typo] Problem with trackbacks In-Reply-To: <291e47dba23e00802c62d54c316b3166@ruby-forum.com> References: <4115ef20d4e089c3425746461b340430@ruby-forum.com> <49AA853E.1040009@gmail.com> <181d225bdbffdf15eccb760a0d752b79@ruby-forum.com> <49ACD9D3.1040503@matijs.net> <076fcd7f059ec39a5ae4146e782c6b3a@ruby-forum.com> <49AF9989.8050002@gmail> <291e47dba23e00802c62d54c316b3166@ruby-forum.com> Message-ID: <49B54425.1030702@gmail> Harry Seldon wrote: > Hi, > > I just swept the cache and it is the same. > I see trackback_url like http://harryseldon.thinkosphere.com/trackbacks?article_id=58 it's the new format. I test a trackback and it's seems works : !1! [shingara at cube ~] % curl -d url=http://blog.shingara.fr -d title='trackback_test' -d blog_name='shingara' -d excerpt='Good news and caching fixed' 'http://harryseldon.thinkosphere.com/trackbacks?article_id=58' 0 -- Cyril Mougel http://blog.shingara.fr From ruby-forum-incoming at andreas-s.net Mon Mar 9 13:08:37 2009 From: ruby-forum-incoming at andreas-s.net (Harry Seldon) Date: Mon, 9 Mar 2009 18:08:37 +0100 Subject: [typo] Problem with trackbacks In-Reply-To: <49B54425.1030702@gmail> References: <4115ef20d4e089c3425746461b340430@ruby-forum.com> <49AA853E.1040009@gmail.com> <181d225bdbffdf15eccb760a0d752b79@ruby-forum.com> <49ACD9D3.1040503@matijs.net> <076fcd7f059ec39a5ae4146e782c6b3a@ruby-forum.com> <49AF9989.8050002@gmail> <291e47dba23e00802c62d54c316b3166@ruby-forum.com> <49B54425.1030702@gmail> Message-ID: <3c5e1bdf029c8b0220201bc3783b8fbb@ruby-forum.com> Indeed, I was speaking about the old trackbacks. The new ones have the good url but they do not execute Markdown. Btw, when using the search (and pressing enter) the list of posts does not execute Markdown either. Thx Cyril Mougel wrote: > Harry Seldon wrote: >> Hi, >> >> I just swept the cache and it is the same. >> > > I see trackback_url like > http://harryseldon.thinkosphere.com/trackbacks?article_id=58 > > it's the new format. > > I test a trackback and it's seems works : > > !1! [shingara at cube ~] % curl -d url=http://blog.shingara.fr -d > title='trackback_test' -d blog_name='shingara' -d excerpt='Good news and > caching fixed' > 'http://harryseldon.thinkosphere.com/trackbacks?article_id=58' > > > > 0 > > > -- > Cyril Mougel > http://blog.shingara.fr -- Posted via http://www.ruby-forum.com/. From cyril.mougel at gmail.com Tue Mar 10 04:58:56 2009 From: cyril.mougel at gmail.com (Cyril Mougel) Date: Tue, 10 Mar 2009 09:58:56 +0100 Subject: [typo] Problem with trackbacks In-Reply-To: <3c5e1bdf029c8b0220201bc3783b8fbb@ruby-forum.com> References: <4115ef20d4e089c3425746461b340430@ruby-forum.com> <49AA853E.1040009@gmail.com> <181d225bdbffdf15eccb760a0d752b79@ruby-forum.com> <49ACD9D3.1040503@matijs.net> <076fcd7f059ec39a5ae4146e782c6b3a@ruby-forum.com> <49AF9989.8050002@gmail> <291e47dba23e00802c62d54c316b3166@ruby-forum.com> <49B54425.1030702@gmail> <3c5e1bdf029c8b0220201bc3783b8fbb@ruby-forum.com> Message-ID: <49B62BD0.2070709@gmail> Harry Seldon wrote: > Indeed, I was speaking about the old trackbacks. Old trackback doesn't works now. But in fact, you need trackback link just first time. > The new ones have the > good url but they do not execute Markdown. > Btw, when using the search (and pressing enter) the list of posts does > not execute Markdown either. > I don't understand your problem. -- Cyril Mougel http://blog.shingara.fr From cyril.mougel at gmail.com Tue Mar 10 06:31:06 2009 From: cyril.mougel at gmail.com (Cyril Mougel) Date: Tue, 10 Mar 2009 11:31:06 +0100 Subject: [typo] Issues Typo 5.2 In-Reply-To: <20090310094158.DE49F40A9@VPS1.localdomain> References: <20090310094158.DE49F40A9@VPS1.localdomain> Message-ID: <49B6416A.8040504@gmail> Vito Botta wrote: > Hi Fr?d?ric, Cyril, > > first of all, many thanks for Typo! I was looking for a blog engine in > rails and Typo seems to be the richest in features. > I have previously tried Mephisto, but while it was very easy to get up > and running with no issues, it has many less features. > Sorry if I am emailing both of you, but - while I am an experienced > .NET developer - I am a novice with rails and have some issues with > typo, and didn't know who of you to contact for this. :) > I have a little number of questions...I hope you can help me! :) There are a Mailing list of Typo user. I reply to this list and you and me in copy. Frederic is really busy this time. If you want more information about how contact our community : http://wiki.github.com/fdv/typo/get-support > > 1) I have deployed Typo on a VPS with webistrano, the blog is now > active (although still empty) and I have selected a template that I > like, but it is behaving somehow in a weird way. If for example I make > even minor changes to the template (for example to hide the css/html > validators links - which anyway do not work properly - so even small > changes), and then deploy these changes, I often get a bunch of > 500-errors whenever I move around the admin section, and more likely > whenever I try to save some settings or post an article or page. This > happens every time, and it only seems to go away (am not sure yet), if > I restart apache a number of times. > As said I am a novice with rails, so I have no idea why this would > happen with your blog - please note that I am using passenger+ruby > enterprise edition, and that I have other applications running on that > VPS, but I have only seen this issue with Typo. * Which version of Typo ? * What say your error in production.log ? > > 2) I haven't completely understood how the caching works. When I add > or change an article or page, only sometimes do I see the changes > reflected immediately in the blog, unless - it seems - I clear the > cache each time from within the Settings page. This happens, it seems, > regardless which caching mode I choose. What is the difference between > the two modes, btw? There are some change in Typo 5.3 not release. Now we use only caching by page. In version before, we are a little issue, when you want change your cache. You need restart your server. And If before you use the cache static, you need delete all html file generated in your public directory > > 3) Are there any plugins or such, to enable Disqus, Outbrain with > Typo? I would like to be open to Disqus' community, in particular. There are no Sidebar about this community. > > 4) I have read that I can use external editors to publish my posts, by > selecting the Movable API and the URL > http://typo.vitobotta.com/backend/xmlrpc (which is a temporary domain > to test typo). I have tried with Google Docs, but it says "There was > an unexpected problem (Server returned HTTP response code: 500 for > URL: http://typo.vitobotta.com/backend/xmlrpc?rnd2141505742=289332855) > .". > We need some error to understand better. but a Bug speak about that : http://fdv.lighthouseapp.com/projects/11171/tickets/11-moveable-type-api-broken-with-windows-live-writer Maybe it's the same. -- Cyril Mougel http://blog.shingara.fr From ruby-forum-incoming at andreas-s.net Tue Mar 10 15:30:34 2009 From: ruby-forum-incoming at andreas-s.net (Harry Seldon) Date: Tue, 10 Mar 2009 20:30:34 +0100 Subject: [typo] Problem with trackbacks In-Reply-To: <49B62BD0.2070709@gmail> References: <4115ef20d4e089c3425746461b340430@ruby-forum.com> <49AA853E.1040009@gmail.com> <181d225bdbffdf15eccb760a0d752b79@ruby-forum.com> <49ACD9D3.1040503@matijs.net> <076fcd7f059ec39a5ae4146e782c6b3a@ruby-forum.com> <49AF9989.8050002@gmail> <291e47dba23e00802c62d54c316b3166@ruby-forum.com> <49B54425.1030702@gmail> <3c5e1bdf029c8b0220201bc3783b8fbb@ruby-forum.com> <49B62BD0.2070709@gmail> Message-ID: <432ccef2e6d9c9cd6c7d99b63cdbf033@ruby-forum.com> If you go to this post for instance, http://harryseldon.thinkosphere.com/2009/02/03/read-your-rails-heroes you go to the first trackback you will see "Organized by [Ruby France](http://www.rubyfrance.org/) and [Sun Microsystems](http://fr.sun.com/), " The [] are there because Markdown is not parsed. I would like it to be parsed in the trackbacks (or that the trackbacks to be sent parsed, that is in html and not in text). Makes sense? Thx H http://harryseldon.thinkosphere.com -- Posted via http://www.ruby-forum.com/. From cyril.mougel at gmail.com Wed Mar 11 05:45:01 2009 From: cyril.mougel at gmail.com (Cyril Mougel) Date: Wed, 11 Mar 2009 10:45:01 +0100 Subject: [typo] Problem with trackbacks In-Reply-To: <432ccef2e6d9c9cd6c7d99b63cdbf033@ruby-forum.com> References: <4115ef20d4e089c3425746461b340430@ruby-forum.com> <49AA853E.1040009@gmail.com> <181d225bdbffdf15eccb760a0d752b79@ruby-forum.com> <49ACD9D3.1040503@matijs.net> <076fcd7f059ec39a5ae4146e782c6b3a@ruby-forum.com> <49AF9989.8050002@gmail> <291e47dba23e00802c62d54c316b3166@ruby-forum.com> <49B54425.1030702@gmail> <3c5e1bdf029c8b0220201bc3783b8fbb@ruby-forum.com> <49B62BD0.2070709@gmail> <432ccef2e6d9c9cd6c7d99b63cdbf033@ruby-forum.com> Message-ID: <49B7881D.2080600@gmail> Harry Seldon wrote: > If you go to this post for instance, > http://harryseldon.thinkosphere.com/2009/02/03/read-your-rails-heroes > you go to the first trackback you will see "Organized by [Ruby > France](http://www.rubyfrance.org/) and [Sun > Microsystems](http://fr.sun.com/), " The [] are there because Markdown > is not parsed. I would like it to be parsed in the trackbacks (or that > the trackbacks to be sent parsed, that is in html and not in text). > Makes sense? > Ok, I understand. We made an error when we ping some URL. We don't transform. We need transform before send trackback. Because if you trackback another blog engine, this can't transform markdown. So we need transform before. If you want transform this trackback in your intance you need update your data. All trackabck can't be transform after receive. Because We don't know how filter is use. -- Cyril Mougel http://blog.shingara.fr From cyril.mougel at gmail.com Wed Mar 11 06:20:08 2009 From: cyril.mougel at gmail.com (Cyril Mougel) Date: Wed, 11 Mar 2009 11:20:08 +0100 Subject: [typo] Problem with trackbacks In-Reply-To: <432ccef2e6d9c9cd6c7d99b63cdbf033@ruby-forum.com> References: <4115ef20d4e089c3425746461b340430@ruby-forum.com> <49AA853E.1040009@gmail.com> <181d225bdbffdf15eccb760a0d752b79@ruby-forum.com> <49ACD9D3.1040503@matijs.net> <076fcd7f059ec39a5ae4146e782c6b3a@ruby-forum.com> <49AF9989.8050002@gmail> <291e47dba23e00802c62d54c316b3166@ruby-forum.com> <49B54425.1030702@gmail> <3c5e1bdf029c8b0220201bc3783b8fbb@ruby-forum.com> <49B62BD0.2070709@gmail> <432ccef2e6d9c9cd6c7d99b63cdbf033@ruby-forum.com> Message-ID: <49B79058.90803@gmail> Harry Seldon wrote: > If you go to this post for instance, > http://harryseldon.thinkosphere.com/2009/02/03/read-your-rails-heroes > you go to the first trackback you will see "Organized by [Ruby > France](http://www.rubyfrance.org/) and [Sun > Microsystems](http://fr.sun.com/), " The [] are there because Markdown > is not parsed. I would like it to be parsed in the trackbacks (or that > the trackbacks to be sent parsed, that is in html and not in text). > Makes sense? http://fdv.lighthouseapp.com/projects/11171-typo-blog/tickets/59-trackback-send-are-not-filtering A ticket is create about this issue. -- Cyril Mougel http://blog.shingara.fr From tobias.weisserth at gmail.com Wed Mar 11 15:29:49 2009 From: tobias.weisserth at gmail.com (Tobias Weisserth) Date: Thu, 12 Mar 2009 00:59:49 +0530 Subject: [typo] 745e4ee7fc9f68c985ab7f87d072b89cf90b858d and the commit before that break migrations for me Message-ID: <43cee7130903111229s2512b9a5t564ce106e5660b3d@mail.gmail.com> Hi there, I just pulled from github (see subject). Migrations are having trouble. Full trace following: rake --trace db:migrate (in /home/tweisser/workspace/typo/typo) ** Invoke db:migrate (first_time) ** Invoke environment (first_time) ** Execute environment ** Execute db:migrate == CreateCacheInformations: migrating ======================================== -- public_path() rake aborted! An error has occurred, all later migrations canceled: undefined method `public_path' for # /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/migration.rb:346:in `send' /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/migration.rb:346:in `method_missing' /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/migration.rb:326:in `say_with_time' /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/1.8/benchmark.rb:293:in `measure' /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/migration.rb:326:in `say_with_time' /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/migration.rb:342:in `method_missing' ./db/migrate//081_create_cache_informations.rb:12:in `up_without_benchmarks' ./db/migrate//081_create_cache_informations.rb:11:in `each' ./db/migrate//081_create_cache_informations.rb:11:in `up_without_benchmarks' /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/migration.rb:280:in `send' /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/migration.rb:280:in `migrate' /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/1.8/benchmark.rb:293:in `measure' /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/migration.rb:280:in `migrate' (__DELEGATION__):2:in `__send__' (__DELEGATION__):2:in `migrate' /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/migration.rb:480:in `migrate' /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/migration.rb:556:in `call' /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/migration.rb:556:in `ddl_transaction' /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/migration.rb:479:in `migrate' /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/migration.rb:466:in `each' /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/migration.rb:466:in `migrate' /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/migration.rb:394:in `up' /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/migration.rb:377:in `migrate' /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/tasks/databases.rake:111 /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:617:in `call' /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:617:in `execute' /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:612:in `each' /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:612:in `execute' /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:578:in `invoke_with_call_chain' /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/1.8/monitor.rb:242:in `synchronize' /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:571:in `invoke_with_call_chain' /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:564:in `invoke' /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:2019:in `invoke_task' /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:1997:in `top_level' /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:1997:in `each' /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:1997:in `top_level' /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:2036:in `standard_exception_handling' /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:1991:in `top_level' /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:1970:in `run' /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:2036:in `standard_exception_handling' /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:1967:in `run' /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/rake-0.8.3/bin/rake:31 /opt/ruby-enterprise/bin/rake:19:in `load' /opt/ruby-enterprise/bin/rake:19 Going back and forth through migrations up until 80 works fine though. Any idea? Should I open a ticket or is this specific to my setup? Thanks, Tobias -------------- next part -------------- An HTML attachment was scrubbed... URL: From cyril.mougel at gmail.com Wed Mar 11 17:05:30 2009 From: cyril.mougel at gmail.com (Cyril Mougel) Date: Wed, 11 Mar 2009 22:05:30 +0100 Subject: [typo] 745e4ee7fc9f68c985ab7f87d072b89cf90b858d and the commit before that break migrations for me In-Reply-To: <43cee7130903111229s2512b9a5t564ce106e5660b3d@mail.gmail.com> References: <43cee7130903111229s2512b9a5t564ce106e5660b3d@mail.gmail.com> Message-ID: <49B8279A.7080205@gmail.com> Tobias Weisserth a ?crit : > Hi there, > > I just pulled from github (see subject). Migrations are having > trouble. Full trace following: > > rake --trace db:migrate > (in /home/tweisser/workspace/typo/typo) > ** Invoke db:migrate (first_time) > ** Invoke environment (first_time) > ** Execute environment > ** Execute db:migrate > == CreateCacheInformations: migrating > ======================================== > -- public_path() > rake aborted! > An error has occurred, all later migrations canceled: > > undefined method `public_path' for > # > /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/migration.rb:346:in > `send' > /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/migration.rb:346:in > `method_missing' > /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/migration.rb:326:in > `say_with_time' > /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/1.8/benchmark.rb:293:in > `measure' > /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/migration.rb:326:in > `say_with_time' > /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/migration.rb:342:in > `method_missing' > ./db/migrate//081_create_cache_informations.rb:12:in > `up_without_benchmarks' > ./db/migrate//081_create_cache_informations.rb:11:in `each' > ./db/migrate//081_create_cache_informations.rb:11:in > `up_without_benchmarks' > /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/migration.rb:280:in > `send' > /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/migration.rb:280:in > `migrate' > /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/1.8/benchmark.rb:293:in > `measure' > /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/migration.rb:280:in > `migrate' > (__DELEGATION__):2:in `__send__' > (__DELEGATION__):2:in `migrate' > /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/migration.rb:480:in > `migrate' > /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/migration.rb:556:in > `call' > /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/migration.rb:556:in > `ddl_transaction' > /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/migration.rb:479:in > `migrate' > /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/migration.rb:466:in > `each' > /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/migration.rb:466:in > `migrate' > /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/migration.rb:394:in > `up' > /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/migration.rb:377:in > `migrate' > /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/tasks/databases.rake:111 > /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:617:in > `call' > /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:617:in > `execute' > /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:612:in > `each' > /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:612:in > `execute' > /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:578:in > `invoke_with_call_chain' > /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/1.8/monitor.rb:242:in > `synchronize' > /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:571:in > `invoke_with_call_chain' > /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:564:in > `invoke' > /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:2019:in > `invoke_task' > /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:1997:in > `top_level' > /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:1997:in > `each' > /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:1997:in > `top_level' > /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:2036:in > `standard_exception_handling' > /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:1991:in > `top_level' > /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:1970:in > `run' > /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:2036:in > `standard_exception_handling' > /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:1967:in > `run' > /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/rake-0.8.3/bin/rake:31 > /opt/ruby-enterprise/bin/rake:19:in `load' > /opt/ruby-enterprise/bin/rake:19 > > Going back and forth through migrations up until 80 works fine though. > > Any idea? Should I open a ticket or is this specific to my setup? Sorry for this mistake. I fix it in commit : http://github.com/fdv/typo/commit/08055c37fca724ca495f91c59a1d37eeab2f343a -- Cyril Mougel http://blog.shingara.fr From cyril.mougel at gmail.com Thu Mar 12 12:42:59 2009 From: cyril.mougel at gmail.com (Cyril Mougel) Date: Thu, 12 Mar 2009 17:42:59 +0100 Subject: [typo] Problem with trackbacks In-Reply-To: <432ccef2e6d9c9cd6c7d99b63cdbf033@ruby-forum.com> References: <4115ef20d4e089c3425746461b340430@ruby-forum.com> <49AA853E.1040009@gmail.com> <181d225bdbffdf15eccb760a0d752b79@ruby-forum.com> <49ACD9D3.1040503@matijs.net> <076fcd7f059ec39a5ae4146e782c6b3a@ruby-forum.com> <49AF9989.8050002@gmail> <291e47dba23e00802c62d54c316b3166@ruby-forum.com> <49B54425.1030702@gmail> <3c5e1bdf029c8b0220201bc3783b8fbb@ruby-forum.com> <49B62BD0.2070709@gmail> <432ccef2e6d9c9cd6c7d99b63cdbf033@ruby-forum.com> Message-ID: <49B93B93.7030604@gmail> Harry Seldon wrote: > If you go to this post for instance, > http://harryseldon.thinkosphere.com/2009/02/03/read-your-rails-heroes > you go to the first trackback you will see "Organized by [Ruby > France](http://www.rubyfrance.org/) and [Sun > Microsystems](http://fr.sun.com/), " The [] are there because Markdown > is not parsed. I would like it to be parsed in the trackbacks (or that > the trackbacks to be sent parsed, that is in html and not in text). > Makes sense? > it's fixed : http://fdv.lighthouseapp.com/projects/11171-typo-blog/tickets/59-trackback-send-are-not-filtering -- Cyril Mougel http://blog.shingara.fr From tobias.weisserth at gmail.com Thu Mar 12 14:41:18 2009 From: tobias.weisserth at gmail.com (Tobias Weisserth) Date: Fri, 13 Mar 2009 00:11:18 +0530 Subject: [typo] 745e4ee7fc9f68c985ab7f87d072b89cf90b858d and the commit before that break migrations for me In-Reply-To: <49B8279A.7080205@gmail.com> References: <43cee7130903111229s2512b9a5t564ce106e5660b3d@mail.gmail.com> <49B8279A.7080205@gmail.com> Message-ID: <43cee7130903121141s775c5518t937159148996df50@mail.gmail.com> I might be missing something, but migration 81 will still not work. This time it complains: rake --trace db:migrate (in /home/tweisser/workspace/typo/typo) ** Invoke db:migrate (first_time) ** Invoke environment (first_time) ** Execute environment ** Execute db:migrate == CreateCacheInformations: migrating ======================================== rake aborted! An error has occurred, all later migrations canceled: uninitialized constant CreateCacheInformations::PageCage /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:102:in `const_missing' ./db/migrate//081_create_cache_informations.rb:12:in `up_without_benchmarks' ./db/migrate//081_create_cache_informations.rb:11:in `each' ./db/migrate//081_create_cache_informations.rb:11:in `up_without_benchmarks' /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/migration.rb:280:in `send' /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/migration.rb:280:in `migrate' /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/1.8/benchmark.rb:293:in `measure' /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/migration.rb:280:in `migrate' (__DELEGATION__):2:in `__send__' (__DELEGATION__):2:in `migrate' /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/migration.rb:480:in `migrate' /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/migration.rb:556:in `call' /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/migration.rb:556:in `ddl_transaction' /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/migration.rb:479:in `migrate' /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/migration.rb:466:in `each' /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/migration.rb:466:in `migrate' /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/migration.rb:394:in `up' /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/migration.rb:377:in `migrate' /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/tasks/databases.rake:111 /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:617:in `call' /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:617:in `execute' /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:612:in `each' /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:612:in `execute' /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:578:in `invoke_with_call_chain' /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/1.8/monitor.rb:242:in `synchronize' /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:571:in `invoke_with_call_chain' /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:564:in `invoke' /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:2019:in `invoke_task' /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:1997:in `top_level' /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:1997:in `each' /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:1997:in `top_level' /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:2036:in `standard_exception_handling' /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:1991:in `top_level' /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:1970:in `run' /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:2036:in `standard_exception_handling' /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:1967:in `run' /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/rake-0.8.3/bin/rake:31 /opt/ruby-enterprise/bin/rake:19:in `load' /opt/ruby-enterprise/bin/rake:19 --- PageCache doesn't seem to be initialized or rather it can't find the class? Is there anything else I need to do/run after pulling and before migrating? Thanks, Tobias On Thu, Mar 12, 2009 at 2:35 AM, Cyril Mougel wrote: > Tobias Weisserth a ?crit : > > Hi there, >> >> I just pulled from github (see subject). Migrations are having trouble. >> Full trace following: >> >> rake --trace db:migrate >> (in /home/tweisser/workspace/typo/typo) >> ** Invoke db:migrate (first_time) >> ** Invoke environment (first_time) >> ** Execute environment >> ** Execute db:migrate >> == CreateCacheInformations: migrating >> ======================================== >> -- public_path() >> rake aborted! >> An error has occurred, all later migrations canceled: >> >> undefined method `public_path' for >> # >> /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/migration.rb:346:in >> `send' >> /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/migration.rb:346:in >> `method_missing' >> /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/migration.rb:326:in >> `say_with_time' >> /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/1.8/benchmark.rb:293:in >> `measure' >> /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/migration.rb:326:in >> `say_with_time' >> /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/migration.rb:342:in >> `method_missing' >> ./db/migrate//081_create_cache_informations.rb:12:in >> `up_without_benchmarks' >> ./db/migrate//081_create_cache_informations.rb:11:in `each' >> ./db/migrate//081_create_cache_informations.rb:11:in >> `up_without_benchmarks' >> /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/migration.rb:280:in >> `send' >> /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/migration.rb:280:in >> `migrate' >> /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/1.8/benchmark.rb:293:in >> `measure' >> /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/migration.rb:280:in >> `migrate' >> (__DELEGATION__):2:in `__send__' >> (__DELEGATION__):2:in `migrate' >> /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/migration.rb:480:in >> `migrate' >> /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/migration.rb:556:in >> `call' >> /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/migration.rb:556:in >> `ddl_transaction' >> /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/migration.rb:479:in >> `migrate' >> /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/migration.rb:466:in >> `each' >> /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/migration.rb:466:in >> `migrate' >> /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/migration.rb:394:in >> `up' >> /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/migration.rb:377:in >> `migrate' >> >> /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/tasks/databases.rake:111 >> /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:617:in >> `call' >> /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:617:in >> `execute' >> /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:612:in >> `each' >> /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:612:in >> `execute' >> /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:578:in >> `invoke_with_call_chain' >> /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/1.8/monitor.rb:242:in >> `synchronize' >> /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:571:in >> `invoke_with_call_chain' >> /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:564:in >> `invoke' >> /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:2019:in >> `invoke_task' >> /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:1997:in >> `top_level' >> /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:1997:in >> `each' >> /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:1997:in >> `top_level' >> /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:2036:in >> `standard_exception_handling' >> /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:1991:in >> `top_level' >> /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:1970:in >> `run' >> /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:2036:in >> `standard_exception_handling' >> /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:1967:in >> `run' >> >> /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/rake-0.8.3/bin/rake:31 >> /opt/ruby-enterprise/bin/rake:19:in `load' >> /opt/ruby-enterprise/bin/rake:19 >> >> Going back and forth through migrations up until 80 works fine though. >> >> Any idea? Should I open a ticket or is this specific to my setup? >> > > Sorry for this mistake. > > I fix it in commit : > > http://github.com/fdv/typo/commit/08055c37fca724ca495f91c59a1d37eeab2f343a > > -- > Cyril Mougel > http://blog.shingara.fr > > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list > -------------- next part -------------- An HTML attachment was scrubbed... URL: From tobias.weisserth at gmail.com Thu Mar 12 14:54:00 2009 From: tobias.weisserth at gmail.com (Tobias Weisserth) Date: Fri, 13 Mar 2009 00:24:00 +0530 Subject: [typo] 745e4ee7fc9f68c985ab7f87d072b89cf90b858d and the commit before that break migrations for me In-Reply-To: <43cee7130903121141s775c5518t937159148996df50@mail.gmail.com> References: <43cee7130903111229s2512b9a5t564ce106e5660b3d@mail.gmail.com> <49B8279A.7080205@gmail.com> <43cee7130903121141s775c5518t937159148996df50@mail.gmail.com> Message-ID: <43cee7130903121153o162d8738oe821e13157b9551d@mail.gmail.com> I took a look at the migration and a quick workaround is to delete "path_cache" manually. The migration will then not be stuck around line 12. It doesn't solve the bug though. On Fri, Mar 13, 2009 at 12:11 AM, Tobias Weisserth < tobias.weisserth at gmail.com> wrote: > I might be missing something, but migration 81 will still not work. > > This time it complains: > > rake --trace db:migrate > (in /home/tweisser/workspace/typo/typo) > ** Invoke db:migrate (first_time) > ** Invoke environment (first_time) > ** Execute environment > ** Execute db:migrate > == CreateCacheInformations: migrating > ======================================== > rake aborted! > An error has occurred, all later migrations canceled: > > uninitialized constant CreateCacheInformations::PageCage > /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:102:in > `const_missing' > > ./db/migrate//081_create_cache_informations.rb:12:in > `up_without_benchmarks' > ./db/migrate//081_create_cache_informations.rb:11:in `each' > ./db/migrate//081_create_cache_informations.rb:11:in > `up_without_benchmarks' > /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/migration.rb:280:in > `send' > /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/migration.rb:280:in > `migrate' > /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/1.8/benchmark.rb:293:in > `measure' > /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/migration.rb:280:in > `migrate' > (__DELEGATION__):2:in `__send__' > (__DELEGATION__):2:in `migrate' > /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/migration.rb:480:in > `migrate' > /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/migration.rb:556:in > `call' > /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/migration.rb:556:in > `ddl_transaction' > /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/migration.rb:479:in > `migrate' > /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/migration.rb:466:in > `each' > /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/migration.rb:466:in > `migrate' > /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/migration.rb:394:in > `up' > /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/migration.rb:377:in > `migrate' > > /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/tasks/databases.rake:111 > /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:617:in > `call' > /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:617:in > `execute' > /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:612:in > `each' > /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:612:in > `execute' > /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:578:in > `invoke_with_call_chain' > /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/1.8/monitor.rb:242:in > `synchronize' > /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:571:in > `invoke_with_call_chain' > /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:564:in > `invoke' > /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:2019:in > `invoke_task' > /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:1997:in > `top_level' > /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:1997:in > `each' > /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:1997:in > `top_level' > /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:2036:in > `standard_exception_handling' > /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:1991:in > `top_level' > /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:1970:in > `run' > /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:2036:in > `standard_exception_handling' > /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:1967:in > `run' > > /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/rake-0.8.3/bin/rake:31 > /opt/ruby-enterprise/bin/rake:19:in `load' > /opt/ruby-enterprise/bin/rake:19 > > --- > > PageCache doesn't seem to be initialized or rather it can't find the class? > > Is there anything else I need to do/run after pulling and before migrating? > > Thanks, > > Tobias > > > On Thu, Mar 12, 2009 at 2:35 AM, Cyril Mougel wrote: > >> Tobias Weisserth a ?crit : >> >> Hi there, >>> >>> I just pulled from github (see subject). Migrations are having trouble. >>> Full trace following: >>> >>> rake --trace db:migrate >>> (in /home/tweisser/workspace/typo/typo) >>> ** Invoke db:migrate (first_time) >>> ** Invoke environment (first_time) >>> ** Execute environment >>> ** Execute db:migrate >>> == CreateCacheInformations: migrating >>> ======================================== >>> -- public_path() >>> rake aborted! >>> An error has occurred, all later migrations canceled: >>> >>> undefined method `public_path' for >>> # >>> /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/migration.rb:346:in >>> `send' >>> /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/migration.rb:346:in >>> `method_missing' >>> /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/migration.rb:326:in >>> `say_with_time' >>> /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/1.8/benchmark.rb:293:in >>> `measure' >>> /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/migration.rb:326:in >>> `say_with_time' >>> /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/migration.rb:342:in >>> `method_missing' >>> ./db/migrate//081_create_cache_informations.rb:12:in >>> `up_without_benchmarks' >>> ./db/migrate//081_create_cache_informations.rb:11:in `each' >>> ./db/migrate//081_create_cache_informations.rb:11:in >>> `up_without_benchmarks' >>> /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/migration.rb:280:in >>> `send' >>> /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/migration.rb:280:in >>> `migrate' >>> /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/1.8/benchmark.rb:293:in >>> `measure' >>> /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/migration.rb:280:in >>> `migrate' >>> (__DELEGATION__):2:in `__send__' >>> (__DELEGATION__):2:in `migrate' >>> /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/migration.rb:480:in >>> `migrate' >>> /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/migration.rb:556:in >>> `call' >>> /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/migration.rb:556:in >>> `ddl_transaction' >>> /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/migration.rb:479:in >>> `migrate' >>> /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/migration.rb:466:in >>> `each' >>> /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/migration.rb:466:in >>> `migrate' >>> /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/migration.rb:394:in >>> `up' >>> /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/migration.rb:377:in >>> `migrate' >>> >>> /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/tasks/databases.rake:111 >>> /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:617:in >>> `call' >>> /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:617:in >>> `execute' >>> /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:612:in >>> `each' >>> /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:612:in >>> `execute' >>> /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:578:in >>> `invoke_with_call_chain' >>> /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/1.8/monitor.rb:242:in >>> `synchronize' >>> /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:571:in >>> `invoke_with_call_chain' >>> /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:564:in >>> `invoke' >>> /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:2019:in >>> `invoke_task' >>> /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:1997:in >>> `top_level' >>> /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:1997:in >>> `each' >>> /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:1997:in >>> `top_level' >>> /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:2036:in >>> `standard_exception_handling' >>> /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:1991:in >>> `top_level' >>> /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:1970:in >>> `run' >>> /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:2036:in >>> `standard_exception_handling' >>> /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:1967:in >>> `run' >>> >>> /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/rake-0.8.3/bin/rake:31 >>> /opt/ruby-enterprise/bin/rake:19:in `load' >>> /opt/ruby-enterprise/bin/rake:19 >>> >>> Going back and forth through migrations up until 80 works fine though. >>> >>> Any idea? Should I open a ticket or is this specific to my setup? >>> >> >> Sorry for this mistake. >> >> I fix it in commit : >> >> http://github.com/fdv/typo/commit/08055c37fca724ca495f91c59a1d37eeab2f343a >> >> -- >> Cyril Mougel >> http://blog.shingara.fr >> >> _______________________________________________ >> Typo-list mailing list >> Typo-list at rubyforge.org >> http://rubyforge.org/mailman/listinfo/typo-list >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From cyril.mougel at gmail.com Thu Mar 12 16:16:27 2009 From: cyril.mougel at gmail.com (Cyril Mougel) Date: Thu, 12 Mar 2009 21:16:27 +0100 Subject: [typo] 745e4ee7fc9f68c985ab7f87d072b89cf90b858d and the commit before that break migrations for me In-Reply-To: <43cee7130903121153o162d8738oe821e13157b9551d@mail.gmail.com> References: <43cee7130903111229s2512b9a5t564ce106e5660b3d@mail.gmail.com> <49B8279A.7080205@gmail.com> <43cee7130903121141s775c5518t937159148996df50@mail.gmail.com> <43cee7130903121153o162d8738oe821e13157b9551d@mail.gmail.com> Message-ID: <49B96D9B.4070100@gmail.com> Tobias Weisserth a ?crit : > I took a look at the migration and a quick workaround is to delete > "path_cache" manually. The migration will then not be stuck around > line 12. It doesn't solve the bug though. Your right I fix problem in commit 4720de1 Really sorry. -- Cyril Mougel http://blog.shingara.fr From frederic at de-villamil.com Sat Mar 14 07:20:15 2009 From: frederic at de-villamil.com (=?ISO-8859-1?Q?de_Villamil_Fr=E9d=E9ric?=) Date: Sat, 14 Mar 2009 12:20:15 +0100 Subject: [typo] Features frozen for Typo 5.3 Message-ID: <3A77CF48-BEF9-4277-A02B-8652B2647A26@de-villamil.com> Hello, Yesterday, Cyril and I have decided to freeze the long list of features of the soon to come Typo 5.3, pushing password protected posts and spam filter daily digest to a later release. Many bugs have been fixed lately, and, unless we discover remaining bugs, we consider the current version as usable in production, which means a first release candidate may come quickly. Stay tuned ! Cheers, Fr?d?ric -- Fr?d?ric de Villamil "What's mine is mine. What's yours is still unsetteled" ? Go player proverb frederic at de-villamil.com tel: +33 (0)6 62 19 1337 http://t37.net Typo : http://typosphere.org From frederic at de-villamil.com Sat Mar 14 06:55:05 2009 From: frederic at de-villamil.com (=?ISO-8859-1?Q?de_Villamil_Fr=E9d=E9ric?=) Date: Sat, 14 Mar 2009 11:55:05 +0100 Subject: [typo] Need documentation proofreading Message-ID: Hello, With Typo 5.3 release date approaching, I've written a migration documentation hosted at http://wiki.github.com/fdv/typo/upgrading-to-typo-53 . If some of you have the time and the will, I'd like to have it proof readed before adding it to Typo core and considering it as official. I think it's correct on a technical point of view (is something missing?). On an english point of view... Regards, Fr?d?ric -- Fr?d?ric de Villamil "What's mine is mine. What's yours is still unsetteled" ? Go player proverb frederic at de-villamil.com tel: +33 (0)6 62 19 1337 http://t37.net Typo : http://typosphere.org From frederic at de-villamil.com Sat Mar 14 17:16:43 2009 From: frederic at de-villamil.com (=?ISO-8859-1?Q?de_Villamil_Fr=E9d=E9ric?=) Date: Sat, 14 Mar 2009 22:16:43 +0100 Subject: [typo] [ANN] Release of Typo 5.2.98 Message-ID: <0A2838F3-791E-4F99-8A03-74634AE43163@de-villamil.com> Hi list, I've released tonight Typo 5.2.98, which is the first release candidate for Typo 5.3. Only 1 month and half after releasing Typo 5.2 as a major release, here is another one with a consequent bunch of evolutions. Let's have a quick glance at them together * The main goal for Typo 5.3 was the dynamic permalink scheme, which forced us to completely rewrite our URL generation system and our cache system. * Feedburner support directly into your admin. * Semi static caching was buggy, and heavy, so we removed it. Typo now only does static caching. * Text filters configuration are now on a per user and on a per article basis. When migrating, all users will be given the blog default's text filter. * More performance improvement, Typo is really fast now * Even more SEO capabilities. Tags and categories can be removed from search engines, using noindex, removed from sitemap.xml, and Typo now has a robots.txt editor. * Old drop down menus were replaced with some fancy calendar like date pickers. * Notifications for sidebar save and autosave are now done using growler, a nice growl like javascript thing. * Inline editor switching ? la Wordpress. Isn't that one cool? * Admin can now deactivate users. You can download Typo at http://rubyforge.org/frs/?group_id=555&release_id=32223 or install the gem the traditionnal way. Cheers, Your Typo team -- Fr?d?ric de Villamil "What's mine is mine. What's yours is still unsetteled" ? Go player proverb frederic at de-villamil.com tel: +33 (0)6 62 19 1337 http://t37.net Typo : http://typosphere.org From ruby-forum-incoming at andreas-s.net Mon Mar 16 15:08:46 2009 From: ruby-forum-incoming at andreas-s.net (Harry Seldon) Date: Mon, 16 Mar 2009 20:08:46 +0100 Subject: [typo] Typo and feedburner In-Reply-To: <73F7C522-52C8-4590-9A55-C556C808C431@de-villamil.com> References: <5ae5e4c2b0786609552e9b3083fec62c@ruby-forum.com> <967d3b9a0903041938h43a1c8acy17cda963591a358c@mail.gmail.com> <73F7C522-52C8-4590-9A55-C556C808C431@de-villamil.com> Message-ID: <05ec8a1e22db7136891014986d657c5c@ruby-forum.com> Hi, For info, I got some troubles with my Typo feed after activating the Typo redirection to feedburner. Basically feedburner was complaining about a non valid feed. I do not have much clue about what was going on. I am afraid there was some infinite loop like: FB needs the feed address (http://harryseldon.thinkosphere.com/articles.rss) but this address redirects to http://feeds2.feedburner.com/harryseldon hence the loop. I am definitely not sure about that. So I mention it in case some other people encounter this problem. Here is the FB error: PROBLEM: FeedMedic Alert for http://feeds2.feedburner.com/harryseldon 08.03.2009 18:24 FeedBurner had trouble retrieving your Source Feed: http://harryseldon.thinkosphere.com/articles.rss The error message is: Error getting URL: 500 - Internal Server Error Actions you can take: Validate your Source Feed with Feed Validator. This service provides additional detail about the problem, and how to repair it. Resync your FeedBurner feed once you have repaired the source feed. Contact FeedBurner for help with your feed if all else fails. H -- Posted via http://www.ruby-forum.com/. From ruby-forum-incoming at andreas-s.net Mon Mar 16 15:22:43 2009 From: ruby-forum-incoming at andreas-s.net (Harry Seldon) Date: Mon, 16 Mar 2009 20:22:43 +0100 Subject: [typo] Need documentation proofreading In-Reply-To: References: Message-ID: For info, I have made some minor corrections. Thx for all your work. -- Posted via http://www.ruby-forum.com/. From bburdick at gmail.com Wed Mar 18 18:57:51 2009 From: bburdick at gmail.com (Ben Burdick) Date: Wed, 18 Mar 2009 18:57:51 -0400 Subject: [typo] formatting options, text filters and macros Message-ID: Hey all, I was wondering if someone could point me in the right direction for finding information about some of Typo's various formatting goodies. I can't seem to find any documentation on this stuff - but am finding it hard to believe that the typo dev's would make all these cool things and not tell anyone how to use it. Any pointers would be most welcome. Cheers, Ben From frederic at de-villamil.com Fri Mar 20 08:28:26 2009 From: frederic at de-villamil.com (=?ISO-8859-1?Q?de_Villamil_Fr=E9d=E9ric?=) Date: Fri, 20 Mar 2009 13:28:26 +0100 Subject: [typo] formatting options, text filters and macros In-Reply-To: References: Message-ID: <8839925A-220D-472E-BB77-00EF2AF86AE3@de-villamil.com> Le 18 mars 09 ? 23:57, Ben Burdick a ?crit : > Hey all, > > I was wondering if someone could point me in the right direction for > finding information about some of Typo's various formatting > goodies. I can't seem to find any documentation on this stuff - but > am finding it hard to believe that the typo dev's would make all > these cool things and not tell anyone how to use it. > > Any pointers would be most welcome. > > Cheers, > > Ben Hi Ben, These are documented just under the editor. For people looking at doc, I've also added it on our wiki at http://wiki.github.com/fdv/typo/typo-macros-explained Cheers Fr?d?ric -- Fr?d?ric de Villamil "What's mine is mine. What's yours is still unsetteled" ? Go player proverb frederic at de-villamil.com tel: +33 (0)6 62 19 1337 http://t37.net Typo : http://typosphere.org From tobias.weisserth at gmail.com Mon Mar 23 06:16:51 2009 From: tobias.weisserth at gmail.com (Tobias Weisserth) Date: Mon, 23 Mar 2009 15:46:51 +0530 Subject: [typo] Where to get relative links within a view template? Message-ID: <43cee7130903230316t2d639dd0qd846311acf73bb86@mail.gmail.com> Hi everybody, in my view templates, I have a meta navigation bar in the header, that renders links to the administration login page, an about page and an imprint page. So far, I hard-coded these links. This is bad. So what's the proper way to generate these links? The link to the admin page should be easy as it is static. I thought about using the Blog class, I noticed a method there to retrieve the base url and just concatenate the admin page behind that. Would I need to come up with some kind of plugin that does the rest, thus generating links to pages? Or can I touch the routes/controller behaviour to create a mapping there manually after creating the pages I need (about, imprint)? thanks, Tobias W. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frederic at de-villamil.com Mon Mar 23 06:47:43 2009 From: frederic at de-villamil.com (=?ISO-8859-1?Q?de_Villamil_Fr=E9d=E9ric?=) Date: Mon, 23 Mar 2009 11:47:43 +0100 Subject: [typo] Where to get relative links within a view template? In-Reply-To: <43cee7130903230316t2d639dd0qd846311acf73bb86@mail.gmail.com> References: <43cee7130903230316t2d639dd0qd846311acf73bb86@mail.gmail.com> Message-ID: <86358FDD-CD1B-4923-966D-644BECDC5434@de-villamil.com> Le 23 mars 09 ? 11:16, Tobias Weisserth a ?crit : > Hi everybody, > > in my view templates, I have a meta navigation bar in the header, > that renders links to the administration login page, an about page > and an imprint page. So far, I hard-coded these links. This is bad. > > So what's the proper way to generate these links? The link to the > admin page should be easy as it is static. I thought about using the > Blog class, I noticed a method there to retrieve the base url and > just concatenate the admin page behind that. > > Would I need to come up with some kind of plugin that does the rest, > thus generating links to pages? Or can I touch the routes/controller > behaviour to create a mapping there manually after creating the > pages I need (about, imprint)? > > thanks, > > Tobias W. Hi Tobias, We have some very helpful helpers to help (obvious heh) us make nice, not hardcoded links in our views. The most important is base_url, which is included into this_blog. So to get to your admin, I would use: <%= link_to "Admin", "#{this_blog.base_url}/admin" %> You also have link_to_permalink which is kinda helpful. For example, with pages, you can do: <% pages = Page.find(:all, :conditions => {:state => 'published'}) %> <% pages.each do |page| %> <%= link_to_permalink(page, page.title) %> <%end%> And so on... Cheers, Fr?d?ric -- Fr?d?ric de Villamil "What's mine is mine. What's yours is still unsetteled" ? Go player proverb frederic at de-villamil.com tel: +33 (0)6 62 19 1337 http://t37.net Typo : http://typosphere.org From rick.denatale at gmail.com Tue Mar 24 00:08:00 2009 From: rick.denatale at gmail.com (Rick DeNatale) Date: Tue, 24 Mar 2009 00:08:00 -0400 Subject: [typo] Having problems upgrading Message-ID: I've been running my blog for a long time using typo. It's been running on typo 4.1. My server recently crashed and I decided that it might be a good thing to upgrade the blog in the process of restoring everything. I've gotten the old installation directory and a dump of the database onto my macbook, and it's running under passenger there. So I've tried to upgrade it to typo 5.2. The first problem is that when I ran typo install path/where/typo/isinstalled It hung endlessly backing up the database. Now since I already had a mysql dump, and the install process never seems to use the backup, I bravely commented out the call to back up in the rails-installer-gem. Now it gets to the point where it's trying to run the migrations, and it fails with: ? ~ $ sudo typo install typo Installing typo 5.2.98 Stopping Typo !!! PID file /Users/rick/typo/tmp/pid.txt does not exist. Not running? mongrel::stop reported an error. Use mongrel_rails mongrel::stop -h to get help. Checking for existing Typo install in /Users/rick/typo Reading files from /opt/local/lib/ruby/gems/1.8/gems/typo-5.2.98 copying rails 2.2.2 to /Users/rick/typo/vendor/rails/railties copying activesupport 2.2.2 to /Users/rick/typo/vendor/rails/activesupport copying activerecord 2.2.2 to /Users/rick/typo/vendor/rails/activerecord copying actionpack 2.2.2 to /Users/rick/typo/vendor/rails/actionpack copying actionmailer 2.2.2 to /Users/rick/typo/vendor/rails/actionmailer Making scripts executable Checking database Database exists, preparing for upgrade Migrating Typo's database to newest release rake aborted! RubyGem version error: actionpack(1.13.3 not = 1.13.6) (See full trace by running task with --trace) /opt/local/lib/ruby/gems/1.8/gems/typo-5.2.98/bin/typo:59:in `migrate': Migration failed (RailsInstaller::InstallFailed) from /opt/local/lib/ruby/gems/1.8/gems/rails-app-installer-0.2.0/lib/rails-installer.rb:689:in `in_directory' from /opt/local/lib/ruby/gems/1.8/gems/typo-5.2.98/bin/typo:57:in `migrate' from /opt/local/lib/ruby/gems/1.8/gems/rails-app-installer-0.2.0/lib/rails-installer.rb:217:in `install_sequence' from /opt/local/lib/ruby/gems/1.8/gems/rails-app-installer-0.2.0/lib/rails-installer.rb:192:in `install' from /opt/local/lib/ruby/gems/1.8/gems/rails-app-installer-0.2.0/lib/rails-installer/commands.rb:95:in `command' from /opt/local/lib/ruby/gems/1.8/gems/rails-app-installer-0.2.0/lib/rails-installer.rb:646:in `execute_command' from /opt/local/lib/ruby/gems/1.8/gems/typo-5.2.98/bin/typo:93 from /opt/local/bin/typo:19:in `load' from /opt/local/bin/typo:19 The fact that mongrel stop is failing is unsurprising, since it's not running, and it doesn't seem to hurt. But I'm at a loss to figure out why rake is failing. It's not just rake db:migrate but any use of rake inside the install directory. It seems to be associated with that RubyGem version error. But I can't seem to find where it's calling for 1.13.6. And 1.13.6 doesn't seem to be available either on rubyforge or github $ gem list --both actionpack *** LOCAL GEMS *** actionpack (2.3.2, 2.3.1, 2.2.2, 2.1.0, 2.0.2, 1.13.5, 1.13.3) *** REMOTE GEMS *** actionpack (2.3.2) ? ~ $ gem source *** CURRENT SOURCES *** http://gems.rubyforge.org/ http://gems.github.com ? ~ $ It would seem that since typo is installing rails 2.2, that a 2.2.x version of actionpack should be the target anyway. Any ideas? -- Rick DeNatale Blog: http://talklikeaduck.denhaven2.com/ Twitter: http://twitter.com/RickDeNatale WWR: http://www.workingwithrails.com/person/9021-rick-denatale LinkedIn: http://www.linkedin.com/in/rickdenatale -------------- next part -------------- An HTML attachment was scrubbed... URL: From bburdick at gmail.com Tue Mar 24 00:38:29 2009 From: bburdick at gmail.com (Ben Burdick) Date: Tue, 24 Mar 2009 00:38:29 -0400 Subject: [typo] Having problems upgrading In-Reply-To: References: Message-ID: <57CE5B9F-15D1-4B71-A5EB-957FD3A93ADE@gmail.com> I believe that it is most likely the actionwebservice gem (which typo depends on) you have installed that is making the call to actionpack 1.13.3 Try this: sudo gem install datanoise-actionwebservice --source http://gems.github.com That you will you the latest maintained version of actionwebservice that doesn't depend on legacy gems. Ben On Mar 24, 2009, at 12:08 AM, Rick DeNatale wrote: > I've been running my blog for a long time using typo. It's been > running on typo 4.1. > > My server recently crashed and I decided that it might be a good > thing to upgrade the blog in the process of restoring everything. > > I've gotten the old installation directory and a dump of the > database onto my macbook, and it's running under passenger there. > > So I've tried to upgrade it to typo 5.2. > > The first problem is that when I ran typo install path/where/typo/ > isinstalled > > It hung endlessly backing up the database. Now since I already had > a mysql dump, and the install process never seems to use the backup, > I bravely commented out the call to back up in the rails-installer- > gem. > > Now it gets to the point where it's trying to run the migrations, > and it fails with: > > ? ~ $ sudo typo install typo > Installing typo 5.2.98 > Stopping Typo > !!! PID file /Users/rick/typo/tmp/pid.txt does not exist. Not > running? > mongrel::stop reported an error. Use mongrel_rails mongrel::stop -h > to get help. > Checking for existing Typo install in /Users/rick/typo > Reading files from /opt/local/lib/ruby/gems/1.8/gems/typo-5.2.98 > copying rails 2.2.2 to /Users/rick/typo/vendor/rails/railties > copying activesupport 2.2.2 to /Users/rick/typo/vendor/rails/ > activesupport > copying activerecord 2.2.2 to /Users/rick/typo/vendor/rails/ > activerecord > copying actionpack 2.2.2 to /Users/rick/typo/vendor/rails/actionpack > copying actionmailer 2.2.2 to /Users/rick/typo/vendor/rails/ > actionmailer > Making scripts executable > Checking database > Database exists, preparing for upgrade > Migrating Typo's database to newest release > rake aborted! > RubyGem version error: actionpack(1.13.3 not = 1.13.6) > > (See full trace by running task with --trace) > /opt/local/lib/ruby/gems/1.8/gems/typo-5.2.98/bin/typo:59:in > `migrate': Migration failed (RailsInstaller::InstallFailed) > from /opt/local/lib/ruby/gems/1.8/gems/rails-app-installer-0.2.0/ > lib/rails-installer.rb:689:in `in_directory' > from /opt/local/lib/ruby/gems/1.8/gems/typo-5.2.98/bin/typo:57:in > `migrate' > from /opt/local/lib/ruby/gems/1.8/gems/rails-app-installer-0.2.0/ > lib/rails-installer.rb:217:in `install_sequence' > from /opt/local/lib/ruby/gems/1.8/gems/rails-app-installer-0.2.0/ > lib/rails-installer.rb:192:in `install' > from /opt/local/lib/ruby/gems/1.8/gems/rails-app-installer-0.2.0/ > lib/rails-installer/commands.rb:95:in `command' > from /opt/local/lib/ruby/gems/1.8/gems/rails-app-installer-0.2.0/ > lib/rails-installer.rb:646:in `execute_command' > from /opt/local/lib/ruby/gems/1.8/gems/typo-5.2.98/bin/typo:93 > from /opt/local/bin/typo:19:in `load' > from /opt/local/bin/typo:19 > > The fact that mongrel stop is failing is unsurprising, since it's > not running, and it doesn't seem to hurt. > > But I'm at a loss to figure out why rake is failing. It's not just > rake db:migrate but any use of rake inside the install directory. > It seems to be associated with that RubyGem version error. But I > can't seem to find where it's calling for 1.13.6. And 1.13.6 > doesn't seem to be available either on rubyforge or github > > $ gem list --both actionpack > > *** LOCAL GEMS *** > > actionpack (2.3.2, 2.3.1, 2.2.2, 2.1.0, 2.0.2, 1.13.5, 1.13.3) > > *** REMOTE GEMS *** > > actionpack (2.3.2) > > ? ~ $ gem source > *** CURRENT SOURCES *** > > http://gems.rubyforge.org/ > http://gems.github.com > ? ~ $ > > It would seem that since typo is installing rails 2.2, that a 2.2.x > version of actionpack should be the target anyway. > > Any ideas? > > -- > Rick DeNatale > > Blog: http://talklikeaduck.denhaven2.com/ > Twitter: http://twitter.com/RickDeNatale > WWR: http://www.workingwithrails.com/person/9021-rick-denatale > LinkedIn: http://www.linkedin.com/in/rickdenatale > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list -------------- next part -------------- An HTML attachment was scrubbed... URL: From frederic at de-villamil.com Tue Mar 24 05:07:40 2009 From: frederic at de-villamil.com (=?ISO-8859-1?Q?de_Villamil_Fr=E9d=E9ric?=) Date: Tue, 24 Mar 2009 10:07:40 +0100 Subject: [typo] Having problems upgrading In-Reply-To: <57CE5B9F-15D1-4B71-A5EB-957FD3A93ADE@gmail.com> References: <57CE5B9F-15D1-4B71-A5EB-957FD3A93ADE@gmail.com> Message-ID: <34D49D20-788F-470E-86FD-674421F8E461@de-villamil.com> Le 24 mars 09 ? 05:38, Ben Burdick a ?crit : > I believe that it is most likely the actionwebservice gem (which > typo depends on) you have installed that is making the call to > actionpack 1.13.3 > > Try this: sudo gem install datanoise-actionwebservice --source http://gems.github.com > > That you will you the latest maintained version of actionwebservice > that doesn't depend on legacy gems. > > Ben Hello, We've been awared of that, and of a looping conflict with AWS when you don't have it and want to run rake gems:install. So we've vendored AWS 2.2.2 in the current branch with will_paginate (and every github hosted gems since gem deps doesn't handle non rubyforged hosted dependencies). This will be in the next release due by the end of the week. Cheers, Fr?d?ric -- Fr?d?ric de Villamil "What's mine is mine. What's yours is still unsetteled" ? Go player proverb frederic at de-villamil.com tel: +33 (0)6 62 19 1337 http://t37.net Typo : http://typosphere.org -------------- next part -------------- An HTML attachment was scrubbed... URL: From rick.denatale at gmail.com Tue Mar 24 12:41:27 2009 From: rick.denatale at gmail.com (Rick DeNatale) Date: Tue, 24 Mar 2009 12:41:27 -0400 Subject: [typo] Having problems upgrading In-Reply-To: <57CE5B9F-15D1-4B71-A5EB-957FD3A93ADE@gmail.com> References: <57CE5B9F-15D1-4B71-A5EB-957FD3A93ADE@gmail.com> Message-ID: On Tue, Mar 24, 2009 at 12:38 AM, Ben Burdick wrote: > I believe that it is most likely the actionwebservice gem (which typo > depends on) you have installed that is making the call to actionpack 1.13.3 > > Try this: sudo gem install datanoise-actionwebservice --source > http://gems.github.com > > That you will you the latest maintained version of actionwebservice that > doesn't depend on legacy gems. > > Ben > Thanks, that got me past that. Are you the Ben Burdick I know? I've now gotten Typo 5.2 running under passenger on my macbook, and thanks to a friend who'd saved my RSS feeds managed to re-enter the articles which hadn't gotten backed up before the crash. My next goal is to set this up to deploy to my Ubuntu server using capistrano, passenger, and git for the code repository. Does anyone know of a good how-to, to save me struggling though myself? Besides the deployment questions, I'm a little confused by the new article editing UI. The old UI had separate labeled areas for the section of the article to be shown on the main page, and for extended content (if any). Now there's an unlabeled text area with a section below for an excerpt. I tried using the excerpt for what goes on the main page, but it still shows the whole article there. How is this supposed to work now. My preferences are to be able to excerpt articles on the main page, but put the whole article in RSS feeds. I feel a little bit like Rip Van WInkle (or maybe Woody Allen's character in Sleeper) having fallen asleep in Typo 4.1, and waken up in 5.2 -- Rick DeNatale Blog: http://talklikeaduck.denhaven2.com/ Twitter: http://twitter.com/RickDeNatale WWR: http://www.workingwithrails.com/person/9021-rick-denatale LinkedIn: http://www.linkedin.com/in/rickdenatale -------------- next part -------------- An HTML attachment was scrubbed... URL: From frederic at de-villamil.com Tue Mar 24 13:46:41 2009 From: frederic at de-villamil.com (=?ISO-8859-1?Q?de_Villamil_Fr=E9d=E9ric?=) Date: Tue, 24 Mar 2009 18:46:41 +0100 Subject: [typo] Having problems upgrading In-Reply-To: References: <57CE5B9F-15D1-4B71-A5EB-957FD3A93ADE@gmail.com> Message-ID: <977BCD6C-5D51-4BDC-94E2-C03749F367FE@de-villamil.com> > Besides the deployment questions, I'm a little confused by the new > article editing UI. The old UI had separate labeled areas for the > section of the article to be shown on the main page, and for > extended content (if any). Now there's an unlabeled text area with > a section below for an excerpt. I tried using the excerpt for what > goes on the main page, but it still shows the whole article there. > How is this supposed to work now. My preferences are to be able to > excerpt articles on the main page, but put the whole article in RSS > feeds. > > I feel a little bit like Rip Van WInkle (or maybe Woody Allen's > character in Sleeper) having fallen asleep in Typo 4.1, and waken up > in 5.2 > Hi Rick, Thank you for your feedback, which is the first of the kind since I changed the editing UI to something more compact (and still subject to changes after the nex release, I'm sketching something in this way) The following is true if you're using 5.2.98 / git master code. When I redesigned the editing UI, I wanted something more easy and straightforward to use for both people starting with Typo and people migrating from Wordpress / Movable Type / Whatever. The body / extended contents have been merged into one editor, with a "more" button to separate them, actually like on most CMS. Excerpt is a content that will appear on the "list" pages (home, category, tags), but not on the post itself. It is currently a bit brocken, and there is a ticket open for this issue. Next release is due this week-end according our roadmap. This is the last known bug we have to fix before this, so expect things to work when we release. Expect also some more documented UI where it makes sense at that time. Cheers, Fr?d?ric / neuro` on #typo -- Fr?d?ric de Villamil "What's mine is mine. What's yours is still unsetteled" ? Go player proverb frederic at de-villamil.com tel: +33 (0)6 62 19 1337 http://t37.net Typo : http://typosphere.org From rick.denatale at gmail.com Tue Mar 24 15:02:10 2009 From: rick.denatale at gmail.com (Rick DeNatale) Date: Tue, 24 Mar 2009 15:02:10 -0400 Subject: [typo] Having problems upgrading In-Reply-To: <977BCD6C-5D51-4BDC-94E2-C03749F367FE@de-villamil.com> References: <57CE5B9F-15D1-4B71-A5EB-957FD3A93ADE@gmail.com> <977BCD6C-5D51-4BDC-94E2-C03749F367FE@de-villamil.com> Message-ID: Merci Fr?d?ric! It took me a while to find the more button, but I get it now. C'e n'etait pas grave! 2009/3/24 de Villamil Fr?d?ric > Besides the deployment questions, I'm a little confused by the new article >> editing UI. The old UI had separate labeled areas for the section of the >> article to be shown on the main page, and for extended content (if any). >> Now there's an unlabeled text area with a section below for an excerpt. I >> tried using the excerpt for what goes on the main page, but it still shows >> the whole article there. How is this supposed to work now. My preferences >> are to be able to excerpt articles on the main page, but put the whole >> article in RSS feeds. >> >> I feel a little bit like Rip Van WInkle (or maybe Woody Allen's character >> in Sleeper) having fallen asleep in Typo 4.1, and waken up in 5.2 >> >> > > Hi Rick, > > Thank you for your feedback, which is the first of the kind since I changed > the editing UI to something more compact (and still subject to changes after > the nex release, I'm sketching something in this way) > > The following is true if you're using 5.2.98 / git master code. > > When I redesigned the editing UI, I wanted something more easy and > straightforward to use for both people starting with Typo and people > migrating from Wordpress / Movable Type / Whatever. The body / extended > contents have been merged into one editor, with a "more" button to separate > them, actually like on most CMS. > > Excerpt is a content that will appear on the "list" pages (home, category, > tags), but not on the post itself. It is currently a bit brocken, and there > is a ticket open for this issue. Next release is due this week-end according > our roadmap. This is the last known bug we have to fix before this, so > expect things to work when we release. Expect also some more documented UI > where it makes sense at that time. > > Cheers, > Fr?d?ric / neuro` on #typo > > -- > Fr?d?ric de Villamil > "What's mine is mine. What's yours is still unsetteled" ? Go player proverb > frederic at de-villamil.com tel: +33 (0)6 62 19 1337 > http://t37.net Typo : > http://typosphere.org > > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list > -- Rick DeNatale Blog: http://talklikeaduck.denhaven2.com/ Twitter: http://twitter.com/RickDeNatale WWR: http://www.workingwithrails.com/person/9021-rick-denatale LinkedIn: http://www.linkedin.com/in/rickdenatale -------------- next part -------------- An HTML attachment was scrubbed... URL: From bburdick at gmail.com Tue Mar 24 15:49:49 2009 From: bburdick at gmail.com (Ben Burdick) Date: Tue, 24 Mar 2009 15:49:49 -0400 Subject: [typo] Having problems upgrading In-Reply-To: References: <57CE5B9F-15D1-4B71-A5EB-957FD3A93ADE@gmail.com> Message-ID: <3D772E32-D41D-47D0-B2F7-EBF4A95E1D8F@gmail.com> Hey Rick, Is there any other Ben Burdick? ;) Glad to hear that you got your server trouble squared away. There is a great article over at Slicehost on how to get passenger rocking on Ubuntu, here http://articles.slicehost.com/2009/2/2/ubuntu-intrepid-mod_rails-installation - although, that article has you installing "apache2-mpm-prefork" and I would suggest installing "apache2-mpm-worker" instead, as that seems to be preferred by passenger and uses less memory. Ben On Mar 24, 2009, at 12:41 PM, Rick DeNatale wrote: > On Tue, Mar 24, 2009 at 12:38 AM, Ben Burdick > wrote: > I believe that it is most likely the actionwebservice gem (which > typo depends on) you have installed that is making the call to > actionpack 1.13.3 > > Try this: sudo gem install datanoise-actionwebservice --source http://gems.github.com > > That you will you the latest maintained version of actionwebservice > that doesn't depend on legacy gems. > > Ben > > Thanks, that got me past that. > > Are you the Ben Burdick I know? > > I've now gotten Typo 5.2 running under passenger on my macbook, and > thanks to a friend who'd saved my RSS feeds managed to re-enter the > articles which hadn't gotten backed up before the crash. > > My next goal is to set this up to deploy to my Ubuntu server using > capistrano, passenger, and git for the code repository. Does anyone > know of a good how-to, to save me struggling though myself? > > Besides the deployment questions, I'm a little confused by the new > article editing UI. The old UI had separate labeled areas for the > section of the article to be shown on the main page, and for > extended content (if any). Now there's an unlabeled text area with > a section below for an excerpt. I tried using the excerpt for what > goes on the main page, but it still shows the whole article there. > How is this supposed to work now. My preferences are to be able to > excerpt articles on the main page, but put the whole article in RSS > feeds. > > I feel a little bit like Rip Van WInkle (or maybe Woody Allen's > character in Sleeper) having fallen asleep in Typo 4.1, and waken up > in 5.2 > > > -- > Rick DeNatale > > Blog: http://talklikeaduck.denhaven2.com/ > Twitter: http://twitter.com/RickDeNatale > WWR: http://www.workingwithrails.com/person/9021-rick-denatale > LinkedIn: http://www.linkedin.com/in/rickdenatale > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list -------------- next part -------------- An HTML attachment was scrubbed... URL: From rick.denatale at gmail.com Tue Mar 24 22:26:34 2009 From: rick.denatale at gmail.com (Rick DeNatale) Date: Tue, 24 Mar 2009 22:26:34 -0400 Subject: [typo] Is there any kind of doc on how to write textfilter plugins? Message-ID: Now that I've got my blog back on the air and up to Typo 5.2, I'm starting to get some ideas. Recently I'd started adding a re-tweet button to each article using tweetmeme.cm. This is pair of javascript tags which are boilerplate, except for needing the url of the current page inserted. This seems like a perfect opportunity for a textfilter which could turn something like into the javascript tags. I guess I can suss out how to code and install a new plugin, but if there's some doc somewhere it would help. -- Rick DeNatale Blog: http://talklikeaduck.denhaven2.com/ Twitter: http://twitter.com/RickDeNatale WWR: http://www.workingwithrails.com/person/9021-rick-denatale LinkedIn: http://www.linkedin.com/in/rickdenatale -------------- next part -------------- An HTML attachment was scrubbed... URL: From frederic at de-villamil.com Wed Mar 25 07:47:00 2009 From: frederic at de-villamil.com (=?ISO-8859-1?Q?de_Villamil_Fr=E9d=E9ric?=) Date: Wed, 25 Mar 2009 12:47:00 +0100 Subject: [typo] Is there any kind of doc on how to write textfilter plugins? In-Reply-To: References: Message-ID: <24CAC10C-8EBA-4D83-847F-95CF15EA14D7@de-villamil.com> Le 25 mars 09 ? 03:26, Rick DeNatale a ?crit : > Now that I've got my blog back on the air and up to Typo 5.2, I'm > starting to get some ideas. > > Recently I'd started adding a re-tweet button to each article using > tweetmeme.cm. This is pair of javascript tags which are > boilerplate, except for needing the url of the current page inserted. > > This seems like a perfect opportunity for a textfilter which could > turn something like into the javascript tags. > > I guess I can suss out how to code and install a new plugin, but if > there's some doc somewhere it would help. OK, I see, there is definitely an international conspiracy organized to have me write all the long missing documentation I've been too lazy to write during the almost 3 years since I took over the project and show how poor my English is just before I release 5.3... I've written the typo macro doc, you can find it at http://wiki.github.com/fdv/typo/how-to-create-your-own-typo-macro-filters Please correct if you find any mistake. Cheers, Fr?d?ric -- Fr?d?ric de Villamil "What's mine is mine. What's yours is still unsetteled" ? Go player proverb frederic at de-villamil.com tel: +33 (0)6 62 19 1337 http://t37.net Typo : http://typosphere.org From rick.denatale at gmail.com Wed Mar 25 09:00:52 2009 From: rick.denatale at gmail.com (Rick DeNatale) Date: Wed, 25 Mar 2009 09:00:52 -0400 Subject: [typo] Is there any kind of doc on how to write textfilter plugins? In-Reply-To: <24CAC10C-8EBA-4D83-847F-95CF15EA14D7@de-villamil.com> References: <24CAC10C-8EBA-4D83-847F-95CF15EA14D7@de-villamil.com> Message-ID: 2009/3/25 de Villamil Fr?d?ric > > Le 25 mars 09 ? 03:26, Rick DeNatale a ?crit : > > Now that I've got my blog back on the air and up to Typo 5.2, I'm starting >> to get some ideas. >> >> Recently I'd started adding a re-tweet button to each article using >> tweetmeme.cm. This is pair of javascript tags which are boilerplate, >> except for needing the url of the current page inserted. >> >> This seems like a perfect opportunity for a textfilter which could turn >> something like into the javascript tags. >> >> I guess I can suss out how to code and install a new plugin, but if >> there's some doc somewhere it would help. >> > > > OK, I see, there is definitely an international conspiracy organized to > have me write all the long missing documentation I've been too lazy to write > during the almost 3 years since I took over the project and show how poor my > English is just before I release 5.3... > > I've written the typo macro doc, you can find it at > http://wiki.github.com/fdv/typo/how-to-create-your-own-typo-macro-filters Bravo Fr?d?ric! Your English is excellent, certainly better than my French! So if I want the popup to show the permalink for the content it could just do def self.macrofilter(blog,content,attrib,params,text="") %{} end Right? By the way, playing around with script/console, it looks like the sense of the only_path argument is reversed: >> article = Article.find(:first) => #
>> article.permalink_url => " http://talklikeaduck.denhaven2.com/2006/07/26/my-favorite-duck-typing-story" >> article.permalink_url(nil, false) => "/2006/07/26/my-favorite-duck-typing-story" >> article.permalink_url("foo", false) => "/2006/07/26/my-favorite-duck-typing-story#foo" >> article.permalink_url(nil, true) => " http://talklikeaduck.denhaven2.com/2006/07/26/my-favorite-duck-typing-story" Note that if the second argument is true (which is also the default value, that the entire url is returned, not just the path, if it's false you get just the path. -- Rick DeNatale Blog: http://talklikeaduck.denhaven2.com/ Twitter: http://twitter.com/RickDeNatale WWR: http://www.workingwithrails.com/person/9021-rick-denatale LinkedIn: http://www.linkedin.com/in/rickdenatale -------------- next part -------------- An HTML attachment was scrubbed... URL: From lister.lists at gmail.com Wed Mar 25 10:09:49 2009 From: lister.lists at gmail.com (Emil Jensen) Date: Wed, 25 Mar 2009 21:09:49 +0700 Subject: [typo] Typo on Dreamhost problems. Message-ID: Hi, I'm fairly new to Rails apps, but I've successfully hosted Redmine and Instiki on Dreamhost subdomains without any problems. I'm trying Typo, and I've tried 5.2 and 5.2.98 and I just cannot get either to work. At first I had that (forgive me as I didn't write it down) (Activesearch is 2.x and should be 1.x) error, which I fixed with the local gem, but no matter what I do, I just get redirected to a rails error page which says: "Ruby on Rails application could not be started The application has exited during startup (i.e. during the evaluation of config/environment.rb). The error message may have been written to the web server's log file. Please check the web server's log file (i.e. not the (Rails) application's log file) to find out why the application exited. " And then it gives the application root (which by the way, doesn't give the 'public' directory location, just the root of the application, which I am assuming is correct. All I do is wget the tarball and extract it, I tell dreamhost where the public directory is (it uses mod_rails) and then copy config/database.yml.example to config/database.yml, edit it with the correct info, and I still get those errors. As far as I can tell there is nothing about it in any of the logs I've looked at/got access to. I'd prefer to keep the URL private but can give it if it is required. Does anyone have experience with hosting Typo 5.2+ on Dreamhost? Their wiki entry for Typo is from 4.x or something, although I did try a gem install as well with the same results. Emil From rick.denatale at gmail.com Wed Mar 25 10:38:39 2009 From: rick.denatale at gmail.com (Rick DeNatale) Date: Wed, 25 Mar 2009 10:38:39 -0400 Subject: [typo] Is there any kind of doc on how to write textfilter plugins? In-Reply-To: References: <24CAC10C-8EBA-4D83-847F-95CF15EA14D7@de-villamil.com> Message-ID: On Wed, Mar 25, 2009 at 9:00 AM, Rick DeNatale wrote: > 2009/3/25 de Villamil Fr?d?ric > >> >> >> I've written the typo macro doc, you can find it at >> http://wiki.github.com/fdv/typo/how-to-create-your-own-typo-macro-filters > > > Bravo Fr?d?ric! > Your English is excellent, certainly better than my French! > > I did find one missing end in the article on the wiki page. And I quickly banged out my plugin, published it on git hub http://github.com/rubyredrick/typo_tweetmeme/tree/master blogged about it http://talklikeaduck.denhaven2.com/2009/03/25/a-typo-textfilter-for-tweetmeme-badges published it on git hub http://github.com/rubyredrick/typo_tweetmeme/tree/master And added to the list of 3rd party plugins on the wiki. http://wiki.github.com/fdv/typo/typo-plugins-list -- Rick DeNatale Blog: http://talklikeaduck.denhaven2.com/ Twitter: http://twitter.com/RickDeNatale WWR: http://www.workingwithrails.com/person/9021-rick-denatale LinkedIn: http://www.linkedin.com/in/rickdenatale -------------- next part -------------- An HTML attachment was scrubbed... URL: From lister.lists at gmail.com Wed Mar 25 11:22:45 2009 From: lister.lists at gmail.com (Emil Jensen) Date: Wed, 25 Mar 2009 22:22:45 +0700 Subject: [typo] Typo on Dreamhost problems. In-Reply-To: References: Message-ID: Forgive the top post, but I got it sorted. I tried the typo install again and then a rake gems:refresh_specs and this time it built the database tables. Don't have a clue why it worked this tie. On Wed, Mar 25, 2009 at 9:09 PM, Emil Jensen wrote: > Hi, > > I'm fairly new to Rails apps, but I've successfully hosted Redmine and > Instiki on Dreamhost subdomains without any problems. > I'm trying Typo, and I've tried 5.2 and 5.2.98 and I just cannot get > either to work. > At first I had that (forgive me as I didn't write it down) > (Activesearch is 2.x and should be 1.x) error, which I fixed with the > local gem, but no matter what I do, I just get redirected to a rails > error page which says: > > "Ruby on Rails application could not be started > The application has exited during startup (i.e. during the evaluation > of config/environment.rb). The error message may have been written to > the web server's log file. Please check the web server's ?log file > (i.e. not the (Rails) application's log file) to find out why the > application exited. " > > And then it gives the application root (which by the way, doesn't give > the 'public' directory location, just the root of the application, > which I am assuming is correct. > > All I do is wget the tarball and extract it, I tell dreamhost where > the public directory is (it uses mod_rails) and then copy > config/database.yml.example to config/database.yml, edit it with the > correct info, and I still get those errors. > > As far as I can tell there is nothing about it in any of the logs I've > looked at/got access to. > > I'd prefer to keep the URL private but can give it if it is required. > > Does anyone have experience with hosting Typo 5.2+ on Dreamhost? Their > wiki entry for Typo is from 4.x or something, although I did try a gem > install as well with the same results. > > Emil > From frederic at de-villamil.com Wed Mar 25 12:13:57 2009 From: frederic at de-villamil.com (=?ISO-8859-1?Q?de_Villamil_Fr=E9d=E9ric?=) Date: Wed, 25 Mar 2009 17:13:57 +0100 Subject: [typo] Is there any kind of doc on how to write textfilter plugins? In-Reply-To: References: <24CAC10C-8EBA-4D83-847F-95CF15EA14D7@de-villamil.com> Message-ID: <4DB946D5-C37F-4944-A0C1-BB4FED09FF59@de-villamil.com> Le 25 mars 09 ? 15:38, Rick DeNatale a ?crit : > On Wed, Mar 25, 2009 at 9:00 AM, Rick DeNatale > wrote: > 2009/3/25 de Villamil Fr?d?ric > > > > I've written the typo macro doc, you can find it at http://wiki.github.com/fdv/typo/how-to-create-your-own-typo-macro-filters > > Bravo Fr?d?ric! > > Your English is excellent, certainly better than my French! > > > I did find one missing end in the article on the wiki page. > > And I quickly banged out my plugin, > > published it on git hub > http://github.com/rubyredrick/typo_tweetmeme/tree/master > > blogged about it > http://talklikeaduck.denhaven2.com/2009/03/25/a-typo-textfilter-for-tweetmeme-badges > > published it on git hub > http://github.com/rubyredrick/typo_tweetmeme/tree/master > > And added to the list of 3rd party plugins on the wiki. > http://wiki.github.com/fdv/typo/typo-plugins-list > > OH MY GOD!!! A Typo plugin I didn't write :-) It's gonna rain gold tonight. Cheer :-) Fr?d?ric -- Fr?d?ric de Villamil "What's mine is mine. What's yours is still unsetteled" ? Go player proverb frederic at de-villamil.com tel: +33 (0)6 62 19 1337 http://t37.net Typo : http://typosphere.org From rick.denatale at gmail.com Wed Mar 25 13:22:45 2009 From: rick.denatale at gmail.com (Rick DeNatale) Date: Wed, 25 Mar 2009 13:22:45 -0400 Subject: [typo] Typo 5.2 bug in atom feed generation? Message-ID: One of my readers reported that since I ugraded to Typo 5.2, the atom feed seems to have duplicated content. It looks like if an article has a break that the content before the break gets repeated in the feed. I've looked at the code for a few minutes, and haven't found an obvious fix as yet. -- Rick DeNatale Blog: http://talklikeaduck.denhaven2.com/ Twitter: http://twitter.com/RickDeNatale WWR: http://www.workingwithrails.com/person/9021-rick-denatale LinkedIn: http://www.linkedin.com/in/rickdenatale -------------- next part -------------- An HTML attachment was scrubbed... URL: From tobias.weisserth at gmail.com Thu Mar 26 08:36:34 2009 From: tobias.weisserth at gmail.com (Tobias Weisserth) Date: Thu, 26 Mar 2009 18:06:34 +0530 Subject: [typo] feedback.rb: unexpected tASSOC Message-ID: <43cee7130903260536v6b5b1435q3b2f8572983894ea@mail.gmail.com> Hi guys, you might want to check lines 146 and 155 in feedback.rb: Timeout::Error => e This seems to by incorrect syntax. At least it keeps my Mongrel from starting up Typo: Exiting /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:382:in `load_without_new_constant_marking': /home/tweisser/workspace/typo/typo/app/models/feedback.rb:146: syntax error, unexpected tASSOC (SyntaxError) Timeout::Error => e ^ /home/tweisser/workspace/typo/typo/app/models/feedback.rb:155: syntax error, unexpected tASSOC Timeout::Error => e ^ from /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:382:in `load_file' from /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:521:in `new_constants_in' from /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:381:in `load_file' from /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:256:in `require_or_load' from /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:427:in `load_missing_constant' from /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:77:in `const_missing' from /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:89:in `const_missing' from /home/tweisser/workspace/typo/typo/app/models/comment.rb:4 ... 67 levels... from /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/commands/server.rb:49 from /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require' from /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require' from script/server:3 cheers, Tobias -------------- next part -------------- An HTML attachment was scrubbed... URL: From frederic at de-villamil.com Thu Mar 26 09:24:58 2009 From: frederic at de-villamil.com (=?ISO-8859-1?Q?de_Villamil_Fr=E9d=E9ric?=) Date: Thu, 26 Mar 2009 14:24:58 +0100 Subject: [typo] feedback.rb: unexpected tASSOC In-Reply-To: <43cee7130903260536v6b5b1435q3b2f8572983894ea@mail.gmail.com> References: <43cee7130903260536v6b5b1435q3b2f8572983894ea@mail.gmail.com> Message-ID: Hi, I've seen this yesterday evening but was too tired to fix it. It s done now. Le 26 mars 09 ? 13:36, Tobias Weisserth a ?crit : > Hi guys, > > you might want to check lines 146 and 155 in feedback.rb: > > Timeout::Error => e > > This seems to by incorrect syntax. At least it keeps my Mongrel from > starting up Typo: > > Exiting > /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/ > activesupport-2.2.2/lib/active_support/dependencies.rb:382:in > `load_without_new_constant_marking': /home/tweisser/workspace/typo/ > typo/app/models/feedback.rb:146: syntax error, unexpected tASSOC > (SyntaxError) > Timeout::Error => e > ^ > /home/tweisser/workspace/typo/typo/app/models/feedback.rb:155: > syntax error, unexpected tASSOC > Timeout::Error => e > ^ > from /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/ > gems/activesupport-2.2.2/lib/active_support/dependencies.rb:382:in > `load_file' > from /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/ > gems/activesupport-2.2.2/lib/active_support/dependencies.rb:521:in > `new_constants_in' > from /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/ > gems/activesupport-2.2.2/lib/active_support/dependencies.rb:381:in > `load_file' > from /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/ > gems/activesupport-2.2.2/lib/active_support/dependencies.rb:256:in > `require_or_load' > from /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/ > gems/activesupport-2.2.2/lib/active_support/dependencies.rb:427:in > `load_missing_constant' > from /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/ > gems/activesupport-2.2.2/lib/active_support/dependencies.rb:77:in > `const_missing' > from /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/ > gems/activesupport-2.2.2/lib/active_support/dependencies.rb:89:in > `const_missing' > from /home/tweisser/workspace/typo/typo/app/models/ > comment.rb:4 > ... 67 levels... > from /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/ > gems/rails-2.2.2/lib/commands/server.rb:49 > from /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/site_ruby/ > 1.8/rubygems/custom_require.rb:31:in `gem_original_require' > from /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/site_ruby/ > 1.8/rubygems/custom_require.rb:31:in `require' > from script/server:3 > > cheers, > > Tobias > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list -- Fr?d?ric de Villamil "What's mine is mine. What's yours is still unsetteled" ? Go player proverb frederic at de-villamil.com tel: +33 (0)6 62 19 1337 http://t37.net Typo : http://typosphere.org From tobias.weisserth at gmail.com Thu Mar 26 09:40:05 2009 From: tobias.weisserth at gmail.com (Tobias Weisserth) Date: Thu, 26 Mar 2009 19:10:05 +0530 Subject: [typo] feedback.rb: unexpected tASSOC In-Reply-To: References: <43cee7130903260536v6b5b1435q3b2f8572983894ea@mail.gmail.com> Message-ID: <43cee7130903260640l7619bab5g45b3dcc953d0899b@mail.gmail.com> Thanks! 2009/3/26 de Villamil Fr?d?ric > Hi, > > I've seen this yesterday evening but was too tired to fix it. > It s done now. > > Le 26 mars 09 ? 13:36, Tobias Weisserth a ?crit : > > Hi guys, >> >> you might want to check lines 146 and 155 in feedback.rb: >> >> Timeout::Error => e >> >> This seems to by incorrect syntax. At least it keeps my Mongrel from >> starting up Typo: >> >> Exiting >> /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:382:in >> `load_without_new_constant_marking': >> /home/tweisser/workspace/typo/typo/app/models/feedback.rb:146: syntax error, >> unexpected tASSOC (SyntaxError) >> Timeout::Error => e >> ^ >> /home/tweisser/workspace/typo/typo/app/models/feedback.rb:155: syntax >> error, unexpected tASSOC >> Timeout::Error => e >> ^ >> from >> /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:382:in >> `load_file' >> from >> /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:521:in >> `new_constants_in' >> from >> /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:381:in >> `load_file' >> from >> /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:256:in >> `require_or_load' >> from >> /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:427:in >> `load_missing_constant' >> from >> /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:77:in >> `const_missing' >> from >> /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:89:in >> `const_missing' >> from /home/tweisser/workspace/typo/typo/app/models/comment.rb:4 >> ... 67 levels... >> from >> /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/commands/server.rb:49 >> from >> /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in >> `gem_original_require' >> from >> /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in >> `require' >> from script/server:3 >> >> cheers, >> >> Tobias >> _______________________________________________ >> Typo-list mailing list >> Typo-list at rubyforge.org >> http://rubyforge.org/mailman/listinfo/typo-list >> > > -- > Fr?d?ric de Villamil > "What's mine is mine. What's yours is still unsetteled" ? Go player proverb > frederic at de-villamil.com tel: +33 (0)6 62 19 1337 > http://t37.net Typo : > http://typosphere.org > > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list > -------------- next part -------------- An HTML attachment was scrubbed... URL: From dag at sonsorol.org Thu Mar 26 09:47:29 2009 From: dag at sonsorol.org (Chris Dagdigian) Date: Thu, 26 Mar 2009 06:47:29 -0700 Subject: [typo] typo 5.1.1 to 5.2 upgrade Message-ID: Hello, When I follow the upgrade instructions for "gem install typo" I seem to get the edge 5.2.98 version which gives me install gripes like this: ... > Migrating Typo's database to newest release > config.gem: Unpacked gem coderay-0.8.260 in vendor/gems has no > specification file. Run 'rake gems:refresh_specs' to fix this. > rake aborted! > no such file to load -- action_web_service > > (See full trace by running task with --trace) > /usr/local/lib/ruby/gems/1.8/gems/typo-5.2.98/bin/typo:59:in > `migrate': Migration failed (RailsInstaller::InstallFailed) > from /usr/local/lib/ruby/gems/1.8/gems/rails-app-installer-0.2.0/ > lib/rails-installer.rb:689:in `in_directory' > from /usr/local/lib/ruby/gems/1.8/gems/typo-5.2.98/bin/typo:57:in > `migrate' > from /usr/local/lib/ruby/gems/1.8/gems/rails-app-installer-0.2.0/ > lib/rails-installer.rb:217:in `install_sequence' > from /usr/local/lib/ruby/gems/1.8/gems/rails-app-installer-0.2.0/ > lib/rails-installer.rb:192:in `install' > from /usr/local/lib/ruby/gems/1.8/gems/rails-app-installer-0.2.0/ > lib/rails-installer/commands.rb:95:in `command' > from /usr/local/lib/ruby/gems/1.8/gems/rails-app-installer-0.2.0/ > lib/rails-installer.rb:646:in `execute_command' > from /usr/local/lib/ruby/gems/1.8/gems/typo-5.2.98/bin/typo:93 > from /usr/local/bin/typo:19:in `load' > from /usr/local/bin/typo:19 > [dag at dag typo-5.2.98]$ > Do I have a gem setting or ENV wrong that puts me on the edge track? How do I tell gem that I want the stable 5.2? Sorry for the novice question. Regards, Chris From rick.denatale at gmail.com Thu Mar 26 12:31:48 2009 From: rick.denatale at gmail.com (Rick DeNatale) Date: Thu, 26 Mar 2009 12:31:48 -0400 Subject: [typo] Atom feed is fragile?!? Message-ID: I'm having lots of problems getting the atom feed for my blog to validate. One issue was in my article about the text filter I had the following snippet in the post To show an example of how to use the new macro. It looked fine when viewing the page, but Safari and other browsers can't read the atom feed because somehow the is being put into the feed without any escaping. I tried ALL kinds to ways to fix this, like changing < to < and > to > but the feed still had the bare tag. I finally had to resort to replacing the example with an IMAGE. But as I try to work through other feed validation errors I run into things like spurious tags that I can't find in the page source. Some of these I've tracked down to errors in my articles (I have a tendency to user xhtml. Is anyone else seeing things like this. For what it's worth I'm currently using the Typographic theme. -- Rick DeNatale Blog: http://talklikeaduck.denhaven2.com/ Twitter: http://twitter.com/RickDeNatale WWR: http://www.workingwithrails.com/person/9021-rick-denatale LinkedIn: http://www.linkedin.com/in/rickdenatale -------------- next part -------------- An HTML attachment was scrubbed... URL: From rick.denatale at gmail.com Thu Mar 26 12:35:40 2009 From: rick.denatale at gmail.com (Rick DeNatale) Date: Thu, 26 Mar 2009 12:35:40 -0400 Subject: [typo] typo 5.1.1 to 5.2 upgrade In-Reply-To: References: Message-ID: On Thu, Mar 26, 2009 at 9:47 AM, Chris Dagdigian wrote: > > Hello, > > When I follow the upgrade instructions for "gem install typo" I seem to get > the edge 5.2.98 version which gives me install gripes like this: > > ... > >> Migrating Typo's database to newest release >> config.gem: Unpacked gem coderay-0.8.260 in vendor/gems has no >> specification file. Run 'rake gems:refresh_specs' to fix this. >> rake aborted! >> no such file to load -- action_web_service >> >> (See full trace by running task with --trace) >> /usr/local/lib/ruby/gems/1.8/gems/typo-5.2.98/bin/typo:59:in `migrate': >> Migration failed (RailsInstaller::InstallFailed) >> from >> /usr/local/lib/ruby/gems/1.8/gems/rails-app-installer-0.2.0/lib/rails-installer.rb:689:in >> `in_directory' >> from /usr/local/lib/ruby/gems/1.8/gems/typo-5.2.98/bin/typo:57:in >> `migrate' >> from >> /usr/local/lib/ruby/gems/1.8/gems/rails-app-installer-0.2.0/lib/rails-installer.rb:217:in >> `install_sequence' >> from >> /usr/local/lib/ruby/gems/1.8/gems/rails-app-installer-0.2.0/lib/rails-installer.rb:192:in >> `install' >> from >> /usr/local/lib/ruby/gems/1.8/gems/rails-app-installer-0.2.0/lib/rails-installer/commands.rb:95:in >> `command' >> from >> /usr/local/lib/ruby/gems/1.8/gems/rails-app-installer-0.2.0/lib/rails-installer.rb:646:in >> `execute_command' >> from /usr/local/lib/ruby/gems/1.8/gems/typo-5.2.98/bin/typo:93 >> from /usr/local/bin/typo:19:in `load' >> from /usr/local/bin/typo:19 >> [dag at dag typo-5.2.98]$ >> >> > Do I have a gem setting or ENV wrong that puts me on the edge track? How do > I tell gem that I want the stable 5.2? Sorry for the novice question. > > Regards, > Chris > This sounds like it's related to one of the things I recently encountered in trying to upgrade from 4.1 to 5.2 try sudo gem install datanoise-actionwebservice --source http://gems.github.com Some of what I experienced might be helpful, so you might want to have a look at http://talklikeaduck.denhaven2.com/2009/03/25/typo-5-1-with-capistrano-deploy-to-passenger-on-ubuntu-8-10-a-debriefing -- Rick DeNatale Blog: http://talklikeaduck.denhaven2.com/ Twitter: http://twitter.com/RickDeNatale WWR: http://www.workingwithrails.com/person/9021-rick-denatale LinkedIn: http://www.linkedin.com/in/rickdenatale -------------- next part -------------- An HTML attachment was scrubbed... URL: From dag at sonsorol.org Thu Mar 26 17:53:29 2009 From: dag at sonsorol.org (Chris Dagdigian) Date: Thu, 26 Mar 2009 14:53:29 -0700 Subject: [typo] typo 5.1.1 to 5.2 upgrade In-Reply-To: References: Message-ID: <877F7D16-5A33-417A-94D9-2C90F34BA9F6@sonsorol.org> Thanks Rick, Your advice got me past the install. Migration worked fine for development and test but I'm hung up on the production instance ... On Mar 26, 2009, at 9:35 AM, Rick DeNatale wrote: > This sounds like it's related to one of the things I recently > encountered in trying to upgrade from 4.1 to 5.2 > > try > sudo gem install datanoise-actionwebservice --source http://gems.github.com My older typo seemed current to migration #70 so I'm trying each newer migration one at a time and I immediately get this with #71: > [dag at dag migrate]$ rake -v --trace RAILS_ENV=production db:migrate > VERSION=71 > (in /home/rails-applications/typo-5.2) > ** Invoke db:migrate (first_time) > ** Invoke environment (first_time) > ** Execute environment > ** Execute db:migrate > == FixTagsNaming: migrating > ================================================== > rake aborted! > An error has occurred, all later migrations canceled: > > Validation failed: Name has already been taken > /home/rails-applications/typo-5.2/vendor/rails/activerecord/lib/ > active_record/validations.rb:1021:in `save_without_dirty!' > /home/rails-applications/typo-5.2/vendor/rails/activerecord/lib/ > active_record/dirty.rb:87:in `save_without_transactions!' > /home/rails-applications/typo-5.2/vendor/rails/activerecord/lib/ > active_record/transactions.rb:150:in `save!' > /home/rails-applications/typo-5.2/vendor/rails/activerecord/lib/ > active_record/connection_adapters/abstract/database_statements.rb: > 66:in `transaction' > /home/rails-applications/typo-5.2/vendor/rails/activerecord/lib/ > active_record/transactions.rb:129:in `transaction' > /home/rails-applications/typo-5.2/vendor/rails/activerecord/lib/ > active_record/transactions.rb:138:in `transaction' > /home/rails-applications/typo-5.2/vendor/rails/activerecord/lib/ > active_record/transactions.rb:150:in `save!' > /home/rails-applications/typo-5.2/vendor/rails/activerecord/lib/ > active_record/transactions.rb:158:in `rollback_active_record_state!' > /home/rails-applications/typo-5.2/vendor/rails/activerecord/lib/ > active_record/transactions.rb:150:in `save!' > ./db/migrate//071_fix_tags_naming.rb:6:in `up_without_benchmarks' > ./db/migrate//071_fix_tags_naming.rb:4:in `each' > ./db/migrate//071_fix_tags_naming.rb:4:in `up_without_benchmarks' > /home/rails-applications/typo-5.2/vendor/rails/activerecord/lib/ > active_record/migration.rb:280:in `send' > /home/rails-applications/typo-5.2/vendor/rails/activerecord/lib/ > active_record/migration.rb:280:in `migrate' > /usr/local/lib/ruby/1.8/benchmark.rb:293:in `measure' > /home/rails-applications/typo-5.2/vendor/rails/activerecord/lib/ > active_record/migration.rb:280:in `migrate' > (__DELEGATION__):2:in `__send__' > (__DELEGATION__):2:in `migrate' > /home/rails-applications/typo-5.2/vendor/rails/activerecord/lib/ > active_record/migration.rb:480:in `migrate' > /home/rails-applications/typo-5.2/vendor/rails/activerecord/lib/ > active_record/migration.rb:556:in `call' > /home/rails-applications/typo-5.2/vendor/rails/activerecord/lib/ > active_record/migration.rb:556:in `ddl_transaction' > /home/rails-applications/typo-5.2/vendor/rails/activerecord/lib/ > active_record/migration.rb:479:in `migrate' > /home/rails-applications/typo-5.2/vendor/rails/activerecord/lib/ > active_record/migration.rb:466:in `each' > /home/rails-applications/typo-5.2/vendor/rails/activerecord/lib/ > active_record/migration.rb:466:in `migrate' > /home/rails-applications/typo-5.2/vendor/rails/activerecord/lib/ > active_record/migration.rb:394:in `up' > /home/rails-applications/typo-5.2/vendor/rails/activerecord/lib/ > active_record/migration.rb:379:in `migrate' > /home/rails-applications/typo-5.2/vendor/rails/railties/lib/tasks/ > databases.rake:111 > /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:617:in `call' > /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:617:in > `execute' > /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:612:in `each' > /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:612:in > `execute' > /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:578:in > `invoke_with_call_chain' > /usr/local/lib/ruby/1.8/monitor.rb:238:in `synchronize' > /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:571:in > `invoke_with_call_chain' > /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:564:in > `invoke' > /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:2027:in > `invoke_task' > /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:2005:in > `top_level' > /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:2005:in > `each' > /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:2005:in > `top_level' > /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:2044:in > `standard_exception_handling' > /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:1999:in > `top_level' > /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:1977:in `run' > /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:2044:in > `standard_exception_handling' > /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:1974:in `run' > /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.4/bin/rake:31 > /usr/local/bin/rake:19:in `load' > /usr/local/bin/rake:19 > Anything obvious jump out here? Regards, Chris From dag at sonsorol.org Fri Mar 27 02:39:16 2009 From: dag at sonsorol.org (Chris Dagdigian) Date: Thu, 26 Mar 2009 23:39:16 -0700 Subject: [typo] typo 5.1.1 to 5.2 upgrade (now need help with a fastthread issue) In-Reply-To: <877F7D16-5A33-417A-94D9-2C90F34BA9F6@sonsorol.org> References: <877F7D16-5A33-417A-94D9-2C90F34BA9F6@sonsorol.org> Message-ID: <41E31068-33A9-4888-B232-4D791D3C9A17@sonsorol.org> Hi folks, I've had sort of an epic journey trying to go from 5.1.1 to 5.2 over the last 2 days ... In order to even get typo back up I had to (this is the short story ...) 1. Follow Rick's advice to get datanoise-actionwebservice from gems.github.com 2. Hand edit the contents of the tags table in the production database to change any tag that had a "." char in it just so I could get past migration #71 (071_fix_tags_naming.rb). The migration that was supposed to do this simply did not work for some reason until I manually made sure there were no tags with "." chars in the database. 50+ edits to SQL table values. 3. Reorder the migrations because it seemed that migrations prior to 081_create_cache_informations.rb actually depend on the presence of the cache_informations table and bomb out with fatal migration errors when the table is not present. Without the reorder I could not get past migration 078 on the production database After jumping through all those hoops I seem to have a working install but I'm getting nailed up by a fastthread issue that I'm hoping someone can help me out with. Using both mongrel and webrick I can reliably crash typo 5.2 with this error: > ruby: symbol lookup error: /usr/local/lib/ruby/gems/1.8/gems/ > fastthread-1.0.5/lib/fastthread.so: undefined symbol: > rb_thread_alive_p In this case google is my friend and it seems that there is a git fix for this problem: http://github.com/mental/fastthread/commits/fastthread-1.0.5 -and- http://github.com/mental/fastthread/commit/75995d6a097e5b55dc53c39858aea051ce74556e My main issue is not typo related at this point :) I just don't know enough about git and/or how it is used with gems and ruby to actually implement the patch/fix/hotfix whatever that is referenced in the above URL Has anyone else run into the "undefined symbol: rb_thread_alive_p" - any tips on rebuilding fastthread-1.0.5 with the fix that resolves the "undefined symbol: rb_thread_alive_p" problem? Regards, Chris From dag at sonsorol.org Fri Mar 27 03:11:13 2009 From: dag at sonsorol.org (Chris Dagdigian) Date: Fri, 27 Mar 2009 00:11:13 -0700 Subject: [typo] typo 5.1.1 to 5.2 upgrade (now need help with a fastthread issue) In-Reply-To: <41E31068-33A9-4888-B232-4D791D3C9A17@sonsorol.org> References: <877F7D16-5A33-417A-94D9-2C90F34BA9F6@sonsorol.org> <41E31068-33A9-4888-B232-4D791D3C9A17@sonsorol.org> Message-ID: <1574F098-D652-42D0-AC45-344FF8D63519@sonsorol.org> Disregard my fastthrread.so and git/patch incompetence. I managed to patch the fastthread.c file so that it would not complain about the undefined symbol under ruby 1.8.6 and was able to build the .so cleanly, pass "rake test" and install it in all the proper places. -chris On Mar 26, 2009, at 11:39 PM, Chris Dagdigian wrote: > Hi folks, > > I've had sort of an epic journey trying to go from 5.1.1 to 5.2 over > the last 2 days ... > > In order to even get typo back up I had to (this is the short > story ...) > > 1. Follow Rick's advice to get datanoise-actionwebservice from > gems.github.com > > 2. Hand edit the contents of the tags table in the production > database to change any tag that had a "." char in it just so I could > get past migration #71 (071_fix_tags_naming.rb). The migration that > was supposed to do this simply did not work for some reason until I > manually made sure there were no tags with "." chars in the > database. 50+ edits to SQL table values. > > 3. Reorder the migrations because it seemed that migrations prior to > 081_create_cache_informations.rb actually depend on the presence of > the cache_informations table and bomb out with fatal migration > errors when the table is not present. Without the reorder I could > not get past migration 078 on the production database > > After jumping through all those hoops I seem to have a working > install but I'm getting nailed up by a fastthread issue that I'm > hoping someone can help me out with. > > Using both mongrel and webrick I can reliably crash typo 5.2 with > this error: > >> ruby: symbol lookup error: /usr/local/lib/ruby/gems/1.8/gems/ >> fastthread-1.0.5/lib/fastthread.so: undefined symbol: >> rb_thread_alive_p > > In this case google is my friend and it seems that there is a git > fix for this problem: > > http://github.com/mental/fastthread/commits/fastthread-1.0.5 > > -and- > > http://github.com/mental/fastthread/commit/75995d6a097e5b55dc53c39858aea051ce74556e > > My main issue is not typo related at this point :) I just don't know > enough about git and/or how it is used with gems and ruby to > actually implement the patch/fix/hotfix whatever that is referenced > in the above URL > > Has anyone else run into the "undefined symbol: rb_thread_alive_p" - > any tips on rebuilding fastthread-1.0.5 with the fix that resolves > the "undefined symbol: rb_thread_alive_p" problem? > > Regards, > Chris > From frederic at de-villamil.com Fri Mar 27 04:56:33 2009 From: frederic at de-villamil.com (=?ISO-8859-1?Q?de_Villamil_Fr=E9d=E9ric?=) Date: Fri, 27 Mar 2009 09:56:33 +0100 Subject: [typo] typo 5.1.1 to 5.2 upgrade In-Reply-To: <877F7D16-5A33-417A-94D9-2C90F34BA9F6@sonsorol.org> References: <877F7D16-5A33-417A-94D9-2C90F34BA9F6@sonsorol.org> Message-ID: <60F02398-2EC8-41F8-AACC-21D85E0AA748@de-villamil.com> Le 26 mars 09 ? 22:53, Chris Dagdigian a ?crit : > > Thanks Rick, > > Your advice got me past the install. > > Migration worked fine for development and test but I'm hung up on > the production instance ... Hello, Sorry for not replying faster, but I've been quite busy lately, and I guess we're not on the same timezone, which doesn't help either. I've gathered all your feedbacks on migrating from 5.x to 5.2.98, in order to have everything to go smoothly when I release 5.3 (tomorrow or sunday according to my planning). Regarding actionwebservice and will paginate: both gems are hosted on github and thus are not compatible with gem dependencies system. I've vendored both of them into Typo, in order to avoid any issue. The cycling migration issue is fixed as well. If the cache table is missing, sweeping the cache will just fail silently, and migration will keep on going. Tell me if you encounter any other issue during your migration, we'll try to solve it as well for the finale release. Cheers Fr?d?ric -- Fr?d?ric de Villamil "What's mine is mine. What's yours is still unsetteled" ? Go player proverb frederic at de-villamil.com tel: +33 (0)6 62 19 1337 http://t37.net Typo : http://typosphere.org From frederic at de-villamil.com Fri Mar 27 07:52:48 2009 From: frederic at de-villamil.com (=?ISO-8859-1?Q?de_Villamil_Fr=E9d=E9ric?=) Date: Fri, 27 Mar 2009 12:52:48 +0100 Subject: [typo] [ANN] Release of Typo 5.3 Message-ID: <4042E626-0115-4C25-8E09-017087CAFC50@de-villamil.com> Hi list, We're proud to announce Typo 5.3 "Robert Franck" release, 1 day hahead our due date. After moving to Rails 2.2, Typo next release was just supposed to be a minor version, some bug fixes, maybe some enhancement, but nothing more. Unfortunately, what we decided to do went far beyond our foolishest expectation, and Typo 5.2.1 finally became Typo 5.3, as a major release. But let's start with the new features first. The main feature is without contest the new dynamic permalink scheme (with automated redirect from the old permas). You can now chose your favourite permalink format for articles only. Have a look at http://blog.typosphere.org/typo-gets-dynamic-permalink-url.html for more information.
Adding this went with lots of code ditching and refactoring. Cache system has been rewriten from almost scratch, and buggy semi static caching has been dropped. We've finally added the long waited Feedburner support. Just add your feedburner ID in the admin, and let the magic happen. Another feedback from 5.2 was to get text filter settings on a per user and a per article basis. This is now back. When upgrading from a previous Typo version, every user will be given the blog default's text filter. Even more SEO capabilities. Tags and categories can be removed from search engines, using noindex, removed from sitemap.xml, and Typo now has a robots.txt editor... The old drop down menus were replaced with some fancy calendar like date pickers in article date editor. Notifications for sidebar save and autosave are now done using growler, a fancy growl like javascript thing. Inline editor switching ? la Wordpress. Isn't that one really cool? Admin can now deactivate users. More performance improvement, Typo is really fast now We're now waiting for your feedback, ideas for the next roadmap... Enjoy. Frederic -- Fr?d?ric de Villamil "What's mine is mine. What's yours is still unsetteled" ? Go player proverb frederic at de-villamil.com tel: +33 (0)6 62 19 1337 http://t37.net Typo : http://typosphere.org From rick.denatale at gmail.com Fri Mar 27 09:12:59 2009 From: rick.denatale at gmail.com (Rick DeNatale) Date: Fri, 27 Mar 2009 09:12:59 -0400 Subject: [typo] typo 5.1.1 to 5.2 upgrade (now need help with a fastthread issue) In-Reply-To: <1574F098-D652-42D0-AC45-344FF8D63519@sonsorol.org> References: <877F7D16-5A33-417A-94D9-2C90F34BA9F6@sonsorol.org> <41E31068-33A9-4888-B232-4D791D3C9A17@sonsorol.org> <1574F098-D652-42D0-AC45-344FF8D63519@sonsorol.org> Message-ID: On Fri, Mar 27, 2009 at 3:11 AM, Chris Dagdigian wrote: > > Disregard my fastthrread.so and git/patch incompetence. > > I managed to patch the fastthread.c file so that it would not complain > about the undefined symbol under ruby 1.8.6 and was able to build the .so > cleanly, pass "rake test" and install it in all the proper places. > Chris, If the system you are deploying to supports it, and most do these days assuming it's a posix system rather than windows, I'd really suggest looking into replacing mongrel/mongrel cluster with Phusion Passenger. -- Rick DeNatale Blog: http://talklikeaduck.denhaven2.com/ Twitter: http://twitter.com/RickDeNatale WWR: http://www.workingwithrails.com/person/9021-rick-denatale LinkedIn: http://www.linkedin.com/in/rickdenatale -------------- next part -------------- An HTML attachment was scrubbed... URL: From rick.denatale at gmail.com Fri Mar 27 09:19:15 2009 From: rick.denatale at gmail.com (Rick DeNatale) Date: Fri, 27 Mar 2009 09:19:15 -0400 Subject: [typo] typo 5.1.1 to 5.2 upgrade In-Reply-To: <60F02398-2EC8-41F8-AACC-21D85E0AA748@de-villamil.com> References: <877F7D16-5A33-417A-94D9-2C90F34BA9F6@sonsorol.org> <60F02398-2EC8-41F8-AACC-21D85E0AA748@de-villamil.com> Message-ID: 2009/3/27 de Villamil Fr?d?ric > > Le 26 mars 09 ? 22:53, Chris Dagdigian a ?crit : > > >> Thanks Rick, >> >> Your advice got me past the install. >> >> Migration worked fine for development and test but I'm hung up on the >> production instance ... >> > > > Hello, > > Sorry for not replying faster, but I've been quite busy lately, and I guess > we're not on the same timezone, which doesn't help either. > > I've gathered all your feedbacks on migrating from 5.x to 5.2.98, in order > to have everything to go smoothly when I release 5.3 (tomorrow or sunday > according to my planning). > > Regarding actionwebservice and will paginate: both gems are hosted on > github and thus are not compatible with gem dependencies system. I've > vendored both of them into Typo, in order to avoid any issue. > > The cycling migration issue is fixed as well. If the cache table is > missing, sweeping the cache will just fail silently, and migration will keep > on going. > > Tell me if you encounter any other issue during your migration, we'll try > to solve it as well for the finale release. > Thanks. I seem to be up and operational now. Did you see my debrief article on my blog? http://talklikeaduck.denhaven2.com/2009/03/25/typo-5-1-with-capistrano-deploy-to-passenger-on-ubuntu-8-10-a-debriefing I'd sent you a separate email asking about how to override views in themes. You can ignore it, Je me d?brouille. C'?tait assez facile. -- Rick DeNatale Blog: http://talklikeaduck.denhaven2.com/ Twitter: http://twitter.com/RickDeNatale WWR: http://www.workingwithrails.com/person/9021-rick-denatale LinkedIn: http://www.linkedin.com/in/rickdenatale -------------- next part -------------- An HTML attachment was scrubbed... URL: From cyril.mougel at gmail.com Sun Mar 29 12:42:30 2009 From: cyril.mougel at gmail.com (Cyril Mougel) Date: Sun, 29 Mar 2009 18:42:30 +0200 Subject: [typo] Typo and feedburner In-Reply-To: <05ec8a1e22db7136891014986d657c5c@ruby-forum.com> References: <5ae5e4c2b0786609552e9b3083fec62c@ruby-forum.com> <967d3b9a0903041938h43a1c8acy17cda963591a358c@mail.gmail.com> <73F7C522-52C8-4590-9A55-C556C808C431@de-villamil.com> <05ec8a1e22db7136891014986d657c5c@ruby-forum.com> Message-ID: <49CFA4F6.2010207@gmail.com> Harry Seldon a ?crit : > Hi, > > For info, I got some troubles with my Typo feed after activating the > Typo redirection to feedburner. > Basically feedburner was complaining about a non valid feed. > I do not have much clue about what was going on. > I am afraid there was some infinite loop like: FB needs the feed address > (http://harryseldon.thinkosphere.com/articles.rss) but this address > redirects to http://feeds2.feedburner.com/harryseldon hence the loop. > I am definitely not sure about that. So I mention it in case some other > people encounter this problem. > > Here is the FB error: > PROBLEM: FeedMedic Alert for http://feeds2.feedburner.com/harryseldon > 08.03.2009 18:24 > FeedBurner had trouble retrieving your Source Feed: > http://harryseldon.thinkosphere.com/articles.rss > The error message is: > Error getting URL: 500 - Internal Server Error > Actions you can take: > Validate your Source Feed with Feed Validator. This service provides > additional detail about the problem, and how to repair it. > Resync your FeedBurner feed once you have repaired the source feed. > Contact FeedBurner for help with your feed if all else fails. > In your production.log can you see some error about article.rss action ? -- Cyril Mougel http://blog.shingara.fr From rick.denatale at gmail.com Mon Mar 30 11:56:24 2009 From: rick.denatale at gmail.com (Rick DeNatale) Date: Mon, 30 Mar 2009 11:56:24 -0400 Subject: [typo] Anyone seen cross-thread violation upgrading to Typo 5.3? Message-ID: Checking for existing Typo install in /Users/rick/typo_working Reading files from /opt/local/lib/ruby/gems/1.8/gems/typo-5.3 copying rails 2.2.2 to /Users/rick/typo_working/vendor/rails/railties copying activesupport 2.2.2 to /Users/rick/typo_working/vendor/rails/activesupport copying activerecord 2.2.2 to /Users/rick/typo_working/vendor/rails/activerecord copying actionpack 2.2.2 to /Users/rick/typo_working/vendor/rails/actionpack copying actionmailer 2.2.2 to /Users/rick/typo_working/vendor/rails/actionmailer Making scripts executable Checking database Database exists, preparing for upgrade Migrating Typo's database to newest release config.gem: Unpacked gem coderay-0.8.260 in vendor/gems has no specification file. Run 'rake gems:refresh_specs' to fix this. [BUG] cross-thread violation on rb_gc() ruby 1.8.6 (2008-03-03) [universal-darwin9.0] /opt/local/lib/ruby/gems/1.8/gems/typo-5.3/bin/typo:59:in `migrate': Migration failed (RailsInstaller::InstallFailed) from /opt/local/lib/ruby/gems/1.8/gems/rails-app-installer-0.2.0/lib/rails-installer.rb:689:in `in_directory' from /opt/local/lib/ruby/gems/1.8/gems/typo-5.3/bin/typo:57:in `migrate' from /opt/local/lib/ruby/gems/1.8/gems/rails-app-installer-0.2.0/lib/rails-installer.rb:217:in `install_sequence' from /opt/local/lib/ruby/gems/1.8/gems/rails-app-installer-0.2.0/lib/rails-installer.rb:192:in `install' from /opt/local/lib/ruby/gems/1.8/gems/rails-app-installer-0.2.0/lib/rails-installer/commands.rb:95:in `command' from /opt/local/lib/ruby/gems/1.8/gems/rails-app-installer-0.2.0/lib/rails-installer.rb:646:in `execute_command' from /opt/local/lib/ruby/gems/1.8/gems/typo-5.3/bin/typo:93 from /opt/local/bin/typo:19:in `load' from /opt/local/bin/typo:19 -- Rick DeNatale Blog: http://talklikeaduck.denhaven2.com/ Twitter: http://twitter.com/RickDeNatale WWR: http://www.workingwithrails.com/person/9021-rick-denatale LinkedIn: http://www.linkedin.com/in/rickdenatale -------------- next part -------------- An HTML attachment was scrubbed... URL: From ruby-forum-incoming at andreas-s.net Mon Mar 30 17:23:19 2009 From: ruby-forum-incoming at andreas-s.net (=?utf-8?Q?Guillermo_G=c3=b3mez?=) Date: Mon, 30 Mar 2009 23:23:19 +0200 Subject: [typo] Typo 5.3 wrong rss format ? Message-ID: <66f9efb051250929d11d6961d07ee32c@ruby-forum.com> Hi, im having this format problem on the rss feed generation. After fresh install: Hello World! <p>Welcome to Typo. This is your first article. Edit or delete it, then start blogging!</p> Note the use of <p> per

on the ouput in the source. The atom feed generation does not seem to carry the same issue.

Welcome to Typo. This is your first article. Edit or delete it, then start blogging!

Its just me or there is something wrong? I tried in a couple of machines (Fedora, Debian) with same results. Plis help Guillermo -- Posted via http://www.ruby-forum.com/.