From pdcawley at bofh.org.uk Wed Nov 1 02:40:05 2006 From: pdcawley at bofh.org.uk (Piers Cawley) Date: Wed, 01 Nov 2006 07:40:05 +0000 Subject: [typo] Patch for Xbox Live Gamer Card In-Reply-To: <20061031084846.GZ11422@gateway.home.shotgun-suicide.co.uk> (Kevin Fullerton's message of "Tue, 31 Oct 2006 08:48:46 +0000") References: <20061031084846.GZ11422@gateway.home.shotgun-suicide.co.uk> Message-ID: Kevin Fullerton writes: > Just started using Typo, loving it so far. Thanks. > I've put the Xbox Live Gamer Card plugin on my install, but it was > causing the page to not be validated as XHTML, so I've patched the > view with the fix. > > Index: vendor/plugins/xbox_sidebar/views/content.rhtml > =================================================================== > --- vendor/plugins/xbox_sidebar/views/content.rhtml (revision 1281) > +++ vendor/plugins/xbox_sidebar/views/content.rhtml (working copy) > @@ -1,2 +1,2 @@ >

Xbox Live Gamer Card

> - > + There doesn't appear to be any difference. -- Piers Cawley http://www.bofh.org.uk/ From kevin.fullerton at shotgun-suicide.co.uk Wed Nov 1 04:28:33 2006 From: kevin.fullerton at shotgun-suicide.co.uk (Kevin Fullerton) Date: Wed, 1 Nov 2006 09:28:33 +0000 Subject: [typo] Patch for Xbox Live Gamer Card In-Reply-To: References: <20061031084846.GZ11422@gateway.home.shotgun-suicide.co.uk> Message-ID: <20061101092833.GA11422@gateway.home.shotgun-suicide.co.uk> On 07:40 Wed 01 Nov , Piers Cawley wrote: > Kevin Fullerton writes: > > Just started using Typo, loving it so far. > > Thanks. > > > I've put the Xbox Live Gamer Card plugin on my install, but it was > > causing the page to not be validated as XHTML, so I've patched the > > view with the fix. > > > > Index: vendor/plugins/xbox_sidebar/views/content.rhtml > > =================================================================== > > --- vendor/plugins/xbox_sidebar/views/content.rhtml (revision 1281) > > +++ vendor/plugins/xbox_sidebar/views/content.rhtml (working copy) > > @@ -1,2 +1,2 @@ > >

Xbox Live Gamer Card

> > - > > + > > There doesn't appear to be any difference. The definition of frameborder is case-sensitive for XHTML - the shipped version is frameBorder which doesn't validate, the change makes it frameborder which does validate. Cheers! > > -- > Piers Cawley > http://www.bofh.org.uk/ > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list From pdcawley at bofh.org.uk Wed Nov 1 13:07:17 2006 From: pdcawley at bofh.org.uk (Piers Cawley) Date: Wed, 01 Nov 2006 18:07:17 +0000 Subject: [typo] Patch for Xbox Live Gamer Card In-Reply-To: <20061101092833.GA11422@gateway.home.shotgun-suicide.co.uk> (Kevin Fullerton's message of "Wed, 1 Nov 2006 09:28:33 +0000") References: <20061031084846.GZ11422@gateway.home.shotgun-suicide.co.uk> <20061101092833.GA11422@gateway.home.shotgun-suicide.co.uk> Message-ID: Kevin Fullerton writes: > On 07:40 Wed 01 Nov , Piers Cawley wrote: >> Kevin Fullerton writes: >> > Just started using Typo, loving it so far. >> >> Thanks. >> >> > I've put the Xbox Live Gamer Card plugin on my install, but it was >> > causing the page to not be validated as XHTML, so I've patched the >> > view with the fix. >> > >> > Index: vendor/plugins/xbox_sidebar/views/content.rhtml >> > =================================================================== >> > --- vendor/plugins/xbox_sidebar/views/content.rhtml (revision 1281) >> > +++ vendor/plugins/xbox_sidebar/views/content.rhtml (working copy) >> > @@ -1,2 +1,2 @@ >> >

Xbox Live Gamer Card

>> > - >> > + >> >> There doesn't appear to be any difference. > > The definition of frameborder is case-sensitive for XHTML - the > shipped version is frameBorder which doesn't validate, the change > makes it frameborder which does validate. D'oh! It seems I'm case insensitive too! I thought I'd read through that patch character by character several times and I couldn't see the difference. -- Piers Cawley http://www.bofh.org.uk/ From snowblink at gmail.com Fri Nov 3 07:48:47 2006 From: snowblink at gmail.com (Jon Lim) Date: Fri, 3 Nov 2006 12:48:47 +0000 Subject: [typo] Website Message-ID: <751e526a0611030448o74033dd7vd1256a843177061e@mail.gmail.com> Hi, Whilst Trac is down, please can the links to the source be updated to gems, RubyForge and/or SVN? Thanks. Jon -- http://www.snowblink.co.uk/ From bryan at osesm.com Fri Nov 3 12:22:56 2006 From: bryan at osesm.com (Bryan Liles) Date: Fri, 3 Nov 2006 12:22:56 -0500 Subject: [typo] Website In-Reply-To: <751e526a0611030448o74033dd7vd1256a843177061e@mail.gmail.com> References: <751e526a0611030448o74033dd7vd1256a843177061e@mail.gmail.com> Message-ID: <2EA8CDB9-5201-4C20-8250-50BD26B04BEC@osesm.com> svn: svn://typosphere.org/typo/ On Nov 3, 2006, at 7:48 AM, Jon Lim wrote: > Hi, > > Whilst Trac is down, please can the links to the source be updated to > gems, RubyForge and/or SVN? > > Thanks. > Jon > -- > http://www.snowblink.co.uk/ > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list From ianburrell at gmail.com Sat Nov 4 23:04:27 2006 From: ianburrell at gmail.com (Ian Burrell) Date: Sat, 4 Nov 2006 22:04:27 -0600 Subject: [typo] Posting failure with certain content Message-ID: I would report a bug but the trac site is down. I am running typo 4.0.x branch and using Markdown as the filter. Writing "ssh " in the content or title of an article causes the preview to fail with the following error message: Precondition Failed The precondition on the request for the URL /blog/admin/content/preview evaluated to false. Posting the failing article causes a similar failure but for /blog/admin/content/new. It seems to be the string "ssh " with the space. "SSH " also works. It works on the substring so "abcssh " does it. - Ian From qeantk at gmail.com Sun Nov 5 12:49:35 2006 From: qeantk at gmail.com (Tim Connor) Date: Sun, 5 Nov 2006 10:49:35 -0700 Subject: [typo] Trac and finding fixes thereon Message-ID: <87965f690611050949q64a02b07x182deffd9c9da1d7@mail.gmail.com> So what's the status on Trac looking like? It's just starting to get a wee bit annoying to be using Typo with its site down indefinitely when there are things on there that people might need that have even been linked to by the devs, but are unavailable - say like the fix for the expired API key? That's just one example, though. Thanks, Tim From tim at digital-achievement.com Sun Nov 5 17:45:36 2006 From: tim at digital-achievement.com (Timothy Freund) Date: Sun, 05 Nov 2006 16:45:36 -0600 Subject: [typo] Trac and finding fixes thereon In-Reply-To: <87965f690611050949q64a02b07x182deffd9c9da1d7@mail.gmail.com> References: <87965f690611050949q64a02b07x182deffd9c9da1d7@mail.gmail.com> Message-ID: <454E6990.2040902@digital-achievement.com> I have done a little bit of investigation -- here's the situation as relayed to us by David Gibbons at Planet Argon: > Within the last few weeks it was up, we were seeing cpu usage > and memory usage skyrocket, IT'd peg the cpu at 100%, peg memory > usage at 2 gigs. Disabling it was the only way we could keep > the server usable for the other people on it. This happens with > trac via mod_python, cgi, and tracd. ... and in a later message he said ... > ...it seems programmatic in nature as it takes a very short period > of time for it to start blowing out our resources. I didn't > find anything conclusive in my testing, except that it occurs > under cgi, mod_python as well as tracd. Just to complete the picture, David said this is what our installation looks like: Trac .10 from subversion Sqlite 3 Akismet for spam protection This weekend I sent the following back to David, Scott, and Kevin: > I was digging through Trac's mail list, and I found references to > two tickets that might be similar to our problem: > > http://trac.edgewall.org/ticket/3779 > http://trac.edgewall.org/changeset/4127 > > So if one of our attacking spambots posted changes to a page > that triggered either of these bugs, we would see the CPU > spike whenever someone viewed that page. None of the messages > on the list mention excessive memory usage, so perhaps these > bugs aren't the same as what we are seeing. > > These changes have been rolled into branches/0.10-stable of Trac. So we basically need someone with both time and a shell account on the machine to test fixes for our Trac instance. Sprewell and I have some time, but no shell account. Anyone with experience fixing broken Trac installations, now would be a great time to offer up any advice gained from the experience. :-) Best regards, Tim Tim Connor wrote: > So what's the status on Trac looking like? It's just starting to get > a wee bit annoying to be using Typo with its site down indefinitely > when there are things on there that people might need that have even > been linked to by the devs, but are unavailable - say like the fix for > the expired API key? That's just one example, though. > > Thanks, > Tim > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list -- Timothy Freund http://digital-achievement.com http://tim.freunds.net/thoughts From qeantk at gmail.com Sun Nov 5 21:12:15 2006 From: qeantk at gmail.com (Tim Connor) Date: Mon, 6 Nov 2006 02:12:15 +0000 (UTC) Subject: [typo] Trac and finding fixes thereon References: <87965f690611050949q64a02b07x182deffd9c9da1d7@mail.gmail.com> <454E6990.2040902@digital-achievement.com> Message-ID: Awesome, Tim, thanks for the info. I was going to suggest dumping out info in some other format if it was looking grim, but it sounds like there might be light at the end of the tunnel. Tim From snowblink at gmail.com Mon Nov 6 05:34:26 2006 From: snowblink at gmail.com (Jon Lim) Date: Mon, 6 Nov 2006 10:34:26 +0000 Subject: [typo] Website In-Reply-To: <2EA8CDB9-5201-4C20-8250-50BD26B04BEC@osesm.com> References: <751e526a0611030448o74033dd7vd1256a843177061e@mail.gmail.com> <2EA8CDB9-5201-4C20-8250-50BD26B04BEC@osesm.com> Message-ID: <751e526a0611060234jfef2e17l2dd5bb67f17deac1@mail.gmail.com> Thanks, I know where it is. However, there are countless people who want to try it out, who do not. The website's only working page needs to be updated to reflect this information. On 03/11/06, Bryan Liles wrote: > svn: svn://typosphere.org/typo/ > > > On Nov 3, 2006, at 7:48 AM, Jon Lim wrote: > > > Hi, > > > > Whilst Trac is down, please can the links to the source be updated to > > gems, RubyForge and/or SVN? > > > > Thanks. > > Jon > > -- > > http://www.snowblink.co.uk/ > > _______________________________________________ > > Typo-list mailing list > > Typo-list at rubyforge.org > > http://rubyforge.org/mailman/listinfo/typo-list > > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list > -- http://www.snowblink.co.uk/ From pierocampanelli at gmail.com Fri Nov 10 06:56:09 2006 From: pierocampanelli at gmail.com (Piero Campanelli) Date: Fri, 10 Nov 2006 12:56:09 +0100 Subject: [typo] Change comment behaviour Message-ID: <2d136d8c0611100356r37928db0u67712280b0a57b9e@mail.gmail.com> Hi, I'd like to change the behaviour after a comment. At the moment workflow is the following: 1. User makes a comment 2. Typo tries to classify it. If it isn't able, it keep comment in pending state 3. I login to Type Admin and classify as Ham Comment 4. I receive a mail telling of a comment I'd like to receive a Mail after step 1. (I rarely login as administrator). So i'll be informed of the comment and I can classify it. Thank yuo -Piero -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/typo-list/attachments/20061110/4e8b4b47/attachment.html From chris at bigballofwax.co.nz Fri Nov 10 20:59:08 2006 From: chris at bigballofwax.co.nz (Chris Cormack) Date: Sat, 11 Nov 2006 14:59:08 +1300 Subject: [typo] Change comment behaviour In-Reply-To: <2d136d8c0611100356r37928db0u67712280b0a57b9e@mail.gmail.com> References: <2d136d8c0611100356r37928db0u67712280b0a57b9e@mail.gmail.com> Message-ID: <606aab810611101759l39e67891w73e5f890029946a1@mail.gmail.com> On 11/11/06, Piero Campanelli wrote: > > Hi, > I'd like to change the behaviour after a comment. At the moment workflow > is the following: > 1. User makes a comment > 2. Typo tries to classify it. If it isn't able, it keep comment in pending > state > 3. I login to Type Admin and classify as Ham Comment > 4. I receive a mail telling of a comment > > I'd like to receive a Mail after step 1. (I rarely login as > administrator). So i'll be informed of the comment and I can classify it. At the risk of falling into mode. Id like to say id like this behaviour also Chris -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/typo-list/attachments/20061111/3713326b/attachment.html From stevelenti at 3pop.com Sun Nov 12 01:19:13 2006 From: stevelenti at 3pop.com (Steve Lenti) Date: Sat, 11 Nov 2006 23:19:13 -0700 Subject: [typo] Google Sitemaps patch Message-ID: <4556BCE1.8070306@3pop.com> http://youdummy.net/blog/articles/2006/11/11/google-sitemaps-typo-patch -Steve http://youdummy.net/blog/ From pdcawley at bofh.org.uk Sun Nov 12 01:55:14 2006 From: pdcawley at bofh.org.uk (Piers Cawley) Date: Sun, 12 Nov 2006 06:55:14 +0000 Subject: [typo] Change comment behaviour In-Reply-To: <606aab810611101759l39e67891w73e5f890029946a1@mail.gmail.com> (Chris Cormack's message of "Sat, 11 Nov 2006 14:59:08 +1300") References: <2d136d8c0611100356r37928db0u67712280b0a57b9e@mail.gmail.com> <606aab810611101759l39e67891w73e5f890029946a1@mail.gmail.com> Message-ID: "Chris Cormack" writes: > On 11/11/06, Piero Campanelli wrote: >> >> Hi, >> I'd like to change the behaviour after a comment. At the moment workflow >> is the following: >> 1. User makes a comment >> 2. Typo tries to classify it. If it isn't able, it keep comment in pending >> state >> 3. I login to Type Admin and classify as Ham Comment >> 4. I receive a mail telling of a comment >> >> I'd like to receive a Mail after step 1. (I rarely login as >> administrator). So i'll be informed of the comment and I can classify it. > > > At the risk of falling into mode. Id like to say id like this > behaviour also Frankly, so would I :) But then I want to finish what I started with the whole feedback/spam/moderation thing anyway. The trick is finding the appropriately shaped tuits. -- Piers Cawley http://www.bofh.org.uk/ From pierocampanelli at gmail.com Sun Nov 12 03:12:00 2006 From: pierocampanelli at gmail.com (Piero Campanelli) Date: Sun, 12 Nov 2006 09:12:00 +0100 Subject: [typo] How pinging works.. Message-ID: <2d136d8c0611120012u482d0969y515304af88d6ddb8@mail.gmail.com> Hi, i weirdly notice that my blog posts are not indexed by google blog search and technocrati. Pinging is enabled and I configured pinging with the following voices under "URL to pings": http://blogsearch.google.com/ping/RPC2 http://rpc.technorati.com/rpc/ping http://ping.blo.gs/ http://rpc.weblogs.com/RPC2 am I missing something? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/typo-list/attachments/20061112/46de4a9c/attachment.html From stevelenti at 3pop.com Sun Nov 12 20:13:37 2006 From: stevelenti at 3pop.com (Steve Lenti) Date: Sun, 12 Nov 2006 18:13:37 -0700 Subject: [typo] How pinging works.. In-Reply-To: <2d136d8c0611120012u482d0969y515304af88d6ddb8@mail.gmail.com> References: <2d136d8c0611120012u482d0969y515304af88d6ddb8@mail.gmail.com> Message-ID: <4557C6C1.1070602@3pop.com> Piero Campanelli wrote: > Hi, > i weirdly notice that my blog posts are not indexed by google blog > search and technocrati. Pinging is enabled and I configured pinging > with the following voices under "URL to pings": > > http://blogsearch.google.com/ping/RPC2 > http://rpc.technorati.com/rpc/ping > http://ping.blo.gs/ > http://rpc.weblogs.com/RPC2 > > am I missing something? I have noticed the same issues myself. I haven't done much testing yet but I planned on seeing if I could verify this problem and maybe come up with a patch. Anyone else? -Steve http://youdummy.net/blog -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/typo-list/attachments/20061112/81cb44f2/attachment.html From urban at bettong.net Mon Nov 13 04:41:16 2006 From: urban at bettong.net (Urban Hafner) Date: Mon, 13 Nov 2006 10:41:16 +0100 Subject: [typo] Posting failure with certain content In-Reply-To: Message-ID: <8XQmPpMx.1163410876.6289270.hafner@nelson.textdrive.com> On 11/5/2006, "Ian Burrell" wrote: >I would report a bug but the trac site is down. I am running typo >4.0.x branch and using Markdown as the filter. Writing "ssh " in the >content or title of an article causes the preview to fail with the >following error message: I get the same error message with the Textile filter, so that's probably not the problem. >Precondition Failed >The precondition on the request for the URL >/blog/admin/content/preview evaluated to false. > >Posting the failing article causes a similar failure but for >/blog/admin/content/new. > >It seems to be the string "ssh " with the space. "SSH " also works. >It works on the substring so "abcssh " does it. I my case a code block triggered the precondition failure. If I removed it the post would go through. Here's the text: hafner at nelson:~$ cat bin/typo-clear-sessions.sh #!/bin/sh echo "Clear Typo session table" /usr/local/bin/ruby /home/hafner/bettong.net/www/script/runner 'ActiveRecord::Base.connection.delete("DELETE FROM sessions WHERE updated_at < now() - INTERVAL 72 HOUR")' Trying to reduce the amount of text needed to trigger this behaviour I came up with almost the same as Ian. Here it's "echo " (not the space) that make the precondition fail. Urban From aja at si.on.ca Mon Nov 13 10:42:29 2006 From: aja at si.on.ca (Anton J Aylward) Date: Mon, 13 Nov 2006 10:42:29 -0500 Subject: [typo] Posting failure with certain content In-Reply-To: <8XQmPpMx.1163410876.6289270.hafner@nelson.textdrive.com> References: <8XQmPpMx.1163410876.6289270.hafner@nelson.textdrive.com> Message-ID: <45589265.6070304@si.on.ca> Urban Hafner wrote: > > Trying to reduce the amount of text needed to trigger this behaviour I > came up with almost the same as Ian. Here it's "echo " (not the > space) that make the precondition fail. Have you tried other *NIX commands? who, rm, ls, test, ... ? -- Anton J Aylward http://emergence.antonaylward.com - Emergent Properties From urban at bettong.net Tue Nov 14 02:18:54 2006 From: urban at bettong.net (Urban Hafner) Date: Tue, 14 Nov 2006 08:18:54 +0100 Subject: [typo] Posting failure with certain content In-Reply-To: <45589265.6070304@si.on.ca> Message-ID: On 11/13/2006, "Anton J Aylward" wrote: >Urban Hafner wrote: >> >> Trying to reduce the amount of text needed to trigger this behaviour I >> came up with almost the same as Ian. Here it's "echo " (not the >> space) that make the precondition fail. > > >Have you tried other *NIX commands? who, rm, ls, test, ... ? I have now (well, just the ones you mentioned). And none of them give the precondition failure. Only "echo " and "ssh ". BTW, I'm running the latest trunk. Urban From heromuto at fastmail.jp Tue Nov 14 04:29:09 2006 From: heromuto at fastmail.jp (heromuto at fastmail.jp) Date: Tue, 14 Nov 2006 20:29:09 +1100 Subject: [typo] typo and podcast integration with itunes Message-ID: I have been trying to see if typo can submit rss podcasts for iTunes, however I have not been able to find the answer can anyone point me to were I should place my podcasts so that typo gives them an rss feed so that iTunes can pick it up? I added a podcast file to the site resources then I added meta data to both the settings window and to the file on the resources overview page but beyond that I have had no luck. Yours truly heromuto From rasputnik at gmail.com Tue Nov 14 06:35:15 2006 From: rasputnik at gmail.com (Dick Davies) Date: Tue, 14 Nov 2006 11:35:15 +0000 Subject: [typo] Posting failure with certain content In-Reply-To: <8XQmPpMx.1163410876.6289270.hafner@nelson.textdrive.com> References: <8XQmPpMx.1163410876.6289270.hafner@nelson.textdrive.com> Message-ID: <3f1760611140335w7233e3eei19772985952388c2@mail.gmail.com> Are you on textdrive? I get the same thing. It's mod_security . On 13/11/06, Urban Hafner wrote: > On 11/5/2006, "Ian Burrell" wrote: > > >I would report a bug but the trac site is down. I am running typo > >4.0.x branch and using Markdown as the filter. Writing "ssh " in the > >content or title of an article causes the preview to fail with the > >following error message: > > I get the same error message with the Textile filter, so that's probably > not the problem. > > >Precondition Failed > >The precondition on the request for the URL > >/blog/admin/content/preview evaluated to false. > > > >Posting the failing article causes a similar failure but for > >/blog/admin/content/new. > > > >It seems to be the string "ssh " with the space. "SSH " also works. > >It works on the substring so "abcssh " does it. > > I my case a code block triggered the precondition failure. If I removed > it the post would go through. Here's the text: > > hafner at nelson:~$ cat bin/typo-clear-sessions.sh > #!/bin/sh > echo "Clear Typo session table" > /usr/local/bin/ruby /home/hafner/bettong.net/www/script/runner > 'ActiveRecord::Base.connection.delete("DELETE FROM sessions WHERE > updated_at < now() - INTERVAL 72 HOUR")' > > Trying to reduce the amount of text needed to trigger this behaviour I > came up with almost the same as Ian. Here it's "echo " (not the > space) that make the precondition fail. > > Urban > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list > -- Rasputin :: Jack of All Trades - Master of Nuns http://number9.hellooperator.net/ From jnewland at gmail.com Tue Nov 14 07:29:37 2006 From: jnewland at gmail.com (jesse newland) Date: Tue, 14 Nov 2006 07:29:37 -0500 Subject: [typo] Posting failure with certain content In-Reply-To: References: <45589265.6070304@si.on.ca> Message-ID: I'm 99% sure this 'Precondition Failed' error message is from Apache's mod_security and has nothing to do with Typo - it's a module that filters HTTP POST payloads containing whatever the host decides are naughty bits - in this case some unix commands. I've experienced this on Textdrive before. Where are you hosted, Ian? Urban? Jesse On 11/14/06, Urban Hafner wrote: > On 11/13/2006, "Anton J Aylward" wrote: > > >Urban Hafner wrote: > >> > >> Trying to reduce the amount of text needed to trigger this behaviour I > >> came up with almost the same as Ian. Here it's "echo " (not the > >> space) that make the precondition fail. > > > > > >Have you tried other *NIX commands? who, rm, ls, test, ... ? > > I have now (well, just the ones you mentioned). And none of them give the > precondition failure. Only "echo " and "ssh ". BTW, I'm running the > latest trunk. > > Urban > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list > From urban at bettong.net Tue Nov 14 08:11:09 2006 From: urban at bettong.net (Urban Hafner) Date: Tue, 14 Nov 2006 14:11:09 +0100 Subject: [typo] Posting failure with certain content In-Reply-To: <3f1760611140335w7233e3eei19772985952388c2@mail.gmail.com> Message-ID: On 11/14/2006, "Dick Davies" wrote: >Are you on textdrive? > >I get the same thing. It's mod_security . Ah. Now that explains why I couldn't find anything in Typo's code. Any way around it? Urban From urban at bettong.net Tue Nov 14 08:29:50 2006 From: urban at bettong.net (Urban Hafner) Date: Tue, 14 Nov 2006 14:29:50 +0100 Subject: [typo] Posting failure with certain content In-Reply-To: Message-ID: On 11/14/2006, "Urban Hafner" wrote: >Ah. Now that explains why I couldn't find anything in Typo's code. Any >way around it? Well, I was too fast. There's a Knowledge Base on Textdrive just on this topic: http://help.textdrive.com/index.php?pg=kb.page&id=85 Urban From rasputnik at gmail.com Tue Nov 14 08:33:42 2006 From: rasputnik at gmail.com (Dick Davies) Date: Tue, 14 Nov 2006 13:33:42 +0000 Subject: [typo] Posting failure with certain content In-Reply-To: References: <3f1760611140335w7233e3eei19772985952388c2@mail.gmail.com> Message-ID: <3f1760611140533h3d414cdfjae0206da233a6372@mail.gmail.com> On 14/11/06, Urban Hafner wrote: > On 11/14/2006, "Dick Davies" wrote: > > >Are you on textdrive? > > > >I get the same thing. It's mod_security . > > Ah. Now that explains why I couldn't find anything in Typo's code. Any > way around it? I'm using lighttpd and proxying to it. I suspect (but haven't tried) that if I went directly to the lighty port, it would bypass apache (and therefore mod_security). Alternatively, I might just raise a ticket. -- Rasputin :: Jack of All Trades - Master of Nuns http://number9.hellooperator.net/ From rasputnik at gmail.com Tue Nov 14 08:43:22 2006 From: rasputnik at gmail.com (Dick Davies) Date: Tue, 14 Nov 2006 13:43:22 +0000 Subject: [typo] Posting failure with certain content In-Reply-To: <3f1760611140533h3d414cdfjae0206da233a6372@mail.gmail.com> References: <3f1760611140335w7233e3eei19772985952388c2@mail.gmail.com> <3f1760611140533h3d414cdfjae0206da233a6372@mail.gmail.com> Message-ID: <3f1760611140543n13550536pa3cecd6e384237d1@mail.gmail.com> On 14/11/06, Dick Davies wrote: > On 14/11/06, Urban Hafner wrote: > > On 11/14/2006, "Dick Davies" wrote: > > > > >Are you on textdrive? > > > > > >I get the same thing. It's mod_security . > > > > Ah. Now that explains why I couldn't find anything in Typo's code. Any > > way around it? > > I'm using lighttpd and proxying to it. > I suspect (but haven't tried) that if I went directly to the lighty port, > it would bypass apache (and therefore mod_security). Just tried. It does. -- Rasputin :: Jack of All Trades - Master of Nuns http://number9.hellooperator.net/ From neuro at 7el.net Tue Nov 14 12:11:52 2006 From: neuro at 7el.net (Frederic de Villamil) Date: Tue, 14 Nov 2006 18:11:52 +0100 Subject: [typo] request for features: is_page... Message-ID: <8AE0A46B-7066-49B9-8324-69086CA72624@7el.net> Hello, it should be really nice to have some functions avaliable for themes developpers : - is_home : if the index is displayed - is_article : if an index is displayed - is_category : if the page displayed is /articles/category - is_archive ... - is_tagcloud ... I know it _really_ sounds like Wordpress, but it's so useful Regards, cheers, etc Frederic -- Fr?d?ric de Villamil "Sadness is just another word for not enough coffee" -- Scott Adams frederic at de-villamil.com tel: +33 (0)6 62 19 1337 http://fredericdevillamil.com From ianburrell at gmail.com Tue Nov 14 20:26:00 2006 From: ianburrell at gmail.com (Ian Burrell) Date: Tue, 14 Nov 2006 17:26:00 -0800 Subject: [typo] Posting failure with certain content In-Reply-To: References: <45589265.6070304@si.on.ca> Message-ID: On 11/14/06, jesse newland wrote: > I'm 99% sure this 'Precondition Failed' error message is from Apache's > mod_security and has nothing to do with Typo - it's a module that > filters HTTP POST payloads containing whatever the host decides are > naughty bits - in this case some unix commands. I've experienced this > on Textdrive before. Where are you hosted, Ian? Urban? > Textdrive. - Ian From urban at bettong.net Thu Nov 16 10:47:33 2006 From: urban at bettong.net (Urban Hafner) Date: Thu, 16 Nov 2006 17:47:33 +0200 Subject: [typo] Posting failure with certain content In-Reply-To: References: Message-ID: <46057709-89FC-49C2-BA9C-89BE7C04C35B@bettong.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Nov 14, 2006, at 15:29 , Urban Hafner wrote: > Well, I was too fast. There's a Knowledge Base on Textdrive just on > this > topic: http://help.textdrive.com/index.php?pg=kb.page&id=85 For those interested. I submitted a ticket and the Textdrive guys changed mod_security so that "ssh " and "echo " now work for me. Urban - -- http://bettong.net - Urban's Blog -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (Darwin) iD8DBQFFXIgdggNuVCIrEyURAu81AJsEU8r75aeOKEstDgTxg5nLoIjrbQCgiAvF sEVv5pZlhUQM/pjIgENcj40= =2/fv -----END PGP SIGNATURE----- From ullrich at seidbereit.de Thu Nov 16 11:44:58 2006 From: ullrich at seidbereit.de (=?ISO-8859-1?Q?Ullrich_Sch=E4fer?=) Date: Thu, 16 Nov 2006 17:44:58 +0100 Subject: [typo] Typo and internationalization - i18n? Message-ID: 1st of all hello. i'm new to this mailinglist and hope i confirm with its standards :) i was working on my own ruby on rails bloging system for private use and to gain more skills, when i stumbled over typo. i realy like the project but it seems that it's missing some internationalization. are there any future plans to include i18n or some other way of multiple language? i browsed the mailinglist archive but didn't find an answer. is there a search for the mailinglist archive? cheers ullrich -- Ullrich Sch?fer www.seidbereit.de From stevelenti at 3pop.com Fri Nov 17 10:02:43 2006 From: stevelenti at 3pop.com (Steve Lenti) Date: Fri, 17 Nov 2006 08:02:43 -0700 Subject: [typo] Typo ping patch Message-ID: I wrote a small patch that seems to fix the problems of automatic pings not going out after a new post. i.e. Technorati. More info and the patch can be found on my blog http://youdummy.net/blog/articles/2006/11/17/typo-pings-patch -Steve http://youdummy.net/blog -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/typo-list/attachments/20061117/1bcc96d5/attachment.html From qeantk at gmail.com Fri Nov 17 23:36:48 2006 From: qeantk at gmail.com (Tim Connor) Date: Fri, 17 Nov 2006 21:36:48 -0700 Subject: [typo] Stack level too deep when pendingpublished article hits deadline Message-ID: <87965f690611172036k113b9bddn9a819ce89c8d4f9e@mail.gmail.com> So anyone seen this before. All of a sudden my typo install was borked, and after restarting everything, and updating, I was getting a StackLevel too deep on the id of the articles I had future published from the day before. Nearest I can tell what happened is once it's publication date/time came up, Typo choked. I'm not absolutely sure, but I could look into it more if a maintainer is interested. From qeantk at gmail.com Sat Nov 18 00:02:19 2006 From: qeantk at gmail.com (Tim Connor) Date: Fri, 17 Nov 2006 22:02:19 -0700 Subject: [typo] Stack level too deep when pendingpublished article hits deadline In-Reply-To: <87965f690611172036k113b9bddn9a819ce89c8d4f9e@mail.gmail.com> References: <87965f690611172036k113b9bddn9a819ce89c8d4f9e@mail.gmail.com> Message-ID: <87965f690611172102j4c818845ma57a41e7651cf41a@mail.gmail.com> As I commented in my own blog post about this: http://www.timocracy.com/articles/2006/11/17/70-stacklevel-too-deep-when-future-publishing-in-typo it seems like it may work when you leave the check box published? I'll know tomorrow morning, but if so, that leaves to problems. One, the "published" checkbox needs some serious clarifcation, and two, it still shouldn't kill typo outright to have leave it unchecked. From qeantk at gmail.com Sun Nov 19 12:18:46 2006 From: qeantk at gmail.com (Tim Connor) Date: Sun, 19 Nov 2006 17:18:46 +0000 (UTC) Subject: [typo] =?utf-8?q?Stack_level_too_deep_when_pendingpublished_artic?= =?utf-8?q?le_hits=09deadline?= References: <87965f690611172036k113b9bddn9a819ce89c8d4f9e@mail.gmail.com> <87965f690611172102j4c818845ma57a41e7651cf41a@mail.gmail.com> Message-ID: Tim Connor gmail.com> writes: > > As I commented in my own blog post about this: > http://www.timocracy.com/articles/2006/11/17/70-stacklevel-too-deep-when-future-publishing-in-typo > > it seems like it may work when you leave the check box published? > I'll know tomorrow morning, but if so, that leaves to problems. One, > the "published" checkbox needs some serious clarifcation, and two, it > still shouldn't kill typo outright to have leave it unchecked. > Nope, that brought my blog down, as well. So has anyone else encountered this before? From noisebar at gmail.com Sun Nov 19 23:58:30 2006 From: noisebar at gmail.com (Simon Lin) Date: Sun, 19 Nov 2006 21:58:30 -0700 Subject: [typo] Typo API? Message-ID: Hi guys, Any of you know what API Typo is using? Where can I get the library? I want to write a Ruby program to post to Typo. Thanks in advance. -- Simon Lin Software Consultant (403) 618-9303 simon at simonlin.ca http://www.simonlin.ca From stevelenti at gmail.com Wed Nov 22 10:14:52 2006 From: stevelenti at gmail.com (Steve Lenti) Date: Wed, 22 Nov 2006 08:14:52 -0700 Subject: [typo] Migrating from sqlite to mysql Tutorial Message-ID: Finally figured this out!! http://youdummy.net/blog/articles/2006/11/22/howto-migrate-typo-from-sqlite-to-mysql -Steve http://youdummy.net/blog From pdcawley at bofh.org.uk Thu Nov 23 11:02:47 2006 From: pdcawley at bofh.org.uk (Piers Cawley) Date: Thu, 23 Nov 2006 16:02:47 +0000 Subject: [typo] This time around, we'll be ready Message-ID: As of revision 1300, Typo works with edge rails. Which also means that, as of revision 1300, Typo *doesn't* work with Rails 1.1.6 because annoyingly, getting the deprecation warnings to shut up (and believe me, there were _many_ deprecation warnings) meant making changes that weren't back compatible. However, there is now a rails_1_1_6 branch in the repository so if we have any show stopper bugs that need to be backported to 4.0.x, we've got a branch we can work with. This is about the most basic rails 1.2 compatible version I could manage. Running the tests still gets 3 deprecation warnings (all for the same thing) that I couldn't work out how to fix (the obvious fix didn't want to work. Very annoying), and one functional tests fails because of what I think is a Rails issue. Enjoy. -- Piers Cawley http://www.bofh.org.uk/ From ernieoporto at gmail.com Thu Nov 23 17:20:22 2006 From: ernieoporto at gmail.com (Ernie Oporto) Date: Thu, 23 Nov 2006 17:20:22 -0500 Subject: [typo] Typo API? In-Reply-To: References: Message-ID: I believe Typo does Blogger, Moveable Type, and MetaWeblog. You can use the URL http://www.site.com/blogdir/backend/xmlrpc to post. On 11/19/06, Simon Lin wrote: > > Hi guys, > > Any of you know what API Typo is using? Where can I get the library? > I want to write a Ruby program to post to Typo. > > Thanks in advance. > > -- > Simon Lin > Software Consultant > (403) 618-9303 > simon at simonlin.ca > http://www.simonlin.ca > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list > -- Ernie http://www.shokk.com/blog/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/typo-list/attachments/20061123/6cafa530/attachment.html From stevelenti at 3pop.com Fri Nov 24 11:18:27 2006 From: stevelenti at 3pop.com (Steve Lenti) Date: Fri, 24 Nov 2006 09:18:27 -0700 Subject: [typo] page_header error Message-ID: One of my posts just all of a sudden started giving me a Rails Application error when I try to view it through its permalink. I get the following error. Processing Base#permalink (for 192.168.15.101 at 2006-11-24 09:13:25) [GET] Parameters: {"month"=>"10", "title"=>"google-sitemaps-with-typo", "action"=>"permalink", "controller"=>"articles", "day"=>"13", "year"=>"2006"} ActionView::TemplateError (private method `select' called for 0:Fixnum) on line #6 of themes/razure/layouts/default.rhtml: 3: 4: <%=h page_title %> 5: 6: <%= page_header %> 7: <%= stylesheet_link_tag "/stylesheets/theme/razure", :media => 'all' %> 8: <%= stylesheet_link_tag "/stylesheets/theme/local", :media => 'all' %> 9: The weird thing is that it has nothing to do with the theme I am using. I have tried three different themes all with the same result. It was working fine up until I edited the article then resaved it. Any suggestions? -Steve http://youdummy.net/blog From urban at bettong.net Fri Nov 24 11:09:57 2006 From: urban at bettong.net (Urban Hafner) Date: Fri, 24 Nov 2006 17:09:57 +0100 Subject: [typo] is r1303 unstable for others, too? Message-ID: Hej! I've just updated Typo to r1303 today. After migrating the database to version 58 everything seemed to work fine. Unfortunately my fcgi instance seems to die after a few minutes. But I don't get any entry in any log/ file. Should I look somewhere else? I'm running on Textdrive if that makes any difference. But I don't think I'm hitting the memory limit as I'm not getting any messages from the process killing big processes (how was that called again?). At least I don't think I am. It should write something into a file in my home dir, shouldn't it? Also I'm using the new tmcode macro. Maybe that may be part of my problem? Urban From stevelenti at 3pop.com Fri Nov 24 11:57:39 2006 From: stevelenti at 3pop.com (Steve Lenti) Date: Fri, 24 Nov 2006 09:57:39 -0700 Subject: [typo] page_header error In-Reply-To: References: Message-ID: the problem seems to lie in app/helps/article_helper.rb. Can someone tell me what line #54 is doing. page_header_includes = contents.collect { |c| c.whiteboard }.collect { |w| w.select {|k,v| k =~ /^page_header_/}.collect {|(k,v)| v} }.flatten.uniq If I comment this out everything seems to work fine. Thanks, -Steve http://youdummy.net/blog On 11/24/06, Steve Lenti wrote: > One of my posts just all of a sudden started giving me a Rails > Application error when I try to view it through its permalink. I get > the following error. > > Processing Base#permalink (for 192.168.15.101 at 2006-11-24 09:13:25) [GET] > Parameters: {"month"=>"10", "title"=>"google-sitemaps-with-typo", > "action"=>"permalink", "controller"=>"articles", "day"=>"13", > "year"=>"2006"} > > ActionView::TemplateError (private method `select' called for > 0:Fixnum) on line #6 of themes/razure/layouts/default.rhtml: > 3: > 4: <%=h page_title %> > 5: > 6: <%= page_header %> > 7: <%= stylesheet_link_tag "/stylesheets/theme/razure", :media => 'all' %> > 8: <%= stylesheet_link_tag "/stylesheets/theme/local", :media => 'all' %> > 9: > > The weird thing is that it has nothing to do with the theme I am > using. I have tried three different themes all with the same result. > It was working fine up until I edited the article then resaved it. > > Any suggestions? > > -Steve > http://youdummy.net/blog > From pdcawley at bofh.org.uk Fri Nov 24 12:18:46 2006 From: pdcawley at bofh.org.uk (Piers Cawley) Date: Fri, 24 Nov 2006 17:18:46 +0000 Subject: [typo] is r1303 unstable for others, too? In-Reply-To: (Urban Hafner's message of "Fri, 24 Nov 2006 17:09:57 +0100") References: Message-ID: "Urban Hafner" writes: > > I've just updated Typo to r1303 today. After migrating the database to > version 58 everything seemed to work fine. Unfortunately my fcgi > instance seems to die after a few minutes. But I don't get any entry in > any log/ file. Should I look somewhere else? > > I'm running on Textdrive if that makes any difference. But I don't > think I'm hitting the memory limit as I'm not getting any messages > from the process killing big processes (how was that called again?). At > least I don't think I am. It should write something into a file in my > home dir, shouldn't it? I don't know about the workings of TextDrive; I do know they have pretty tight limits on memory use, but I don't know where you'd find out about what processes got reaped. Certainly dying without informing the logfile of anything smacks of being 'kill -9'd by a resource limiter. Do you get anything at all added to your logfile? > Also I'm using the new tmcode macro. Maybe that may be part of my > problem? Possibly. I've not looked at its workings to be honest. -- Piers Cawley http://www.bofh.org.uk/ From pdcawley at bofh.org.uk Fri Nov 24 12:57:14 2006 From: pdcawley at bofh.org.uk (Piers Cawley) Date: Fri, 24 Nov 2006 17:57:14 +0000 Subject: [typo] page_header error In-Reply-To: (Steve Lenti's message of "Fri, 24 Nov 2006 09:18:27 -0700") References: Message-ID: "Steve Lenti" writes: > One of my posts just all of a sudden started giving me a Rails Just one post? That was working fine before? And you've made no changes to either typo or your rails installation? > Application error when I try to view it through its permalink. I get > the following error. > > Processing Base#permalink (for 192.168.15.101 at 2006-11-24 09:13:25) [GET] > Parameters: {"month"=>"10", "title"=>"google-sitemaps-with-typo", > "action"=>"permalink", "controller"=>"articles", "day"=>"13", > "year"=>"2006"} > > ActionView::TemplateError (private method `select' called for > 0:Fixnum) on line #6 of themes/razure/layouts/default.rhtml: > 3: > 4: <%=h page_title %> > 5: > 6: <%= page_header %> > 7: <%= stylesheet_link_tag "/stylesheets/theme/razure", :media => 'all' %> > 8: <%= stylesheet_link_tag "/stylesheets/theme/local", :media => 'all' %> > 9: > > The weird thing is that it has nothing to do with the theme I am > using. I have tried three different themes all with the same result. > It was working fine up until I edited the article then resaved it. Hmm... I can't seem to replicate this. Can you try running $ RAILS_ENV=production ./script/console from your rails root directory. Then >> a = Article.find() You can find out the dodgy article's id by looking at it on the admin/content page. The article's URL will be /admin/content/show/ Once you've got that, do: >> a.whiteboard And let us know the results. If the answer is 'nil', do >> a.html(:all); nil >> a.whiteboard and mail back with *that* result. -- Piers Cawley http://www.bofh.org.uk/ From pdcawley at bofh.org.uk Fri Nov 24 13:11:03 2006 From: pdcawley at bofh.org.uk (Piers Cawley) Date: Fri, 24 Nov 2006 18:11:03 +0000 Subject: [typo] page_header error In-Reply-To: (Steve Lenti's message of "Fri, 24 Nov 2006 09:57:39 -0700") References: Message-ID: "Steve Lenti" writes: > the problem seems to lie in app/helps/article_helper.rb. Can someone > tell me what line #54 is doing. > > page_header_includes = contents.collect { |c| c.whiteboard }.collect { > |w| w.select {|k,v| k =~ /^page_header_/}.collect {|(k,v)| v} > }.flatten.uniq > > If I comment this out everything seems to work fine. What? You can't tell? It could be a good deal neater couldn't it, but it shouldn't really be failing. I shall tidy it up as soon as I've finished writing this. What database backend are you using? Sqlite by any chance? -- Piers Cawley http://www.bofh.org.uk/ From pdcawley at bofh.org.uk Fri Nov 24 13:24:10 2006 From: pdcawley at bofh.org.uk (Piers Cawley) Date: Fri, 24 Nov 2006 18:24:10 +0000 Subject: [typo] is r1303 unstable for others, too? In-Reply-To: (Urban Hafner's message of "Fri, 24 Nov 2006 17:09:57 +0100") References: Message-ID: "Urban Hafner" writes: > Hej! > > I've just updated Typo to r1303 today. After migrating the database to > version 58 everything seemed to work fine. Unfortunately my fcgi > instance seems to die after a few minutes. But I don't get any entry in > any log/ file. Should I look somewhere else? > > I'm running on Textdrive if that makes any difference. But I don't > think I'm hitting the memory limit as I'm not getting any messages > from the process killing big processes (how was that called again?). At > least I don't think I am. It should write something into a file in my > home dir, shouldn't it? > > Also I'm using the new tmcode macro. Maybe that may be part of my > problem? What happens if you roll back to r1299? That takes it back to rails 1.1.6. If it's stable, I'd appreciate it if you could then step forward to r1300 check that for stability. If it's stable, move forward one step at a time checking each version for stability, which should help us nail down which specific changes are responsible for what I'm assuming is a memory leak issue. -- Piers Cawley http://www.bofh.org.uk/ From linda-list at i-sol.biz Fri Nov 24 13:27:35 2006 From: linda-list at i-sol.biz (Linda Derezinski) Date: Fri, 24 Nov 2006 13:27:35 -0500 Subject: [typo] is r1303 unstable for others, too? In-Reply-To: Message-ID: <041601c70ff6$36d57a00$0501000a@Aruba> If it was killed by TxD's samurai process, then you will see a process_watchdog.log in your home directory which lists why/when/what was killed. -Linda -----Original Message----- From: typo-list-bounces at rubyforge.org [mailto:typo-list-bounces at rubyforge.org] On Behalf Of Piers Cawley Sent: Friday, November 24, 2006 12:19 PM To: typo-list at rubyforge.org Subject: Re: [typo] is r1303 unstable for others, too? "Urban Hafner" writes: > > I've just updated Typo to r1303 today. After migrating the database to > version 58 everything seemed to work fine. Unfortunately my fcgi > instance seems to die after a few minutes. But I don't get any entry in > any log/ file. Should I look somewhere else? > > I'm running on Textdrive if that makes any difference. But I don't > think I'm hitting the memory limit as I'm not getting any messages > from the process killing big processes (how was that called again?). At > least I don't think I am. It should write something into a file in my > home dir, shouldn't it? I don't know about the workings of TextDrive; I do know they have pretty tight limits on memory use, but I don't know where you'd find out about what processes got reaped. Certainly dying without informing the logfile of anything smacks of being 'kill -9'd by a resource limiter. Do you get anything at all added to your logfile? > Also I'm using the new tmcode macro. Maybe that may be part of my > problem? Possibly. I've not looked at its workings to be honest. -- Piers Cawley http://www.bofh.org.uk/ _______________________________________________ Typo-list mailing list Typo-list at rubyforge.org http://rubyforge.org/mailman/listinfo/typo-list From pdcawley at bofh.org.uk Fri Nov 24 16:07:05 2006 From: pdcawley at bofh.org.uk (Piers Cawley) Date: Fri, 24 Nov 2006 21:07:05 +0000 Subject: [typo] is r1303 unstable for others, too? In-Reply-To: <041601c70ff6$36d57a00$0501000a@Aruba> (Linda Derezinski's message of "Fri, 24 Nov 2006 13:27:35 -0500") References: <041601c70ff6$36d57a00$0501000a@Aruba> Message-ID: "Linda Derezinski" writes: > If it was killed by TxD's samurai process, then you will see a > process_watchdog.log in your home directory which lists why/when/what was > killed. Fair enough. I wonder what *is* causing it then. I can't replicate the issue here at the moment, but I'm giving whiteboards a hard look at the moment because they don't quite work right at the moment. -- Piers Cawley http://www.bofh.org.uk/ From stevelenti at 3pop.com Fri Nov 24 17:54:36 2006 From: stevelenti at 3pop.com (Steve Lenti) Date: Fri, 24 Nov 2006 15:54:36 -0700 Subject: [typo] page_header error In-Reply-To: References: Message-ID: On 11/24/06, Piers Cawley wrote: > "Steve Lenti" writes: > > > the problem seems to lie in app/helps/article_helper.rb. Can someone > > tell me what line #54 is doing. > > > > page_header_includes = contents.collect { |c| c.whiteboard }.collect { > > |w| w.select {|k,v| k =~ /^page_header_/}.collect {|(k,v)| v} > > }.flatten.uniq > > > > If I comment this out everything seems to work fine. > > What? You can't tell? > > It could be a good deal neater couldn't it, but it shouldn't really be > failing. I shall tidy it up as soon as I've finished writing this. > > What database backend are you using? Sqlite by any chance? > Actually the changes I have made is what is probably causing the problem. I recently migrated to MySQL from SQLite using my homemade script. So I figure that is probably what initially caused the problem. The whiteboard on the screwed up post is set to "0". All the new posts since migration are set to NULL and all the previous are set to "". Setting the problem article to NULL has seemed to solve the problem. Thanks for the advice. -Steve http://youdummy.net/blog From pdcawley at bofh.org.uk Fri Nov 24 18:44:03 2006 From: pdcawley at bofh.org.uk (Piers Cawley) Date: Fri, 24 Nov 2006 23:44:03 +0000 Subject: [typo] page_header error In-Reply-To: (Steve Lenti's message of "Fri, 24 Nov 2006 15:54:36 -0700") References: Message-ID: "Steve Lenti" writes: > On 11/24/06, Piers Cawley wrote: >> "Steve Lenti" writes: >> >> > the problem seems to lie in app/helps/article_helper.rb. Can someone >> > tell me what line #54 is doing. >> > >> > page_header_includes = contents.collect { |c| c.whiteboard }.collect { >> > |w| w.select {|k,v| k =~ /^page_header_/}.collect {|(k,v)| v} >> > }.flatten.uniq >> > >> > If I comment this out everything seems to work fine. >> >> What? You can't tell? >> >> It could be a good deal neater couldn't it, but it shouldn't really be >> failing. I shall tidy it up as soon as I've finished writing this. >> >> What database backend are you using? Sqlite by any chance? >> > > Actually the changes I have made is what is probably causing the > problem. I recently migrated to MySQL from SQLite using my homemade > script. So I figure that is probably what initially caused the > problem. The whiteboard on the screwed up post is set to "0". All > the new posts since migration are set to NULL and all the previous are > set to "". Setting the problem article to NULL has seemed to solve > the problem. Ladeez and gentlemen, we have a winner. Now we just have to work out what's up with the installation that's dying on TextDrive and we're halfway to being delighted. -- Piers Cawley http://www.bofh.org.uk/ From jehenrik at yahoo.com Sat Nov 25 14:13:25 2006 From: jehenrik at yahoo.com (Jeff Henrikson) Date: Sat, 25 Nov 2006 11:13:25 -0800 Subject: [typo] API post to "pages" Message-ID: <456895D5.1070402@yahoo.com> Hello typo-list, A newbie here with my typo up and running on debian sarge and postgres 8.1. I would like to make a couple changes and would appreciate it if anyone in the know could outline the steps involved in the changes. 1) I would like to be able to post to "pages" section through the API. The backend/xmlrpc can only post to "articles," no? 2) Disable the postgres-based rendering cache, so that I can replace with apache mod_cache. It seems that for my hosting (small RAM virt) content (small numbers of pages) combination a small RAM cache should perform better than a DBMS hit. Regards, Jeff Henrikson From urban at bettong.net Sun Nov 26 03:32:59 2006 From: urban at bettong.net (Urban Hafner) Date: Sun, 26 Nov 2006 10:32:59 +0200 Subject: [typo] is r1303 unstable for others, too? In-Reply-To: <041601c70ff6$36d57a00$0501000a@Aruba> References: <041601c70ff6$36d57a00$0501000a@Aruba> Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Nov 24, 2006, at 20:27 , Linda Derezinski wrote: > If it was killed by TxD's samurai process, then you will see a > process_watchdog.log in your home directory which lists why/when/ > what was > killed. Well, there's no such file. So that's not what is happening it seems. Thanks for the tip. Urban -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (Darwin) iD8DBQFFaVFCggNuVCIrEyURApx/AJwJK02aPzhOtd4chOEKqXYGlcflTgCdFth7 I+mhqdpLhOVkprSATCQv+Zc= =zRAs -----END PGP SIGNATURE----- From urban at bettong.net Sun Nov 26 03:37:36 2006 From: urban at bettong.net (Urban Hafner) Date: Sun, 26 Nov 2006 10:37:36 +0200 Subject: [typo] is r1303 unstable for others, too? In-Reply-To: References: Message-ID: <737B90F1-B465-4277-BEF2-C1D36C88D3E1@bettong.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Nov 24, 2006, at 20:24 , Piers Cawley wrote: > What happens if you roll back to r1299? > > That takes it back to rails 1.1.6. If it's stable, I'd appreciate it > if you could then step forward to r1300 check that for stability. > If it's stable, move forward one step at a time checking each version > for stability, which should help us nail down which specific changes > are responsible for what I'm assuming is a memory leak issue. I'll try tomorrow. Is there anything special to be aware of? Like having to migrating the database back? Urban - -- http://bettong.net - Urban's Blog -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (Darwin) iD8DBQFFaVJZggNuVCIrEyURAtm3AJ9cpFB8eQEP9fC+n1YuQ0DakrbBxgCdFadD YBBKs7IpaY44ozqxKqcSr6I= =4Qs2 -----END PGP SIGNATURE----- From pdcawley at bofh.org.uk Sun Nov 26 17:13:41 2006 From: pdcawley at bofh.org.uk (Piers Cawley) Date: Sun, 26 Nov 2006 22:13:41 +0000 Subject: [typo] is r1303 unstable for others, too? In-Reply-To: <737B90F1-B465-4277-BEF2-C1D36C88D3E1@bettong.net> (Urban Hafner's message of "Sun, 26 Nov 2006 10:37:36 +0200") References: <737B90F1-B465-4277-BEF2-C1D36C88D3E1@bettong.net> Message-ID: Urban Hafner writes: > On Nov 24, 2006, at 20:24 , Piers Cawley wrote: > >> What happens if you roll back to r1299? >> >> That takes it back to rails 1.1.6. If it's stable, I'd appreciate it >> if you could then step forward to r1300 check that for stability. >> If it's stable, move forward one step at a time checking each version >> for stability, which should help us nail down which specific changes >> are responsible for what I'm assuming is a memory leak issue. > > I'll try tomorrow. Is there anything special to be aware of? Like > having to migrating the database back? Good point. rake db:migrate VERSION=55 before you do the roll back. -- Piers Cawley http://www.bofh.org.uk/ From urban at bettong.net Mon Nov 27 05:07:30 2006 From: urban at bettong.net (Urban Hafner) Date: Mon, 27 Nov 2006 11:07:30 +0100 Subject: [typo] is r1303 unstable for others, too? In-Reply-To: Message-ID: On 11/26/2006, "Piers Cawley" wrote: >Urban Hafner writes: > >> On Nov 24, 2006, at 20:24 , Piers Cawley wrote: >> >>> What happens if you roll back to r1299? >>> >>> That takes it back to rails 1.1.6. If it's stable, I'd appreciate it >>> if you could then step forward to r1300 check that for stability. >>> If it's stable, move forward one step at a time checking each version >>> for stability, which should help us nail down which specific changes >>> are responsible for what I'm assuming is a memory leak issue. >> >> I'll try tomorrow. Is there anything special to be aware of? Like >> having to migrating the database back? I did this and r1299 seems to be stable. At least at the test I used to trigger this memory leak: 1. Go to homepage 2. Go to main admin page 3. Click empty fragment cache 4. Reload homepage 5. Boom! When I do this at r1300 I get the following on my console: [FATAL] failed to allocate memory Neither the fastcgi.crash.log nor the production.log contain any error messages. Should I try and switch to development. Does this give more output? Urban From pdcawley at bofh.org.uk Mon Nov 27 10:36:36 2006 From: pdcawley at bofh.org.uk (Piers Cawley) Date: Mon, 27 Nov 2006 15:36:36 +0000 Subject: [typo] is r1303 unstable for others, too? In-Reply-To: (Urban Hafner's message of "Mon, 27 Nov 2006 11:07:30 +0100") References: Message-ID: "Urban Hafner" writes: > On 11/26/2006, "Piers Cawley" wrote: > >>Urban Hafner writes: >> >>> On Nov 24, 2006, at 20:24 , Piers Cawley wrote: >>> >>>> What happens if you roll back to r1299? >>>> >>>> That takes it back to rails 1.1.6. If it's stable, I'd appreciate it >>>> if you could then step forward to r1300 check that for stability. >>>> If it's stable, move forward one step at a time checking each version >>>> for stability, which should help us nail down which specific changes >>>> are responsible for what I'm assuming is a memory leak issue. >>> >>> I'll try tomorrow. Is there anything special to be aware of? Like >>> having to migrating the database back? > > I did this and r1299 seems to be stable. At least at the test I used to > trigger this memory leak: > > 1. Go to homepage > 2. Go to main admin page > 3. Click empty fragment cache > 4. Reload homepage > 5. Boom! > > When I do this at r1300 I get the following on my console: > > [FATAL] failed to allocate memory > > Neither the fastcgi.crash.log nor the production.log contain any error > messages. Should I try and switch to development. Does this give more > output? Development probably doesn't give more output, and probably breaks, if anything earlier. But it might be worth trying. One other thing to try is to change blog.rb, text_filter.rb and user.rb back to using ActiveRecord::Base rather than CachedModel as their super classes. If you do remove the CachedModel inheritance stuff, you can also modify the beginning of app/controllers/application.rb so the opening stanza looks like: class ApplicationController < ActionController::Base include LoginSystem # before_filter :reset_local_cache, :fire_triggers before_filter :fire_triggers # after_filter :reset_local_cache I'm afraid this sort of debugging is unlikely to be quick -- I run with a different hosting provider, or I could probably get at what's up a wee bit quicker. Thanks for your help with this. -- Piers Cawley http://www.bofh.org.uk/ From warnero at gmail.com Mon Nov 27 19:18:14 2006 From: warnero at gmail.com (Warner Onstine) Date: Mon, 27 Nov 2006 17:18:14 -0700 Subject: [typo] docs for movable type api? Message-ID: Hi all, New to Typo (used blosxom for quite a while until something brought it down). I have been using MarsEdit for a long time and enjoy posting from it, one thing I can't figure out is what is the "Blog ID" that it is asking for when I configure my connection settings? Also, on a side note, when is typosphere.org coming back? It's really annoying to see links to docs that I want to read that are "gone" because the trac is down. Thanks in advance. -warner From kevin at sb.org Tue Nov 28 06:52:23 2006 From: kevin at sb.org (Kevin Ballard) Date: Tue, 28 Nov 2006 06:52:23 -0500 Subject: [typo] typo and podcast integration with itunes In-Reply-To: References: Message-ID: <7DC69D9E-77CF-4E12-8678-3162E8F6D833@sb.org> If you attach the file as a resource on an article directly, it will show up as an RSS enclosure. Beyond that, I don't know anything about the iTunes-specific data. On Nov 14, 2006, at 4:29 AM, heromuto at fastmail.jp wrote: > I have been trying to see if typo can submit rss podcasts for iTunes, > however I have not been able to find the answer can anyone point me > to were I should place my podcasts so that typo gives them an rss > feed so that iTunes can pick it up? > > I added a podcast file to the site resources then I added meta data > to both the settings window and to the file on the resources overview > page but beyond that I have had no luck. -- Kevin Ballard http://kevin.sb.org kevin at sb.org http://www.tildesoft.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/typo-list/attachments/20061128/eb825132/attachment.html -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2432 bytes Desc: not available Url : http://rubyforge.org/pipermail/typo-list/attachments/20061128/eb825132/attachment.bin From kevin at sb.org Tue Nov 28 06:47:13 2006 From: kevin at sb.org (Kevin Ballard) Date: Tue, 28 Nov 2006 06:47:13 -0500 Subject: [typo] docs for movable type api? In-Reply-To: References: Message-ID: On Nov 27, 2006, at 7:18 PM, Warner Onstine wrote: > New to Typo (used blosxom for quite a while until something brought it > down). I have been using MarsEdit for a long time and enjoy posting > from it, one thing I can't figure out is what is the "Blog ID" that it > is asking for when I configure my connection settings? You want to enter 1 as the blog ID. I'm not sure as to why MarsEdit isn't auto-detecting this for you. Perhaps one of the recent changes I made to typo trunk (regarding the rdf file generation) will fix this for you? > Also, on a side note, when is typosphere.org coming back? It's really > annoying to see links to docs that I want to read that are "gone" > because the trac is down. I don't know. I've contacted the server admin with the intent that we get this issue resolved (it was taken down because a bug in Trac was spiking the CPU unacceptably, but rumor has it the latest trunk versions of Trac have that bug fixed). Hopefully it will be up again in the near future. -- Kevin Ballard http://kevin.sb.org kevin at sb.org http://www.tildesoft.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/typo-list/attachments/20061128/dbed8fa6/attachment.html -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2432 bytes Desc: not available Url : http://rubyforge.org/pipermail/typo-list/attachments/20061128/dbed8fa6/attachment.bin From kevin at sb.org Tue Nov 28 06:48:46 2006 From: kevin at sb.org (Kevin Ballard) Date: Tue, 28 Nov 2006 06:48:46 -0500 Subject: [typo] is r1303 unstable for others, too? In-Reply-To: References: Message-ID: Incidentally, Piers, if tmcode is causing a problem (such as increased memory usage) I would say that points to an issue with the whiteboard implementation. Since you said you're giving whiteboards a hard look, hopefully if that's the case you'll find it. On the other hand, tmcode could just be a red herring. On Nov 24, 2006, at 11:09 AM, Urban Hafner wrote: > Also I'm using the new tmcode macro. Maybe that may be part of my > problem? -- Kevin Ballard http://kevin.sb.org kevin at sb.org http://www.tildesoft.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/typo-list/attachments/20061128/08be8580/attachment.html -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2432 bytes Desc: not available Url : http://rubyforge.org/pipermail/typo-list/attachments/20061128/08be8580/attachment.bin From kevin at sb.org Tue Nov 28 06:51:04 2006 From: kevin at sb.org (Kevin Ballard) Date: Tue, 28 Nov 2006 06:51:04 -0500 Subject: [typo] API post to "pages" In-Reply-To: <456895D5.1070402@yahoo.com> References: <456895D5.1070402@yahoo.com> Message-ID: <6038FFFE-795E-46A0-9300-1518D0CCB1E6@sb.org> That would require a change to the API, and since we're using established API's, that doesn't seem likely to happen. On Nov 25, 2006, at 2:13 PM, Jeff Henrikson wrote: > 1) I would like to be able to post to "pages" section through the API. > The backend/xmlrpc can only post to "articles," no? -- Kevin Ballard http://kevin.sb.org kevin at sb.org http://www.tildesoft.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/typo-list/attachments/20061128/adecd93a/attachment-0001.html -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2432 bytes Desc: not available Url : http://rubyforge.org/pipermail/typo-list/attachments/20061128/adecd93a/attachment-0001.bin From pdcawley at bofh.org.uk Tue Nov 28 10:41:59 2006 From: pdcawley at bofh.org.uk (Piers Cawley) Date: Tue, 28 Nov 2006 15:41:59 +0000 Subject: [typo] is r1303 unstable for others, too? In-Reply-To: (Kevin Ballard's message of "Tue, 28 Nov 2006 06:48:46 -0500") References: Message-ID: Kevin Ballard writes: > Incidentally, Piers, if tmcode is causing a problem (such as increased > memory usage) I would say that points to an issue with the whiteboard > implementation. Since you said you're giving whiteboards a hard look, > hopefully if that's the case you'll find it. > > On the other hand, tmcode could just be a red herring. Seems to be; 1299 works and 1300 doesn't. -- Piers Cawley http://www.bofh.org.uk/ From chris at bigballofwax.co.nz Thu Nov 30 15:30:29 2006 From: chris at bigballofwax.co.nz (Chris Cormack) Date: Fri, 1 Dec 2006 09:30:29 +1300 Subject: [typo] XML broken in r1307 Message-ID: <606aab810611301230q4a2da12cja1b8c0951ddc7046@mail.gmail.com> Hi Guys Im running the latest typo and the xml feeds are broken. The error I get is NameError (uninitialized constant XmlController): Is anyone else having this problem? Chris -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/typo-list/attachments/20061201/8d318add/attachment.html From warnero at gmail.com Thu Nov 30 19:56:48 2006 From: warnero at gmail.com (Warner Onstine) Date: Thu, 30 Nov 2006 17:56:48 -0700 Subject: [typo] trying to use proxy on apache 2.0 Message-ID: Hi all, After getting things setup I'm having some issues setting up the proxy stuff. Since I didn't want to setup a virtual host for my blog I decided to set up my proxying like this: ProxyRequests Off Order deny,allow Allow from all ProxyPass /blog http://localhost:4997 ProxyPassReverse /blog http://localhost:4997 ProxyPreserveHost On but, when I hit my /blog directory I get a 403 forbidden message. Any ideas on what I'm not setting up correctly? I did do some searching through the archives and there is a link to a tutorial on the ror wiki that is down right now. Thanks! -warner From stevelenti at 3pop.com Thu Nov 30 21:19:47 2006 From: stevelenti at 3pop.com (Steve Lenti) Date: Thu, 30 Nov 2006 19:19:47 -0700 Subject: [typo] trying to use proxy on apache 2.0 In-Reply-To: References: Message-ID: On 11/30/06, Warner Onstine wrote: > Hi all, > After getting things setup I'm having some issues setting up the proxy > stuff. Since I didn't want to setup a virtual host for my blog I > decided to set up my proxying like this: > > ProxyRequests Off > > Order deny,allow > Allow from all > > > ProxyPass /blog http://localhost:4997 > ProxyPassReverse /blog http://localhost:4997 > ProxyPreserveHost On > > but, when I hit my /blog directory I get a 403 forbidden message. Any > ideas on what I'm not setting up correctly? > > I did do some searching through the archives and there is a link to a > tutorial on the ror wiki that is down right now. Did you do typo config blog url-prefix=/blog if you did then you need ... ProxyPass /blog http://localhost:4997/blog ProxyPassReverse /blog http://localhost:4997/blog -Steve http://youdummy.net/blog From warnero at gmail.com Thu Nov 30 21:55:29 2006 From: warnero at gmail.com (Warner Onstine) Date: Thu, 30 Nov 2006 19:55:29 -0700 Subject: [typo] trying to use proxy on apache 2.0 In-Reply-To: References: Message-ID: No, I didn't do that originally, but I have now and I can hit myserver.com:4997/blog, but hitting myserver.com/blog still returns a 403. -warner On 11/30/06, Steve Lenti wrote: > On 11/30/06, Warner Onstine wrote: > > Hi all, > > After getting things setup I'm having some issues setting up the proxy > > stuff. Since I didn't want to setup a virtual host for my blog I > > decided to set up my proxying like this: > > > > ProxyRequests Off > > > > Order deny,allow > > Allow from all > > > > > > ProxyPass /blog http://localhost:4997 > > ProxyPassReverse /blog http://localhost:4997 > > ProxyPreserveHost On > > > > but, when I hit my /blog directory I get a 403 forbidden message. Any > > ideas on what I'm not setting up correctly? > > > > I did do some searching through the archives and there is a link to a > > tutorial on the ror wiki that is down right now. > > > Did you do > typo config blog url-prefix=/blog > > if you did then you need ... > > ProxyPass /blog http://localhost:4997/blog > ProxyPassReverse /blog http://localhost:4997/blog > > -Steve > http://youdummy.net/blog > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list >