From urban at bettong.net Sun Jan 1 08:13:38 2006 From: urban at bettong.net (Urban Hafner) Date: Sun, 1 Jan 2006 14:13:38 +0100 Subject: [typo] No tags for article displayed anymore In-Reply-To: References: Message-ID: <3CAB90FC-1FA4-4AB3-98CC-F232FEB4E34A@bettong.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 31 Dec 2005, at 18:22, Patrick Lenz wrote: >> since a short while the tags I give to an article aren't displayed >> anymore. This happens only with new articles. > > About 18 seconds ago I committed a potential fix to subversion. > Please try to upgrade to 804 and see if that fixes your problem. Thanks for the quick response. I updated to 806, emptied the page cache but I still see no difference. Urban - -- http://bettong.net - Urban's Blog -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (Darwin) iD8DBQFDt9WJggNuVCIrEyURAtvFAJ4iO/b81dNgvMOmCOffeNj30bsf+ACgo0yk /HaC8toUFa2w0CiWTWuLWzA= =uWGB -----END PGP SIGNATURE----- From dusty.jewett at gmail.com Sun Jan 1 09:44:08 2006 From: dusty.jewett at gmail.com (Dusty Jewett) Date: Sun, 1 Jan 2006 06:44:08 -0800 Subject: [typo] multiple blogs in typo ? In-Reply-To: References: <20051222122744.GA17163@lbl.pl> Message-ID: <939e27410601010644n1fcb282bm1c1c8e67321e533c@mail.gmail.com> Is there a possibility for a patch with all of this in it? On 12/31/05, Sean Mountcastle wrote: > > > > The only issue I ran into was with ConfigManager ... the > > ApplicationHelper.render_file method forces the ConfigManager to be > > initialized (which causes it to reload settings) because it needs the > theme > > settings when configuring the search path. I don't have a good solution > > for this issue yet (I'd appreciate help from anyone on the list who > knows > > the ConfigManager well), but the workaround I did was to comment out > > the call to reload in ConfigManager.initialize and modified > > ConfigManager.reload to take an account parameter. > > I resolved my issue and now have settings/configuration info separated on > a per blog basis. I had to modify every place where config was called so > that > the account id was passed in as well as the setting name. In > application_helper I modified config_value as follows and tried to use > that > where ever possible: > > def config_value(name) > c = config(@controller.account) > c[name] > end > > The next issue I ran into was theme support, so that each blog was able to > use its own theme. I had to modify ThemeController, ThemesController and > the theme model but it's still not quite working yet (from the HTTP GET > requests it looks like it's looking for the themes in > public/stylesheets/theme/). I'll send mail once I get themes working > for multiple blogs. > > Regards, > Sean > > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/typo-list/attachments/20060101/61d0cbf8/attachment.htm From smountcastle at gmail.com Sun Jan 1 11:17:21 2006 From: smountcastle at gmail.com (Sean Mountcastle) Date: Sun, 1 Jan 2006 16:17:21 +0000 (UTC) Subject: [typo] multiple blogs in typo ? References: <20051222122744.GA17163@lbl.pl> <939e27410601010644n1fcb282bm1c1c8e67321e533c@mail.gmail.com> Message-ID: Dusty, > Is there a possibility for a patch with all of this in it? Sure, though I'd like to get things working before releasing a patch. Hopefully by the end of next weekend (1/8) I can get a patch together. I'm not sure if the Typo team would be interested in such a patch, but I'll put it out there for all of the folks looking to host multiple blogs with a single Typo install. I finally figured out themes. There's a route setup for the ThemeController so that's why I was seeing /stylesheets/theme/foo.css. I had to modify ThemeController.render_theme_item to call Theme.current_theme_path(account). Once I did this I would see multiple themes for different blogs working sporadically ... disabling caching makes it work always. Though I'm not sure if commenting out # caches_page :stylesheets, :javascript, :images is a good idea for performance ... hopefully the browser is smart about caching these items. Regards, Sean From patrick at lenz.sh Sun Jan 1 11:49:39 2006 From: patrick at lenz.sh (Patrick Lenz) Date: Sun, 1 Jan 2006 17:49:39 +0100 Subject: [typo] No tags for article displayed anymore In-Reply-To: <3CAB90FC-1FA4-4AB3-98CC-F232FEB4E34A@bettong.net> References: <3CAB90FC-1FA4-4AB3-98CC-F232FEB4E34A@bettong.net> Message-ID: On Jan 1, 2006, at 2:13 PM, Urban Hafner wrote: > Thanks for the quick response. I updated to 806, emptied the page > cache but I still see no difference. You might have to hit 'save' for each article missing the tags. The problem I fixed occurred while transforming the space separated Article#keywords field into separate rows in tags and assignments to articles_tags. -- Patrick Lenz (scoop) http://poocs.net/ # Personal Weblog http://limited-overload.de/ # Web application development http://freshmeat.net/ # Free software archive http://topmedia.de/ # IT Storage Solutions From urban at bettong.net Sun Jan 1 14:02:12 2006 From: urban at bettong.net (Urban Hafner) Date: Sun, 1 Jan 2006 20:02:12 +0100 Subject: [typo] No tags for article displayed anymore In-Reply-To: References: <3CAB90FC-1FA4-4AB3-98CC-F232FEB4E34A@bettong.net> Message-ID: <5EAA3E5E-48A9-4065-8598-E08ED2C7B8EA@bettong.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 1 Jan 2006, at 17:49, Patrick Lenz wrote: > You might have to hit 'save' for each article missing the tags. The > problem I fixed occurred while transforming the space separated > Article#keywords field into separate rows in tags and assignments to > articles_tags. Thanks. That worked! Urban - -- http://bettong.net - Urban's Blog -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (Darwin) iD8DBQFDuCc+ggNuVCIrEyURAvQwAJ9t7ZJPPgdQRMhISM7RRDHzjOsuXACgrAO2 9dq7xpf2ppT8PJ62a4B0bKM= =59aA -----END PGP SIGNATURE----- From phil at cryer.us Mon Jan 2 12:04:44 2006 From: phil at cryer.us (phil) Date: Mon, 2 Jan 2006 11:04:44 -0600 Subject: [typo] Searching for razure.zip In-Reply-To: 5EAA3E5E-48A9-4065-8598-E08ED2C7B8EA@bettong.net Message-ID: <0caa71958b4e0752a0731dad69173db9@pepe.cryer.us> the site hosting razure.zip is down. does anyone have this theme? will themegarden be updated soon to allow for easy finding/downloading of themes? Thanks P -- http://fak3r.com - you don't have to kick it From pdcawley at bofh.org.uk Mon Jan 2 15:05:04 2006 From: pdcawley at bofh.org.uk (Piers Cawley) Date: Mon, 02 Jan 2006 20:05:04 +0000 Subject: [typo] getUsersBlogs In-Reply-To: <6476130E-621F-460C-BCC3-72B168D9B3BA@sigkill.org> (Scott Laird's message of "Sat, 31 Dec 2005 07:40:29 -0800") References: <63E692DE-5B60-41B0-9FFC-401981D5B0FB@freedomdumlao.com> <6476130E-621F-460C-BCC3-72B168D9B3BA@sigkill.org> Message-ID: Scott Laird writes: > It's been a slow month. I'd really like to get a few fixes > integrated, but something bizarre is going on with Ruby on my laptop; > once I get Ruby working again I'll start working through the backlog > of patches. I'm currently having problems getting everything passing its tests with Rails 1.0; something to do with categories not being saved, and I've no clue why it's not working. Oh, and I've got a possible new job lined up and a car to get serviced and... Once I've got that squared away though I hope to be able to commit 1 full day a week working on Typo. Probably Tuesdays. -- Piers Cawley http://www.bofh.org.uk/ From pdcawley at bofh.org.uk Mon Jan 2 15:08:06 2006 From: pdcawley at bofh.org.uk (Piers Cawley) Date: Mon, 02 Jan 2006 20:08:06 +0000 Subject: [typo] No tags for article displayed anymore In-Reply-To: (Patrick Lenz's message of "Sun, 1 Jan 2006 17:49:39 +0100") References: <3CAB90FC-1FA4-4AB3-98CC-F232FEB4E34A@bettong.net> Message-ID: Patrick Lenz writes: > On Jan 1, 2006, at 2:13 PM, Urban Hafner wrote: > >> Thanks for the quick response. I updated to 806, emptied the page >> cache but I still see no difference. > > You might have to hit 'save' for each article missing the tags. The > problem I fixed occurred while transforming the space separated > Article#keywords field into separate rows in tags and assignments to > articles_tags. For future reference, something like: script/runner 'Article.find(:all).each {|a| a.save}' -e production should do the job nicely. I find myself wondering if some sort of 'rake refresh_content' task might be a useful addition for the future... -- Piers Cawley http://www.bofh.org.uk/ From patrick at lenz.sh Mon Jan 2 15:13:39 2006 From: patrick at lenz.sh (Patrick Lenz) Date: Mon, 2 Jan 2006 21:13:39 +0100 Subject: [typo] getUsersBlogs In-Reply-To: References: <63E692DE-5B60-41B0-9FFC-401981D5B0FB@freedomdumlao.com> <6476130E-621F-460C-BCC3-72B168D9B3BA@sigkill.org> Message-ID: On Jan 2, 2006, at 9:05 PM, Piers Cawley wrote: > I'm currently having problems getting everything passing its tests > with Rails 1.0; something to do with categories not being saved, and > I've no clue why it's not working. There's an issue in Rails 1.0 having to do with multiple habtm relationships where only the first is being saved properly. This should be fixed in Rails trunk. However, the changesets I fired in over the last days made all tests pass for me. You might want to sync your tree. -- Patrick Lenz (scoop) http://poocs.net/ # Personal Weblog http://limited-overload.de/ # Web application development http://freshmeat.net/ # Free software archive http://topmedia.de/ # IT Storage Solutions From scott at sigkill.org Mon Jan 2 16:13:32 2006 From: scott at sigkill.org (Scott Laird) Date: Mon, 2 Jan 2006 13:13:32 -0800 Subject: [typo] getUsersBlogs In-Reply-To: References: <63E692DE-5B60-41B0-9FFC-401981D5B0FB@freedomdumlao.com> <6476130E-621F-460C-BCC3-72B168D9B3BA@sigkill.org> Message-ID: <7DE3E645-3426-416C-B0D3-F687AFFF0E87@sigkill.org> On Jan 2, 2006, at 12:05 PM, Piers Cawley wrote: > Scott Laird writes: > >> It's been a slow month. I'd really like to get a few fixes >> integrated, but something bizarre is going on with Ruby on my laptop; >> once I get Ruby working again I'll start working through the backlog >> of patches. > > I'm currently having problems getting everything passing its tests > with Rails 1.0; something to do with categories not being saved, and > I've no clue why it's not working. Oh, and I've got a possible new job > lined up and a car to get serviced and... Once I've got that squared > away though I hope to be able to commit 1 full day a week working on > Typo. Probably Tuesdays. Heh. I've been in a similar boat, with a new job 700 miles from home. Fortunately, it looks like my schedule will calm back down later this week and I should be able to get more accomplished with Typo. Scott From ernieoporto at gmail.com Mon Jan 2 17:02:11 2006 From: ernieoporto at gmail.com (Ernie Oporto) Date: Mon, 2 Jan 2006 17:02:11 -0500 Subject: [typo] Searching for razure.zip In-Reply-To: <0caa71958b4e0752a0731dad69173db9@pepe.cryer.us> References: <0caa71958b4e0752a0731dad69173db9@pepe.cryer.us> Message-ID: Sorry for not having it up. My motherboard died so the server is down at the moment. It should be up this week once a new Asus board comes in. I have developed a special hate for Abit's support these past weeks. For now you can download it from http://www.patmedia.net/eoporto/razure.zip Ernie On 1/2/06, phil wrote: > > the site hosting razure.zip is down. does anyone have this theme? will > themegarden be updated soon to allow for easy finding/downloading of themes? > > Thanks > > P > -- > http://fak3r.com - you don't have to kick it > > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/typo-list/attachments/20060102/5f9dc334/attachment.htm From pdcawley at bofh.org.uk Mon Jan 2 17:20:13 2006 From: pdcawley at bofh.org.uk (Piers Cawley) Date: Mon, 02 Jan 2006 22:20:13 +0000 Subject: [typo] getUsersBlogs In-Reply-To: (Patrick Lenz's message of "Mon, 2 Jan 2006 21:13:39 +0100") References: <63E692DE-5B60-41B0-9FFC-401981D5B0FB@freedomdumlao.com> <6476130E-621F-460C-BCC3-72B168D9B3BA@sigkill.org> Message-ID: Patrick Lenz writes: > On Jan 2, 2006, at 9:05 PM, Piers Cawley wrote: > >> I'm currently having problems getting everything passing its tests >> with Rails 1.0; something to do with categories not being saved, and >> I've no clue why it's not working. > > There's an issue in Rails 1.0 having to do with multiple habtm > relationships where only the first is being saved properly. This > should be fixed in Rails trunk. > > However, the changesets I fired in over the last days made all tests > pass for me. You might want to sync your tree. Yup, just did and all is well. -- Piers Cawley http://www.bofh.org.uk/ From pdcawley at bofh.org.uk Mon Jan 2 17:20:43 2006 From: pdcawley at bofh.org.uk (Piers Cawley) Date: Mon, 02 Jan 2006 22:20:43 +0000 Subject: [typo] getUsersBlogs In-Reply-To: <7DE3E645-3426-416C-B0D3-F687AFFF0E87@sigkill.org> (Scott Laird's message of "Mon, 2 Jan 2006 13:13:32 -0800") References: <63E692DE-5B60-41B0-9FFC-401981D5B0FB@freedomdumlao.com> <6476130E-621F-460C-BCC3-72B168D9B3BA@sigkill.org> <7DE3E645-3426-416C-B0D3-F687AFFF0E87@sigkill.org> Message-ID: Scott Laird writes: > On Jan 2, 2006, at 12:05 PM, Piers Cawley wrote: > >> Scott Laird writes: >> >>> It's been a slow month. I'd really like to get a few fixes >>> integrated, but something bizarre is going on with Ruby on my laptop; >>> once I get Ruby working again I'll start working through the backlog >>> of patches. >> >> I'm currently having problems getting everything passing its tests >> with Rails 1.0; something to do with categories not being saved, and >> I've no clue why it's not working. Oh, and I've got a possible new job >> lined up and a car to get serviced and... Once I've got that squared >> away though I hope to be able to commit 1 full day a week working on >> Typo. Probably Tuesdays. > > Heh. I've been in a similar boat, with a new job 700 miles from > home. Fortunately, it looks like my schedule will calm back down > later this week and I should be able to get more accomplished with Typo. That and Christmas/New Year/Housewarming. Mmm... new house. -- Piers Cawley http://www.bofh.org.uk/ From phil at cryer.us Tue Jan 3 10:28:26 2006 From: phil at cryer.us (phil) Date: Tue, 3 Jan 2006 9:28:26 -0600 Subject: [typo] Searching for razure.zip In-Reply-To: f91ac86d0601021402p3e249ce0jfe7a410f8bfef09a@mail.gmail.com Message-ID: <6a328c1b529108ec0a52305ea44a8358@pepe.cryer.us> Ernie Thanks so much. In the future will this be available via Typogarden? I think having them all hosted there would make sense. Thanks again for the theme, I want to use it for my old site that I'm getting ready to migrate from Drupal over to Typo (possibly to MT first...) P On Mon, 2 Jan 2006 17:02:11 -0500, Ernie Oporto wrote: > Sorry for not having it up. My motherboard died so the server is down at > the moment. It should be up this week once a new Asus board comes in. I > have developed a special hate for Abit's support these past weeks. > For now you can download it from > http://www.patmedia.net/eoporto/razure.zip > Ernie > > > > On 1/2/06, phil wrote: >> >> the site hosting razure.zip is down. does anyone have this theme? will >> themegarden be updated soon to allow for easy finding/downloading of > themes? >> >> Thanks >> >> P >> -- >> http://fak3r.com - you don't have to kick it >> >> _______________________________________________ >> Typo-list mailing list >> Typo-list at rubyforge.org >> http://rubyforge.org/mailman/listinfo/typo-list >> > > -- http://fak3r.com - you don't have to kick it From tannoiser at tenzione.it Tue Jan 3 19:34:40 2006 From: tannoiser at tenzione.it (Maurizio Lemmo - Tannoiser) Date: Wed, 4 Jan 2006 01:34:40 +0100 Subject: [typo] comments with created_at field wrong? Message-ID: <20060104003440.GA29168@tannoiser.sytes.net> Greeting to all the list members. I'm experienced a strange issue, and honestly i can't say if it is an error of mine, or what. I run typo 2.6.0 with rails 1.0 on debian sarge (postgresql as rdbms). When i wrote article, all went ok. When someone, including me, leave a comment, the field "created_at" seems wrong, and i've to fix it by hand. I've not recognize a pattern. It's just wrong. Localtime are correctly configurated, for my timezone (CET) ie: mizio at samael:~$ date Wed Jan 4 01:25:04 CET 2006 the "updated_at" seems perfect. But because the comments order is showed from "created_at" field, it's messy. It could be related to some browser's cache issue? It is something that i missed at configuration time? I've searched in typo's ticket and in past messages, but seems nothing apply to this stuff. Thank you in advice. I apologize for my english, i'm not english native. -- Maurizio - Tannoiser - Lemmo Founder Member of ERLUG http://erlug.linux.it ------------------------------------------------------------------------------- Buffy: "Willow, I thought I might take in a class. Figured I could use someone who knows where they are." --Buffy the Vampire Slayer: Passion From rodgerd at diaspora.gen.nz Tue Jan 3 19:40:13 2006 From: rodgerd at diaspora.gen.nz (Rodger Donaldson) Date: Wed, 4 Jan 2006 13:40:13 +1300 (NZDT) Subject: [typo] comments with created_at field wrong? In-Reply-To: <20060104003440.GA29168@tannoiser.sytes.net> References: <20060104003440.GA29168@tannoiser.sytes.net> Message-ID: <13853.202.49.97.7.1136335213.squirrel@israel.diaspora.gen.nz> On Wed, January 4, 2006 13:34, Maurizio Lemmo - Tannoiser wrote: > > the "updated_at" seems perfect. But because the comments order is showed > from "created_at" field, it's messy. > > It could be related to some browser's cache issue? > It is something that i missed at configuration time? I have this issue as well. It seems to be related to session cookies somehow. From typo-list at kekova.ca Tue Jan 3 21:35:51 2006 From: typo-list at kekova.ca (Chris Nolan.ca) Date: Tue, 3 Jan 2006 21:35:51 -0500 Subject: [typo] comments with created_at field wrong? In-Reply-To: <13853.202.49.97.7.1136335213.squirrel@israel.diaspora.gen.nz> References: <20060104003440.GA29168@tannoiser.sytes.net> <13853.202.49.97.7.1136335213.squirrel@israel.diaspora.gen.nz> Message-ID: <0891F275-C8DD-4419-ACD5-9A65D26DF3A3@kekova.ca> You guys are both the other side of the GMT so I'm thinking it has something to do with positive timezones but it's hard to say without seeing some more data. If you leave two comments in a row, are they both off, and by the same amount? What is your config.active_record.default_timezone set to in your config/environment.rb if you're running rails 1.0? Chris Nolan.ca http://kekova.ca/ On Jan 3, 2006, at 19:40, Rodger Donaldson wrote: > On Wed, January 4, 2006 13:34, Maurizio Lemmo - Tannoiser wrote: >> >> the "updated_at" seems perfect. But because the comments order is >> showed >> from "created_at" field, it's messy. >> >> It could be related to some browser's cache issue? >> It is something that i missed at configuration time? > > I have this issue as well. It seems to be related to session cookies > somehow. From stephen at deanbrook.org Wed Jan 4 00:02:53 2006 From: stephen at deanbrook.org (Stephen Bannasch) Date: Wed, 4 Jan 2006 00:02:53 -0500 Subject: [typo] missing theme in 2.6.0 Message-ID: I am testing the 2.6.0 release of typo After starting the blog, entering a bit of administrivia and writing the first post when I went to view the blog the content displayed with no theme. The html source was looking for the theme stylesheet here: which maps to: typo/public/stylesheets/theme/azure.css but the theme actually is located here: themes/azure/stylesheets/azure.css In order to get the stylesheet to display I had to create a symbolic link typo/public/stylesheets/theme -> ../../themes/azure/stylesheets I must be missing something obvious because I find it hard to believe this is what I am supposed to do ...? Thanks for any help. -- -- Stephen Bannasch, stephen at deanbrook dot org From scott at sigkill.org Wed Jan 4 00:10:01 2006 From: scott at sigkill.org (Scott Laird) Date: Tue, 3 Jan 2006 21:10:01 -0800 Subject: [typo] missing theme in 2.6.0 In-Reply-To: References: Message-ID: <5955E4A4-001B-44E7-AE33-BCD383ED0448@sigkill.org> Remove the symlink and try again, watching your logs. Everything in / stylesheets/theme/ should be populated automatically from the current theme, if it isn't then there should be an error message logged. Scott On Jan 3, 2006, at 9:02 PM, Stephen Bannasch wrote: > I am testing the 2.6.0 release of typo After starting the blog, > entering a bit of administrivia and writing the first post when I > went to view the blog the content displayed with no theme. > > The html source was looking for the theme stylesheet here: > > rel="Stylesheet" type="text/css" /> > > which maps to: > > typo/public/stylesheets/theme/azure.css > > but the theme actually is located here: > > themes/azure/stylesheets/azure.css > > In order to get the stylesheet to display I had to create a > symbolic link > > typo/public/stylesheets/theme -> ../../themes/azure/stylesheets > > I must be missing something obvious because I find it hard to believe > this is what I am supposed to do ...? > > Thanks for any help. > -- > > -- Stephen Bannasch, stephen at deanbrook dot org > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list From stephen at deanbrook.org Wed Jan 4 00:40:47 2006 From: stephen at deanbrook.org (Stephen Bannasch) Date: Wed, 4 Jan 2006 00:40:47 -0500 Subject: [typo] missing theme in 2.6.0 In-Reply-To: <5955E4A4-001B-44E7-AE33-BCD383ED0448@sigkill.org> References: <5955E4A4-001B-44E7-AE33-BCD383ED0448@sigkill.org> Message-ID: >Remove the symlink and try again, watching your logs. Everything in / >stylesheets/theme/ should be populated automatically from the current >theme, if it isn't then there should be an error message logged. > >Scott Thanks for the response Scott. Hmmm ... I removed the symlink and reloaded the page and the theme was still there -- interesting ... so trying to reconstruct what might have caused the problem I remembered stopping and starting WEBrick before. So I typed C-c to stop WEBrick and started it up: ruby script/server -e development reloaded the page and the theme is now missing. See error #1 below from the development.log This was all in Safari so I tried reloading the same page from Firefox (which had a properly rendered typo page displayed before I clicked reload) and got error #2 below (from the html page). I went back to Safari and reloaded the page and the theme was back. I then went back to Firefox and reloaded the page and the theme was back. Back to Safari and the theme was missing again. It seems like there is some subtlety to session ids, accessing WEBrick from multiple browsers on one machine (sameIP) and restarting WEBrick and theme processing that I don't understand well. ----error #1------------------------------------------------------------------------------------------ Processing ThemeController#stylesheets (for 127.0.0.1 at 2006-01-04 00:22:42) [GET] CGI::Session::ActiveRecordStore::Session Load (0.000000) Mysql::Error: Lost connection to MySQL server during query: SELECT * FROM sessions WHERE (sessions.`sessid` = '89e43554ffca879ec1cd99dde885e10e' ) LIMIT 1 Parameters: {"action"=>"stylesheets", "controller"=>"theme", "filename"=>"azure.css"} ArgumentError (undefined class/module User): /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/session/active_record_store.rb:83:in `dump' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/session/active_record_store.rb:83:in `marshal' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/session/active_record_store.rb:129:in `marshal_data!' /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/callbacks.rb:333:in `callback' /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/callbacks.rb:330:in `callback' /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/callbacks.rb:248:in `create_or_update' /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/base.rb:1226:in `save_without_validation' /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/validations.rb:698:in `save_without_transactions' /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/transactions.rb:126:in `save' /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/connection_adapters/abstract/database_statements.rb:51:in `transaction' /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/transactions.rb:91:in `transaction' /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/transactions.rb:118:in `transaction' /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/transactions.rb:126:in `save' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/session/active_record_store.rb:300:in `update' /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/base.rb:831:in `silence' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/session/active_record_store.rb:300:in `update' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/session/active_record_store.rb:307:in `close' /usr/local/lib/ruby/1.8/cgi/session.rb:330:in `close' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:914:in `close_session' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:372:in `process_without_session_management_support' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/session_management.rb:116:in `process' /usr/local/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/dispatcher.rb:38:in `dispatch' /usr/local/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:117:in `handle_dispatch' /usr/local/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:83:in `service' /usr/local/lib/ruby/1.8/webrick/httpserver.rb:104:in `service' /usr/local/lib/ruby/1.8/webrick/httpserver.rb:65:in `run' /usr/local/lib/ruby/1.8/webrick/server.rb:173:in `start_thread' /usr/local/lib/ruby/1.8/webrick/server.rb:162:in `start_thread' /usr/local/lib/ruby/1.8/webrick/server.rb:95:in `start' /usr/local/lib/ruby/1.8/webrick/server.rb:92:in `start' /usr/local/lib/ruby/1.8/webrick/server.rb:23:in `start' /usr/local/lib/ruby/1.8/webrick/server.rb:82:in `start' /usr/local/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:69:in `dispatch' script/server:49 ----error #2------------------------------------------------------------------------------------------ ArgumentError in # undefined class/module User RAILS_ROOT: ./script/../config/../ Application Trace | Framework Trace | Full Trace /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/session/active_record_store.rb:83:in `dump' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/session/active_record_store.rb:83:in `marshal' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/session/active_record_store.rb:129:in `marshal_data!' /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/callbacks.rb:333:in `callback' /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/callbacks.rb:330:in `callback' /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/callbacks.rb:248:in `create_or_update' /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/base.rb:1226:in `save_without_validation' /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/validations.rb:698:in `save_without_transactions' /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/transactions.rb:126:in `save' /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/connection_adapters/abstract/database_statements.rb:51:in `transaction' /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/transactions.rb:91:in `transaction' /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/transactions.rb:118:in `transaction' /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/transactions.rb:126:in `save' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/session/active_record_store.rb:300:in `update' /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/base.rb:831:in `silence' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/session/active_record_store.rb:300:in `update' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/session/active_record_store.rb:307:in `close' /usr/local/lib/ruby/1.8/cgi/session.rb:166:in `callback' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/code_generation.rb:69:in `dup' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/code_generation.rb:66:in `dup' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/code_generation.rb:46:in `method_missing' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/code_generation.rb:19:in `indent' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/code_generation.rb:46:in `method_missing' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/routing.rb:154:in `recognition_check' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/routing.rb:159:in `write_recognition' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/code_generation.rb:136:in `go' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/code_generation.rb:132:in `continue' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/routing.rb:80:in `write_recognition' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/code_generation.rb:99:in `move_forward' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/routing.rb:80:in `write_recognition' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/code_generation.rb:46:in `method_missing' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/code_generation.rb:19:in `indent' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/code_generation.rb:46:in `method_missing' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/code_generation.rb:92:in `if_next_matches' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/routing.rb:79:in `write_recognition' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/code_generation.rb:136:in `go' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/code_generation.rb:132:in `continue' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/routing.rb:80:in `write_recognition' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/code_generation.rb:99:in `move_forward' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/routing.rb:80:in `write_recognition' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/code_generation.rb:46:in `method_missing' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/code_generation.rb:19:in `indent' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/code_generation.rb:46:in `method_missing' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/code_generation.rb:92:in `if_next_matches' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/routing.rb:79:in `write_recognition' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/code_generation.rb:136:in `go' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/routing.rb:326:in `write_recognition' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/routing.rb:479:in `write_recognition' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/routing.rb:583:in `each' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/routing.rb:477:in `write_recognition' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/code_generation.rb:46:in `method_missing' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/code_generation.rb:19:in `indent' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/code_generation.rb:46:in `method_missing' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/routing.rb:476:in `write_recognition' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/routing.rb:578:in `draw' #{RAILS_ROOT}config/routes.rb:1 /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/session/active_record_store.rb:83:in `dump' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/session/active_record_store.rb:83:in `marshal' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/session/active_record_store.rb:129:in `marshal_data!' /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/callbacks.rb:333:in `callback' /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/callbacks.rb:330:in `callback' /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/callbacks.rb:248:in `create_or_update' /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/base.rb:1226:in `save_without_validation' /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/validations.rb:698:in `save_without_transactions' /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/transactions.rb:126:in `save' /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/connection_adapters/abstract/database_statements.rb:51:in `transaction' /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/transactions.rb:91:in `transaction' /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/transactions.rb:118:in `transaction' /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/transactions.rb:126:in `save' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/session/active_record_store.rb:300:in `update' /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/base.rb:831:in `silence' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/session/active_record_store.rb:300:in `update' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/session/active_record_store.rb:307:in `close' /usr/local/lib/ruby/1.8/cgi/session.rb:166:in `callback' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/code_generation.rb:69:in `dup' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/code_generation.rb:66:in `dup' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/code_generation.rb:46:in `method_missing' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/code_generation.rb:19:in `indent' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/code_generation.rb:46:in `method_missing' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/routing.rb:154:in `recognition_check' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/routing.rb:159:in `write_recognition' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/code_generation.rb:136:in `go' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/code_generation.rb:132:in `continue' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/routing.rb:80:in `write_recognition' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/code_generation.rb:99:in `move_forward' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/routing.rb:80:in `write_recognition' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/code_generation.rb:46:in `method_missing' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/code_generation.rb:19:in `indent' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/code_generation.rb:46:in `method_missing' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/code_generation.rb:92:in `if_next_matches' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/routing.rb:79:in `write_recognition' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/code_generation.rb:136:in `go' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/code_generation.rb:132:in `continue' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/routing.rb:80:in `write_recognition' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/code_generation.rb:99:in `move_forward' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/routing.rb:80:in `write_recognition' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/code_generation.rb:46:in `method_missing' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/code_generation.rb:19:in `indent' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/code_generation.rb:46:in `method_missing' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/code_generation.rb:92:in `if_next_matches' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/routing.rb:79:in `write_recognition' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/code_generation.rb:136:in `go' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/routing.rb:326:in `write_recognition' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/routing.rb:479:in `write_recognition' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/routing.rb:583:in `each' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/routing.rb:477:in `write_recognition' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/code_generation.rb:46:in `method_missing' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/code_generation.rb:19:in `indent' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/code_generation.rb:46:in `method_missing' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/routing.rb:476:in `write_recognition' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/routing.rb:578:in `draw' /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:207:in `load' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/routing.rb:555:in `reload' /usr/local/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/dispatcher.rb:69:in `prepare_application' /usr/local/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/dispatcher.rb:37:in `dispatch' /usr/local/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:117:in `handle_dispatch' /usr/local/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:83:in `service' /usr/local/lib/ruby/1.8/webrick/httpserver.rb:104:in `service' /usr/local/lib/ruby/1.8/webrick/httpserver.rb:65:in `run' /usr/local/lib/ruby/1.8/webrick/server.rb:173:in `start_thread' /usr/local/lib/ruby/1.8/webrick/server.rb:162:in `start_thread' /usr/local/lib/ruby/1.8/webrick/server.rb:95:in `start' /usr/local/lib/ruby/1.8/webrick/server.rb:92:in `start' /usr/local/lib/ruby/1.8/webrick/server.rb:23:in `start' /usr/local/lib/ruby/1.8/webrick/server.rb:82:in `start' /usr/local/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:69:in `dispatch' script/server:49 /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/session/active_record_store.rb:83:in `dump' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/session/active_record_store.rb:83:in `marshal' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/session/active_record_store.rb:129:in `marshal_data!' /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/callbacks.rb:333:in `callback' /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/callbacks.rb:330:in `callback' /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/callbacks.rb:248:in `create_or_update' /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/base.rb:1226:in `save_without_validation' /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/validations.rb:698:in `save_without_transactions' /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/transactions.rb:126:in `save' /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/connection_adapters/abstract/database_statements.rb:51:in `transaction' /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/transactions.rb:91:in `transaction' /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/transactions.rb:118:in `transaction' /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/transactions.rb:126:in `save' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/session/active_record_store.rb:300:in `update' /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/base.rb:831:in `silence' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/session/active_record_store.rb:300:in `update' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/session/active_record_store.rb:307:in `close' /usr/local/lib/ruby/1.8/cgi/session.rb:166:in `callback' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/code_generation.rb:69:in `dup' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/code_generation.rb:66:in `dup' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/code_generation.rb:46:in `method_missing' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/code_generation.rb:19:in `indent' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/code_generation.rb:46:in `method_missing' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/routing.rb:154:in `recognition_check' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/routing.rb:159:in `write_recognition' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/code_generation.rb:136:in `go' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/code_generation.rb:132:in `continue' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/routing.rb:80:in `write_recognition' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/code_generation.rb:99:in `move_forward' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/routing.rb:80:in `write_recognition' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/code_generation.rb:46:in `method_missing' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/code_generation.rb:19:in `indent' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/code_generation.rb:46:in `method_missing' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/code_generation.rb:92:in `if_next_matches' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/routing.rb:79:in `write_recognition' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/code_generation.rb:136:in `go' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/code_generation.rb:132:in `continue' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/routing.rb:80:in `write_recognition' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/code_generation.rb:99:in `move_forward' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/routing.rb:80:in `write_recognition' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/code_generation.rb:46:in `method_missing' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/code_generation.rb:19:in `indent' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/code_generation.rb:46:in `method_missing' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/code_generation.rb:92:in `if_next_matches' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/routing.rb:79:in `write_recognition' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/code_generation.rb:136:in `go' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/routing.rb:326:in `write_recognition' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/routing.rb:479:in `write_recognition' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/routing.rb:583:in `each' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/routing.rb:477:in `write_recognition' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/code_generation.rb:46:in `method_missing' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/code_generation.rb:19:in `indent' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/code_generation.rb:46:in `method_missing' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/routing.rb:476:in `write_recognition' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/routing.rb:578:in `draw' #{RAILS_ROOT}config/routes.rb:1 /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:207:in `load' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/routing.rb:555:in `reload' /usr/local/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/dispatcher.rb:69:in `prepare_application' /usr/local/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/dispatcher.rb:37:in `dispatch' /usr/local/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:117:in `handle_dispatch' /usr/local/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:83:in `service' /usr/local/lib/ruby/1.8/webrick/httpserver.rb:104:in `service' /usr/local/lib/ruby/1.8/webrick/httpserver.rb:65:in `run' /usr/local/lib/ruby/1.8/webrick/server.rb:173:in `start_thread' /usr/local/lib/ruby/1.8/webrick/server.rb:162:in `start_thread' /usr/local/lib/ruby/1.8/webrick/server.rb:95:in `start' /usr/local/lib/ruby/1.8/webrick/server.rb:92:in `start' /usr/local/lib/ruby/1.8/webrick/server.rb:23:in `start' /usr/local/lib/ruby/1.8/webrick/server.rb:82:in `start' /usr/local/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:69:in `dispatch' script/server:49 This error occured while loading the following files: ./script/../config/../config/routes.rb Request Parameters: None Show session dump flash: !map:ActionController::Flash::FlashHash {} Response Headers: {"cookie"=>[], "Cache-Control"=>"no-cache"} -- -- Stephen Bannasch, stephen at deanbrook dot org From tannoiser at tenzione.it Wed Jan 4 06:50:39 2006 From: tannoiser at tenzione.it (Maurizio Lemmo - Tannoiser) Date: Wed, 4 Jan 2006 12:50:39 +0100 Subject: [typo] comments with created_at field wrong? In-Reply-To: <0891F275-C8DD-4419-ACD5-9A65D26DF3A3@kekova.ca> References: <20060104003440.GA29168@tannoiser.sytes.net> <13853.202.49.97.7.1136335213.squirrel@israel.diaspora.gen.nz> <0891F275-C8DD-4419-ACD5-9A65D26DF3A3@kekova.ca> Message-ID: <20060104115038.GA19853@tannoiser.sytes.net> * marted? 03 gennaio 2006, alle 21:35, Chris Nolan.ca scrive: > You guys are both the other side of the GMT so I'm thinking it has > something to do with positive timezones but it's hard to say without > seeing some more data. > > If you leave two comments in a row, are they both off, and by the > same amount? > > What is your config.active_record.default_timezone set to in your > config/environment.rb if you're running rails 1.0? Hi Chris. First, i haven't config.active_record.default_timezone because I run an untouched version of typo 2.6.0. Anyway, a take a look around and made some test. For what I can say, this could be a time rappresentation issue. I've my pgsql db encoded in latin1 (I'm italian, i need this set for some char encoding). I notice that created_at (and updated_at, also...) is defined as "timestamp". AFAIK, timestamp format, in postgresql, don't bring the timezone information. I always use "timestamp with time zone" that do the job. Because postgres in debian is version 7.4.7, we don't have an easy way to change datatype. I've to rename old column, create new one, copy data, and drop the old. Before do this, i'd like an opinion of us. Make sense for you guys? If this is the trouble, i suggest to change the schema in this way. -- Maurizio - Tannoiser - Lemmo Founder Member of ERLUG http://erlug.linux.it ------------------------------------------------------------------------------- Olivia: "Rupert, is this bleu cheese, or is it just cheese that's gone blue?" --Buffy the Vampire Slayer: The Freshman From cedric at feelfree.homelinux.com Sat Jan 7 04:21:39 2006 From: cedric at feelfree.homelinux.com (cedric) Date: Sat, 7 Jan 2006 10:21:39 +0100 Subject: [typo] missing theme in 2.6.0 Message-ID: <200601071021.39665.cedric@feelfree.homelinux.com> Hi Stephen, Did you change anything in config/routes.rb ? From gab at gab.net Sat Jan 7 12:24:47 2006 From: gab at gab.net (Geir Arne Brevik) Date: Sat, 7 Jan 2006 18:24:47 +0100 Subject: [typo] Can't log in after (unsuccessful?) database migration Message-ID: <56accf730601070924y758272e4i92cee366fbd9364a@mail.gmail.com> Hi! Since Typo is a moving target, I decided yesterday to upgrade my installation at www.gab.net to the latest version from the SVN trunk. Since my hoster is Dreamhost, there were of course problems: * After I uploaded the new files, I went to /admin/ and got the message I hoped for; everything was OK, and my database supported migration. * I clicked "migrate database" (or whatever the button says) * I got Rails Error * I tried once again, and got the same error * When I've tried to log in ever since, I got "Login unsuccessful". Otherwise the installation works like a charm, I can for example add new comments * I've looked at my database tables, and they seem updated (compared to schema.mysql.sql), with the new user notification fields in the "user" table. My user info also seems unaltered, but no, I can't get to log in, not by web or MarsEdit. Has this anything to do with Dreamhost lagging behind with its shared Rails version? Should I install it myself instead? But most of all: How can I log in, so I can publish again? Just a little about where I come from: I'm using my installation of Typo to learn about RoR, so I may be overlooking obvious things. I'm not sure wich version I've upgraded from, but I think it was around 740. Thanks for all your work on Typo (I like it enough to go through all this)! :-) -Geir Arne -- Geir Arne Brevik gab at gab.net www.gab.net +47 91 75 64 30 From rasputnik at gmail.com Sat Jan 7 18:54:44 2006 From: rasputnik at gmail.com (Dick Davies) Date: Sat, 7 Jan 2006 23:54:44 +0000 Subject: [typo] Can't log in after (unsuccessful?) database migration In-Reply-To: <56accf730601070924y758272e4i92cee366fbd9364a@mail.gmail.com> References: <56accf730601070924y758272e4i92cee366fbd9364a@mail.gmail.com> Message-ID: <3f1760601071554t47d67081w@mail.gmail.com> try this: http://www.mail-archive.com/typo-list at rubyforge.org/msg01025.html On 07/01/06, Geir Arne Brevik wrote: > Hi! > > Since Typo is a moving target, I decided yesterday to upgrade my > installation at www.gab.net to the latest version from the SVN trunk. > Since my hoster is Dreamhost, there were of course problems: > > * After I uploaded the new files, I went to /admin/ and got the > message I hoped for; everything was OK, and my database supported > migration. > * I clicked "migrate database" (or whatever the button says) > * I got Rails Error > * I tried once again, and got the same error > * When I've tried to log in ever since, I got "Login unsuccessful". > Otherwise the installation works like a charm, I can for example add > new comments > * I've looked at my database tables, and they seem updated (compared > to schema.mysql.sql), with the new user notification fields in the > "user" table. My user info also seems unaltered, but no, I can't get > to log in, not by web or MarsEdit. > > Has this anything to do with Dreamhost lagging behind with its shared > Rails version? Should I install it myself instead? > But most of all: How can I log in, so I can publish again? > > Just a little about where I come from: I'm using my installation of > Typo to learn about RoR, so I may be overlooking obvious things. I'm > not sure wich version I've upgraded from, but I think it was around > 740. > > Thanks for all your work on Typo (I like it enough to go through all this)! :-) > > -Geir Arne > > -- > Geir Arne Brevik > gab at gab.net > www.gab.net > +47 91 75 64 30 > > _______________________________________________ > 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 smountcastle at gmail.com Sun Jan 8 00:22:02 2006 From: smountcastle at gmail.com (Sean Mountcastle) Date: Sun, 8 Jan 2006 05:22:02 +0000 (UTC) Subject: [typo] multiple blogs in typo ? References: <20051222122744.GA17163@lbl.pl> <939e27410601010644n1fcb282bm1c1c8e67321e533c@mail.gmail.com> Message-ID: > > Is there a possibility for a patch with all of this in it? > > Sure, though I'd like to get things working before releasing a patch. > Hopefully by the end of next weekend (1/8) I can get a patch together. > I'm not sure if the Typo team would be interested in such a patch, > but I'll put it out there for all of the folks looking to host multiple > blogs with a single Typo install. As promised, I've put a copy of a patch against Typo 821 (the most current version from the SVN trunk as of right now). This is still in a very rudimentary state and I'm sure there are a bunch of bugs (particular with the sidebars). I'm not sending this patch to the Typo maintainers because I haven't written any tests yet nor have I resolved known bugs -- but I've received several private emails from folks interested in this sort of functionality, so hopefully getting this patch out there will get folks more interested in contributing so that functionality makes it into Typo (if the core team is interested in supporting multiple blogs with a single install). Here's the link, the file is 12k. http://seanmountcastle.com/files/multiblog-typo.diff.zip I don't have a huge bandwidth quota, so if the demand for this file grows too large, I'll have to find another place to host it. Regards, Sean From scott at sigkill.org Sun Jan 8 00:31:00 2006 From: scott at sigkill.org (Scott Laird) Date: Sat, 7 Jan 2006 21:31:00 -0800 Subject: [typo] multiple blogs in typo ? In-Reply-To: References: <20051222122744.GA17163@lbl.pl> <939e27410601010644n1fcb282bm1c1c8e67321e533c@mail.gmail.com> Message-ID: On Jan 7, 2006, at 9:22 PM, Sean Mountcastle wrote: > >>> Is there a possibility for a patch with all of this in it? >> >> Sure, though I'd like to get things working before releasing a patch. >> Hopefully by the end of next weekend (1/8) I can get a patch >> together. >> I'm not sure if the Typo team would be interested in such a patch, >> but I'll put it out there for all of the folks looking to host >> multiple >> blogs with a single Typo install. > > As promised, I've put a copy of a patch against Typo 821 (the most > current version from the SVN trunk as of right now). This is still > in a > very rudimentary state and I'm sure there are a bunch of bugs > (particular with the sidebars). I'm not sending this patch to the > Typo > maintainers because I haven't written any tests yet nor have I > resolved > known bugs -- but I've received several private emails from folks > interested in this sort of functionality, so hopefully getting this > patch > out there will get folks more interested in contributing so that > functionality > makes it into Typo (if the core team is interested in supporting > multiple blogs with a single install). > > Here's the link, the file is 12k. > http://seanmountcastle.com/files/multiblog-typo.diff.zip > > I don't have a huge bandwidth quota, > so if the demand for this file grows too large, I'll have to find > another > place to host it. Feel free to submit this to the typo bug tracker, just prefix the bug subject with '[XPATCH]', and we'll understand that it's not ready to merge. Scott From brianellin at gmail.com Sun Jan 8 00:59:19 2006 From: brianellin at gmail.com (Brian Ellin) Date: Sat, 7 Jan 2006 21:59:19 -0800 Subject: [typo] OpenID authenticated comments Message-ID: <9674d5350601072159w16744eecra3b768cf24448aeb@mail.gmail.com> Typo developers, I'm starting a Typo powered blog, and being an OpenID developer I'd like to launch it with OpenID authenticated comments. This evening I hacked together primitive OpenID authentication within the existing comment framework. It works by authenticating the URL the commenter types in the "Your blog" field. After doing this I actually googled "typo openid" to find: http://scottstuff.net/blog/articles/2005/09/15/comments-for-typo http://typo.leetsoft.com/trac/ticket/469 There appears to be sufficient interest in having OpenID enabled comments distributed with typo, and I have a few questions for you developers about how it should all work. 1) UI and flow Before adding a comment, the user needs to be authenticated. This could be done in one or two steps. In the two step case, the user enters their OpenID url, is authenticated, and then may proceed to the add comment form. In the one step case, the OpenID field and the comment content are in the same form. On submission, the comment is stored somewhere (session?), and then the authentication is done on the URL. This requires a redirect to the commenter's OpenID server, and upon return and valid authentication the comment is added to the site. Which of these methods best fits into Typo? I personally like the two-step case, in which I can essentially be logged into the site and post other comments without typing my OpenID again. In the one step case, there needs to be a strategy for when the user is unable to authenticate. If the user cannot auth, the comment data is still stored in the session and will have to be GC'd. 2) Redirect & AJAX Comments in typo are AJAX'd by default. The OpenID protocol requires a browser redirect to send the commenter to auth w/ her server, and this does not fit well into the AJAX style of posting. On an AJAX redirect, a message shows up saying something like "You are being redirected", where the "redirected" word is actually a link the user has to click to go to the redirect. Obviously that makes for a weird user experience, and it'd be best if the user was just automatically redirected. Positive user experience would require non-AJAX comment posting for OpenID authenticated comments. 3) How does all this fit in with the existing comment system? Are the other fields necessary anymore? Email is important, but in the future OpenID world it will be less important. Name and blog URL are not explicitly necessary. Personally I'd like to see just an OpenID URL field and the comment box (which is probably how i'll set it up on my site). 4) Configuration options Should OpenID authentication be toggleable for comments? Etc... I'm really excited about adding OpenID authentication to Typo, and look forward to your thoughts on it all. Have a good weekend, Brian Ellin http://brian.myopenid.com http://openidenabled.com/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/typo-list/attachments/20060107/7e6f0a34/attachment.htm From patrick at lenz.sh Sun Jan 8 02:56:45 2006 From: patrick at lenz.sh (Patrick Lenz) Date: Sun, 8 Jan 2006 08:56:45 +0100 Subject: [typo] OpenID authenticated comments In-Reply-To: <9674d5350601072159w16744eecra3b768cf24448aeb@mail.gmail.com> References: <9674d5350601072159w16744eecra3b768cf24448aeb@mail.gmail.com> Message-ID: <40fe71380601072356p6a3b793dhaefbec16a58beb16@mail.gmail.com> Brian, a couple of remarks: It's great to see progress on authentication systems integration for typo. However, this should never replace simple and anonymous comments on any blog. It should be completely optional. It also shouldn't require us to get rid of AJAX comments. Although we've had many griefs with it in the past, it's still kind of a unique feature that sets us apart from the competition. We should still be able to make the redirects work through Javascript (similar to what Google does with its services right now where you sign in with your Google account, get a little read 'Loading..' in the upper right corner and are then redirected to the final, authenticated service page). Putting the Open ID token in the session will be a bit of work as with statically cached pages the session is not available up front. However, we could even resort to having it pre-filled in a form with an Ajax callback if you've commented before. Regards, Patrick On 1/8/06, Brian Ellin wrote: > Typo developers, > > I'm starting a Typo powered blog, and being an OpenID developer I'd like to > launch it with OpenID authenticated comments. This evening I hacked > together primitive OpenID authentication within the existing comment > framework. It works by authenticating the URL the commenter types in the > "Your blog" field. > > After doing this I actually googled "typo openid" to find: > http://scottstuff.net/blog/articles/2005/09/15/comments-for-typo > http://typo.leetsoft.com/trac/ticket/469 > > There appears to be sufficient interest in having OpenID enabled comments > distributed with typo, and I have a few questions for you developers about > how it should all work. > > 1) UI and flow > Before adding a comment, the user needs to be authenticated. This could be > done in one or two steps. In the two step case, the user enters their > OpenID url, is authenticated, and then may proceed to the add comment form. > In the one step case, the OpenID field and the comment content are in the > same form. On submission, the comment is stored somewhere (session?), and > then the authentication is done on the URL. This requires a redirect to the > commenter's OpenID server, and upon return and valid authentication the > comment is added to the site. > > Which of these methods best fits into Typo? I personally like the two-step > case, in which I can essentially be logged into the site and post other > comments without typing my OpenID again. In the one step case, there needs > to be a strategy for when the user is unable to authenticate. If the user > cannot auth, the comment data is still stored in the session and will have > to be GC'd. > > 2) Redirect & AJAX > Comments in typo are AJAX'd by default. The OpenID protocol requires a > browser redirect to send the commenter to auth w/ her server, and this does > not fit well into the AJAX style of posting. > On an AJAX redirect, a message shows up saying something like "You are > being redirected", where the "redirected" word is actually a link the user > has to click to go to the redirect. Obviously that makes for a weird user > experience, and it'd be best if the user was just automatically redirected. > > Positive user experience would require non-AJAX comment posting for OpenID > authenticated comments. > > 3) How does all this fit in with the existing comment system? > Are the other fields necessary anymore? Email is important, but in the > future OpenID world it will be less important. Name and blog URL are not > explicitly necessary. Personally I'd like to see just an OpenID URL field > and the comment box (which is probably how i'll set it up on my site). > > 4) Configuration options > Should OpenID authentication be toggleable for comments? Etc... > > I'm really excited about adding OpenID authentication to Typo, and look > forward to your thoughts on it all. > > Have a good weekend, > Brian Ellin > http://brian.myopenid.com > http://openidenabled.com/ > > > > > > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list > > > -- -- Patrick Lenz (scoop) http://poocs.net/ # Personal Weblog http://limited-overload.de/ # Web application development http://freshmeat.net/ # Free software archive http://topmedia.de/ # IT Storage Solutions http://eins.de/ # Community portal network From stephen at deanbrook.org Sun Jan 8 11:16:09 2006 From: stephen at deanbrook.org (Stephen Bannasch) Date: Sun, 8 Jan 2006 11:16:09 -0500 Subject: [typo] missing theme in 2.6.0 In-Reply-To: <200601071021.39665.cedric@feelfree.homelinux.com> References: <200601071021.39665.cedric@feelfree.homelinux.com> Message-ID: At 10:21 AM +0100 1/7/06, cedric wrote: >Hi Stephen, > >Did you change anything in config/routes.rb ? No I didn't. -- -- Stephen Bannasch, stephen at deanbrook dot org From trejkaz at trypticon.org Sun Jan 8 22:25:40 2006 From: trejkaz at trypticon.org (Trejkaz) Date: Mon, 9 Jan 2006 14:25:40 +1100 (EST) Subject: [typo] OpenID authenticated comments In-Reply-To: <9674d5350601072159w16744eecra3b768cf24448aeb@mail.gmail.com> References: <9674d5350601072159w16744eecra3b768cf24448aeb@mail.gmail.com> Message-ID: <2625.203.217.22.128.1136777140.squirrel@home.trypticon.org> > 4) Configuration options > Should OpenID authentication be toggleable for comments? Etc... I think so. I also think that it should be made possible to plug in other authentication systems, such as [Passel][1], if nice Ruby libraries become available in the future and browsers start implementing clients for it. I'm really excited about getting OpenID in Typo, though. It's a nice start to the open identity problem, even _if_ it only authenticates a user's home URL. We can always look at the linked FOAF on the user's URL to find their Jabber ID anyway, right? :-) TX [1]: http://www.passel.org/trac.cgi From gpsnospam at gmail.com Mon Jan 9 09:32:28 2006 From: gpsnospam at gmail.com (Gary Shewan) Date: Mon, 9 Jan 2006 14:32:28 +0000 Subject: [typo] How to find out what changes in each trunk release Message-ID: <95304DBC-475A-486F-A05B-0FBA352BF2C9@gmail.com> I should really make a note from the admin UI what has changed when I do a trunk jump, but (saving me a grep) is it stored in one of the files in /migrate so I can check what's updated at any time? Cheers Gary ------ gpshewan.com From scott at sigkill.org Mon Jan 9 10:29:58 2006 From: scott at sigkill.org (Scott Laird) Date: Mon, 9 Jan 2006 07:29:58 -0800 Subject: [typo] How to find out what changes in each trunk release In-Reply-To: <95304DBC-475A-486F-A05B-0FBA352BF2C9@gmail.com> References: <95304DBC-475A-486F-A05B-0FBA352BF2C9@gmail.com> Message-ID: <74CB109F-0503-4C24-ACC6-F97F4C0C9563@sigkill.org> On Jan 9, 2006, at 6:32 AM, Gary Shewan wrote: > I should really make a note from the admin UI what has changed when I > do a trunk jump, but (saving me a grep) is it stored in one of the > files in /migrate so I can check what's updated at any time? The files in dm/migrate describe the database changes made, but that's probably not what you're looking for. The best source for this information are the change messages attached to each commit. Look at the timeline on the Trac site for a web-based overview, or use 'svn log'. Scott From nikanorov at gmail.com Mon Jan 9 10:37:38 2006 From: nikanorov at gmail.com (Andrey Nikanorov) Date: Mon, 9 Jan 2006 18:37:38 +0300 Subject: [typo] How to find out what changes in each trunk release In-Reply-To: <95304DBC-475A-486F-A05B-0FBA352BF2C9@gmail.com> References: <95304DBC-475A-486F-A05B-0FBA352BF2C9@gmail.com> Message-ID: http://typo.leetsoft.com/trac/log/ On 1/9/06, Gary Shewan wrote: > I should really make a note from the admin UI what has changed when I > do a trunk jump, but (saving me a grep) is it stored in one of the > files in /migrate so I can check what's updated at any time? > > Cheers > > Gary > ------ > gpshewan.com > > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list > -- Nikanorov Andrey http://blogru.nikanorov.com This email is: [ ] blogable [ x ] ask first [ ] private From gpsnospam at gmail.com Mon Jan 9 10:44:11 2006 From: gpsnospam at gmail.com (Gary Shewan) Date: Mon, 9 Jan 2006 15:44:11 +0000 Subject: [typo] How to find out what changes in each trunk release In-Reply-To: <74CB109F-0503-4C24-ACC6-F97F4C0C9563@sigkill.org> References: <95304DBC-475A-486F-A05B-0FBA352BF2C9@gmail.com> <74CB109F-0503-4C24-ACC6-F97F4C0C9563@sigkill.org> Message-ID: Actually, if I think about it, taking a look at the files in db/ migrate I can pick out the major changes that have taken place if I wanted to list the enhancements. I pull the recent change feed from Trac and that's the same info as looking at svn log. Just that the changes are presented well in the admin migration UI and wondered if there was an easy way to recreate that after migration. Jumped from r762 to r822 so there were a lot of changes included :) On 9 Jan 2006, at 15:29, Scott Laird wrote: > > On Jan 9, 2006, at 6:32 AM, Gary Shewan wrote: > >> I should really make a note from the admin UI what has changed when I >> do a trunk jump, but (saving me a grep) is it stored in one of the >> files in /migrate so I can check what's updated at any time? > > The files in dm/migrate describe the database changes made, but > that's probably not what you're looking for. The best source for > this information are the change messages attached to each commit. > Look at the timeline on the Trac site for a web-based overview, or > use 'svn log'. > > > Scott > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list From brianellin at gmail.com Mon Jan 9 16:45:13 2006 From: brianellin at gmail.com (Brian Ellin) Date: Mon, 9 Jan 2006 13:45:13 -0800 Subject: [typo] OpenID authenticated comments In-Reply-To: <40fe71380601072356p6a3b793dhaefbec16a58beb16@mail.gmail.com> References: <9674d5350601072159w16744eecra3b768cf24448aeb@mail.gmail.com> <40fe71380601072356p6a3b793dhaefbec16a58beb16@mail.gmail.com> Message-ID: <9674d5350601091345y5f97dbddmd0b05e3803d2d729@mail.gmail.com> Patrick, On 1/7/06, Patrick Lenz wrote: > > Brian, > > a couple of remarks: > > It's great to see progress on authentication systems integration for > typo. However, this should never replace simple and anonymous comments > on any blog. It should be completely optional. I agree with you. Authenticated comments should be optional, and should exist alongside simple anonymous comments. It should be up to the blog owner to decide which commenting systems they'd like to use, potentially a mix where those with OpenID may auth, and others may leave anonymous comments. > It also shouldn't require us to get rid of AJAX comments. Although > we've had many griefs with it in the past, it's still kind of a unique > feature that sets us apart from the competition. We should still be > able to make the redirects work through Javascript (similar to what > Google does with its services right now where you sign in with your > Google account, get a little read 'Loading..' in the upper right > corner and are then redirected to the final, authenticated service > page). Agreed. I don't want to get rid of AJAX comment system (it is cool!), but just need to be able to intercept the redirect response and use Javascript to redirect the browser. Putting the Open ID token in the session will be a bit of work as with > statically cached pages the session is not available up front. > However, we could even resort to having it pre-filled in a form with > an Ajax callback if you've commented before. I'll have to read more about this. Are there any docs on how/when typo does static content? Thanks, Brian Ellin -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/typo-list/attachments/20060109/1e418401/attachment.htm From trejkaz at trypticon.org Mon Jan 9 18:41:26 2006 From: trejkaz at trypticon.org (Trejkaz) Date: Tue, 10 Jan 2006 10:41:26 +1100 (EST) Subject: [typo] Jabber notification: possible fix for my issue Message-ID: <1499.203.217.22.128.1136850086.squirrel@home.trypticon.org> Aha. Okay, I have some progress: trejkaz at morden> script/console Loading development environment. >> Jabber::JID.new("typo at trypticon.org/typo") => # >> me = User.find_all[0] => [snip] >> JabberNotify.send_message(me, "test", "Test body", "") ** Sending Test body to trejkaz at trypticon.org via jabber. => nil >> Jabber::JID.new("typo at trypticon.org/typo") => # >> ^D The code inside Jabber4R's Jabber::Session is expecting to call "jid.host", and looking at this console log it might be a bit mystifying because it looks like the wrong class is being created the second time. And that's exactly what's happening. :-) Typo includes Jabber4R, which has JID#host. In my main Ruby libraries I have installed XMPP4R (slightly newer), which has JID#domain. So at some point, Rails is using voodoo to auto-require XMPP4R even though Jabber::JID is already loaded from Jabber4R. Is there any easy way to bypass this sort of thing that doesn't involve me uninstalling XMPP4R? I suppose I could always modify Typo to use the newer library and then submit the diff... TX From patrick at lenz.sh Tue Jan 10 02:31:51 2006 From: patrick at lenz.sh (Patrick Lenz) Date: Tue, 10 Jan 2006 08:31:51 +0100 Subject: [typo] OpenID authenticated comments In-Reply-To: <9674d5350601091345y5f97dbddmd0b05e3803d2d729@mail.gmail.com> References: <9674d5350601072159w16744eecra3b768cf24448aeb@mail.gmail.com> <40fe71380601072356p6a3b793dhaefbec16a58beb16@mail.gmail.com> <9674d5350601091345y5f97dbddmd0b05e3803d2d729@mail.gmail.com> Message-ID: <95EEFF93-6784-4852-A715-61A201BEA778@lenz.sh> Brian, > I'll have to read more about this. Are there any docs on how/when > typo does static content? Actually, everything in the public space is preferably cached to disk. The only exception being paginated pages where only the first is being cached because of Rails' limitations regarding the cache file naming in Page Caching mode. -- Patrick Lenz (scoop) http://poocs.net/ # Personal Weblog http://limited-overload.de/ # Web application development http://freshmeat.net/ # Free software archive http://topmedia.de/ # IT Storage Solutions http://eins.de/ # Community portal network From peter.j.donald at gmail.com Tue Jan 10 06:13:01 2006 From: peter.j.donald at gmail.com (Peter Donald) Date: Tue, 10 Jan 2006 22:13:01 +1100 Subject: [typo] Boolean change for Postgres Message-ID: <125c0c0d0601100313w187fdecfw851a451b746e22e8@mail.gmail.com> Hi, There is a minor modification required for non-mysql databases. components/plugins/sidebars/archives_controller.rb @@ -14,7 +14,7 @@ def content @archives = Hash.new - Article.find(:all, :conditions => 'published != 0', :order => 'created_at DESC').each do |a| + Article.find(:all, :conditions => ['published != ?', false], :order => 'created_at DESC').each do |a| index = a.created_at.strftime("%Y-%m").to_sym if @archives[index].nil? -- Cheers, Peter Donald From luzyde at gmail.com Wed Jan 11 05:50:22 2006 From: luzyde at gmail.com (Jose Molins) Date: Wed, 11 Jan 2006 11:50:22 +0100 Subject: [typo] Browsing the blog Message-ID: <13471fba0601110250r6928fdfak1771517df4043422@mail.gmail.com> Hi, I am using the Typo installation that is bundled with InstantRails. Everything is working fine. I am able to log into the admin part of Typo, adding articles, etc. My problem is when I want to browse the blog as a normal internet user from the same machine. I am always redirected to the admininstration of Typo. I have tried http://typo/articles since the articles controller exists and has an index method, but I am also routed to the admin. Is there a way to browse the blog content? Regards Jose -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/typo-list/attachments/20060111/f1de2029/attachment-0001.htm From arvind at grovernetwork.com Wed Jan 11 08:50:40 2006 From: arvind at grovernetwork.com (arvind s grover) Date: Wed, 11 Jan 2006 08:50:40 -0500 Subject: [typo] trackbacks not working Message-ID: <43C50D30.6090404@grovernetwork.com> Trackbacks are not working on my site: http://www.21apples.org I am not sure how to go about debugging this problem. I added trackback pings from other weblogs that I have, and articles still show up with 0 trackbacks. How can I troubleshoot this? From luzyde at gmail.com Wed Jan 11 09:24:14 2006 From: luzyde at gmail.com (Jose Molins) Date: Wed, 11 Jan 2006 15:24:14 +0100 Subject: [typo] Browsing the blog In-Reply-To: <13471fba0601110250r6928fdfak1771517df4043422@mail.gmail.com> References: <13471fba0601110250r6928fdfak1771517df4043422@mail.gmail.com> Message-ID: <13471fba0601110624t3a24aea3m3e4cf8543af00d59@mail.gmail.com> It is fixed now. I kept having the login screen. But after saving the settings of the blog i did not receive the login screen any more. Regards Jose On 1/11/06, Jose Molins wrote: > > Hi, > I am using the Typo installation that is bundled with InstantRails. > Everything is working fine. I am able to log into the admin part of Typo, > adding articles, etc. > My problem is when I want to browse the blog as a normal internet user > from the same machine. I am always redirected to the admininstration of > Typo. > I have tried http://typo/articles since the articles controller exists > and has an index method, but I am also routed to the admin. > Is there a way to browse the blog content? > Regards > Jose > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/typo-list/attachments/20060111/b6c52b7c/attachment.htm From leon at barrettnexus.com Thu Jan 12 01:09:41 2006 From: leon at barrettnexus.com (Leon Barrett) Date: Wed, 11 Jan 2006 22:09:41 -0800 Subject: [typo] Post "created_at" time is wrong Message-ID: <1137046181.29120.8.camel@caesar> When I create new articles in Typo, the created_at time is the time when the fastcgi process was started, rather than the time when the post was created. The updated_at time is correct, however. Can someone help me fix this? I know I can set the created_at time in the article-creation page, but I'm managing this weblog for someone else, and I'd like it to be as easy as possible. I looked at the database (postgresql 7.4), and this does not seem to be a database problem. When I create a new article using the database directly, using the default created_at value (now()), then the created_at time is correct. Furthermore, then the seconds and microseconds values are set to the current time; however, the created_at date set when I post an article has the seconds and microseconds set to 0. I am using Typo 2.6.0 and Ruby 1.8.2. Below, I enclose the output of 'gem list', which shows all the gems I have installed. I think all the libraries Typo depends on are up to date. Thank you very much. *** LOCAL GEMS *** actionmailer (1.1.5, 1.1.1, 0.6.1) Service layer for easy email delivery and testing. actionpack (1.11.2, 1.10.1, 1.3.1) Web-flow and rendering framework putting the VC in MVC. actionwebservice (1.0.0, 0.9.1) Web service support for Action Pack. activerecord (1.13.2, 1.12.1, 1.5.1) Implements the ActiveRecord pattern for ORM. activesupport (1.2.5, 1.2.1) Support and utility classes used by the Rails framework. acts_as_taggable (1.0.4) An acts-as Mixin for easy applying and searching tags/folksnomies on Active Record objects BlueCloth (1.0.0) BlueCloth is a Ruby implementation of Markdown, a text-to-HTML conversion tool for web writers. Markdown allows you to write using an easy-to-read, easy-to-write plain text format, then convert it to structurally valid XHTML (or HTML). cmdparse (2.0.0) Advanced command line parser supporting commands daemons (0.4.2) A toolkit to create and control daemons in different ways facets (2005.10.30) The proverbial Zoo-of-More for Ruby fcgi (0.8.6.1) FastCGI ruby binding. gen (0.26.0, 0.25.0) A simple code generation system. glue (0.26.0, 0.25.0) Utility methods and classes for Nitro. iterator (0.8) bidirectional external iterators jabber4r (0.8.0, 0.7.0) Jabber4r is a pure-Ruby Jabber client library needle (1.3.0, 1.2.1) Needle is a Dependency Injection/Inversion of Control container for Ruby. It supports both type-2 (setter) and type-3 (constructor) injection. It takes advantage of the dynamic nature of Ruby to provide a rich and flexible approach to injecting dependencies. net-sftp (1.1.0, 1.0.1) Net::SFTP is a pure-Ruby implementation of the SFTP client protocol. net-ssh (1.0.5, 1.0.3) Net::SSH is a pure-Ruby implementation of the SSH2 client protocol. nitro (0.26.0, 0.25.0) Everything you need to create Web 2.0 applications with Ruby and Javascript og (0.26.0, 0.25.0) State of the art object-relational mapping system. Platform (0.4.0) Hopefully robust platform sensing postgres (0.7.1) The extension library to access a PostgreSQL database from Ruby. rails (1.0.0, 0.14.1, 0.9.4.1) Web-application framework with template engine, control-flow layer, and ORM. rake (0.6.2, 0.4.15) Ruby based make-like utility. RedCloth (3.0.4, 3.0.3) RedCloth is a module for using Textile and Markdown in Ruby. Textile and Markdown are text formats. A very simple text format. Another stab at making readable text that can be converted to HTML. RGnuchess (0.1.0) An interface for working with gnuchess, providing some basic chess tools. rrename (0.3.0, 0.2.0) A GNOME2 based tool for interactively renameing files with regular expressions. ruby-breakpoint (0.5.0) ruby-breakpoint lets you inspect and modify state at run time. sources (0.0.1) This package provides download sources for remote gem installation term-ansicolor (1.0.2, 1.0.1) Ruby library that colors strings using ANSI escape sequences -- Leon Barrett http://icsi.berkeley.edu/~barrett/ barrett at icsi.berkeley.edu 510-665-5428 1932 Hearst Ave. Apt. F Berkeley, CA 94709 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part Url : http://rubyforge.org/pipermail/typo-list/attachments/20060111/7f173718/attachment.bin From rasputnik at gmail.com Thu Jan 12 05:04:47 2006 From: rasputnik at gmail.com (Dick Davies) Date: Thu, 12 Jan 2006 10:04:47 +0000 Subject: [typo] Post "created_at" time is wrong In-Reply-To: <1137046181.29120.8.camel@caesar> References: <1137046181.29120.8.camel@caesar> Message-ID: <3f1760601120204n2cd7065fh@mail.gmail.com> On 12/01/06, Leon Barrett wrote: > When I create new articles in Typo, the created_at time is the time when > the fastcgi process was started, rather than the time when the post was > created. The updated_at time is correct, however. Can someone help me > fix this? I know I can set the created_at time in the article-creation > page, but I'm managing this weblog for someone else, and I'd like it to > be as easy as possible. > I am using Typo 2.6.0 and Ruby 1.8.2. I get the same thing with 2.6.0 on Textdrive (who run ruby 1.8.2 and pg 8 i think) -- Rasputin :: Jack of All Trades - Master of Nuns http://number9.hellooperator.net/ From chris at seagul.co.uk Thu Jan 12 07:53:49 2006 From: chris at seagul.co.uk (Chris Roos) Date: Thu, 12 Jan 2006 12:53:49 +0000 Subject: [typo] pings (xml rpc), trackbacks and patch 526 Message-ID: <43C6515D.5050007@seagul.co.uk> I've recently become interested in pinging aggregators (technorati et al) when content is updated. I'm aware of the 'auto-ping' section in the admin interface and always assumed that this was happily pinging the aggregators as new articles were added... However, as the original post in patch 526[1] states, this is not the case. Basically, the method used (Ping#ping) is sending trackbacks not pings. As per the last comment added to that ticket, I don't think the patch is correct as it actually replaces the trackback functionality rather than add's ping to it. I'm planning to take a look this weekend at something more fully fleshed but would appreciate any comments (on this mail or comments on the ticket), especially if I'm not making any sense (not unlikely).. Cheers, Chris [1] http://typo.leetsoft.com/trac/ticket/526 From scott at sigkill.org Thu Jan 12 09:11:09 2006 From: scott at sigkill.org (Scott Laird) Date: Thu, 12 Jan 2006 06:11:09 -0800 Subject: [typo] pings (xml rpc), trackbacks and patch 526 In-Reply-To: <43C6515D.5050007@seagul.co.uk> References: <43C6515D.5050007@seagul.co.uk> Message-ID: <4706D8D8-276B-4052-80FF-4C8FF68FEF88@sigkill.org> On Jan 12, 2006, at 4:53 AM, Chris Roos wrote: > I've recently become interested in pinging aggregators (technorati et > al) when content is updated. > > I'm aware of the 'auto-ping' section in the admin interface and always > assumed that this was happily pinging the aggregators as new articles > were added... > > However, as the original post in patch 526[1] states, this is not > the case. > > Basically, the method used (Ping#ping) is sending trackbacks not > pings. > > As per the last comment added to that ticket, I don't think the > patch is > correct as it actually replaces the trackback functionality rather > than > add's ping to it. > > I'm planning to take a look this weekend at something more fully > fleshed > but would appreciate any comments (on this mail or comments on the > ticket), especially if I'm not making any sense (not unlikely).. That be great. Typo's current trackback support is almost but not quite completely broken; it'd be great to have a working implementation. Scott From victor-typo at carotena.net Thu Jan 12 15:32:14 2006 From: victor-typo at carotena.net (Victor Jalencas) Date: Thu, 12 Jan 2006 21:32:14 +0100 Subject: [typo] SVK Howto? Message-ID: <43C6BCCE.4060809@carotena.net> Hi, Can anyone post some quick instructions on how to use SVK mirroring capability so that I am able to have a mirror of the typo SVN tree locally, so that I can commit my changes to the mirror, and can also update the mirror from the 'official' SVN repo and prepare patches with my changes that can be correctly applied? I've tried to grok the SVK docs but the naming conventions changes are driving me mad. TIA Victor From scott at sigkill.org Thu Jan 12 15:44:03 2006 From: scott at sigkill.org (Scott Laird) Date: Thu, 12 Jan 2006 12:44:03 -0800 Subject: [typo] SVK Howto? In-Reply-To: <43C6BCCE.4060809@carotena.net> References: <43C6BCCE.4060809@carotena.net> Message-ID: <0F6E916F-9089-4B19-BEB5-22A531A25C89@sigkill.org> I wrote http://scottstuff.net/blog/articles/2005/07/07/distributed- development-with-svk; in general Google returns quite a few results for "typo svk". Scott On Jan 12, 2006, at 12:32 PM, Victor Jalencas wrote: > Hi, > > Can anyone post some quick instructions on how to use SVK mirroring > capability so that I am able to have a mirror of the typo SVN tree > locally, so that I can commit my changes to the mirror, and can also > update the mirror from the 'official' SVN repo and prepare patches > with > my changes that can be correctly applied? > > I've tried to grok the SVK docs but the naming conventions > changes are > driving me mad. > > TIA > > Victor > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list From pdcawley at bofh.org.uk Thu Jan 12 18:04:59 2006 From: pdcawley at bofh.org.uk (Piers Cawley) Date: Thu, 12 Jan 2006 23:04:59 +0000 Subject: [typo] Tomorrow shall be my typo day Message-ID: Right, I've got a day's Typo hacking lined up for tomorrow. My plan, such as it is, is to sort out cache tracking -- an afternoon spike I did a week or so ago looks promising so I hope that a day's work should lead to something well tested that should continue to work if we switch to fragment caching. I've also been thinking about 'deferred' sidebars using object tags rather than AJAX to fetch sidebar content that changes at a different rate to the main page, but that's probably for the future. Pipe up if you reckon there's something more pressing I should be working on. (I intend to go through the outstanding patch list as well -- I doubt I'll be applying much, but I hope to be able to provide some feedback) -- Piers Cawley http://www.bofh.org.uk/ From scott at sigkill.org Thu Jan 12 19:29:07 2006 From: scott at sigkill.org (Scott Laird) Date: Thu, 12 Jan 2006 16:29:07 -0800 Subject: [typo] Tomorrow shall be my typo day In-Reply-To: References: Message-ID: <83DDD144-DD5C-4783-97FB-D1630BF8E8DF@sigkill.org> Cache tracking sounds great. I'd *love* to have a better sweeper. I really need to dust off my time-limited fragment cache code and check it in; that would solve a lot of sidebar-related problems without doing anything really invasive. Each request would set an expiration time, the cache would behave like expired cache entries don't exist, forcing a rebuild of the page. I doubt that's more then a few hours' work, I'll try to finish it up and check it in sometime within the next week or so. Scott On Jan 12, 2006, at 3:04 PM, Piers Cawley wrote: > Right, I've got a day's Typo hacking lined up for tomorrow. My plan, > such as it is, is to sort out cache tracking -- an afternoon spike I > did a week or so ago looks promising so I hope that a day's work > should lead to something well tested that should continue to work if > we switch to fragment caching. > > I've also been thinking about 'deferred' sidebars using object tags > rather than AJAX to fetch sidebar content that changes at a different > rate to the main page, but that's probably for the future. > > Pipe up if you reckon there's something more pressing I should be > working on. (I intend to go through the outstanding patch list as well > -- I doubt I'll be applying much, but I hope to be able to provide > some feedback) > > -- > Piers Cawley > http://www.bofh.org.uk/ > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list From bart.braem at gmail.com Fri Jan 13 02:48:58 2006 From: bart.braem at gmail.com (Bart Braem) Date: Fri, 13 Jan 2006 08:48:58 +0100 Subject: [typo] After server reboot no pages generated any more Message-ID: Hello, We had to reboot our server, which runs two typo blogs, and the blogs don't work any more. The admin part gives a 404, as does every dynamically generated page. Any ideas on how this can be resolved? Thanks for a great blog and sorry for all the help requests, Bart -- "May the source be with you" From eliot at landrum.cx Fri Jan 13 10:22:29 2006 From: eliot at landrum.cx (Eliot Landrum) Date: Fri, 13 Jan 2006 09:22:29 -0600 Subject: [typo] After server reboot no pages generated any more In-Reply-To: References: Message-ID: Are you running lighttpd? Don't forget to restart it... On 1/13/06, Bart Braem wrote: > > Hello, > > We had to reboot our server, which runs two typo blogs, and the blogs > don't work any more. The admin part gives a 404, as does every > dynamically generated page. Any ideas on how this can be resolved? > > Thanks for a great blog and sorry for all the help requests, > Bart > -- > "May the source be with you" > > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list > -- Eliot Landrum eliot at landrum.cx http://eegah.us -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/typo-list/attachments/20060113/1927d3f6/attachment.htm From bart.braem at gmail.com Fri Jan 13 10:34:44 2006 From: bart.braem at gmail.com (Bart Braem) Date: Fri, 13 Jan 2006 16:34:44 +0100 Subject: [typo] After server reboot no pages generated any more In-Reply-To: References: Message-ID: I have found some errors in fastcgi.crash.log: Dispatcher failed to catch: (Interrupt) /usr/lib/ruby/gems/1.8/gems/fcgi-0.8.6.1/./fcgi.rb:597:in `each' /usr/lib/ruby/gems/1.8/gems/fcgi-0.8.6.1/./fcgi.rb:597:in `each_cgi' /usr/lib/ruby/gems/1.8/gems/rails-0.14.3/lib/fcgi_handler.rb:52:in `process!' /usr/lib/ruby/gems/1.8/gems/rails-0.14.3/lib/fcgi_handler.rb:22:in `process!' public/dispatch.fcgi:24 killed by this error [13/Jan/2006:16:27:40 :: 12416] asked to terminate immediately [13/Jan/2006:16:27:46 :: 14501] starting I have found absolutely no solutions to this problem so far. Any suggestions? Thanks for your help Bart On 1/13/06, Eliot Landrum wrote: > Are you running lighttpd? Don't forget to restart it... > > > On 1/13/06, Bart Braem wrote: > > > > Hello, > > > > We had to reboot our server, which runs two typo blogs, and the blogs > > don't work any more. The admin part gives a 404, as does every > > dynamically generated page. Any ideas on how this can be resolved? > > > > Thanks for a great blog and sorry for all the help requests, > > Bart > > -- > > "May the source be with you" > > > > _______________________________________________ > > Typo-list mailing list > > Typo-list at rubyforge.org > > http://rubyforge.org/mailman/listinfo/typo-list > > > > > > -- > Eliot Landrum > eliot at landrum.cx > http://eegah.us > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list > > -- "May the source be with you" From chris at codeintensity.com Fri Jan 13 15:49:52 2006 From: chris at codeintensity.com (Chris Bailey) Date: Fri, 13 Jan 2006 12:49:52 -0800 Subject: [typo] Ecto not working for me - can't post, need help In-Reply-To: <3c7afabe0512310826t6f4ae7dcoaade9db994f5f64c@mail.gmail.com> References: <3c7afabe0512302057t5fb8e9dh8d3e7907fd0c8d3b@mail.gmail.com> <3c7afabe0512302108j1b066545ub005ab1aa90360ee@mail.gmail.com> <32390EE4-EB86-45C8-9C7E-DE00AEBB6B16@sigkill.org> <3c7afabe0512310826t6f4ae7dcoaade9db994f5f64c@mail.gmail.com> Message-ID: <3c7afabe0601131249p1b37952fgbd6aee40face6c6d@mail.gmail.com> Ok, I finally fixed this, and it *may* point out a bug, or what I'd really say, a need for an additional safeguard. The problem I'd had, as seen below, is that my migrate hadn't gone well, and I was left with various articles having null guid values. Scott suggested iterating them and re-saving as seen below. But, that didn't work. However, I only needed to slightly modify that. Looking at the code pointed out how to do this :) So, I simply did this: Article.find(:all).each do |a| if a.guid.blank? a.guid = UUID.random_create.to_s a.save end end What I saw in the code was that the guid is generated only when the entry is created (via :before_create). So, it seems like it might be useful to have a similar check as above, for saving/update, to ensure the guid isn't empty. Theoretically that shouldn't happen, but might not be a bad safeguard. On 12/31/05, Chris Bailey wrote: > On 12/31/05, Scott Laird wrote: > > > > On Dec 30, 2005, at 9:08 PM, Chris Bailey wrote: > > > > > My apologies for the premature send. I now/also tried posting from > > > the web admin interface of typo, and got an error: > > > > > > 1 error prohibited this article from being saved > > > There were problems with the following fields: > > > Guid has already been taken > > > > > > I have recently done some big upgrades/migrates (was on 47x now on > > > 801), and had some trouble along the way. I thought everything was > > > fixed up, but obviously not. I see that this has been brought up > > > somewhat recently (Nov 30) on the list > > > (http://www.mail-archive.com/typo-list at rubyforge.org/msg01069.html), > > > but there was no reply. Tom or anyone, was there a resolution? > > > > Try this from ./script/console: > > > > Article.find(:all).each do |a| > > a.save if a.guid.blank? > > end > > > > That didn't fix it (it did seem to echo each entry out to the console > though). I checked the DB and the guid column for for the content > table has most entries still null. > > Also, I have a completely empty articles table, is that right? > -- Chris Bailey chris.bailey at gmail.com From chris at seagul.co.uk Sat Jan 14 05:43:13 2006 From: chris at seagul.co.uk (Chris Roos) Date: Sat, 14 Jan 2006 10:43:13 +0000 Subject: [typo] trackbacks not working Message-ID: <43C8D5C1.6020905@seagul.co.uk> To continue this[1] online. Which weblog software are you using to send (the non appearing) trackbacks to 21apples? Can you confirm that you are sending the trackbacks to the /trackback/:article_id url on 21apples? Chris [1] http://typo.leetsoft.com/trac/ticket/650 From chris at seagul.co.uk Sat Jan 14 05:43:49 2006 From: chris at seagul.co.uk (Chris Roos) Date: Sat, 14 Jan 2006 10:43:49 +0000 Subject: [typo] pings (xml rpc), trackbacks and patch 526 In-Reply-To: <4706D8D8-276B-4052-80FF-4C8FF68FEF88@sigkill.org> References: <43C6515D.5050007@seagul.co.uk> <4706D8D8-276B-4052-80FF-4C8FF68FEF88@sigkill.org> Message-ID: <43C8D5E5.4010106@seagul.co.uk> Scott Laird wrote: > On Jan 12, 2006, at 4:53 AM, Chris Roos wrote: > >> I've recently become interested in pinging aggregators (technorati et >> al) when content is updated. >> >> I'm aware of the 'auto-ping' section in the admin interface and always >> assumed that this was happily pinging the aggregators as new articles >> were added... >> >> However, as the original post in patch 526[1] states, this is not >> the case. >> >> Basically, the method used (Ping#ping) is sending trackbacks not >> pings. >> >> As per the last comment added to that ticket, I don't think the >> patch is >> correct as it actually replaces the trackback functionality rather >> than >> add's ping to it. >> >> I'm planning to take a look this weekend at something more fully >> fleshed >> but would appreciate any comments (on this mail or comments on the >> ticket), especially if I'm not making any sense (not unlikely).. > > That be great. Typo's current trackback support is almost but not > quite completely broken; it'd be great to have a working implementation. > I took some time looking at typo yesterday to see what we already had and what needed to be done. I think this list describes where we're at. * We can consume trackbacks correctly, when they are sent to the correct url (/trackback/:article_id). However, it would appear they are not displayed correctly - using only the path part of the url means that the links are actually to the site that was send the trackback rather than the site that sent the trackback. * We can send trackbacks correctly, to an address that accepts trackbacks in the correct format[1]. * We don't support sending pings (xmlrpc weblogUpdates.ping[2]) to blog aggregators to notify them that content has been updated. * Although we try to send trackbacks to url's linked to in articles (providing the relevant setting is checked) we don't make any attempt to check that the url's accept trackbacks, most of which will not as they are locations of articles not the location of the trackback for that article. I'd suggest that we need to do the following in order to get this sorted. * Make the distinction between sending a trackback from an article to another and pinging an aggregator to notify them that content has updated. Although they can potentially use the same implementation (lots of articles on the web still mention using trackbacks to notify aggregators, where most of the aggregators seem to expect weblogsUpdates.ping), I think it's important to make the distinction in our understanding. * Properly support sending pings to aggregators. ** This should be separated in the admin interface from the trackbacks, and provide the ability to list url's that accept pings (much as the default 'automatically ping these..' list provides now. * Remove the functionality that automatically pings urls linked to in articles (I feel that this is pretty irrelevant in the majority of cases). * Add the ability to enter a list of trackback url's on article creation. The actual trackback locations can then be entered for any links you may have made in the article. * Add the ability to auto-discover trackbacks in articles that are linked to in an article (idea from [3]). I think this kinda gives us everything that the current typo pertains to support. In my reading yesterday I came across the term pingback. I still don't 100% understand what this is so if anyone can enlighten and suggest why we might [not] need to support this that'd be great. Any advances or shall I start implementing these changes (hopefully at some point this weekend)? Chris [1] http://www.sixapart.com/pronet/docs/trackback_spec [2] http://www.xmlrpc.com/weblogscom [3] http://typo.leetsoft.com/trac/wiki/TypoWishlist From pdcawley at bofh.org.uk Sat Jan 14 08:20:29 2006 From: pdcawley at bofh.org.uk (Piers Cawley) Date: Sat, 14 Jan 2006 13:20:29 +0000 Subject: [typo] Changeset 828 Message-ID: Kevin just added a changeset that is claimed to fix 'test_comment_xss1', but which actually breaks it on my server. Kevin, do you have a gem installation of redcloth by any chance? If so, which version. -- Piers Cawley http://www.bofh.org.uk/ From pdcawley at bofh.org.uk Sat Jan 14 08:34:52 2006 From: pdcawley at bofh.org.uk (Piers Cawley) Date: Sat, 14 Jan 2006 13:34:52 +0000 Subject: [typo] Changeset 830, abstemious cache sweeping Message-ID: In case anyone's wondering what the new BlogSweeper#expire_siblings_of method is supposed to be doing, be aware that, right now, it's a stub. The idea is that, when an article is created or deleted, all the paginated sets in which the article could appear need to be flushed. Right now, the flushing logic is slightly broken; when you modify an article and change either its tags or its categories, a safe strategy is to sweep the entire cache, but we aren't quite doing that. However, if I don't finish typing this and step away from the keyboard for at least the next few hours, my life will not be worth living, so feel free to fix things :) -- Piers Cawley http://www.bofh.org.uk/ From kevin at sb.org Sun Jan 15 19:50:54 2006 From: kevin at sb.org (Kevin Ballard) Date: Sun, 15 Jan 2006 16:50:54 -0800 Subject: [typo] Changes to Textfilters and Theme layouts Message-ID: <4C2FDFFF-34D3-4279-A76A-C865BC713299@sb.org> Anybody who wrote their own textfilter or their own theme should probably read the changeset commit message for . The reason being I added an extra argument to Textfilter calls and a new helper method that all themes should use in their tag. If you're a theme writer all you probably need to do is look at the azure diff, , and if you're a Textfilter writer looking at any of the textfilter diffs like is enough to make your custom Textfilter work, but if you're interested in the new capabilities you should read the whole message and look at the new Lightbox controller . -- Kevin Ballard kevin at sb.org http://www.tildesoft.com http://kevin.sb.org -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2378 bytes Desc: not available Url : http://rubyforge.org/pipermail/typo-list/attachments/20060115/21ab5bbb/smime-0001.bin From eliot at landrum.cx Mon Jan 16 00:15:40 2006 From: eliot at landrum.cx (Eliot Landrum) Date: Sun, 15 Jan 2006 23:15:40 -0600 Subject: [typo] Changes to Textfilters and Theme layouts In-Reply-To: <4C2FDFFF-34D3-4279-A76A-C865BC713299@sb.org> References: <4C2FDFFF-34D3-4279-A76A-C865BC713299@sb.org> Message-ID: Kevin - I've modified my header to use FeedBurner feeds. If I change my theme to use this new header, then I have to modify articles_helper.rb with my FeedBurner URLs. Would it be of any value to have some sort of configurable feed field in the options? I'm not a big fan of 100-million options for everyone's situations, so that's why I ask if it is of any value. Should I just shut up and modify articles_helper.rb? On 1/15/06, Kevin Ballard wrote: > > Anybody who wrote their own textfilter or their own theme should > probably read the changeset commit message for typo.leetsoft.com/trac/changeset/848>. The reason being I added an > extra argument to Textfilter calls and a new helper method that all > themes should use in their tag. If you're a theme writer all > you probably need to do is look at the azure diff, typo.leetsoft.com/trac/changeset/848#file24>, and if you're a > Textfilter writer looking at any of the textfilter diffs like typo.leetsoft.com/trac/changeset/848#file8> is enough to make your > custom Textfilter work, but if you're interested in the new > capabilities you should read the whole message and look at the new > Lightbox controller components/plugins/textfilters/lightbox_controller.rb?rev=848>. > > -- > Kevin Ballard > kevin at sb.org > http://www.tildesoft.com > http://kevin.sb.org > > > > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list > > > -- Eliot Landrum eliot at landrum.cx http://eegah.us -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/typo-list/attachments/20060115/b1ca96e5/attachment.htm From kevin at sb.org Mon Jan 16 00:54:02 2006 From: kevin at sb.org (Kevin Ballard) Date: Sun, 15 Jan 2006 21:54:02 -0800 Subject: [typo] Changes to Textfilters and Theme layouts In-Reply-To: References: <4C2FDFFF-34D3-4279-A76A-C865BC713299@sb.org> Message-ID: <687CBEFD-4091-44AE-B40D-24570B2A45B6@sb.org> I guess it depends on how useful the option is. Quickest solution for you would be to modify articles_helper.rb, but maybe you should file a ticket about adding a preference and see if anybody else chimes in? On Jan 15, 2006, at 9:15 PM, Eliot Landrum wrote: > I've modified my header to use FeedBurner feeds. If I change my > theme to use this new header, then I have to modify > articles_helper.rb with my FeedBurner URLs. Would it be of any > value to have some sort of configurable feed field in the options? > I'm not a big fan of 100-million options for everyone's situations, > so that's why I ask if it is of any value. Should I just shut up > and modify articles_helper.rb? -- Kevin Ballard kevin at sb.org http://www.tildesoft.com http://kevin.sb.org -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2378 bytes Desc: not available Url : http://rubyforge.org/pipermail/typo-list/attachments/20060115/5ee30800/smime.bin From chris at seagul.co.uk Mon Jan 16 04:55:18 2006 From: chris at seagul.co.uk (Chris Roos) Date: Mon, 16 Jan 2006 09:55:18 +0000 Subject: [typo] trackbacks not working In-Reply-To: <43C8D5C1.6020905@seagul.co.uk> References: <43C8D5C1.6020905@seagul.co.uk> Message-ID: <43CB6D86.3070501@seagul.co.uk> Chris Roos wrote: > To continue this[1] online. > > Which weblog software are you using to send (the non appearing) > trackbacks to 21apples? > > Can you confirm that you are sending the trackbacks to the > /trackback/:article_id url on 21apples? > > Chris > > [1] http://typo.leetsoft.com/trac/ticket/650 > _______________________________________________ Hi, I notice you've posted another comment to ticket #650. I wonder if you could keep the conversation on the mailing list so that I don't have to follow progress on the web page. A quick google earlier returned lots of results for people having problems sending trackbacks with WP2... I wonder if you could try this tool[1] to send a trackback to your typo blog (21apples) and let me know whether or not it works. If it works then I'd assume that the WP blogs were causing the problem. Chris [1] http://www.redalt.com/External/trackback.php From scott at sigkill.org Mon Jan 16 09:55:03 2006 From: scott at sigkill.org (Scott Laird) Date: Mon, 16 Jan 2006 06:55:03 -0800 Subject: [typo] Changes to Textfilters and Theme layouts In-Reply-To: <687CBEFD-4091-44AE-B40D-24570B2A45B6@sb.org> References: <4C2FDFFF-34D3-4279-A76A-C865BC713299@sb.org> <687CBEFD-4091-44AE-B40D-24570B2A45B6@sb.org> Message-ID: I haven't really looked at the new code, but how does this compare with the stock Rails register_javascript_include_default/ javascript_include_tag? Scott On Jan 15, 2006, at 9:54 PM, Kevin Ballard wrote: > I guess it depends on how useful the option is. Quickest solution > for you would be to modify articles_helper.rb, but maybe you should > file a ticket about adding a preference and see if anybody else > chimes in? > > On Jan 15, 2006, at 9:15 PM, Eliot Landrum wrote: > >> I've modified my header to use FeedBurner feeds. If I change my >> theme to use this new header, then I have to modify >> articles_helper.rb with my FeedBurner URLs. Would it be of any >> value to have some sort of configurable feed field in the options? >> I'm not a big fan of 100-million options for everyone's >> situations, so that's why I ask if it is of any value. Should I >> just shut up and modify articles_helper.rb? > > -- > Kevin Ballard > kevin at sb.org > http://www.tildesoft.com > http://kevin.sb.org > > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list From arvind at grovernetwork.com Mon Jan 16 10:33:55 2006 From: arvind at grovernetwork.com (arvind s grover) Date: Mon, 16 Jan 2006 10:33:55 -0500 Subject: [typo] trackbacks not working In-Reply-To: <43CB6D86.3070501@seagul.co.uk> References: <43C8D5C1.6020905@seagul.co.uk> <43CB6D86.3070501@seagul.co.uk> Message-ID: wow, can't believe that was the problem. i tested from the redalt.com site and the trackback worked perfectly. i tried trackback pinging from a wordpress 2.0 site and a wordpress 1.5 site. i must have 2 bad installs! thanks again. i posted on the web so that others could follow the progress if they ran into the same problem. thanks much chris. On Jan 16, 2006, at 4:55 AM, Chris Roos wrote: > Chris Roos wrote: > >> To continue this[1] online. >> Which weblog software are you using to send (the non appearing) >> trackbacks to 21apples? >> Can you confirm that you are sending the trackbacks to the / >> trackback/:article_id url on 21apples? >> Chris >> [1] http://typo.leetsoft.com/trac/ticket/650 >> _______________________________________________ >> > > Hi, > > I notice you've posted another comment to ticket #650. I wonder if > you could keep the conversation on the mailing list so that I don't > have to follow progress on the web page. > > A quick google earlier returned lots of results for people having > problems sending trackbacks with WP2... > > I wonder if you could try this tool[1] to send a trackback to your > typo blog (21apples) and let me know whether or not it works. If > it works then I'd assume that the WP blogs were causing the problem. > > Chris > > [1] http://www.redalt.com/External/trackback.php > From minter at lunenburg.org Mon Jan 16 13:01:29 2006 From: minter at lunenburg.org (H. Wade Minter) Date: Mon, 16 Jan 2006 13:01:29 -0500 (EST) Subject: [typo] Update to 849, sidebars break typo Message-ID: <20060116125719.A15007@bunning.skiltech.com> I ran a SVN update to release 849 today, and my blog started crashing. The usual "Typo failed to start properly" crashes. I managed to isolate the problem down to sidebars. If all sidebars are removed, the blog will start fine. If I add one sidebar in the admin interface, even a basic one like Archives, Static, or XML Syndication, it goes back to crashing. Remove the sidebar, and it starts. I've been restarting apache and clearing the cache to try to remove those variables. I'm running Apache2/FCGI on FreeBSD. Any suggestions on what is broken? --Wade From kevin at sb.org Mon Jan 16 17:33:18 2006 From: kevin at sb.org (Kevin Ballard) Date: Mon, 16 Jan 2006 14:33:18 -0800 Subject: [typo] Changes to Textfilters and Theme layouts In-Reply-To: References: <4C2FDFFF-34D3-4279-A76A-C865BC713299@sb.org> <687CBEFD-4091-44AE-B40D-24570B2A45B6@sb.org> Message-ID: <99F19BEC-3CF0-4083-BFCA-335CE8393C15@sb.org> On Jan 16, 2006, at 6:55 AM, Scott Laird wrote: > I haven't really looked at the new code, but how does this compare > with the stock Rails register_javascript_include_default/ > javascript_include_tag? Well, I'd never heard of register_javascript_include_default() before. That said, I'm not sure if it's suitable. First, the Lightbox textfilter also needs to link a CSS file, which register_javascript_include_default doesn't do. Second, the docs don't say if that function strips duplicate includes, which I also needs. Third, it's defined in asset_tag_helper, which the textfilter doesn't get by default. Though I have considered importing it so I could use the stock javascript_include_tag and stylesheet_include_tag helper methods instead of rolling my own, but I'm not sure what the proper way to do that is. But #1 and #2 are pretty important. -- Kevin Ballard kevin at sb.org http://www.tildesoft.com http://kevin.sb.org -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2378 bytes Desc: not available Url : http://rubyforge.org/pipermail/typo-list/attachments/20060116/aa314fa9/smime.bin From kevin at sb.org Mon Jan 16 18:02:02 2006 From: kevin at sb.org (Kevin Ballard) Date: Mon, 16 Jan 2006 15:02:02 -0800 Subject: [typo] Update to 849, sidebars break typo In-Reply-To: <20060116125719.A15007@bunning.skiltech.com> References: <20060116125719.A15007@bunning.skiltech.com> Message-ID: <7A214FDE-C2B6-483F-8CC6-209666AD06B9@sb.org> Well, that's strange. Could you give us a stack trace so we know *where* it's crashing? Thanks, Kevin On Jan 16, 2006, at 10:01 AM, H. Wade Minter wrote: > I ran a SVN update to release 849 today, and my blog started crashing. > The usual "Typo failed to start properly" crashes. > > I managed to isolate the problem down to sidebars. If all sidebars > are > removed, the blog will start fine. If I add one sidebar in the admin > interface, even a basic one like Archives, Static, or XML > Syndication, it > goes back to crashing. Remove the sidebar, and it starts. > > I've been restarting apache and clearing the cache to try to remove > those > variables. I'm running Apache2/FCGI on FreeBSD. > > Any suggestions on what is broken? -- Kevin Ballard kevin at sb.org http://www.tildesoft.com http://kevin.sb.org -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2378 bytes Desc: not available Url : http://rubyforge.org/pipermail/typo-list/attachments/20060116/2edaa10b/smime-0001.bin From ronald.green at gmail.com Mon Jan 16 20:05:40 2006 From: ronald.green at gmail.com (Ron Green) Date: Mon, 16 Jan 2006 19:05:40 -0600 Subject: [typo] Update to 849, sidebars break typo In-Reply-To: <7A214FDE-C2B6-483F-8CC6-209666AD06B9@sb.org> References: <20060116125719.A15007@bunning.skiltech.com> <7A214FDE-C2B6-483F-8CC6-209666AD06B9@sb.org> Message-ID: <5d63856e0601161705j6229c3b5pb82491618f9a1a3f@mail.gmail.com> I am seeing something similar too except I can't even get typo restarted. There are no error messages in the logs however I get this when I try to restart lighttpd: 2006-01-17 01:04:11: (server.c.702) Configuration of plugins failed. Going down. On 1/16/06, Kevin Ballard wrote: > > Well, that's strange. Could you give us a stack trace so we know > *where* it's crashing? > > Thanks, > Kevin > > On Jan 16, 2006, at 10:01 AM, H. Wade Minter wrote: > > > I ran a SVN update to release 849 today, and my blog started crashing. > > The usual "Typo failed to start properly" crashes. > > > > I managed to isolate the problem down to sidebars. If all sidebars > > are > > removed, the blog will start fine. If I add one sidebar in the admin > > interface, even a basic one like Archives, Static, or XML > > Syndication, it > > goes back to crashing. Remove the sidebar, and it starts. > > > > I've been restarting apache and clearing the cache to try to remove > > those > > variables. I'm running Apache2/FCGI on FreeBSD. > > > > Any suggestions on what is broken? > > -- > Kevin Ballard > kevin at sb.org > http://www.tildesoft.com > http://kevin.sb.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: http://rubyforge.org/pipermail/typo-list/attachments/20060116/87552c3b/attachment.htm From kevin at sb.org Mon Jan 16 21:20:37 2006 From: kevin at sb.org (Kevin Ballard) Date: Mon, 16 Jan 2006 18:20:37 -0800 Subject: [typo] Update to 849, sidebars break typo In-Reply-To: <5d63856e0601161705j6229c3b5pb82491618f9a1a3f@mail.gmail.com> References: <20060116125719.A15007@bunning.skiltech.com> <7A214FDE-C2B6-483F-8CC6-209666AD06B9@sb.org> <5d63856e0601161705j6229c3b5pb82491618f9a1a3f@mail.gmail.com> Message-ID: <7C953AF6-7A9A-4F3F-8F08-F4C01715A8C5@sb.org> On Jan 16, 2006, at 5:05 PM, Ron Green wrote: > I am seeing something similar too except I can't even get typo > restarted. > There are no error messages in the logs however I get this when I > try to restart lighttpd: > > 2006-01-17 01:04:11: (server.c.702) Configuration of plugins > failed. Going down. Huh. That error message is being generated by lighttpd itself, so there may be some sort of configuration error on your end (quite possibly some problem with fcgi). As for the original issue with typo crashing with a sidebar, I still have no idea. Wade, does Typo still crash if you run ./script/server or access it via the CGI directly? and if so, what about in development mode? -- Kevin Ballard kevin at sb.org http://www.tildesoft.com http://kevin.sb.org -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2378 bytes Desc: not available Url : http://rubyforge.org/pipermail/typo-list/attachments/20060116/d2c16e32/smime.bin From brianellin at gmail.com Mon Jan 16 21:50:55 2006 From: brianellin at gmail.com (Brian Ellin) Date: Mon, 16 Jan 2006 18:50:55 -0800 Subject: [typo] OpenID authenticated comments example Message-ID: <9674d5350601161850w77efec62s7fad1b66e27c44db@mail.gmail.com> I've launched a Typo based blog that uses OpenID to authenticate comments. I'm interesting in getting some feedback on flow, etc from the Typo developers. Ideally I'd like to get my changes rolled into the Typo trunk, so please have a look. My first post talks about OpenID and the patches in some detail: http://www.brianellin.com/ Leave a comment.... try it out! If you don't have an OpenID, you can sign up for one at myopenid.com, videntity.org, or livejournal.com. Brian Ellin brianellin.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/typo-list/attachments/20060116/94af6d97/attachment.htm From ronald.green at gmail.com Mon Jan 16 22:01:34 2006 From: ronald.green at gmail.com (Ron Green) Date: Mon, 16 Jan 2006 21:01:34 -0600 Subject: [typo] Update to 849, sidebars break typo In-Reply-To: <7C953AF6-7A9A-4F3F-8F08-F4C01715A8C5@sb.org> References: <20060116125719.A15007@bunning.skiltech.com> <7A214FDE-C2B6-483F-8CC6-209666AD06B9@sb.org> <5d63856e0601161705j6229c3b5pb82491618f9a1a3f@mail.gmail.com> <7C953AF6-7A9A-4F3F-8F08-F4C01715A8C5@sb.org> Message-ID: <5d63856e0601161901v3af22369l6ab5147e2178cf60@mail.gmail.com> Maybe but it worked fine before migrating from 785 to 849. On 1/16/06, Kevin Ballard wrote: > > On Jan 16, 2006, at 5:05 PM, Ron Green wrote: > > > I am seeing something similar too except I can't even get typo > > restarted. > > There are no error messages in the logs however I get this when I > > try to restart lighttpd: > > > > 2006-01-17 01:04:11: (server.c.702) Configuration of plugins > > failed. Going down. > > Huh. That error message is being generated by lighttpd itself, so > there may be some sort of configuration error on your end (quite > possibly some problem with fcgi). As for the original issue with typo > crashing with a sidebar, I still have no idea. > > Wade, does Typo still crash if you run ./script/server or access it > via the CGI directly? and if so, what about in development mode? > > -- > Kevin Ballard > kevin at sb.org > http://www.tildesoft.com > http://kevin.sb.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: http://rubyforge.org/pipermail/typo-list/attachments/20060116/209c2f30/attachment.htm From trejkaz at trypticon.org Mon Jan 16 22:33:17 2006 From: trejkaz at trypticon.org (Trejkaz) Date: Tue, 17 Jan 2006 14:33:17 +1100 Subject: [typo] OpenID authenticated comments example In-Reply-To: <9674d5350601161850w77efec62s7fad1b66e27c44db@mail.gmail.com> References: <9674d5350601161850w77efec62s7fad1b66e27c44db@mail.gmail.com> Message-ID: <43CC657D.6020707@trypticon.org> Brian Ellin wrote: > I've launched a Typo based blog that uses OpenID to authenticate > comments. I'm interesting in getting some feedback on flow, etc from > the Typo developers. Ideally I'd like to get my changes rolled into the > Typo trunk, so please have a look. My first post talks about OpenID and > the patches in some detail: > > http://www.brianellin.com/ > > Leave a comment.... try it out! If you don't have an OpenID, you can > sign up for one at myopenid.com , videntity.org > , or livejournal.com . Sweet! Are you going to implement Typo as an OpenID provider as well? That would be _really_ nifty... then it could almost transparently authenticate all Typo-based blogs with each other (well, except those who turn the feature off, I suppose.) TX From lroland at gmail.com Tue Jan 17 08:33:30 2006 From: lroland at gmail.com (Lars Roland) Date: Tue, 17 Jan 2006 14:33:30 +0100 Subject: [typo] Typo broken after update to 849 Message-ID: <4ad99e050601170533u4b0df3e9v68c36e3753bb59a2@mail.gmail.com> Hi I just updated to the latest trunk, but somthing went wrong duing the DB upgrade so now I get: ----- NoMethodError in Admin/general#update_database You have a nil object when you didn't expect it! You might have expected an instance of Array. The error occured while evaluating nil.collect ----- I can still view my blog bu the sidebar is broken (i.e clicking on anything on it yields nothing), all my posts are however still there. i have tried restarting apache, postgresql and even the entire server (which was due for a kernel update anyway). I am not a rails debugger wiz (yet) so I just fired up webrik and got the following following full trace: ----- #{RAILS_ROOT}/app/controllers/admin/general_controller.rb:10:in `update_database' /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:853:in `perform_action_without_filters' /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/filters.rb:332:in `perform_action_without_benchmark' /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:69:in `perform_action_without_rescue' /usr/lib/ruby/1.8/benchmark.rb:293:in `measure' /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:69:in `perform_action_without_rescue' /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/rescue.rb:82:in `perform_action' /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:369:in `process_without_session_management_support' /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/session_management.rb:116:in `process' /usr/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/dispatcher.rb:38:in `dispatch' /usr/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:117:in `handle_dispatch' /usr/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:83:in `service' /usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service' /usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run' /usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread' /usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread' /usr/lib/ruby/1.8/webrick/server.rb:95:in `start' /usr/lib/ruby/1.8/webrick/server.rb:92:in `start' /usr/lib/ruby/1.8/webrick/server.rb:23:in `start' /usr/lib/ruby/1.8/webrick/server.rb:82:in `start' /usr/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:69:in `dispatch' /usr/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/commands/servers/webrick.rb:59 /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require' /usr/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:214:in `require' /usr/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/commands/server.rb:28 /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require' /usr/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:214:in `require' #{RAILS_ROOT}/script/server:3 ----- If more info is needed to solve this problem then please speek up -- Lars Roland From cedric at feelfree.homelinux.com Tue Jan 17 11:12:16 2006 From: cedric at feelfree.homelinux.com (cedric) Date: Tue, 17 Jan 2006 17:12:16 +0100 Subject: [typo] Typo broken after update to 849 In-Reply-To: <4ad99e050601170533u4b0df3e9v68c36e3753bb59a2@mail.gmail.com> References: <4ad99e050601170533u4b0df3e9v68c36e3753bb59a2@mail.gmail.com> Message-ID: <43CD1760.2000006@feelfree.homelinux.com> Lars Roland wrote: > Hi > > I just updated to the latest trunk, but somthing went wrong duing the > DB upgrade so now I get: > > ----- > NoMethodError in Admin/general#update_database > You have a nil object when you didn't expect it! > You might have expected an instance of Array. > The error occured while evaluating nil.collect > ----- > > I can still view my blog bu the sidebar is broken (i.e clicking on > anything on it yields nothing), all my posts are however still there. > i have tried restarting apache, postgresql and even the entire server > (which was due for a kernel update anyway). > > I am not a rails debugger wiz (yet) so I just fired up webrik and got > the following following full trace: > > ----- > #{RAILS_ROOT}/app/controllers/admin/general_controller.rb:10:in > `update_database' > /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:853:in > `perform_action_without_filters' > /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/filters.rb:332:in > `perform_action_without_benchmark' > /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:69:in > `perform_action_without_rescue' > /usr/lib/ruby/1.8/benchmark.rb:293:in `measure' > /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:69:in > `perform_action_without_rescue' > /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/rescue.rb:82:in > `perform_action' > /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:369:in > `process_without_session_management_support' > /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/session_management.rb:116:in > `process' > /usr/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/dispatcher.rb:38:in `dispatch' > /usr/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:117:in > `handle_dispatch' > /usr/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:83:in `service' > /usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service' > /usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run' > /usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread' > /usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread' > /usr/lib/ruby/1.8/webrick/server.rb:95:in `start' > /usr/lib/ruby/1.8/webrick/server.rb:92:in `start' > /usr/lib/ruby/1.8/webrick/server.rb:23:in `start' > /usr/lib/ruby/1.8/webrick/server.rb:82:in `start' > /usr/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:69:in `dispatch' > /usr/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/commands/servers/webrick.rb:59 > /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require' > /usr/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:214:in > `require' > /usr/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/commands/server.rb:28 > /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require' > /usr/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:214:in > `require' > #{RAILS_ROOT}/script/server:3 > ----- > > If more info is needed to solve this problem then please speek up > > -- > Lars Roland > > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list > It is mention as a bug with a workaround in the ticket 660 http://typo.leetsoft.com/trac/ticket/660 my own workaround is go back to a previous version, to rename the file db/migrate/36_relate_contents_and_page_caches.rb to db/migrate/36_relate_contents_and_page_caches.rb.old before the svn update to 849, then update to version 849, revert the name to db/migrate/36_relate_contents_and_page_caches.rb and do the update on admin page... it works for me! or you can do the change in the database as mentioned in the ticket regards. From scott at sigkill.org Tue Jan 17 12:48:18 2006 From: scott at sigkill.org (Scott Laird) Date: Tue, 17 Jan 2006 09:48:18 -0800 Subject: [typo] OpenID authenticated comments example In-Reply-To: <43CC657D.6020707@trypticon.org> References: <9674d5350601161850w77efec62s7fad1b66e27c44db@mail.gmail.com> <43CC657D.6020707@trypticon.org> Message-ID: On Jan 16, 2006, at 7:33 PM, Trejkaz wrote: > Brian Ellin wrote: >> I've launched a Typo based blog that uses OpenID to authenticate >> comments. I'm interesting in getting some feedback on flow, etc from >> the Typo developers. Ideally I'd like to get my changes rolled >> into the >> Typo trunk, so please have a look. My first post talks about >> OpenID and >> the patches in some detail: >> >> http://www.brianellin.com/ >> >> Leave a comment.... try it out! If you don't have an OpenID, you can >> sign up for one at myopenid.com , videntity.org >> , or livejournal.com . > > Sweet! > > Are you going to implement Typo as an OpenID provider as well? That > would be _really_ nifty... then it could almost transparently > authenticate all Typo-based blogs with each other (well, except those > who turn the feature off, I suppose.) That'd be really, deeply cool. I've wanted this for months, but I've kind of failed to implement it. There's one thing to watch out for-- it'll be really easy to deadlock on single-thread servers, like webrick or fastcgi with 1 process. Scott From ziplux at comcast.net Tue Jan 17 13:01:06 2006 From: ziplux at comcast.net (Jared Luxenberg) Date: Tue, 17 Jan 2006 13:01:06 -0500 Subject: [typo] Page caching and dynamic sidebars Message-ID: <43CD30E2.604@comcast.net> I just developed a sidebar plugin that needs to be updated every 5min or so. But the problem is, with page caching on it only gets updated when I post an article or someone posts a comment. I'm having the same problem with the audioscrobbler plugin. I looked in the mailing list archives and saw that some people were working on this problem, but I couldn't find a solution. Should I just wait for fragment caching to be implemented? Is there any way I can help with that (I'm an okay Rails programmer)? Or is there a quick and dirty short term fix I can use? (besides turning off caching) It seems like this is kinda a big problem, because the Audioscrobbler plugin suffers from it too and it is included in the standard Typo distribution. - Jared From scott at sigkill.org Tue Jan 17 13:12:09 2006 From: scott at sigkill.org (Scott Laird) Date: Tue, 17 Jan 2006 10:12:09 -0800 Subject: [typo] Page caching and dynamic sidebars In-Reply-To: <43CD30E2.604@comcast.net> References: <43CD30E2.604@comcast.net> Message-ID: On Jan 17, 2006, at 10:01 AM, Jared Luxenberg wrote: > I just developed a sidebar plugin that needs to be updated every > 5min or > so. But the problem is, with page caching on it only gets updated > when > I post an article or someone posts a comment. I'm having the same > problem with the audioscrobbler plugin. I looked in the mailing list > archives and saw that some people were working on this problem, but I > couldn't find a solution. > > Should I just wait for fragment caching to be implemented? Is > there any > way I can help with that (I'm an okay Rails programmer)? Or is > there a > quick and dirty short term fix I can use? (besides turning off > caching) > It seems like this is kinda a big problem, because the Audioscrobbler > plugin suffers from it too and it is included in the standard Typo > distribution. I have fragment caching code written and lightly tested. I still need to add a good way for pages to set their lifetime, but that shouldn't take very long. Right now, everything uses a hard timeout of 10 seconds--great for testing, not so useful in reality. Give me a day or so. The bigger issue is wether we want to make this the default in Typo or not. Scott From minter at lunenburg.org Tue Jan 17 13:11:55 2006 From: minter at lunenburg.org (H. Wade Minter) Date: Tue, 17 Jan 2006 13:11:55 -0500 (EST) Subject: [typo] Update to 849, sidebars break typo In-Reply-To: <7A214FDE-C2B6-483F-8CC6-209666AD06B9@sb.org> References: <20060116125719.A15007@bunning.skiltech.com> <7A214FDE-C2B6-483F-8CC6-209666AD06B9@sb.org> Message-ID: <20060117131055.N10292@bunning.skiltech.com> After further investigation, I think I tracked my problem down to a Ruby upgrade on my FreeBSD server. A couple of other typo blogs that hadn't been updated to 849 were having the same issue. I dropped Ruby down to 1.8.2 and the sidebars started working again. On Mon, 16 Jan 2006, Kevin Ballard wrote: > Well, that's strange. Could you give us a stack trace so we know *where* it's > crashing? > > Thanks, > Kevin > > On Jan 16, 2006, at 10:01 AM, H. Wade Minter wrote: > >> I ran a SVN update to release 849 today, and my blog started crashing. >> The usual "Typo failed to start properly" crashes. >> >> I managed to isolate the problem down to sidebars. If all sidebars are >> removed, the blog will start fine. If I add one sidebar in the admin >> interface, even a basic one like Archives, Static, or XML Syndication, it >> goes back to crashing. Remove the sidebar, and it starts. >> >> I've been restarting apache and clearing the cache to try to remove those >> variables. I'm running Apache2/FCGI on FreeBSD. >> >> Any suggestions on what is broken? > > From brianellin at gmail.com Tue Jan 17 14:22:47 2006 From: brianellin at gmail.com (Brian Ellin) Date: Tue, 17 Jan 2006 11:22:47 -0800 Subject: [typo] OpenID authenticated comments example In-Reply-To: References: <9674d5350601161850w77efec62s7fad1b66e27c44db@mail.gmail.com> <43CC657D.6020707@trypticon.org> Message-ID: <9674d5350601171122n21cebd3evc74bb2aed87a7340@mail.gmail.com> I'd love to see Typo with an OpenID server feature. The Ruby OpenID library currently does not have server support, though I will be working on that in the coming months. Right now I've got my Typo blog delegating to myopenid.com, and I'm quite happy with it. This can be accomplished with just a couple of lines of HTML in the HEAD section of your layout. TX mentioned something about Typo blogs being able to authenticate each other in server mode. This is a great idea, but I'm more interested in developing OpenID stuff that speaks to *any* OpenID service. Imagine, for example, if you only wanted to let your friends comment on your blog, or friends of friends, or whatever. This is easily accomplished with FOAF and OpenID, or a custom whitelist solution. When someone tries to leave a comment on the blog, you'll know who they are and you can choose any algorithm you'd like to see if they can post. Simple OpenID authed comments are a step in this direction. Thanks, Brian ps - Any hints as to why my form_remote_tag 302 handler does not work under IE6?! On 1/17/06, Scott Laird wrote: > > > > Sweet! > > > > Are you going to implement Typo as an OpenID provider as well? That > > would be _really_ nifty... then it could almost transparently > > authenticate all Typo-based blogs with each other (well, except those > > who turn the feature off, I suppose.) > > That'd be really, deeply cool. I've wanted this for months, but I've > kind of failed to implement it. There's one thing to watch out for-- > it'll be really easy to deadlock on single-thread servers, like > webrick or fastcgi with 1 process. > > > Scott -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/typo-list/attachments/20060117/ffd026c4/attachment.htm From lroland at gmail.com Wed Jan 18 03:44:10 2006 From: lroland at gmail.com (Lars Roland) Date: Wed, 18 Jan 2006 09:44:10 +0100 Subject: [typo] Typo broken after update to 849 In-Reply-To: <43CD1760.2000006@feelfree.homelinux.com> References: <4ad99e050601170533u4b0df3e9v68c36e3753bb59a2@mail.gmail.com> <43CD1760.2000006@feelfree.homelinux.com> Message-ID: <4ad99e050601180044s173b1392ybe81a19a81793487@mail.gmail.com> On 1/17/06, cedric wrote: > It is mention as a bug with a workaround in the ticket 660 > > http://typo.leetsoft.com/trac/ticket/660 Woop did not see that one > my own workaround is go back to a previous version, to rename the file > db/migrate/36_relate_contents_and_page_caches.rb to > db/migrate/36_relate_contents_and_page_caches.rb.old before the svn > update to 849, then update to version 849, revert the name to > db/migrate/36_relate_contents_and_page_caches.rb and do the update on > admin page... it works for me! > > or you can do the change in the database as mentioned in the ticket Logging in to the db and doing update schema_info set version = 35; did the trick for me. Thanks for the fix. -- Lars Roland > > regards. > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list > From trejkaz at trypticon.org Wed Jan 18 04:48:24 2006 From: trejkaz at trypticon.org (Trejkaz) Date: Wed, 18 Jan 2006 20:48:24 +1100 Subject: [typo] Making sense of notifications code Message-ID: <200601182048.28662.trejkaz@trypticon.org> I've ported my local copy of Typo over to the XMPP4R library so that Jabber notifications can work. The JabberNotify class now works in its own right, but I'm not getting any actual notifications even though my configuration seems to be right. I'm seeing this query fly past the log window: SELECT * FROM users LEFT JOIN notifications ON users.id = notifications.notify_user_id WHERE (notifications.notify_content_id = 1 ) Entering that query, I get zero rows. Removing the WHERE clause, I get my row, and I can see that notify_content_id = NULL. Is this column supposed to have a value in it, and who sets it? TX -- Email: trejkaz at trypticon.org Jabber ID: trejkaz at trypticon.org Web site: http://trypticon.org/ GPG Fingerprint: 9EEB 97D7 8F7B 7977 F39F A62C B8C7 BC8B 037E EA73 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available Url : http://rubyforge.org/pipermail/typo-list/attachments/20060118/713db313/attachment.bin From ronald.green at gmail.com Fri Jan 20 08:59:56 2006 From: ronald.green at gmail.com (Ron Green) Date: Fri, 20 Jan 2006 07:59:56 -0600 Subject: [typo] Archives Message-ID: <5d63856e0601200559t21c2d008pcf8c3c8e31b75c1@mail.gmail.com> I just re-added the Archive to the sidebar and the months are appearing in another language. Any ideas? You can see here: http://rfgreen.net Build 849. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/typo-list/attachments/20060120/b0e9be09/attachment.htm From magriep at mac.com Fri Jan 20 17:38:39 2006 From: magriep at mac.com (Michael Griepentrog) Date: Fri, 20 Jan 2006 16:38:39 -0600 Subject: [typo] Installing on DreamHost Message-ID: Hi, I'm trying to install typo (2.6.0), and I keep getting sporadic 500 errors. I've gotten it to the point where I can login, but then typo asks me to migrate the database. When I click "Update my database now" it goes to a 500 error. I checked the production.log and found this: Processing GeneralController#migrate (for 69.76.46.160 at 2006-01-19 18:46:35) [POST] Parameters: {"action"=>"migrate", "controller"=>"admin/general"} Migrating to AddExtendedHtml (1) Migrating to AddUserEmail (2) ActiveRecord::StatementInvalid (Mysql::Error: Duplicate column name 'email': ALTER TABLE users ADD email text): /usr/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/ active_record/connection_adapters/abstract_adapter.rb:88:in `log' /usr/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/ active_record/connection_adapters/mysql_adapter.rb:180:in `execute' /usr/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/ active_record/connection_adapters/abstract/schema_statements.rb: 114:in `add_co$ /usr/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/ active_record/migration.rb:170:in `send' /usr/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/ active_record/migration.rb:170:in `method_missing' /db/migrate//2_add_user_email.rb:3:in `up' /usr/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/ active_record/migration.rb:228:in `send' /usr/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/ active_record/migration.rb:228:in `migrate' /usr/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/ active_record/migration.rb:223:in `each' /usr/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/ active_record/migration.rb:223:in `migrate' /usr/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/ active_record/migration.rb:190:in `up' /usr/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/ active_record/migration.rb:181:in `migrate' /lib/migrator.rb:26:in `migrate' app/controllers/admin/general_controller.rb:17:in `migrate' /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/ action_controller/base.rb:853:in `send' /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/ action_controller/base.rb:853:in `perform_action_without_filters' /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/ action_controller/filters.rb:332:in `perform_action_without_benchmark' /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/ action_controller/benchmarking.rb:69:in `perform_action_without_rescue' /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/ action_controller/benchmarking.rb:69:in `measure' /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/ action_controller/benchmarking.rb:69:in `perform_action_without_rescue' /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/ action_controller/rescue.rb:82:in `perform_action' /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/ action_controller/base.rb:369:in `send' /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/ action_controller/base.rb:369:in `process_without_session_management_support' /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/ action_controller/session_management.rb:116:in `process' /usr/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/dispatcher.rb:38:in `dispatch' /lib/fcgi_handler.rb:141:in `process_request' /lib/fcgi_handler.rb:53:in `process!' /lib/fcgi_handler.rb:52:in `each_cgi' /usr/lib/ruby/1.8/fcgi.rb:597:in `each' /usr/lib/ruby/1.8/fcgi.rb:597:in `each_cgi' /lib/fcgi_handler.rb:52:in `process!' /lib/fcgi_handler.rb:22:in `process!' dispatch.fcgi:24 Any help would be greatly appreciated. -Mike From dusty.jewett at gmail.com Fri Jan 20 23:08:23 2006 From: dusty.jewett at gmail.com (Dusty Jewett) Date: Fri, 20 Jan 2006 20:08:23 -0800 Subject: [typo] Installing on DreamHost In-Reply-To: References: Message-ID: <939e27410601202008n13a2ac17xdefdf438d1374e18@mail.gmail.com> I'm on dreamhost... I have an installation of 2.6, and an installation of Trunk a couple weeks old.... I wasn't able to migrate the database, from what I gleamed, there's an error in the version of Rails that Dreamhost has that kills the migrate script. I was told I could install rails into the vendor\ directory, give that a shot... Since it wasn't a big deal for me, I just cleaned house and re-installed, so I don't have any success stories... Good luck! -Dusty On 1/20/06, Michael Griepentrog wrote: > > Hi, > > I'm trying to install typo (2.6.0), and I keep getting sporadic 500 > errors. > > I've gotten it to the point where I can login, but then typo asks me > to migrate the database. When I click "Update my database now" it > goes to a 500 error. > > I checked the production.log and found this: > > Processing GeneralController#migrate (for 69.76.46.160 at 2006-01-19 > 18:46:35) [POST] > Parameters: {"action"=>"migrate", "controller"=>"admin/general"} > Migrating to AddExtendedHtml (1) > Migrating to AddUserEmail (2) > > > ActiveRecord::StatementInvalid (Mysql::Error: Duplicate column name > 'email': ALTER TABLE users ADD email text): > /usr/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/ > active_record/connection_adapters/abstract_adapter.rb:88:in `log' > /usr/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/ > active_record/connection_adapters/mysql_adapter.rb:180:in `execute' > /usr/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/ > active_record/connection_adapters/abstract/schema_statements.rb: > 114:in `add_co$ > /usr/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/ > active_record/migration.rb:170:in `send' > /usr/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/ > active_record/migration.rb:170:in `method_missing' > /db/migrate//2_add_user_email.rb:3:in `up' > /usr/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/ > active_record/migration.rb:228:in `send' > /usr/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/ > active_record/migration.rb:228:in `migrate' > /usr/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/ > active_record/migration.rb:223:in `each' > /usr/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/ > active_record/migration.rb:223:in `migrate' > /usr/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/ > active_record/migration.rb:190:in `up' > /usr/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/ > active_record/migration.rb:181:in `migrate' > /lib/migrator.rb:26:in `migrate' > app/controllers/admin/general_controller.rb:17:in `migrate' > /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/ > action_controller/base.rb:853:in `send' > /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/ > action_controller/base.rb:853:in `perform_action_without_filters' > /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/ > action_controller/filters.rb:332:in `perform_action_without_benchmark' > /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/ > action_controller/benchmarking.rb:69:in `perform_action_without_rescue' > /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/ > action_controller/benchmarking.rb:69:in `measure' > /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/ > action_controller/benchmarking.rb:69:in `perform_action_without_rescue' > /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/ > action_controller/rescue.rb:82:in `perform_action' > /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/ > action_controller/base.rb:369:in `send' > /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/ > action_controller/base.rb:369:in > `process_without_session_management_support' > /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/ > action_controller/session_management.rb:116:in `process' > /usr/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/dispatcher.rb:38:in > `dispatch' > /lib/fcgi_handler.rb:141:in `process_request' > /lib/fcgi_handler.rb:53:in `process!' > /lib/fcgi_handler.rb:52:in `each_cgi' > /usr/lib/ruby/1.8/fcgi.rb:597:in `each' > /usr/lib/ruby/1.8/fcgi.rb:597:in `each_cgi' > /lib/fcgi_handler.rb:52:in `process!' > /lib/fcgi_handler.rb:22:in `process!' > dispatch.fcgi:24 > > > Any help would be greatly appreciated. > > -Mike > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/typo-list/attachments/20060120/c42ccb22/attachment.htm From ronald.green at gmail.com Fri Jan 20 23:51:08 2006 From: ronald.green at gmail.com (Ron Green) Date: Fri, 20 Jan 2006 22:51:08 -0600 Subject: [typo] Archives In-Reply-To: <5d63856e0601200559t21c2d008pcf8c3c8e31b75c1@mail.gmail.com> References: <5d63856e0601200559t21c2d008pcf8c3c8e31b75c1@mail.gmail.com> Message-ID: <5d63856e0601202051r6e39a33by81257df840999d36@mail.gmail.com> I just noticed under each post title it says: "Posted by Ron on NaN" I checked in admin and in the database and the dates all look correct. Something is misinterpreting the names of the months. On 1/20/06, Ron Green wrote: > > I just re-added the Archive to the sidebar and the months are appearing in > another language. > > Any ideas? > > You can see here: http://rfgreen.net > > Build 849. > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/typo-list/attachments/20060120/253b0952/attachment.htm From scott at sigkill.org Fri Jan 20 23:58:37 2006 From: scott at sigkill.org (Scott Laird) Date: Fri, 20 Jan 2006 20:58:37 -0800 Subject: [typo] Archives In-Reply-To: <5d63856e0601202051r6e39a33by81257df840999d36@mail.gmail.com> References: <5d63856e0601200559t21c2d008pcf8c3c8e31b75c1@mail.gmail.com> <5d63856e0601202051r6e39a33by81257df840999d36@mail.gmail.com> Message-ID: <5853AA50-3EE8-4A2B-8A0F-0453B352742B@sigkill.org> Sounds like a locale problem. Try making sure that you don't have a LANG= environment variable. Alternately, try doing 'export LANG=C' before starting your web server. Scott On Jan 20, 2006, at 8:51 PM, Ron Green wrote: > I just noticed under each post title it says: > > "Posted by Ron on NaN" > > I checked in admin and in the database and the dates all look correct. > Something is misinterpreting the names of the months. > > On 1/20/06, Ron Green wrote: > I just re-added the Archive to the sidebar and the months are > appearing in another language. > > Any ideas? > > You can see here: http://rfgreen.net > > Build 849. > > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/typo-list/attachments/20060120/9e612734/attachment.htm From ronald.green at gmail.com Sat Jan 21 00:19:23 2006 From: ronald.green at gmail.com (Ron Green) Date: Fri, 20 Jan 2006 23:19:23 -0600 Subject: [typo] Archives In-Reply-To: <5853AA50-3EE8-4A2B-8A0F-0453B352742B@sigkill.org> References: <5d63856e0601200559t21c2d008pcf8c3c8e31b75c1@mail.gmail.com> <5d63856e0601202051r6e39a33by81257df840999d36@mail.gmail.com> <5853AA50-3EE8-4A2B-8A0F-0453B352742B@sigkill.org> Message-ID: <5d63856e0601202119n297c8172wcc0ff57d56e3c52@mail.gmail.com> I'm sorry Scott but can you point me to where I would find "LANG="? Where am I running "export LANG=C" from? On 1/20/06, Scott Laird wrote: > > Sounds like a locale problem. Try making sure that you don't have a LANG= > environment variable. Alternately, try doing 'export LANG=C' before > starting your web server. > > Scott > > On Jan 20, 2006, at 8:51 PM, Ron Green wrote: > > I just noticed under each post title it says: > > "Posted by Ron on NaN" > > I checked in admin and in the database and the dates all look correct. > Something is misinterpreting the names of the months. > > On 1/20/06, Ron Green wrote: > > > > I just re-added the Archive to the sidebar and the months are appearing > > in another language. > > > > Any ideas? > > > > You can see here: http://rfgreen.net > > > > Build 849. > > > > _______________________________________________ > 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 > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/typo-list/attachments/20060120/821ca971/attachment.htm From ziplux at comcast.net Sat Jan 21 01:34:45 2006 From: ziplux at comcast.net (Jared Luxenberg) Date: Sat, 21 Jan 2006 01:34:45 -0500 Subject: [typo] Pings not being sent? Message-ID: <43D1D605.3060509@comcast.net> I have my settings set to automatically ping technorati and blo.gs, but when I search for entries I've posted at those sites, I find nothing. How can I be sure that Typo is pinging these sites properly? - Jared From jennyw at dangerousideas.com Sat Jan 21 02:41:37 2006 From: jennyw at dangerousideas.com (jennyw) Date: Fri, 20 Jan 2006 23:41:37 -0800 Subject: [typo] Heavy RAM usage? Instability? Message-ID: <43D1E5B1.8040404@dangerousideas.com> I'm still new to Typo and haven't gotten to do much with it yet, but what I've seen seems to be working well for me. I've had a few problems with Typo going away, but I assumed those were all related to reboots at TextDrive (I don't check my blog all that often). I was looking into the preferred way to restart a Rails app on TxD now that Daedalus is frowned upon when I came upon this: http://forum.textdrive.com/viewtopic.php?id=8371 which is a thread on the TxD forums where three of the admins say how much they dislike Typo, with Jason posting a list of heavy memory users and showing that Typo seems to be the top culprit most times. I'm too new to Typo to really make a judgment, so I thought I'd ask here ... What do people think of that? Jen From rasputnik at gmail.com Sat Jan 21 03:01:19 2006 From: rasputnik at gmail.com (Dick Davies) Date: Sat, 21 Jan 2006 08:01:19 +0000 Subject: [typo] Heavy RAM usage? Instability? In-Reply-To: <43D1E5B1.8040404@dangerousideas.com> References: <43D1E5B1.8040404@dangerousideas.com> Message-ID: <3f1760601210001p30403ffer@mail.gmail.com> On 21/01/06, jennyw wrote: > http://forum.textdrive.com/viewtopic.php?id=8371 Heehee. Bear in mind admins would like us all to be using static files, so I wouldn't take it too personally. Typo has got a little bigger lately, but I can understand the code (when I need to) which means I'd rather but my eggs in that basket than wordpress. If you need to have typo startup at boot on textdrive, just go for: PATH = /bin:/usr/bin:/usr/local/bin @reboot /usr/local/sbin/lighttpd -f /path/to/lighttpd.conf at the top of your crontab (the pathchange saves you having to edit the #! /usr/bin/env ruby shebang at the top of dispatch.fcgi) -- Rasputin :: Jack of All Trades - Master of Nuns http://number9.hellooperator.net/ From chris at seagul.co.uk Sat Jan 21 06:26:56 2006 From: chris at seagul.co.uk (Chris Roos) Date: Sat, 21 Jan 2006 11:26:56 +0000 Subject: [typo] Pings not being sent? In-Reply-To: <43D1D605.3060509@comcast.net> References: <43D1D605.3060509@comcast.net> Message-ID: <43D21A80.1050205@seagul.co.uk> It's not currently implemented in Typo. You could apply the patch from ticket #526[1] to solve the problem. Chris [1] http://typo.leetsoft.com/trac/ticket/526 Jared Luxenberg wrote: > I have my settings set to automatically ping technorati and blo.gs, but > when I search for entries I've posted at those sites, I find nothing. > How can I be sure that Typo is pinging these sites properly? > > - Jared > > > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list From ronald.green at gmail.com Sat Jan 21 08:09:43 2006 From: ronald.green at gmail.com (Ron Green) Date: Sat, 21 Jan 2006 07:09:43 -0600 Subject: [typo] Archives In-Reply-To: <5d63856e0601202119n297c8172wcc0ff57d56e3c52@mail.gmail.com> References: <5d63856e0601200559t21c2d008pcf8c3c8e31b75c1@mail.gmail.com> <5d63856e0601202051r6e39a33by81257df840999d36@mail.gmail.com> <5853AA50-3EE8-4A2B-8A0F-0453B352742B@sigkill.org> <5d63856e0601202119n297c8172wcc0ff57d56e3c52@mail.gmail.com> Message-ID: <5d63856e0601210509g2468e929w2938ee1d2e970a72@mail.gmail.com> Well, mysteriously, I got up this morning and the problem is gone. I love self-healing applications. ;-) On 1/20/06, Ron Green wrote: > > I'm sorry Scott but can you point me to where I would find "LANG="? Where > am I running "export LANG=C" from? > > On 1/20/06, Scott Laird wrote: > > > > Sounds like a locale problem. Try making sure that you don't have a > > LANG= environment variable. Alternately, try doing 'export LANG=C' before > > starting your web server. > > > > Scott > > > > On Jan 20, 2006, at 8:51 PM, Ron Green wrote: > > > > I just noticed under each post title it says: > > > > "Posted by Ron on NaN" > > > > I checked in admin and in the database and the dates all look correct. > > Something is misinterpreting the names of the months. > > > > On 1/20/06, Ron Green wrote: > > > > > > I just re-added the Archive to the sidebar and the months are > > > appearing in another language. > > > > > > Any ideas? > > > > > > You can see here: http://rfgreen.net > > > > > > Build 849. > > > > > > > _______________________________________________ > > 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 > > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/typo-list/attachments/20060121/7e379e58/attachment.htm From chenggao at gmail.com Sat Jan 21 08:25:01 2006 From: chenggao at gmail.com (CHENG Gao) Date: Sat, 21 Jan 2006 21:25:01 +0800 Subject: [typo] Archives References: <5d63856e0601200559t21c2d008pcf8c3c8e31b75c1@mail.gmail.com> <5d63856e0601202051r6e39a33by81257df840999d36@mail.gmail.com> <5853AA50-3EE8-4A2B-8A0F-0453B352742B@sigkill.org> <5d63856e0601202119n297c8172wcc0ff57d56e3c52@mail.gmail.com> <5d63856e0601210509g2468e929w2938ee1d2e970a72@mail.gmail.com> Message-ID: *On Sat, 21 Jan 2006 07:09:43 -0600 * Ron Green climbed out of the dark hell and cried out: > Well, mysteriously, I got up this morning and the problem is gone. > I love self-healing applications. ;-) Maybe it's owing to fastcgi process. Within the time you were sleeping, your fastcgi process was restarted and things come back to right track. Just a guess. Sometimes I found fastcgi is a bad horse though without it we can not go ahead. From justus at ryoohki.net Sat Jan 21 10:31:39 2006 From: justus at ryoohki.net (Justus Pendleton) Date: Sat, 21 Jan 2006 15:31:39 +0000 (UTC) Subject: [typo] Heavy RAM usage? Instability? References: <43D1E5B1.8040404@dangerousideas.com> Message-ID: On 2006-01-21, jennyw wrote: > which is a thread on the TxD forums where three of the admins say how > much they dislike Typo, with Jason posting a list of heavy memory users > and showing that Typo seems to be the top culprit most times. Typo is the only ruby app I use and the only Rails app I use. I have no basis to judge which of the three is the real culprit -- ruby, rails, or typo -- but typo is a huge resource drain. And it has gotten much huger. I have two instances of typo. One a relatively current SVNish install that I use. That has 3 instances of ruby each using 43MB of virtual memory. A friend is using an older version (2.4? 2.5?) and that one is using 23MB of virtual memory. So my instance of typo is twice the memory hog of his. And his instance of typo is three times the memory hog of the next largest app on the system (dccifd). IMHO it makes typo not so great for use in most hosting environments because you have to pay more to have the resources to run it. I was running out of memory, which resulted in processes randomly dying. Justus From gpsnospam at gmail.com Sat Jan 21 10:52:52 2006 From: gpsnospam at gmail.com (Gary Shewan) Date: Sat, 21 Jan 2006 15:52:52 +0000 Subject: [typo] Heavy RAM usage? Instability? In-Reply-To: References: <43D1E5B1.8040404@dangerousideas.com> Message-ID: <32045E29-52A7-4897-8667-EF881B0CD19D@gmail.com> On 21 Jan 2006, at 15:31, Justus Pendleton wrote: > > IMHO it makes typo not so great for use in most hosting environments > because you have to pay more to have the resources to run it. I was > running out of memory, which resulted in processes randomly dying. I've never really had any issues on shared hosting, but I think it's a good point to make. Enhancements are great as are all the bells and whistles ... to an extent. But nothing beats good optimised code. Gary From stevenn at outerthought.org Sat Jan 21 11:19:53 2006 From: stevenn at outerthought.org (Steven Noels) Date: Sat, 21 Jan 2006 16:19:53 +0000 (UTC) Subject: [typo] Flickr Macros not working Message-ID: Hello, there might be some configuration switch I'm looking over, but AFAICT, the and are not being recognized on my SVN-trunk checkout-based blog. The Sparkline one does work, except if I add a (non-working) flickr or lightbox one below it, then the sparkline doesn't show as well. The tags are being rendered in the HTML as-is, so clearly they aren't recognized. Anyone an idea what might be causing this? Cheers, Steven. From arvind at grovernetwork.com Sat Jan 21 12:31:50 2006 From: arvind at grovernetwork.com (arvind s grover) Date: Sat, 21 Jan 2006 12:31:50 -0500 Subject: [typo] ziplux@comcast.net In-Reply-To: Message-ID: Jared, where did you set the ping settings? After you post, go to http://www.technorati.com/tag/BLAHBLAH replacing "BLAHBLAH" with one of the tags you just used in your post. You should be at the top of the list within a couple minutes. You could also go to your technorati account, under blogs, and see the last time your account was pinged. >Message: 5 >Date: Sat, 21 Jan 2006 01:34:45 -0500 >From: Jared Luxenberg >Subject: [typo] Pings not being sent? >To: typo-list at rubyforge.org >Message-ID: <43D1D605.3060509 at comcast.net> >Content-Type: text/plain; charset=ISO-8859-1 > >I have my settings set to automatically ping technorati and blo.gs, but >when I search for entries I've posted at those sites, I find nothing. >How can I be sure that Typo is pinging these sites properly? > >- Jared > > > From jennyw at dangerousideas.com Sat Jan 21 13:41:58 2006 From: jennyw at dangerousideas.com (jennyw) Date: Sat, 21 Jan 2006 10:41:58 -0800 Subject: [typo] Heavy RAM usage? Instability? In-Reply-To: References: <43D1E5B1.8040404@dangerousideas.com> Message-ID: <43D28076.8030604@dangerousideas.com> Justus Pendleton wrote: >Typo is the only ruby app I use and the only Rails app I use. I have no >basis to judge which of the three is the real culprit -- ruby, rails, or >typo -- but typo is a huge resource drain. And it has gotten much huger. >I have two instances of typo. One a relatively current SVNish install >that I use. That has 3 instances of ruby each using 43MB of virtual >memory. A friend is using an older version (2.4? 2.5?) and that one is >using 23MB of virtual memory. > > It's sad to hear that other people are experiencing this, too. I originally chose Typo because it was lighter weight than WP. That's still true for LOC, which counts for a lot, but I'm surprised at how resource intensive it is. I've noticed that Typo takes up 50% more memory than another RoR application I have running (which has almost as much code as Typo). I'm not sure why Typo is taking up so much memory, especially since it's a low-traffic site. In other words, the memory taken up isn't by a lot of controller instances existing at the same time. It's the amount of memory taken up when there are no pages being served (but after the first page has been served). I haven't looked through the code thoroughly, but I notice that there are a lot of things loaded in environment.rb (using require_dependency -- since environment.rb is loaded only once, I'm pretty sure that this is the same as require, per http://wiki.rubyonrails.org/rails/pages/RequireDependency). Is it necessary to load everything here? I don't know that everyone is going to be using jabber, flickr, tada, etc. I did try and comment many of them out, and noticed only a small decrease in memory (of course, I might have missed commenting out the cuplprit(s)). I also noticed that when the site first starts up, the memory usage is similar to other Rails applications. After loading the first page, the size almost doubles, so I thought there might be something in the controllers causing the meory usage. And, yet, application.rb and articles_controller.rb seem pretty innocent -- neither, at a glance, is loading much stuff. Any ideas what's taking up all the memory? Jen From phil at cryer.us Sat Jan 21 01:02:36 2006 From: phil at cryer.us (phil) Date: Sat, 21 Jan 2006 0:02:36 -0600 Subject: [typo] Failing to start In-Reply-To: 5d63856e0601200559t21c2d008pcf8c3c8e31b75c1@mail.gmail.com Message-ID: <5c0525602fb665d98da5c9f44d37478e@pepe.cryer.us> Typo has been running fine for months, but tonight I had a reboot and now it won't start. I've tried via Lighttpd and Webrick but both fail. I'm assuming this is more of a Ruby/Rails issue, but I am unsure of what's going on, I've never seen this before. I've reinstalled lighttpd and rubygem-rails, but to no avail. I'm running FreeBSD if that matters, and am using all of the ruby/gem stuff from ports, although at one time I did install some via gem install, not sure if that's an issue. Here is the output from the server: [phil at pepe:~/websites/fak3r/typo]$ ./script/server -e production => Booting lighttpd (use 'script/server webrick' to force WEBrick) => Rails application started on http://127.0.0.1:3000 => Call with -d to detach (requires absolute paths in config/lighttpd.conf) => Ctrl-C to shutdown server (see config/lighttpd.conf for options) /usr/local/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/commands/servers/lighttpd.rb:52: [BUG] Segmentation fault ruby 1.8.4 (2005-12-24) [i386-freebsd6] Abort trap: 6 (core dumped) [phil at pepe:~/websites/fak3r/typo]$ ./script/server webrick -e production => Booting WEBrick... => Rails application started on http://0.0.0.0:3000 => Ctrl-C to shutdown server; call with --help for options [2006-01-21 00:00:59] INFO WEBrick 1.3.1 [2006-01-21 00:00:59] INFO ruby 1.8.4 (2005-12-24) [i386-freebsd6] [2006-01-21 00:00:59] INFO WEBrick::HTTPServer#start: pid=65343 port=3000 /usr/local/lib/ruby/1.8/webrick/server.rb:162: [BUG] Segmentation fault ruby 1.8.4 (2005-12-24) [i386-freebsd6] Abort trap: 6 (core dumped) [phil at pepe:~/websites/fak3r/typo]$ P -- http://fak3r.com - you don't have to kick it From stevenn at outerthought.org Sun Jan 22 01:40:27 2006 From: stevenn at outerthought.org (Steven Noels) Date: Sun, 22 Jan 2006 06:40:27 +0000 (UTC) Subject: [typo] Flickr Macros not working References: Message-ID: Steven Noels outerthought.org> writes: > The tags are being rendered in the HTML as-is, so clearly they aren't > recognized. Hm. Looks like a weird Rails/Ruby difference between my development environment (Mac OSX) and my production box (FreeBSD on Segpub). I found a small error note in the logs: Rendering articles/view_page Filter macropost failed: SSL_CTX_new:: library has no ciphers and I guess the macro fails because of some underlying library issue. Has anyone else already encountered this? Cheers, Steven. From rodgerd at diaspora.gen.nz Sun Jan 22 02:27:02 2006 From: rodgerd at diaspora.gen.nz (Rodger Donaldson) Date: Sun, 22 Jan 2006 20:27:02 +1300 Subject: [typo] comments with created_at field wrong? In-Reply-To: <0891F275-C8DD-4419-ACD5-9A65D26DF3A3@kekova.ca> References: <20060104003440.GA29168@tannoiser.sytes.net> <13853.202.49.97.7.1136335213.squirrel@israel.diaspora.gen.nz> <0891F275-C8DD-4419-ACD5-9A65D26DF3A3@kekova.ca> Message-ID: <20060122072702.GA17438@diaspora.gen.nz> On Tue, Jan 03, 2006 at 09:35:51PM -0500, Chris Nolan.ca wrote: > You guys are both the other side of the GMT so I'm thinking it has > something to do with positive timezones but it's hard to say without > seeing some more data. > > If you leave two comments in a row, are they both off, and by the > same amount? Further investigation suggests the list poster who identified it as a FastCGI problem is spot on: with Typo 2.6, Ruby 1.8.2 (from debian-stable) and rails 0.14.3 the created_on attribute of a comment is always set to the start time of the typo fastcgi process. Kill the process, and the time always dates to when Apache restarts it. -- Rodger Donaldson rodgerd at diaspora.gen.nz "Forgive us if we bite your head off; we were led to assume you weren't using it in the first place" --Jim Allenspach, in comp.lang.perl.misc From tannoiser at tenzione.it Sun Jan 22 04:51:10 2006 From: tannoiser at tenzione.it (Maurizio Lemmo - Tannoiser) Date: Sun, 22 Jan 2006 10:51:10 +0100 Subject: [typo] comments with created_at field wrong? In-Reply-To: <20060122072702.GA17438@diaspora.gen.nz> References: <20060104003440.GA29168@tannoiser.sytes.net> <13853.202.49.97.7.1136335213.squirrel@israel.diaspora.gen.nz> <0891F275-C8DD-4419-ACD5-9A65D26DF3A3@kekova.ca> <20060122072702.GA17438@diaspora.gen.nz> Message-ID: <20060122095109.GC14783@tannoiser.sytes.net> * domenica 22 gennaio 2006, alle 20:27, Rodger Donaldson scrive: > Further investigation suggests the list poster who identified it as a > FastCGI problem is spot on: with Typo 2.6, Ruby 1.8.2 (from > debian-stable) and rails 0.14.3 the created_on attribute of a comment > is always set to the start time of the typo fastcgi process. Kill the > process, and the time always dates to when Apache restarts it. Hi Rodger, I believe you have a point here. In your opinion, is there any viable workaround? -- Maurizio - Tannoiser - Lemmo Founder Member of ERLUG http://erlug.linux.it ------------------------------------------------------------------------------- Questo ip e` il mio, vero? -- cena linuxmeeting 2002 From rasputnik at gmail.com Sun Jan 22 05:28:01 2006 From: rasputnik at gmail.com (Dick Davies) Date: Sun, 22 Jan 2006 10:28:01 +0000 Subject: [typo] comments with created_at field wrong? In-Reply-To: <20060122095109.GC14783@tannoiser.sytes.net> References: <20060104003440.GA29168@tannoiser.sytes.net> <13853.202.49.97.7.1136335213.squirrel@israel.diaspora.gen.nz> <0891F275-C8DD-4419-ACD5-9A65D26DF3A3@kekova.ca> <20060122072702.GA17438@diaspora.gen.nz> <20060122095109.GC14783@tannoiser.sytes.net> Message-ID: <3f1760601220228w6c148ean@mail.gmail.com> Is anyone else seeing this on posting articles too? On 22/01/06, Maurizio Lemmo - Tannoiser wrote: > * domenica 22 gennaio 2006, alle 20:27, Rodger Donaldson scrive: > > Further investigation suggests the list poster who identified it as a > > FastCGI problem is spot on: with Typo 2.6, Ruby 1.8.2 (from > > debian-stable) and rails 0.14.3 the created_on attribute of a comment > > is always set to the start time of the typo fastcgi process. Kill the > > process, and the time always dates to when Apache restarts it. > > Hi Rodger, > > I believe you have a point here. > In your opinion, is there any viable workaround? > > -- > Maurizio - Tannoiser - Lemmo > Founder Member of ERLUG http://erlug.linux.it > ------------------------------------------------------------------------------- > Questo ip e` il mio, vero? > -- cena linuxmeeting 2002 > _______________________________________________ > 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 scott at sigkill.org Sun Jan 22 10:37:05 2006 From: scott at sigkill.org (Scott Laird) Date: Sun, 22 Jan 2006 07:37:05 -0800 Subject: [typo] comments with created_at field wrong? In-Reply-To: <20060122095109.GC14783@tannoiser.sytes.net> References: <20060104003440.GA29168@tannoiser.sytes.net> <13853.202.49.97.7.1136335213.squirrel@israel.diaspora.gen.nz> <0891F275-C8DD-4419-ACD5-9A65D26DF3A3@kekova.ca> <20060122072702.GA17438@diaspora.gen.nz> <20060122095109.GC14783@tannoiser.sytes.net> Message-ID: <2520E846-8A07-4830-8671-45177FB1D041@sigkill.org> On Jan 22, 2006, at 1:51 AM, Maurizio Lemmo - Tannoiser wrote: > * domenica 22 gennaio 2006, alle 20:27, Rodger Donaldson scrive: >> Further investigation suggests the list poster who identified it as a >> FastCGI problem is spot on: with Typo 2.6, Ruby 1.8.2 (from >> debian-stable) and rails 0.14.3 the created_on attribute of a comment >> is always set to the start time of the typo fastcgi process. Kill >> the >> process, and the time always dates to when Apache restarts it. > > Hi Rodger, > > I believe you have a point here. > In your opinion, is there any viable workaround? That's a really bizarre bug. Can someone search the Rails bug DB; it doesn't sounds like it's Typo-specific. Scott From scott at sigkill.org Sun Jan 22 10:40:23 2006 From: scott at sigkill.org (Scott Laird) Date: Sun, 22 Jan 2006 07:40:23 -0800 Subject: [typo] Failing to start In-Reply-To: <5c0525602fb665d98da5c9f44d37478e@pepe.cryer.us> References: <5c0525602fb665d98da5c9f44d37478e@pepe.cryer.us> Message-ID: <8C063D31-F0AA-4AAE-8E17-D608CCE7E6B5@sigkill.org> On Jan 20, 2006, at 10:02 PM, phil wrote: > Typo has been running fine for months, but tonight I had a reboot > and now it won't start. I've tried via Lighttpd and Webrick but > both fail. I'm assuming this is more of a Ruby/Rails issue, but I > am unsure of what's going on, I've never seen this before. I've > reinstalled lighttpd and rubygem-rails, but to no avail. I'm > running FreeBSD if that matters, and am using all of the ruby/gem > stuff from ports, although at one time I did install some via gem > install, not sure if that's an issue. Here is the output from the > server: > > [phil at pepe:~/websites/fak3r/typo]$ ./script/server -e production > => Booting lighttpd (use 'script/server webrick' to force WEBrick) > => Rails application started on http://127.0.0.1:3000 > => Call with -d to detach (requires absolute paths in config/ > lighttpd.conf) > => Ctrl-C to shutdown server (see config/lighttpd.conf for options) > /usr/local/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/commands/servers/ > lighttpd.rb:52: [BUG] Segmentation fault > ruby 1.8.4 (2005-12-24) [i386-freebsd6] > > Abort trap: 6 (core dumped) > > [phil at pepe:~/websites/fak3r/typo]$ ./script/server webrick -e > production > => Booting WEBrick... > => Rails application started on http://0.0.0.0:3000 > => Ctrl-C to shutdown server; call with --help for options > [2006-01-21 00:00:59] INFO WEBrick 1.3.1 > [2006-01-21 00:00:59] INFO ruby 1.8.4 (2005-12-24) [i386-freebsd6] > [2006-01-21 00:00:59] INFO WEBrick::HTTPServer#start: pid=65343 > port=3000 > /usr/local/lib/ruby/1.8/webrick/server.rb:162: [BUG] Segmentation > fault > ruby 1.8.4 (2005-12-24) [i386-freebsd6] > > Abort trap: 6 (core dumped) > [phil at pepe:~/websites/fak3r/typo]$ What have you changed recently? If you're dying with a segmentation fault, then you probably have something wrong with either Ruby itself or one of the compiled libraries in use. Scott From scott at sigkill.org Sun Jan 22 10:46:05 2006 From: scott at sigkill.org (Scott Laird) Date: Sun, 22 Jan 2006 07:46:05 -0800 Subject: [typo] Flickr Macros not working In-Reply-To: References: Message-ID: On Jan 21, 2006, at 8:19 AM, Steven Noels wrote: > there might be some configuration switch I'm looking over, but > AFAICT, the > and are not being recognized on my > SVN-trunk > checkout-based blog. The Sparkline one does work, except if I add a > (non-working) flickr or lightbox one below it, then the sparkline > doesn't show > as well. The tags are being rendered in the HTML as-is, so clearly > they aren't > recognized. > > Anyone an idea what might be causing this? Check the logs; when an exception occurs in a filter, Typo stops rendering the filtered text and sticks with the original source. We should probably clean this up a bit for macro filters; they should fail on a line-by-line basis, but it looks like we're getting more of an all-or-nothing failure pattern. Scott From scott at sigkill.org Sun Jan 22 10:48:44 2006 From: scott at sigkill.org (Scott Laird) Date: Sun, 22 Jan 2006 07:48:44 -0800 Subject: [typo] Pings not being sent? In-Reply-To: <43D21A80.1050205@seagul.co.uk> References: <43D1D605.3060509@comcast.net> <43D21A80.1050205@seagul.co.uk> Message-ID: <29E210A0-3A84-476B-9F98-96B82D31DB57@sigkill.org> If someone can verify that the patch works, then I'll try to apply it this week. Scott On Jan 21, 2006, at 3:26 AM, Chris Roos wrote: > It's not currently implemented in Typo. > > You could apply the patch from ticket #526[1] to solve the problem. > > Chris > > [1] http://typo.leetsoft.com/trac/ticket/526 > > > Jared Luxenberg wrote: >> I have my settings set to automatically ping technorati and >> blo.gs, but >> when I search for entries I've posted at those sites, I find nothing. >> How can I be sure that Typo is pinging these sites properly? >> >> - Jared >> >> >> _______________________________________________ >> 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 From scott at sigkill.org Sun Jan 22 10:54:21 2006 From: scott at sigkill.org (Scott Laird) Date: Sun, 22 Jan 2006 07:54:21 -0800 Subject: [typo] Heavy RAM usage? Instability? In-Reply-To: <43D28076.8030604@dangerousideas.com> References: <43D1E5B1.8040404@dangerousideas.com> <43D28076.8030604@dangerousideas.com> Message-ID: <5C68843E-FA7F-47E3-8466-60A715B58A66@sigkill.org> On Jan 21, 2006, at 10:41 AM, jennyw wrote: > Justus Pendleton wrote: > >> Typo is the only ruby app I use and the only Rails app I use. I >> have no >> basis to judge which of the three is the real culprit -- ruby, >> rails, or >> typo -- but typo is a huge resource drain. And it has gotten much >> huger. >> I have two instances of typo. One a relatively current SVNish install >> that I use. That has 3 instances of ruby each using 43MB of virtual >> memory. A friend is using an older version (2.4? 2.5?) and that >> one is >> using 23MB of virtual memory. >> >> > > It's sad to hear that other people are experiencing this, too. I > originally chose Typo because it was lighter weight than WP. That's > still true for LOC, which counts for a lot, but I'm surprised at how > resource intensive it is. > > I've noticed that Typo takes up 50% more memory than another RoR > application I have running (which has almost as much code as Typo). > I'm > not sure why Typo is taking up so much memory, especially since it's a > low-traffic site. In other words, the memory taken up isn't by a > lot of > controller instances existing at the same time. It's the amount of > memory taken up when there are no pages being served (but after the > first page has been served). > > I haven't looked through the code thoroughly, but I notice that there > are a lot of things loaded in environment.rb (using require_dependency > -- since environment.rb is loaded only once, I'm pretty sure that > this > is the same as require, per > http://wiki.rubyonrails.org/rails/pages/RequireDependency). Is it > necessary to load everything here? I don't know that everyone is going > to be using jabber, flickr, tada, etc. I did try and comment many of > them out, and noticed only a small decrease in memory (of course, I > might have missed commenting out the cuplprit(s)). > > I also noticed that when the site first starts up, the memory usage is > similar to other Rails applications. After loading the first page, the > size almost doubles, so I thought there might be something in the > controllers causing the meory usage. And, yet, application.rb and > articles_controller.rb seem pretty innocent -- neither, at a > glance, is > loading much stuff. > > Any ideas what's taking up all the memory? A couple questions: 1. Is the memory usage fairly constant, or is it growing? There was a memory leak in Rails 0.14.2 (I think) that caused Typo to grow without bound; that leak has been fixed, but there could be other leaks. 2. How much memory is Typo using. I keep hearing numbers like "lots", but I've only seen one set of numbers so far. I'll try to look into this soon, but I need to fix a few bugs first, and my schedule has been fairly unpredictable lately. Scott From tannoiser at tenzione.it Sun Jan 22 11:01:20 2006 From: tannoiser at tenzione.it (Maurizio Lemmo - Tannoiser) Date: Sun, 22 Jan 2006 17:01:20 +0100 Subject: [typo] comments with created_at field wrong? In-Reply-To: <2520E846-8A07-4830-8671-45177FB1D041@sigkill.org> References: <20060104003440.GA29168@tannoiser.sytes.net> <13853.202.49.97.7.1136335213.squirrel@israel.diaspora.gen.nz> <0891F275-C8DD-4419-ACD5-9A65D26DF3A3@kekova.ca> <20060122072702.GA17438@diaspora.gen.nz> <20060122095109.GC14783@tannoiser.sytes.net> <2520E846-8A07-4830-8671-45177FB1D041@sigkill.org> Message-ID: <20060122160120.GA28659@tannoiser.sytes.net> * domenica 22 gennaio 2006, alle 07:37, Scott Laird scrive: > That's a really bizarre bug. Can someone search the Rails bug DB; it > doesn't sounds like it's Typo-specific. Good guess Scott. I search a bit, and I found this: http://dev.rubyonrails.org/ticket/2257 That it seems exactly the problem (i use postgres). They suggest a couple of workaround. The "create a trigger", seems to me, more viable than mess with the rails code :) I'll give a try ASAP. -- Maurizio - Tannoiser - Lemmo Founder Member of ERLUG http://erlug.linux.it ------------------------------------------------------------------------------- And on the seventh day, He exited from append mode. From jennyw at dangerousideas.com Sun Jan 22 13:44:31 2006 From: jennyw at dangerousideas.com (jennyw) Date: Sun, 22 Jan 2006 10:44:31 -0800 Subject: [typo] Heavy RAM usage? Instability? In-Reply-To: <5C68843E-FA7F-47E3-8466-60A715B58A66@sigkill.org> References: <43D1E5B1.8040404@dangerousideas.com> <43D28076.8030604@dangerousideas.com> <5C68843E-FA7F-47E3-8466-60A715B58A66@sigkill.org> Message-ID: <43D3D28F.5070604@dangerousideas.com> Hi, Scott, Scott Laird wrote: >1. Is the memory usage fairly constant, or is it growing? There was >a memory leak in Rails 0.14.2 (I think) that caused Typo to grow >without bound; that leak has been fixed, but there could be other leaks. >2. How much memory is Typo using. I keep hearing numbers like >"lots", but I've only seen one set of numbers so far. > There's a thread on Text Drive with some info: http://forum.textdrive.com/viewtopic.php?id=8371 Jason, one of the admins, finds that Typon installations on at least one of their servers average 100 MB. I'm not sure what kind of traffic those installations experience, nor what plugins and themes they're using. My own Typo installation is about 50 MB. Very low traffic. It starts off at around 30 MB (like my other Rails apps) and then after the first page load goes to 50 MB (unlike other RoR apps, which tend to stay around 30 MB unless something unusual is going on). The memory usage on my installation of Typo doesn't grow much, although that could be because of low volume (I've tested with ab, too, but that doesn't prove much). It has gone up 2MB since yesterday, when it was steady around 50 MB. FYI, loading the front page just now gave me a 503 error. Loading it again worked, and subsequent loads are working. Also, the memory usage is pretty consistent with a couple of themes, including Azure and Origami. Jen From uzair at nairang.org Sun Jan 22 14:22:53 2006 From: uzair at nairang.org (Syed Uzair Aqeel) Date: Mon, 23 Jan 2006 00:22:53 +0500 Subject: [typo] Heavy RAM usage? Instability? In-Reply-To: <43D3D28F.5070604@dangerousideas.com> Message-ID: <20060122192421.69C6020143@aaa.dreamhost.com> I see 30-45MB loads on a regular basis...but my host hasn't complained, so I'll just stay quiet ;) > FYI, loading the front page just now gave me a 503 error. Loading it > again worked, and subsequent loads are working. I see this a *lot*. Not just when restarting, but even just when clearing the cache... Uzair From typo-list at jasonbainbridge.com Sun Jan 22 14:25:36 2006 From: typo-list at jasonbainbridge.com (Jason Bainbridge) Date: Sun, 22 Jan 2006 13:25:36 -0600 Subject: [typo] Heavy RAM usage? Instability? In-Reply-To: 43D3D28F.5070604@dangerousideas.com Message-ID: <0f70625cf6bf8802f2fcf71ed7cdbf0c@jasonbainbridge.com> On Sun, 22 Jan 2006 10:44:31 -0800, jennyw wrote: > Hi, Scott, > > Scott Laird wrote: > > >1. Is the memory usage fairly constant, or is it growing? There was > >a memory leak in Rails 0.14.2 (I think) that caused Typo to grow > >without bound; that leak has been fixed, but there could be other leaks. > >2. How much memory is Typo using. I keep hearing numbers like > >"lots", but I've only seen one set of numbers so far. > > > > There's a thread on Text Drive with some info: > > http://forum.textdrive.com/viewtopic.php?id=8371 Reading that thread made me realize one thing, I am NEVER going to use or recommend TextDrive to anyone, is it possible for admins to be any more immature than that? What is the best way on a Linux system to determine how much memory Typo is using? Looking at top my three ruby processes look like: 17219 jaseone 9 0 23908 22m 1952 S 0.0 0.5 0:13.01 ruby 17220 jaseone 9 0 23188 1260 1256 S 0.0 0.0 0:07.47 ruby 17221 jaseone 9 0 22060 948 944 S 0.0 0.0 0:02.81 ruby That is on a very low traffic test install though but I did try some rapid refreshes to try to bump it up with no joy, the site is typo.jasonbainbridge.com. I am also not using FastCGI like most others and instead am using SCGI so does that maybe make a difference? Regards, -- An Aussie geek stuck in Texas http://jasonbainbridge.com From tannoiser at tenzione.it Sun Jan 22 14:37:53 2006 From: tannoiser at tenzione.it (Maurizio Lemmo - Tannoiser) Date: Sun, 22 Jan 2006 20:37:53 +0100 Subject: [typo] comments with created_at field wrong? In-Reply-To: <20060122160120.GA28659@tannoiser.sytes.net> References: <20060104003440.GA29168@tannoiser.sytes.net> <13853.202.49.97.7.1136335213.squirrel@israel.diaspora.gen.nz> <0891F275-C8DD-4419-ACD5-9A65D26DF3A3@kekova.ca> <20060122072702.GA17438@diaspora.gen.nz> <20060122095109.GC14783@tannoiser.sytes.net> <2520E846-8A07-4830-8671-45177FB1D041@sigkill.org> <20060122160120.GA28659@tannoiser.sytes.net> Message-ID: <20060122193752.GB24930@tannoiser.sytes.net> * domenica 22 gennaio 2006, alle 17:01, Maurizio Lemmo - Tannoiser scrive: > I search a bit, and I found this: http://dev.rubyonrails.org/ticket/2257 On this subject, again, i tested this sql code: CREATE OR REPLACE FUNCTION my_fix_time() RETURNS trigger AS ' BEGIN new.created_at = current_timestamp; return new; END; ' language plpgsql; CREATE TRIGGER my_fix_time_comment before insert on comments for each row execute procedure my_fix_time(); CREATE TRIGGER my_fix_time_articles before insert on articles for each row execute procedure my_fix_time(); That seems solve the created_at issue. I share it because different from what suggested on dev.rubyonrails (I guess it depends from postgres version) It's a temporary solution, but better than update manually the entry in the db... :) HTH. -- Maurizio - Tannoiser - Lemmo Founder Member of ERLUG http://erlug.linux.it ------------------------------------------------------------------------------- Veronica: God Lilly, I see the Prozac's working. Lilly: High on life, Veronica Mars. I've got a secret. A good one. -- Veronica Mars: 1x01 From rodgerd at diaspora.gen.nz Sun Jan 22 15:14:25 2006 From: rodgerd at diaspora.gen.nz (Rodger Donaldson) Date: Mon, 23 Jan 2006 09:14:25 +1300 Subject: [typo] comments with created_at field wrong? In-Reply-To: <20060122193752.GB24930@tannoiser.sytes.net> References: <20060104003440.GA29168@tannoiser.sytes.net> <13853.202.49.97.7.1136335213.squirrel@israel.diaspora.gen.nz> <0891F275-C8DD-4419-ACD5-9A65D26DF3A3@kekova.ca> <20060122072702.GA17438@diaspora.gen.nz> <20060122095109.GC14783@tannoiser.sytes.net> <2520E846-8A07-4830-8671-45177FB1D041@sigkill.org> <20060122160120.GA28659@tannoiser.sytes.net> <20060122193752.GB24930@tannoiser.sytes.net> Message-ID: <20060122201425.GA29394@diaspora.gen.nz> On Sun, Jan 22, 2006 at 08:37:53PM +0100, Maurizio Lemmo - Tannoiser wrote: > I share it because different from what suggested on dev.rubyonrails (I > guess it depends from postgres version) > > It's a temporary solution, but better than update manually the entry in > the db... :) Works a charm on my setup. Thanks. -- Rodger Donaldson rodgerd at diaspora.gen.nz From stevenn at outerthought.org Sun Jan 22 15:45:42 2006 From: stevenn at outerthought.org (Steven Noels) Date: Sun, 22 Jan 2006 20:45:42 +0000 (UTC) Subject: [typo] Flickr Macros not working References: Message-ID: Scott Laird sigkill.org> writes: > Check the logs; when an exception occurs in a filter, Typo stops > rendering the filtered text and sticks with the original source. Yes, see my other message. I'm waiting for my hosting company to confirm whether it's a Ruby/OpenSSL issue. Logging of the macro execution _is_ pretty terse, and in production mode the error (because it _is_ an error) isn't even logged. > We > should probably clean this up a bit for macro filters; they should > fail on a line-by-line basis, but it looks like we're getting more of > an all-or-nothing failure pattern. Thanks, Steven. From steve.longdo at gmail.com Sun Jan 22 19:27:25 2006 From: steve.longdo at gmail.com (Steve Longdo) Date: Sun, 22 Jan 2006 18:27:25 -0600 Subject: [typo] Difficulty in developing sidebar plugin... Message-ID: I've been working on a sidebar plugin for polling. I would like to have the poll show up with AJAX voting links which someone could click and then the DOM for the polling piece would be updated with the poll results. Sounds reasonable right? When trying to link_to_remote my plugin controller I receive the following error. Any ideas for how to have sidebars with more than one "page" of content to them? uninitialized constant Plugin RAILS_ROOT: . Application Trace | Framework Trace | Full Trace /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:200:in `const_missing' /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:72:in `const_missing' #{RAILS_ROOT}/components/plugins/sidebars/poll_controller.rb:1 routing.rb:234:in `traverse_to_controller' generated/routing/recognition.rb:427:in `eval' generated/routing/recognition.rb:427:in `recognize_path' /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:200:in `const_missing' /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:72:in `const_missing' /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:207:in `load' /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:39:in `require_or_load' /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:22:in `depend_on' /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:178:in `require_dependency' /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:134:in `load_file!' /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:97:in `const_load!' /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:80:in `const_load!' /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:72:in `const_missing' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/routing.rb:234:in `traverse_to_controller' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/routing.rb:458:in `recognize!' /usr/local/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/dispatcher.rb:38:in `dispatch' /usr/local/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/fcgi_handler.rb:141:in `process_request' /usr/local/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/fcgi_handler.rb:53:in `process!' /usr/local/lib/ruby/site_ruby/1.8/fcgi.rb:600:in `each_cgi' /usr/local/lib/ruby/site_ruby/1.8/fcgi.rb:117:in `session' /usr/local/lib/ruby/site_ruby/1.8/fcgi.rb:104:in `each_request' /usr/local/lib/ruby/site_ruby/1.8/fcgi.rb:36:in `each' /usr/local/lib/ruby/site_ruby/1.8/fcgi.rb:597:in `each_cgi' /usr/local/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/fcgi_handler.rb:52:in `process!' /usr/local/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/fcgi_handler.rb:22:in `process!' public/dispatch.fcgi:24 /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:200:in `const_missing' /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:72:in `const_missing' #{RAILS_ROOT}/components/plugins/sidebars/poll_controller.rb:1 /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:207:in `load' /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:39:in `require_or_load' /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:22:in `depend_on' /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:178:in `require_dependency' /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:134:in `load_file!' /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:97:in `const_load!' /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:80:in `const_load!' /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:72:in `const_missing' routing.rb:234:in `traverse_to_controller' generated/routing/recognition.rb:427:in `eval' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/routing.rb:234:in `traverse_to_controller' generated/routing/recognition.rb:427:in `recognize_path' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/routing.rb:458:in `recognize!' /usr/local/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/dispatcher.rb:38:in `dispatch' /usr/local/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/fcgi_handler.rb:141:in `process_request' /usr/local/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/fcgi_handler.rb:53:in `process!' /usr/local/lib/ruby/site_ruby/1.8/fcgi.rb:600:in `each_cgi' /usr/local/lib/ruby/site_ruby/1.8/fcgi.rb:117:in `session' /usr/local/lib/ruby/site_ruby/1.8/fcgi.rb:104:in `each_request' /usr/local/lib/ruby/site_ruby/1.8/fcgi.rb:36:in `each' /usr/local/lib/ruby/site_ruby/1.8/fcgi.rb:597:in `each_cgi' /usr/local/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/fcgi_handler.rb:52:in `process!' /usr/local/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/fcgi_handler.rb:22:in `process!' public/dispatch.fcgi:24 This error occured while loading the following files: ./components/plugins/sidebars/poll_controller.rb plugin.rb -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/typo-list/attachments/20060122/365ef27e/attachment.htm From phil at cryer.us Sun Jan 22 22:28:31 2006 From: phil at cryer.us (phil) Date: Sun, 22 Jan 2006 21:28:31 -0600 Subject: [typo] Failing to start In-Reply-To: 8C063D31-F0AA-4AAE-8E17-D608CCE7E6B5@sigkill.org Message-ID: <6f2a968e15a748801dc5886f955c4db1@pepe.cryer.us> On Sun, 22 Jan 2006 07:40:23 -0800, Scott Laird wrote: > > On Jan 20, 2006, at 10:02 PM, phil wrote: > >> Typo has been running fine for months, but tonight I had a reboot >> and now it won't start. I've tried via Lighttpd and Webrick but >> both fail. I'm assuming this is more of a Ruby/Rails issue, but I >> am unsure of what's going on, I've never seen this before. I've >> reinstalled lighttpd and rubygem-rails, but to no avail. I'm >> running FreeBSD if that matters, and am using all of the ruby/gem >> stuff from ports, although at one time I did install some via gem >> install, not sure if that's an issue. Here is the output from the >> server: > What have you changed recently? If you're dying with a segmentation > fault, then you probably have something wrong with either Ruby itself > or one of the compiled libraries in use. Thanks Scott Not sure what I've changed, I'm always updating FreeBSD, but again, Typo worked fine and I was updating/stop/starting it all the time and such, so why it only showed up after a reboot is a mystery. Regardless I poked around and re-installed rubygem-actionpack and things are back to normal. Thanks again. P -- http://fak3r.com - you don't have to kick it From chris at seagul.co.uk Mon Jan 23 03:57:36 2006 From: chris at seagul.co.uk (Chris Roos) Date: Mon, 23 Jan 2006 08:57:36 +0000 Subject: [typo] Pings not being sent? In-Reply-To: <29E210A0-3A84-476B-9F98-96B82D31DB57@sigkill.org> References: <43D1D605.3060509@comcast.net> <43D21A80.1050205@seagul.co.uk> <29E210A0-3A84-476B-9F98-96B82D31DB57@sigkill.org> Message-ID: <43D49A80.6060802@seagul.co.uk> Hi Scott, The patch over-rides the sending of trackbacks (standard http get) with the sending of 'pings' (xmlrpc). Although trackbacks are currently created and sent in the correct format, they are almost never sent to the correct trackback url; rather they are sent to the url of the post itself. Bearing this in mind I'd suggest it's ok to merge this patch until a more all encompassing (supporting trackback, pingback and notification to blog aggregators) patch can be created. Chris Scott Laird wrote: > If someone can verify that the patch works, then I'll try to apply it > this week. > > > Scott > > On Jan 21, 2006, at 3:26 AM, Chris Roos wrote: > >> It's not currently implemented in Typo. >> >> You could apply the patch from ticket #526[1] to solve the problem. >> >> Chris >> >> [1] http://typo.leetsoft.com/trac/ticket/526 >> >> >> Jared Luxenberg wrote: >>> I have my settings set to automatically ping technorati and >>> blo.gs, but >>> when I search for entries I've posted at those sites, I find nothing. >>> How can I be sure that Typo is pinging these sites properly? >>> >>> - Jared >>> >>> >>> _______________________________________________ >>> 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 > > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list From cedric at feelfree.homelinux.com Mon Jan 23 04:48:28 2006 From: cedric at feelfree.homelinux.com (cedric) Date: Mon, 23 Jan 2006 10:48:28 +0100 (CET) Subject: [typo] Pings not being sent? In-Reply-To: <43D49A80.6060802@seagul.co.uk> References: <43D1D605.3060509@comcast.net> <43D21A80.1050205@seagul.co.uk> <29E210A0-3A84-476B-9F98-96B82D31DB57@sigkill.org> <43D49A80.6060802@seagul.co.uk> Message-ID: <19695.212.215.1.67.1138009708.squirrel@kobayazen.ath.cx> Hi all, Sorry for the silly question but what is the command to apply a patch? I would like to test this patch too but I'm not very easy with patch commands! Thanks for your explanations. > Hi Scott, > > The patch over-rides the sending of trackbacks (standard http get) with > the sending of 'pings' (xmlrpc). Although trackbacks are currently > created and sent in the correct format, they are almost never sent to > the correct trackback url; rather they are sent to the url of the post > itself. Bearing this in mind I'd suggest it's ok to merge this patch > until a more all encompassing (supporting trackback, pingback and > notification to blog aggregators) patch can be created. > > Chris > > Scott Laird wrote: >> If someone can verify that the patch works, then I'll try to apply it >> this week. >> >> >> Scott >> >> On Jan 21, 2006, at 3:26 AM, Chris Roos wrote: >> >>> It's not currently implemented in Typo. >>> >>> You could apply the patch from ticket #526[1] to solve the problem. >>> >>> Chris >>> >>> [1] http://typo.leetsoft.com/trac/ticket/526 >>> >>> >>> Jared Luxenberg wrote: >>>> I have my settings set to automatically ping technorati and >>>> blo.gs, but >>>> when I search for entries I've posted at those sites, I find nothing. >>>> How can I be sure that Typo is pinging these sites properly? >>>> >>>> - Jared >>>> >>>> >>>> _______________________________________________ >>>> 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 >> >> _______________________________________________ >> 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 > From victor-typo at carotena.net Mon Jan 23 05:54:09 2006 From: victor-typo at carotena.net (Victor Jalencas) Date: Mon, 23 Jan 2006 11:54:09 +0100 Subject: [typo] Heavy RAM usage? Instability? In-Reply-To: <43D3D28F.5070604@dangerousideas.com> References: <43D1E5B1.8040404@dangerousideas.com> <43D28076.8030604@dangerousideas.com> <5C68843E-FA7F-47E3-8466-60A715B58A66@sigkill.org> <43D3D28F.5070604@dangerousideas.com> Message-ID: <43D4B5D1.7010604@carotena.net> I'm realizing that if typo allowed for multi-blog installations, perhaps I could reduce the memory consumption, because I have like 5 concurrent instances of Typo to serve 5 different blogs. If I could combine them somehow, a single dispatch would be enough for all of them. I think I saw someone mentioning that he was working on having this happen. I'd definitely benefit of that change, but I realize that this implies major architectural changes and that it won't be easy to merge these changes into the main codebase, unless the maintainers put a voluntary effort to facilitate that. Scott, Tobi, what do you say of having Typo be multi-blog capable? Victor jennyw wrote: > Hi, Scott, > > Scott Laird wrote: > > >1. Is the memory usage fairly constant, or is it growing? There was > >a memory leak in Rails 0.14.2 (I think) that caused Typo to grow > >without bound; that leak has been fixed, but there could be other leaks. > >2. How much memory is Typo using. I keep hearing numbers like > >"lots", but I've only seen one set of numbers so far. > > > > There's a thread on Text Drive with some info: > > http://forum.textdrive.com/viewtopic.php?id=8371 > > Jason, one of the admins, finds that Typon installations on at least one > of their servers average 100 MB. I'm not sure what kind of traffic those > installations experience, nor what plugins and themes they're using. > > My own Typo installation is about 50 MB. Very low traffic. It starts > off at around 30 MB (like my other Rails apps) and then after the first > page load goes to 50 MB (unlike other RoR apps, which tend to stay > around 30 MB unless something unusual is going on). The memory usage on > my installation of Typo doesn't grow much, although that could be > because of low volume (I've tested with ab, too, but that doesn't prove > much). It has gone up 2MB since yesterday, when it was steady around 50 MB. > > FYI, loading the front page just now gave me a 503 error. Loading it > again worked, and subsequent loads are working. > > Also, the memory usage is pretty consistent with a couple of themes, > including Azure and Origami. > > Jen > > > > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list From scott at sigkill.org Mon Jan 23 10:03:38 2006 From: scott at sigkill.org (Scott Laird) Date: Mon, 23 Jan 2006 07:03:38 -0800 Subject: [typo] Heavy RAM usage? Instability? In-Reply-To: <43D4B5D1.7010604@carotena.net> References: <43D1E5B1.8040404@dangerousideas.com> <43D28076.8030604@dangerousideas.com> <5C68843E-FA7F-47E3-8466-60A715B58A66@sigkill.org> <43D3D28F.5070604@dangerousideas.com> <43D4B5D1.7010604@carotena.net> Message-ID: On Jan 23, 2006, at 2:54 AM, Victor Jalencas wrote: > I'm realizing that if typo allowed for multi-blog installations, > perhaps > I could reduce the memory consumption, because I have like 5 > concurrent > instances of Typo to serve 5 different blogs. If I could combine them > somehow, a single dispatch would be enough for all of them. > > I think I saw someone mentioning that he was working on having this > happen. I'd definitely benefit of that change, but I realize that this > implies major architectural changes and that it won't be easy to merge > these changes into the main codebase, unless the maintainers put a > voluntary effort to facilitate that. > > Scott, Tobi, what do you say of having Typo be multi-blog capable? Multi-blog support would be interesting, and fairly useful, but it'll almost certainly be a big, invasive patch. It'll have to touch a *lot* of code, and it'll be difficult to write. I'm not against it, but I don't feel any desire to write the code myself. Scott From scott at sigkill.org Mon Jan 23 10:04:03 2006 From: scott at sigkill.org (Scott Laird) Date: Mon, 23 Jan 2006 07:04:03 -0800 Subject: [typo] Pings not being sent? In-Reply-To: <19695.212.215.1.67.1138009708.squirrel@kobayazen.ath.cx> References: <43D1D605.3060509@comcast.net> <43D21A80.1050205@seagul.co.uk> <29E210A0-3A84-476B-9F98-96B82D31DB57@sigkill.org> <43D49A80.6060802@seagul.co.uk> <19695.212.215.1.67.1138009708.squirrel@kobayazen.ath.cx> Message-ID: <66A4AC78-C84D-4E3D-8FD8-29EA4668CC87@sigkill.org> The command to apply a patch is 'patch' :-). Scott On Jan 23, 2006, at 1:48 AM, cedric wrote: > Hi all, > > Sorry for the silly question but what is the command to apply a patch? > I would like to test this patch too but I'm not very easy with patch > commands! > > Thanks for your explanations. > >> Hi Scott, >> >> The patch over-rides the sending of trackbacks (standard http get) >> with >> the sending of 'pings' (xmlrpc). Although trackbacks are currently >> created and sent in the correct format, they are almost never sent to >> the correct trackback url; rather they are sent to the url of the >> post >> itself. Bearing this in mind I'd suggest it's ok to merge this patch >> until a more all encompassing (supporting trackback, pingback and >> notification to blog aggregators) patch can be created. >> >> Chris >> >> Scott Laird wrote: >>> If someone can verify that the patch works, then I'll try to >>> apply it >>> this week. >>> >>> >>> Scott >>> >>> On Jan 21, 2006, at 3:26 AM, Chris Roos wrote: >>> >>>> It's not currently implemented in Typo. >>>> >>>> You could apply the patch from ticket #526[1] to solve the problem. >>>> >>>> Chris >>>> >>>> [1] http://typo.leetsoft.com/trac/ticket/526 >>>> >>>> >>>> Jared Luxenberg wrote: >>>>> I have my settings set to automatically ping technorati and >>>>> blo.gs, but >>>>> when I search for entries I've posted at those sites, I find >>>>> nothing. >>>>> How can I be sure that Typo is pinging these sites properly? >>>>> >>>>> - Jared >>>>> >>>>> >>>>> _______________________________________________ >>>>> 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 >>> >>> _______________________________________________ >>> 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 >> > > > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list From scott at sigkill.org Mon Jan 23 10:04:56 2006 From: scott at sigkill.org (Scott Laird) Date: Mon, 23 Jan 2006 07:04:56 -0800 Subject: [typo] Pings not being sent? In-Reply-To: <43D49A80.6060802@seagul.co.uk> References: <43D1D605.3060509@comcast.net> <43D21A80.1050205@seagul.co.uk> <29E210A0-3A84-476B-9F98-96B82D31DB57@sigkill.org> <43D49A80.6060802@seagul.co.uk> Message-ID: <463A4AD9-8D33-45D8-9D91-48A6032A7613@sigkill.org> Hmm, okay. Is anyone working on trackbacks? Scott On Jan 23, 2006, at 12:57 AM, Chris Roos wrote: > Hi Scott, > > The patch over-rides the sending of trackbacks (standard http get) > with > the sending of 'pings' (xmlrpc). Although trackbacks are currently > created and sent in the correct format, they are almost never sent to > the correct trackback url; rather they are sent to the url of the post > itself. Bearing this in mind I'd suggest it's ok to merge this patch > until a more all encompassing (supporting trackback, pingback and > notification to blog aggregators) patch can be created. > > Chris > > Scott Laird wrote: >> If someone can verify that the patch works, then I'll try to apply it >> this week. >> >> >> Scott >> >> On Jan 21, 2006, at 3:26 AM, Chris Roos wrote: >> >>> It's not currently implemented in Typo. >>> >>> You could apply the patch from ticket #526[1] to solve the problem. >>> >>> Chris >>> >>> [1] http://typo.leetsoft.com/trac/ticket/526 >>> >>> >>> Jared Luxenberg wrote: >>>> I have my settings set to automatically ping technorati and >>>> blo.gs, but >>>> when I search for entries I've posted at those sites, I find >>>> nothing. >>>> How can I be sure that Typo is pinging these sites properly? >>>> >>>> - Jared >>>> >>>> >>>> _______________________________________________ >>>> 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 >> >> _______________________________________________ >> 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 From typo-list at jasonbainbridge.com Mon Jan 23 10:09:25 2006 From: typo-list at jasonbainbridge.com (Jason Bainbridge) Date: Mon, 23 Jan 2006 9:09:25 -0600 Subject: [typo] Pings not being sent? In-Reply-To: 66A4AC78-C84D-4E3D-8FD8-29EA4668CC87@sigkill.org Message-ID: <8e26b25458a583200075432c1f8afc73@jasonbainbridge.com> On Mon, 23 Jan 2006 07:04:03 -0800, Scott Laird wrote: > The command to apply a patch is 'patch' :-). and there is a quick howto at: http://typoforums.org/index.php/topic,20.0.html Regards, -- An Aussie geek stuck in Texas http://jasonbainbridge.com From scott at sigkill.org Mon Jan 23 11:23:23 2006 From: scott at sigkill.org (Scott Laird) Date: Mon, 23 Jan 2006 08:23:23 -0800 Subject: [typo] Bugs to work on Message-ID: <377705AC-5BD0-4D19-995C-BE6FAA8D9873@sigkill.org> I've obviously been a bit out of touch lately, but I think I can finally get back to Typo hacking. At the moment, we have 133 open tickets, which is a bit more then I really feel like tackling at the moment. Is there any sort of consensus on which bugs are the more irritating, an/or which patches are most in need of being applied? Scott From chris at seagul.co.uk Mon Jan 23 12:14:26 2006 From: chris at seagul.co.uk (Chris Roos) Date: Mon, 23 Jan 2006 17:14:26 +0000 Subject: [typo] Pings not being sent? In-Reply-To: <463A4AD9-8D33-45D8-9D91-48A6032A7613@sigkill.org> References: <43D1D605.3060509@comcast.net> <43D21A80.1050205@seagul.co.uk> <29E210A0-3A84-476B-9F98-96B82D31DB57@sigkill.org> <43D49A80.6060802@seagul.co.uk> <463A4AD9-8D33-45D8-9D91-48A6032A7613@sigkill.org> Message-ID: <43D50EF2.7010909@seagul.co.uk> I am happy to do it, just really not sure when I can get round to it. I'll see if I can get a couple of hours this weekend. Chris Scott Laird wrote: > Hmm, okay. Is anyone working on trackbacks? > > > Scott > > On Jan 23, 2006, at 12:57 AM, Chris Roos wrote: > >> Hi Scott, >> >> The patch over-rides the sending of trackbacks (standard http get) >> with >> the sending of 'pings' (xmlrpc). Although trackbacks are currently >> created and sent in the correct format, they are almost never sent to >> the correct trackback url; rather they are sent to the url of the post >> itself. Bearing this in mind I'd suggest it's ok to merge this patch >> until a more all encompassing (supporting trackback, pingback and >> notification to blog aggregators) patch can be created. >> >> Chris >> >> Scott Laird wrote: >>> If someone can verify that the patch works, then I'll try to apply it >>> this week. >>> >>> >>> Scott >>> >>> On Jan 21, 2006, at 3:26 AM, Chris Roos wrote: >>> >>>> It's not currently implemented in Typo. >>>> >>>> You could apply the patch from ticket #526[1] to solve the problem. >>>> >>>> Chris >>>> >>>> [1] http://typo.leetsoft.com/trac/ticket/526 >>>> >>>> >>>> Jared Luxenberg wrote: >>>>> I have my settings set to automatically ping technorati and >>>>> blo.gs, but >>>>> when I search for entries I've posted at those sites, I find >>>>> nothing. >>>>> How can I be sure that Typo is pinging these sites properly? >>>>> >>>>> - Jared >>>>> >>>>> >>>>> _______________________________________________ >>>>> 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 >>> _______________________________________________ >>> 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 > > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list From cedric at feelfree.homelinux.com Mon Jan 23 12:15:50 2006 From: cedric at feelfree.homelinux.com (cedric) Date: Mon, 23 Jan 2006 18:15:50 +0100 Subject: [typo] Bugs to work on In-Reply-To: <377705AC-5BD0-4D19-995C-BE6FAA8D9873@sigkill.org> References: <377705AC-5BD0-4D19-995C-BE6FAA8D9873@sigkill.org> Message-ID: <200601231815.52689.cedric@feelfree.homelinux.com> Could it be helpful that the one interested should put their priority list on the wiki to see which point is important. Or perhaps to establish a kind of freeze? that's just some ideas... I would like to help but my programming knowledge is very poor. Le Lundi 23 Janvier 2006 17:23, Scott Laird a ?crit?: > I've obviously been a bit out of touch lately, but I think I can > finally get back to Typo hacking. At the moment, we have 133 open > tickets, which is a bit more then I really feel like tackling at the > moment. Is there any sort of consensus on which bugs are the more > irritating, an/or which patches are most in need of being applied? > > > Scott > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list From schwarz at uchicago.edu Mon Jan 23 12:33:38 2006 From: schwarz at uchicago.edu (Jack Schwarz) Date: Mon, 23 Jan 2006 11:33:38 -0600 Subject: [typo] Bugs to work on In-Reply-To: <200601231815.52689.cedric@feelfree.homelinux.com> References: <377705AC-5BD0-4D19-995C-BE6FAA8D9873@sigkill.org> <200601231815.52689.cedric@feelfree.homelinux.com> Message-ID: I think we should work on cleaning up the current code and dealing with memory issues [see other thread] before looking to add more features. My page with a bare bones sidebar uses 50 megs for each of my two dispatchers. By most accounts this seems a bit excessive. Regards, Jack On 1/23/06, cedric wrote: > Could it be helpful that the one interested should put their priority list on > the wiki to see which point is important. > Or perhaps to establish a kind of freeze? that's just some ideas... > I would like to help but my programming knowledge is very poor. > > Le Lundi 23 Janvier 2006 17:23, Scott Laird a ?crit: > > I've obviously been a bit out of touch lately, but I think I can > > finally get back to Typo hacking. At the moment, we have 133 open > > tickets, which is a bit more then I really feel like tackling at the > > moment. Is there any sort of consensus on which bugs are the more > > irritating, an/or which patches are most in need of being applied? > > > > > > Scott > > _______________________________________________ > > 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 > From stephen at deanbrook.org Mon Jan 23 13:32:24 2006 From: stephen at deanbrook.org (Stephen Bannasch) Date: Mon, 23 Jan 2006 13:32:24 -0500 Subject: [typo] Heavy RAM usage? Instability? In-Reply-To: <43D3D28F.5070604@dangerousideas.com> References: <43D1E5B1.8040404@dangerousideas.com> <43D28076.8030604@dangerousideas.com> <5C68843E-FA7F-47E3-8466-60A715B58A66@sigkill.org> <43D3D28F.5070604@dangerousideas.com> Message-ID: >Hi, Scott, > >Scott Laird wrote: > > >1. Is the memory usage fairly constant, or is it growing? There was > >a memory leak in Rails 0.14.2 (I think) that caused Typo to grow > >without bound; that leak has been fixed, but there could be other leaks. > >2. How much memory is Typo using. I keep hearing numbers like > >"lots", but I've only seen one set of numbers so far. > > > >My own Typo installation is about 50 MB. Very low traffic. It starts >off at around 30 MB (like my other Rails apps) and then after the first >page load goes to 50 MB (unlike other RoR apps, which tend to stay >around 30 MB unless something unusual is going on). The memory usage on >my installation of Typo doesn't grow much, although that could be >because of low volume (I've tested with ab, too, but that doesn't prove >much). It has gone up 2MB since yesterday, when it was steady around 50 MB. According to Julik (a textdrive sysadmin) his experience is that most rails apps take between 20-70MB -- 50MB is right in the middle of this range. Elsewhere in the posting linked below he talks about minimizing the number of fcgi listeners. http://weblog.textdrive.com/article/175/rails-optimizing-resource-usage "A Rails application usually consumes anywhere from 20 to 50-70 Mb per FastCGI dispatcher. If a Rails application is tuned properly this amount should stabilize after about 20 requests and stay the same. " -- -- Stephen Bannasch, stephen at deanbrook dot org From edavis10 at gmail.com Mon Jan 23 23:40:08 2006 From: edavis10 at gmail.com (edavis10@gmail.com) Date: Mon, 23 Jan 2006 20:40:08 -0800 Subject: [typo] Heavy RAM usage? Instability? In-Reply-To: References: <43D1E5B1.8040404@dangerousideas.com> <43D28076.8030604@dangerousideas.com> <5C68843E-FA7F-47E3-8466-60A715B58A66@sigkill.org> <43D3D28F.5070604@dangerousideas.com> Message-ID: <43D5AFA8.6020406@gmail.com> Stephen Bannasch wrote: > According to Julik (a textdrive sysadmin) his experience is that most rails apps take between 20-70MB -- 50MB is right in the middle of this range. Elsewhere in the posting linked below he talks about minimizing the number of fcgi listeners. > > http://weblog.textdrive.com/article/175/rails-optimizing-resource-usage > > "A Rails application usually consumes anywhere from 20 to 50-70 Mb per FastCGI dispatcher. If a Rails application is tuned properly this amount should stabilize after about 20 requests and stay the same. " > Mine is around 45MB for each FCGI I have. Site does not take a lot of hits but has been up for a while now. 30807 www-data 45640 kB ruby /home/websites/theadmin/web/public/dispatch.fcgi 30808 www-data 45108 kB ruby /home/websites/theadmin/web/public/dispatch.fcgi I have another that gets 0 hits and it is at about 36MB per FCGI. (All of this is moot when I noticed mysqld is taking over 121MB and only powers my Typo installs) Eric Davis From alimills at gmail.com Mon Jan 23 23:54:59 2006 From: alimills at gmail.com (Ali Mills) Date: Mon, 23 Jan 2006 20:54:59 -0800 Subject: [typo] Tag cloud? Message-ID: <6853c3aa0601232054h141f73afx4de1db1f3dd97505@mail.gmail.com> Hello, I just installed my first instance of Typo, and I'm wondering - is there default support for tagging articles in Typo? I searched the wiki, and while there were discussions of tags I couldn't tell if they're part of the default Typo package. After looking at the database, I suspect that they're not, and that I have to do some tweaking with acts_as_taggable (http://wiki.rubyonrails.com/rails/pages/Acts+As+Taggable+Plugin). But then, after looking at http://blog.leetsoft.com/ and http://typogarden.com/articles/2005/11/28/lush-theme I thought that maybe there's hope, and I thought that I'd ask. So, is there default support for article tags in Typo? Thanks. Ali From scott at sigkill.org Tue Jan 24 00:00:43 2006 From: scott at sigkill.org (Scott Laird) Date: Mon, 23 Jan 2006 21:00:43 -0800 Subject: [typo] Tag cloud? In-Reply-To: <6853c3aa0601232054h141f73afx4de1db1f3dd97505@mail.gmail.com> References: <6853c3aa0601232054h141f73afx4de1db1f3dd97505@mail.gmail.com> Message-ID: <7C18D349-5F62-4A53-9E1D-7E90C50027F5@sigkill.org> There's tag support in the trunk, but not in 2.6.0. It's populated via the 'keywords' field--use spaces to separate the tags. Scott On Jan 23, 2006, at 8:54 PM, Ali Mills wrote: > Hello, > > I just installed my first instance of Typo, and I'm wondering - is > there default support for tagging articles in Typo? I searched the > wiki, and while there were discussions of tags I couldn't tell if > they're part of the default Typo package. > > After looking at the database, I suspect that they're not, and that I > have to do some tweaking with acts_as_taggable > (http://wiki.rubyonrails.com/rails/pages/Acts+As+Taggable+Plugin). > But then, after looking at http://blog.leetsoft.com/ and > http://typogarden.com/articles/2005/11/28/lush-theme I thought that > maybe there's hope, and I thought that I'd ask. > > So, is there default support for article tags in Typo? > > Thanks. > > > Ali > > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list From jennyw at dangerousideas.com Tue Jan 24 00:23:54 2006 From: jennyw at dangerousideas.com (jennyw) Date: Mon, 23 Jan 2006 21:23:54 -0800 Subject: [typo] Heavy RAM usage? Instability? In-Reply-To: <43D5AFA8.6020406@gmail.com> References: <43D1E5B1.8040404@dangerousideas.com> <43D28076.8030604@dangerousideas.com> <5C68843E-FA7F-47E3-8466-60A715B58A66@sigkill.org> <43D3D28F.5070604@dangerousideas.com> <43D5AFA8.6020406@gmail.com> Message-ID: <43D5B9EA.8020304@dangerousideas.com> edavis10 at gmail.com wrote: >Stephen Bannasch wrote: > > > >>According to Julik (a textdrive sysadmin) his experience is that most >> >> >rails apps take between 20-70MB -- 50MB is right in the middle of this >range. Elsewhere in the posting linked below he talks about minimizing >the number of fcgi listeners. > > That was written a while ago ... I don't know if things have changed, but Jason is now saying their Rails apps take up 25-30 MB. The thing is, 50 MB might or might not be right -- it's hard to judge without knowing what Typo is loading. But if other applications can be around 30 MB (including mine), then that extra 20 MB should be for something that justifies that much memory. Right now, I'm not sure what you could load that would take up 20 MB to display a few pages. If it's intentional, we should document it, but it might not be intentional, in which case it deserves a look. By the way, the behavior of my Typo is interesting. When it first runs, it's around 30MB (before any controllers are invoked). After the first page load, it goes up to 50MB. I load a bunch of pages and it's still at 50 MB. A day or so later, it'll be at 52 MB (during the time I've checked, it hasn't been up for more than about a day), and I'm pretty sure that no pages besides the ones I loaded earlier are being hit. >(All of this is moot when I noticed mysqld is taking over 121MB and only >powers my Typo installs) > > Now that's pretty intersting, also. How many Ruby processes do you have running at once? Jen From nikanorov at gmail.com Tue Jan 24 04:27:27 2006 From: nikanorov at gmail.com (Andrey Nikanorov) Date: Tue, 24 Jan 2006 12:27:27 +0300 Subject: [typo] Heavy RAM usage? Instability? In-Reply-To: References: <43D1E5B1.8040404@dangerousideas.com> <43D28076.8030604@dangerousideas.com> <5C68843E-FA7F-47E3-8466-60A715B58A66@sigkill.org> <43D3D28F.5070604@dangerousideas.com> Message-ID: Julik is not textdrive sysadmin =) On 1/23/06, Stephen Bannasch wrote: > >Hi, Scott, > > > >Scott Laird wrote: > > > > >1. Is the memory usage fairly constant, or is it growing? There was > > >a memory leak in Rails 0.14.2 (I think) that caused Typo to grow > > >without bound; that leak has been fixed, but there could be other leaks. > > >2. How much memory is Typo using. I keep hearing numbers like > > >"lots", but I've only seen one set of numbers so far. > > > > > > >My own Typo installation is about 50 MB. Very low traffic. It starts > >off at around 30 MB (like my other Rails apps) and then after the first > >page load goes to 50 MB (unlike other RoR apps, which tend to stay > >around 30 MB unless something unusual is going on). The memory usage on > >my installation of Typo doesn't grow much, although that could be > >because of low volume (I've tested with ab, too, but that doesn't prove > >much). It has gone up 2MB since yesterday, when it was steady around 50 MB. > > According to Julik (a textdrive sysadmin) his experience is that most rails apps take between 20-70MB -- 50MB is right in the middle of this range. Elsewhere in the posting linked below he talks about minimizing the number of fcgi listeners. > > http://weblog.textdrive.com/article/175/rails-optimizing-resource-usage > > "A Rails application usually consumes anywhere from 20 to 50-70 Mb per FastCGI dispatcher. If a Rails application is tuned properly this amount should stabilize after about 20 requests and stay the same. " > > -- > > -- Stephen Bannasch, stephen at deanbrook dot org > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list > -- Nikanorov Andrey http://blogru.nikanorov.com This email is: [ ] blogable [ x ] ask first [ ] private From yemighty at hotmail.com Tue Jan 24 13:54:33 2006 From: yemighty at hotmail.com (John Rickards) Date: Tue, 24 Jan 2006 18:54:33 +0000 Subject: [typo] Using article offset to split articles between divs? Message-ID: Hi, I'm a hopeless Typo/Ruby newbie trying to split my displayed articles between column divs on the front page of my template. Is there any way of using offset/article limit variables to, say, show article 1 in div 1, article 2 in div 2 and articles 3-10 in div 3? (So, div 1 with :limit => 1, :offset => 0 - div 2 with :limit => 1, :offset => 1 - and div 3 with :limit => 8, :offset => 2) I've had a search of the list archives and the Typo trac, but haven't had much luck. I'm guessing, from what I know of other blog apps using PHP/MySQL, that it'd possibly involve a separate query to the database to get the posts for each div, but as I say, hopeless Ruby newbie here. :-) Cheers, John From alimills at gmail.com Tue Jan 24 22:18:40 2006 From: alimills at gmail.com (Ali Mills) Date: Tue, 24 Jan 2006 19:18:40 -0800 Subject: [typo] head/database issues on TxD Message-ID: <6853c3aa0601241918j7e33e107wd197acdd10272014@mail.gmail.com> Hey there, I successfully installed typo's stable release (http://typo.leetsoft.com/trac/wiki/DownloadStable) on my TextDrive account, but then I realized that the stable doesn't have tags - only the head does. No problem I thought; I'll just re-install. I installed the head successfully on my local machine, exported the database and then went on my way to install on TxD. I went through all the standard install steps: 1. svn checkout svn://leetsoft.com/typo/trunk 2. created database.yml from database.yml.example 3. created the database based on the exported schema from my local machine (TxD won't let users run the migrate script on the admin page because of CPU demand) 4. added conditionals to my lighttpd.config 5. restarted ruby and lighttpd When I checked my site at my port it was there and working the way that typo does. Typo was running! So, next I created a new account and logged in, and here's where the trouble started. On the admin panel I *cannot* save anything. On admin's main "Blog Settings" page when I click "Save my Settings" I'm greeted with "Application error (Rails)" at the URL "/admin/general/update". This error isn't restricted to the "Blog Settings" page. I also get it when trying to add a category on the "Categories" page. From that page I end up seeing "Application error (Rails)" at the URL "admin/categories/new". Since I got the head working properly on my local machine and the only time typo errors seem to happen when writting to or deleting from database I strongly suspect that I've encountered a database access issue. Having that suspicion, I've rebuilt the db several times with no luck. Per the Rails book, I also tried to "grant all on my_database.* to 'myUsername'@'localhost';". When I tried this, I received the message, "Access denied for user 'myUsername'@'localhost' to database 'my_database' ". My MySQL knowldege is limited, so I don't know if this message is a big deal or not. Anyway, are there known issues with running the head on TextDrive? Do the issues that I'm encountering sound familiar to anyone? Thanks a lot. Ali From justus at ryoohki.net Wed Jan 25 01:19:31 2006 From: justus at ryoohki.net (Justus Pendleton) Date: Wed, 25 Jan 2006 06:19:31 +0000 (UTC) Subject: [typo] head/database issues on TxD References: <6853c3aa0601241918j7e33e107wd197acdd10272014@mail.gmail.com> Message-ID: On 2006-01-25, Ali Mills wrote: [details of problem cut] What does your log file say? That's usually a good first place to look. Justus From alimills at gmail.com Wed Jan 25 03:02:28 2006 From: alimills at gmail.com (Ali Mills) Date: Wed, 25 Jan 2006 00:02:28 -0800 Subject: [typo] head/database issues on TxD In-Reply-To: References: <6853c3aa0601241918j7e33e107wd197acdd10272014@mail.gmail.com> Message-ID: <6853c3aa0601250002j3c2d6ecay44c0f5a910f6f00d@mail.gmail.com> Thanks Justus, I kept hammering at it and fixed it already. As it turns out, I was having Lighttpd issues. This really shouldn't have been suprising since every problem that I've had with Typo over the past week has eventually turned out to be a Lighttpd problem. Silly server configurations... Typo's a pretty nice piece of software. Good work gang. Ali On 1/24/06, Justus Pendleton wrote: > On 2006-01-25, Ali Mills wrote: > [details of problem cut] > > What does your log file say? That's usually a good first place to look. > > Justus > From cstamas at digitus.itk.ppke.hu Thu Jan 26 10:21:57 2006 From: cstamas at digitus.itk.ppke.hu (Csillag =?iso-8859-2?Q?Tam=E1s?=) Date: Thu, 26 Jan 2006 16:21:57 +0100 Subject: [typo] using typo as fcgi in url like: http://somehost/blog/... Message-ID: <20060126152157.GK23479@digitus> Hi (I repost it here because no one at the lighttpd list answered my mail. Thx.) I am new to lighttpd. I like it because it is really 'lighter' than apache and is easier to understand. However the documentation is not enought (at least for me), or I am looking at the wrong place. So here we go: I set up typo (blog engine) as a fcgi application that everything hits the webserver is handled with 'dispatcher.fcgi'. I want to only redirect queries like http://myhost/blog/.* to dispatcher.fcgi and answer the other like usual (webserver). And dispatcher must get the SCRIPT_URL without 'blog'. I tried several ways: 1. playing with url.rewrite 2. 'extension' in calling fcgi But none of them works. here is my config file: --------------------------------------------------------------------- server.port = 443 server.bind = "rivendell.itk.ppke.hu" server.event-handler = "linux-sysepoll" server.modules = ( "mod_rewrite", "mod_fastcgi", "mod_rewrite", "mod_redirect" ) server.document-root = "/var/www/webroot" $HTTP["url"] =~ "^/blog" { #url.rewrite-once = ( "^/blog/(.*)" => "/$1" ) #^^^ tried but does not work server.indexfiles = ( "dispatch.fcgi" ) server.document-root = "/var/www/public/typo/public/" server.error-handler-404 = "/dispatch.fcgi" } server.errorlog = "/var/www/public/typo/log/error.log" server.username = "www-data" ssl.engine = "enable" ssl.pemfile = "...somewhere/server.pem" url.rewrite = ( "^$" => "index.html", "^([^.]+)$" => "$1.html" ) #### fastcgi module fastcgi.server = ( ".fcgi" => ( "/" => ( "min-procs" => 2, "max-procs" => 2, "socket" => "/tmp/typo1.socket", "bin-path" => "/var/www/public/typo/public/dispatch.fcgi", "bin-environment" => ( "RAILS_ENV" => "production" ), "idle-timeout" => 120 ) ) ) ---------------------------------------------------------------------- mimetypes omitted. Some snipplets from my typo log file. Processing RedirectController#redirect (for 81.182.59.186 at 2006-01-25 16:10:07) [GET] Parameters: {"from"=>["blog", "admin"], "action"=>"redirect", "controller"=>"redirect"} Completed in 0.00701 (142 reqs/sec) | Rendering: 0.00010 (1%) | DB: 0.00162 (23%) | 404 [https://rivendell.itk.ppke.hu/blog/admin] TIA. -- Radioactive cats have 18 half-lives. CSILLAG Tamas (cstamas) - http://digitus.itk.ppke.hu/~cstamas From ernieoporto at gmail.com Thu Jan 26 21:15:04 2006 From: ernieoporto at gmail.com (Ernie Oporto) Date: Thu, 26 Jan 2006 21:15:04 -0500 Subject: [typo] Heavy RAM usage? Instability? In-Reply-To: <43D5AFA8.6020406@gmail.com> References: <43D1E5B1.8040404@dangerousideas.com> <43D28076.8030604@dangerousideas.com> <5C68843E-FA7F-47E3-8466-60A715B58A66@sigkill.org> <43D3D28F.5070604@dangerousideas.com> <43D5AFA8.6020406@gmail.com> Message-ID: Not sure what I'm doing right, but mine seems to be running pretty slim? #ps -auwwx USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND [...] nobody 803 0.0 2.5 31064 26660 ? S Jan25 0:09 ruby /proj/path/blog/public/dispatch.fcgi nobody 827 0.0 2.2 31064 23004 ? S Jan25 0:11 ruby /proj/path/blog/public/dispatch.fcgi On 1/23/06, edavis10 at gmail.com wrote: > > Stephen Bannasch wrote: > > > According to Julik (a textdrive sysadmin) his experience is that most > rails apps take between 20-70MB -- 50MB is right in the middle of this > range. Elsewhere in the posting linked below he talks about minimizing > the number of fcgi listeners. > > > > http://weblog.textdrive.com/article/175/rails-optimizing-resource-usage > > > > "A Rails application usually consumes anywhere from 20 to 50-70 Mb per > FastCGI dispatcher. If a Rails application is tuned properly this amount > should stabilize after about 20 requests and stay the same. " > > > > > Mine is around 45MB for each FCGI I have. Site does not take a lot of > hits but has been up for a while now. > > 30807 www-data 45640 kB ruby > /home/websites/theadmin/web/public/dispatch.fcgi > > 30808 www-data 45108 kB ruby > /home/websites/theadmin/web/public/dispatch.fcgi > > I have another that gets 0 hits and it is at about 36MB per FCGI. > > (All of this is moot when I noticed mysqld is taking over 121MB and only > powers my Typo installs) > > Eric Davis > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/typo-list/attachments/20060126/3c2f01ff/attachment.htm From george.nica at gmail.com Fri Jan 27 08:22:39 2006 From: george.nica at gmail.com (George Razvan NICA) Date: Fri, 27 Jan 2006 15:22:39 +0200 Subject: [typo] Different feeds in the same blog. Message-ID: Hi, everyone! Is it possible to have multiple feeds on my Typo blog, on different subjects? What I'm aiming for is, for example, to have an RSS feed for business-related-posts, one for sysadmin-related-posts and one for all posts. Oh, and if there isn't, maybe you could point out where I should look in the source, what to read and maybe get some plugin going or something. I'm willing to do some work on this, under some guidance. Yes, I'm familiar with Ruby & Rails but I think I would still require some "parental" guidance. Thank you for your answer. -- GRN http://nano.cube.ro From victor-typo at carotena.net Fri Jan 27 08:36:49 2006 From: victor-typo at carotena.net (Victor Jalencas) Date: Fri, 27 Jan 2006 14:36:49 +0100 Subject: [typo] Different feeds in the same blog. In-Reply-To: References: Message-ID: <43DA21F1.2050609@carotena.net> Hi George Actually, it is. Or rather, will be. Trunk typo already has category and tag filtered posts. You only need to correctly categorize and/or tag your posts (which I guess you'll already be doing) Cheers Victor George Razvan NICA wrote: > Hi, everyone! > > Is it possible to have multiple feeds on my Typo blog, on different > subjects? What I'm aiming for is, for example, to have an RSS feed for > business-related-posts, one for sysadmin-related-posts and one for all > posts. > > Oh, and if there isn't, maybe you could point out where I should look > in the source, what to read and maybe get some plugin going or > something. I'm willing to do some work on this, under some guidance. > Yes, I'm familiar with Ruby & Rails but I think I would still require > some "parental" guidance. > > Thank you for your answer. > > -- > GRN > http://nano.cube.ro > > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list From seanhussey at gmail.com Fri Jan 27 12:41:17 2006 From: seanhussey at gmail.com (Sean Hussey) Date: Fri, 27 Jan 2006 12:41:17 -0500 Subject: [typo] Different feeds in the same blog. In-Reply-To: <43DA21F1.2050609@carotena.net> References: <43DA21F1.2050609@carotena.net> Message-ID: How safe is trunk these days? I had the exact same question as George. In fact, I wanted to take it one step further and have hostname-based filtering. So "dev.myblog.com" would show the blog, but only with the "dev" posts. Might I be able to work towards this with the same trunk changes? Sean On 1/27/06, Victor Jalencas wrote: > > Hi George > > Actually, it is. Or rather, will be. Trunk typo already has category > and tag filtered posts. You only need to correctly categorize and/or tag > your posts (which I guess you'll already be doing) > > Cheers > Victor > > > George Razvan NICA wrote: > > Hi, everyone! > > > > Is it possible to have multiple feeds on my Typo blog, on different > > subjects? What I'm aiming for is, for example, to have an RSS feed for > > business-related-posts, one for sysadmin-related-posts and one for all > > posts. > > > > Oh, and if there isn't, maybe you could point out where I should look > > in the source, what to read and maybe get some plugin going or > > something. I'm willing to do some work on this, under some guidance. > > Yes, I'm familiar with Ruby & Rails but I think I would still require > > some "parental" guidance. > > > > Thank you for your answer. > > > > -- > > GRN > > http://nano.cube.ro > > > > _______________________________________________ > > 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 > From typo-list at jasonbainbridge.com Fri Jan 27 12:44:01 2006 From: typo-list at jasonbainbridge.com (Jason Bainbridge) Date: Fri, 27 Jan 2006 11:44:01 -0600 Subject: [typo] Heavy RAM usage? Instability? In-Reply-To: References: <43D1E5B1.8040404@dangerousideas.com> <43D28076.8030604@dangerousideas.com> <5C68843E-FA7F-47E3-8466-60A715B58A66@sigkill.org> <43D3D28F.5070604@dangerousideas.com> <43D5AFA8.6020406@gmail.com> Message-ID: <43DA5BE1.1080407@jasonbainbridge.com> Mine is even slimmer than that when using SCGI so I wonder why others are having so many problems? Maybe if those experiencing problems could post details of their setup like: - Version or revision of Typo bering used - the results of script/about to see the versions of Rails and it's requirements Are they sure they are running in Production mode and aren't using Development by mistake? It is just unusual that some are having problems where others are having no problems at all. My own setup is: - Whatever the latest revision of SVN is About your application's environment Ruby version 1.8.2 (i686-linux) RubyGems version 0.8.10 Rails version 1.0.0 Active Record version 1.13.2 Action Pack version 1.11.2 Action Web Service version 1.0.0 Action Mailer version 1.1.5 Active Support version 1.2.5 Application root /home/jaseone/typo Environment development Database adapter mysql (it says development but it really isn't, I believe it is a bug in the script/about) Regards, Jason Ernie Oporto wrote: > Not sure what I'm doing right, but mine seems to be running pretty slim? > > #ps -auwwx > USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND > [...] > nobody 803 0.0 2.5 31064 26660 ? S Jan25 0:09 ruby > /proj/path/blog/public/dispatch.fcgi > nobody 827 0.0 2.2 31064 23004 ? S Jan25 0:11 ruby > /proj/path/blog/public/dispatch.fcgi > > > > On 1/23/06, * edavis10 at gmail.com * > > wrote: > > Stephen Bannasch wrote: > > > According to Julik (a textdrive sysadmin) his experience is that > most > rails apps take between 20-70MB -- 50MB is right in the middle of this > range. Elsewhere in the posting linked below he talks about > minimizing > the number of fcgi listeners. > > > > > http://weblog.textdrive.com/article/175/rails-optimizing-resource-usage > > > > "A Rails application usually consumes anywhere from 20 to 50-70 > Mb per > FastCGI dispatcher. If a Rails application is tuned properly this > amount > should stabilize after about 20 requests and stay the same. " > > > > > Mine is around 45MB for each FCGI I have. Site does not take a > lot of > hits but has been up for a while now. > > 30807 www-data 45640 kB ruby > /home/websites/theadmin/web/public/dispatch.fcgi > > 30808 www-data 45108 kB ruby > /home/websites/theadmin/web/public/dispatch.fcgi > > I have another that gets 0 hits and it is at about 36MB per FCGI. > > (All of this is moot when I noticed mysqld is taking over 121MB > and only > powers my Typo installs) > > Eric Davis > _______________________________________________ > 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 > From typo-list at jasonbainbridge.com Fri Jan 27 13:16:42 2006 From: typo-list at jasonbainbridge.com (Jason Bainbridge) Date: Fri, 27 Jan 2006 12:16:42 -0600 Subject: [typo] Different feeds in the same blog. In-Reply-To: References: <43DA21F1.2050609@carotena.net> Message-ID: <43DA638A.6070703@jasonbainbridge.com> Sean Hussey wrote: >How safe is trunk these days? I had the exact same question as George. > > Well I've been playing with it on a test site for quite some time and even though I don't use it for my Production blog I haven't experienced any real problems, although I have heard of issues migrating to it from 2.6.0. >In fact, I wanted to take it one step further and have hostname-based >filtering. So "dev.myblog.com" would show the blog, but only with the >"dev" posts. Might I be able to work towards this with the same trunk >changes? > I have another email in moderation asking about this (forgot to change the from in my email) but just found the answer myself, you can have per category and per tag feeds like: http://typo.jasonbainbridge.com/xml/rss20/category/blog/feed.xml Where in the above example the category is simply "blog" and to display the site filtered for just the blog category it is: http://typo.jasonbainbridge.com/articles/category/blog So it would be easy enough with some DNS A records or a DNS Wildcard plus ServerAlias's to send specific or all subdomains to the one Typo instance and then use rewrite rules so Typo can understand such requests, example: http://dev.yourdomain.com would need to point to your Typo install through DNS and a ServerAlias, then you would need a rewrite rule to change that to http://yourdomain.com/articles/category/dev (I'm too lazy to write that myself right now but it should be easy enough). Regards, Jason From bronson at rinspin.com Fri Jan 27 18:29:33 2006 From: bronson at rinspin.com (Scott Bronson) Date: Fri, 27 Jan 2006 18:29:33 -0500 Subject: [typo] New migration scripts Message-ID: <1138404574.26853.156.camel@localhost> Typo is pretty notorious for having rough migrations. This is because it uses its models to migrate data, even when the schema you're migrating from is very old. Current models operating on an ancient schema? Madness. I think I've fixed this by removing all usage of Typo's models from the migration scripts. Instead, each script uses its own bare models. Therefore, the scripts will now work exactly the same way no matter what version of Typo you have installed. http://typo.leetsoft.com/trac/ticket/680 I've attached a patch this ticket. The patch is huge (60K), but that's just because there are a huge number migrate scripts. Most of the changes are straightforward. Any chance of getting it committed? On Fri, 2006-01-27 at 12:16 -0600, Jason Bainbridge wrote: > Sean Hussey wrote: > >How safe is trunk these days? I had the exact same question as George. > Well I've been playing with it on a test site for quite some time and > even though I don't use it for my Production blog I haven't experienced > any real problems, although I have heard of issues migrating to it from > 2.6.0. If anyone has a database that fails to migrate with these new scripts, please send me a dump? I'll bet it will be an easy problem to fix. :) - Scott From scott at sigkill.org Fri Jan 27 18:35:47 2006 From: scott at sigkill.org (Scott Laird) Date: Fri, 27 Jan 2006 15:35:47 -0800 Subject: [typo] New migration scripts In-Reply-To: <1138404574.26853.156.camel@localhost> References: <1138404574.26853.156.camel@localhost> Message-ID: <2D43E4AA-7ADD-4DE1-B67C-E81BC3ADD9E8@sigkill.org> I'll look at it in the morning and give it a shot with a couple old DBs that I keep around. The idea is good; hopefully it'll work well enough in practice :-). Scott On Jan 27, 2006, at 3:29 PM, Scott Bronson wrote: > Typo is pretty notorious for having rough migrations. This is because > it uses its models to migrate data, even when the schema you're > migrating from is very old. Current models operating on an ancient > schema? Madness. > > I think I've fixed this by removing all usage of Typo's models from > the > migration scripts. Instead, each script uses its own bare models. > Therefore, the scripts will now work exactly the same way no matter > what > version of Typo you have installed. > > http://typo.leetsoft.com/trac/ticket/680 > > I've attached a patch this ticket. The patch is huge (60K), but > that's > just because there are a huge number migrate scripts. Most of the > changes are straightforward. > > Any chance of getting it committed? > > > On Fri, 2006-01-27 at 12:16 -0600, Jason Bainbridge wrote: >> Sean Hussey wrote: >>> How safe is trunk these days? I had the exact same question as >>> George. >> Well I've been playing with it on a test site for quite some time and >> even though I don't use it for my Production blog I haven't >> experienced >> any real problems, although I have heard of issues migrating to it >> from >> 2.6.0. > > If anyone has a database that fails to migrate with these new > scripts, please > send me a dump? I'll bet it will be an easy problem to fix. :) > > - Scott > > > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list From jroncero at us.es Mon Jan 30 10:01:02 2006 From: jroncero at us.es (Jesus Roncero) Date: Mon, 30 Jan 2006 15:01:02 +0000 Subject: [typo] Problem claming typo blog from technorati Message-ID: <43DE2A2E.2050703@us.es> Hi there, I've been playing for some time now with a typo blog and right now I am trying to keep it updated regulary. The thing is that I am trying to claim it from Technorai, following the specified procedure but it fails. I just entered the blog URL (by the way is http://blog.notreally.org) in the corresponding input box. Then, all I get is a "In progress. Complete Claim now" link, which leads me to a page that suggests me to finish the claim process by following the instructions, but I get a blank page anyway. I saved a screenshot here: http://static.flickr.com/14/93110862_378f477472_o.png Any ideas about what I could be doing wrong? or does anyone else experienced this? BTW, I am running typo version 2.6.0 under apache 2.0 as a default instalation. Thanks! -- Jesus Roncero Cheers from England From bitdepth at gmail.com Mon Jan 30 10:11:10 2006 From: bitdepth at gmail.com (Chris Campbell) Date: Mon, 30 Jan 2006 11:11:10 -0400 Subject: [typo] Problem claming typo blog from technorati In-Reply-To: <43DE2A2E.2050703@us.es> References: <43DE2A2E.2050703@us.es> Message-ID: To claim your blog you need to embed a bit of code for Technorati. I had the same problem with my Typo blog and I'm not sure why it happened. I was able to get the snippet of code to embed before the blank page showed up. I emailed Technorati support and after a few days I got a reply, but by then the embedded code was recognized. But you haven't got the code to embed to complete the claim, so I think that it's more of a Technorati problem than a Typo problem. Chris On 1/30/06, Jesus Roncero wrote: > > Hi there, > I've been playing for some time now with a typo blog and right now I am > trying to keep it updated regulary. > The thing is that I am trying to claim it from Technorai, following the > specified procedure but it fails. I just entered the blog URL (by the > way is http://blog.notreally.org) in the corresponding input box. Then, > all I get is a "In progress. Complete Claim now" link, which leads me to > a page that suggests me to finish the claim process by following the > instructions, but I get a blank page anyway. I saved a screenshot here: > http://static.flickr.com/14/93110862_378f477472_o.png > > Any ideas about what I could be doing wrong? or does anyone else > experienced this? > BTW, I am running typo version 2.6.0 under apache 2.0 as a default > instalation. > > Thanks! > > -- > Jesus Roncero > Cheers from England > > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/typo-list/attachments/20060130/460854ae/attachment.htm From dstrelau at gmail.com Mon Jan 30 10:18:17 2006 From: dstrelau at gmail.com (Dean Strelau) Date: Mon, 30 Jan 2006 10:18:17 -0500 Subject: [typo] Problem claming typo blog from technorati In-Reply-To: <43DE2A2E.2050703@us.es> References: <43DE2A2E.2050703@us.es> Message-ID: Hi, I've had the same problem for a while now. I contacted Technorati support but have had no response. I didn't really think this was a Typo problem, attributing it to something going wrong on the Technorati end, but now I'm not so sure! I'm running SVN with apache on DH. Also, I've tried in various different OS X browsers; it doesn't seem to make a difference. || Dean Strelau www.zenchic.net On 1/30/06, Jesus Roncero wrote: > Hi there, > I've been playing for some time now with a typo blog and right now I am > trying to keep it updated regulary. > The thing is that I am trying to claim it from Technorai, following the > specified procedure but it fails. I just entered the blog URL (by the > way is http://blog.notreally.org) in the corresponding input box. Then, > all I get is a "In progress. Complete Claim now" link, which leads me to > a page that suggests me to finish the claim process by following the > instructions, but I get a blank page anyway. I saved a screenshot here: > http://static.flickr.com/14/93110862_378f477472_o.png > > Any ideas about what I could be doing wrong? or does anyone else > experienced this? > BTW, I am running typo version 2.6.0 under apache 2.0 as a default > instalation. > > Thanks! > > -- > Jesus Roncero > Cheers from England > > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list > From typo-list at jasonbainbridge.com Mon Jan 30 10:18:38 2006 From: typo-list at jasonbainbridge.com (Jason Bainbridge) Date: Mon, 30 Jan 2006 09:18:38 -0600 Subject: [typo] Problem claming typo blog from technorati In-Reply-To: References: <43DE2A2E.2050703@us.es> Message-ID: <43DE2E4E.5010700@jasonbainbridge.com> Chris Campbell wrote: > To claim your blog you need to embed a bit of code for Technorati. I > had the same problem with my Typo blog and I'm not sure why it > happened. I was able to get the snippet of code to embed before the > blank page showed up. > > I emailed Technorati support and after a few days I got a reply, but > by then the embedded code was recognized. > > But you haven't got the code to embed to complete the claim, so I > think that it's more of a Technorati problem than a Typo problem. The problem is with Typo's XMLRPC implementation as that is the way Technorati tries to perform the claim by default, the backup method is to embed the Javascript. I think the XMLRPC stuff still needs some attention in the trunk although I haven't tried it in a while so maybe some of those patches have been implemented already. Regards, Jason From jroncero at us.es Mon Jan 30 11:19:30 2006 From: jroncero at us.es (Jesus Roncero) Date: Mon, 30 Jan 2006 16:19:30 +0000 Subject: [typo] Problem claming typo blog from technorati In-Reply-To: References: <43DE2A2E.2050703@us.es> Message-ID: <43DE3C92.9040507@us.es> Chris Campbell wrote: > To claim your blog you need to embed a bit of code for Technorati. I > had the same problem with my Typo blog and I'm not sure why it > happened. I was able to get the snippet of code to embed before the > blank page showed up. > > I emailed Technorati support and after a few days I got a reply, but > by then the embedded code was recognized. > > But you haven't got the code to embed to complete the claim, so I > think that it's more of a Technorati problem than a Typo problem. > Oh, thanks for the replies. I've just sent them an email about this issue. -- Jesus Roncero Cheers from England From ernieoporto at gmail.com Mon Jan 30 12:51:27 2006 From: ernieoporto at gmail.com (Ernie Oporto) Date: Mon, 30 Jan 2006 12:51:27 -0500 Subject: [typo] Upgrade to 855 - no migration Message-ID: My blog still shows as r762 in the admin pages and there was no migration of the database when I upgraded. On the positive side, everything seems to be working as it should, but I wonder if something is waiting to break or get corrupted. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/typo-list/attachments/20060130/a6a5ccb9/attachment.htm From jpinnix.alt at gmail.com Mon Jan 30 12:53:29 2006 From: jpinnix.alt at gmail.com (jeremy*pinnix) Date: Mon, 30 Jan 2006 11:53:29 -0600 Subject: [typo] category name Message-ID: <11a908be0601300953k4c854527j13bc35dc158d3419@mail.gmail.com> How can I display the name of the category when on a category page? From ernieoporto at gmail.com Mon Jan 30 12:55:24 2006 From: ernieoporto at gmail.com (Ernie Oporto) Date: Mon, 30 Jan 2006 12:55:24 -0500 Subject: [typo] blogger style web UI from link? Message-ID: http://www.blogger.com/blog_this.pyra?&u=article_url&n=article_title Is there a web UI to article posting that can be called from a single URL as one can with the above Blogger link? Would be very useful for insertion into other web based RSS aggregators or even for launching from apps that don't speak any of the blog posting APIs. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/typo-list/attachments/20060130/dbaa935b/attachment.htm From phil at cryer.us Mon Jan 30 13:21:21 2006 From: phil at cryer.us (phil) Date: Mon, 30 Jan 2006 12:21:21 -0600 Subject: [typo] 855 - can't run with fastcgi In-Reply-To: f91ac86d0601300955m453e70c6s1421e3d1785404d0@mail.gmail.com Message-ID: <500ae187053dd3f58c25fc64637dc346@pepe.cryer.us> I had problems last week after I upgraded some of the ruby* ports on FreeBSD, but I fixed it by (I thought) reinstalling rubygem-actionpack, but alast today I updated some more ruby stuff, and now lighttpd won't start with fastcgi (I'm now running on WEBrick again, so that's a nice backup to have). I'm concerned that in the error it says "No such file or directory", but I can't find what that's referering to. I'm sorry if this is outside of the Typo realm, but it's only with Typo that I am working on this stuff. After the problems I tried reinstalling these ports: rubygem-actionmailer-1.1.5 rubygem-actionwebservice-1.0.0_1 rubygem-rails-1.0.0 rubygem-activesupport-1.2.5 ruby18-gems-0.8.11 ruby-1.8.4_4,1 rubygem-actionpack-1.11.2_1 Here is the output, not the svn version I'm running and the php -v output showing cgi-fcgi: [phil at pepe:~/websites/fak3r/typo]$ svn up At revision 855. [phil at pepe:~/websites/fak3r/typo]$ ./script/server -e production => Booting lighttpd (use 'script/server webrick' to force WEBrick) => Rails application started on http://127.0.0.1:3000 => Call with -d to detach (requires absolute paths in config/lighttpd.conf) => Ctrl-C to shutdown server (see config/lighttpd.conf for options) 2006-01-30 11:34:39: (mod_fastcgi.c.989) execve failed for: public/dispatch.fcgi No such file or directory 2006-01-30 11:34:39: (mod_fastcgi.c.1015) the fastcgi-backend public/dispatch.fcgi failed to start: 2006-01-30 11:34:39: (mod_fastcgi.c.1019) child exited with status 2 public/dispatch.fcgi 2006-01-30 11:34:39: (mod_fastcgi.c.1022) if you try do run PHP as FastCGI backend make sure you use the FastCGI enabled version. You can find out if it is the right one by executing 'php -v' and it should display '(cgi-fcgi)' in the output, NOT (cgi) NOR (cli) For more information check http://www.lighttpd.net/documentation/fastcgi.html#preparing-php-as-a-fastcgi-program 2006-01-30 11:34:39: (mod_fastcgi.c.1027) If this is PHP on Gentoo add fastcgi to the USE flags 2006-01-30 11:34:39: (mod_fastcgi.c.1314) [ERROR]: spawning fcgi failed. 2006-01-30 11:34:39: (server.c.702) Configuration of plugins failed. Going down.' [phil at pepe:~/websites/fak3r/typo]$ php -v PHP 4.4.2 (cgi-fcgi) (built: Jan 26 2006 21:44:10) Copyright (c) 1997-2006 The PHP Group Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies with eAccelerator v0.9.4-cvs200601121552-rc1, Copyright (c) 2004-2005 eAccelerator, by eAccelerator [17709] EACCELERATOR: PHP unclean shutdown [phil at pepe:~/websites/fak3r/typo]$ Thanks P -- http://fak3r.com - you don't have to kick it From ziplux at comcast.net Mon Jan 30 16:15:46 2006 From: ziplux at comcast.net (Jared Luxenberg) Date: Mon, 30 Jan 2006 16:15:46 -0500 Subject: [typo] Bugs to work on In-Reply-To: <377705AC-5BD0-4D19-995C-BE6FAA8D9873@sigkill.org> References: <377705AC-5BD0-4D19-995C-BE6FAA8D9873@sigkill.org> Message-ID: <43DE8202.8030303@comcast.net> I submitted a patch to allow tags with spaces in them here: http://typo.leetsoft.com/trac/ticket/674 Is it possible that it will be merged into the trunk sometime? - Jared Scott Laird wrote: > I've obviously been a bit out of touch lately, but I think I can > finally get back to Typo hacking. At the moment, we have 133 open > tickets, which is a bit more then I really feel like tackling at the > moment. Is there any sort of consensus on which bugs are the more > irritating, an/or which patches are most in need of being applied? > > > Scott > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list > > From trejkaz at trypticon.org Mon Jan 30 20:42:50 2006 From: trejkaz at trypticon.org (Trejkaz) Date: Tue, 31 Jan 2006 12:42:50 +1100 Subject: [typo] Problem claming typo blog from technorati In-Reply-To: References: <43DE2A2E.2050703@us.es> Message-ID: <43DEC09A.50203@trypticon.org> Chris Campbell wrote: > To claim your blog you need to embed a bit of code for Technorati. I had > the same problem with my Typo blog and I'm not sure why it happened. I > was able to get the snippet of code to embed before the blank page > showed up. > > I emailed Technorati support and after a few days I got a reply, but by > then the embedded code was recognized. > > But you haven't got the code to embed to complete the claim, so I think > that it's more of a Technorati problem than a Typo problem. Actually on the topic of Technorati, back when I first "claimed" my blog it worked okay after I dumped their crud into an inconspicuous place on my layout. My problem was that the pings didn't always reach Technorati, or they reached Technorati and they would ignore them (even manual pings through their form on the site itself would fail to work.) The other Technorati issue I find is that they date posts based on when they noticed the update, not when the actual post was dated. The net result is that the one time in a million when the ping does work, a flood of a few dozen posts appear on Technorati at the same time. So I have some pretty nasty examples for my own site, where a post is dated in the past few months, but the actual real post was back in 2003 or 2004. :-) I'm sure these are all Technorati's problems though, and not Typo's. TX From kevin at sb.org Tue Jan 31 02:09:42 2006 From: kevin at sb.org (Kevin Ballard) Date: Mon, 30 Jan 2006 23:09:42 -0800 Subject: [typo] Bugs to work on In-Reply-To: <43DE8202.8030303@comcast.net> References: <377705AC-5BD0-4D19-995C-BE6FAA8D9873@sigkill.org> <43DE8202.8030303@comcast.net> Message-ID: I'm doing it now. However, I'm sorry to say that I basically re-wrote it. Your patch provided inspiration, and functional test, but the actual article code itself I'm redoing. Why? Because I can compress that entire block you have into a single line. Assuming there's no errors, I'll commit in a minute. On Jan 30, 2006, at 1:15 PM, Jared Luxenberg wrote: > I submitted a patch to allow tags with spaces in them here: > http://typo.leetsoft.com/trac/ticket/674 > > Is it possible that it will be merged into the trunk sometime? -- Kevin Ballard kevin at sb.org http://kevin.sb.org http://www.tildesoft.com -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2378 bytes Desc: not available Url : http://rubyforge.org/pipermail/typo-list/attachments/20060130/22a62c8a/smime.bin From pauli at perfectinfo.com Tue Jan 31 04:44:58 2006 From: pauli at perfectinfo.com (Paul Ingles) Date: Tue, 31 Jan 2006 09:44:58 -0000 Subject: [typo] Upgrade to 855 - no migration Message-ID: <23E272490297FB4E9DFC1666932B077A0198B572@pi-mail.perfectinfo.com> Ernie, When I pulled down 855 and migrated from the 2.6.0 release it did perform some migrations, but, the number in the admin pages on my system still show r762. Regards, Paul www.oobaloo.co.uk ________________________________ From: typo-list-bounces at rubyforge.org [mailto:typo-list-bounces at rubyforge.org] On Behalf Of Ernie Oporto Sent: 30 January 2006 17:51 To: typo-list at rubyforge.org Subject: [typo] Upgrade to 855 - no migration My blog still shows as r762 in the admin pages and there was no migration of the database when I upgraded. On the positive side, everything seems to be working as it should, but I wonder if something is waiting to break or get corrupted. This email and any attachments are confidential. They may contain privileged information and are intended for the named addressee(s) only. They must not be distributed without Perfect Information's consent. If you are not the intended recipient, please notify us immediately and do not disclose, distribute, or retain this email or any part of it. Unless expressly stated, opinions in this email are those of the individual sender, and not of Perfect Information. We believe but do not warrant that this e-mail and any attachments do not contain any form of virus. You must therefore take full responsibility for virus checking. Perfect Information reserves the right to monitor all email communications through their networks. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/typo-list/attachments/20060131/d71e53c3/attachment.htm From kevin at sb.org Tue Jan 31 04:59:49 2006 From: kevin at sb.org (Kevin Ballard) Date: Tue, 31 Jan 2006 01:59:49 -0800 Subject: [typo] Upgrade to 855 - no migration In-Reply-To: <23E272490297FB4E9DFC1666932B077A0198B572@pi-mail.perfectinfo.com> References: <23E272490297FB4E9DFC1666932B077A0198B572@pi-mail.perfectinfo.com> Message-ID: <73DBB686-4F14-4D61-A577-04207E01C787@sb.org> Yeah, that number is flawed. It only updates when the file it's actually stored in is modified, which is never since the file only exists to contain that number. If we're going to have this feature we really need to figure out some way to keep it updated. On Jan 31, 2006, at 1:44 AM, Paul Ingles wrote: > When I pulled down 855 and migrated from the 2.6.0 release it did > perform some migrations, but, the number in the admin pages on my > system still show r762. -- Kevin Ballard kevin at sb.org http://kevin.sb.org http://www.tildesoft.com -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2378 bytes Desc: not available Url : http://rubyforge.org/pipermail/typo-list/attachments/20060131/fdf08f4d/smime.bin From kevin at sb.org Tue Jan 31 05:04:21 2006 From: kevin at sb.org (Kevin Ballard) Date: Tue, 31 Jan 2006 02:04:21 -0800 Subject: [typo] Rename-able tags Message-ID: <83FE829E-AD60-4E48-8D55-D2F77D9A26E7@sb.org> I just committed changeset [858] which allows you to rename tags. There is no UI for this yet (though I am working on one), but you can do it in the database by modifying the new display_name field. Please read the changelog for [858] if this is something you're going to be looking at, or if you're a theme writer (if you've overridden display of tags anywhere in your theme you need to update it). This does include a new migration, and `rake schemas` has been run (which added a new db/schema.sqlserver.sql file). On the note of `rake schemas`, here's 2 important things to remember: 1. Please make sure you're using the latest version of schema_generator. 2. `rake schemas` seems to be creating a db/schema.rb file. I don't understand why, since `rake db_schema_dump` is supposed to do that, but that's what it's doing. I removed that file from version control - please do not re-add it. It does not contain the initial textfilter rows that the schema.*.sql files do, which means anybody that loads from the schema.rb file will have errors when trying to run Typo. So remember to delete db/schemas.rb after running `rake schemas`. And Scott Laird, if you're listening, I'd like to know why schema_generator seems to be creating the db/schema.rb file as well, and if you could disable that functionality since that's the province of `rake db_schema_dump`. Oh, and if you rename tags and you don't see it updating in the sidebar, remember to flush your cache. Fragment caching can prevent that from updating properly. -- Kevin Ballard kevin at sb.org http://kevin.sb.org http://www.tildesoft.com -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2378 bytes Desc: not available Url : http://rubyforge.org/pipermail/typo-list/attachments/20060131/39ce15d2/smime.bin From ernieoporto at gmail.com Tue Jan 31 11:19:41 2006 From: ernieoporto at gmail.com (Ernie Oporto) Date: Tue, 31 Jan 2006 11:19:41 -0500 Subject: [typo] Upgrade to 855 - no migration In-Reply-To: <23E272490297FB4E9DFC1666932B077A0198B572@pi-mail.perfectinfo.com> References: <23E272490297FB4E9DFC1666932B077A0198B572@pi-mail.perfectinfo.com> Message-ID: >From 2.6.0 to the various trunk versions I've done, I've seen migrations happen. Just nothing from 762 to 855. Does anyone know if there was supposed to be a migration? Do I just change the number in the file to make it happen? On 1/31/06, Paul Ingles wrote: > > Ernie, > > > > When I pulled down 855 and migrated from the 2.6.0 release it did perform > some migrations, but, the number in the admin pages on my system still show > r762. > > > > Regards, > > Paul > > www.oobaloo.co.uk > > > ------------------------------ > > *From:* typo-list-bounces at rubyforge.org [mailto: > typo-list-bounces at rubyforge.org] *On Behalf Of *Ernie Oporto > *Sent:* 30 January 2006 17:51 > *To:* typo-list at rubyforge.org > *Subject:* [typo] Upgrade to 855 - no migration > > > > > My blog still shows as r762 in the admin pages and there was no migration > of the database when I upgraded. > On the positive side, everything seems to be working as it should, but I > wonder if something is waiting to break or get corrupted. > > > This email and any attachments are confidential. They may contain > privileged information and are intended for the named addressee(s) only. > They must not be distributed without Perfect Information's consent. If you > are not the intended recipient, please notify us immediately and do not > disclose, distribute, or retain this email or any part of it. Unless > expressly stated, opinions in this email are those of the individual sender, > and not of Perfect Information. We believe but do not warrant that this > e-mail and any attachments do not contain any form of virus. You must > therefore take full responsibility for virus checking. Perfect Information > reserves the right to monitor all email communications through their > networks. > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/typo-list/attachments/20060131/dd98910b/attachment-0001.htm From ziplux at comcast.net Tue Jan 31 12:12:37 2006 From: ziplux at comcast.net (Jared Luxenberg) Date: Tue, 31 Jan 2006 12:12:37 -0500 Subject: [typo] Bugs to work on In-Reply-To: References: <377705AC-5BD0-4D19-995C-BE6FAA8D9873@sigkill.org> <43DE8202.8030303@comcast.net> Message-ID: <43DF9A85.7060101@comcast.net> Ah, no worries. I'm interested to see how you refactored it : ) - Jared Kevin Ballard wrote: > I'm doing it now. > > However, I'm sorry to say that I basically re-wrote it. Your patch > provided inspiration, and functional test, but the actual article code > itself I'm redoing. Why? Because I can compress that entire block you > have into a single line. > > Assuming there's no errors, I'll commit in a minute. > > On Jan 30, 2006, at 1:15 PM, Jared Luxenberg wrote: > >> I submitted a patch to allow tags with spaces in them here: >> http://typo.leetsoft.com/trac/ticket/674 >> >> Is it possible that it will be merged into the trunk sometime? > > --Kevin Ballard > kevin at sb.org > http://kevin.sb.org > http://www.tildesoft.com > > > ------------------------------------------------------------------------ > > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list From steve.longdo at gmail.com Tue Jan 31 13:31:02 2006 From: steve.longdo at gmail.com (Steve Longdo) Date: Tue, 31 Jan 2006 12:31:02 -0600 Subject: [typo] Bugs to work on In-Reply-To: <377705AC-5BD0-4D19-995C-BE6FAA8D9873@sigkill.org> References: <377705AC-5BD0-4D19-995C-BE6FAA8D9873@sigkill.org> Message-ID: I see references to Typo 4.0 on trac, is this code avilable somewhere in SVN? On 1/23/06, Scott Laird wrote: > > I've obviously been a bit out of touch lately, but I think I can > finally get back to Typo hacking. At the moment, we have 133 open > tickets, which is a bit more then I really feel like tackling at the > moment. Is there any sort of consensus on which bugs are the more > irritating, an/or which patches are most in need of being applied? > > > Scott > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/typo-list/attachments/20060131/6b6f6085/attachment.htm From phil at cryer.us Tue Jan 31 13:44:45 2006 From: phil at cryer.us (phil) Date: Tue, 31 Jan 2006 12:44:45 -0600 Subject: [typo] Upgrade to 855 - no migration In-Reply-To: 73DBB686-4F14-4D61-A577-04207E01C787@sb.org Message-ID: <6b8d371ac4e4f23a7b5b14f3fce8afdc@pepe.cryer.us> On Tue, 31 Jan 2006 01:59:49 -0800, Kevin Ballard wrote: > Yeah, that number is flawed. It only updates when the file it's > actually stored in is modified, which is never since the file only > exists to contain that number. > > If we're going to have this feature we really need to figure out some > way to keep it updated. If we made it part of the migration we could have something like: TYPO_VERSION=`svn info | grep Revision\:\ | cut -f2 -d' '`; echo "Typo r${TYPO_VERSION}" then redirect it into lib/typo_version.rb, but I can't figure out the syntax of that file. P -- http://fak3r.com - you don't have to kick it From scott at sigkill.org Tue Jan 31 13:53:30 2006 From: scott at sigkill.org (Scott Laird) Date: Tue, 31 Jan 2006 10:53:30 -0800 Subject: [typo] Upgrade to 855 - no migration In-Reply-To: <6b8d371ac4e4f23a7b5b14f3fce8afdc@pepe.cryer.us> References: <6b8d371ac4e4f23a7b5b14f3fce8afdc@pepe.cryer.us> Message-ID: On Jan 31, 2006, at 10:44 AM, phil wrote: > On Tue, 31 Jan 2006 01:59:49 -0800, Kevin Ballard > wrote: >> Yeah, that number is flawed. It only updates when the file it's >> actually stored in is modified, which is never since the file only >> exists to contain that number. >> >> If we're going to have this feature we really need to figure out some >> way to keep it updated. > > If we made it part of the migration we could have something like: > > TYPO_VERSION=`svn info | grep Revision\:\ | cut -f2 -d' '`; echo > "Typo r${TYPO_VERSION}" > > then redirect it into lib/typo_version.rb, but I can't figure out > the syntax of that file. That also assumes that everyone is using svn; quite a few people use svk, which would need a slightly different command. I don't think there's really a good solution to this problem, unfortunately. Scott From scott at sigkill.org Tue Jan 31 14:07:51 2006 From: scott at sigkill.org (Scott Laird) Date: Tue, 31 Jan 2006 11:07:51 -0800 Subject: [typo] Bugs to work on In-Reply-To: References: <377705AC-5BD0-4D19-995C-BE6FAA8D9873@sigkill.org> Message-ID: 4.0 is what we're going to call the next release; it's what we'll get when we finish fixing the bugs in the current SVN tree. Scott On Jan 31, 2006, at 10:31 AM, Steve Longdo wrote: > I see references to Typo 4.0 on trac, is this code avilable > somewhere in SVN? > > On 1/23/06, Scott Laird wrote: > I've obviously been a bit out of touch lately, but I think I can > finally get back to Typo hacking. At the moment, we have 133 open > tickets, which is a bit more then I really feel like tackling at the > moment. Is there any sort of consensus on which bugs are the more > irritating, an/or which patches are most in need of being applied? > > > Scott > _______________________________________________ > 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/typo-list/attachments/20060131/0a819bed/attachment.htm From phil at cryer.us Tue Jan 31 14:08:05 2006 From: phil at cryer.us (phil) Date: Tue, 31 Jan 2006 13:08:05 -0600 Subject: [typo] Upgrade to 855 - no migration In-Reply-To: EB0391DB-9D3F-422D-92CC-5A87E9D63B1C@sigkill.org Message-ID: On Tue, 31 Jan 2006 10:53:30 -0800, Scott Laird wrote: > > On Jan 31, 2006, at 10:44 AM, phil wrote: >> On Tue, 31 Jan 2006 01:59:49 -0800, Kevin Ballard >> wrote: >>> Yeah, that number is flawed. It only updates when the file it's >>> actually stored in is modified, which is never since the file only >>> exists to contain that number. >>> >>> If we're going to have this feature we really need to figure out some >>> way to keep it updated. >> >> If we made it part of the migration we could have something like: >> >> TYPO_VERSION=`svn info | grep Revision\:\ | cut -f2 > >That also assumes that everyone is using svn; quite a few people use >svk, which would need a slightly different command. > >I don't think there's really a good solution to this problem, >unfortunately. Unless we had a standardized CHANGELOG file that migration could grep and get a version number from and plug it int that way. P -- http://fak3r.com - you don't have to kick it From scott at sigkill.org Tue Jan 31 14:14:33 2006 From: scott at sigkill.org (Scott Laird) Date: Tue, 31 Jan 2006 11:14:33 -0800 Subject: [typo] Upgrade to 855 - no migration In-Reply-To: References: Message-ID: <607301F7-F536-42EE-8151-B334F865C604@sigkill.org> On Jan 31, 2006, at 11:08 AM, phil wrote: > On Tue, 31 Jan 2006 10:53:30 -0800, Scott Laird > wrote: >> >> On Jan 31, 2006, at 10:44 AM, phil wrote: >>> On Tue, 31 Jan 2006 01:59:49 -0800, Kevin Ballard >>> wrote: >>>> Yeah, that number is flawed. It only updates when the file it's >>>> actually stored in is modified, which is never since the file only >>>> exists to contain that number. >>>> >>>> If we're going to have this feature we really need to figure out >>>> some >>>> way to keep it updated. >>> >>> If we made it part of the migration we could have something like: >>> >>> TYPO_VERSION=`svn info | grep Revision\:\ | cut -f2 >> >> That also assumes that everyone is using svn; quite a few people use >> svk, which would need a slightly different command. >> >> I don't think there's really a good solution to this problem, >> unfortunately. > > Unless we had a standardized CHANGELOG file that migration could > grep and get a version number from and plug it int that way. That'd basically amount to repeating ourselves, since the SVN logs include all of the basic changelog information. It might be possible to get a subversion post-commit hook to update the changelog file, but if we can do that, we might as well have it update the version file directly :-). We should probably go ahead and change the version file to always say "development version" or something similar for SVN checkouts, and then make the release script update the version number for releases. Scott From steve.longdo at gmail.com Tue Jan 31 14:39:10 2006 From: steve.longdo at gmail.com (Steve Longdo) Date: Tue, 31 Jan 2006 13:39:10 -0600 Subject: [typo] Bugs to work on In-Reply-To: References: <377705AC-5BD0-4D19-995C-BE6FAA8D9873@sigkill.org> Message-ID: Is comment threading like on your website enabled in the SVN trunk or is that a modification that you have only made for your website? On 1/31/06, Scott Laird wrote: > > 4.0 is what we're going to call the next release; it's what we'll get when > we finish fixing the bugs in the current SVN tree. > > Scott > > On Jan 31, 2006, at 10:31 AM, Steve Longdo wrote: > > I see references to Typo 4.0 on trac, is this code avilable somewhere in > SVN? > > On 1/23/06, Scott Laird wrote: > > > > I've obviously been a bit out of touch lately, but I think I can > > finally get back to Typo hacking. At the moment, we have 133 open > > tickets, which is a bit more then I really feel like tackling at the > > moment. Is there any sort of consensus on which bugs are the more > > irritating, an/or which patches are most in need of being applied? > > > > > > Scott > > _______________________________________________ > > 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 > > > > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/typo-list/attachments/20060131/81cb4bba/attachment.htm From scott at sigkill.org Tue Jan 31 14:58:31 2006 From: scott at sigkill.org (Scott Laird) Date: Tue, 31 Jan 2006 11:58:31 -0800 Subject: [typo] Bugs to work on In-Reply-To: References: <377705AC-5BD0-4D19-995C-BE6FAA8D9873@sigkill.org> Message-ID: It's a long saga :-). I wrote it for Typo, but Tobi didn't want to merge it at the time, so I've been semi-maintaining it as a fork, which really sucks. Frankly, he did the right thing rejecting it-- the code's kind of flaky. So my goal is to rewrite it and merge it, but I just haven't had the time to get started on it yet. Take a look at http://scottstuff.net/ blog/articles/2005/09/15/comments-for-typo and let me know if you have any comments on, er, comments :-). Scott On Jan 31, 2006, at 11:39 AM, Steve Longdo wrote: > Is comment threading like on your website enabled in the SVN trunk > or is that a modification that you have only made for your website? > > On 1/31/06, Scott Laird wrote: > 4.0 is what we're going to call the next release; it's what we'll > get when we finish fixing the bugs in the current SVN tree. > > > Scott > > On Jan 31, 2006, at 10:31 AM, Steve Longdo wrote: > >> I see references to Typo 4.0 on trac, is this code avilable >> somewhere in SVN? >> >> On 1/23/06, Scott Laird < scott at sigkill.org > wrote: >> I've obviously been a bit out of touch lately, but I think I can >> finally get back to Typo hacking. At the moment, we have 133 open >> tickets, which is a bit more then I really feel like tackling at the >> moment. Is there any sort of consensus on which bugs are the more >> irritating, an/or which patches are most in need of being applied? >> >> >> Scott >> _______________________________________________ >> 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 > > > _______________________________________________ > 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/typo-list/attachments/20060131/33ee2c59/attachment-0001.htm From jburks725 at gmail.com Tue Jan 31 15:55:03 2006 From: jburks725 at gmail.com (Jason Burks) Date: Tue, 31 Jan 2006 15:55:03 -0500 Subject: [typo] Problem with text filters in comments (svn rev 855) Message-ID: <9bbab4e0601311255p6527f7e9y84e814b043f169a3@mail.gmail.com> Hi All, I'm running 855 and noticed an issue with comments. I have Markdown turned on for comments and articles. It works properly for articles, but in comments, it seems that Typo tries to mark URL text "clickable" in addition to passing it through the text filter. This results in something like the following: [Google](http://www.google.com "Google") this should be transformed to: Google this but instead it generates the following: http://www.google.comGoogle this I'm thinking this may be part of the spam protection code, but obviously the output is not what the user intends. Additionally, it renders correctly when you preview the comment, it's only when you actually submit that it breaks. Is anyone else seeing this behavior? Should I create a bug ticket? Regards, Jason From scott at sigkill.org Tue Jan 31 16:09:04 2006 From: scott at sigkill.org (Scott Laird) Date: Tue, 31 Jan 2006 13:09:04 -0800 Subject: [typo] Problem with text filters in comments (svn rev 855) In-Reply-To: <9bbab4e0601311255p6527f7e9y84e814b043f169a3@mail.gmail.com> References: <9bbab4e0601311255p6527f7e9y84e814b043f169a3@mail.gmail.com> Message-ID: <309C194A-F715-4D70-A022-74F5D9172BBC@sigkill.org> File a ticket. Scott On Jan 31, 2006, at 12:55 PM, Jason Burks wrote: > Hi All, > > I'm running 855 and noticed an issue with comments. I have Markdown > turned on for comments and articles. It works properly for articles, > but in comments, it seems that Typo tries to mark URL text "clickable" > in addition to passing it through the text filter. This results in > something like the following: > > [Google](http://www.google.com "Google") this > > should be transformed to: > > Google this > > but instead it generates the following: > http://www.google.comGoogle this > > I'm thinking this may be part of the spam protection code, but > obviously the output is not what the user intends. Additionally, it > renders correctly when you preview the comment, it's only when you > actually submit that it breaks. Is anyone else seeing this behavior? > Should I create a bug ticket? > > Regards, > Jason > > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list From steve.longdo at gmail.com Tue Jan 31 16:42:38 2006 From: steve.longdo at gmail.com (Steve Longdo) Date: Tue, 31 Jan 2006 15:42:38 -0600 Subject: [typo] Bugs to work on In-Reply-To: References: <377705AC-5BD0-4D19-995C-BE6FAA8D9873@sigkill.org> Message-ID: I've been working on a polling system for use with Typo. I think it woud be cool to be able to allow commenters to vote (+1 or a 1-5,1-10 system) either on the author's posting or an individual's comment. Originally I started polluting the Typo codebase with my polling stuff, but now I am breaking it out into an engine. I may add a act_as_pollable plugin to interact with any ActiveRecord object. I am not sure how I can make this work with Typo's single table for articles and comments. When you created the comment threading did you split comments into a different table or is it all handled inside of the content table? On 1/31/06, Scott Laird wrote: > > It's a long saga :-). I wrote it for Typo, but Tobi didn't want to merge > it at the time, so I've been semi-maintaining it as a fork, which really > sucks. Frankly, he did the right thing rejecting it--the code's kind of > flaky. > So my goal is to rewrite it and merge it, but I just haven't had the time > to get started on it yet. Take a look at > http://scottstuff.net/blog/articles/2005/09/15/comments-for-typo and let > me know if you have any comments on, er, comments :-). > > > Scott > > On Jan 31, 2006, at 11:39 AM, Steve Longdo wrote: > > Is comment threading like on your website enabled in the SVN trunk or is > that a modification that you have only made for your website? > > On 1/31/06, Scott Laird wrote: > > > > 4.0 is what we're going to call the next release; it's what we'll get > > when we finish fixing the bugs in the current SVN tree. > > > > Scott > > > > On Jan 31, 2006, at 10:31 AM, Steve Longdo wrote: > > > > I see references to Typo 4.0 on trac, is this code avilable somewhere in > > SVN? > > > > On 1/23/06, Scott Laird < scott at sigkill.org > wrote: > > > > > > I've obviously been a bit out of touch lately, but I think I can > > > finally get back to Typo hacking. At the moment, we have 133 open > > > tickets, which is a bit more then I really feel like tackling at the > > > moment. Is there any sort of consensus on which bugs are the more > > > irritating, an/or which patches are most in need of being applied? > > > > > > > > > Scott > > > _______________________________________________ > > > 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 > > > > > > > > _______________________________________________ > > 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 > > > > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/typo-list/attachments/20060131/e0831c0d/attachment.htm