From julian_yap at yahoo.com Tue Nov 1 04:53:06 2005 From: julian_yap at yahoo.com (Julian Yap) Date: Tue, 1 Nov 2005 20:53:06 +1100 (EST) Subject: [typo] Sidebar not working under Typo 2.5.6? Message-ID: <20051101095306.14121.qmail@web35603.mail.mud.yahoo.com> Hi, I just installed Typo 2.5.6 under Ruby 1.8.2. Not sure what version of Rails I'm running (or how to find out). I can't seem to be able to add items to the Sidebar under Typo Administration. I can drag the available items and drop them anywhere on the browser screen, including dropping it to the "Active sidebar items" box. When I drop it in that box, it doesn't look like it does anything. When I click on Publish Changes, nothing changes. I can however remove an active sidebar item fine. I've tested this under Mozilla Firefox 1.0.7, Mozilla 1.7.6 and IE 6 and it does the same thing for all. Any clues? Regards, Julian From gpsnospam at gmail.com Tue Nov 1 06:48:47 2005 From: gpsnospam at gmail.com (gpshewan) Date: Tue, 1 Nov 2005 11:48:47 +0000 Subject: [typo] Planet Typo, anyone? In-Reply-To: <43664CA0.1000605@ryoohki.net> References: <4361D2E7.30007@carotena.net> <1639D843-63C8-4FA5-837D-C3678E136BE8@gmail.com> <43663384.8020106@carotena.net> <43664CA0.1000605@ryoohki.net> Message-ID: <1BB52E86-6D16-4590-A3C0-9D2EBD4F1333@gmail.com> Oh I agree with both of you. I'm just wondering at what rate Typo is growing? I've had people contact me to get their Typo blogs up and running and some people are put off by Trac and finding solutions to their problems. I wondered if there are going to be more and more people using Typo with "How do I do this?" or "What happened there?" problems that aren't directly related to development testing - is a Trac ticket the best solution? Forums also provide an easier way for these kinds of users to search for solutions to problems. I still have the impression that the majority of the Typo user base are technical people. But if there's an increase in popularity for the not-so-technical then what does that do to the number of open Trac tickets and the volume of emails? Because everybody can do with more mail :) Just thinking about it. Adam, I have to say I like the third layout (2b) Gary On 31 Oct 2005, at 16:56, Justus Pendleton wrote: > Victor Jalencas wrote: >> And as for the forums, we're having a similar discussion in the >> ror-es >> mailing list. I think a mailing list is best usability-wise, and >> while I >> agree that there's room for a forum, I think this kind of dilutes the >> community. Let's all be under one roof while the community is small. > > Anyone who has a pathological fear of mailing lists can use > news.gmane.org or blog.gmane.org to read mailing lists in a more > web-centric style. All you have to do is submit the typo list info to > the gmane admins. > > I agree about diluting the community. The few times I've seen > projects > attempt to have both a mailing list and a forum it has seemed that all > the actual contributors ignore the forum. > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list From victor-typo at carotena.net Tue Nov 1 07:41:30 2005 From: victor-typo at carotena.net (Victor Jalencas) Date: Tue, 01 Nov 2005 13:41:30 +0100 Subject: [typo] Planet Typo, anyone? In-Reply-To: <7534D4B7-66DF-482C-A943-F49027E7E26D@site5.com> References: <4361D2E7.30007@carotena.net> <30EF9607-7D21-4EAF-BD46-C5A67DFD9B0D@lathi.net> <7534D4B7-66DF-482C-A943-F49027E7E26D@site5.com> Message-ID: <4367627A.4020609@carotena.net> Adam C. Greenfield wrote: > In follow up to this thread I've picked up planettypo.com net and > org. I'd also offer to host the resulting sites (but if someone else > ends up hosting it, I can just hand the domain names off to them). I > also asked one of our guys to whip up a quick design for Planet Typo. That was quick! I hope you offset the costs of registration and hosting with the referral link (as seen in the mockups). > > Any suggestions on what software would be best to drive this site? > PlanetPlanet would get the job done, but I didn't know if anyway had > whipped up RoR based feed aggregation software. > I'd also prefer some RoR based solution (doing otherwise kind of dilutes the message). Curiously enough, the planet rails site is using some software from Tobias, but I don't think I've seen it published anywhere. Now, who's gonna act as editor? Cheers, Victor From scott at sigkill.org Tue Nov 1 08:09:13 2005 From: scott at sigkill.org (Scott Laird) Date: Tue, 1 Nov 2005 05:09:13 -0800 Subject: [typo] Category lists not working properly... In-Reply-To: <200511010157.jA11vw05018046@rubyforge.org> References: <200511010157.jA11vw05018046@rubyforge.org> Message-ID: <9E4AD635-655F-4A38-906F-4401B346C232@sigkill.org> I *think* I know what it is, but I haven't had time to fix it yet. I think we're failing to rebuild the cached HTML for articles correctly when we're viewing categories. I know how to fix this (at least I *think* I do), so it shouldn't be a huge deal. Hopefully I'll be able to deal with it this afternoon. Scott On Oct 31, 2005, at 6:06 PM, Kyle Heon wrote: > I fixed it by going back in the admin tools and reassigning the > categories > for each of my blog posts. This wasn't too hard because I don't > have a lot > of posts (yet). > > I'd still like to know what might have caused this. What would > removing and > then reassigning the categories do? Is it some weird caching thing > maybe? > > Kyle Heon > kheon at comcast.net > > > -----Original Message----- > From: typo-list-bounces at rubyforge.org > [mailto:typo-list-bounces at rubyforge.org] On Behalf Of Kyle Heon > Sent: Monday, October 31, 2005 7:03 PM > To: typo-list at rubyforge.org > Subject: [typo] Category lists not working properly... > > I just noticed that for some odd reason when I into a category > listing of > blog posts that most if not all of the available posts for the said > category > aren't showing up. There doesn't appear to be any consistency to > the ones > that do show up. > > I converted my old Textpattern site to Typo about a month ago. I > don't see > this problem when I test my install locally in development mode > (WEBrick) > but on Textdrive using lighttpd and FastCGI it happens. > > You can see what I mean here: > > www.kyleheon.com/ > > Notice the categories that the first couple of posts are assigned > to, then > click into the category link on the right (or in the post) and > you'll see > nothing show up. > > I have noticed that the link in the category list on the right is all > lowercased and the link in the post has an initial capital letter > and I'll > look into why that is but regardless, I can't figure out what is > causing the > category lists to not properly display. > > Anyone have any thoughts? > > Kyle Heon > kheon at comcast.net > > > > _______________________________________________ > 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 doug at lathi.net Tue Nov 1 08:43:14 2005 From: doug at lathi.net (Doug Alcorn) Date: Tue, 1 Nov 2005 08:43:14 -0500 Subject: [typo] Planet Typo, anyone? In-Reply-To: <4367627A.4020609@carotena.net> References: <4361D2E7.30007@carotena.net> <30EF9607-7D21-4EAF-BD46-C5A67DFD9B0D@lathi.net> <7534D4B7-66DF-482C-A943-F49027E7E26D@site5.com> <4367627A.4020609@carotena.net> Message-ID: <58393071-5D85-4DD8-B3D6-14120C983E61@lathi.net> On Nov 1, 2005, at 7:41 AM, Victor Jalencas wrote: > Adam C. Greenfield wrote: > >> Any suggestions on what software would be best to drive this site? >> PlanetPlanet would get the job done, but I didn't know if anyway had >> whipped up RoR based feed aggregation software. >> > I'd also prefer some RoR based solution (doing otherwise kind of > dilutes > the message). Curiously enough, the planet rails site is using some > software from Tobias, but I don't think I've seen it published > anywhere. http://atticsofmylife.net/journal/view_entry/8?post_id=271#comments and more specifically: http://rubyforge.org/projects/railsplanet/ It's not easy to find. > Now, who's gonna act as editor? I don't guess there's that much to editing. Really just maintaining the list of subscribed feeds and researching problems, right? I'd be glad to volunteer for this. Honestly, I've been looking for a good excuse to play with this code. ----- Doug Alcorn - http://lathi.net/RubyOnRailsDeveloper doug at lathi.net From phil at cryer.us Tue Nov 1 11:27:48 2005 From: phil at cryer.us (Phil Cryer) Date: Tue, 01 Nov 2005 10:27:48 -0600 Subject: [typo] Planet Typo, anyone? Message-ID: <1130862468.875c29cphil@cryer.us> On Nov 1, 2005, at 7:41 AM, Victor Jalencas wrote: > Adam C. Greenfield wrote: > >> Any suggestions on what software would be best to drive this site? >> PlanetPlanet would get the job done, but I didn't know if anyway had >> whipped up RoR based feed aggregation software. >> > I'd also prefer some RoR based solution (doing otherwise kind of > dilutes > the message). Curiously enough, the planet rails site is using some > software from Tobias, but I don't think I've seen it published > anywhere. has this been considered for an example? http://www.planetrubyonrails.org/ for the vote, I liked the 3rd layout, but regardless, the above link looks more 'planety' P http://atticsofmylife.net/journal/view_entry/8?post_id=271#comments and more specifically: http://rubyforge.org/projects/railsplanet/ It's not easy to find. > Now, who's gonna act as editor? I don't guess there's that much to editing. Really just maintaining the list of subscribed feeds and researching problems, right? I'd be glad to volunteer for this. Honestly, I've been looking for a good excuse to play with this code. ----- Doug Alcorn - http://lathi.net/RubyOnRailsDeveloper doug at lathi.net _______________________________________________ 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 doug at lathi.net Tue Nov 1 11:47:34 2005 From: doug at lathi.net (Doug Alcorn) Date: Tue, 1 Nov 2005 11:47:34 -0500 Subject: [typo] Planet Typo, anyone? In-Reply-To: <1130862468.875c29cphil@cryer.us> References: <1130862468.875c29cphil@cryer.us> Message-ID: <4568259A-2E68-418F-998A-6EB63D02CCEA@lathi.net> On Nov 1, 2005, at 11:27 AM, Phil Cryer wrote: > > has this been considered for an example? > > http://www.planetrubyonrails.org/ > > for the vote, I liked the 3rd layout, but regardless, the above > link looks more 'planety' > FYI, the links for the software I gave below are what drives the link you gave above. > > > http://atticsofmylife.net/journal/view_entry/8?post_id=271#comments > > and more specifically: http://rubyforge.org/projects/railsplanet/ ----- Doug Alcorn - http://lathi.net/RubyOnRailsDeveloper doug at lathi.net From victor-typo at carotena.net Tue Nov 1 12:05:46 2005 From: victor-typo at carotena.net (Victor Jalencas) Date: Tue, 01 Nov 2005 18:05:46 +0100 Subject: [typo] Category lists not working properly... In-Reply-To: <9E4AD635-655F-4A38-906F-4401B346C232@sigkill.org> References: <200511010157.jA11vw05018046@rubyforge.org> <9E4AD635-655F-4A38-906F-4401B346C232@sigkill.org> Message-ID: <4367A06A.1050701@carotena.net> Scott Laird wrote: > I *think* I know what it is, but I haven't had time to fix it yet. I > think we're failing to rebuild the cached HTML for articles correctly > when we're viewing categories. I know how to fix this (at least I > *think* I do), so it shouldn't be a huge deal. Hopefully I'll be > able to deal with it this afternoon. Does it have anything to do with the readonly property? I posted a patch that solved my problem, but I'm not sure if this can be generalized, or whether there are other cases that were not covered (I only addressed categories and tags views) Victor From scott at sigkill.org Tue Nov 1 12:29:00 2005 From: scott at sigkill.org (Scott Laird) Date: Tue, 1 Nov 2005 09:29:00 -0800 Subject: [typo] Category lists not working properly... In-Reply-To: <4367A06A.1050701@carotena.net> References: <200511010157.jA11vw05018046@rubyforge.org> <9E4AD635-655F-4A38-906F-4401B346C232@sigkill.org> <4367A06A.1050701@carotena.net> Message-ID: <1217094A-F8E5-4C74-984D-3FDD93053EE5@sigkill.org> On Nov 1, 2005, at 9:05 AM, Victor Jalencas wrote: > Scott Laird wrote: >> I *think* I know what it is, but I haven't had time to fix it yet. I >> think we're failing to rebuild the cached HTML for articles correctly >> when we're viewing categories. I know how to fix this (at least I >> *think* I do), so it shouldn't be a huge deal. Hopefully I'll be >> able to deal with it this afternoon. > > Does it have anything to do with the readonly property? I posted a > patch > that solved my problem, but I'm not sure if this can be > generalized, > or whether there are other cases that were not covered (I only > addressed > categories and tags views) Yeah, it's the read-only bit that's new with 0.14.x. I'll take a look at your patch (and all of the other ones that have popped up in the last week) as soon as I finish the project that I need to finish by this afternoon. Scott From crisdias at crisdias.com Tue Nov 1 12:53:16 2005 From: crisdias at crisdias.com (Cristiano Dias) Date: Tue, 1 Nov 2005 15:53:16 -0200 Subject: [typo] Category lists not working properly... In-Reply-To: <1217094A-F8E5-4C74-984D-3FDD93053EE5@sigkill.org> References: <200511010157.jA11vw05018046@rubyforge.org> <9E4AD635-655F-4A38-906F-4401B346C232@sigkill.org> <4367A06A.1050701@carotena.net> <1217094A-F8E5-4C74-984D-3FDD93053EE5@sigkill.org> Message-ID: <67171ac10511010953y6ca4ea7al9b0271b75d300d44@mail.gmail.com> Here is my not-elegant-at-all-quick fix: Since I know absolutely nothing about Typo (I just installed it) I simply changed the last line at app\views\articles\_article.rhtml to: <%= article_html(article.clone,:body) %> and it fixed the error. On 11/1/05, Scott Laird wrote: > > On Nov 1, 2005, at 9:05 AM, Victor Jalencas wrote: > > > Scott Laird wrote: > >> I *think* I know what it is, but I haven't had time to fix it yet. I > >> think we're failing to rebuild the cached HTML for articles correctly > >> when we're viewing categories. I know how to fix this (at least I > >> *think* I do), so it shouldn't be a huge deal. Hopefully I'll be > >> able to deal with it this afternoon. > > > > Does it have anything to do with the readonly property? I posted a > > patch > > that solved my problem, but I'm not sure if this can be > > generalized, > > or whether there are other cases that were not covered (I only > > addressed > > categories and tags views) > > Yeah, it's the read-only bit that's new with 0.14.x. I'll take a > look at your patch (and all of the other ones that have popped up in > the last week) as soon as I finish the project that I need to finish > by this afternoon. > > > Scott > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list > -- CrisDias, o S?ndico www.vilago.com.br -- Seu site vai gostar de morar aqui From phil at cryer.us Tue Nov 1 13:04:41 2005 From: phil at cryer.us (Phil Cryer) Date: Tue, 01 Nov 2005 12:04:41 -0600 Subject: [typo] All categories work, but one Message-ID: <1130868281.875c29cphil@cryer.us> Now all my categories are working, except for one, and when you hit it it displays the old/default Typo layout, so I suspect it's some funny caching issue (clearing the cach/html cache in admin didn't change anything) Check it here, does the error reveal how it can be fixed/reset? http://fak3r.com/articles/category/phishing Thanks P http://fak3r.com - you don't have to kick it From scott at sigkill.org Tue Nov 1 13:08:32 2005 From: scott at sigkill.org (Scott Laird) Date: Tue, 1 Nov 2005 10:08:32 -0800 Subject: [typo] All categories work, but one In-Reply-To: <1130868281.875c29cphil@cryer.us> References: <1130868281.875c29cphil@cryer.us> Message-ID: <1219AE25-82AA-4881-8D69-663BD347D2ED@sigkill.org> On Nov 1, 2005, at 10:04 AM, Phil Cryer wrote: > Now all my categories are working, except for one, and when you hit > it it displays the old/default Typo layout, so I suspect it's some > funny caching issue (clearing the cach/html cache in admin didn't > change anything) > > Check it here, does the error reveal how it can be fixed/reset? > http://fak3r.com/articles/category/phishing Try removing the entire public/articles directory and see if that helps. Scott From e at latherrinserepeat.org Tue Nov 1 15:16:55 2005 From: e at latherrinserepeat.org (Liz) Date: Tue, 01 Nov 2005 15:16:55 -0500 Subject: [typo] Sidebar not working under Typo 2.5.6? In-Reply-To: <20051101095306.14121.qmail@web35603.mail.mud.yahoo.com> References: <20051101095306.14121.qmail@web35603.mail.mud.yahoo.com> Message-ID: <0E2B2C14-020F-4588-91D5-B7C9C00B0B02@latherrinserepeat.org> I am having a similar problem. I am on the trunk, on Ruby 1.8.2, Rails 0.14.2. If I add any sidebar that involves RSS (del.icio.us, tadalist, etc), they do not show up on my site. They show on the sidebar admin page, just not on the site. Any Sidebar that just involves the database (tags, archives, etc) show up fine. Installed a fresh version of the trunk, and it still has not changed. I tried this in safari and firefox to no avail. Any ideas on where to look to fix this? I am clueless...should in the database for anything funny? I really don't know. Thanks, Liz http://www.latherrinserepeat.org/ On Nov 1, 2005, at 4:53 AM, Julian Yap wrote: > Hi, > I just installed Typo 2.5.6 under Ruby 1.8.2. Not sure what > version of Rails I'm running (or how to find out). > > I can't seem to be able to add items to the Sidebar under Typo > Administration. I can drag the available items and drop them > anywhere on the browser screen, including dropping it to the > "Active sidebar items" box. > > When I drop it in that box, it doesn't look like it does > anything. When I click on Publish Changes, nothing changes. > > I can however remove an active sidebar item fine. > > I've tested this under Mozilla Firefox 1.0.7, Mozilla 1.7.6 and > IE 6 and it does the same thing for all. > > Any clues? > > Regards, > Julian > > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list > From rsanheim at gmail.com Tue Nov 1 23:53:12 2005 From: rsanheim at gmail.com (Rob Sanheim) Date: Tue, 1 Nov 2005 22:53:12 -0600 Subject: [typo] how stable is the latest rails+typo combo? Message-ID: Hi folks, I'm thinking of spending some time getting trunk rails + latest typo from svn working on a dev box and then "in production". Are things generally stable enough that I could do this without too much pain, or should I wait it out a bit more as Rails 1.0 lands? thanks, Rob -- http://www.robsanheim.com/ From ronald.green at gmail.com Wed Nov 2 00:10:37 2005 From: ronald.green at gmail.com (Ron Green) Date: Tue, 1 Nov 2005 23:10:37 -0600 Subject: [typo] Migrate issues Message-ID: <5d63856e0511012110g3a8ecb4bk54017b17643fbb6c@mail.gmail.com> Scott, Are you getting any closer to resolving the migrate issue? I just tried to install a new copy of typo locally and I'm getting all kinds of migrate errors similar to the ones listed in ticket 454. I think if you already have a db established you mightm be ok upgrading to a newer build but it looks to me that doing a new install is just not possible right now. I tried both 2.5.6 and build 708. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/typo-list/attachments/20051101/a2abb82d/attachment.htm From scott at sigkill.org Wed Nov 2 00:54:00 2005 From: scott at sigkill.org (Scott Laird) Date: Tue, 1 Nov 2005 21:54:00 -0800 Subject: [typo] Migrate issues In-Reply-To: <5d63856e0511012110g3a8ecb4bk54017b17643fbb6c@mail.gmail.com> References: <5d63856e0511012110g3a8ecb4bk54017b17643fbb6c@mail.gmail.com> Message-ID: <3EDCF68B-A2A8-4445-BF74-E908BF70AE83@sigkill.org> On Nov 1, 2005, at 9:10 PM, Ron Green wrote: > Scott, > > Are you getting any closer to resolving the migrate issue? > I just tried to install a new copy of typo locally and I'm getting > all kinds of migrate errors similar to the ones listed in ticket 454. > I think if you already have a db established you mightm be ok > upgrading to a newer build but it looks to me that doing a new > install is just not possible right now. > I tried both 2.5.6 and build 708. New installs shouldn't need migration; can you explain what you're seeing? Scott -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/typo-list/attachments/20051101/1e175514/attachment.htm From rasputnik at gmail.com Wed Nov 2 05:03:20 2005 From: rasputnik at gmail.com (Dick Davies) Date: Wed, 2 Nov 2005 10:03:20 +0000 Subject: [typo] how stable is the latest rails+typo combo? In-Reply-To: References: Message-ID: <3f1760511020203p454550d1i@mail.gmail.com> Backporting patches here and there to the last stable is getting to be a pain. My hunch is that since Rails hasn't crystallized yet, you *need* to be tracking svn to make applying patches as easy as possible (to keep typo usable as Rails shifts underfoot). Trunk rails sounds like a bad idea to me for production, as you'd be chasing a moving target on a daily basis. I'm planning to keep 'gem update'ing rails releases [ I don't have much choice as textdrive bump rails for me :) ]and pulling bits of trunk svn when I need to. On 02/11/05, Rob Sanheim wrote: > Hi folks, > I'm thinking of spending some time getting trunk rails + latest typo > from svn working on a dev box and then "in production". Are things > generally stable enough that I could do this without too much pain, or > should I wait it out a bit more as Rails 1.0 lands? > thanks, > Rob > -- > http://www.robsanheim.com/ > > _______________________________________________ > 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 julian_yap at yahoo.com Wed Nov 2 05:46:00 2005 From: julian_yap at yahoo.com (Julian Yap) Date: Wed, 2 Nov 2005 21:46:00 +1100 (EST) Subject: [typo] Sidebar not working under Typo 2.5.6? In-Reply-To: <0E2B2C14-020F-4588-91D5-B7C9C00B0B02@latherrinserepeat.org> Message-ID: <20051102104600.83533.qmail@web35608.mail.mud.yahoo.com> Liz, That sounds like you're going better than me. When I drag an "Available Item" to the "Active Sidebar items" side, it just sits there. Is it meant to integrate or do something? I mean I've seen AJAX demos of drag and drop. I could possibly try installing an old version of Typo where drag and drop of sidebar configuration is not supported but I don't see the point. Also, I could Does my version of Rails matter? How can I quickly check this out? I'm running this all on my web hosting provider... OK, maybe I should test this out on my own separate setup if I really want to get to the bottom of it all... Julian --- Liz wrote: > I am having a similar problem. > > I am on the trunk, on Ruby 1.8.2, Rails 0.14.2. If I add any > sidebar > that involves RSS (del.icio.us, tadalist, etc), they do not > show up > on my site. They show on the sidebar admin page, just not on > the > site. Any Sidebar that just involves the database (tags, > archives, > etc) show up fine. Installed a fresh version of the trunk, and > it > still has not changed. I tried this in safari and firefox to > no avail. > > Any ideas on where to look to fix this? I am clueless...should > in the > database for anything funny? I really don't know. > > Thanks, > Liz > http://www.latherrinserepeat.org/ From ronald.green at gmail.com Wed Nov 2 08:46:11 2005 From: ronald.green at gmail.com (Ron Green) Date: Wed, 2 Nov 2005 07:46:11 -0600 Subject: [typo] Migrate issues In-Reply-To: <3EDCF68B-A2A8-4445-BF74-E908BF70AE83@sigkill.org> References: <5d63856e0511012110g3a8ecb4bk54017b17643fbb6c@mail.gmail.com> <3EDCF68B-A2A8-4445-BF74-E908BF70AE83@sigkill.org> Message-ID: <5d63856e0511020546q386fec8eh14c520c070a28df0@mail.gmail.com> If I try to install 2.5.6, when I log in to admin the first time, it presents me with the DB migration page which indicates I am eligible to migrage from 0 to 9. If I try installing from trunk, I get the same thing only it says I am eligible to migrate from 0 to 24. The db migration never works. It starts throwing exceptions that columns or table already exist. I tried following through one of the 0 to 9 migrations. Every time it threw an exception, I would delete whatever it was in the schema. Finally got to the end and nothing happened. If I tried hitting migrate again, the process started all over again. On 11/1/05, Scott Laird wrote: > > > On Nov 1, 2005, at 9:10 PM, Ron Green wrote: > > Scott, > Are you getting any closer to resolving the migrate issue? > I just tried to install a new copy of typo locally and I'm getting all > kinds of migrate errors similar to the ones listed in ticket 454. > I think if you already have a db established you mightm be ok upgrading to > a newer build but it looks to me that doing a new install is just not > possible right now. > I tried both 2.5.6 and build 708. > > > New installs shouldn't need migration; can you explain what you're > seeing? > > > 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/20051102/3bba48ad/attachment.htm From crisdias at crisdias.com Wed Nov 2 09:06:47 2005 From: crisdias at crisdias.com (Cristiano Dias) Date: Wed, 2 Nov 2005 12:06:47 -0200 Subject: [typo] 404 errors on webrick Message-ID: <67171ac10511020606i56e2323fn34a2b8e895727e09@mail.gmail.com> Sorry if this has already been discussed on this list, but I have just arrived and I can't find a place for "search history". 8-) I am porting my Wordpress to Typo and after a couple of minutes browsing around I get 404 errors for everything I do. Restarting Webrick (running on WinXP) fixes the problem for another couple of minutes. Has anyone else experienced this? -- CrisDias www.crisdias.com From doug at lathi.net Wed Nov 2 09:30:33 2005 From: doug at lathi.net (Doug Alcorn) Date: Wed, 2 Nov 2005 09:30:33 -0500 Subject: [typo] how stable is the latest rails+typo combo? In-Reply-To: References: Message-ID: <81011A61-F4A5-4BBD-A3DC-894855095641@lathi.net> On Nov 1, 2005, at 11:53 PM, Rob Sanheim wrote: > I'm thinking of spending some time getting trunk rails + latest typo > from svn working on a dev box and then "in production". Are things > generally stable enough that I could do this without too much pain, or > should I wait it out a bit more as Rails 1.0 lands? I just did this yesterday. I'm running latest gem Rails (0.14.2) and trunk svn typo. I don't have any compatibility problems with trunk typo. I wouldn't bother with latest edge Rails at this point. Just wait for release candidates and update from gem. I did have problems with latest gem Rails and stable typo (both 2.5.3 and 2.5.6). I think there are a couple of patches that need to go back from trunk typo to the stable branch. However, all the patches needed are in trunk. I think there will be more effort to keep trunk typo compatible with latest released Rails than in the stable tree. By the way, I didn't have any db migration issues coming from 2.5.3 all the way to trunk typo. Thanks Scott for your work on that! ----- Doug Alcorn - http://lathi.net/RubyOnRailsDeveloper doug at lathi.net From scott at sigkill.org Wed Nov 2 09:45:13 2005 From: scott at sigkill.org (Scott Laird) Date: Wed, 2 Nov 2005 06:45:13 -0800 Subject: [typo] Migrate issues In-Reply-To: <5d63856e0511020546q386fec8eh14c520c070a28df0@mail.gmail.com> References: <5d63856e0511012110g3a8ecb4bk54017b17643fbb6c@mail.gmail.com> <3EDCF68B-A2A8-4445-BF74-E908BF70AE83@sigkill.org> <5d63856e0511020546q386fec8eh14c520c070a28df0@mail.gmail.com> Message-ID: On Nov 2, 2005, at 5:46 AM, Ron Green wrote: > If I try to install 2.5.6, when I log in to admin the first time, > it presents me with the DB migration page which indicates I am > eligible to migrage from 0 to 9. If I try installing from trunk, I > get the same thing only it says I am eligible to migrate from 0 to > 24. The db migration never works. It starts throwing exceptions > that columns or table already exist. I tried following through one > of the 0 to 9 migrations. Every time it threw an exception, I would > delete whatever it was in the schema. Finally got to the end and > nothing happened. If I tried hitting migrate again, the process > started all over again. Don't try to migrate to set up the initial DB--use the schema files in db/schema.*.sql instead. The migrator in shouldn't offer to migrate from schema 0--that's really a bug that we need to fix. Scott From rsanheim at gmail.com Wed Nov 2 10:25:54 2005 From: rsanheim at gmail.com (Rob Sanheim) Date: Wed, 2 Nov 2005 09:25:54 -0600 Subject: [typo] how stable is the latest rails+typo combo? In-Reply-To: <81011A61-F4A5-4BBD-A3DC-894855095641@lathi.net> References: <81011A61-F4A5-4BBD-A3DC-894855095641@lathi.net> Message-ID: On 11/2/05, Doug Alcorn wrote: > I just did this yesterday. I'm running latest gem Rails (0.14.2) and > trunk svn typo. I don't have any compatibility problems with trunk > typo. I wouldn't bother with latest edge Rails at this point. Just > wait for release candidates and update from gem. > > I did have problems with latest gem Rails and stable typo (both 2.5.3 > and 2.5.6). I think there are a couple of patches that need to go > back from trunk typo to the stable branch. However, all the patches > needed are in trunk. I think there will be more effort to keep trunk > typo compatible with latest released Rails than in the stable tree. > > By the way, I didn't have any db migration issues coming from 2.5.3 > all the way to trunk typo. Thanks Scott for your work on that! > ----- > Doug Alcorn - http://lathi.net/RubyOnRailsDeveloper > doug at lathi.net So it sounds like the best way to go is just latest RC of Rails and latest typo from svn. Then hopefully I'll be able to do gem updates on rails and check out typo when I want newer versions of that. It sounds like the latest "stable" typo has problems with the newer Rails release candidates still, is that correct? thanks, Rob -- http://www.robsanheim.com/ From e at latherrinserepeat.org Wed Nov 2 10:56:41 2005 From: e at latherrinserepeat.org (Liz) Date: Wed, 02 Nov 2005 10:56:41 -0500 Subject: [typo] Sidebar Issues with Typo Trunk & Rails 0.14.2 In-Reply-To: References: Message-ID: <00CC66A3-8B1B-42E1-81B9-ED360B319842@latherrinserepeat.org> Hey there, As I mentioned yesterday, I cannot get any sidebar components involving RSS working with my installation of the Typo trunk, on Rails 0.14.2 and Ruby 1.8.2. I went ahead and installed a new copy of the trunk, didn't help. I even went so far as to install a completely new Typo trunk with a completely new database, and that didn't work either. Next I tried the stable version with a new database. No go. I've looked in the database, and everything seems fine. In my source, there are blank chunks of space where the sidebar components are supposed to be, so it makes me think they want to work. What I do know is that my host *just* has 0.14.2 installed, and nothing left under it, which leads to me to think its something to do with Typo and Rails 0.14.2, but I really don't know. My host cannot revert to an earlier version of rails, so, I seem to be stuck. Does anyone any ideas? Has anyone else experienced this or something like it? I guess its about time to write up a ticket.. Thanks, Liz http://www.latherrinserepeat.org/ _______________________________________________ Typo-list mailing list Typo-list at rubyforge.org http://rubyforge.org/mailman/listinfo/typo-list From ronald.green at gmail.com Wed Nov 2 10:57:30 2005 From: ronald.green at gmail.com (Ron Green) Date: Wed, 2 Nov 2005 09:57:30 -0600 Subject: [typo] Migrate issues In-Reply-To: References: <5d63856e0511012110g3a8ecb4bk54017b17643fbb6c@mail.gmail.com> <3EDCF68B-A2A8-4445-BF74-E908BF70AE83@sigkill.org> <5d63856e0511020546q386fec8eh14c520c070a28df0@mail.gmail.com> Message-ID: <5d63856e0511020757w6acda2a0u6330cb0409f58814@mail.gmail.com> Scott, I am using the schema file in db. The migrate thing is happening all on its own. All I am doing is running the schema and then (using webrick) go to localhost:3000. I get the initial admin new user screen user name, email password and then press setup. At this point I am presented with the migrate screen. It's not a choice. I even went so far as to delete ruby, rails, apache, mysql, typo and reinstall all to get a fresh start. On 11/2/05, Scott Laird wrote: > > > On Nov 2, 2005, at 5:46 AM, Ron Green wrote: > > > If I try to install 2.5.6, when I log in to admin the first time, > > it presents me with the DB migration page which indicates I am > > eligible to migrage from 0 to 9. If I try installing from trunk, I > > get the same thing only it says I am eligible to migrate from 0 to > > 24. The db migration never works. It starts throwing exceptions > > that columns or table already exist. I tried following through one > > of the 0 to 9 migrations. Every time it threw an exception, I would > > delete whatever it was in the schema. Finally got to the end and > > nothing happened. If I tried hitting migrate again, the process > > started all over again. > > Don't try to migrate to set up the initial DB--use the schema files > in db/schema.*.sql instead. The migrator in shouldn't offer to > migrate from schema 0--that's really a bug that we need to fix. > > > 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/20051102/aa262246/attachment.htm From rob at awakeheart.net Wed Nov 2 11:57:14 2005 From: rob at awakeheart.net (Robert Ivanc) Date: Wed, 2 Nov 2005 17:57:14 +0100 Subject: [typo] quickpost bookmarklet Message-ID: Hi, I was wondering if perhaps there's a quickpost bookmarklet available anywhere? Regards, Robert From tobias.luetke at gmail.com Wed Nov 2 12:44:35 2005 From: tobias.luetke at gmail.com (Tobias Luetke) Date: Wed, 2 Nov 2005 12:44:35 -0500 Subject: [typo] quickpost bookmarklet In-Reply-To: References: Message-ID: <9963c1bd0511020944h2172dccw72f6fe8745913f79@mail.gmail.com> Please look into that. That would be very nice to offer in the typo admin On 11/2/05, Robert Ivanc wrote: > Hi, > > I was wondering if perhaps there's a quickpost bookmarklet available anywhere? > > Regards, > Robert > > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list > -- Tobi http://jadedpixel.com - modern e-commerce software http://typo.leetsoft.com - Open source weblog engine http://blog.leetsoft.com - Technical weblog From trejkaz at trypticon.org Wed Nov 2 16:23:19 2005 From: trejkaz at trypticon.org (Trejkaz) Date: Thu, 3 Nov 2005 08:23:19 +1100 Subject: [typo] Sidebar Issues with Typo Trunk & Rails 0.14.2 In-Reply-To: <00CC66A3-8B1B-42E1-81B9-ED360B319842@latherrinserepeat.org> References: <00CC66A3-8B1B-42E1-81B9-ED360B319842@latherrinserepeat.org> Message-ID: <200511030823.22826.trejkaz@trypticon.org> On Thursday 03 November 2005 02:56, Liz wrote: > Hey there, > > As I mentioned yesterday, I cannot get any sidebar components > involving RSS working with my installation of the Typo trunk, on > Rails 0.14.2 and Ruby 1.8.2. I went ahead and installed a new copy of > the trunk, didn't help. I even went so far as to install a completely > new Typo trunk with a completely new database, and that didn't work > either. Next I tried the stable version with a new database. No go. Does the same thing happen with an up-to-date Ruby? I know that Rails 0.13.x wasncompatible with Ruby 1.8.3, so I wouldn't be entirely surprised if there were some obscure incompatibility between Rails 0.14.x and Ruby 1.8.2. Ruby 1.8.2 has a vulnerability anyway, which gives people a nice excuse to upgrade it. :-) TX -- Email: Trejkaz Xaoza Web site: http://trypticon.org/ Jabber ID: trejkaz at jabber.zim.net.au 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/20051103/a2f6dc93/attachment.bin From e at latherrinserepeat.org Wed Nov 2 17:54:04 2005 From: e at latherrinserepeat.org (Liz) Date: Wed, 02 Nov 2005 17:54:04 -0500 Subject: [typo] Sidebar Issues with Typo Trunk & Rails 0.14.2 In-Reply-To: <200511030823.22826.trejkaz@trypticon.org> References: <00CC66A3-8B1B-42E1-81B9-ED360B319842@latherrinserepeat.org> <200511030823.22826.trejkaz@trypticon.org> Message-ID: <9F5495E9-7876-47FE-BB9A-FC913690FCDF@latherrinserepeat.org> Upgrading Ruby is up to my host though, not me. :( Liz http://www.latherrinserepeat.org/ On Nov 2, 2005, at 4:23 PM, Trejkaz wrote: > On Thursday 03 November 2005 02:56, Liz wrote: >> Hey there, >> >> As I mentioned yesterday, I cannot get any sidebar components >> involving RSS working with my installation of the Typo trunk, on >> Rails 0.14.2 and Ruby 1.8.2. I went ahead and installed a new copy of >> the trunk, didn't help. I even went so far as to install a completely >> new Typo trunk with a completely new database, and that didn't work >> either. Next I tried the stable version with a new database. No go. > > Does the same thing happen with an up-to-date Ruby? I know that > Rails 0.13.x > wasncompatible with Ruby 1.8.3, so I wouldn't be entirely surprised > if there > were some obscure incompatibility between Rails 0.14.x and Ruby 1.8.2. > > Ruby 1.8.2 has a vulnerability anyway, which gives people a nice > excuse to > upgrade it. :-) > > TX > > -- > Email: Trejkaz Xaoza > Web site: http://trypticon.org/ > Jabber ID: trejkaz at jabber.zim.net.au > GPG Fingerprint: 9EEB 97D7 8F7B 7977 F39F A62C B8C7 BC8B 037E EA73 > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list From trejkaz at trypticon.org Wed Nov 2 18:26:38 2005 From: trejkaz at trypticon.org (Trejkaz) Date: Thu, 3 Nov 2005 10:26:38 +1100 (EST) Subject: [typo] Sidebar Issues with Typo Trunk & Rails 0.14.2 In-Reply-To: <9F5495E9-7876-47FE-BB9A-FC913690FCDF@latherrinserepeat.org> References: <00CC66A3-8B1B-42E1-81B9-ED360B319842@latherrinserepeat.org> <200511030823.22826.trejkaz@trypticon.org> <9F5495E9-7876-47FE-BB9A-FC913690FCDF@latherrinserepeat.org> Message-ID: <1792.210.50.55.251.1130973998.squirrel@home.trypticon.org> > Upgrading Ruby is up to my host though, not me. :( I guess. But surely any web hosting service would care if there is a known security vulnerability in the older version they're running. TX From vanweerd at gmail.com Wed Nov 2 20:56:46 2005 From: vanweerd at gmail.com (Nicholas Van Weerdenburg) Date: Wed, 2 Nov 2005 20:56:46 -0500 Subject: [typo] Typo 2.5.0 Message-ID: <632154f70511021756p591ac6bcm7ab3e1c2bc3fa848@mail.gmail.com> What kind of issues might I expect running Typo 2.5.0 on Rails 0.14.2? The code has some modifications, so it will take a bit of effort to move it to a later Typo. The reason I ask is that Textdrive moved to 0.14.2 I tried the following in environment.rb # Set use_latest=true for latest gem install # otherwise use 0.13.1 version of Rails use_latest = false if use_latest require 'active_support' require 'active_record' require 'action_controller' require 'action_mailer' require 'action_web_service' else require_gem 'activesupport', '= 1.1.1' require_gem 'actionwebservice', '= 0.8.1' require_gem 'activerecord', '= 1.11.1' require_gem 'actionpack', '= 1.9.1' require_gem 'actionmailer', '= 1.0.1' require_gem 'rails', '= 0.13.1' end But that caused the following error: ruby script/server c:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.1.1/lib/active_support/depende ncies.rb:186:in `const_missing': uninitialized constant ActiveRecordStore (Na meError) from ./script/../config/environment.rb:109 from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require__' from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require' from script/server:42 Any thoughts on that one? Finally, I considered the "rails ." upgrade step, but I figured that was too risked so I reverted out of it. Alternatively, the app does seems to run on 0.14.2 if I don't make any changes, but I'm wondering what kind of issues that might cause me. Thanks, Nick From julian_yap at yahoo.com Thu Nov 3 00:18:26 2005 From: julian_yap at yahoo.com (Julian Yap) Date: Thu, 3 Nov 2005 16:18:26 +1100 (EST) Subject: [typo] Sidebar not working under Typo 2.5.6? In-Reply-To: <0E2B2C14-020F-4588-91D5-B7C9C00B0B02@latherrinserepeat.org> Message-ID: <20051103051826.55493.qmail@web35603.mail.mud.yahoo.com> OK, I found out my Web service provider had v0.13.0 of Rails installed. > ls /usr/lib/ruby/gems/1.8/cache/rail* /usr/lib/ruby/gems/1.8/cache/rails-0.13.0.gem Worked fine for me when I tested out v0.14.2 of Rails. From dlamotte at bamboo.lu Thu Nov 3 03:36:46 2005 From: dlamotte at bamboo.lu (Denis Lamotte) Date: Thu, 03 Nov 2005 09:36:46 +0100 Subject: [typo] quickpost bookmarklet In-Reply-To: References: Message-ID: <4369CC1E.50102@bamboo.lu> i will propose a patch with it. i have done it for typo 2.5.3. i have to update it and to adapt the interface so that each user have its own favelet. Robert Ivanc wrote: > Hi, > > I was wondering if perhaps there's a quickpost bookmarklet available anywhere? > > Regards, > Robert > > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list > > From ccagle at alumni.utexas.net Thu Nov 3 03:47:47 2005 From: ccagle at alumni.utexas.net (clint) Date: Thu, 3 Nov 2005 02:47:47 -0600 Subject: [typo] typo - error when running on apache Message-ID: <802b2b6b0511030047j5f92e255p8a5332bd501c06fb@mail.gmail.com> I am using instant rails to host the sample cookbook application and typo. They were both running fine using the apache server, but now I get the error below when I go to www.myblog.com (typo virtual site) ---------------- #!/usr/bin/env ruby # # You may specify the path to the FastCGI crash log (a log of unhandled # exceptions which forced the FastCGI instance to exit, great for debugging) # and the number of requests to process before running garbage collection. # # By default, the FastCGI crash log is RAILS_ROOT/log/fastcgi.crash.log # and the GC period is nil (turned off). A reasonable number of requests # could range from 10-100 depending on the memory footprint of your app. # # Example: # # Default log path, normal GC behavior. # RailsFCGIHandler.process! # # # Default log path, 50 requests between GC. # RailsFCGIHandler.process! nil, 50 # # # Custom log path, normal GC behavior. # RailsFCGIHandler.process! '/var/log/myapp_fcgi_crash.log' # require File.dirname(__FILE__) + "/../config/environment" require 'fcgi_handler' RailsFCGIHandler.process! ------------------- Any ideas are greatly appreciated. Thanks, Clint -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/typo-list/attachments/20051103/1cd41521/attachment.htm From Mike at miscanthus.net Thu Nov 3 13:55:37 2005 From: Mike at miscanthus.net (Mike Summers) Date: Thu, 03 Nov 2005 12:55:37 -0600 Subject: [typo] File based storage? Message-ID: <436A5D29.4050801@miscanthus.net> Has anyone worked on porting typo to use file-based storage rather than a database? My thought at this point is to rewrite: ./app/controllers/articles_controller.rb ./app/models/trackback.rb ./app/models/blacklist_pattern.rb ./app/models/resource.rb ./app/models/page_cache.rb ./app/models/setting.rb ./app/models/user.rb ./app/models/page.rb ./app/models/article.rb ./app/models/comment.rb ./app/models/sidebar.rb ./app/models/ping.rb ./app/models/category.rb with Madeleine rather than ActiveRecord. I'm working on putting Typo into an embedded hand held system and can't really afford the db process. Any pointers would be appreciated. Thanks-- Mike From tobias.luetke at gmail.com Thu Nov 3 14:10:42 2005 From: tobias.luetke at gmail.com (Tobias Luetke) Date: Thu, 3 Nov 2005 14:10:42 -0500 Subject: [typo] File based storage? In-Reply-To: <436A5D29.4050801@miscanthus.net> References: <436A5D29.4050801@miscanthus.net> Message-ID: <9963c1bd0511031110v4d815cccrbb3d4ff66b1ea670@mail.gmail.com> If you really want to replace active record i'd go with KirbyBase instead of Madeleine. Especially when memory is sparse. On 11/3/05, Mike Summers wrote: > Has anyone worked on porting typo to use file-based storage rather than > a database? > > My thought at this point is to rewrite: > ./app/controllers/articles_controller.rb > ./app/models/trackback.rb > ./app/models/blacklist_pattern.rb > ./app/models/resource.rb > ./app/models/page_cache.rb > ./app/models/setting.rb > ./app/models/user.rb > ./app/models/page.rb > ./app/models/article.rb > ./app/models/comment.rb > ./app/models/sidebar.rb > ./app/models/ping.rb > ./app/models/category.rb > > with Madeleine rather than ActiveRecord. > > I'm working on putting Typo into an embedded hand held system and can't > really afford the db process. > > Any pointers would be appreciated. > > Thanks-- Mike > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list > -- Tobi http://jadedpixel.com - modern e-commerce software http://typo.leetsoft.com - Open source weblog engine http://blog.leetsoft.com - Technical weblog From waylan at gmail.com Thu Nov 3 14:12:34 2005 From: waylan at gmail.com (Waylan Limberg) Date: Thu, 3 Nov 2005 14:12:34 -0500 Subject: [typo] File based storage? In-Reply-To: <436A5D29.4050801@miscanthus.net> References: <436A5D29.4050801@miscanthus.net> Message-ID: How about SQLite? I'm pretty sure Rails supports it. There is no DB server and the overhead that goes with that. Everything is stored in files. Its ideal for that sort of application. -- ---- Waylan Limberg waylan at gmail.com From Mike at miscanthus.net Thu Nov 3 14:13:25 2005 From: Mike at miscanthus.net (Mike Summers) Date: Thu, 03 Nov 2005 13:13:25 -0600 Subject: [typo] File based storage? In-Reply-To: <9963c1bd0511031110v4d815cccrbb3d4ff66b1ea670@mail.gmail.com> References: <436A5D29.4050801@miscanthus.net> <9963c1bd0511031110v4d815cccrbb3d4ff66b1ea670@mail.gmail.com> Message-ID: <436A6155.6040301@miscanthus.net> An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/typo-list/attachments/20051103/8eb5e739/attachment.htm From justus at ryoohki.net Thu Nov 3 14:15:28 2005 From: justus at ryoohki.net (Justus Pendleton) Date: Thu, 3 Nov 2005 12:15:28 -0700 Subject: [typo] File based storage? In-Reply-To: <436A5D29.4050801@miscanthus.net> References: <436A5D29.4050801@miscanthus.net> Message-ID: <20051103191528.GA32249@kiyone.ryoohki.net> On Thu, Nov 03, 2005 at 12:55:37PM -0600, Mike Summers wrote: > Has anyone worked on porting typo to use file-based storage rather than > a database? > > I'm working on putting Typo into an embedded hand held system and can't > really afford the db process. If you use sqlite there isn't a "db" process, so my first question would be "Have you tested using SQLite and found that it really won't meet your memory requirements?" Then I would try looking into SQI from unixodbc.org. I've never used it but it is supposed to "implements an ultra-lite SQL Engine which uses text files for storage." Then I'd try kirbybase, as Tobias suggested. From Mike at miscanthus.net Thu Nov 3 15:14:05 2005 From: Mike at miscanthus.net (Mike Summers) Date: Thu, 03 Nov 2005 14:14:05 -0600 Subject: [typo] File based storage? In-Reply-To: <20051103191528.GA32249@kiyone.ryoohki.net> References: <436A5D29.4050801@miscanthus.net> <20051103191528.GA32249@kiyone.ryoohki.net> Message-ID: <436A6F8D.5030308@miscanthus.net> An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/typo-list/attachments/20051103/75d9195b/attachment.htm From jonasb.16759522 at bloglines.com Thu Nov 3 19:36:37 2005 From: jonasb.16759522 at bloglines.com (jonasb.16759522@bloglines.com) Date: 4 Nov 2005 00:36:37 -0000 Subject: [typo] Problems posting tickets to Trac Message-ID: <1131064597.2463161164.22198.sendItem@bloglines.com> When you post a ticket to Trac you get "Trac detected an internal error: (111, 'connection refused')". The ticket is still created, but it seems like there is a problem with the e-mail sending (the connection refused seems to come from the smtp server). /Jonas (jonas.b at home.se) http://andthennothing.net From ccagle at alumni.utexas.net Thu Nov 3 20:29:19 2005 From: ccagle at alumni.utexas.net (clint) Date: Thu, 3 Nov 2005 19:29:19 -0600 Subject: [typo] typo - error when running on apache In-Reply-To: <802b2b6b0511030047j5f92e255p8a5332bd501c06fb@mail.gmail.com> References: <802b2b6b0511030047j5f92e255p8a5332bd501c06fb@mail.gmail.com> Message-ID: <802b2b6b0511031729j75bd37dblfe8983f72d6da30d@mail.gmail.com> I have pinned down the error a little more and figured out a workaround. I just don't understand why. I can update my blog using the /admin site and save changes. I click on your blog to view and I see the error below: (snippet truncated) ---------------- #!/usr/bin/env ruby # # You may specify the path to the FastCGI crash log (a log of unhandled # exceptions which ------------------ I can reboot my server and the error continues to display when trying to view the blog. To correct the issue I have to start typo using a webrick server. After browsing the blog (successfully) on the webrick server I can start it again and view successfully on apache. Any ideas? Thanks in advance. On 11/3/05, clint wrote: > > I am using instant rails to host the sample cookbook application and typo. > They were both running fine using the apache server, but now I get the error > below when I go to www.myblog.com (typo virtual > site) > > ---------------- > > #!/usr/bin/env ruby > # > # You may specify the path to the FastCGI crash log (a log of unhandled > # exceptions which forced the FastCGI instance to exit, great for debugging) > # and the number of requests to process before running garbage collection. > > # > # By default, the FastCGI crash log is RAILS_ROOT/log/fastcgi.crash.log > # and the GC period is nil (turned off). A reasonable number of requests > # could range from 10-100 depending on the memory footprint of your app. > > # > # Example: > # # Default log path, normal GC behavior. > # RailsFCGIHandler.process! > # > # # Default log path, 50 requests between GC. > # RailsFCGIHandler.process! nil, 50 > # > # # Custom log path, normal GC behavior. > > # RailsFCGIHandler.process! '/var/log/myapp_fcgi_crash.log' > # > require File.dirname(__FILE__) + "/../config/environment" > require 'fcgi_handler' > > RailsFCGIHandler.process! > ------------------- > > Any ideas are greatly appreciated. > > Thanks, > Clint -- clint cagle | cell: 214.405.8845 | ccagle at alumni.utexas.net -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/typo-list/attachments/20051103/311c8b87/attachment.htm From scott at sigkill.org Thu Nov 3 20:34:32 2005 From: scott at sigkill.org (Scott Laird) Date: Thu, 3 Nov 2005 17:34:32 -0800 Subject: [typo] typo - error when running on apache In-Reply-To: <802b2b6b0511031729j75bd37dblfe8983f72d6da30d@mail.gmail.com> References: <802b2b6b0511030047j5f92e255p8a5332bd501c06fb@mail.gmail.com> <802b2b6b0511031729j75bd37dblfe8983f72d6da30d@mail.gmail.com> Message-ID: <5E857632-DB75-4917-9FFE-43449AF5119F@sigkill.org> On Nov 3, 2005, at 5:29 PM, clint wrote: > I have pinned down the error a little more and figured out a > workaround. I just don't understand why. I can update my blog > using the /admin site and save changes. I click on your blog to > view and I see the error below: (snippet truncated) > ---------------- > #!/usr/bin/env ruby > # > # You may specify the path to the FastCGI crash log (a log of > unhandled > # exceptions which > ------------------ > > I can reboot my server and the error continues to display when > trying to view the blog. To correct the issue I have to start typo > using a webrick server. After browsing the blog (successfully) on > the webrick server I can start it again and view successfully on > apache. Any ideas? Thanks in advance. That's the cache in action, ignore it. Or, better yet, run 'rake sweep_cache'. If you're getting #!/usr/bin/env ruby when you view your blog, then Apache isn't configured right, and it's not running .fcgi scripts. Do you have mod_fastcgi installed? Scott -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/typo-list/attachments/20051103/4856ff63/attachment.htm From tobias.luetke at gmail.com Thu Nov 3 21:39:02 2005 From: tobias.luetke at gmail.com (Tobias Luetke) Date: Thu, 3 Nov 2005 21:39:02 -0500 Subject: [typo] Problems posting tickets to Trac In-Reply-To: <1131064597.2463161164.22198.sendItem@bloglines.com> References: <1131064597.2463161164.22198.sendItem@bloglines.com> Message-ID: <9963c1bd0511031839r289f003du1e45ae931722f5ac@mail.gmail.com> Thanks for the report. I hope the problem is fixed now. On 4 Nov 2005 00:36:37 -0000, jonasb.16759522 at bloglines.com wrote: > When you post a ticket to Trac you get "Trac detected an internal error: (111, > 'connection refused')". The ticket is still created, but it seems like there > is a problem with the e-mail sending (the connection refused seems to come > from the smtp server). > > /Jonas (jonas.b at home.se) > http://andthennothing.net > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list > -- Tobi http://jadedpixel.com - modern e-commerce software http://typo.leetsoft.com - Open source weblog engine http://blog.leetsoft.com - Technical weblog From ccagle at alumni.utexas.net Fri Nov 4 13:00:01 2005 From: ccagle at alumni.utexas.net (clint) Date: Fri, 4 Nov 2005 12:00:01 -0600 Subject: [typo] typo - rss feed reader Message-ID: <802b2b6b0511041000r340ddc27paa0651e10c2869c6@mail.gmail.com> Anyone have any ideas if there is a rss feed reader that could be used within the "article" area of a typo blog. The idea is to display the text from an rss feed from another source in my typo blog. Thanks in advance, Clint -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/typo-list/attachments/20051104/2a9bcd9d/attachment.htm From ccagle at alumni.utexas.net Fri Nov 4 13:04:57 2005 From: ccagle at alumni.utexas.net (clint) Date: Fri, 4 Nov 2005 12:04:57 -0600 Subject: [typo] typo - error when running on apache In-Reply-To: <5E857632-DB75-4917-9FFE-43449AF5119F@sigkill.org> References: <802b2b6b0511030047j5f92e255p8a5332bd501c06fb@mail.gmail.com> <802b2b6b0511031729j75bd37dblfe8983f72d6da30d@mail.gmail.com> <5E857632-DB75-4917-9FFE-43449AF5119F@sigkill.org> Message-ID: <802b2b6b0511041004y1343439ka69fafd73880d3f9@mail.gmail.com> Scott, Thanks for the rake_sweep command. I got everything working. I gave up on apache and installed lighttpd as my web server. Installation was easy and it was fairly straight forward to configure..... Clint From scott at sigkill.org Fri Nov 4 13:19:35 2005 From: scott at sigkill.org (Scott Laird) Date: Fri, 4 Nov 2005 10:19:35 -0800 Subject: [typo] typo - rss feed reader In-Reply-To: <802b2b6b0511041000r340ddc27paa0651e10c2869c6@mail.gmail.com> References: <802b2b6b0511041000r340ddc27paa0651e10c2869c6@mail.gmail.com> Message-ID: <546490E8-3C2B-4D02-8BAF-E73353E57BD6@sigkill.org> On Nov 4, 2005, at 10:00 AM, clint wrote: > Anyone have any ideas if there is a rss feed reader that could be > used within the "article" area of a typo blog. The idea is to > display the text from an rss feed from another source in my typo blog. There isn't an easy way to do this, but it might show up in the future. Scott -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/typo-list/attachments/20051104/2af91042/attachment.htm From dag at sonsorol.org Fri Nov 4 15:50:45 2005 From: dag at sonsorol.org (Chris Dagdigian) Date: Fri, 4 Nov 2005 15:50:45 -0500 Subject: [typo] blacklist causes application error (Rails) on trunk typo w/ Message-ID: Hello, I was running on an older version of trunk with ruby-1.8.2 and the 0.13 version of rails and decided to upgrade just about everything. It all went very smoothly except for the blacklist function in the admin interface. Current config: - Linux Fedora Core 4 w/ mysql / lighttpd and fastCGI integration - ruby 1.8.3 - rails 0.14.2 - rake 0.6.2 - typo svntrunk current as of a few minutes ago Everything works great except for pressing "blacklist" in the admin interface generates this error: > Processing BlacklistController#index (for 66.92.70.111 at > 2005-11-04 15:44:06) [GET] > Parameters: {"action"=>"index", "controller"=>"admin/blacklist"} > > > NameError (uninitialized constant BlacklistPattern): > /usr/lib/ruby/gems/1.8/gems/activesupport-1.2.2/lib/ > active_support/dependencies.rb:198:in `const_missing' > app/controllers/admin/blacklist_controller.rb:10:in `list' > app/controllers/admin/blacklist_controller.rb:5:in `index' > /usr/lib/ruby/gems/1.8/gems/actionpack-1.10.2/lib/ > action_controller/base.rb:834:in `perform_action_without_filters' > /usr/lib/ruby/gems/1.8/gems/actionpack-1.10.2/lib/ > action_controller/filters.rb:295:in `perform_action_without_benchmark' > /usr/lib/ruby/gems/1.8/gems/actionpack-1.10.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.10.2/lib/ > action_controller/benchmarking.rb:69:in > `perform_action_without_rescue' > /usr/lib/ruby/gems/1.8/gems/actionpack-1.10.2/lib/ > action_controller/rescue.rb:82:in `perform_action' > /usr/lib/ruby/gems/1.8/gems/actionpack-1.10.2/lib/ > action_controller/base.rb:365:in > `process_without_session_management_support' > /usr/lib/ruby/gems/1.8/gems/actionpack-1.10.2/lib/ > action_controller/session_management.rb:116:in `process' > /usr/lib/ruby/gems/1.8/gems/rails-0.14.2/lib/dispatcher.rb: > 36:in `dispatch' > /usr/lib/ruby/gems/1.8/gems/rails-0.14.2/lib/fcgi_handler.rb: > 136:in `process_request' > /usr/lib/ruby/gems/1.8/gems/rails-0.14.2/lib/fcgi_handler.rb: > 53:in `process!' > /usr/lib/site_ruby/1.8/fcgi.rb:600:in `each_cgi' > /usr/lib/site_ruby/1.8/fcgi.rb:117:in `session' > /usr/lib/site_ruby/1.8/fcgi.rb:104:in `each_request' > /usr/lib/site_ruby/1.8/fcgi.rb:36:in `each' > /usr/lib/site_ruby/1.8/fcgi.rb:597:in `each_cgi' > /usr/lib/ruby/gems/1.8/gems/rails-0.14.2/lib/fcgi_handler.rb: > 52:in `process!' > /usr/lib/ruby/gems/1.8/gems/rails-0.14.2/lib/fcgi_handler.rb: > 22:in `process!' > /home/gridengine.info/svn-typo/typo/public/dispatch.fcgi:24 Suggestions appreciated. Thanks! Regards, Chris From dag at sonsorol.org Fri Nov 4 15:56:43 2005 From: dag at sonsorol.org (Chris Dagdigian) Date: Fri, 4 Nov 2005 15:56:43 -0500 Subject: [typo] blacklist causes application error (Rails) on trunk typo w/ In-Reply-To: References: Message-ID: <387162D4-BBE1-4C76-9BC9-290D212B6697@sonsorol.org> Scratch that. My own darn fault. I need to learn 'gems' better -- had multiple versions of activesupport etc. installed. Removing the older ones and re-running the rake migration worked just fine. Sorry! -Chris On Nov 4, 2005, at 3:50 PM, Chris Dagdigian wrote: > Hello, > > I was running on an older version of trunk with ruby-1.8.2 and the > 0.13 version of rails and decided to upgrade just about everything. > It all went very smoothly except for the blacklist function in the > admin interface. > > Current config: > > - Linux Fedora Core 4 w/ mysql / lighttpd and fastCGI integration > - ruby 1.8.3 > - rails 0.14.2 > - rake 0.6.2 > - typo svntrunk current as of a few minutes ago > > Everything works great except for pressing "blacklist" in the admin > interface generates this error: > >> Processing BlacklistController#index (for 66.92.70.111 at >> 2005-11-04 15:44:06) [GET] >> Parameters: {"action"=>"index", "controller"=>"admin/blacklist"} >> >> >> NameError (uninitialized constant BlacklistPattern): >> /usr/lib/ruby/gems/1.8/gems/activesupport-1.2.2/lib/ >> active_support/dependencies.rb:198:in `const_missing' >> app/controllers/admin/blacklist_controller.rb:10:in `list' >> app/controllers/admin/blacklist_controller.rb:5:in `index' >> /usr/lib/ruby/gems/1.8/gems/actionpack-1.10.2/lib/ >> action_controller/base.rb:834:in `perform_action_without_filters' >> /usr/lib/ruby/gems/1.8/gems/actionpack-1.10.2/lib/ >> action_controller/filters.rb:295:in >> `perform_action_without_benchmark' >> /usr/lib/ruby/gems/1.8/gems/actionpack-1.10.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.10.2/lib/ >> action_controller/benchmarking.rb:69:in >> `perform_action_without_rescue' >> /usr/lib/ruby/gems/1.8/gems/actionpack-1.10.2/lib/ >> action_controller/rescue.rb:82:in `perform_action' >> /usr/lib/ruby/gems/1.8/gems/actionpack-1.10.2/lib/ >> action_controller/base.rb:365:in >> `process_without_session_management_support' >> /usr/lib/ruby/gems/1.8/gems/actionpack-1.10.2/lib/ >> action_controller/session_management.rb:116:in `process' >> /usr/lib/ruby/gems/1.8/gems/rails-0.14.2/lib/dispatcher.rb: >> 36:in `dispatch' >> /usr/lib/ruby/gems/1.8/gems/rails-0.14.2/lib/fcgi_handler.rb: >> 136:in `process_request' >> /usr/lib/ruby/gems/1.8/gems/rails-0.14.2/lib/fcgi_handler.rb: >> 53:in `process!' >> /usr/lib/site_ruby/1.8/fcgi.rb:600:in `each_cgi' >> /usr/lib/site_ruby/1.8/fcgi.rb:117:in `session' >> /usr/lib/site_ruby/1.8/fcgi.rb:104:in `each_request' >> /usr/lib/site_ruby/1.8/fcgi.rb:36:in `each' >> /usr/lib/site_ruby/1.8/fcgi.rb:597:in `each_cgi' >> /usr/lib/ruby/gems/1.8/gems/rails-0.14.2/lib/fcgi_handler.rb: >> 52:in `process!' >> /usr/lib/ruby/gems/1.8/gems/rails-0.14.2/lib/fcgi_handler.rb: >> 22:in `process!' >> /home/gridengine.info/svn-typo/typo/public/dispatch.fcgi:24 > > > Suggestions appreciated. Thanks! > > Regards, > Chris > > > > > > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list From b.hutchison at gmail.com Fri Nov 4 21:58:55 2005 From: b.hutchison at gmail.com (Brian Hutchison) Date: Fri, 4 Nov 2005 18:58:55 -0800 Subject: [typo] 404 errors on webrick In-Reply-To: <67171ac10511020606i56e2323fn34a2b8e895727e09@mail.gmail.com> References: <67171ac10511020606i56e2323fn34a2b8e895727e09@mail.gmail.com> Message-ID: Yes, I get this quite frequently (also under WinXP). It got so bad that I've switched to using Apache2 almost always, even in development. - Brian On 11/2/05, Cristiano Dias wrote: > > Sorry if this has already been discussed on this list, but I have just > arrived and I can't find a place for "search history". 8-) > > > I am porting my Wordpress to Typo and after a couple of minutes > browsing around I get 404 errors for everything I do. Restarting > Webrick (running on WinXP) fixes the problem for another couple of > minutes. > > Has anyone else experienced this? > > -- > CrisDias > www.crisdias.com > > _______________________________________________ > 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/20051104/aab68903/attachment.htm From leevi at izilla.com.au Fri Nov 4 22:19:30 2005 From: leevi at izilla.com.au (Leevi Graham) Date: Sat, 05 Nov 2005 14:19:30 +1100 Subject: [typo] Redirected to admin Message-ID: <436C24C2.5030107@izilla.com.au> Hi everyone, I am just trying to setup apache to run typo... im nearly there :D. I just have one issue... I am always getting redirected to the admin section and i can never see the public section.. Any ideas Cheers Leevi From ccagle at alumni.utexas.net Fri Nov 4 22:22:34 2005 From: ccagle at alumni.utexas.net (clint) Date: Fri, 4 Nov 2005 21:22:34 -0600 Subject: [typo] 404 errors on webrick In-Reply-To: References: <67171ac10511020606i56e2323fn34a2b8e895727e09@mail.gmail.com> Message-ID: <802b2b6b0511041922v761a0cd7q20d0748ee79ae981@mail.gmail.com> I had similiar issues when running on windows using webrick. From within your typo app directory run: /typo-2.5.6/ rake sweep_cache Also, I have switched to using lighttpd server on my mac and have had no trouble since :) Good luck, Clint On 11/4/05, Brian Hutchison wrote: > Yes, I get this quite frequently (also under WinXP). It got so bad that I've > switched to using Apache2 almost always, even in development. > > - Brian > > On 11/2/05, Cristiano Dias wrote: > > Sorry if this has already been discussed on this list, but I have just > > arrived and I can't find a place for "search history". 8-) > > > > > > I am porting my Wordpress to Typo and after a couple of minutes > > browsing around I get 404 errors for everything I do. Restarting > > Webrick (running on WinXP) fixes the problem for another couple of > > minutes. > > > > Has anyone else experienced this? > > > > -- > > CrisDias > > www.crisdias.com > > > > _______________________________________________ > > 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 leevi at izilla.com.au Fri Nov 4 22:23:45 2005 From: leevi at izilla.com.au (Leevi Graham) Date: Sat, 05 Nov 2005 14:23:45 +1100 Subject: [typo] Redirecting To Admin - Solved. Message-ID: <436C25C1.1040201@izilla.com.au> Hi Everyone.. After some deeper searching in the mailing list i have solved this issue... See post: http://rubyforge.org/pipermail/typo-list/2005-July/000293.html if you are having similar problems.. Cheers Leevi From mike at uwmike.com Sat Nov 5 15:44:40 2005 From: mike at uwmike.com (Mike Purvis) Date: Sat, 05 Nov 2005 15:44:40 -0500 Subject: [typo] Upgrading to current Message-ID: <436D19B8.6080106@uwmike.com> Hi folks, I've been running a several-months-stale SVN, so today I backed up the directory and my DB, and tried to "rake migrate." [foothill]$ rake migrate (in /home/.olimpia/mjpurvis/typo) rake aborted! uninitialized constant ConfigManager ./Rakefile:24 I really haven't the foggiest clue what this means. I don't even know how to tell what version of Rails or Typo I'm running... Mike From gpsnospam at gmail.com Sun Nov 6 05:37:23 2005 From: gpsnospam at gmail.com (gpshewan) Date: Sun, 6 Nov 2005 10:37:23 +0000 Subject: [typo] Upgrading to current In-Reply-To: <436D19B8.6080106@uwmike.com> References: <436D19B8.6080106@uwmike.com> Message-ID: According to Scott the trunk now requires Rails 0.14.2 - could that be your problem? On 5 Nov 2005, at 20:44, Mike Purvis wrote: > Hi folks, > > I've been running a several-months-stale SVN, so today I backed up the > directory and my DB, and tried to "rake migrate." > > [foothill]$ rake migrate > (in /home/.olimpia/mjpurvis/typo) > > rake aborted! > uninitialized constant ConfigManager > ./Rakefile:24 > > I really haven't the foggiest clue what this means. I don't even know > how to tell what version of Rails or Typo I'm running... > > Mike > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list From ccagle at alumni.utexas.net Sun Nov 6 23:31:30 2005 From: ccagle at alumni.utexas.net (clint) Date: Sun, 6 Nov 2005 22:31:30 -0600 Subject: [typo] typo install on mac osx tiger Message-ID: <802b2b6b0511062031k25df7455m786bd998e7c984f0@mail.gmail.com> Hello, After installing typo on a mac running os x tiger I receive the following http://localhost:3000 ----------------- Not Found `/' not found. WEBrick/1.3.1 (Ruby/1.8.2/2004-12-25) at localhost:3000 ----------------- I started the webrick server using: ./script/server -e production I also receive this on the terminal screen: [2005-11-06 22:28:16] INFO WEBrick::HTTPServer#start done. Clint:~/temp/rails/typo-2.5.6 clint$ ./script/server -e production => Rails application started on http://0.0.0.0:3000 => Ctrl-C to shutdown server; call with --help for options [2005-11-06 22:28:57] INFO WEBrick 1.3.1 [2005-11-06 22:28:57] INFO ruby 1.8.2 (2004-12-25) [powerpc-darwin8.0] [2005-11-06 22:28:57] INFO WEBrick::HTTPServer#start: pid=1442 port=3000 # Any ideas are greatly apprecited. From scott at sigkill.org Sun Nov 6 23:35:41 2005 From: scott at sigkill.org (Scott Laird) Date: Sun, 6 Nov 2005 20:35:41 -0800 Subject: [typo] typo install on mac osx tiger In-Reply-To: <802b2b6b0511062031k25df7455m786bd998e7c984f0@mail.gmail.com> References: <802b2b6b0511062031k25df7455m786bd998e7c984f0@mail.gmail.com> Message-ID: On Nov 6, 2005, at 8:31 PM, clint wrote: > Hello, > > After installing typo on a mac running os x tiger I receive the > following > http://localhost:3000 > ----------------- > Not Found > `/' not found. > WEBrick/1.3.1 (Ruby/1.8.2/2004-12-25) at localhost:3000 Your database isn't set up right. Double-check that you created a database for Typo using one of the schemas in db/schema*.sql and that config/database.yml points to the correct DB. Also, make sure that you don't have any tab characters in database.yml. Scott From leevi at izilla.com.au Sun Nov 6 23:46:24 2005 From: leevi at izilla.com.au (Leevi Graham) Date: Mon, 07 Nov 2005 15:46:24 +1100 Subject: [typo] THEME CONTEST !! - How many people are entering Message-ID: <436EDC20.1090309@izilla.com.au> Hi Guys, Just a quick message to see how many of you are enetering the typo garden theme contest.... Cheers Leevi From ccagle at alumni.utexas.net Mon Nov 7 00:42:52 2005 From: ccagle at alumni.utexas.net (clint) Date: Sun, 6 Nov 2005 23:42:52 -0600 Subject: [typo] typo install on mac osx tiger In-Reply-To: References: <802b2b6b0511062031k25df7455m786bd998e7c984f0@mail.gmail.com> Message-ID: <802b2b6b0511062142q7de9fee0v8039bca8fa9b76f5@mail.gmail.com> Scott, After installing the database fromwithin typo/db: mysql -u root -p typo < schema.mysql.sql I get the same error. When I look at the typo database I see all the tables but get the message "could not fetch columns" in mysql query browser. i am running: mysql Ver 14.12 Distrib 5.0.15, for apple-darwin7.9.0 (powerpc) using readline 5.0 On 11/6/05, Scott Laird wrote: > > On Nov 6, 2005, at 8:31 PM, clint wrote: > > > Hello, > > > > After installing typo on a mac running os x tiger I receive the > > following > > http://localhost:3000 > > ----------------- > > Not Found > > `/' not found. > > WEBrick/1.3.1 (Ruby/1.8.2/2004-12-25) at localhost:3000 > > Your database isn't set up right. Double-check that you created a > database for Typo using one of the schemas in db/schema*.sql and that > config/database.yml points to the correct DB. Also, make sure that > you don't have any tab characters in database.yml. > > > Scott > From kvanderauwera at gmail.com Mon Nov 7 10:24:37 2005 From: kvanderauwera at gmail.com (Koen Van der Auwera) Date: Mon, 7 Nov 2005 16:24:37 +0100 Subject: [typo] Weed Message-ID: <53f0709b0511070724i6bc6f3c9v57ed4600e9c0d0e5@mail.gmail.com> Hi all, Has anyone already tried to integrate Weed (http://weed.rbse.com/) with typo? If so, can you give me some pointers? It looks like it's not that widespread _yet_. Thanks, -- Koen. From dlamotte at bamboo.lu Mon Nov 7 10:28:25 2005 From: dlamotte at bamboo.lu (Denis Lamotte) Date: Mon, 07 Nov 2005 16:28:25 +0100 Subject: [typo] Weed In-Reply-To: <53f0709b0511070724i6bc6f3c9v57ed4600e9c0d0e5@mail.gmail.com> References: <53f0709b0511070724i6bc6f3c9v57ed4600e9c0d0e5@mail.gmail.com> Message-ID: <436F7299.2010002@bamboo.lu> the source of weed are not any more available from 1 month at least. I use railstat generator. Lanfeust Koen Van der Auwera wrote: > Hi all, > > Has anyone already tried to integrate Weed (http://weed.rbse.com/) > with typo? If so, can you give me some pointers? > > It looks like it's not that widespread _yet_. > > Thanks, > > -- > Koen. > > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list > > From kvanderauwera at gmail.com Mon Nov 7 10:41:00 2005 From: kvanderauwera at gmail.com (Koen Van der Auwera) Date: Mon, 7 Nov 2005 16:41:00 +0100 Subject: [typo] Weed In-Reply-To: <436F7299.2010002@bamboo.lu> References: <53f0709b0511070724i6bc6f3c9v57ed4600e9c0d0e5@mail.gmail.com> <436F7299.2010002@bamboo.lu> Message-ID: <53f0709b0511070741k349480b4xf16c4d3b50013e5@mail.gmail.com> The project is dead? Is it easy to integrate railstat? I'm just looking for a decent stats app. On 11/7/05, Denis Lamotte wrote: > the source of weed are not any more available from 1 month at least. > I use railstat generator. > > Lanfeust > > Koen Van der Auwera wrote: > > Hi all, > > > > Has anyone already tried to integrate Weed (http://weed.rbse.com/) > > with typo? If so, can you give me some pointers? > > > > It looks like it's not that widespread _yet_. > > > > Thanks, > > > > -- > > Koen. > > > > _______________________________________________ > > 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 > -- Koen. From dlamotte at bamboo.lu Mon Nov 7 11:03:59 2005 From: dlamotte at bamboo.lu (Denis Lamotte) Date: Mon, 07 Nov 2005 17:03:59 +0100 Subject: [typo] Weed In-Reply-To: <53f0709b0511070741k349480b4xf16c4d3b50013e5@mail.gmail.com> References: <53f0709b0511070724i6bc6f3c9v57ed4600e9c0d0e5@mail.gmail.com> <436F7299.2010002@bamboo.lu> <53f0709b0511070741k349480b4xf16c4d3b50013e5@mail.gmail.com> Message-ID: <436F7AEF.1040503@bamboo.lu> more info at http://www.railstat.com/ gem install rail_stat_generator in your rail app you must run script/generate rail_stat then you have in README_RAILSTAT == Installation 1. Create database 2. Create the database schema using db/railstat.mysql.sql 3. Download the IP-to-Country database from http://ip-to-country.webhosting.info/ : wget http://ip-to-country.webhosting.info/downloads/ip-to-country.csv.zip unzip ip-to-country.csv.zip 4. Copy ip-to-country.csv in db/ directory 5. Upload the data using ip-to-country.mysql.sql: mysql -u _user_ _dbname_ < ip-to-country.mysql.sql 6. Add your web site name at the end of config/environment.rb (assign it to a constant SITE_NAME) Example: SITE_NAME = 'www.mydomain.com' Notes: Steps 3 - 5 are optional. If you don't want to download ip-to-country database the system will work but the visitor country will not be tracked. the following Koen Van der Auwera wrote: > The project is dead? > > Is it easy to integrate railstat? I'm just looking for a decent stats app. > > > On 11/7/05, Denis Lamotte wrote: > >>the source of weed are not any more available from 1 month at least. >>I use railstat generator. >> >>Lanfeust >> >>Koen Van der Auwera wrote: >> >>>Hi all, >>> >>>Has anyone already tried to integrate Weed (http://weed.rbse.com/) >>>with typo? If so, can you give me some pointers? >>> >>>It looks like it's not that widespread _yet_. >>> >>>Thanks, >>> >>>-- >>>Koen. >>> >>>_______________________________________________ >>>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 >> > > > > -- > Koen. > > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list > > From packagethief at gmail.com Mon Nov 7 11:39:03 2005 From: packagethief at gmail.com (Jeffrey Hardy) Date: Mon, 7 Nov 2005 11:39:03 -0500 Subject: [typo] THEME CONTEST !! - How many people are entering In-Reply-To: <436EDC20.1090309@izilla.com.au> References: <436EDC20.1090309@izilla.com.au> Message-ID: <0DB4E6FA-AD2D-41BF-9D1D-B1C5CB764631@gmail.com> On 6-Nov-05, at 11:46 PM, Leevi Graham wrote: > Just a quick message to see how many of you are enetering the typo > garden theme contest.... I'm entering. My theme is running on my blog: http://quotedprintable.com/articles/2005/11/07/scribbish-0-1 I really haven't tested in enough browsers yet, so feedback is very much appreciated. /Jeff From jnewland at gmail.com Mon Nov 7 11:48:11 2005 From: jnewland at gmail.com (jesse newland) Date: Mon, 7 Nov 2005 11:48:11 -0500 Subject: [typo] THEME CONTEST !! - How many people are entering In-Reply-To: <0DB4E6FA-AD2D-41BF-9D1D-B1C5CB764631@gmail.com> References: <436EDC20.1090309@izilla.com.au> <0DB4E6FA-AD2D-41BF-9D1D-B1C5CB764631@gmail.com> Message-ID: I planned on entering (http://jnewland.com) but have gotten swamped so may not have time to do all the testing and edits I feel that I need to. Jeffery - I really like the Scribbish framework, but wanted to point out that you *can theme partials (any anything in views/* for that matter) with current SVN builds of Typo (builds greater than [578] - http://typo.leetsoft.com/trac/file/trunk/lib/renderfix.rb?rev=578). Begone, pesky blue spinner! :) Jesse Newland On 11/7/05, Jeffrey Hardy wrote: > > On 6-Nov-05, at 11:46 PM, Leevi Graham wrote: > > Just a quick message to see how many of you are enetering the typo > > garden theme contest.... > > I'm entering. My theme is running on my blog: > http://quotedprintable.com/articles/2005/11/07/scribbish-0-1 > > I really haven't tested in enough browsers yet, so feedback is very > much appreciated. > > /Jeff > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list > -- jnewland at gmail.com jnewland.com AIM: jbnewland 406.640.0517 From mike at uwmike.com Mon Nov 7 12:14:28 2005 From: mike at uwmike.com (Mike Purvis) Date: Mon, 07 Nov 2005 12:14:28 -0500 Subject: [typo] THEME CONTEST !! - How many people are entering In-Reply-To: <0DB4E6FA-AD2D-41BF-9D1D-B1C5CB764631@gmail.com> References: <436EDC20.1090309@izilla.com.au> <0DB4E6FA-AD2D-41BF-9D1D-B1C5CB764631@gmail.com> Message-ID: <436F8B74.30108@uwmike.com> I'll probably enter... at least something. (Worst-case scenario just my own theme from http://uwmike.com cleaned up a bit and properly browser-tested, if that sort of thing is allowed.) That Scribbage thing is purty, Jeffrey. Mike Jeffrey Hardy wrote: >On 6-Nov-05, at 11:46 PM, Leevi Graham wrote: > > >>Just a quick message to see how many of you are enetering the typo >>garden theme contest.... >> >> > >I'm entering. My theme is running on my blog: >http://quotedprintable.com/articles/2005/11/07/scribbish-0-1 > >I really haven't tested in enough browsers yet, so feedback is very >much appreciated. > >/Jeff >_______________________________________________ >Typo-list mailing list >Typo-list at rubyforge.org >http://rubyforge.org/mailman/listinfo/typo-list > > From typo at theplatz.com Mon Nov 7 12:05:59 2005 From: typo at theplatz.com (Steve Platz) Date: Mon, 7 Nov 2005 12:05:59 -0500 Subject: [typo] THEME CONTEST !! - How many people are entering In-Reply-To: <0DB4E6FA-AD2D-41BF-9D1D-B1C5CB764631@gmail.com> References: <436EDC20.1090309@izilla.com.au> <0DB4E6FA-AD2D-41BF-9D1D-B1C5CB764631@gmail.com> Message-ID: <3DDCA84A-0696-49BF-ADC8-8D748F3602B6@theplatz.com> Looks real nice. I like the clean, simple layout. Works fine in Safari, too. - Steve On Nov 7, 2005, at 11:39 AM, Jeffrey Hardy wrote: > > On 6-Nov-05, at 11:46 PM, Leevi Graham wrote: >> Just a quick message to see how many of you are enetering the typo >> garden theme contest.... > > I'm entering. My theme is running on my blog: > http://quotedprintable.com/articles/2005/11/07/scribbish-0-1 > > I really haven't tested in enough browsers yet, so feedback is very > much appreciated. > > /Jeff > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list From kheon at comcast.net Mon Nov 7 18:38:11 2005 From: kheon at comcast.net (Kyle Heon) Date: Mon, 7 Nov 2005 18:38:11 -0500 Subject: [typo] THEME CONTEST !! - How many people are entering In-Reply-To: Message-ID: <200511072329.jA7NTF05025082@rubyforge.org> Can you provide a code sample of how you'd theme partials? Can this be used to style the plugins output as well? Kyle Heon kheon at comcast.net -----Original Message----- From: typo-list-bounces at rubyforge.org [mailto:typo-list-bounces at rubyforge.org] On Behalf Of jesse newland Sent: Monday, November 07, 2005 11:48 AM To: typo-list at rubyforge.org Subject: Re: [typo] THEME CONTEST !! - How many people are entering I planned on entering (http://jnewland.com) but have gotten swamped so may not have time to do all the testing and edits I feel that I need to. Jeffery - I really like the Scribbish framework, but wanted to point out that you *can theme partials (any anything in views/* for that matter) with current SVN builds of Typo (builds greater than [578] - http://typo.leetsoft.com/trac/file/trunk/lib/renderfix.rb?rev=578). Begone, pesky blue spinner! :) Jesse Newland On 11/7/05, Jeffrey Hardy wrote: > > On 6-Nov-05, at 11:46 PM, Leevi Graham wrote: > > Just a quick message to see how many of you are enetering the typo > > garden theme contest.... > > I'm entering. My theme is running on my blog: > http://quotedprintable.com/articles/2005/11/07/scribbish-0-1 > > I really haven't tested in enough browsers yet, so feedback is very > much appreciated. > > /Jeff > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list > -- jnewland at gmail.com jnewland.com AIM: jbnewland 406.640.0517 _______________________________________________ Typo-list mailing list Typo-list at rubyforge.org http://rubyforge.org/mailman/listinfo/typo-list From kellan at pobox.com Mon Nov 7 20:02:59 2005 From: kellan at pobox.com (kellan) Date: Mon, 7 Nov 2005 20:02:59 -0500 Subject: [typo] THEME CONTEST !! - How many people are entering In-Reply-To: <200511072329.jA7NTF05025082@rubyforge.org> References: <200511072329.jA7NTF05025082@rubyforge.org> Message-ID: <422b9b380511071702o14e3f595we7a14a769664c317@mail.gmail.com> On 11/7/05, Kyle Heon wrote: > Can you provide a code sample of how you'd theme partials? Partials "just worked" for me, e.g. cp -r app/views/articles to themes/my_theme/views The one caveat, the way render_file has been overridden suppresses exceptions, which means that if you have an exception in one of your themed views, you'll inexplicably be shown the default view. > Can this be used to style the plugins output as well? I've got the same question, how do we style/override the sidebar components? -kellan From scott at sigkill.org Mon Nov 7 20:26:08 2005 From: scott at sigkill.org (Scott Laird) Date: Mon, 7 Nov 2005 17:26:08 -0800 Subject: [typo] THEME CONTEST !! - How many people are entering In-Reply-To: <422b9b380511071702o14e3f595we7a14a769664c317@mail.gmail.com> References: <200511072329.jA7NTF05025082@rubyforge.org> <422b9b380511071702o14e3f595we7a14a769664c317@mail.gmail.com> Message-ID: <439DC996-D4FC-4EF9-9CB8-539A10582CCC@sigkill.org> On Nov 7, 2005, at 5:02 PM, kellan wrote: > On 11/7/05, Kyle Heon wrote: >> Can you provide a code sample of how you'd theme partials? > > Partials "just worked" for me, e.g. cp -r app/views/articles to > themes/my_theme/views > > The one caveat, the way render_file has been overridden suppresses > exceptions, which means that if you have an exception in one of your > themed views, you'll inexplicably be shown the default view. Oops. I'll fix this tonight. >> Can this be used to style the plugins output as well? > > I've got the same question, how do we style/override the sidebar > components? Er, nice question. The answer is "not easily," at least at the moment. I need to extend things slightly before that works. *HOWEVER*, the workaround is only moderately ugly: create a symlink from ../themes to themes from the typo root directory. If Typo is in /usr/local/typo, then link /usr/local/themes to /usr/local/typo/ themes. Then put your sidebar views into themes/*/views/plugins/ sidebars/*/content.rhtml. I'll see what I can do to fix both of these, because they're ugly. Scott From scott at sigkill.org Mon Nov 7 20:38:29 2005 From: scott at sigkill.org (Scott Laird) Date: Mon, 7 Nov 2005 17:38:29 -0800 Subject: [typo] THEME CONTEST !! - How many people are entering In-Reply-To: <439DC996-D4FC-4EF9-9CB8-539A10582CCC@sigkill.org> References: <200511072329.jA7NTF05025082@rubyforge.org> <422b9b380511071702o14e3f595we7a14a769664c317@mail.gmail.com> <439DC996-D4FC-4EF9-9CB8-539A10582CCC@sigkill.org> Message-ID: On Nov 7, 2005, at 5:26 PM, Scott Laird wrote: > On Nov 7, 2005, at 5:02 PM, kellan wrote: >> On 11/7/05, Kyle Heon wrote: >>> Can you provide a code sample of how you'd theme partials? >> >> Partials "just worked" for me, e.g. cp -r app/views/articles to >> themes/my_theme/views >> >> The one caveat, the way render_file has been overridden suppresses >> exceptions, which means that if you have an exception in one of your >> themed views, you'll inexplicably be shown the default view. > > Oops. I'll fix this tonight. Fixed. Can you verify that it works for you? You should be able to override sidebars now, too--just use themes/*/views/plugins/sidebars/ */content.rhtml. Scott From kheon at comcast.net Mon Nov 7 20:51:42 2005 From: kheon at comcast.net (Kyle Heon) Date: Mon, 7 Nov 2005 20:51:42 -0500 Subject: [typo] THEME CONTEST !! - How many people are entering In-Reply-To: Message-ID: <200511080143.jA81h605009354@rubyforge.org> Theming sidebars seems to be working for me. I'm not all that certain about how to test the other fix you put in. Thanks for the quick fix! Kyle Heon kheon at comcast.net -----Original Message----- From: typo-list-bounces at rubyforge.org [mailto:typo-list-bounces at rubyforge.org] On Behalf Of Scott Laird Sent: Monday, November 07, 2005 8:38 PM To: typo-list at rubyforge.org Subject: Re: [typo] THEME CONTEST !! - How many people are entering On Nov 7, 2005, at 5:26 PM, Scott Laird wrote: > On Nov 7, 2005, at 5:02 PM, kellan wrote: >> On 11/7/05, Kyle Heon wrote: >>> Can you provide a code sample of how you'd theme partials? >> >> Partials "just worked" for me, e.g. cp -r app/views/articles to >> themes/my_theme/views >> >> The one caveat, the way render_file has been overridden suppresses >> exceptions, which means that if you have an exception in one of your >> themed views, you'll inexplicably be shown the default view. > > Oops. I'll fix this tonight. Fixed. Can you verify that it works for you? You should be able to override sidebars now, too--just use themes/*/views/plugins/sidebars/ */content.rhtml. Scott _______________________________________________ Typo-list mailing list Typo-list at rubyforge.org http://rubyforge.org/mailman/listinfo/typo-list From scott at sigkill.org Mon Nov 7 20:59:56 2005 From: scott at sigkill.org (Scott Laird) Date: Mon, 7 Nov 2005 17:59:56 -0800 Subject: [typo] THEME CONTEST !! - How many people are entering In-Reply-To: <200511080143.jA81h605009354@rubyforge.org> References: <200511080143.jA81h605009354@rubyforge.org> Message-ID: <124B21E0-91C9-487C-90C8-B8DE27C8E840@sigkill.org> On Nov 7, 2005, at 5:51 PM, Kyle Heon wrote: > Theming sidebars seems to be working for me. I'm not all that > certain about > how to test the other fix you put in. Add this to a theme view: <% nil + 5 %> If you get an exception then great. If it reverts to the default view from app/view, then it's still broken for you. Scott From leevi at izilla.com.au Mon Nov 7 21:03:18 2005 From: leevi at izilla.com.au (Leevi Graham) Date: Tue, 08 Nov 2005 13:03:18 +1100 Subject: [typo] THEME CONTEST !! - How many people are entering In-Reply-To: <124B21E0-91C9-487C-90C8-B8DE27C8E840@sigkill.org> References: <200511080143.jA81h605009354@rubyforge.org> <124B21E0-91C9-487C-90C8-B8DE27C8E840@sigkill.org> Message-ID: <43700766.6010504@izilla.com.au> are these fixes being added to the current trunk? Scott Laird wrote: > On Nov 7, 2005, at 5:51 PM, Kyle Heon wrote: > > >>Theming sidebars seems to be working for me. I'm not all that >>certain about >>how to test the other fix you put in. > > > Add this to a theme view: > > <% nil + 5 %> > > If you get an exception then great. If it reverts to the default > view from app/view, then it's still broken for you. > > > Scott > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list > > > From kheon at comcast.net Mon Nov 7 21:05:05 2005 From: kheon at comcast.net (Kyle Heon) Date: Mon, 7 Nov 2005 21:05:05 -0500 Subject: [typo] THEME CONTEST !! - How many people are entering In-Reply-To: <124B21E0-91C9-487C-90C8-B8DE27C8E840@sigkill.org> Message-ID: <200511080156.jA81uE05010090@rubyforge.org> I get a old fashioned exception page. Nice. Thanks again. Kyle Heon kheon at comcast.net -----Original Message----- From: Scott Laird [mailto:scott at sigkill.org] Sent: Monday, November 07, 2005 9:00 PM To: kheon at comcast.net; typo-list at rubyforge.org Subject: Re: [typo] THEME CONTEST !! - How many people are entering On Nov 7, 2005, at 5:51 PM, Kyle Heon wrote: > Theming sidebars seems to be working for me. I'm not all that certain > about how to test the other fix you put in. Add this to a theme view: <% nil + 5 %> If you get an exception then great. If it reverts to the default view from app/view, then it's still broken for you. Scott From victor-typo at carotena.net Mon Nov 7 21:05:11 2005 From: victor-typo at carotena.net (Victor Jalencas) Date: Tue, 08 Nov 2005 03:05:11 +0100 Subject: [typo] Undefined method assert Message-ID: <437007D7.4080105@carotena.net> Hi, when running from latest trunk on TXD, I get the folliwing error accessing the main page: undefined method `assert' for # the logfile says this: Processing ArticlesController#index (for 80.39.122.133 at 2005-11-08 01:52:44) [GET] Parameters: {"action"=>"index", "controller"=>"articles"} NoMethodError (undefined method `assert' for #): /app/controllers/articles_controller.rb:222:in `check_page_query_param_for_missing_routes' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.10.2/lib/action_controller/filters.rb:317:in `send' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.10.2/lib/action_controller/filters.rb:317:in `call_filters' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.10.2/lib/action_controller/filters.rb:313:in `each' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.10.2/lib/action_controller/filters.rb:313:in `call_filters' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.10.2/lib/action_controller/filters.rb:302:in `before_action' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.10.2/lib/action_controller/filters.rb:294:in `perform_action_without_benchmark' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.10.2/lib/action_controller/benchmarking.rb:69:in `perform_action_without_rescue' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.10.2/lib/action_controller/benchmarking.rb:69:in `measure' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.10.2/lib/action_controller/benchmarking.rb:69:in `perform_action_without_rescue' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.10.2/lib/action_controller/rescue.rb:82:in `perform_action' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.10.2/lib/action_controller/base.rb:365:in `send' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.10.2/lib/action_controller/base.rb:365:in `process_without_session_management_support' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.10.2/lib/action_controller/session_management.rb:116:in `process' /usr/local/lib/ruby/gems/1.8/gems/rails-0.14.2/lib/dispatcher.rb:36:in `dispatch' /usr/local/lib/ruby/gems/1.8/gems/rails-0.14.2/lib/fcgi_handler.rb:136:in `process_request' /usr/local/lib/ruby/gems/1.8/gems/rails-0.14.2/lib/fcgi_handler.rb:53:in `process!' /usr/local/lib/ruby/gems/1.8/gems/rails-0.14.2/lib/fcgi_handler.rb:52:in `each_cgi' /usr/local/lib/ruby/gems/1.8/gems/fcgi-0.8.6.1/./fcgi.rb:597:in `each' /usr/local/lib/ruby/gems/1.8/gems/fcgi-0.8.6.1/./fcgi.rb:597:in `each_cgi' /usr/local/lib/ruby/gems/1.8/gems/rails-0.14.2/lib/fcgi_handler.rb:52:in `process!' /usr/local/lib/ruby/gems/1.8/gems/rails-0.14.2/lib/fcgi_handler.rb:22:in `process!' /public/dispatch.fcgi:24 If I run the same code with the same database locally with webrick, everything works perfectly. If I ask for /articles/page/1, it also works correctly. What gives? You can check it out at http://principia.info Thanks for any hint, Victor From kheon at comcast.net Mon Nov 7 21:06:16 2005 From: kheon at comcast.net (Kyle Heon) Date: Mon, 7 Nov 2005 21:06:16 -0500 Subject: [typo] THEME CONTEST !! - How many people are entering In-Reply-To: <43700766.6010504@izilla.com.au> Message-ID: <200511080157.jA81vR05010195@rubyforge.org> They are. Kyle Heon kheon at comcast.net -----Original Message----- From: typo-list-bounces at rubyforge.org [mailto:typo-list-bounces at rubyforge.org] On Behalf Of Leevi Graham Sent: Monday, November 07, 2005 9:03 PM To: typo-list at rubyforge.org Subject: Re: [typo] THEME CONTEST !! - How many people are entering are these fixes being added to the current trunk? Scott Laird wrote: > On Nov 7, 2005, at 5:51 PM, Kyle Heon wrote: > > >>Theming sidebars seems to be working for me. I'm not all that certain >>about how to test the other fix you put in. > > > Add this to a theme view: > > <% nil + 5 %> > > If you get an exception then great. If it reverts to the default > view from app/view, then it's still broken for you. > > > 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 scott at sigkill.org Mon Nov 7 21:17:02 2005 From: scott at sigkill.org (Scott Laird) Date: Mon, 7 Nov 2005 18:17:02 -0800 Subject: [typo] THEME CONTEST !! - How many people are entering In-Reply-To: <43700766.6010504@izilla.com.au> References: <200511080143.jA81h605009354@rubyforge.org> <124B21E0-91C9-487C-90C8-B8DE27C8E840@sigkill.org> <43700766.6010504@izilla.com.au> Message-ID: On Nov 7, 2005, at 6:03 PM, Leevi Graham wrote: > are these fixes being added to the current trunk? Yes. I think the theme contest is officially for 2.5.6, though. Geoffrey, can you clarify? I'm willing to back-port the theme fixes (and 0.14.x fixes) and roll out 2.5.7, but I don't want to screw up the theme contest or give later entries an unfair advantage over the earlier entrants. Scott From scott at sigkill.org Mon Nov 7 21:17:50 2005 From: scott at sigkill.org (Scott Laird) Date: Mon, 7 Nov 2005 18:17:50 -0800 Subject: [typo] Undefined method assert In-Reply-To: <437007D7.4080105@carotena.net> References: <437007D7.4080105@carotena.net> Message-ID: <4F074252-8E62-4402-BE7F-94308B5CF1A6@sigkill.org> I think I fixed that in the trunk on Saturday night. Which version are you running? Scott On Nov 7, 2005, at 6:05 PM, Victor Jalencas wrote: > Hi, > > when running from latest trunk on TXD, I get the folliwing error > accessing the main page: > > undefined method `assert' for # > > the logfile says this: > > > Processing ArticlesController#index (for 80.39.122.133 at 2005-11-08 > 01:52:44) [GET] > Parameters: {"action"=>"index", "controller"=>"articles"} > > > NoMethodError (undefined method `assert' for > #): > /app/controllers/articles_controller.rb:222:in > `check_page_query_param_for_missing_routes' > > /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.10.2/lib/ > action_controller/filters.rb:317:in > `send' > > /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.10.2/lib/ > action_controller/filters.rb:317:in > `call_filters' > > /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.10.2/lib/ > action_controller/filters.rb:313:in > `each' > > /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.10.2/lib/ > action_controller/filters.rb:313:in > `call_filters' > > /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.10.2/lib/ > action_controller/filters.rb:302:in > `before_action' > > /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.10.2/lib/ > action_controller/filters.rb:294:in > `perform_action_without_benchmark' > > /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.10.2/lib/ > action_controller/benchmarking.rb:69:in > `perform_action_without_rescue' > > /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.10.2/lib/ > action_controller/benchmarking.rb:69:in > `measure' > > /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.10.2/lib/ > action_controller/benchmarking.rb:69:in > `perform_action_without_rescue' > > /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.10.2/lib/ > action_controller/rescue.rb:82:in > `perform_action' > > /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.10.2/lib/ > action_controller/base.rb:365:in > `send' > > /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.10.2/lib/ > action_controller/base.rb:365:in > `process_without_session_management_support' > > /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.10.2/lib/ > action_controller/session_management.rb:116:in > `process' > > /usr/local/lib/ruby/gems/1.8/gems/rails-0.14.2/lib/dispatcher.rb:36:in > `dispatch' > > /usr/local/lib/ruby/gems/1.8/gems/rails-0.14.2/lib/fcgi_handler.rb: > 136:in > `process_request' > > /usr/local/lib/ruby/gems/1.8/gems/rails-0.14.2/lib/fcgi_handler.rb: > 53:in > `process!' > > /usr/local/lib/ruby/gems/1.8/gems/rails-0.14.2/lib/fcgi_handler.rb: > 52:in > `each_cgi' > /usr/local/lib/ruby/gems/1.8/gems/fcgi-0.8.6.1/./fcgi.rb: > 597:in `each' > /usr/local/lib/ruby/gems/1.8/gems/fcgi-0.8.6.1/./fcgi.rb:597:in > `each_cgi' > > /usr/local/lib/ruby/gems/1.8/gems/rails-0.14.2/lib/fcgi_handler.rb: > 52:in > `process!' > > /usr/local/lib/ruby/gems/1.8/gems/rails-0.14.2/lib/fcgi_handler.rb: > 22:in > `process!' > /public/dispatch.fcgi:24 > > > If I run the same code with the same database locally with webrick, > everything works perfectly. If I ask for /articles/page/1, it also > works > correctly. What gives? > > You can check it out at http://principia.info > > Thanks for any hint, > Victor > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list From leevi at izilla.com.au Mon Nov 7 21:24:25 2005 From: leevi at izilla.com.au (Leevi Graham) Date: Tue, 08 Nov 2005 13:24:25 +1100 Subject: [typo] THEME CONTEST !! - How many people are entering In-Reply-To: References: <200511080143.jA81h605009354@rubyforge.org> <124B21E0-91C9-487C-90C8-B8DE27C8E840@sigkill.org> <43700766.6010504@izilla.com.au> Message-ID: <43700C59.3020904@izilla.com.au> scott, I think having competition themes for the latest stable release is the best idea. My theme was nearly complete until all these changes where put in place. We can always ahve another comp as theis one seems to be going very well. Leevi Scott Laird wrote: > On Nov 7, 2005, at 6:03 PM, Leevi Graham wrote: > > >>are these fixes being added to the current trunk? > > > Yes. I think the theme contest is officially for 2.5.6, though. > Geoffrey, can you clarify? > > I'm willing to back-port the theme fixes (and 0.14.x fixes) and roll > out 2.5.7, but I don't want to screw up the theme contest or give > later entries an unfair advantage over the earlier entrants. > > > Scott > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list > > > From scott at sigkill.org Mon Nov 7 21:38:36 2005 From: scott at sigkill.org (Scott Laird) Date: Mon, 7 Nov 2005 18:38:36 -0800 Subject: [typo] THEME CONTEST !! - How many people are entering In-Reply-To: <43700C59.3020904@izilla.com.au> References: <200511080143.jA81h605009354@rubyforge.org> <124B21E0-91C9-487C-90C8-B8DE27C8E840@sigkill.org> <43700766.6010504@izilla.com.au> <43700C59.3020904@izilla.com.au> Message-ID: On Nov 7, 2005, at 6:24 PM, Leevi Graham wrote: > I think having competition themes for the latest stable release is the > best idea. > > My theme was nearly complete until all these changes where put in > place. > > We can always ahve another comp as theis one seems to be going very > well. I don't really care what the rules are for the theme contest, as long as there *are* rules and everyone plays by the same ones :-). Right now, *none* of the theme view code is in 2.5.6, which is the current stable release. So you're safe on that front, at least right now. Unfortunately, 2.5.6 doesn't entirely work right with Rails 0.14.x, so I need to release 2.5.7 soon; it'd be best for me if it's out before Wednesday night. Now, since I'm doing a new release, I *can* include the view code--it's really self-contained and easy to drop into place. It's won't break any existing themes, but it'll add new abilities that give newer themes an advantage. Which probably isn't fair. So I'm leaning against including the new view code, unless there's an overwhelming show of support, ideally including people who already have themes submitted. So far, I've heard one person who's against the new code. Is anyone *for* it? Scott From scott at sigkill.org Mon Nov 7 21:41:42 2005 From: scott at sigkill.org (Scott Laird) Date: Mon, 7 Nov 2005 18:41:42 -0800 Subject: [typo] THEME CONTEST !! - How many people are entering In-Reply-To: References: <200511080143.jA81h605009354@rubyforge.org> <124B21E0-91C9-487C-90C8-B8DE27C8E840@sigkill.org> <43700766.6010504@izilla.com.au> <43700C59.3020904@izilla.com.au> Message-ID: <2CE6ED07-5D46-4159-B1F0-93167CABC81C@sigkill.org> On Nov 7, 2005, at 6:38 PM, Scott Laird wrote: > I don't really care what the rules are for the theme contest, as > long as there *are* rules and everyone plays by the same ones :-). > > Right now, *none* of the theme view code is in 2.5.6, which is the > current stable release. So you're safe on that front, at least > right now. > > Unfortunately, 2.5.6 doesn't entirely work right with Rails 0.14.x, > so I need to release 2.5.7 soon; it'd be best for me if it's out > before Wednesday night. Now, since I'm doing a new release, I > *can* include the view code--it's really self-contained and easy to > drop into place. It's won't break any existing themes, but it'll > add new abilities that give newer themes an advantage. Which > probably isn't fair. So I'm leaning against including the new view > code, unless there's an overwhelming show of support, ideally > including people who already have themes submitted. So far, I've > heard one person who's against the new code. Is anyone *for* it? I finally sat down and checked the theme contest deadline, and it's only a few days away. So it'd be stupid to change the theme code at this point. So forget that I said anything. I'll still try to get a 2.5.7 with 0.14.x support out, but it won't change any theme code. Scott From scott at sigkill.org Mon Nov 7 21:44:45 2005 From: scott at sigkill.org (Scott Laird) Date: Mon, 7 Nov 2005 18:44:45 -0800 Subject: [typo] THEME CONTEST !! - How many people are entering In-Reply-To: <2CE6ED07-5D46-4159-B1F0-93167CABC81C@sigkill.org> References: <200511080143.jA81h605009354@rubyforge.org> <124B21E0-91C9-487C-90C8-B8DE27C8E840@sigkill.org> <43700766.6010504@izilla.com.au> <43700C59.3020904@izilla.com.au> <2CE6ED07-5D46-4159-B1F0-93167CABC81C@sigkill.org> Message-ID: <804392CD-64E9-49AB-B223-11B14CA0237E@sigkill.org> On Nov 7, 2005, at 6:41 PM, Scott Laird wrote: > I finally sat down and checked the theme contest deadline, and it's > only a few days away. So it'd be stupid to change the theme code > at this point. So forget that I said anything. I'll still try to > get a 2.5.7 with 0.14.x support out, but it won't change any theme > code. I swear, I'll stop replying to my own mail eventually. I re-read the Typo theme site, and noticed that the new deadline is 11/28, not 11/10. So I don't really care anymore. Let me know what people want, and I'll do that. Scott From leevi at izilla.com.au Mon Nov 7 21:53:12 2005 From: leevi at izilla.com.au (Leevi Graham) Date: Tue, 08 Nov 2005 13:53:12 +1100 Subject: [typo] THEME CONTEST !! - How many people are entering In-Reply-To: <804392CD-64E9-49AB-B223-11B14CA0237E@sigkill.org> References: <200511080143.jA81h605009354@rubyforge.org> <124B21E0-91C9-487C-90C8-B8DE27C8E840@sigkill.org> <43700766.6010504@izilla.com.au> <43700C59.3020904@izilla.com.au> <2CE6ED07-5D46-4159-B1F0-93167CABC81C@sigkill.org> <804392CD-64E9-49AB-B223-11B14CA0237E@sigkill.org> Message-ID: <43701318.5020802@izilla.com.au> My vote is to base the theme content on 2.5.6 :D Also.... Thanks to all that have fixed the bugs and improved the theming abilities of typo.. I just think its a bit too late in the game to change the rules Leevi Scott Laird wrote: > On Nov 7, 2005, at 6:41 PM, Scott Laird wrote: > >>I finally sat down and checked the theme contest deadline, and it's >>only a few days away. So it'd be stupid to change the theme code >>at this point. So forget that I said anything. I'll still try to >>get a 2.5.7 with 0.14.x support out, but it won't change any theme >>code. > > > I swear, I'll stop replying to my own mail eventually. > > I re-read the Typo theme site, and noticed that the new deadline is > 11/28, not 11/10. > > So I don't really care anymore. Let me know what people want, and > I'll do that. > > > Scott > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list > > > From packagethief at gmail.com Mon Nov 7 21:58:15 2005 From: packagethief at gmail.com (Jeffrey Hardy) Date: Mon, 7 Nov 2005 21:58:15 -0500 Subject: [typo] THEME CONTEST !! - How many people are entering In-Reply-To: References: <200511080143.jA81h605009354@rubyforge.org> <124B21E0-91C9-487C-90C8-B8DE27C8E840@sigkill.org> <43700766.6010504@izilla.com.au> <43700C59.3020904@izilla.com.au> Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 7-Nov-05, at 9:38 PM, Scott Laird wrote: > So I'm leaning against including the new view code, unless > there's an overwhelming show of support, ideally including people who > already have themes submitted. So far, I've heard one person who's > against the new code. Is anyone *for* it? It's a tough call, but as someone who submitted assuming we could only design for 2.5.6, I'm all for updating my theme to make it work with the newest code. I was actually planning on continually updating my theme. So, while version 0.1 is compatible with 2.5.6, version 0.2 will take advantage of the new features from the trunk. Despite the fact that there's a contest going on, better themes will result from iterating in the wild and continually tweaking. Besides, who wants to make themes for old code that has already changed? ;-) /Jeff -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (Darwin) iD8DBQFDcBRIsL1Y/W79qyYRAvd9AJ0eIZy6tr3PkZ0GyO08YNpDVAQc1ACfUIHK ohCbCXklCNgriaNvSFa/U9U= =x3KJ -----END PGP SIGNATURE----- From ccagle at alumni.utexas.net Mon Nov 7 22:07:59 2005 From: ccagle at alumni.utexas.net (clint) Date: Mon, 7 Nov 2005 21:07:59 -0600 Subject: [typo] typo and mysql 5.0.15 Message-ID: <802b2b6b0511071907u6a1339d2na7f5ee614ceac8c1@mail.gmail.com> Does typo work with mysql 5.0.15? When I try to access http://localhost:3000 I recieve the following: Clint:~/temp/rails/typo clint$ script/server -e production => Rails application started on http://0.0.0.0:3000 => Ctrl-C to shutdown server; call with --help for options [2005-11-07 20:58:10] INFO WEBrick 1.3.1 [2005-11-07 20:58:10] INFO ruby 1.8.2 (2004-12-25) [powerpc-darwin8.0] [2005-11-07 20:58:10] INFO WEBrick::HTTPServer#start: pid=3047 port=3000 # I am using mysql version: mysql Ver 14.12 Distrib 5.0.15, for apple-darwin7.9.0 (powerpc) using readline 5.0 I update to the latest version of typo (725) from svn. I created a new database called typo using: mysql -u root -p typo < schema.mysql.sql my database.yml file looks like: login: &login adapter: mysql host: localhost username: root password: development: database: typo_dev <<: *login test: database: typo_tests <<: *login production: database: typo <<: *login what am i missing? Thanks in advance, clint From wyldeone at gmail.com Mon Nov 7 22:25:16 2005 From: wyldeone at gmail.com (Micah Wylde) Date: Mon, 7 Nov 2005 19:25:16 -0800 Subject: [typo] THEME CONTEST !! - How many people are entering In-Reply-To: <43700C59.3020904@izilla.com.au> References: <200511080143.jA81h605009354@rubyforge.org> <124B21E0-91C9-487C-90C8-B8DE27C8E840@sigkill.org> <43700766.6010504@izilla.com.au> <43700C59.3020904@izilla.com.au> Message-ID: <106fc6ec0511071925m14841684g55ab600a45a32626@mail.gmail.com> I think that, since the point of this contest is to create some great themes to allow for further growth of typo, it would be better served by allowing the best themes to be created, namely those that allow for additional changes in display, allowing for more versatility. And as some one currently working on a theme, it is really constricting to not be able to do more with the various other views. Also, as of this point only four entries have been submitted, and those that have still have three weeks to update their themes if they would like to take advantage of new features. On 11/7/05, Leevi Graham wrote: > > scott, > > I think having competition themes for the latest stable release is the > best idea. > > My theme was nearly complete until all these changes where put in place. > > We can always ahve another comp as theis one seems to be going very well. > > Leevi > > Scott Laird wrote: > > On Nov 7, 2005, at 6:03 PM, Leevi Graham wrote: > > > > > >>are these fixes being added to the current trunk? > > > > > > Yes. I think the theme contest is officially for 2.5.6, though. > > Geoffrey, can you clarify? > > > > I'm willing to back-port the theme fixes (and 0.14.x fixes) and roll > > out 2.5.7, but I don't want to screw up the theme contest or give > > later entries an unfair advantage over the earlier entrants. > > > > > > 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 > -- Micah Wylde -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/typo-list/attachments/20051107/ced18f43/attachment.htm From leevi at izilla.com.au Mon Nov 7 22:33:12 2005 From: leevi at izilla.com.au (Leevi Graham) Date: Tue, 08 Nov 2005 14:33:12 +1100 Subject: [typo] THEME CONTEST !! - How many people are entering In-Reply-To: <106fc6ec0511071925m14841684g55ab600a45a32626@mail.gmail.com> References: <200511080143.jA81h605009354@rubyforge.org> <124B21E0-91C9-487C-90C8-B8DE27C8E840@sigkill.org> <43700766.6010504@izilla.com.au> <43700C59.3020904@izilla.com.au> <106fc6ec0511071925m14841684g55ab600a45a32626@mail.gmail.com> Message-ID: <43701C78.4080606@izilla.com.au> Ok maybe I was just being lazy.... who needs sleep anyway ??? Micah Wylde wrote: > I think that, since the point of this contest is to create some great > themes to allow for further growth of typo, it would be better served by > allowing the best themes to be created, namely those that allow for > additional changes in display, allowing for more versatility. And as > some one currently working on a theme, it is really constricting to not > be able to do more with the various other views. Also, as of this point > only four entries have been submitted, and those that have still have > three weeks to update their themes if they would like to take advantage > of new features. > > On 11/7/05, *Leevi Graham* > wrote: > > scott, > > I think having competition themes for the latest stable release is the > best idea. > > My theme was nearly complete until all these changes where put in place. > > We can always ahve another comp as theis one seems to be going very > well. > > Leevi > > Scott Laird wrote: > > On Nov 7, 2005, at 6:03 PM, Leevi Graham wrote: > > > > > >>are these fixes being added to the current trunk? > > > > > > Yes. I think the theme contest is officially for 2.5.6, though. > > Geoffrey, can you clarify? > > > > I'm willing to back-port the theme fixes (and 0.14.x fixes) and roll > > out 2.5.7, but I don't want to screw up the theme contest or give > > later entries an unfair advantage over the earlier entrants. > > > > > > 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 > > > > > -- > Micah Wylde > > > ------------------------------------------------------------------------ > > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list > > > ------------------------------------------------------------------------ > > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.1.362 / Virus Database: 267.12.8/162 - Release Date: 11/5/2005 From arronkau at gmail.com Tue Nov 8 00:08:01 2005 From: arronkau at gmail.com (Arron Kau) Date: Mon, 7 Nov 2005 21:08:01 -0800 Subject: [typo] THEME CONTEST !! - How many people are entering Message-ID: <3e1fcd100511072108p27392ab1t735646ac63b0bece@mail.gmail.com> I've already submitted a theme (albeit, not a very good one). It's not up yet, so there are definitely more than the four showing currently. Regarding versions, I agree with those that have suggested better theme code makes for better themes. There is nothing preventing themes already created from adding or revising with the new code. P.S. My blog (http://akau.homeip.net) is not currently running on my theme. It's an implementation of a Wordpress theme. > Date: Mon, 7 Nov 2005 18:38:36 -0800 > From: Scott Laird > Subject: Re: [typo] THEME CONTEST !! - How many people are entering > To: typo-list at rubyforge.org > Message-ID: > Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed > I don't really care what the rules are for the theme contest, as long > as there *are* rules and everyone plays by the same ones :-). > > Right now, *none* of the theme view code is in 2.5.6, which is the > current stable release. So you're safe on that front, at least right > now. > > Unfortunately, 2.5.6 doesn't entirely work right with Rails 0.14.x, > so I need to release 2.5.7 soon; it'd be best for me if it's out > before Wednesday night. Now, since I'm doing a new release, I *can* > include the view code--it's really self-contained and easy to drop > into place. It's won't break any existing themes, but it'll add new > abilities that give newer themes an advantage. Which probably isn't > fair. So I'm leaning against including the new view code, unless > there's an overwhelming show of support, ideally including people who > already have themes submitted. So far, I've heard one person who's > against the new code. Is anyone *for* it? > > > Scott -- Arron Kau kau at lifetime.oregonstate.edu blog: http://akau.homeip.net Most modern freedom is at root fear. It is not so much that we are too bold to endure rules; it is rather that we are too timid to endure responsibilities. --G. K. Chesterton From ccagle at alumni.utexas.net Tue Nov 8 00:25:57 2005 From: ccagle at alumni.utexas.net (clint) Date: Mon, 7 Nov 2005 23:25:57 -0600 Subject: [typo] typo and mysql 5.0.15 In-Reply-To: <802b2b6b0511071907u6a1339d2na7f5ee614ceac8c1@mail.gmail.com> References: <802b2b6b0511071907u6a1339d2na7f5ee614ceac8c1@mail.gmail.com> Message-ID: <802b2b6b0511072125w32163a83gbeb0ac6fb0969ab3@mail.gmail.com> All, I got it working. I had to change the tmpdir in the /etc/my.cnf dfile to look like: [mysqld] datadir=/usr/local/mysql/data socket=/private/tmp/mysql.sock tmpdir=/usr/local/mysql/tmp [mysql.server] user=mysql basedir=/usr/local/mysql [client] socket=/private/tmp/mysql.sock and make sure that I had write access to the tmpdir. Thanks, Clint On 11/7/05, clint wrote: > Does typo work with mysql 5.0.15? > > When I try to access http://localhost:3000 I recieve the following: > Clint:~/temp/rails/typo clint$ script/server -e production > => Rails application started on http://0.0.0.0:3000 > => Ctrl-C to shutdown server; call with --help for options > [2005-11-07 20:58:10] INFO WEBrick 1.3.1 > [2005-11-07 20:58:10] INFO ruby 1.8.2 (2004-12-25) [powerpc-darwin8.0] > [2005-11-07 20:58:10] INFO WEBrick::HTTPServer#start: pid=3047 port=3000 > # '/var/tmp/#sql_975_0.MYI' (Errcode: 13): SHOW FIELDS FROM sessions> > > I am using mysql version: > mysql Ver 14.12 Distrib 5.0.15, for apple-darwin7.9.0 (powerpc) using > readline 5.0 > > I update to the latest version of typo (725) from svn. > > I created a new database called typo using: > mysql -u root -p typo < schema.mysql.sql > > my database.yml file looks like: > login: &login > adapter: mysql > host: localhost > username: root > password: > > > development: > database: typo_dev > <<: *login > > test: > database: typo_tests > <<: *login > > production: > database: typo > <<: *login > > > what am i missing? > > Thanks in advance, > clint > -- clint cagle | cell: 214.405.8845 | ccagle at alumni.utexas.net From adam.greenfield at site5.com Tue Nov 8 01:03:28 2005 From: adam.greenfield at site5.com (Adam C. Greenfield) Date: Tue, 8 Nov 2005 01:03:28 -0500 Subject: [typo] THEME CONTEST !! - How many people are entering In-Reply-To: References: <200511080143.jA81h605009354@rubyforge.org> <124B21E0-91C9-487C-90C8-B8DE27C8E840@sigkill.org> <43700766.6010504@izilla.com.au> Message-ID: <03EC7548-746E-401A-8646-856A0C9FEBC3@site5.com> On Nov 7, 2005, at 9:17 PM, Scott Laird wrote: > > On Nov 7, 2005, at 6:03 PM, Leevi Graham wrote: > >> are these fixes being added to the current trunk? > > Yes. I think the theme contest is officially for 2.5.6, though. > Geoffrey, can you clarify? > I think he is still in Asia on business. I'm not sure when he'll get to this message, but it looks like based on his answer in the theme contest announcement comments (http:// www.typogarden.com/articles/2005/10/10/typo-theme-contest#comments) he seemed to indicate that trunk would be acceptable (for anyone who didn't already know he posts as "topfunky") -- Adam C. Greenfield Chief Technology Officer Site5 Internet Solutions, Inc. Phone: (888) 748-3526 x 906 E-Mail: adam.greenfield at site5.com From jnewland at gmail.com Tue Nov 8 01:58:56 2005 From: jnewland at gmail.com (jesse newland) Date: Tue, 8 Nov 2005 01:58:56 -0500 Subject: [typo] THEME CONTEST !! - How many people are entering In-Reply-To: <03EC7548-746E-401A-8646-856A0C9FEBC3@site5.com> References: <200511080143.jA81h605009354@rubyforge.org> <124B21E0-91C9-487C-90C8-B8DE27C8E840@sigkill.org> <43700766.6010504@izilla.com.au> <03EC7548-746E-401A-8646-856A0C9FEBC3@site5.com> Message-ID: >From typogarden (http://www.typogarden.com/articles/2005/10/10/typo-theme-contest#comments): --- Jesse Newland said about 9 hours later: Will themes be judged against SVN trunk or Typo 2.5? I'm specfically interested in using a build newer than [578] to make that pesky blue spinner match my color scheme. Would this be ok? topfunky said about 9 hours later: No problem! Definitely use the newer build if you want to, which is definitely an improvement vis a vis the blue spinner. --- I linked to the changeset detailing support for themeing partials (and was given the go ahead to use it) 9 hours after the initial theme contest post. I'm theming both partials and plugins in my theme, which I'm currently testing at http://jnewland.com. These improvements don't break old-style default.rhtml only themes, but do provide outrageously enhanced flexibility. It's getting better everyday actually: with changes made to the trunk today, you can now apply a class to each type of sidebar element, like: .delicious ul li { list-style:none; } by cleverly hacking /themes/$YOURTHEME/views/sidebars/sidebar/display_plugins.rhtml Let's just all make the best themes we can, and get some attention for Typo, a great piece of software. Deal? Jesse On 11/8/05, Adam C. Greenfield wrote: > > On Nov 7, 2005, at 9:17 PM, Scott Laird wrote: > > > > > On Nov 7, 2005, at 6:03 PM, Leevi Graham wrote: > > > >> are these fixes being added to the current trunk? > > > > Yes. I think the theme contest is officially for 2.5.6, though. > > Geoffrey, can you clarify? > > > > I think he is still in Asia on business. > > I'm not sure when he'll get to this message, but it looks like based > on his answer in the theme contest announcement comments (http:// > www.typogarden.com/articles/2005/10/10/typo-theme-contest#comments) > he seemed to indicate that trunk would be acceptable (for anyone who > didn't already know he posts as "topfunky") > > -- > Adam C. Greenfield > Chief Technology Officer > Site5 Internet Solutions, Inc. > Phone: (888) 748-3526 x 906 > E-Mail: adam.greenfield at site5.com > > > > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list > -- jnewland at gmail.com jnewland.com AIM: jbnewland 406.640.0517 From ccagle at alumni.utexas.net Tue Nov 8 03:00:54 2005 From: ccagle at alumni.utexas.net (clint) Date: Tue, 8 Nov 2005 02:00:54 -0600 Subject: [typo] weird error Message-ID: <802b2b6b0511080000u43c279dbte0a3d5f254121571@mail.gmail.com> All, I am receiving a weird error when running typo on lighttpd. I was trying to configure typo, postgressql, lighttpd and phppgadmin a few days ago. I'm sure I messed something up in a config file and I can't figure out what I did. When I go to http:\\localhost I get prompted to download this file from my browser (randomname.exe): I am now back to using mysql, webrick, and typo successfully. However, when I use lighttpd I receive the file below. Any ideas are greatly appreciated. -----contents of randomname.exe-------- printHeader(); ?> <body> <?php echo $lang['strnoframes'] ?> </body> printFooter(false); ?> -------- From victor-typo at carotena.net Tue Nov 8 05:33:39 2005 From: victor-typo at carotena.net (Victor Jalencas) Date: Tue, 08 Nov 2005 11:33:39 +0100 Subject: [typo] Undefined method assert In-Reply-To: <4F074252-8E62-4402-BE7F-94308B5CF1A6@sigkill.org> References: <437007D7.4080105@carotena.net> <4F074252-8E62-4402-BE7F-94308B5CF1A6@sigkill.org> Message-ID: <43707F03.8050003@carotena.net> This was probably r720, because I updated this very night to r725 but didn't think about restarting the server afterwards (doh! Of course it worked locally! That will teach me to do updates in the wee hours) After doing so it still fails though :( BTW is there a method somewhere that will output the release tag? That'd be nice to display in the footer partial. I think it can be done using svn tags, but only when exporting the code, not checking it out (or is it the other way around?) Victor Scott Laird wrote: > I think I fixed that in the trunk on Saturday night. Which version > are you running? > From joris at nova.ath.cx Tue Nov 8 06:34:35 2005 From: joris at nova.ath.cx (Joris Vuffray) Date: Tue, 08 Nov 2005 12:34:35 +0100 Subject: [typo] error after upgrade to latest svn Message-ID: <20051108123435.mzqau9dpw80s0wgo@vuffray.cjb.net> Hi, I just upgraded to the latest svn version but got following errors: # ./script/server -e production /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require__': no such file to load -- initializer (LoadError) from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require' from /home/customer/blog/blog.gege/script/../config/boot.rb:14 from /home/customer/blog/blog.gege/script/server:2 Any idea? Regards, -- Joris ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. From ntalbott at gmail.com Tue Nov 8 08:18:04 2005 From: ntalbott at gmail.com (Nathaniel Talbott) Date: Tue, 8 Nov 2005 08:18:04 -0500 Subject: [typo] MeasureMap integration Message-ID: I just got a shiny new MeasureMap invitation in my email inbox... hope you did, too :-). Anyhow, I'd like to get it integrated in to my Typo blog, and was wondering if anyone had already done the dirty work of figuring out exactly where to inject things. Thanks, -- Nathaniel Talbott <:((>< From dlamotte at bamboo.lu Tue Nov 8 09:14:55 2005 From: dlamotte at bamboo.lu (Denis Lamotte) Date: Tue, 08 Nov 2005 15:14:55 +0100 Subject: [typo] MeasureMap integration In-Reply-To: References: Message-ID: <4370B2DF.8040800@bamboo.lu> You need to adapt your theme. i do it with MT. so i adapt the code . I've not tested it but your free to try inside the default.rhtml layout <%unless @article.nil %> <%= render :partial => 'shared/measuremap' %> <% end -%> inside shared/_measuremap.rhml (you can place it in your loval views folder in your theme with typo svn version 725+) <% @articles.comments.each do |comment| %> <% end -%> Nathaniel Talbott wrote: > I just got a shiny new MeasureMap invitation in my email inbox... hope > you did, too :-). Anyhow, I'd like to get it integrated in to my Typo > blog, and was wondering if anyone had already done the dirty work of > figuring out exactly where to inject things. > > Thanks, > > > -- > Nathaniel Talbott > > <:((>< > > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list > > From scott at sigkill.org Tue Nov 8 09:52:51 2005 From: scott at sigkill.org (Scott Laird) Date: Tue, 8 Nov 2005 06:52:51 -0800 Subject: [typo] THEME CONTEST !! - How many people are entering In-Reply-To: References: <200511080143.jA81h605009354@rubyforge.org> <124B21E0-91C9-487C-90C8-B8DE27C8E840@sigkill.org> <43700766.6010504@izilla.com.au> <03EC7548-746E-401A-8646-856A0C9FEBC3@site5.com> Message-ID: On Nov 7, 2005, at 10:58 PM, jesse newland wrote: > I linked to the changeset detailing support for themeing partials (and > was given the go ahead to use it) 9 hours after the initial theme > contest post. I'm theming both partials and plugins in my theme, which > I'm currently testing at http://jnewland.com. > > These improvements don't break old-style default.rhtml only themes, > but do provide outrageously enhanced flexibility. It's getting better > everyday actually: with changes made to the trunk today, you can now > apply a class to each type of sidebar element, like: > > .delicious ul li { > list-style:none; > } > > by cleverly hacking > /themes/$YOURTHEME/views/sidebars/sidebar/display_plugins.rhtml > > Let's just all make the best themes we can, and get some attention for > Typo, a great piece of software. Deal? It seems pretty clear at this point that: 1. The theme contest was never really limited to 2.5.x anyway. 2. There's still time to update themes. 3. People want to use the new views. 4. Geoffrey is okay with it. So I'll go ahead and include the new view code in 2.5.7, assuming that nothing bizarre happens. I've added it to my tree already, but I haven't had time to test it--I'm still fixing 0.14.x-isms. Scott From scott at sigkill.org Tue Nov 8 09:56:07 2005 From: scott at sigkill.org (Scott Laird) Date: Tue, 8 Nov 2005 06:56:07 -0800 Subject: [typo] error after upgrade to latest svn In-Reply-To: <20051108123435.mzqau9dpw80s0wgo@vuffray.cjb.net> References: <20051108123435.mzqau9dpw80s0wgo@vuffray.cjb.net> Message-ID: On Nov 8, 2005, at 3:34 AM, Joris Vuffray wrote: > Hi, I just upgraded to the latest svn version but got following > errors: > > # ./script/server -e production > /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in > `require__': no such file to load -- initializer (LoadError) > from > /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require' > from /home/customer/blog/blog.gege/script/../config/boot.rb:14 > from /home/customer/blog/blog.gege/script/server:2 Which version of Rails are you using? The trunk basically requires 0.14.x now; I tested it with 0.14.2, but 0.14.3 should be fine as well. This looks like you're using 0.13.1 still. Scott From scott at sigkill.org Tue Nov 8 09:58:11 2005 From: scott at sigkill.org (Scott Laird) Date: Tue, 8 Nov 2005 06:58:11 -0800 Subject: [typo] Undefined method assert In-Reply-To: <43707F03.8050003@carotena.net> References: <437007D7.4080105@carotena.net> <4F074252-8E62-4402-BE7F-94308B5CF1A6@sigkill.org> <43707F03.8050003@carotena.net> Message-ID: On Nov 8, 2005, at 2:33 AM, Victor Jalencas wrote: > BTW is there a method somewhere that will output the release tag? > That'd > be nice to display in the footer partial. I think it can be done using > svn tags, but only when exporting the code, not checking it out (or is > it the other way around?) That's a good question. I'll look into it and see what I can do. Scott From scott at sigkill.org Tue Nov 8 10:09:52 2005 From: scott at sigkill.org (Scott Laird) Date: Tue, 8 Nov 2005 07:09:52 -0800 Subject: [typo] weird error In-Reply-To: <802b2b6b0511080000u43c279dbte0a3d5f254121571@mail.gmail.com> References: <802b2b6b0511080000u43c279dbte0a3d5f254121571@mail.gmail.com> Message-ID: <919539AB-730A-4546-BEB9-3CCBDEF621EC@sigkill.org> I have *no* idea where this is coming from, but since it's PHP code, it's not part of Typo. Perhaps you have some older PHP app still living in the directory that you're using for Typo? Scott On Nov 8, 2005, at 12:00 AM, clint wrote: > All, > > I am receiving a weird error when running typo on lighttpd. I was > trying to configure typo, postgressql, lighttpd and phppgadmin a few > days ago. I'm sure I messed something up in a config file and I can't > figure out what I did. When I go to http:\\localhost I get prompted > to download this file from my browser (randomname.exe): > > I am now back to using mysql, webrick, and typo successfully. > However, when I use lighttpd I receive the file below. Any ideas are > greatly appreciated. > > -----contents of randomname.exe-------- > > /** > * Main access point to the app. > * > * $Id: index.php,v 1.11 2004/07/12 04:18:40 chriskl Exp $ > */ > > // Include application functions > include_once('./libraries/lib.inc.php'); > $misc->printHeader(); > ?> > > noresize="noresize" frameborder="0" /> > > > > > > > > > > > > noresize="noresize" frameborder="0" /> > > <body> > <?php echo $lang['strnoframes'] ?> > </body> > > > $misc->printFooter(false); > ?> > -------- > > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list From joris at nova.ath.cx Tue Nov 8 10:45:20 2005 From: joris at nova.ath.cx (Joris Vuffray) Date: Tue, 08 Nov 2005 16:45:20 +0100 Subject: [typo] error after upgrade to latest svn In-Reply-To: References: <20051108123435.mzqau9dpw80s0wgo@vuffray.cjb.net> Message-ID: <20051108164520.xp3wfi5ns4c4ckso@vuffray.cjb.net> > Which version of Rails are you using? The trunk basically requires > 0.14.x now; I tested it with 0.14.2, but 0.14.3 should be fine as > well. This looks like you're using 0.13.1 still. > Hi, I'm using 0.13.1, I'll upgrade to 0.14.2 now to check if it can be fixed. Rgds, -- Joris ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. From joris at nova.ath.cx Tue Nov 8 11:21:25 2005 From: joris at nova.ath.cx (Joris Vuffray) Date: Tue, 08 Nov 2005 17:21:25 +0100 Subject: [typo] error after upgrade to latest svn [SOLVED] In-Reply-To: <20051108164520.xp3wfi5ns4c4ckso@vuffray.cjb.net> References: <20051108123435.mzqau9dpw80s0wgo@vuffray.cjb.net> <20051108164520.xp3wfi5ns4c4ckso@vuffray.cjb.net> Message-ID: <20051108172125.d959uian6s444404@vuffray.cjb.net> Quoting Joris Vuffray : > >> Which version of Rails are you using? The trunk basically requires >> 0.14.x now; I tested it with 0.14.2, but 0.14.3 should be fine as >> well. This looks like you're using 0.13.1 still. >> > > Hi, > I'm using 0.13.1, I'll upgrade to 0.14.2 now to check if it can be fixed. > Ok, it's now up and running after the upgrade! Thanks. -- Joris ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. From scott at sigkill.org Tue Nov 8 19:51:52 2005 From: scott at sigkill.org (Scott Laird) Date: Tue, 8 Nov 2005 16:51:52 -0800 Subject: [typo] Typo 2.5.7 Message-ID: <8EDAA5AC-8865-4CB8-B1DE-9F81B90F6D7F@sigkill.org> I just released Typo 2.5.7. It should fix all of the known problems with Rails 0.14.x, as well as a Flickr sidebar problem that some users have seen. Finally, it adds support for theming individual views; see http://scottstuff.net/blog/articles/2005/11/08/typo-theme- engine for details. Scott From ronald.green at gmail.com Tue Nov 8 20:19:09 2005 From: ronald.green at gmail.com (Ron Green) Date: Tue, 8 Nov 2005 19:19:09 -0600 Subject: [typo] Updating to 732 Message-ID: <5d63856e0511081719w201ecb1eo985c98e125eb2161@mail.gmail.com> I just updated my site at Textdrive to 732. When I restart lighttpd, I get the following in putty: burnaby$ /usr/local/lib/ruby/gems/1.8/gems/rails-0.14.2/lib/initializer.rb:172:in `load_environment': compile error (SyntaxError) /usr/local/lib/ruby/gems/1.8/gems/rails-0.14.2/lib/initializer.rb:153: syntax error Migrator.offer_migration_when_available = true======= ^ from /usr/local/lib/ruby/gems/1.8/gems/rails-0.14.2/lib/initializer.rb:150:in `load_environment' from /usr/local/lib/ruby/gems/1.8/gems/rails-0.14.2/lib/initializer.rb:147:in `silence_warnings' from /usr/local/lib/ruby/gems/1.8/gems/rails-0.14.2/lib/initializer.rb:147:in `load_environment' from /usr/local/lib/ruby/gems/1.8/gems/rails-0.14.2/lib/initializer.rb:73:in `process' from /usr/local/lib/ruby/gems/1.8/gems/rails-0.14.2/lib/initializer.rb:36:in `send' from /usr/local/lib/ruby/gems/1.8/gems/rails-0.14.2/lib/initializer.rb:36:in `run' from ./home/rfg21735/domains/rfgreen.net/web/public/typo/public/../config/environment.rb:10 from home/rfg21735/domains/rfgreen.net/web/public/typo/public/dispatch.fcgi:21:in `require' from home/rfg21735/domains/rfgreen.net/web/public/typo/public/dispatch.fcgi:21 /usr/local/lib/ruby/gems/1.8/gems/rails-0.14.2/lib/initializer.rb:172:in `load_environment': compile error (SyntaxError) /usr/local/lib/ruby/gems/1.8/gems/rails-0.14.2/lib/initializer.rb:153: syntax error Migrator.offer_migration_when_available = true======= ^ from /usr/local/lib/ruby/gems/1.8/gems/rails-0.14.2/lib/initializer.rb:150:in `load_environment' from /usr/local/lib/ruby/gems/1.8/gems/rails-0.14.2/lib/initializer.rb:147:in `silence_warnings' from /usr/local/lib/ruby/gems/1.8/gems/rails-0.14.2/lib/initializer.rb:147:in `load_environment' from /usr/local/lib/ruby/gems/1.8/gems/rails-0.14.2/lib/initializer.rb:73:in `process' from /usr/local/lib/ruby/gems/1.8/gems/rails-0.14.2/lib/initializer.rb:36:in `send' from /usr/local/lib/ruby/gems/1.8/gems/rails-0.14.2/lib/initializer.rb:36:in `run' from ./home/rfg21735/domains/rfgreen.net/web/public/typo/public/../config/environment.rb:10 from home/rfg21735/domains/rfgreen.net/web/public/typo/public/dispatch.fcgi:21:in `require' from home/rfg21735/domains/rfgreen.net/web/public/typo/public/dispatch.fcgi:21 Any ideas? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/typo-list/attachments/20051108/d8dc9aa0/attachment.htm From daejuan at gmail.com Tue Nov 8 22:32:32 2005 From: daejuan at gmail.com (Daejuan Jacobs) Date: Tue, 8 Nov 2005 21:32:32 -0600 Subject: [typo] Typo 2.5.7/8 issue Message-ID: <93b350310511081932i4ef8c7f6v7fdb12fcbd7db9b7@mail.gmail.com> I upgraded to 2.5.8. Restarted Lighttpd and got this. /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:21:in `require__': no such file to load -- renderfix (MissingSourceFile) from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:21:in `require' from /usr/lib/ruby/gems/1.8/gems/activesupport-1.2.3/lib/active_support/dependencies.rb:214:in `require' from /usr/lib/ruby/gems/1.8/gems/activesupport-1.2.3/lib/active_support/dependencies.rb:39:in `require_or_load' from /usr/lib/ruby/gems/1.8/gems/activesupport-1.2.3/lib/active_support/dependencies.rb:22:in `depend_on' from /usr/lib/ruby/gems/1.8/gems/activesupport-1.2.3/lib/active_support/dependencies.rb:178:in `require_dependency' from /home/daejuan/domains/d-jacobs.com/typo-2.5.8/public/../config/environment.rb:94 from /home/daejuan/domains/d-jacobs.com/typo-2.5.8/public/dispatch.fcgi:21 I opened up config/environment.rb and line 94 was require_dependency 'renderfix' So I uncommented out because I could not find renderfix.rb in lib/ #require_dependency 'renderfix' Now that I look, it's in the root directory. I think you guys forgot to place the file in lib/. -- Man Wit Da Plan. From scott at sigkill.org Tue Nov 8 22:53:23 2005 From: scott at sigkill.org (Scott Laird) Date: Tue, 8 Nov 2005 19:53:23 -0800 Subject: [typo] Typo 2.5.7/8 issue In-Reply-To: <93b350310511081932i4ef8c7f6v7fdb12fcbd7db9b7@mail.gmail.com> References: <93b350310511081932i4ef8c7f6v7fdb12fcbd7db9b7@mail.gmail.com> Message-ID: Er, how the heck did it pass the tests then? Today is *really* starting to look like Monday. Scott On Nov 8, 2005, at 7:32 PM, Daejuan Jacobs wrote: > I upgraded to 2.5.8. Restarted Lighttpd and got this. > > /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:21:in > `require__': no such file to load -- renderfix (MissingSourceFile) > from /usr/local/lib/site_ruby/1.8/rubygems/ > custom_require.rb:21:in > `require' > from /usr/lib/ruby/gems/1.8/gems/activesupport-1.2.3/lib/ > active_support/dependencies.rb:214:in > `require' > from /usr/lib/ruby/gems/1.8/gems/activesupport-1.2.3/lib/ > active_support/dependencies.rb:39:in > `require_or_load' > from /usr/lib/ruby/gems/1.8/gems/activesupport-1.2.3/lib/ > active_support/dependencies.rb:22:in > `depend_on' > from /usr/lib/ruby/gems/1.8/gems/activesupport-1.2.3/lib/ > active_support/dependencies.rb:178:in > `require_dependency' > from /home/daejuan/domains/d-jacobs.com/typo-2.5.8/ > public/../config/environment.rb:94 > from /home/daejuan/domains/d-jacobs.com/typo-2.5.8/public/ > dispatch.fcgi:21 > > > I opened up config/environment.rb and line 94 was > require_dependency 'renderfix' > > So I uncommented out because I could not find renderfix.rb in lib/ > #require_dependency 'renderfix' > > Now that I look, it's in the root directory. I think you guys forgot > to place the file in lib/. > > -- > Man Wit Da Plan. > > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list From mike at uwmike.com Tue Nov 8 23:30:16 2005 From: mike at uwmike.com (Michael Purvis) Date: Tue, 08 Nov 2005 23:30:16 -0500 Subject: [typo] Everything on fire (DH jumps the gun on 1.0rc4) Message-ID: <43717B58.9090400@uwmike.com> Hi folks, I asked a few days ago about upgrading to the latest, and there weren't many responses. I gave it a shot and couldn't seem to get anywhere. Then this afternoon, DH upgrades Rails on us out of the blue, so now I *have* to get it working. I tried "svn up" in my typo testing directory, and I just got an error indicating that it wasn't "a working copy." So I must've not installed it from svn, I guess. Okay, take two was to try to checkout the most recent code and then copy over my theme and config and try to "rake migrate" the lot of it. No cigar there either... I'm seeing "rake aborted! is not a class/module" What should be my next course of action? Mike -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.362 / Virus Database: 267.12.8/163 - Release Date: 08/11/2005 From ronald.green at gmail.com Tue Nov 8 23:30:45 2005 From: ronald.green at gmail.com (Ron Green) Date: Tue, 8 Nov 2005 22:30:45 -0600 Subject: [typo] Typo 2.5.7/8 issue In-Reply-To: References: <93b350310511081932i4ef8c7f6v7fdb12fcbd7db9b7@mail.gmail.com> Message-ID: <5d63856e0511082030u15638c97j9420635dd2dc4124@mail.gmail.com> I just loaded 742 from trunk and it worked just fine. On 11/8/05, Scott Laird wrote: > > Er, how the heck did it pass the tests then? > > Today is *really* starting to look like Monday. > > > Scott > > On Nov 8, 2005, at 7:32 PM, Daejuan Jacobs wrote: > > > I upgraded to 2.5.8. Restarted Lighttpd and got this. > > > > /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:21:in > > `require__': no such file to load -- renderfix (MissingSourceFile) > > from /usr/local/lib/site_ruby/1.8/rubygems/ > > custom_require.rb:21:in > > `require' > > from /usr/lib/ruby/gems/1.8/gems/activesupport-1.2.3/lib/ > > active_support/dependencies.rb:214:in > > `require' > > from /usr/lib/ruby/gems/1.8/gems/activesupport-1.2.3/lib/ > > active_support/dependencies.rb:39:in > > `require_or_load' > > from /usr/lib/ruby/gems/1.8/gems/activesupport-1.2.3/lib/ > > active_support/dependencies.rb:22:in > > `depend_on' > > from /usr/lib/ruby/gems/1.8/gems/activesupport-1.2.3/lib/ > > active_support/dependencies.rb:178:in > > `require_dependency' > > from /home/daejuan/domains/d-jacobs.com/typo-2.5.8/ > > public/../config/environment.rb:94 > > from /home/daejuan/domains/d-jacobs.com/typo-2.5.8/public/ > > dispatch.fcgi:21 > > > > > > I opened up config/environment.rb and line 94 was > > require_dependency 'renderfix' > > > > So I uncommented out because I could not find renderfix.rb in lib/ > > #require_dependency 'renderfix' > > > > Now that I look, it's in the root directory. I think you guys forgot > > to place the file in lib/. > > > > -- > > Man Wit Da Plan. > > > > _______________________________________________ > > 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/20051108/befb6736/attachment.htm From daejuan at gmail.com Tue Nov 8 23:41:00 2005 From: daejuan at gmail.com (Daejuan Jacobs) Date: Tue, 8 Nov 2005 22:41:00 -0600 Subject: [typo] Typo 2.5.7/8 issue In-Reply-To: <5d63856e0511082030u15638c97j9420635dd2dc4124@mail.gmail.com> References: <93b350310511081932i4ef8c7f6v7fdb12fcbd7db9b7@mail.gmail.com> <5d63856e0511082030u15638c97j9420635dd2dc4124@mail.gmail.com> Message-ID: <93b350310511082041g5327717o8113d5658ccb7489@mail.gmail.com> The SVN trunk will work because the file renderfix.rb is in the appropiate place (lib/) But the 2.5.8 tarball (and I'm assuming the zip) has the renderfix.rb file in the wrong place. On 11/8/05, Ron Green wrote: > I just loaded 742 from trunk and it worked just fine. > > > > On 11/8/05, Scott Laird wrote: > > Er, how the heck did it pass the tests then? > > > > Today is *really* starting to look like Monday. > > > > > > Scott > > > > On Nov 8, 2005, at 7:32 PM, Daejuan Jacobs wrote: > > > > > I upgraded to 2.5.8. Restarted Lighttpd and got this. > > > > > > > /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:21:in > > > `require__': no such file to load -- renderfix (MissingSourceFile) > > > from /usr/local/lib/site_ruby/1.8/rubygems/ > > > custom_require.rb:21:in > > > `require' > > > from > /usr/lib/ruby/gems/1.8/gems/activesupport-1.2.3/lib/ > > > active_support/dependencies.rb:214:in > > > `require' > > > from > /usr/lib/ruby/gems/1.8/gems/activesupport-1.2.3/lib/ > > > active_support/dependencies.rb:39:in > > > `require_or_load' > > > from /usr/lib/ruby/gems/1.8/gems/activesupport- > 1.2.3/lib/ > > > active_support/dependencies.rb:22:in > > > `depend_on' > > > from > /usr/lib/ruby/gems/1.8/gems/activesupport-1.2.3/lib/ > > > active_support/dependencies.rb:178:in > > > `require_dependency' > > > from /home/daejuan/domains/d-jacobs.com/typo-2.5.8/ > > > public/../config/environment.rb:94 > > > from /home/daejuan/domains/d- jacobs.com/typo-2.5.8/public/ > > > dispatch.fcgi:21 > > > > > > > > > I opened up config/environment.rb and line 94 was > > > require_dependency 'renderfix' > > > > > > So I uncommented out because I could not find renderfix.rb in lib/ > > > #require_dependency 'renderfix' > > > > > > Now that I look, it's in the root directory. I think you guys forgot > > > to place the file in lib/. > > > > > > -- > > > Man Wit Da Plan. > > > > > > _______________________________________________ > > > 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 > > > -- Man Wit Da Plan. From mike at uwmike.com Tue Nov 8 23:54:47 2005 From: mike at uwmike.com (Michael Purvis) Date: Tue, 08 Nov 2005 23:54:47 -0500 Subject: [typo] Everything on fire (DH jumps the gun on 1.0rc4) In-Reply-To: <43717B58.9090400@uwmike.com> References: <43717B58.9090400@uwmike.com> Message-ID: <43718117.7030102@uwmike.com> Michael Purvis wrote: >What should be my next course of action? > > Okay, I hadn't seen the suggestiont to try "rake migrate RAILS_ENV=production" It ran and then finished silently, which I assumed meant success... apparently not. It doesn't look like any changes got made to the DB, and every pageview is just a crash: [foothill]$ tail production.log /usr/lib/ruby/gems/1.8/gems/rails-0.14.3/lib/fcgi_handler.rb:141:in `process_request' /usr/lib/ruby/gems/1.8/gems/rails-0.14.3/lib/fcgi_handler.rb:53:in `process!' /usr/lib/ruby/gems/1.8/gems/rails-0.14.3/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' /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!' dispatch.fcgi:26 ????? -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.362 / Virus Database: 267.12.8/163 - Release Date: 08/11/2005 From robby.lists at planetargon.com Tue Nov 8 23:55:20 2005 From: robby.lists at planetargon.com (Robby Russell) Date: Tue, 08 Nov 2005 20:55:20 -0800 Subject: [typo] Everything on fire (DH jumps the gun on 1.0rc4) In-Reply-To: <43717B58.9090400@uwmike.com> References: <43717B58.9090400@uwmike.com> Message-ID: <43718138.7050807@planetargon.com> Michael Purvis wrote: >Hi folks, > >I asked a few days ago about upgrading to the latest, and there weren't >many responses. I gave it a shot and couldn't seem to get anywhere. Then >this afternoon, DH upgrades Rails on us out of the blue, so now I *have* >to get it working. > > > Talk to your hosting provider... or the person who upgraded your gems. Don't blame DHH. :-) >I tried "svn up" in my typo testing directory, and I just got an error >indicating that it wasn't "a working copy." So I must've not installed >it from svn, I guess. > >Okay, take two was to try to checkout the most recent code and then copy >over my theme and config and try to "rake migrate" the lot of it. No >cigar there either... I'm seeing "rake aborted! is not a class/module" > >What should be my next course of action? > > See above. :-) Add the older gems to your vendor? -Robby From mike at uwmike.com Wed Nov 9 00:00:54 2005 From: mike at uwmike.com (Michael Purvis) Date: Wed, 09 Nov 2005 00:00:54 -0500 Subject: [typo] Everything on fire (DH jumps the gun on 1.0rc4) In-Reply-To: <43718138.7050807@planetargon.com> References: <43717B58.9090400@uwmike.com> <43718138.7050807@planetargon.com> Message-ID: <43718286.9010706@uwmike.com> Robby Russell wrote: >Talk to your hosting provider... or the person who upgraded your gems. >Don't blame DHH. :-) > > DH = Dreamhost. They simply installed 1.04rc4 on the servers this afternoon with (afaik) zero warning. >See above. :-) > >Add the older gems to your vendor? > > Sorry, not sure what this means. Do I want/need to be running older code? Is it just "gem install x version"? Which gems/versions do I need to make the migration to 742? Mike -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.362 / Virus Database: 267.12.8/163 - Release Date: 08/11/2005 From robby.lists at planetargon.com Wed Nov 9 00:33:25 2005 From: robby.lists at planetargon.com (Robby Russell) Date: Tue, 08 Nov 2005 21:33:25 -0800 Subject: [typo] Everything on fire (DH jumps the gun on 1.0rc4) In-Reply-To: <43718286.9010706@uwmike.com> References: <43717B58.9090400@uwmike.com> <43718138.7050807@planetargon.com> <43718286.9010706@uwmike.com> Message-ID: <43718A25.6070903@planetargon.com> Michael Purvis wrote: >Robby Russell wrote: > > > >>Talk to your hosting provider... or the person who upgraded your gems. >>Don't blame DHH. :-) >> >> >> >> >DH = Dreamhost. They simply installed 1.04rc4 on the servers this >afternoon with (afaik) zero warning. > > Ouch. We (planet argon) still have 0.13.1 on our servers...and will announce a date when we will update to 1.0... and give people instructions on how to lock in to their older gems. :-) Robby From mike at uwmike.com Wed Nov 9 01:16:54 2005 From: mike at uwmike.com (Michael Purvis) Date: Wed, 09 Nov 2005 01:16:54 -0500 Subject: [typo] Everything on fire In-Reply-To: <43718117.7030102@uwmike.com> References: <43717B58.9090400@uwmike.com> <43718117.7030102@uwmike.com> Message-ID: <43719456.5060307@uwmike.com> Is there any step-by-step migration process that's more granular than "rake migrate" but not quite as awful as query-regex-insert? Or some way to run *only* the db-migration from the commandline, without needing to visit "/admin/general/update_database"? (It's a 500 every time for me...) I think I'll just abandon my old and now very-broken half-migrated Typo, and try to start from scratch with 752... but I'd prefer not to have to go 100% manual on the importing. Mike -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.362 / Virus Database: 267.12.8/163 - Release Date: 08/11/2005 From mbjones at ou.edu Wed Nov 9 01:38:42 2005 From: mbjones at ou.edu (Brandon Jones) Date: Wed, 9 Nov 2005 00:38:42 -0600 Subject: [typo] Everything on fire In-Reply-To: <43719456.5060307@uwmike.com> References: <43717B58.9090400@uwmike.com> <43718117.7030102@uwmike.com> <43719456.5060307@uwmike.com> Message-ID: <3347D758-30FB-462D-B9C0-24C91D25D8D2@ou.edu> For what its worth if anyone else is having problems with DH and Typo (I came home to find this same thing tonight) updating from SVN locally (where I test my code) and then manually uploading it to my site did the trick. I had to first goto http://typo.indyjones.org/ admin which recognized it as an updated version and ran the migrate script directly from the browser - much easier than using the command line in my opinion. I don't recall what version of Typo I had prior but I went from DB 14 to the latest. I know Mike's problems are more involved here, but I thought that the above might be helpful for any other Dreamhost users out there. I too wish that we would have been informed of the update... Brandon On Nov 9, 2005, at 12:16 AM, Michael Purvis wrote: > Is there any step-by-step migration process that's more granular than > "rake migrate" but not quite as awful as query-regex-insert? Or > some way > to run *only* the db-migration from the commandline, without > needing to > visit "/admin/general/update_database"? (It's a 500 every time for > me...) > > I think I'll just abandon my old and now very-broken half-migrated > Typo, > and try to start from scratch with 752... but I'd prefer not to > have to > go 100% manual on the importing. > > Mike > > > -- > No virus found in this outgoing message. > Checked by AVG Free Edition. > Version: 7.1.362 / Virus Database: 267.12.8/163 - Release Date: > 08/11/2005 > > _______________________________________________ > 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/20051109/ca84c096/attachment.htm From kvanderauwera at gmail.com Wed Nov 9 05:17:25 2005 From: kvanderauwera at gmail.com (Koen Van der Auwera) Date: Wed, 9 Nov 2005 11:17:25 +0100 Subject: [typo] Everything on fire In-Reply-To: <3347D758-30FB-462D-B9C0-24C91D25D8D2@ou.edu> References: <43717B58.9090400@uwmike.com> <43718117.7030102@uwmike.com> <43719456.5060307@uwmike.com> <3347D758-30FB-462D-B9C0-24C91D25D8D2@ou.edu> Message-ID: <53f0709b0511090217t76612dd4j1c158de98a8cb64@mail.gmail.com> What exactly is the problem with typo and rails 1.14.x? I'm running typo 2.5.6 over at Dreamhost and everything still seems to be working fine. I don't have access to upgrade typo now (me at work) but so far I haven't seen any problems. On 11/9/05, Brandon Jones wrote: > For what its worth if anyone else is having problems with DH and Typo (I > came home to find this same thing tonight) updating from SVN locally (where > I test my code) and then manually uploading it to my site did the trick. I > had to first goto http://typo.indyjones.org/admin which recognized it as an > updated version and ran the migrate script directly from the browser - much > easier than using the command line in my opinion. I don't recall what > version of Typo I had prior but I went from DB 14 to the latest. > > I know Mike's problems are more involved here, but I thought that the above > might be helpful for any other Dreamhost users out there. I too wish that > we would have been informed of the update... > > > Brandon > > > > On Nov 9, 2005, at 12:16 AM, Michael Purvis wrote: > > > Is there any step-by-step migration process that's more granular than > "rake migrate" but not quite as awful as query-regex-insert? Or some way > to run *only* the db-migration from the commandline, without needing to > visit "/admin/general/update_database"? (It's a 500 every > time for me...) > > I think I'll just abandon my old and now very-broken half-migrated Typo, > and try to start from scratch with 752... but I'd prefer not to have to > go 100% manual on the importing. > > Mike > > > -- > No virus found in this outgoing message. > Checked by AVG Free Edition. > Version: 7.1.362 / Virus Database: 267.12.8/163 - Release Date: 08/11/2005 > > _______________________________________________ > 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 > > > -- Koen. From rasputnik at gmail.com Wed Nov 9 07:37:19 2005 From: rasputnik at gmail.com (Dick Davies) Date: Wed, 9 Nov 2005 12:37:19 +0000 Subject: [typo] 2.5.8 renderfix.rb Message-ID: <3f1760511090437m199c7ed6o@mail.gmail.com> renderfix.rb should be in typo-2.5.8/lib/, it's in the top-level. -- Rasputin :: Jack of All Trades - Master of Nuns http://number9.hellooperator.net/ From scott at sigkill.org Wed Nov 9 08:19:36 2005 From: scott at sigkill.org (Scott Laird) Date: Wed, 9 Nov 2005 05:19:36 -0800 Subject: [typo] 2.5.8 renderfix.rb In-Reply-To: <3f1760511090437m199c7ed6o@mail.gmail.com> References: <3f1760511090437m199c7ed6o@mail.gmail.com> Message-ID: On Nov 9, 2005, at 4:37 AM, Dick Davies wrote: > renderfix.rb should be in > > typo-2.5.8/lib/, > > it's in the top-level. Thanks. I have no idea why it worked for me in the top level--tests passed and everything. I'm planning on putting 2.5.9 out later today. Scott From scott at sigkill.org Wed Nov 9 08:21:58 2005 From: scott at sigkill.org (Scott Laird) Date: Wed, 9 Nov 2005 05:21:58 -0800 Subject: [typo] Everything on fire In-Reply-To: <43719456.5060307@uwmike.com> References: <43717B58.9090400@uwmike.com> <43718117.7030102@uwmike.com> <43719456.5060307@uwmike.com> Message-ID: On Nov 8, 2005, at 10:16 PM, Michael Purvis wrote: > Is there any step-by-step migration process that's more granular than > "rake migrate" but not quite as awful as query-regex-insert? Or > some way > to run *only* the db-migration from the commandline, without > needing to > visit "/admin/general/update_database"? (It's a 500 every time for > me...) > > I think I'll just abandon my old and now very-broken half-migrated > Typo, > and try to start from scratch with 752... but I'd prefer not to > have to > go 100% manual on the importing. You can do 'rake migrate' on the command line. When you're migrating the production DB, 'rake migrate RAILS_ENV=production' is best. You can do 'rake migrate VERSION=15', 'rake migrate VERSION=16', etc, to migrate one level at a time. Scott From shughes_list at globalreset.org Wed Nov 9 08:37:52 2005 From: shughes_list at globalreset.org (Scott Hughes (List)) Date: Wed, 9 Nov 2005 07:37:52 -0600 Subject: [typo] Everything on fire In-Reply-To: <43717B58.9090400@uwmike.com> References: <43717B58.9090400@uwmike.com> Message-ID: Mike, Sounds like you followed almost exactly the same steps I used on Dreamhost to update my Typo install, except I let the browser interface migrate my DB. I recorded every command I executed to perform the upgrade on DH here: http://blog.globalreset.org/articles/2005/11/08/updated-typo-to- latest-edge I went ahead and setup my Typo to run off the latest Rails trunk, pre- empting Dreamhost's move by about a day... And I haven't had any problems with it. Scott On Nov 8, 2005, at 10:30 PM, Michael Purvis wrote: > Hi folks, > > I asked a few days ago about upgrading to the latest, and there > weren't > many responses. I gave it a shot and couldn't seem to get anywhere. > Then > this afternoon, DH upgrades Rails on us out of the blue, so now I > *have* > to get it working. > > I tried "svn up" in my typo testing directory, and I just got an error > indicating that it wasn't "a working copy." So I must've not installed > it from svn, I guess. > > Okay, take two was to try to checkout the most recent code and then > copy > over my theme and config and try to "rake migrate" the lot of it. No > cigar there either... I'm seeing "rake aborted! is not a class/ > module" > > What should be my next course of action? > > Mike > > > -- > No virus found in this outgoing message. > Checked by AVG Free Edition. > Version: 7.1.362 / Virus Database: 267.12.8/163 - Release Date: > 08/11/2005 > > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list From rasputnik at gmail.com Wed Nov 9 08:39:50 2005 From: rasputnik at gmail.com (Dick Davies) Date: Wed, 9 Nov 2005 13:39:50 +0000 Subject: [typo] 2.5.8 renderfix.rb In-Reply-To: References: <3f1760511090437m199c7ed6o@mail.gmail.com> Message-ID: <3f1760511090539k118bef98m@mail.gmail.com> On 09/11/05, Scott Laird wrote: > > On Nov 9, 2005, at 4:37 AM, Dick Davies wrote: > > renderfix.rb should be in > > > > typo-2.5.8/lib/, > > > > it's in the top-level. > > Thanks. I have no idea why it worked for me in the top level--tests > passed and everything. I'm planning on putting 2.5.9 out later today. Third time's the charm :D Incidentally, there are a lot of ._filename files lying around the tarball - is that an OSX thing? -- Rasputin :: Jack of All Trades - Master of Nuns http://number9.hellooperator.net/ From scott at sigkill.org Wed Nov 9 08:48:31 2005 From: scott at sigkill.org (Scott Laird) Date: Wed, 9 Nov 2005 05:48:31 -0800 Subject: [typo] 2.5.8 renderfix.rb In-Reply-To: <3f1760511090539k118bef98m@mail.gmail.com> References: <3f1760511090437m199c7ed6o@mail.gmail.com> <3f1760511090539k118bef98m@mail.gmail.com> Message-ID: <0C9AD776-57EE-41F2-9B9F-379AE970C8F2@sigkill.org> On Nov 9, 2005, at 5:39 AM, Dick Davies wrote: > > Third time's the charm :D > > Incidentally, there are a lot of ._filename files lying around the > tarball - > is that an OSX thing? Yes. I'd love to get rid of them, but tar is doing it all by itself and I can't find a flag to disable it. The zipfile is clean. Scott From scott at sigkill.org Wed Nov 9 08:50:42 2005 From: scott at sigkill.org (Scott Laird) Date: Wed, 9 Nov 2005 05:50:42 -0800 Subject: [typo] Everything on fire In-Reply-To: <53f0709b0511090217t76612dd4j1c158de98a8cb64@mail.gmail.com> References: <43717B58.9090400@uwmike.com> <43718117.7030102@uwmike.com> <43719456.5060307@uwmike.com> <3347D758-30FB-462D-B9C0-24C91D25D8D2@ou.edu> <53f0709b0511090217t76612dd4j1c158de98a8cb64@mail.gmail.com> Message-ID: On Nov 9, 2005, at 2:17 AM, Koen Van der Auwera wrote: > What exactly is the problem with typo and rails 1.14.x? I'm running > typo 2.5.6 over at Dreamhost and everything still seems to be working > fine. > > I don't have access to upgrade typo now (me at work) but so far I haven't > seen any problems. Typo 2.5.6 works okay with Postgres and Rails 0.14.x, but dies a horrible death with MySQL, thanks to the boolean changes that went into Rails recently. If you're using Postgres, the flickr sidebar works for you, and you're not building new themes, then 2.5.6 is probably okay. Scott From kvanderauwera at gmail.com Wed Nov 9 09:20:51 2005 From: kvanderauwera at gmail.com (Koen Van der Auwera) Date: Wed, 9 Nov 2005 15:20:51 +0100 Subject: [typo] Everything on fire In-Reply-To: References: <43717B58.9090400@uwmike.com> <43718117.7030102@uwmike.com> <43719456.5060307@uwmike.com> <3347D758-30FB-462D-B9C0-24C91D25D8D2@ou.edu> <53f0709b0511090217t76612dd4j1c158de98a8cb64@mail.gmail.com> Message-ID: <53f0709b0511090620u445f8c10q653686efceb193b1@mail.gmail.com> I'm using MySQL but I don't use the flickr sidebar. I did notice that the live search doesn't work anymore, but that's it so far. I'm also using my own simple tool to publish posts (which I'll share with the rest of the world in a couple of days :) ). Anyways, I'll update my installation tonight when I get home. On 11/9/05, Scott Laird wrote: > > On Nov 9, 2005, at 2:17 AM, Koen Van der Auwera wrote: > > > What exactly is the problem with typo and rails 1.14.x? I'm running > > typo 2.5.6 over at Dreamhost and everything still seems to be working > > fine. > > > > I don't have access to upgrade typo now (me at work) but so far I haven't > > seen any problems. > > Typo 2.5.6 works okay with Postgres and Rails 0.14.x, but dies a > horrible death with MySQL, thanks to the boolean changes that went > into Rails recently. If you're using Postgres, the flickr sidebar > works for you, and you're not building new themes, then 2.5.6 is > probably okay. > > > Scott > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list > -- Koen. From scott at sigkill.org Wed Nov 9 09:29:27 2005 From: scott at sigkill.org (Scott Laird) Date: Wed, 9 Nov 2005 06:29:27 -0800 Subject: [typo] Everything on fire In-Reply-To: <53f0709b0511090620u445f8c10q653686efceb193b1@mail.gmail.com> References: <43717B58.9090400@uwmike.com> <43718117.7030102@uwmike.com> <43719456.5060307@uwmike.com> <3347D758-30FB-462D-B9C0-24C91D25D8D2@ou.edu> <53f0709b0511090217t76612dd4j1c158de98a8cb64@mail.gmail.com> <53f0709b0511090620u445f8c10q653686efceb193b1@mail.gmail.com> Message-ID: <34D6D859-B47F-455E-A46C-C0725736C795@sigkill.org> Ah! The live search bug. I don't think I backported the fix. Thanks; that'll go into 2.5.9, too. Scott On Nov 9, 2005, at 6:20 AM, Koen Van der Auwera wrote: > I'm using MySQL but I don't use the flickr sidebar. I did notice that > the live search doesn't work anymore, but that's it so far. I'm also > using my own simple tool to publish posts (which I'll share with the > rest of the world in a couple of days :) ). > > Anyways, I'll update my installation tonight when I get home. > > > On 11/9/05, Scott Laird wrote: >> >> On Nov 9, 2005, at 2:17 AM, Koen Van der Auwera wrote: >> >>> What exactly is the problem with typo and rails 1.14.x? I'm running >>> typo 2.5.6 over at Dreamhost and everything still seems to be >>> working >>> fine. >>> >>> I don't have access to upgrade typo now (me at work) but so far I >>> haven't >>> seen any problems. >> >> Typo 2.5.6 works okay with Postgres and Rails 0.14.x, but dies a >> horrible death with MySQL, thanks to the boolean changes that went >> into Rails recently. If you're using Postgres, the flickr sidebar >> works for you, and you're not building new themes, then 2.5.6 is >> probably okay. >> >> >> Scott >> _______________________________________________ >> Typo-list mailing list >> Typo-list at rubyforge.org >> http://rubyforge.org/mailman/listinfo/typo-list >> > > > -- > Koen. > > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list From jb at justbe.com Wed Nov 9 09:51:40 2005 From: jb at justbe.com (Joerg Battermann) Date: Wed, 9 Nov 2005 15:51:40 +0100 Subject: [typo] Typo Update - missing plugins? Message-ID: Hey there, I just upgraded my typo installation to the latest svn build, but I saw these errors popping up in the log/production.log: Filter none failed: undefined method `filtertext' for Plugins::Textfilters::NoneController:Class Filter none failed: undefined method `filtertext' for Plugins::Textfilters::NoneController:Class Filter none failed: undefined method `filtertext' for Plugins::Textfilters::NoneController:Class Filter none failed: undefined method `filtertext' for Plugins::Textfilters::NoneController:Class Filter none failed: undefined method `filtertext' for Plugins::Textfilters::NoneController:Class Filter none failed: undefined method `filtertext' for Plugins::Textfilters::NoneController:Class Filter none failed: undefined method `filtertext' for Plugins::Textfilters::NoneController:Class Filter none failed: undefined method `filtertext' for Plugins::Textfilters::NoneController:Class Filter none failed: undefined method `filtertext' for Plugins::Textfilters::NoneController:Class Filter none failed: undefined method `filtertext' for Plugins::Textfilters::NoneController:Class Filter none failed: undefined method `filtertext' for Plugins::Textfilters::NoneController:Class Filter none failed: undefined method `filtertext' for Plugins::Textfilters::NoneController:Class and for some reason I have a development.log there too saying: [vu2064 at hosting2 log]$ cat development.log # Logfile created on Wed Nov 09 08:39:49 CST 2005 by logger.rb/1.5.2.4 SQL (0.000000) Table 'schema_info' already exists: CREATE TABLE schema_info (version int(11)) SQL (0.000000) Table 'schema_info' already exists: CREATE TABLE schema_info (version int(11)) TextFilterPlugin: missing default helper path text_filter_plugin_helper TextFilterPlugin::Markup: missing default helper path text_filter_plugin/markup_helper TextFilterPlugin::Macro: missing default helper path text_filter_plugin/macro_helper TextFilterPlugin::MacroPre: missing default helper path text_filter_plugin/macro_pre_helper TextFilterPlugin::MacroPost: missing default helper path text_filter_plugin/macro_post_helper TextFilterPlugin::PostProcess: missing default helper path text_filter_plugin/post_process_helper What does this mean? Or what can I do? Best regards / MfG, -- Joerg Battermann jb at justBE.com http://www.justBE.com - blog: http://blog.justBE.com PGP-KeyID: 0x77007DA6 PGP-Fingerprint: 0461 F2EC 53EB CEBE 6B73 8EEC 64AD 0606 7700 7DA6 From aaron at munge.net Wed Nov 9 11:24:06 2005 From: aaron at munge.net (Aaron Malone) Date: Wed, 9 Nov 2005 10:24:06 -0600 Subject: [typo] Converting from mysql to postgresql Message-ID: <20051109102406.348d1c20@mancala.semo.net> I have an existing WordPress blog that I want to convert to Typo. Because WP only backends on MySQL, but I would like to change to PostgreSQL for the Typo blog. The script in db/converters will not work cross-server because of the way it uses ActiveRecord. I had thought of possibly converting to mysql/typo, then serializing the data somehow using Rails, and reloading it into a postgresql/typo instance. I just don't yet know Rails well enough to know if this will work, or how to go about it. Anyone have suggestions? -- Aaron Malone aaron at munge.net From achegedus at gmail.com Wed Nov 9 15:15:49 2005 From: achegedus at gmail.com (Adam Hegedus) Date: Wed, 9 Nov 2005 15:15:49 -0500 Subject: [typo] Database error Message-ID: <44a29ad60511091215u72b1eb32x2898487312d0a556@mail.gmail.com> I just updated to the latest trunk, and now i'm seeing a strange error. In the production.log I see this: Mysql::Error (Access denied for user: '@localhost' to database ''): in my database.yml I have this: development: adapter: mysql database: typo_dev host: localhost username: root password: test: adapter: mysql database: typo_tests host: localhost username: root password: production: adapter: mysql database: typo host: localhost username: typo password: ******** and this information is all correct... it looks like it is somehow not selecting a database... any suggestions?? Thanks, A -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/typo-list/attachments/20051109/e7debd0b/attachment-0001.htm From daejuan at gmail.com Wed Nov 9 16:21:48 2005 From: daejuan at gmail.com (Daejuan Jacobs) Date: Wed, 9 Nov 2005 15:21:48 -0600 Subject: [typo] 2.5.8 renderfix.rb In-Reply-To: <0C9AD776-57EE-41F2-9B9F-379AE970C8F2@sigkill.org> References: <3f1760511090437m199c7ed6o@mail.gmail.com> <3f1760511090539k118bef98m@mail.gmail.com> <0C9AD776-57EE-41F2-9B9F-379AE970C8F2@sigkill.org> Message-ID: <93b350310511091321p75e95961g135e8fd67b3260ad@mail.gmail.com> What version of Mac OS are you using? Are you using GNU Tar? On 11/9/05, Scott Laird wrote: > > On Nov 9, 2005, at 5:39 AM, Dick Davies wrote: > > > > Third time's the charm :D > > > > Incidentally, there are a lot of ._filename files lying around the > > tarball - > > is that an OSX thing? > > Yes. I'd love to get rid of them, but tar is doing it all by itself > and I can't find a flag to disable it. The zipfile is clean. > > > Scott > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list > -- Man Wit Da Plan. From daejuan at gmail.com Wed Nov 9 16:22:17 2005 From: daejuan at gmail.com (Daejuan Jacobs) Date: Wed, 9 Nov 2005 15:22:17 -0600 Subject: [typo] 2.5.8 renderfix.rb In-Reply-To: <93b350310511091321p75e95961g135e8fd67b3260ad@mail.gmail.com> References: <3f1760511090437m199c7ed6o@mail.gmail.com> <3f1760511090539k118bef98m@mail.gmail.com> <0C9AD776-57EE-41F2-9B9F-379AE970C8F2@sigkill.org> <93b350310511091321p75e95961g135e8fd67b3260ad@mail.gmail.com> Message-ID: <93b350310511091322i38154fffr5f8744c38d5e7002@mail.gmail.com> What version of Mac OS are you using? Are you using GNU Tar? On 11/9/05, Daejuan Jacobs wrote: > What version of Mac OS are you using? Are you using GNU Tar? > > On 11/9/05, Scott Laird wrote: > > > > On Nov 9, 2005, at 5:39 AM, Dick Davies wrote: > > > > > > Third time's the charm :D > > > > > > Incidentally, there are a lot of ._filename files lying around the > > > tarball - > > > is that an OSX thing? > > > > Yes. I'd love to get rid of them, but tar is doing it all by itself > > and I can't find a flag to disable it. The zipfile is clean. > > > > > > Scott > > _______________________________________________ > > Typo-list mailing list > > Typo-list at rubyforge.org > > http://rubyforge.org/mailman/listinfo/typo-list > > > > > -- > Man Wit Da Plan. > -- Man Wit Da Plan. From scott at sigkill.org Wed Nov 9 16:34:35 2005 From: scott at sigkill.org (Scott Laird) Date: Wed, 9 Nov 2005 13:34:35 -0800 Subject: [typo] 2.5.8 renderfix.rb In-Reply-To: <93b350310511091322i38154fffr5f8744c38d5e7002@mail.gmail.com> References: <3f1760511090437m199c7ed6o@mail.gmail.com> <3f1760511090539k118bef98m@mail.gmail.com> <0C9AD776-57EE-41F2-9B9F-379AE970C8F2@sigkill.org> <93b350310511091321p75e95961g135e8fd67b3260ad@mail.gmail.com> <93b350310511091322i38154fffr5f8744c38d5e7002@mail.gmail.com> Message-ID: On Nov 9, 2005, at 1:22 PM, Daejuan Jacobs wrote: > What version of Mac OS are you using? Are you using GNU Tar? 10.4.3 and the stock tar. Scott From daejuan at gmail.com Wed Nov 9 17:07:30 2005 From: daejuan at gmail.com (Daejuan Jacobs) Date: Wed, 9 Nov 2005 16:07:30 -0600 Subject: [typo] 2.5.8 renderfix.rb In-Reply-To: References: <3f1760511090437m199c7ed6o@mail.gmail.com> <3f1760511090539k118bef98m@mail.gmail.com> <0C9AD776-57EE-41F2-9B9F-379AE970C8F2@sigkill.org> <93b350310511091321p75e95961g135e8fd67b3260ad@mail.gmail.com> <93b350310511091322i38154fffr5f8744c38d5e7002@mail.gmail.com> Message-ID: <93b350310511091407x4597094te115019219e2a5ff@mail.gmail.com> That would be a ported version of GNU Tar. Have you looked at http://forums.macosxhints.com/showthread.php?t=43243 Hope this helps. On 11/9/05, Scott Laird wrote: > > On Nov 9, 2005, at 1:22 PM, Daejuan Jacobs wrote: > > What version of Mac OS are you using? Are you using GNU Tar? > > 10.4.3 and the stock tar. > > > Scott > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list > -- Man Wit Da Plan. From vanweerd at gmail.com Thu Nov 10 10:15:46 2005 From: vanweerd at gmail.com (Nicholas Van Weerdenburg) Date: Thu, 10 Nov 2005 10:15:46 -0500 Subject: [typo] Export from mysql of typo articles with forward ticks instead of apostrophes Message-ID: <632154f70511100715x499b50calabf82c9591bdc206@mail.gmail.com> Hi all, I have an issue with mysql export of typo articles putting garbage inthe export file in place of forward ticks (right single quotes Iguess). It looks like they are stored in an odd manner in mysql already- ???-but they display okay. However, on export, they get garbled more an nolonger display correctly. Looking at one example of It'sPre Export:It???s Post Export:It????????s This content was edited on a Mac, and I assume there is a forward tickon the keyword. My windows keyboard doesn't seem to have it, havingthe apostrophe ' only. Can anyone shed some insight into the issue and if there is a workaround? Right now I plan to switch to regular apostrophe. Thanks,Nick--Nicholas Van Weerdenburg From ntalbott at gmail.com Thu Nov 10 10:20:37 2005 From: ntalbott at gmail.com (Nathaniel Talbott) Date: Thu, 10 Nov 2005 10:20:37 -0500 Subject: [typo] MeasureMap integration In-Reply-To: <4370B2DF.8040800@bamboo.lu> References: <4370B2DF.8040800@bamboo.lu> Message-ID: On 11/8/05, Denis Lamotte wrote: > You need to adapt your theme. i do it with MT. so i adapt the code . > I've not tested it but your free to try Cool! I've taken this, mashed it up with some instructions from Kevin Clark, and ended up with what I think is a pretty good strategy: http://blog.talbott.ws/articles/2005/11/10/typo-measuremap-goodness Seems to work for me, at least... hopefully it can be helpful to others, too. Thanks, -- Nathaniel Talbott <:((>< From scott at sigkill.org Thu Nov 10 10:35:15 2005 From: scott at sigkill.org (Scott Laird) Date: Thu, 10 Nov 2005 07:35:15 -0800 Subject: [typo] Export from mysql of typo articles with forward ticks instead of apostrophes In-Reply-To: <632154f70511100715x499b50calabf82c9591bdc206@mail.gmail.com> References: <632154f70511100715x499b50calabf82c9591bdc206@mail.gmail.com> Message-ID: <7F3F399F-9EBD-4FEE-BCAC-E1E27F23C9B0@sigkill.org> On Nov 10, 2005, at 7:15 AM, Nicholas Van Weerdenburg wrote: > Hi all, > I have an issue with mysql export of typo articles putting garbage > inthe export file in place of forward ticks (right single quotes > Iguess). > It looks like they are stored in an odd manner in mysql already- ? > ??-but they display okay. However, on export, they get garbled more > an nolonger display correctly. > Looking at one example of It'sPre Export:It???s > Post Export:It????????s > This content was edited on a Mac, and I assume there is a forward > tickon the keyword. My windows keyboard doesn't seem to have it, > havingthe apostrophe ' only. > Can anyone shed some insight into the issue and if there is a > workaround? Right now I plan to switch to regular apostrophe. This is a classic sign of character encoding problems--the DB looks like it's in unicode, but for some reason you're seeing it in some lesser encoding. Does your browser have a setting to switch character encodings? If so, try flipping to UTF-8 and see what happens. The next step after that is to make Typo and your browser communicate correctly. Which web server are you using? Scott From vanweerd at gmail.com Thu Nov 10 10:47:27 2005 From: vanweerd at gmail.com (Nicholas Van Weerdenburg) Date: Thu, 10 Nov 2005 10:47:27 -0500 Subject: [typo] Export from mysql of typo articles with forward ticks instead of apostrophes In-Reply-To: <7F3F399F-9EBD-4FEE-BCAC-E1E27F23C9B0@sigkill.org> References: <632154f70511100715x499b50calabf82c9591bdc206@mail.gmail.com> <7F3F399F-9EBD-4FEE-BCAC-E1E27F23C9B0@sigkill.org> Message-ID: <632154f70511100747p3511abe1l4c84e12ff75bffb0@mail.gmail.com> On 11/10/05, Scott Laird wrote:>> On Nov 10, 2005, at 7:15 AM, Nicholas Van Weerdenburg wrote:>> > Hi all,> > I have an issue with mysql export of typo articles putting garbage> > inthe export file in place of forward ticks (right single quotes> > Iguess).> > It looks like they are stored in an odd manner in mysql already- ?> > ??-but they display okay. However, on export, they get garbled more> > an nolonger display correctly.> > Looking at one example of It'sPre Export:It???s> > Post Export:It????????s> > This content was edited on a Mac, and I assume there is a forward> > tickon the keyword. My windows keyboard doesn't seem to have it,> > havingthe apostrophe ' only.> > Can anyone shed some insight into the issue and if there is a> > workaround? Right now I plan to switch to regular apostrophe.>> This is a classic sign of character encoding problems--the DB looks> like it's in unicode, but for some reason you're seeing it in some> lesser encoding. Does your browser have a setting to switch> character encodings? If so, try flipping to UTF-8 and see what happens.>> The next step after that is to make Typo and your browser communicate> correctly. Which web server are you using?>>> Scott> _______________________________________________> Typo-list mailing list> Typo-list at rubyforge.org> http://rubyforge.org/mailman/listinfo/typo-list>Hi Scott, Thanks for the response. I can see the text fine off the original mysql database the contentwas authored in. It's when I export that the text gets extra garble,and doesn't display right on import (I verified the garble is in thetext file). So I don't think web server and browser are part of the issue. Doing aquick check, It occurs with both Apache and Lighttpd on Textdrive, andApache on Dreamhost. Mysql database is UTF, and the browser encodingis UTF also (Firefox). The probem text seesm to be "real" single quotes- left quote andright quote. I guess this is more of a mysql problem, but I waswondering if anyone else has seen in with their typo usage. Thanks,Nick--Nicholas Van Weerdenburg From bart.braem at gmail.com Thu Nov 10 11:14:28 2005 From: bart.braem at gmail.com (Bart Braem) Date: Thu, 10 Nov 2005 17:14:28 +0100 Subject: [typo] Some questions from a new user Message-ID: Hello there, I'm using typo for a blog on a shared machine. It runs on apache and fastcgi, under my home directory. I saw the 2.5.8 version and tried to update, but that didn't go very well. (Did I miss an update file? A reference would be nice) I just extracted the new source, added my .htaccess files and changed databases.yml. But then I got an error from a non-existing method on this line: ActiveRecord::ConnectionAdapters::MysqlAdapter.emulate_booleans = false rescue nil Should I update Rails/Ruby/Whatever or is this a typo problem? I quoted this line which seems to work. Next fastcgi crashed due to a missing renderfix.rb. I fetched it from the browsable repository and it worked. My fault or something else? Is there a gmane.org listing of this blog? That would make it easier to follow and to search... Last but not least: my blog does not seem very fast. Yes it's faster in the 2.5.8 version but not really as good as I'd like,rendering takes around 1 second. Are there ways to speed that up? Thanks for a great piece of software and sorry if my questions or stupid/naive/arrogant/... Bart -- "May the source be with you" From scott at sigkill.org Thu Nov 10 11:23:04 2005 From: scott at sigkill.org (Scott Laird) Date: Thu, 10 Nov 2005 08:23:04 -0800 Subject: [typo] Typo 2.6.0 Message-ID: <0EA30688-C1B5-4168-874F-D72D30AC9E11@sigkill.org> I just released Typo 2.6.0. This is the version that was going to be called 2.5.9; we really should have bumped the version number when the new theme code went it; better late then never. Release notes are on the wiki and http://scottstuff.net/blog/articles/2005/11/10/ typo-2-6-0-released Scott From waylan at gmail.com Thu Nov 10 12:30:11 2005 From: waylan at gmail.com (Waylan Limberg) Date: Thu, 10 Nov 2005 12:30:11 -0500 Subject: [typo] Some questions from a new user In-Reply-To: References: Message-ID: I can answer a few of your questions. I'll leave the rest to someone else > Next fastcgi crashed due to a missing renderfix.rb. I fetched it from > the browsable repository and it worked. My fault or something else? The file was put in the worng place (not by you) get the newest release (2.6.0) and read about it here: http://scottstuff.net/blog/articles/2005/11/10/ > > Is there a gmane.org listing of this blog? That would make it easier > to follow and to search... > The archives can be found here: http://rubyforge.org/pipermail/typo-list/ Hope this helps. -- ---- Waylan Limberg waylan at gmail.com From ryan.wood at gmail.com Thu Nov 10 13:28:09 2005 From: ryan.wood at gmail.com (Ryan Wood) Date: Thu, 10 Nov 2005 13:28:09 -0500 Subject: [typo] Typo 2.6.0 In-Reply-To: <0EA30688-C1B5-4168-874F-D72D30AC9E11@sigkill.org> References: <0EA30688-C1B5-4168-874F-D72D30AC9E11@sigkill.org> Message-ID: Thanks Scott. Is there a tagged version in SVN? The latest I saw was 2.5.8. --Ryan On 11/10/05, Scott Laird wrote: > I just released Typo 2.6.0. This is the version that was going to be > called 2.5.9; we really should have bumped the version number when > the new theme code went it; better late then never. Release notes > are on the wiki and http://scottstuff.net/blog/articles/2005/11/10/ > typo-2-6-0-released > > > Scott > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list > From gebloom at gmail.com Thu Nov 10 17:24:20 2005 From: gebloom at gmail.com (Gary Bloom) Date: Thu, 10 Nov 2005 14:24:20 -0800 Subject: [typo] Sidebar plugin Message-ID: <1e1e7960511101424j7fbcee47ya9501eb14e03ba63@mail.gmail.com> I'm new to Typo. In admin, as directed, I dragged some plugins -- categories, feeds -- to the sidebar but nothing displays on the site. Is there something else I need to do? Regards, Gary From hal9000 at hypermetrics.com Thu Nov 10 19:54:23 2005 From: hal9000 at hypermetrics.com (Hal Fulton) Date: Thu, 10 Nov 2005 18:54:23 -0600 Subject: [typo] Sidebar plugin In-Reply-To: <1e1e7960511101424j7fbcee47ya9501eb14e03ba63@mail.gmail.com> References: <1e1e7960511101424j7fbcee47ya9501eb14e03ba63@mail.gmail.com> Message-ID: <4373EBBF.4000509@hypermetrics.com> Gary Bloom wrote: > I'm new to Typo. In admin, as directed, I dragged some plugins -- > categories, feeds -- to the sidebar but nothing displays on the site. > Is there something else I need to do? I think there's a Publish button or something. Hal From scott at sigkill.org Thu Nov 10 20:35:26 2005 From: scott at sigkill.org (Scott Laird) Date: Thu, 10 Nov 2005 17:35:26 -0800 Subject: [typo] Typo 2.6.0 In-Reply-To: References: <0EA30688-C1B5-4168-874F-D72D30AC9E11@sigkill.org> Message-ID: <78EB3333-7519-4928-B128-1D70A758C6B5@sigkill.org> Oops. Tagged. Scott On Nov 10, 2005, at 10:28 AM, Ryan Wood wrote: > Thanks Scott. Is there a tagged version in SVN? The latest I saw > was 2.5.8. > > --Ryan > > On 11/10/05, Scott Laird wrote: >> I just released Typo 2.6.0. This is the version that was going to be >> called 2.5.9; we really should have bumped the version number when >> the new theme code went it; better late then never. Release notes >> are on the wiki and http://scottstuff.net/blog/articles/2005/11/10/ >> typo-2-6-0-released >> >> >> 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 hal9000 at hypermetrics.com Thu Nov 10 22:40:46 2005 From: hal9000 at hypermetrics.com (Hal Fulton) Date: Thu, 10 Nov 2005 21:40:46 -0600 Subject: [typo] Best upgrade path? Message-ID: <437412BE.3060307@hypermetrics.com> I'm currently running some pretty old stuff. ruby 1.8.2 Rails 0.10.1 Theoretically unsupported? Typo 2.5.0 I think? MySQL 4.x So: What's the shortest path from here to newness? I heard about issues between rails and typo, and rails and mysql. And I've never had a smooth migration. :-/ Advice welcome... Hal From hal9000 at hypermetrics.com Thu Nov 10 22:43:36 2005 From: hal9000 at hypermetrics.com (Hal Fulton) Date: Thu, 10 Nov 2005 21:43:36 -0600 Subject: [typo] Best upgrade path? In-Reply-To: <437412BE.3060307@hypermetrics.com> References: <437412BE.3060307@hypermetrics.com> Message-ID: <43741368.3070007@hypermetrics.com> Hal Fulton wrote: > Rails 0.10.1 Theoretically unsupported? Sorry, did that in wrong window. I'm running 0.13.1 Hal From gebloom at gmail.com Thu Nov 10 22:48:21 2005 From: gebloom at gmail.com (Gary Bloom) Date: Thu, 10 Nov 2005 19:48:21 -0800 Subject: [typo] Sidebar plugin In-Reply-To: <4373EBBF.4000509@hypermetrics.com> References: <1e1e7960511101424j7fbcee47ya9501eb14e03ba63@mail.gmail.com> <4373EBBF.4000509@hypermetrics.com> Message-ID: <1e1e7960511101948m6a1d4888vd23afc5921152910@mail.gmail.com> Yeah, I pushed the button. On 11/10/05, Hal Fulton wrote: > Gary Bloom wrote: > > I'm new to Typo. In admin, as directed, I dragged some plugins -- > > categories, feeds -- to the sidebar but nothing displays on the site. > > Is there something else I need to do? > > I think there's a Publish button or something. > > Hal > > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list > From hal9000 at hypermetrics.com Thu Nov 10 22:54:20 2005 From: hal9000 at hypermetrics.com (Hal Fulton) Date: Thu, 10 Nov 2005 21:54:20 -0600 Subject: [typo] Sidebar plugin In-Reply-To: <1e1e7960511101948m6a1d4888vd23afc5921152910@mail.gmail.com> References: <1e1e7960511101424j7fbcee47ya9501eb14e03ba63@mail.gmail.com> <4373EBBF.4000509@hypermetrics.com> <1e1e7960511101948m6a1d4888vd23afc5921152910@mail.gmail.com> Message-ID: <437415EC.9030308@hypermetrics.com> Gary Bloom wrote: > Yeah, I pushed the button. Well, that worked for me. Maybe flush Typo's cache? Your browser's cache? Restart Typo? I'm grasping at straws, sorry. Hal From scott at sigkill.org Fri Nov 11 00:08:21 2005 From: scott at sigkill.org (Scott Laird) Date: Thu, 10 Nov 2005 21:08:21 -0800 Subject: [typo] Best upgrade path? In-Reply-To: <43741368.3070007@hypermetrics.com> References: <437412BE.3060307@hypermetrics.com> <43741368.3070007@hypermetrics.com> Message-ID: <964D67A0-2A92-4566-A167-6C156D9B924C@sigkill.org> On Nov 10, 2005, at 7:43 PM, Hal Fulton wrote: > Hal Fulton wrote: > >> Rails 0.10.1 Theoretically unsupported? > > Sorry, did that in wrong window. I'm running 0.13.1 You should be able to upgrade to Typo 2.6.0 without many problems. It'll run fine with Ruby 1.8.2 and Rails 0.13.1, *except* for one line--the last line in environment.rb fixes a Rails problem that doesn't exist in 0.13.1, and the 'rescue nil' isn't strong enough to catch the exception that it generates on 0.13.1, unfortunately. If you want to upgrade to the trunk, then you'll need to upgrade to Rails 0.14.2 or higher. Make sure that you back up your DB, but I've had a lot of positive reports from people upgrading. Or you can wait for a few weeks until we've finished testing it, and the upgrade will (hopefully) work better. Scott From e at latherrinserepeat.org Fri Nov 11 01:50:49 2005 From: e at latherrinserepeat.org (Liz) Date: Fri, 11 Nov 2005 01:50:49 -0500 Subject: [typo] Sidebar plugin In-Reply-To: <437415EC.9030308@hypermetrics.com> References: <1e1e7960511101424j7fbcee47ya9501eb14e03ba63@mail.gmail.com> <4373EBBF.4000509@hypermetrics.com> <1e1e7960511101948m6a1d4888vd23afc5921152910@mail.gmail.com> <437415EC.9030308@hypermetrics.com> Message-ID: <84689832-D5C8-4BDB-94BF-CD628A618B33@latherrinserepeat.org> I cannot get any of the RSS sidebars to work, but my categories and tag sidebars work fine. Liz http://www.latherrinserepeat.org/ On Nov 10, 2005, at 10:54 PM, Hal Fulton wrote: > Gary Bloom wrote: >> Yeah, I pushed the button. > > Well, that worked for me. > > Maybe flush Typo's cache? Your browser's cache? > Restart Typo? > > I'm grasping at straws, sorry. > > > Hal > > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list > From bart.braem at gmail.com Fri Nov 11 07:30:52 2005 From: bart.braem at gmail.com (Bart Braem) Date: Fri, 11 Nov 2005 13:30:52 +0100 Subject: [typo] No caching? Message-ID: My weblog is slow, so I am looking for answers. I tried running typo with a lighttpd backend and rendering my mainpage takes 3 seconds according to ab. That's not good... Caching does no seem to work: "There are 0 entries in the page cache". Any clues on why this might not work? Thanks for your wonderful software! Bart -- "May the source be with you" -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/typo-list/attachments/20051111/dd4abead/attachment.htm From scott at sigkill.org Fri Nov 11 08:39:00 2005 From: scott at sigkill.org (Scott Laird) Date: Fri, 11 Nov 2005 05:39:00 -0800 Subject: [typo] No caching? In-Reply-To: References: Message-ID: <1FD3D412-14AB-45A2-BD3F-1E9376B76290@sigkill.org> On Nov 11, 2005, at 4:30 AM, Bart Braem wrote: > My weblog is slow, so I am looking for answers. I tried running > typo with a lighttpd backend and rendering my mainpage takes 3 > seconds according to ab. That's not good... > Caching does no seem to work: "There are 0 entries in the page > cache". Any clues on why this might not work? 1. Are you running Typo in production mode? Look in log/ at development.log and production.log--which one is growing? 2. Typo write to the public/ directory? That's where the cache goes; if it can't write there, then there is no cache. Scott From bart.braem at gmail.com Fri Nov 11 09:04:14 2005 From: bart.braem at gmail.com (Bart Braem) Date: Fri, 11 Nov 2005 15:04:14 +0100 Subject: [typo] No caching? In-Reply-To: <1FD3D412-14AB-45A2-BD3F-1E9376B76290@sigkill.org> References: <1FD3D412-14AB-45A2-BD3F-1E9376B76290@sigkill.org> Message-ID: On 11/11/05, Scott Laird wrote: > > > On Nov 11, 2005, at 4:30 AM, Bart Braem wrote: > > > My weblog is slow, so I am looking for answers. I tried running > > typo with a lighttpd backend and rendering my mainpage takes 3 > > seconds according to ab. That's not good... > > Caching does no seem to work: "There are 0 entries in the page > > cache". Any clues on why this might not work? > > 1. Are you running Typo in production mode? Look in log/ at > development.log and production.log--which one is growing? > 2. Typo write to the public/ directory? That's where the cache > goes; if it can't write there, then there is no cache. > > > I ran Typo in development mode... Caching speeds up things incredibly! It still makes me wonder wether I can speed up things without caching, but that's going to require some benchmarking. Thanks for your help, Bart -- "May the source be with you" -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/typo-list/attachments/20051111/1dbef3d3/attachment.htm From rsanheim at gmail.com Fri Nov 11 09:17:13 2005 From: rsanheim at gmail.com (Rob Sanheim) Date: Fri, 11 Nov 2005 08:17:13 -0600 Subject: [typo] Everything on fire (DH jumps the gun on 1.0rc4) In-Reply-To: <43718286.9010706@uwmike.com> References: <43717B58.9090400@uwmike.com> <43718138.7050807@planetargon.com> <43718286.9010706@uwmike.com> Message-ID: On 11/8/05, Michael Purvis wrote: > DH = Dreamhost. They simply installed 1.04rc4 on the servers this > afternoon with (afaik) zero warning. > Thats a pretty bad hosting policy to upgrade a component that people depend on w/o warning or a way to stay locked at the old version. Maybe time to find a new host =). - Rob -- http://www.robsanheim.com/ http://www.ajaxian.com/ From mike at uwmike.com Fri Nov 11 11:12:38 2005 From: mike at uwmike.com (Mike Purvis) Date: Fri, 11 Nov 2005 11:12:38 -0500 Subject: [typo] Everything on fire (DH jumps the gun on 1.0rc4) In-Reply-To: References: <43717B58.9090400@uwmike.com> <43718138.7050807@planetargon.com> <43718286.9010706@uwmike.com> Message-ID: <4374C2F6.30408@uwmike.com> >Thats a pretty bad hosting policy to upgrade a component that people >depend on w/o warning or a way to stay locked at the old version. >Maybe time to find a new host =). >- Rob > There's also a lot more downtime with Dreamhost than I'd like. But the techs are extremely responsive and very accommodating... I think in this case it was just a misunderstanding about the nature of Rails versions. At any rate, nothing I host is mission-critical (yet), so until that time I'm happy with the service/dollar. I ended up getting everything working, but I'm afraid I don't know exactly what it was that did it. I started with a fresh DB and a fresh checkout, and it turned out that the old DB had been completely "upgraded" by the rake migrate command. So I just dumped the data from it and imported it to the new DB. I had to mess a bit with my template to get it working properly... I think that may have been where the trouble was. Thanks for the great software Scott and Tobi (and others), Mike From patrick at vonautomatisch.at Fri Nov 11 11:24:04 2005 From: patrick at vonautomatisch.at (=?ISO-8859-1?Q?patrick_kranzlm=FCller?=) Date: Fri, 11 Nov 2005 17:24:04 +0100 Subject: [typo] typo & dreamhost Message-ID: <95ca34fec6a4fc3483dc3af3027b0aac@vonautomatisch.at> i?ve tried to setup typo on dreamhost for a couple of hours now - i read every tutorial and discussion about that topic. and still, it doesn?t work. problems: on the website, i get "application error: typo could not be reached" when trying to run public/dispatch.fcgi (or public/dispatch.cgi) from the shell, i get "status 500: internal server error" the log-files don?t seem to be updated (though they are writeable) configuration: .htaccess is on the server and configured correctly shebang-line in dispatch.cgi and dispatch.fcgi is #!/usr/bin/ruby database-connection is ok (tried that with another app) no subdirectory any help is appreciated. patrick From craig.overend at gmail.com Fri Nov 11 12:00:02 2005 From: craig.overend at gmail.com (Craig Overend) Date: Sat, 12 Nov 2005 04:00:02 +1100 Subject: [typo] No caching? In-Reply-To: <1FD3D412-14AB-45A2-BD3F-1E9376B76290@sigkill.org> References: <1FD3D412-14AB-45A2-BD3F-1E9376B76290@sigkill.org> Message-ID: Scott, I'd also been having problems with my Typo being slow on my winxp development server, apache with fcgi always timing out on processes and wanting to start more and then maxing out. Webrick was slow but more reliable, although it did occasionally spit me errors. I've added them below. Changing to production and it flies! Awesome. Now I can design a theme and enter the theme contest. :) Curious, I'm a complete newbie to Ruby on Rails. How does development mode differ? cheers, Craig. ------ [2005-11-11 18:24:20] ERROR Errno::EINVAL: Invalid argument c:/ruby/lib/ruby/1.8/webrick/httpresponse.rb:324:in `write' c:/ruby/lib/ruby/1.8/webrick/httpresponse.rb:324:in `<<' c:/ruby/lib/ruby/1.8/webrick/httpresponse.rb:324:in `_write_data' c:/ruby/lib/ruby/1.8/webrick/httpresponse.rb:296:in `send_body_string' c:/ruby/lib/ruby/1.8/webrick/httpresponse.rb:187:in `send_body' c:/ruby/lib/ruby/1.8/webrick/httpresponse.rb:104:in `send_response' c:/ruby/lib/ruby/1.8/webrick/httpserver.rb:79:in `run' c:/ruby/lib/ruby/1.8/webrick/server.rb:155:in `start_thread' c:/ruby/lib/ruby/1.8/webrick/server.rb:144:in `start' c:/ruby/lib/ruby/1.8/webrick/server.rb:144:in `start_thread' c:/ruby/lib/ruby/1.8/webrick/server.rb:94:in `start' c:/ruby/lib/ruby/1.8/webrick/server.rb:89:in `each' c:/ruby/lib/ruby/1.8/webrick/server.rb:89:in `start' c:/ruby/lib/ruby/1.8/webrick/server.rb:79:in `start' c:/ruby/lib/ruby/1.8/webrick/server.rb:79:in `start' c:/ruby/lib/ruby/gems/1.8/gems/rails-0.14.3/lib/webrick_server.rb:69:in `dispatch' c:/ruby/lib/ruby/gems/1.8/gems/rails-0.14.3/lib/commands/servers/webrick .rb:59 c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:18:in `require __' c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:18:in `require ' c:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.2.3/lib/active_support/de pendencies.rb:214:in `require' c:/ruby/lib/ruby/gems/1.8/gems/rails-0.14.3/lib/commands/server.rb:28 c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:18:in `require __' c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:18:in `require ' c:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.2.3/lib/active_support/de pendencies.rb:214:in `require' script/server:3 On 11/12/05, Scott Laird wrote: > > > On Nov 11, 2005, at 4:30 AM, Bart Braem wrote: > > > My weblog is slow, so I am looking for answers. I tried running > > typo with a lighttpd backend and rendering my mainpage takes 3 > > seconds according to ab. That's not good... > > Caching does no seem to work: "There are 0 entries in the page > > cache". Any clues on why this might not work? > > 1. Are you running Typo in production mode? Look in log/ at > development.log and production.log--which one is growing? > 2. Typo write to the public/ directory? That's where the cache > goes; if it can't write there, then there is no cache. > > > 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/20051112/c1accb7c/attachment.htm From crisdias at crisdias.com Fri Nov 11 12:06:29 2005 From: crisdias at crisdias.com (Cristiano Dias) Date: Fri, 11 Nov 2005 15:06:29 -0200 Subject: [typo] to_url and remove_accents Message-ID: <67171ac10511110906q28728538l43ea8d1c00c84f33@mail.gmail.com> Hey there, I am porting my blog (in Portuguese) to Typo and noticed that to_url ignores characters with accents, like "?", "?", "?", etc. If the idea behind to_url is to have a nice-looking URL in the browser we need to get rid of these special characters, otherwise they will show up as % entities in the URL box. Having no idea if this is the best approach for the problem I created a "remove_accents" function which I added to lib/transforms.rb. Since I have no idea on how to submit a patch and this function is really small I am going to post it here. 8-) def remove_accents return if self.nil? temp = self.clone trans = [ [195,161,'a'],[195,160,'a'],[195,163,'a'],[195,162,'a'],[195,169,'e'],[195,170,'e'],[195,173,'i'],[195,179,'o'],[195,180,'o'],[195,181,'o'],[195,186,'u'],[195,188,'u'],[195,167,'c'],[195,129,'A'],[195,128,'A'],[195,131,'A'],[195,130,'A'],[195,137,'E'],[195,138,'E'],[195,141,'I'],[195,147,'O'],[195,148,'O'],[195,149,'O'],[195,154,'U'],[195,156,'U'],[195,135,'C'] ] trans.each do |t| temp.gsub! sprintf("%c%c",t[0],t[1]),t[2] end temp end Line 4 creates an array for each 2-byte Unicode entity and its translation. It is important to point out that I have only covered characters used in Portuguese, so it might be a good idea for people in the list to contribute with more codes, like the ones for "?", for example. Comments would make me very happy, since I am just starting in this whole Ruby+Rails thing. :-) I hope this helps, -- CrisDias, o S?ndico www.vilago.com.br -- Seu site vai gostar de morar aqui From pbihari at hotmail.com Fri Nov 11 12:10:10 2005 From: pbihari at hotmail.com (Pranav Bihari) Date: Fri, 11 Nov 2005 17:10:10 +0000 Subject: [typo] Typo on windows XP Message-ID: Hi everyone, What is the best way (combination of components server/fcgi/cgi/etc.) to run a stable typo on windows xp? I have just installed typo 2.6.0 with rails latest RC4 version on my windows machine and the webbrick server keeps crashing after every new request. I get a "segmentation fault" from routing.rb (line 138). Even with the earlier versions of typo, I was never able to run it on webbrick in a stable way. The same is not true of other rails applications on windows. Can someone help? Thanks in advance, Pranav _________________________________________________________________ Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ From mike at uwmike.com Fri Nov 11 12:08:24 2005 From: mike at uwmike.com (Mike Purvis) Date: Fri, 11 Nov 2005 12:08:24 -0500 Subject: [typo] typo & dreamhost In-Reply-To: <95ca34fec6a4fc3483dc3af3027b0aac@vonautomatisch.at> References: <95ca34fec6a4fc3483dc3af3027b0aac@vonautomatisch.at> Message-ID: <4374D008.8020802@uwmike.com> Hi Patrick, I had very similar problems to what you're describing, but I'm afraid I still don't know exactly what caused them to cease. But my dispatch.fcgi shebang is "#!/usr/bin/env ruby" Try switching between development and production mode. (variable at the top of /config/environment.rb) Also, be sure to dump the appropriate schema from /db into your database. If it can't find its tables, it seems to fail without warning. Just remember, "Typo could not be reached" is a catch-all for 500s... could really be anything. Mike patrick kranzlm?ller wrote: >i?ve tried to setup typo on dreamhost for a couple of hours now - i >read every tutorial and discussion about that topic. and still, it >doesn?t work. > >problems: >on the website, i get "application error: typo could not be reached" >when trying to run public/dispatch.fcgi (or public/dispatch.cgi) from >the shell, i get "status 500: internal server error" >the log-files don?t seem to be updated (though they are writeable) > >configuration: >.htaccess is on the server and configured correctly >shebang-line in dispatch.cgi and dispatch.fcgi is #!/usr/bin/ruby >database-connection is ok (tried that with another app) >no subdirectory > >any help is appreciated. > > From crisdias at crisdias.com Fri Nov 11 12:25:15 2005 From: crisdias at crisdias.com (Cristiano Dias) Date: Fri, 11 Nov 2005 15:25:15 -0200 Subject: [typo] Typo on windows XP In-Reply-To: References: Message-ID: <67171ac10511110925x59e0ce28p6e4d798a89314748@mail.gmail.com> Have you checked InstantRails? http://instantrails.rubyforge.org/ It's still "preview edition" but I really like it. I carry my Rails environment on a pendrive and code anywhere I can. ;-) On 11/11/05, Pranav Bihari wrote: > Hi everyone, > > What is the best way (combination of components server/fcgi/cgi/etc.) to run > a stable typo on windows xp? > > I have just installed typo 2.6.0 with rails latest RC4 version on my windows > machine and the webbrick server keeps crashing after every new request. I > get a "segmentation fault" from routing.rb (line 138). Even with the earlier > versions of typo, I was never able to run it on webbrick in a stable way. > The same is not true of other rails applications on windows. > > Can someone help? > > Thanks in advance, > Pranav > > _________________________________________________________________ > Express yourself instantly with MSN Messenger! Download today it's FREE! > http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ > > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list > -- CrisDias, o S?ndico www.vilago.com.br -- Seu site vai gostar de morar aqui From jonasb.16759522 at bloglines.com Fri Nov 11 13:30:02 2005 From: jonasb.16759522 at bloglines.com (jonasb.16759522@bloglines.com) Date: 11 Nov 2005 18:30:02 -0000 Subject: [typo] Problems with Typo trunk on Windows Message-ID: <1131733802.2522388839.28651.sendItem@bloglines.com> Hi all, For a while now I haven't been able to run the Typo trunk, and I don't know how to find a solution. I've posted a ticket [1] but basically the problem is somewhere in config\environment\ and arose when Typo was updated to Rails 0.14.2. The problem is a SystemStackError in belongs_to_without_reflection in the Rails core. Has anyone else had a similar problem? Any help is really appreciated! [1] http://typo.leetsoft.com/trac/ticket/505 /Jonas From jam at wirerimmed.com Fri Nov 11 13:49:50 2005 From: jam at wirerimmed.com (James Moore) Date: Fri, 11 Nov 2005 10:49:50 -0800 Subject: [typo] Everything on fire (DH jumps the gun on 1.0rc4) In-Reply-To: References: <43717B58.9090400@uwmike.com> <43718138.7050807@planetargon.com> <43718286.9010706@uwmike.com> Message-ID: <81840D72-0455-42BF-A630-C4E225B59FE1@wirerimmed.com> On Nov 11, 2005, at 6:17 AM, Rob Sanheim wrote: > On 11/8/05, Michael Purvis wrote: >> DH = Dreamhost. They simply installed 1.04rc4 on the servers this >> afternoon with (afaik) zero warning. >> > > Thats a pretty bad hosting policy to upgrade a component that people > depend on w/o warning or a way to stay locked at the old version. > Maybe time to find a new host =). There was a warning but near as I can tell it was under 48 hours notice. I received a an automated mail from them before they upgraded. If you didnt receive an email you may want to check your notification settings. -James From jam at wirerimmed.com Fri Nov 11 13:58:14 2005 From: jam at wirerimmed.com (James Moore) Date: Fri, 11 Nov 2005 10:58:14 -0800 Subject: [typo] typo & dreamhost In-Reply-To: <95ca34fec6a4fc3483dc3af3027b0aac@vonautomatisch.at> References: <95ca34fec6a4fc3483dc3af3027b0aac@vonautomatisch.at> Message-ID: On Nov 11, 2005, at 8:24 AM, patrick kranzlm?ller wrote: > i?ve tried to setup typo on dreamhost for a couple of hours now - i > read every tutorial and discussion about that topic. and still, it > doesn?t work. > > problems: > on the website, i get "application error: typo could not be reached" > when trying to run public/dispatch.fcgi (or public/dispatch.cgi) from > the shell, i get "status 500: internal server error" > the log-files don?t seem to be updated (though they are writeable) > > configuration: > .htaccess is on the server and configured correctly > shebang-line in dispatch.cgi and dispatch.fcgi is #!/usr/bin/ruby > database-connection is ok (tried that with another app) > no subdirectory Run ./script/server and then hit your site on port 3000 (or whereever the server says its running). Try to go directly to /admin. If you can access that page save the default settings and then go to the themes tab. If the default theme isn't active, activate it and then try going to the normal URL. After successfully upgrading to 2.6.0 I came back the next day and my site was dead. The logs were claiming zero-length responses from dispatch.fgci. When I would go to the front page via the built-in server I would simply get a theme path written to my browser. After much messing around I discovered that no theme was active. I don't know how I got into this state but there certainly needs to be some kind of exception thrown to the browser when typo is in this state. -James From davidgee at gmail.com Fri Nov 11 18:58:46 2005 From: davidgee at gmail.com (David Gee) Date: Fri, 11 Nov 2005 15:58:46 -0800 Subject: [typo] Newbie Question (Modifying Sidebar Plugins) Message-ID: <43753036.5000107@mode3.com> Hi, Apologies in advance for the very simple question. I'm very new to ruby as well as to typo. I'm trying to modify the default (2.6.0) installation to add a customizable title to some of the sidebar plugins, such as delicious and flickr. Adding & displaying the title field was a breeze, thanks to rails' superior setup. However, to make the modification complete, i'd like to add a default value to the title field. However, when i try to modify, for example delicious_controller.rb, and add stuff to self.default_config, it doesn't show up in the admin interface. I'm on a shared hosting environment (dreamhost), another new experience for me, so I don't think I can restart httpd. Is there any other way to get these changes to show up? I tried clearing the page cache on the settings page, which did not help. Thanks, david -- david gee ::: david at mode3.com ::: http://www.mode3.com/david From craig.overend at gmail.com Fri Nov 11 23:00:33 2005 From: craig.overend at gmail.com (Craig Overend) Date: Sat, 12 Nov 2005 15:00:33 +1100 Subject: [typo] Typo on windows XP In-Reply-To: <67171ac10511110925x59e0ce28p6e4d798a89314748@mail.gmail.com> References: <67171ac10511110925x59e0ce28p6e4d798a89314748@mail.gmail.com> Message-ID: I'm a complete newbie and I've had a lot of problems getting mine to work. Here are some tips I've used. So far it seems to be working... I'm running the Ruby One-click installer 1.8.2-15 on Apache2.0.51, Typo 2.6.0 (trunk), FCGI 2.4.2 and MySQL 4.1.15 and RubyforApache After I first installed ruby, I later found out that for some reason it didn't install correctly. Follow the troubleshooting section here http://electricvisions.com/rails.html to make sure yours is. I then installed using gems c:\>gem install rails -- remote Installed Ruby for Apache. Copied the 4.1.15 mysql.so file into my c:\ruby\lib\ruby\site_ruby\1.8\i386-mscvt folder that I obtained here http://wiki.rubyonrails.com/rails/pages/HowToUseMySQLRubyBindingsOnWin32 Installed MySQL. Made sure I could connect to it with MySQL-Front and edited my Typo database.yml file to match. Made sure FCGI and mod_rewrite were installed into Apache httpd.conf. # mod_rewrite LoadModule rewrite_module modules/mod_rewrite.so # FastCGI LoadModule fastcgi_module modules/mod_fastcgi.so AddHandler cgi-script .cgi AddHandler fastcgi-script .fcgi Had more than 1 process in my apache httpd.conf file: FastCgiConfig -maxClassProcesses 5 -maxProcesses 5 -minProcesses 1 -processSlack 1 I found Apache timed out with only one like a lot of installations recommended. Especially in development mode which is dog slow... So make sure you set Typo to run in Production Mode. I just edited the Typo environment.rb to change this. Unquote the line. ENV['RAILS_ENV'] = 'production' Changed .htaccess to have dispatch.fcgi RewriteRule ^(.*)$ dispatch.fcgi [QSA,L] Changed dispatch.fcgi and dispatch.rb to #!c:/ruby/bin/ruby This got me up and going. Hope that helps, Craig. On 11/12/05, Cristiano Dias wrote: > > Have you checked InstantRails? > > http://instantrails.rubyforge.org/ > > It's still "preview edition" but I really like it. I carry my Rails > environment on a pendrive and code anywhere I can. ;-) > > On 11/11/05, Pranav Bihari wrote: > > Hi everyone, > > > > What is the best way (combination of components server/fcgi/cgi/etc.) to > run > > a stable typo on windows xp? > > > > I have just installed typo 2.6.0 with rails latest RC4 version on my > windows > > machine and the webbrick server keeps crashing after every new request. > I > > get a "segmentation fault" from routing.rb (line 138). Even with the > earlier > > versions of typo, I was never able to run it on webbrick in a stable > way. > > The same is not true of other rails applications on windows. > > > > Can someone help? > > > > Thanks in advance, > > Pranav > > > > _________________________________________________________________ > > Express yourself instantly with MSN Messenger! Download today it's FREE! > > http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ > > > > _______________________________________________ > > Typo-list mailing list > > Typo-list at rubyforge.org > > http://rubyforge.org/mailman/listinfo/typo-list > > > > > -- > CrisDias, o S?ndico > www.vilago.com.br -- Seu site vai gostar de > morar aqui > > _______________________________________________ > 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/20051112/d7030e3e/attachment.htm From patrick at vonautomatisch.at Sat Nov 12 10:27:29 2005 From: patrick at vonautomatisch.at (patrick k) Date: Sat, 12 Nov 2005 16:27:29 +0100 Subject: [typo] typo & dreamhost In-Reply-To: Message-ID: didn?t really work (see below). > > On Nov 11, 2005, at 8:24 AM, patrick kranzlm?ller wrote: > >> i?ve tried to setup typo on dreamhost for a couple of hours now - i >> read every tutorial and discussion about that topic. and still, it >> doesn?t work. >> >> problems: >> on the website, i get "application error: typo could not be reached" >> when trying to run public/dispatch.fcgi (or public/dispatch.cgi) from >> the shell, i get "status 500: internal server error" >> the log-files don?t seem to be updated (though they are writeable) >> >> configuration: >> .htaccess is on the server and configured correctly >> shebang-line in dispatch.cgi and dispatch.fcgi is #!/usr/bin/ruby >> database-connection is ok (tried that with another app) >> no subdirectory > > > Run ./script/server and then hit your site on port 3000 (or whereever > the server says its running). Try to go directly to /admin. If you > can access that page save the default settings and then go to the > themes tab. If the default theme isn't active, activate it and then > try going to the normal URL. > i did that. i could access the /admin page - default theme was/is activated. but i can see the site only with the additional :3000. when shutting down the server, i cannot access the site now (it?s loading forever and nothing happens - don?t even get an error). > After successfully upgrading to 2.6.0 I came back the next day and my > site was dead. The logs were claiming zero-length responses from > dispatch.fgci. When I would go to the front page via the built-in > server I would simply get a theme path written to my browser. After > much messing around I discovered that no theme was active. I don't > know how I got into this state but there certainly needs to be some > kind of exception thrown to the browser when typo is in this state. > > -James > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list From marco at i-marco.nl Sat Nov 12 13:38:50 2005 From: marco at i-marco.nl (Marco van Hylckama Vlieg) Date: Sat, 12 Nov 2005 19:38:50 +0100 Subject: [typo] Trunk 474 vs 2.6.0 Message-ID: <5EBB28FD-BDC4-47A0-9AD3-800C231F5511@i-marco.nl> Hi all, I'm new to this list but I'm kicking in with a serious problem. I'm currently developing a VERY advanced theme for the Typo theme contest. I was reaching completion yesterday but today I found out it's totally broken on Typo version 2.6.0. I was (and still am) working with Trunk builds. Currently I'm at the latest (rev. 747). The strange thing is: Everything still works fine on the trunk build but everything is broken on 2.6.0. I'd expect these builds to be sort of the same. All problems occur with local views/* templates in my own theme dir. I also wonder why the live preview and an alternative style for admin comments seem to have disappeared in version 2.6.0. I completely pimped the live preview only to find out it was removed in a next version. Can someone give me some information on what's happening? I'm in a mild state of panic at the thought of having wasted so much time on a great theme to find it to break completely on a new stable Typo version :( - Marco From marco at i-marco.nl Sat Nov 12 13:41:19 2005 From: marco at i-marco.nl (Marco van Hylckama Vlieg) Date: Sat, 12 Nov 2005 19:41:19 +0100 Subject: [typo] Trunk 747 vs 2.6.0 In-Reply-To: <5EBB28FD-BDC4-47A0-9AD3-800C231F5511@i-marco.nl> References: <5EBB28FD-BDC4-47A0-9AD3-800C231F5511@i-marco.nl> Message-ID: Oops! That should be Trunk version 747, not 474 (of course) - Marco On Nov 12, 2005, at 7:38 PM, Marco van Hylckama Vlieg wrote: > Hi all, > > I'm new to this list but I'm kicking in with a serious problem. > I'm currently developing a VERY advanced theme for the Typo theme > contest. I was reaching completion yesterday but today I found out > it's totally broken on Typo version 2.6.0. > > I was (and still am) working with Trunk builds. Currently I'm at the > latest (rev. 747). > > The strange thing is: Everything still works fine on the trunk build > but everything is broken on 2.6.0. > I'd expect these builds to be sort of the same. All problems occur > with local views/* templates in my own theme dir. > > I also wonder why the live preview and an alternative style for admin > comments seem to have disappeared in version 2.6.0. I completely > pimped the live preview only to find out it was removed in a next > version. > > Can someone give me some information on what's happening? I'm in a > mild state of panic at the thought of having wasted so much time on a > great theme to find it to break completely on a new stable Typo > version :( > > - Marco > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list > From wyldeone at gmail.com Sat Nov 12 13:47:43 2005 From: wyldeone at gmail.com (Micah Wylde) Date: Sat, 12 Nov 2005 10:47:43 -0800 Subject: [typo] Trunk 747 vs 2.6.0 In-Reply-To: References: <5EBB28FD-BDC4-47A0-9AD3-800C231F5511@i-marco.nl> Message-ID: <106fc6ec0511121047v5312856at56fbf534110c568e@mail.gmail.com> The code for live preview was changed in 2.6.0. Look at the 2.6.0 code in app/views/shared/_search.rhtml and update yours accordingly. On 11/12/05, Marco van Hylckama Vlieg wrote: > > Oops! > > That should be Trunk version 747, not 474 (of course) > > - Marco > > > On Nov 12, 2005, at 7:38 PM, Marco van Hylckama Vlieg wrote: > > > Hi all, > > > > I'm new to this list but I'm kicking in with a serious problem. > > I'm currently developing a VERY advanced theme for the Typo theme > > contest. I was reaching completion yesterday but today I found out > > it's totally broken on Typo version 2.6.0. > > > > I was (and still am) working with Trunk builds. Currently I'm at the > > latest (rev. 747). > > > > The strange thing is: Everything still works fine on the trunk build > > but everything is broken on 2.6.0. > > I'd expect these builds to be sort of the same. All problems occur > > with local views/* templates in my own theme dir. > > > > I also wonder why the live preview and an alternative style for admin > > comments seem to have disappeared in version 2.6.0. I completely > > pimped the live preview only to find out it was removed in a next > > version. > > > > Can someone give me some information on what's happening? I'm in a > > mild state of panic at the thought of having wasted so much time on a > > great theme to find it to break completely on a new stable Typo > > version :( > > > > - Marco > > _______________________________________________ > > 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 > -- Micah Wylde -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/typo-list/attachments/20051112/f38d94d9/attachment-0001.htm From scott at sigkill.org Sat Nov 12 13:51:20 2005 From: scott at sigkill.org (Scott Laird) Date: Sat, 12 Nov 2005 10:51:20 -0800 Subject: [typo] Trunk 474 vs 2.6.0 In-Reply-To: <5EBB28FD-BDC4-47A0-9AD3-800C231F5511@i-marco.nl> References: <5EBB28FD-BDC4-47A0-9AD3-800C231F5511@i-marco.nl> Message-ID: <23753EE1-A214-4273-AFB3-F4BDD3B7AD47@sigkill.org> On Nov 12, 2005, at 10:38 AM, Marco van Hylckama Vlieg wrote: > I'm new to this list but I'm kicking in with a serious problem. > I'm currently developing a VERY advanced theme for the Typo theme > contest. I was reaching completion yesterday but today I found out > it's totally broken on Typo version 2.6.0. > > I was (and still am) working with Trunk builds. Currently I'm at the > latest (rev. 747). > > The strange thing is: Everything still works fine on the trunk build > but everything is broken on 2.6.0. > I'd expect these builds to be sort of the same. All problems occur > with local views/* templates in my own theme dir. > > I also wonder why the live preview and an alternative style for admin > comments seem to have disappeared in version 2.6.0. I completely > pimped the live preview only to find out it was removed in a next > version. > > Can someone give me some information on what's happening? I'm in a > mild state of panic at the thought of having wasted so much time on a > great theme to find it to break completely on a new stable Typo > version :( First, don't panic. Version 2.6.0 is really a continuation of the 2.5 series, *not* the current trunk. There's a lot of stuff in the trunk that isn't in 2.6, like tags and the admin comment class. We're planning on releasing the trunk as 4.0 soon, but not until after the theme contest is done. I don't think this is really critical, though--I may be mistaken, but I think the trunk is a valid target for theme contest themes. Geoffrey is the final authority on that, but I wouldn't panic if parts of your theme don't work right with 2.6. However, other then a handful of features that are in the trunk but not 2.6, themes *should* work fine with either release. I wouldn't expect to see that "everything is broken on 2.6.0." Can you give us a few more details? If you'd like, feel free to mail me your theme and I'll see what's happening. If it's really a bug in 2.6, then it's almost certainly one that I put there. I'm not going to be entering the theme contest (my design skills aren't up to it anyway), and I won't disclose any of your theme without your permission. Scott From pbihari at hotmail.com Sat Nov 12 15:43:14 2005 From: pbihari at hotmail.com (Pranav Bihari) Date: Sat, 12 Nov 2005 20:43:14 +0000 Subject: [typo] Typo on windows XP Message-ID: Finally got Typo 2.6.0 running with Instant Rails on Windows after fixing a small glitch with the default theme rendering. See http://www.pranavbihari.com/articles/2005/11/12/running-typo-on-instant-rails Thanks to Craig and Christiano for the pointers. _________________________________________________________________ Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ From pantulis at gmail.com Sat Nov 12 15:50:50 2005 From: pantulis at gmail.com (=?ISO-8859-1?Q?Juan_Lupi=F3n?=) Date: Sat, 12 Nov 2005 21:50:50 +0100 Subject: [typo] Everything on fire (DH jumps the gun on 1.0rc4) In-Reply-To: <4374C2F6.30408@uwmike.com> References: <43717B58.9090400@uwmike.com> <43718138.7050807@planetargon.com> <43718286.9010706@uwmike.com> <4374C2F6.30408@uwmike.com> Message-ID: > I ended up getting everything working, but I'm afraid I don't know > exactly what it was that did it. I started with a fresh DB and a fresh > checkout, and it turned out that the old DB had been completely > "upgraded" by the rake migrate command. So I just dumped the data from > it and imported it to the new DB. I had to mess a bit with my template > to get it working properly... I think that may have been where the > trouble was. I am also a Dreamhost user and found yesterday that my Typo install was messed up. Another RoR app written by myself was also out of order, so I guesed it was the migration. Following these thread, just checked out the new typo trunk and, after backing up everything, the only thing needed was to create the database.yml. I then launch WebRICK and made the migration from it. Everything was ok, just had to shut WebRICK down and restart the FastCGIs. Greetings -- ---------------------------------------------------- http://hronia.blogalia.com From wyldeone at gmail.com Sun Nov 13 02:14:17 2005 From: wyldeone at gmail.com (Micah Wylde) Date: Sat, 12 Nov 2005 23:14:17 -0800 Subject: [typo] Comments about the current state of typo theming Message-ID: <106fc6ec0511122314g193059b4i6bde6575f8b1ecd9@mail.gmail.com> The 2.5.7 release brought the ability to theme anything in the system and, in fact, to rewrite any piece of Typo that the designer desires to. While this may be seen as a strength, and certaintly allows for incredible flexiblity for the designer. The base lacks features that you want? Roll them youself, as controllers are able to be overwritten. There is also a huge danger here, which we have already seen, namely that either development of Typo must cease, or else every new version will, possibly majorly, break existing themes. We have already seen this with the 2.6.0 release which broke themes designed for 2.5.7. Since theme designers cannot be counted upon to be constantly updating their themes, this situation will create a mess of themes that only work with a specific version of typo, which will force users to up or downgrade their installation every time they want to install a new theme, which brings up a whole new set of problems. And if the themer does fix their theme for a new version of typo, it will break it for the old versions. This situation is untenable. What we need is a theme abstraction layer, the interface to which will stay constant, at least amongst major versions. Such a change would of course require huge changes to the codebase. But if we want typo to continue to grow and flourish with themes, it's a step that much be taken. -- Micah Wylde -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/typo-list/attachments/20051112/a5b2de29/attachment.htm From leevi at izilla.com.au Sun Nov 13 02:23:19 2005 From: leevi at izilla.com.au (Leevi Graham) Date: Sun, 13 Nov 2005 18:23:19 +1100 Subject: [typo] Comments about the current state of typo theming In-Reply-To: <106fc6ec0511122314g193059b4i6bde6575f8b1ecd9@mail.gmail.com> References: <106fc6ec0511122314g193059b4i6bde6575f8b1ecd9@mail.gmail.com> Message-ID: <4376E9E7.70504@izilla.com.au> Totally 110% agree.... I am working on a theme right now for the comp... and my progress has been stopped for at least a day everytime a new version is released.... Very frustrating... How is the competition going to be judged if some themes only work on certain releases?? Cheers Leevi Graham Micah Wylde wrote: > The 2.5.7 release brought the ability to theme anything in the system > and, in fact, to rewrite any piece of Typo that the designer desires > to. While this may be seen as a strength, and certaintly allows for > incredible flexiblity for the designer. The base lacks features that > you want? Roll them youself, as controllers are able to be > overwritten. There is also a huge danger here, which we have already > seen, namely that either development of Typo must cease, or else every > new version will, possibly majorly, break existing themes. We have > already seen this with the 2.6.0 release which broke themes designed > for 2.5.7. Since theme designers cannot be counted upon to be > constantly updating their themes, this situation will create a mess of > themes that only work with a specific version of typo, which will > force users to up or downgrade their installation every time they want > to install a new theme, which brings up a whole new set of problems. > And if the themer does fix their theme for a new version of typo, it > will break it for the old versions. > > This situation is untenable. What we need is a theme abstraction > layer, the interface to which will stay constant, at least amongst > major versions. Such a change would of course require huge changes to > the codebase. But if we want typo to continue to grow and flourish > with themes, it's a step that much be taken. > > -- > Micah Wylde > ------------------------------------------------------------------------ > > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list > > ------------------------------------------------------------------------ > > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.1.362 / Virus Database: 267.13.0/167 - Release Date: 11/11/2005 > From gpsnospam at gmail.com Sun Nov 13 05:41:28 2005 From: gpsnospam at gmail.com (gpshewan) Date: Sun, 13 Nov 2005 10:41:28 +0000 Subject: [typo] Comments about the current state of typo theming In-Reply-To: <4376E9E7.70504@izilla.com.au> References: <106fc6ec0511122314g193059b4i6bde6575f8b1ecd9@mail.gmail.com> <4376E9E7.70504@izilla.com.au> Message-ID: <7AF97EA9-8183-412C-B361-5EE2D1AADE43@gmail.com> Well for my two cents I'd rather see bug crunching, optimisation and enhancements in the code base and the last of my cares is what's happening with themes (although granted a lot of people will be pushing for the competition). To put it bluntly how pretty it looks doesn't matter as much as how well it works. If there needs to be another release to crunch a bug then that needs to happen. It has already been said there are no plans for any further releases until the end of Nov. But if there are - then it's needed and there's no good complaining. For goodness sake apart from security and bug fixes the recent releases have been improving theme support. Cease Typo development for themes? Ridiculous. Let me think ... would I have preferred Scott to ensure support for Rails 1 is in there, or that I can have a pretty site??? That's a no-brainer. On 13 Nov 2005, at 07:23, Leevi Graham wrote: > Totally 110% agree.... > > I am working on a theme right now for the comp... and my progress has > been stopped for at least a day everytime a new version is > released.... > Very frustrating... How is the competition going to be judged if some > themes only work on certain releases?? > > Cheers Leevi Graham > > Micah Wylde wrote: >> The 2.5.7 release brought the ability to theme anything in the system >> and, in fact, to rewrite any piece of Typo that the designer desires >> to. While this may be seen as a strength, and certaintly allows for >> incredible flexiblity for the designer. The base lacks features that >> you want? Roll them youself, as controllers are able to be >> overwritten. There is also a huge danger here, which we have already >> seen, namely that either development of Typo must cease, or else >> every >> new version will, possibly majorly, break existing themes. We have >> already seen this with the 2.6.0 release which broke themes designed >> for 2.5.7. Since theme designers cannot be counted upon to be >> constantly updating their themes, this situation will create a >> mess of >> themes that only work with a specific version of typo, which will >> force users to up or downgrade their installation every time they >> want >> to install a new theme, which brings up a whole new set of problems. >> And if the themer does fix their theme for a new version of typo, it >> will break it for the old versions. >> >> This situation is untenable. What we need is a theme abstraction >> layer, the interface to which will stay constant, at least amongst >> major versions. Such a change would of course require huge changes to >> the codebase. But if we want typo to continue to grow and flourish >> with themes, it's a step that much be taken. >> >> -- >> Micah Wylde >> --------------------------------------------------------------------- >> --- >> >> _______________________________________________ >> Typo-list mailing list >> Typo-list at rubyforge.org >> http://rubyforge.org/mailman/listinfo/typo-list >> >> --------------------------------------------------------------------- >> --- >> >> No virus found in this incoming message. >> Checked by AVG Free Edition. >> Version: 7.1.362 / Virus Database: 267.13.0/167 - Release Date: >> 11/11/2005 >> > > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list From rasputnik at gmail.com Sun Nov 13 11:17:33 2005 From: rasputnik at gmail.com (Dick Davies) Date: Sun, 13 Nov 2005 16:17:33 +0000 Subject: [typo] Comments about the current state of typo theming In-Reply-To: <7AF97EA9-8183-412C-B361-5EE2D1AADE43@gmail.com> References: <106fc6ec0511122314g193059b4i6bde6575f8b1ecd9@mail.gmail.com> <4376E9E7.70504@izilla.com.au> <7AF97EA9-8183-412C-B361-5EE2D1AADE43@gmail.com> Message-ID: <3f1760511130817p3e6e8510h@mail.gmail.com> On 13/11/05, gpshewan wrote: > Cease Typo development for themes? Ridiculous. Let me think ... Good idea. It might be worth doing that before posting, so you can address what was said rather than what you think you read. No-one suggested that typo development should be halted, just that it might not be such a good idea to break theme compatibility in the middle of a theme contest. We're not talking about hamstringing anyone or holding up development - that's what trunk is for. We're talking about *releases*. And the security/bugfix backport issue is irrelevant - none of the bugfixes I saw had anything to do with the theme directory. On the other hand: * it was a 2.5 -> 2.6 version bump * it was mentioned by Scott on the download page, including a workaround * UI (especially when its css related) is a bugger to unit test -- Rasputin :: Jack of All Trades - Master of Nuns http://number9.hellooperator.net/ From gpsnospam at gmail.com Sun Nov 13 12:42:29 2005 From: gpsnospam at gmail.com (gpshewan) Date: Sun, 13 Nov 2005 17:42:29 +0000 Subject: [typo] Comments about the current state of typo theming In-Reply-To: <3f1760511130817p3e6e8510h@mail.gmail.com> References: <106fc6ec0511122314g193059b4i6bde6575f8b1ecd9@mail.gmail.com> <4376E9E7.70504@izilla.com.au> <7AF97EA9-8183-412C-B361-5EE2D1AADE43@gmail.com> <3f1760511130817p3e6e8510h@mail.gmail.com> Message-ID: <59497BA0-5EFC-4C49-84A1-D2F8883CB464@gmail.com> Steady Dick, Everybody is entitled to an opinion. Micha said, > There is also a huge danger here, which we have already seen, > namely that either development of Typo must cease, or else every > new version will, possibly majorly, break existing themes ... What > we need is a theme abstraction layer, the interface to which will > stay constant, at least amongst major versions. Such a change would > of course require huge changes to the codebase. But if we want typo > to continue to grow and flourish with themes, it's a step that much > be taken. What did I misunderstand? Seems a suggestion to halt Typo development to me. The theme competition is a great idea, but if further development causes headaches for designers then some people (and I put my hand up for this) just don't care and would rather see improvements in code - whether that touches theme aspects or not. If it needs a release then there SHOULD be a release. How well a blogging engine is put together and runs is more important to me than how pretty the themes are for it. Is that clear enough? On 13 Nov 2005, at 16:17, Dick Davies wrote: > On 13/11/05, gpshewan wrote: >> Cease Typo development for themes? Ridiculous. Let me think ... > > Good idea. It might be worth doing that before posting, so you can > address > what was said rather than what you think you read. > > No-one suggested that typo development should be halted, just that > it might > not be such a good idea to break theme compatibility in the middle of > a theme contest. > > We're not talking about hamstringing anyone or holding up > development - > that's what trunk is for. We're talking about *releases*. > And the security/bugfix backport issue is irrelevant - none of the > bugfixes I saw had anything to do with the theme directory. > > On the other hand: > > * it was a 2.5 -> 2.6 version bump > * it was mentioned by Scott on the download page, including a > workaround > * UI (especially when its css related) is a bugger to unit test > > > -- > Rasputin :: Jack of All Trades - Master of Nuns > http://number9.hellooperator.net/ > > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list From wyldeone at gmail.com Sun Nov 13 14:03:37 2005 From: wyldeone at gmail.com (Micah Wylde) Date: Sun, 13 Nov 2005 11:03:37 -0800 Subject: [typo] Comments about the current state of typo theming In-Reply-To: <59497BA0-5EFC-4C49-84A1-D2F8883CB464@gmail.com> References: <106fc6ec0511122314g193059b4i6bde6575f8b1ecd9@mail.gmail.com> <4376E9E7.70504@izilla.com.au> <7AF97EA9-8183-412C-B361-5EE2D1AADE43@gmail.com> <3f1760511130817p3e6e8510h@mail.gmail.com> <59497BA0-5EFC-4C49-84A1-D2F8883CB464@gmail.com> Message-ID: <106fc6ec0511131103m56c4d5b4qd4cc5d88378eb34f@mail.gmail.com> You misunderstood me. I was pointing out that under the current system every new release will break themes. I was not advocating for a halt of development. On 11/13/05, gpshewan wrote: > > Steady Dick, > > Everybody is entitled to an opinion. > > Micha said, > > > There is also a huge danger here, which we have already seen, > > namely that either development of Typo must cease, or else every > > new version will, possibly majorly, break existing themes ... What > > we need is a theme abstraction layer, the interface to which will > > stay constant, at least amongst major versions. Such a change would > > of course require huge changes to the codebase. But if we want typo > > to continue to grow and flourish with themes, it's a step that much > > be taken. > > What did I misunderstand? Seems a suggestion to halt Typo > development to me. > > The theme competition is a great idea, but if further development > causes headaches for designers then some people (and I put my hand up > for this) just don't care and would rather see improvements in code - > whether that touches theme aspects or not. If it needs a release > then there SHOULD be a release. How well a blogging engine is put > together and runs is more important to me than how pretty the themes > are for it. > > Is that clear enough? > > On 13 Nov 2005, at 16:17, Dick Davies wrote: > > > On 13/11/05, gpshewan wrote: > >> Cease Typo development for themes? Ridiculous. Let me think ... > > > > Good idea. It might be worth doing that before posting, so you can > > address > > what was said rather than what you think you read. > > > > No-one suggested that typo development should be halted, just that > > it might > > not be such a good idea to break theme compatibility in the middle of > > a theme contest. > > > > We're not talking about hamstringing anyone or holding up > > development - > > that's what trunk is for. We're talking about *releases*. > > And the security/bugfix backport issue is irrelevant - none of the > > bugfixes I saw had anything to do with the theme directory. > > > > On the other hand: > > > > * it was a 2.5 -> 2.6 version bump > > * it was mentioned by Scott on the download page, including a > > workaround > > * UI (especially when its css related) is a bugger to unit test > > > > > > -- > > Rasputin :: Jack of All Trades - Master of Nuns > > http://number9.hellooperator.net/ > > > > _______________________________________________ > > 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 > -- Micah Wylde AccordionSoftware -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/typo-list/attachments/20051113/4cdec983/attachment.htm From theaks at hardlovecowboys.com Sun Nov 13 22:31:24 2005 From: theaks at hardlovecowboys.com (Andrew Theaker) Date: Mon, 14 Nov 2005 14:31:24 +1100 Subject: [typo] Standalone works fine, fails through apache Message-ID: <694cf690511131931ld906c52w2e1965bb622f4451@mail.gmail.com> I'm currently setting Typo up and I'm having a problem. When I start the app using script/server it works fine. My host is set up to use fastcgi, so I'm attempting to use Typo through Apache. I've verified everything is working fine at the server end by setting up a few test apps. When I try to access Type through dispatch.fcgi, the page loads for a long time and ends up blank. fastcgi.crash.log is not created but I get the following message in my apache error log [Wed Nov 9 16:32:25 2005] [warn] FastCGI: (dynamic) server "/home/theakern/public_html/andrew/dispatch.fcgi" has failed to remain running for 30 seconds given 3 attempts, its restart interval has been backed off to 600 seconds So i changed my .htaccess so i use dispatch.cgi instead. When i access the page I get Application Error Typo could not be reached. In my apache error logs i now see [Wed Nov 9 18:09:23 2005] [error] [client 61.8.4.132] Premature end of script headers: /home/theakern/public_html/andrew/dispatch.cgi. Once again there is no fastcgi.crash.log The only other thing of note is that I'm not running it out of the root directory of my webserver. I've added RewriteBase /blog/ to my .htaccess tho. Does anyone have any idea on how to fix this, or what to test next? From scott at sigkill.org Mon Nov 14 00:58:47 2005 From: scott at sigkill.org (Scott Laird) Date: Sun, 13 Nov 2005 21:58:47 -0800 Subject: [typo] Standalone works fine, fails through apache In-Reply-To: <694cf690511131931ld906c52w2e1965bb622f4451@mail.gmail.com> References: <694cf690511131931ld906c52w2e1965bb622f4451@mail.gmail.com> Message-ID: <97797435-279C-423A-9BF0-C23FB14C8404@sigkill.org> On Nov 13, 2005, at 7:31 PM, Andrew Theaker wrote: > Does anyone have any idea on how to fix this, or what to test next? Try running either the FCGI or CGI dispatcher by hand (./public/ dispatch.fcgi) and see if you get an error message. Scott From patrick at vonautomatisch.at Mon Nov 14 03:57:02 2005 From: patrick at vonautomatisch.at (patrick k) Date: Mon, 14 Nov 2005 09:57:02 +0100 Subject: [typo] Standalone works fine, fails through apache In-Reply-To: <694cf690511131931ld906c52w2e1965bb622f4451@mail.gmail.com> Message-ID: i?m having the same problem. tried everything for a couple of days. got some input from the list but ... nothing worked. i?m on dreamhost by the way. some ideas: - try changing the shebang-line of dispatch.(f)cgi to "#!/usr/bin/env ruby" resp. "#!/usr/bin/ruby" - try switching between development and production mode. (variable at the top of /config/environment.rb) - be sure that the default theme is active (you can set that with using script/server in the typo admin-panel). if you solved the problem, please let me know. patrick > I'm currently setting Typo up and I'm having a problem. When I start > the app using script/server it works fine. > > My host is set up to use fastcgi, so I'm attempting to use Typo > through Apache. I've verified everything is working fine at the server > end by setting up a few test apps. > > When I try to access Type through dispatch.fcgi, the page loads for a > long time and ends up blank. fastcgi.crash.log is not created but I > get the following message in my apache error log > > [Wed Nov 9 16:32:25 2005] [warn] FastCGI: (dynamic) server > "/home/theakern/public_html/andrew/dispatch.fcgi" has failed to remain > running for 30 seconds given 3 attempts, its restart interval has been > backed off to 600 seconds > > So i changed my .htaccess so i use dispatch.cgi instead. When i access > the page I get Application Error Typo could not be reached. In my > apache error logs i now see > > [Wed Nov 9 18:09:23 2005] [error] [client 61.8.4.132] Premature end > of script headers: /home/theakern/public_html/andrew/dispatch.cgi. > > Once again there is no fastcgi.crash.log > > The only other thing of note is that I'm not running it out of the > root directory of my webserver. I've added RewriteBase /blog/ to my > .htaccess tho. > > Does anyone have any idea on how to fix this, or what to test next? > > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list From bart.braem at gmail.com Mon Nov 14 04:38:27 2005 From: bart.braem at gmail.com (Bart Braem) Date: Mon, 14 Nov 2005 10:38:27 +0100 Subject: [typo] General RSS agregation? Message-ID: Does someone know plugins/hacks to agregate rss feeds from other blogs? del.icio.us works, so I guess general RSS aggregation should be possible? Thanks for a great blog, Bart -- "May the source be with you" From gpsnospam at gmail.com Mon Nov 14 05:44:00 2005 From: gpsnospam at gmail.com (gpshewan) Date: Mon, 14 Nov 2005 10:44:00 +0000 Subject: [typo] Comments about the current state of typo theming In-Reply-To: <106fc6ec0511131103m56c4d5b4qd4cc5d88378eb34f@mail.gmail.com> References: <106fc6ec0511122314g193059b4i6bde6575f8b1ecd9@mail.gmail.com> <4376E9E7.70504@izilla.com.au> <7AF97EA9-8183-412C-B361-5EE2D1AADE43@gmail.com> <3f1760511130817p3e6e8510h@mail.gmail.com> <59497BA0-5EFC-4C49-84A1-D2F8883CB464@gmail.com> <106fc6ec0511131103m56c4d5b4qd4cc5d88378eb34f@mail.gmail.com> Message-ID: I guess that's where I don't understand because I've been using the same theme (my own hackage ... albeit different colours) through all of the 2.5.x releases and I'm running on rev 743 at the moment. Nothing ever broke for me and there hasn't been any large outcry on the list about themes breaking so I'll take a stab at saying I'm not in the minority there. I understand that anybody stretching their own theme development for the sake of the competition could find large changes in handling themes frustrating. But it's not a major problem for Typo development ... just an issue for the competition. Gary On 13 Nov 2005, at 19:03, Micah Wylde wrote: > You misunderstood me. I was pointing out that under the current > system every new release will break themes. I was not advocating > for a halt of development. > > -- > Micah Wylde > AccordionSoftware > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list From bart.braem at gmail.com Mon Nov 14 05:48:37 2005 From: bart.braem at gmail.com (Bart Braem) Date: Mon, 14 Nov 2005 11:48:37 +0100 Subject: [typo] & in titles Message-ID: When writing a & in titles the & is not correctly replaced which gives invalid xhtml. Writing & yourself helps, but then the blog feeds give & in their titles... Should I post a bug for this one? Or is this a known problem? Bart -- "May the source be with you" From biro.eszter at gmail.com Mon Nov 14 08:52:40 2005 From: biro.eszter at gmail.com (Biro Eszter) Date: Mon, 14 Nov 2005 13:52:40 +0000 Subject: [typo] General RSS agregation? In-Reply-To: References: Message-ID: <437896A8.9060008@gmail.com> Bart Braem wrote: > Does someone know plugins/hacks to agregate rss feeds from other > blogs? del.icio.us works, so I guess general RSS aggregation should be > possible? Sign up for SuprGlu: http://www.suprglu.com It's free, easy and nifty. Eszter -- Primalgrasp LLC http://primalgrasp.com From bart.braem at gmail.com Mon Nov 14 07:02:23 2005 From: bart.braem at gmail.com (Bart Braem) Date: Mon, 14 Nov 2005 13:02:23 +0100 Subject: [typo] General RSS agregation? In-Reply-To: <437896A8.9060008@gmail.com> References: <437896A8.9060008@gmail.com> Message-ID: On 11/14/05, Biro Eszter wrote: > Bart Braem wrote: > > Does someone know plugins/hacks to agregate rss feeds from other > > blogs? del.icio.us works, so I guess general RSS aggregation should be > > possible? > > Sign up for SuprGlu: http://www.suprglu.com > It's free, easy and nifty. > Sorry if I was unclear, I'm looking for a way to do aggregation in Typo. So in my sidebar I'd like to see the name of the blog and then some articles... Bart -- "May the source be with you" From jonasb.16759522 at bloglines.com Mon Nov 14 07:24:42 2005 From: jonasb.16759522 at bloglines.com (jonasb.16759522@bloglines.com) Date: 14 Nov 2005 12:24:42 -0000 Subject: [typo] & in titles Message-ID: <1131971082.4116063075.30350.sendItem@bloglines.com> I had a similar problem recently where I put a HTML entity in the title (& Oslash; in this case). It worked as intended on the blog, but didn't show up correctly in feeds/aggregator. Haven't looked into it though. /Jonas jonas.b at home.se http://andthennothing.net --- typo-list at rubyforge.org wrote: When writing a & in titles the & is not correctly replaced which gives > invalid xhtml. Writing & yourself helps, but then the blog feeds > give & in their titles... > Should I post a bug for this one? Or is this a known problem? > > Bart > -- > "May the source be with you" > > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list > From jam at wirerimmed.com Mon Nov 14 13:03:08 2005 From: jam at wirerimmed.com (James Moore) Date: Mon, 14 Nov 2005 10:03:08 -0800 Subject: [typo] General RSS agregation? In-Reply-To: References: <437896A8.9060008@gmail.com> Message-ID: <7DCFE099-D7FF-4534-96AF-6A363F96E230@wirerimmed.com> On Nov 14, 2005, at 4:02 AM, Bart Braem wrote: > On 11/14/05, Biro Eszter wrote: >> Bart Braem wrote: >>> Does someone know plugins/hacks to agregate rss feeds from other >>> blogs? del.icio.us works, so I guess general RSS aggregation >>> should be >>> possible? >> >> Sign up for SuprGlu: http://www.suprglu.com >> It's free, easy and nifty. >> > Sorry if I was unclear, I'm looking for a way to do aggregation in > Typo. So in my sidebar I'd like to see the name of the blog and then > some articles... I submitted a patch for a very simple RSS reader: http://typo.leetsoft.com/trac/ticket/508 I created that using the trunk code. -James From scott at sigkill.org Mon Nov 14 13:52:59 2005 From: scott at sigkill.org (Scott Laird) Date: Mon, 14 Nov 2005 10:52:59 -0800 Subject: [typo] & in titles In-Reply-To: <1131971082.4116063075.30350.sendItem@bloglines.com> References: <1131971082.4116063075.30350.sendItem@bloglines.com> Message-ID: On Nov 14, 2005, at 4:24 AM, jonasb.16759522 at bloglines.com wrote: > I had a similar problem recently where I put a HTML entity in the > title (& > Oslash; in this case). It worked as intended on the blog, but > didn't show > up correctly in feeds/aggregator. Haven't looked into it though. You can't generally put entities into the title field and expect them to survive RSS. The RSS spec (pick one) doesn't say which format the title is in, and some readers assume that it's just plain text, while others assume HTML. So it's unclear if Ø should be encoded as Ø or &Oslash;. As expected, both options are popular. This is one of the reasons for Atom. You can usually work around this by using UTF-8. It doesn't help when you're trying to put "&" or "<" into the title, but it'll take care of nearly everything else. Scott From wyldeone at gmail.com Mon Nov 14 15:11:52 2005 From: wyldeone at gmail.com (Micah Wylde) Date: Mon, 14 Nov 2005 12:11:52 -0800 Subject: [typo] Comments about the current state of typo theming In-Reply-To: References: <106fc6ec0511122314g193059b4i6bde6575f8b1ecd9@mail.gmail.com> <4376E9E7.70504@izilla.com.au> <7AF97EA9-8183-412C-B361-5EE2D1AADE43@gmail.com> <3f1760511130817p3e6e8510h@mail.gmail.com> <59497BA0-5EFC-4C49-84A1-D2F8883CB464@gmail.com> <106fc6ec0511131103m56c4d5b4qd4cc5d88378eb34f@mail.gmail.com> Message-ID: <106fc6ec0511141211t571a43cka4d653a651eb5fa4@mail.gmail.com> I appear to not be making myself clear, so let me try again. With the typo theming system, in order to actually do anything complicated you need to modify the actual program (which is accomplished by replacing typo files.) This works well, and is incredibly powerful from the themer's point of view, as it allows them to extend the program to do anything they want. The problem lies in the fact that, as they are using interfaces within typo which will change (IE functions, partials, etc.), there is no guarantee that how their theme interacts with these things will continue to work correctly. An example is the changes within the live search between 2.5.7 and 2.6.0. In 2.5.7 the js detection code was within the template (default.rhtml). However, in 2.6.0 it was moved to the _search.rhtml partial, which caused live search to be broken for themes designed for 2.5.7. Problems like this are inevitable under the current system. In order to allow typo theming to continue an abstraction layer must be written, similar to those that exist in other blog engines. Though utilizing Ruby's built-in theming capabilities may be convenient and powerful, it provides no guarantee for how the themes will interact with the unthemed portions of the engine. On 11/14/05, gpshewan wrote: > I guess that's where I don't understand because I've been using the > same theme (my own hackage ... albeit different colours) through all > of the 2.5.x releases and I'm running on rev 743 at the moment. > Nothing ever broke for me and there hasn't been any large outcry on > the list about themes breaking so I'll take a stab at saying I'm not > in the minority there. > > I understand that anybody stretching their own theme development for > the sake of the competition could find large changes in handling > themes frustrating. But it's not a major problem for Typo > development ... just an issue for the competition. > > Gary > > On 13 Nov 2005, at 19:03, Micah Wylde wrote: > > > You misunderstood me. I was pointing out that under the current > > system every new release will break themes. I was not advocating > > for a halt of development. > > > > -- > > Micah Wylde > > AccordionSoftware > > _______________________________________________ > > 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 > -- Micah Wylde From justus at ryoohki.net Mon Nov 14 15:25:22 2005 From: justus at ryoohki.net (Justus Pendleton) Date: Mon, 14 Nov 2005 13:25:22 -0700 Subject: [typo] Comments about the current state of typo theming In-Reply-To: <106fc6ec0511141211t571a43cka4d653a651eb5fa4@mail.gmail.com> References: <106fc6ec0511122314g193059b4i6bde6575f8b1ecd9@mail.gmail.com> <4376E9E7.70504@izilla.com.au> <7AF97EA9-8183-412C-B361-5EE2D1AADE43@gmail.com> <3f1760511130817p3e6e8510h@mail.gmail.com> <59497BA0-5EFC-4C49-84A1-D2F8883CB464@gmail.com> <106fc6ec0511131103m56c4d5b4qd4cc5d88378eb34f@mail.gmail.com> <106fc6ec0511141211t571a43cka4d653a651eb5fa4@mail.gmail.com> Message-ID: <4378F2B2.6080607@ryoohki.net> Micah Wylde wrote: > I appear to not be making myself clear, so let me try again. [snip] Sounds like what you are saying is that someone who is strongly invested in theming should become more involved in the development of typo so that committers are aware when their changes impact theming. Are you volunteering? :) I don't think anyone really disagrees all that much with your point. But it is also pretty clear that maintaining theme compatibility isn't the highest priority for developers; their focus is in other directions, directions that matter more to them personally. Unless someone for whom it is a high priority begins to contribute unit tests and code reviews SVN commits then I don't imagine much will really come of it. For instance, I'd like to see OpenID added to Typo sooner rather than later but my expectation is that unless I do that personally it'll probably be a while until someone else becomes motivated to add it. -- Justus From theaks at hardlovecowboys.com Mon Nov 14 17:34:59 2005 From: theaks at hardlovecowboys.com (Andrew Theaker) Date: Tue, 15 Nov 2005 09:34:59 +1100 Subject: [typo] Standalone works fine, fails through apache In-Reply-To: <97797435-279C-423A-9BF0-C23FB14C8404@sigkill.org> References: <694cf690511131931ld906c52w2e1965bb622f4451@mail.gmail.com> <97797435-279C-423A-9BF0-C23FB14C8404@sigkill.org> Message-ID: <694cf690511141434o451a1879vc788821e23c3ccb3@mail.gmail.com> I ran dispatch.fcgi manually from the root directory of the app. I got this error message Status: 500 Internal Server Error This is what was in the log file. jailshell-3.00$ cat log/fastcgi.crash.log # Logfile created on Mon Nov 14 17:31:06 EST 2005 by logger.rb/1.5.2.4 [14/Nov/2005:17:31:06 :: 25925] starting [14/Nov/2005:17:31:07 :: 25925] terminated gracefully - Show quoted text - On 11/14/05, Scott Laird wrote: > > On Nov 13, 2005, at 7:31 PM, Andrew Theaker wrote: > > Does anyone have any idea on how to fix this, or what to test next? > > Try running either the FCGI or CGI dispatcher by hand (./public/ > dispatch.fcgi) and see if you get an error message. > > > Scott > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list > From jonasb.16759522 at bloglines.com Mon Nov 14 18:11:20 2005 From: jonasb.16759522 at bloglines.com (jonasb.16759522@bloglines.com) Date: 14 Nov 2005 23:11:20 -0000 Subject: [typo] & in titles Message-ID: <1132009880.3208122569.32668.sendItem@bloglines.com> My & Oslash; appeared wrong in Atom as well (in Bloglines at least), but I haven't checked if it's Bloglines or Typo's fault yet. As for RSS, couldn't you put the title into CDATA to avoid escaping? (I'm a XML/RSS newbie but I've used CDATA to get around escaping problems in the past) /Jonas --- typo-list at rubyforge.org wrote: > On Nov 14, 2005, at 4:24 AM, jonasb.16759522 at bloglines.com wrote: > > > I had a similar problem recently where I put a HTML entity in the > > title (& > > Oslash; in this case). It worked as intended on the blog, but > > didn't show > > up correctly in feeds/aggregator. Haven't looked into it though. > > You can't generally put entities into the title field and expect them > to survive RSS. The RSS spec (pick one) doesn't say which format the > title is in, and some readers assume that it's just plain text, while > others assume HTML. So it's unclear if ? should be encoded as > ? or Ø. As expected, both options are popular. > > This is one of the reasons for Atom. > > You can usually work around this by using UTF-8. It doesn't help > when you're trying to put "&" or "<" into the title, but it'll take > care of nearly everything else. > > > Scott > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list > From kheon at comcast.net Tue Nov 15 18:32:15 2005 From: kheon at comcast.net (Kyle Heon) Date: Tue, 15 Nov 2005 18:32:15 -0500 Subject: [typo] Rotating image headers and caching Message-ID: <200511152323.jAFNN705027437@rubyforge.org> Last night I rolled out a layout change to my blog and noticed that in order to get the look and feel to display I needed to physically delete the cached pages so that the new layout would take effect (this was after I'd restarted lighttpd and it's associated FCGI processes. This was simply a minor update but was done so that I can begin to add rotating header images. After last nights issues I'm wondering though how this will work. Does Typo (Rails?) cache the entire page? If so it would seem that having rotating images would not work all that well. Anyone have any experiences doing something similar? I know very little about Rails caching support so I apologize if this is a stupid question. Thanks. Kyle Heon kheon at comcast.net -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/typo-list/attachments/20051115/288dac5d/attachment.htm From kheon at comcast.net Tue Nov 15 19:18:00 2005 From: kheon at comcast.net (Kyle Heon) Date: Tue, 15 Nov 2005 19:18:00 -0500 Subject: [typo] Passing a list to the admin "tab" function Message-ID: <200511160008.jAG08m05002250@rubyforge.org> I'm adding a galleries tool to my Typo blog and have added a tab called "Galleries" by re-using the tab method already being used. This is represented here: <%= tab "Galleries", :controller=>"/admin/galleries", :action => 'index' %> I also have a Photos controller that I want to also have select the "Galleries" tab. I want to be able to pass both /admin/galleries and admin/photos to the tab method and get it to select the same tab should one of them be the active controller. What might be the best way to go about doing this? I'm a Ruby newbie just trying to learn from those much wiser then me at this point. Kyle Heon kheon at comcast.net From mike at uwmike.com Tue Nov 15 22:52:33 2005 From: mike at uwmike.com (Michael Purvis) Date: Tue, 15 Nov 2005 22:52:33 -0500 Subject: [typo] Rotating image headers and caching In-Reply-To: <200511152323.jAFNN705027437@rubyforge.org> References: <200511152323.jAFNN705027437@rubyforge.org> Message-ID: <437AAD01.1010707@uwmike.com> I think that there's two basic approaches you could pursue: 1) Have the rotating image controlled by a javascript. It's not as wacky as you think, considering that the dates are already... Basically just put in a default image (as a background), and then have the onload event randomly switch it up. 2) Set Rails to output ".php" files in the cache, instead of ".html" I expect that PHP is a better server-side tool for this kind of simple task. (However, I could be wrong... and I'm not sure how to change the default extension on the output files...) Mike Kyle Heon wrote: > Last night I rolled out a layout change to my blog and noticed that in > order to get the look and feel to display I needed to physically > delete the cached pages so that the new layout would take effect (this > was after I'd restarted lighttpd and it's associated FCGI processes. > > This was simply a minor update but was done so that I can begin to add > rotating header images. After last nights issues I'm wondering though > how this will work. Does Typo (Rails?) cache the entire page? If so it > would seem that having rotating images would not work all that well. > > Anyone have any experiences doing something similar? I know very > little about Rails caching support so I apologize if this is a stupid > question. > > Thanks. > > Kyle Heon > kheon at comcast.net > > >------------------------------------------------------------------------ > >_______________________________________________ >Typo-list mailing list >Typo-list at rubyforge.org >http://rubyforge.org/mailman/listinfo/typo-list > > -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.362 / Virus Database: 267.13.2/170 - Release Date: 15/11/2005 From mike at uwmike.com Wed Nov 16 15:40:37 2005 From: mike at uwmike.com (Mike Purvis) Date: Wed, 16 Nov 2005 15:40:37 -0500 Subject: [typo] Markdown Textfilter Message-ID: <437B9945.5010405@uwmike.com> Hi folks, I'm hoping there's some easy way to do this. Basically, I really like Markdown. A lot more than Textile. So I currently have my Typo set to use Markdown for both entries and comments. One of my favourite features is the ability to just use HTML in places where there isn't a markdown equivalent. However, this is not acceptable for the comment box... how can I have the comment box use a slightly modified Markdown that always encodes angle brackets? Thanks, Mike From jpinnix.alt at gmail.com Wed Nov 16 15:51:24 2005 From: jpinnix.alt at gmail.com (jeremy*pinnix) Date: Wed, 16 Nov 2005 14:51:24 -0600 Subject: [typo] blogging from flickr Message-ID: <11a908be0511161251o4771432eqb3e584d30b4d035f@mail.gmail.com> I'm having trouble blogging from Flickr. I set up using the MetaWeblogAPI and used mydomain.com/backend/xmlrpc When I hit http://blog.mochaclub.org/backend/xmlrpc it gives the following error: Internal protocol error: NilClass is not a valid input stream. It must be either a String, IO, StringIO or Source. So, I'm not quite sure what the problem is. I also tried using the Movable Type option, entering in http://blog.mochaclub.org/backend/xmlrpc in the field for cgi-bin. This didn't work either. Any ideas? From scott at sigkill.org Wed Nov 16 16:33:44 2005 From: scott at sigkill.org (Scott Laird) Date: Wed, 16 Nov 2005 13:33:44 -0800 Subject: [typo] Markdown Textfilter In-Reply-To: <437B9945.5010405@uwmike.com> References: <437B9945.5010405@uwmike.com> Message-ID: <9DCDE84E-050F-464D-B3B0-E43D7C00D1A0@sigkill.org> On Nov 16, 2005, at 12:40 PM, Mike Purvis wrote: > I'm hoping there's some easy way to do this. Basically, I really like > Markdown. A lot more than Textile. So I currently have my Typo set to > use Markdown for both entries and comments. > > One of my favourite features is the ability to just use HTML in places > where there isn't a markdown equivalent. However, this is not > acceptable > for the comment box... how can I have the comment box use a slightly > modified Markdown that always encodes angle brackets? Right now, comments *always* have < and > encoded before the text filters get their hands on them. Look for the HTML filter; that's what it does. I'd love to see a 'safe HTML' filter that takes (without any javascript additions),

, , etc. If we had one, then we could use that instead of the strict HTML filter and comments would be a bit more flexible. Scott From jonathan at daikini.com Wed Nov 16 17:02:14 2005 From: jonathan at daikini.com (Jonathan Younger) Date: Wed, 16 Nov 2005 14:02:14 -0800 Subject: [typo] Markdown Textfilter In-Reply-To: <9DCDE84E-050F-464D-B3B0-E43D7C00D1A0@sigkill.org> References: <437B9945.5010405@uwmike.com> <9DCDE84E-050F-464D-B3B0-E43D7C00D1A0@sigkill.org> Message-ID: Would the sanitize function work for this? http://api.rubyonrails.com/classes/ActionView/Helpers/ TextHelper.html#M000421 -Jonathan On Nov 16, 2005, at 1:33 PM, Scott Laird wrote: > > On Nov 16, 2005, at 12:40 PM, Mike Purvis wrote: >> I'm hoping there's some easy way to do this. Basically, I really like >> Markdown. A lot more than Textile. So I currently have my Typo set to >> use Markdown for both entries and comments. >> >> One of my favourite features is the ability to just use HTML in >> places >> where there isn't a markdown equivalent. However, this is not >> acceptable >> for the comment box... how can I have the comment box use a slightly >> modified Markdown that always encodes angle brackets? > > Right now, comments *always* have < and > encoded before the text > filters get their hands on them. Look for the HTML filter; that's > what it does. I'd love to see a 'safe HTML' filter that takes > (without any javascript additions),

,

, etc. If we had > one, then we could use that instead of the strict HTML filter and > comments would be a bit more flexible. > > > Scott > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list From scott at sigkill.org Wed Nov 16 17:09:32 2005 From: scott at sigkill.org (Scott Laird) Date: Wed, 16 Nov 2005 14:09:32 -0800 Subject: [typo] Markdown Textfilter In-Reply-To: References: <437B9945.5010405@uwmike.com> <9DCDE84E-050F-464D-B3B0-E43D7C00D1A0@sigkill.org> Message-ID: Yeah, probably. I'd still want to filter out specific tags and attributes, and make sure that we're left with valid XHTML, but sanitize looks like it'll take care of the really critical bits. Scott On Nov 16, 2005, at 2:02 PM, Jonathan Younger wrote: > http://api.rubyonrails.com/classes/ActionView/Helpers/ > TextHelper.html#M000421 From marco at i-marco.nl Thu Nov 17 09:55:56 2005 From: marco at i-marco.nl (Marco van Hylckama Vlieg) Date: Thu, 17 Nov 2005 15:55:56 +0100 Subject: [typo] generating the base URL Message-ID: <437C99FC.90601@i-marco.nl> Hi all, I'm looking for a way to generate a Typo blog's base URL. I have a default gravatar in my theme which I want to send as a parameter to gravatar.com. I can generate a path like /images/theme/default_gravatar.png but I actually need: http://www.serverhostname.com/images/theme/default_gravatar.png Is there any way to generate that string from within Typo? I looked through the Rails API but I can't find a thing.... Thanks in advance! Marco From bart.braem at gmail.com Thu Nov 17 10:36:39 2005 From: bart.braem at gmail.com (Bart Braem) Date: Thu, 17 Nov 2005 16:36:39 +0100 Subject: [typo] Typo does not work any more Message-ID: My blog worked fine until I tried to update it to 2.6.0. It didn't work because of some emulate_booleans functions so I updated rails to 0.14.3. And now Rails fails, without output in fastcgi.crash.log or error.log. Access.log gives normal access logs, without more explanation... Apache error.log has "incomplete head ers (35 bytes) received from server" errors. But how do you solve these? It worked prevously. I tried using lighttpd but that gives no errors whatsoever. Webrick is not very helpful either: [2005-11-17 16:34:46] INFO WEBrick 1.3.1 [2005-11-17 16:34:46] INFO ruby 1.8.2 (2004-12-25) [i586-linux-gnu] [2005-11-17 16:34:46] INFO WEBrick::HTTPServer#start: pid=11608 port=3000 127.0.0.1 - - [17/Nov/2005:16:34:56 CET] "GET / HTTP/1.1" 500 0 - -> / Outputting curl localhost:3000 does not give anything. Any help appreciated, I want my blog back! Bart -- "May the source be with you" From scott at sigkill.org Thu Nov 17 10:40:59 2005 From: scott at sigkill.org (Scott Laird) Date: Thu, 17 Nov 2005 07:40:59 -0800 Subject: [typo] Typo does not work any more In-Reply-To: References: Message-ID: On Nov 17, 2005, at 7:36 AM, Bart Braem wrote: > My blog worked fine until I tried to update it to 2.6.0. It didn't > work because of some emulate_booleans functions so I updated rails to > 0.14.3. And now Rails fails, without output in fastcgi.crash.log or > error.log. Access.log gives normal access logs, without more > explanation... > Apache error.log has "incomplete head ers (35 bytes) received from > server" errors. But how do you solve these? It worked prevously. > I tried using lighttpd but that gives no errors whatsoever. Webrick is > not very helpful either: > [2005-11-17 16:34:46] INFO WEBrick 1.3.1 > [2005-11-17 16:34:46] INFO ruby 1.8.2 (2004-12-25) [i586-linux-gnu] > [2005-11-17 16:34:46] INFO WEBrick::HTTPServer#start: pid=11608 > port=3000 > 127.0.0.1 - - [17/Nov/2005:16:34:56 CET] "GET / HTTP/1.1" 500 0 > - -> / > Outputting curl localhost:3000 does not give anything. Check your database.yml--is it still correct? Also, webrick should haver logged something to one of the logfiles; what does it say? Scott From rasputnik at gmail.com Thu Nov 17 10:44:00 2005 From: rasputnik at gmail.com (Dick Davies) Date: Thu, 17 Nov 2005 15:44:00 +0000 Subject: [typo] generating the base URL In-Reply-To: <437C99FC.90601@i-marco.nl> References: <437C99FC.90601@i-marco.nl> Message-ID: <3f1760511170744u27317d59v@mail.gmail.com> url_for() On 17/11/05, Marco van Hylckama Vlieg wrote: > Hi all, > > I'm looking for a way to generate a Typo blog's base URL. > I have a default gravatar in my theme which I want to send as a > parameter to gravatar.com. > I can generate a path like /images/theme/default_gravatar.png but I > actually need: > > http://www.serverhostname.com/images/theme/default_gravatar.png > > Is there any way to generate that string from within Typo? > > I looked through the Rails API but I can't find a thing.... > > Thanks in advance! > > Marco > > _______________________________________________ > 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 bart.braem at gmail.com Thu Nov 17 11:21:52 2005 From: bart.braem at gmail.com (Bart Braem) Date: Thu, 17 Nov 2005 17:21:52 +0100 Subject: [typo] Typo does not work any more In-Reply-To: References: Message-ID: On 11/17/05, Scott Laird wrote: > > Check your database.yml--is it still correct? It is perfect. > Also, webrick should > haver logged something to one of the logfiles; what does it say? > All files in the log directory are untouched, which ones does webrick change? Thanks for your fast response, Bart -- "May the source be with you" From scott at sigkill.org Thu Nov 17 12:09:43 2005 From: scott at sigkill.org (Scott Laird) Date: Thu, 17 Nov 2005 09:09:43 -0800 Subject: [typo] Typo does not work any more In-Reply-To: References: Message-ID: <57F8F0E4-D6A3-494F-83F1-F158696DBF45@sigkill.org> On Nov 17, 2005, at 8:21 AM, Bart Braem wrote: > On 11/17/05, Scott Laird wrote: >> >> Check your database.yml--is it still correct? > > It is perfect. > >> Also, webrick should >> haver logged something to one of the logfiles; what does it say? >> > All files in the log directory are untouched, which ones does > webrick change? It depends on which mode it's running in--in development mode, it changes development.log, etc. Check your permissions--does webrick have the ability to write to the logs? Scott From bart.braem at gmail.com Thu Nov 17 12:51:47 2005 From: bart.braem at gmail.com (Bart Braem) Date: Thu, 17 Nov 2005 18:51:47 +0100 Subject: [typo] Typo does not work any more In-Reply-To: <57F8F0E4-D6A3-494F-83F1-F158696DBF45@sigkill.org> References: <57F8F0E4-D6A3-494F-83F1-F158696DBF45@sigkill.org> Message-ID: On 11/17/05, Scott Laird wrote: > > It depends on which mode it's running in--in development mode, it > changes development.log, etc. Check your permissions--does webrick > have the ability to write to the logs? > > The permissions seem ok: -rwxrwxrwx access.log* -rwxrwxrwx development.log* -rwxrwxrwx error.log* -rw-rw-rw- fastcgi.crash.log -rw-rw-rw- production.log Thanks for the help, Bart -- "May the source be with you" From scott at sigkill.org Thu Nov 17 12:57:49 2005 From: scott at sigkill.org (Scott Laird) Date: Thu, 17 Nov 2005 09:57:49 -0800 Subject: [typo] Typo does not work any more In-Reply-To: References: <57F8F0E4-D6A3-494F-83F1-F158696DBF45@sigkill.org> Message-ID: <64055B3A-7BA3-4C16-A99F-12FE74A3991F@sigkill.org> On Nov 17, 2005, at 9:51 AM, Bart Braem wrote: > On 11/17/05, Scott Laird wrote: >> >> It depends on which mode it's running in--in development mode, it >> changes development.log, etc. Check your permissions--does webrick >> have the ability to write to the logs? >> >> > The permissions seem ok: > -rwxrwxrwx access.log* > -rwxrwxrwx development.log* > -rwxrwxrwx error.log* > -rw-rw-rw- fastcgi.crash.log > -rw-rw-rw- production.log Hmm. Try re-running webrick, then, and ask for a couple different pages--/, /admin/, and /images/powered.gif. What happens? Scott From bart.braem at gmail.com Thu Nov 17 13:13:32 2005 From: bart.braem at gmail.com (Bart Braem) Date: Thu, 17 Nov 2005 19:13:32 +0100 Subject: [typo] Typo does not work any more In-Reply-To: <64055B3A-7BA3-4C16-A99F-12FE74A3991F@sigkill.org> References: <57F8F0E4-D6A3-494F-83F1-F158696DBF45@sigkill.org> <64055B3A-7BA3-4C16-A99F-12FE74A3991F@sigkill.org> Message-ID: On 11/17/05, Scott Laird wrote: > > Hmm. Try re-running webrick, then, and ask for a couple different > pages--/, /admin/, and /images/powered.gif. What happens? > > Every dynamic page gives 500 Errors, only powered.gif works. I don't understand what's happening here, as the logs don't change. Bart -- "May the source be with you" From scott at sigkill.org Thu Nov 17 13:21:09 2005 From: scott at sigkill.org (Scott Laird) Date: Thu, 17 Nov 2005 10:21:09 -0800 Subject: [typo] Typo does not work any more In-Reply-To: References: <57F8F0E4-D6A3-494F-83F1-F158696DBF45@sigkill.org> <64055B3A-7BA3-4C16-A99F-12FE74A3991F@sigkill.org> Message-ID: <2E4537C4-914E-4FE3-BF4B-9D6E9237726C@sigkill.org> On Nov 17, 2005, at 10:13 AM, Bart Braem wrote: > On 11/17/05, Scott Laird wrote: >> >> Hmm. Try re-running webrick, then, and ask for a couple different >> pages--/, /admin/, and /images/powered.gif. What happens? >> >> > Every dynamic page gives 500 Errors, only powered.gif works. I don't > understand what's happening here, as the logs don't change. Okay, try running ./script/console and then typing this: Article.find(:all).size That *should* return the total number of articles that you have defined. I suspect that it will actually end up giving you an error message. Scott From bart.braem at gmail.com Thu Nov 17 13:35:02 2005 From: bart.braem at gmail.com (Bart Braem) Date: Thu, 17 Nov 2005 19:35:02 +0100 Subject: [typo] Typo does not work any more In-Reply-To: <2E4537C4-914E-4FE3-BF4B-9D6E9237726C@sigkill.org> References: <57F8F0E4-D6A3-494F-83F1-F158696DBF45@sigkill.org> <64055B3A-7BA3-4C16-A99F-12FE74A3991F@sigkill.org> <2E4537C4-914E-4FE3-BF4B-9D6E9237726C@sigkill.org> Message-ID: On 11/17/05, Scott Laird wrote: > > Okay, try running ./script/console and then typing this: > > Article.find(:all).size > > That *should* return the total number of articles that you have > defined. I suspect that it will actually end up giving you an error > message. > > That's more like it: oading development environment. >> Article.find(:all).size ActiveRecord::StatementInvalid: Lost connection to MySQL server during query: SELECT * FROM articles from /usr/lib/ruby/gems/1.8/gems/activerecord-1.13.0/lib/active_record/connection_adapters/abstract_adapter.rb:67:in `log' from /usr/lib/ruby/gems/1.8/gems/activerecord-1.13.0/lib/active_record/connection_adapters/mysql_adapter.rb:164:in `execute' from /usr/lib/ruby/gems/1.8/gems/activerecord-1.13.0/lib/active_record/connection_adapters/mysql_adapter.rb:297:in `select' from /usr/lib/ruby/gems/1.8/gems/activerecord-1.13.0/lib/active_record/connection_adapters/mysql_adapter.rb:143:in `select_all' from /usr/lib/ruby/gems/1.8/gems/activerecord-1.13.0/lib/active_record/base.rb:447:in `find_by_sql' from /usr/lib/ruby/gems/1.8/gems/activerecord-1.13.0/lib/active_record/base.rb:411:in `find' from (irb):1 from :0 But my and login work. Strange... Thanks for your help, Bart -- "May the source be with you" From scott at sigkill.org Thu Nov 17 13:39:40 2005 From: scott at sigkill.org (Scott Laird) Date: Thu, 17 Nov 2005 10:39:40 -0800 Subject: [typo] Typo does not work any more In-Reply-To: References: <57F8F0E4-D6A3-494F-83F1-F158696DBF45@sigkill.org> <64055B3A-7BA3-4C16-A99F-12FE74A3991F@sigkill.org> <2E4537C4-914E-4FE3-BF4B-9D6E9237726C@sigkill.org> Message-ID: On Nov 17, 2005, at 10:35 AM, Bart Braem wrote: > ActiveRecord::StatementInvalid: Lost connection to MySQL server during > query: SELECT * FROM articles > from /usr/lib/ruby/gems/1.8/gems/activerecord-1.13.0/lib/ > active_record/connection_adapters/abstract_adapter.rb:67:in > `log' > from /usr/lib/ruby/gems/1.8/gems/activerecord-1.13.0/lib/ > active_record/connection_adapters/mysql_adapter.rb:164:in > `execute' > from /usr/lib/ruby/gems/1.8/gems/activerecord-1.13.0/lib/ > active_record/connection_adapters/mysql_adapter.rb:297:in > `select' > from /usr/lib/ruby/gems/1.8/gems/activerecord-1.13.0/lib/ > active_record/connection_adapters/mysql_adapter.rb:143:in > `select_all' > from /usr/lib/ruby/gems/1.8/gems/activerecord-1.13.0/lib/ > active_record/base.rb:447:in > `find_by_sql' > from /usr/lib/ruby/gems/1.8/gems/activerecord-1.13.0/lib/ > active_record/base.rb:411:in > `find' > from (irb):1 > from :0 > But my and login work. Strange... So, either database.yml is broken (double-check that you aren't using tabs anywhere in the file) or the Rails-MySQL driver is broken. Do you have any other Rails apps on the box? Do they still work? Check in MySQL's logs and see if it's saying anything useful. Scott From jack.schwarz at gmail.com Thu Nov 17 19:39:26 2005 From: jack.schwarz at gmail.com (Jack Schwarz) Date: Thu, 17 Nov 2005 18:39:26 -0600 Subject: [typo] database migration failure [rev 755] Message-ID: Running the migration in /admin gave me a Typo application error. A "rake migrate RAILS_ENV=production" gave me the following: Adding Redirect Table rake aborted! You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'to varchar(255)) ENGINE=InnoDB' at line 1: CREATE TABLE redirects (id int(11) DEFAULT NULL auto_increment PRIMARY KEY, from_path varchar(255), to varchar(255)) ENGINE=InnoDB Currently running Typo on TextDrive. Thanks, Jack From kheon at comcast.net Thu Nov 17 19:40:39 2005 From: kheon at comcast.net (Kyle Heon) Date: Thu, 17 Nov 2005 19:40:39 -0500 Subject: [typo] Error running migrate with svn up tonigth (rev 755) In-Reply-To: Message-ID: <200511180031.jAI0VW05024205@rubyforge.org> I updated last night and again tonight. Last night I was able to migrate without any issue but tonight it's failing with: ------------------------------------------------------------ ActiveRecord::StatementInvalid in Admin/general#migrate #42000You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'to varchar(255)) ENGINE=InnoDB' at line 1: CREATE TABLE redirects (id int(11) DEFAULT NULL auto_increment PRIMARY KEY, from_path varchar(255), to varchar(255)) ENGINE=InnoDB ------------------------------------------------------------ I don't have the foggiest idea where to start troubleshooting this one. Kyle Heon kheon at comcast.net From trejkaz at trypticon.org Thu Nov 17 20:43:45 2005 From: trejkaz at trypticon.org (Trejkaz) Date: Fri, 18 Nov 2005 12:43:45 +1100 (EST) Subject: [typo] generating the base URL In-Reply-To: <3f1760511170744u27317d59v@mail.gmail.com> References: <437C99FC.90601@i-marco.nl> <3f1760511170744u27317d59v@mail.gmail.com> Message-ID: <2099.210.50.55.251.1132278225.squirrel@home.trypticon.org> >> I'm looking for a way to generate a Typo blog's base URL. >> I have a default gravatar in my theme which I want to send as a >> parameter to gravatar.com. >> I can generate a path like /images/theme/default_gravatar.png but I >> actually need: >> >> http://www.serverhostname.com/images/theme/default_gravatar.png >> >> Is there any way to generate that string from within Typo? >> >> I looked through the Rails API but I can't find a thing.... > url_for() The "Rails Way" is to use image_path() because assets can be on a completely different URL root from the controllers. TX From bart.braem at gmail.com Fri Nov 18 02:32:52 2005 From: bart.braem at gmail.com (Bart Braem) Date: Fri, 18 Nov 2005 08:32:52 +0100 Subject: [typo] database migration failure [rev 755] In-Reply-To: References: Message-ID: This is a stupid question probably, but should you use rake to upgrade or rather checkout a new version? In my case I just fetched a new release and copied the configs and the .htaccess files over. Is that the correct way? Bart On 11/18/05, Jack Schwarz wrote: > Running the migration in /admin gave me a Typo application error. A > "rake migrate RAILS_ENV=production" gave me the following: > > Adding Redirect Table > rake aborted! > You have an error in your SQL syntax; check the manual that > corresponds to your MySQL server version for the right syntax to use > near 'to varchar(255)) ENGINE=InnoDB' at line 1: CREATE TABLE > redirects (id int(11) DEFAULT NULL auto_increment PRIMARY KEY, > from_path varchar(255), to varchar(255)) ENGINE=InnoDB > > Currently running Typo on TextDrive. > > Thanks, > Jack > > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list > -- "May the source be with you" From victor-typo at carotena.net Fri Nov 18 04:02:23 2005 From: victor-typo at carotena.net (Victor Jalencas) Date: Fri, 18 Nov 2005 10:02:23 +0100 Subject: [typo] Draft sidebar Message-ID: <437D989F.3060602@carotena.net> Hi, this is to let you know that last night I uploaded a patch (#530) for creating a new sidebar module, which puts a list of the unpublished articles you are preparing. Please note that instead of generating the patch from the command line I used textmate's diff generator, which made it end up a bit weird (with revision number 0 and without specifying the full path). It was pretty late and I didn't notice until this morning. If need be I'll resubmit again, but it's pretty easy to deduce where the files go. Please give it a whirl and provide feedback. I think the configuration is enough to make it work, but if you need a tweak or something to make it more useful just let me know. Cheers Victor From riedel at ibr-oss.de Fri Nov 18 06:32:42 2005 From: riedel at ibr-oss.de (Stefan Konrad Riedel) Date: Fri, 18 Nov 2005 12:32:42 +0100 Subject: [typo] Typo does not work any more (latest trunk, Rails 0.14.3) In-Reply-To: References: Message-ID: <437DBBDA.2060504@ibr-oss.de> My blog worked fine until I tried to update it .... log/fcgi_crash.log: is empty Other Rails Applications are doing fine on this server, Typo under WebRick is also working fine, BUT ruby /var/www/domains/ibr-oss.de/vhosts/blog/trunk/public/dispatch.fcgi gives Status: 500 Internal Server Error FastCGI: comm with (dynamic) server "/var/www/domains/ibr-oss.de/vhosts/blog/htdocs/dispatch.fcgi" aborted: (first read) idle timeout (30 sec) FastCGI: incomplete headers (0 bytes) received from server "/var/www/domains/ibr-oss.de/vhosts/blog/htdocs/dispatch.fcgi" What now? How can this be debugged? Any help appreciated, I want my blog back! Konrad From phil at cryer.us Fri Nov 18 11:06:46 2005 From: phil at cryer.us (phil) Date: Fri, 18 Nov 2005 10:06:46 -0600 Subject: [typo] Color picker In-Reply-To: CF5F7E3B-C686-47BB-B220-A12C47A2D979@daikini.com Message-ID: http://stylephreak.frogrun.com/cm.php Looks amazingly useful to get a group of colors together that mix well on the color wheel; and for a theme. P From bart.braem at gmail.com Fri Nov 18 11:49:01 2005 From: bart.braem at gmail.com (Bart Braem) Date: Fri, 18 Nov 2005 17:49:01 +0100 Subject: [typo] Typo does not work any more In-Reply-To: References: <57F8F0E4-D6A3-494F-83F1-F158696DBF45@sigkill.org> <64055B3A-7BA3-4C16-A99F-12FE74A3991F@sigkill.org> <2E4537C4-914E-4FE3-BF4B-9D6E9237726C@sigkill.org> Message-ID: On 11/17/05, Scott Laird wrote: > > So, either database.yml is broken (double-check that you aren't using > tabs anywhere in the file) or the Rails-MySQL driver is broken. Do > you have any other Rails apps on the box? Do they still work? > > Check in MySQL's logs and see if it's saying anything useful. > > I have installed the MySQL C bindings and completely reinstalled rails with all its dependency gems, now that's not a problem any more. But now I get this message when I view my blog: then I get this nice error: ../themes/dots/views../../themes/dots/views. (dots is my theme) Rss feeds work again, rendering html doesn't. Any ideas on what to try now? Older versions (2.5.6) do work, but those have security bugs... Thanks for your help, Bart -- "May the source be with you" From mbjones at ou.edu Fri Nov 18 11:52:22 2005 From: mbjones at ou.edu (Brandon Jones) Date: Fri, 18 Nov 2005 10:52:22 -0600 Subject: [typo] Site5 Message-ID: Does anyone host rails apps (particularly typo) with Site5? If so how is performance? My contract with dreamhost will soon run out and I am somewhat unhappy with the performance I've been getting as of late and was looking for something else. Site5's current special is attractive, but would like others opinions before just jumping on it. Brandon From scott at sigkill.org Fri Nov 18 11:55:51 2005 From: scott at sigkill.org (Scott Laird) Date: Fri, 18 Nov 2005 08:55:51 -0800 Subject: [typo] Typo does not work any more In-Reply-To: References: <57F8F0E4-D6A3-494F-83F1-F158696DBF45@sigkill.org> <64055B3A-7BA3-4C16-A99F-12FE74A3991F@sigkill.org> <2E4537C4-914E-4FE3-BF4B-9D6E9237726C@sigkill.org> Message-ID: <437EFAF8-4AD9-4B81-9578-010173E15927@sigkill.org> On Nov 18, 2005, at 8:49 AM, Bart Braem wrote: > On 11/17/05, Scott Laird wrote: >> >> So, either database.yml is broken (double-check that you aren't using >> tabs anywhere in the file) or the Rails-MySQL driver is broken. Do >> you have any other Rails apps on the box? Do they still work? >> >> Check in MySQL's logs and see if it's saying anything useful. >> >> > I have installed the MySQL C bindings and completely reinstalled rails > with all its dependency gems, now that's not a problem any more. > But now I get this message when I view my blog: > then I get this nice error: > ../themes/dots/views../../themes/dots/views. > (dots is my theme) > Rss feeds work again, rendering html doesn't. Any ideas on what to try > now? Older versions (2.5.6) do work, but those have security bugs... Does the default theme (azure) work? Scott From jack.schwarz at gmail.com Fri Nov 18 12:19:14 2005 From: jack.schwarz at gmail.com (Jack Schwarz) Date: Fri, 18 Nov 2005 11:19:14 -0600 Subject: [typo] Error running migrate with svn up tonigth (rev 755) In-Reply-To: <200511180031.jAI0VW05024205@rubyforge.org> References: <200511180031.jAI0VW05024205@rubyforge.org> Message-ID: Revision [757] successfully fixes this problem. Thanks Scott. On 11/17/05, Kyle Heon wrote: > I updated last night and again tonight. Last night I was able to migrate > without any issue but tonight it's failing with: > > ------------------------------------------------------------ > ActiveRecord::StatementInvalid in Admin/general#migrate > > #42000You have an error in your SQL syntax; check the manual that > corresponds to your MySQL server version for the right syntax to use near > 'to varchar(255)) ENGINE=InnoDB' at line 1: CREATE TABLE redirects (id > int(11) DEFAULT NULL auto_increment PRIMARY KEY, from_path varchar(255), to > varchar(255)) ENGINE=InnoDB > ------------------------------------------------------------ > > I don't have the foggiest idea where to start troubleshooting this one. > > Kyle Heon > kheon at comcast.net > > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list > From bart.braem at gmail.com Fri Nov 18 12:54:17 2005 From: bart.braem at gmail.com (Bart Braem) Date: Fri, 18 Nov 2005 18:54:17 +0100 Subject: [typo] Typo does not work any more In-Reply-To: <437EFAF8-4AD9-4B81-9578-010173E15927@sigkill.org> References: <57F8F0E4-D6A3-494F-83F1-F158696DBF45@sigkill.org> <64055B3A-7BA3-4C16-A99F-12FE74A3991F@sigkill.org> <2E4537C4-914E-4FE3-BF4B-9D6E9237726C@sigkill.org> <437EFAF8-4AD9-4B81-9578-010173E15927@sigkill.org> Message-ID: On 11/18/05, Scott Laird wrote: > > > On Nov 18, 2005, at 8:49 AM, Bart Braem wrote: > > > On 11/17/05, Scott Laird wrote: > >> > >> So, either database.yml is broken (double-check that you aren't using > >> tabs anywhere in the file) or the Rails-MySQL driver is broken. Do > >> you have any other Rails apps on the box? Do they still work? > >> > >> Check in MySQL's logs and see if it's saying anything useful. > >> > >> > > I have installed the MySQL C bindings and completely reinstalled rails > > with all its dependency gems, now that's not a problem any more. > > But now I get this message when I view my blog: > > then I get this nice error: > > ../themes/dots/views../../themes/dots/views. > > (dots is my theme) > > Rss feeds work again, rendering html doesn't. Any ideas on what to try > > now? Older versions (2.5.6) do work, but those have security bugs... > > Does the default theme (azure) work? > Can I change the theme using something else than Typo itself? Can I change some file or a database entry? Bart -- "May the source be with you" -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/typo-list/attachments/20051118/4fe7520f/attachment.htm From aaron at munge.net Fri Nov 18 13:03:54 2005 From: aaron at munge.net (Aaron Malone) Date: Fri, 18 Nov 2005 12:03:54 -0600 Subject: [typo] Typo does not work any more In-Reply-To: References: <57F8F0E4-D6A3-494F-83F1-F158696DBF45@sigkill.org> <64055B3A-7BA3-4C16-A99F-12FE74A3991F@sigkill.org> <2E4537C4-914E-4FE3-BF4B-9D6E9237726C@sigkill.org> <437EFAF8-4AD9-4B81-9578-010173E15927@sigkill.org> Message-ID: <437E178A.4000806@munge.net> Bart Braem wrote, On 11/18/2005 11:54 AM: > Can I change the theme using something else than Typo itself? Can I > change some file or a database entry? Sure: UPDATE settings SET value='azure' WHERE name='theme'; -- Aaron Malone aaron at munge.net From rsanheim at gmail.com Fri Nov 18 13:06:52 2005 From: rsanheim at gmail.com (Rob Sanheim) Date: Fri, 18 Nov 2005 12:06:52 -0600 Subject: [typo] Site5 In-Reply-To: References: Message-ID: On 11/18/05, Brandon Jones wrote: > Does anyone host rails apps (particularly typo) with Site5? If so > how is performance? My contract with dreamhost will soon run out > and I am somewhat unhappy with the performance I've been getting as > of late and was looking for something else. Site5's current special > is attractive, but would like others opinions before just jumping on it. > > Brandon I have no experience with Site5, but I can wholeheartedly recommend Rimuhosting for Rails hosting (http://www.rimuhosting.com). You get your own VPS server with root access, and the performance is great with the Xen system they are using. You can install whatever you want so you can set up your own DNS server, SMTP, whatever in addition to Typo+rails. Ezra has posted a detailed tutorial that he has used for getting up and running on a Debian rimu box with Rails plus a bunch of other goodies (http://brainspl.at/rails_stack.html). Also, the rimuhosting support has been fantastic. I'm just using my rimu box for java and wordpress hosting right now, but I think a VPS system of some sort is really the way to go for stable rails hosting. Good luck with whatever you go with! - Rob -- http://www.robsanheim.com/ http://www.ajaxian.com/ From bart.braem at gmail.com Fri Nov 18 13:22:29 2005 From: bart.braem at gmail.com (Bart Braem) Date: Fri, 18 Nov 2005 19:22:29 +0100 Subject: [typo] Typo does not work any more In-Reply-To: <437E178A.4000806@munge.net> References: <64055B3A-7BA3-4C16-A99F-12FE74A3991F@sigkill.org> <2E4537C4-914E-4FE3-BF4B-9D6E9237726C@sigkill.org> <437EFAF8-4AD9-4B81-9578-010173E15927@sigkill.org> <437E178A.4000806@munge.net> Message-ID: On 11/18/05, Aaron Malone wrote: > Bart Braem wrote, On 11/18/2005 11:54 AM: > > Can I change the theme using something else than Typo itself? Can I > > change some file or a database entry? > > Sure: > UPDATE settings SET value='azure' WHERE name='theme'; > Nice, everything is properly stored in the settings table. I'm learning Typo too, that's one of the nicer things of this problem I have to say. The result stays the same, altough I restarted my WEBrick. There's still an Apache running however, would that pose problems? Thanks for your help, Bart -- "May the source be with you" From tobias.luetke at gmail.com Fri Nov 18 14:00:59 2005 From: tobias.luetke at gmail.com (Tobias Luetke) Date: Fri, 18 Nov 2005 14:00:59 -0500 Subject: [typo] Site5 In-Reply-To: References: Message-ID: <9963c1bd0511181100n3bd02de8i20d85b9c0d11de85@mail.gmail.com> Considering that Site5 is the biggest investor in the typo theme contest by supplying a powerbook and an ibook and that their CTO runs planet-typo i doubt you could go with a better host. On 11/18/05, Brandon Jones wrote: > Does anyone host rails apps (particularly typo) with Site5? If so > how is performance? My contract with dreamhost will soon run out > and I am somewhat unhappy with the performance I've been getting as > of late and was looking for something else. Site5's current special > is attractive, but would like others opinions before just jumping on it. > > Brandon > > > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list > -- Tobi http://jadedpixel.com - modern e-commerce software http://typo.leetsoft.com - Open source weblog engine http://blog.leetsoft.com - Technical weblog From adam.greenfield at site5.com Sat Nov 19 00:03:00 2005 From: adam.greenfield at site5.com (Adam C. Greenfield) Date: Sat, 19 Nov 2005 00:03:00 -0500 Subject: [typo] Site5 In-Reply-To: References: Message-ID: On Nov 18, 2005, at 11:52 AM, Brandon Jones wrote: > Does anyone host rails apps (particularly typo) with Site5? If so > how is performance? My contract with dreamhost will soon run out > and I am somewhat unhappy with the performance I've been getting as > of late and was looking for something else. Site5's current special > is attractive, but would like others opinions before just jumping > on it. We have plenty of clients running typo on our shared hosting machines. I'm not sure how many of them are on this list, but my personal sites, as well as my professional typo blog (adamgreenfield.com) are hosted on a standard Site5 shared hosting rig. As Tobias noted we also proud host Planet Typo (again, on a standard shared hosting machine) and there are a number of reviews available for our services in general around reputable hosting review sites. If you do decide you to with us, and if you need (or want) any assistance getting your typo install up and rolling, please don't hesitate to CC me when you contact support. -- Adam C. Greenfield Chief Technology Officer Site5 Internet Solutions, Inc. Phone: (888) 748-3526 x 906 E-Mail: adam.greenfield at site5.com From logan.utility at gmail.com Sat Nov 19 02:19:01 2005 From: logan.utility at gmail.com (Tony Tseng) Date: Fri, 18 Nov 2005 23:19:01 -0800 Subject: [typo] Installation Problem - 500 Internal Server Error In-Reply-To: References: Message-ID: Hi, I'm trying to install typo 2.6.0, and I've been getting the dreaded 500 status code without any useful stack trace/error message at all. Here's my environment: ruby 1.8.3 rails 0.14.3 postgresql 8.1 I doubt this is an environment issue, as my other rails apps are working. Also I'm just trying to get typo to work in webrick, so this is not a lighttpd/apache conf issue. The log file only contains the creation date comment. Has anybody encountered a similar issue? Any help is appreciated. Cheers, Tony From ccagle at alumni.utexas.net Sat Nov 19 02:39:03 2005 From: ccagle at alumni.utexas.net (Clint Cagle) Date: Sat, 19 Nov 2005 01:39:03 -0600 Subject: [typo] Installation Problem - 500 Internal Server Error In-Reply-To: References: Message-ID: <030C2259-15D8-4D58-AEB3-793158B9D2CC@alumni.utexas.net> are you pointing your browser to http://localhost:3000 ? This is the webrick default port. Also, have you configured the typo/ config/database.yml file. This file cannot contain tabs, just use spaces. Did you install the database schema to the postgres database? Just my initial thoughts... On Nov 19, 2005, at 1:19 AM, Tony Tseng wrote: > Hi, > I'm trying to install typo 2.6.0, and I've been getting the dreaded > 500 status code without any useful stack trace/error message at all. > > Here's my environment: > ruby 1.8.3 > rails 0.14.3 > postgresql 8.1 > > I doubt this is an environment issue, as my other rails apps are > working. Also I'm just trying to get typo to work in webrick, so this > is not a lighttpd/apache conf issue. > > The log file only contains the creation date comment. > > Has anybody encountered a similar issue? Any help is appreciated. > > Cheers, > Tony > > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list > From charles.gerungan at gmail.com Sat Nov 19 05:36:19 2005 From: charles.gerungan at gmail.com (Charles M. Gerungan) Date: Sat, 19 Nov 2005 11:36:19 +0100 Subject: [typo] Typo does not work any more In-Reply-To: References: <57F8F0E4-D6A3-494F-83F1-F158696DBF45@sigkill.org> <64055B3A-7BA3-4C16-A99F-12FE74A3991F@sigkill.org> <2E4537C4-914E-4FE3-BF4B-9D6E9237726C@sigkill.org> Message-ID: On 17-nov-2005, at 19:39, Scott Laird wrote: >> ActiveRecord::StatementInvalid: Lost connection to MySQL server >> during >> query: SELECT * FROM articles Might be related: http://dev.rubyonrails.org/ticket/428 -- Regards, Charles. From bart.braem at gmail.com Sat Nov 19 07:44:21 2005 From: bart.braem at gmail.com (Bart Braem) Date: Sat, 19 Nov 2005 13:44:21 +0100 Subject: [typo] Typo does not work any more In-Reply-To: References: <57F8F0E4-D6A3-494F-83F1-F158696DBF45@sigkill.org> <64055B3A-7BA3-4C16-A99F-12FE74A3991F@sigkill.org> <2E4537C4-914E-4FE3-BF4B-9D6E9237726C@sigkill.org> Message-ID: On 11/19/05, Charles M. Gerungan wrote: > On 17-nov-2005, at 19:39, Scott Laird wrote: > > >> ActiveRecord::StatementInvalid: Lost connection to MySQL server > >> during > >> query: SELECT * FROM articles > > Might be related: http://dev.rubyonrails.org/ticket/428 > That seems to be solved, but the render problem stays (only themes directory path is displayed). I am wondering if a running FastCGI instance caches some things. My database entries have changed but Typo still wants to use the dots theme. I have copied a running Typo from the same host, changed the settings to my database and it does not work either. It gives exactly the same output. I then used that config file in my copy: nothing. Started a webrick instance: it works, with his output, so that's his cache too. Stopped the webrick instance and copied over my config: shows his data (cache?). What is going on here? This is just crazy, my blog seems to be doomed. Should I reinstall or something like that? I don't like the idea of loosing all my data... -- "May the source be with you" From scott at sigkill.org Sat Nov 19 10:37:26 2005 From: scott at sigkill.org (Scott Laird) Date: Sat, 19 Nov 2005 07:37:26 -0800 Subject: [typo] Typo does not work any more In-Reply-To: References: <57F8F0E4-D6A3-494F-83F1-F158696DBF45@sigkill.org> <64055B3A-7BA3-4C16-A99F-12FE74A3991F@sigkill.org> <2E4537C4-914E-4FE3-BF4B-9D6E9237726C@sigkill.org> Message-ID: <4AC3E715-3D95-45C9-B2BB-9ECE76049B40@sigkill.org> On Nov 19, 2005, at 4:44 AM, Bart Braem wrote: > On 11/19/05, Charles M. Gerungan wrote: >> On 17-nov-2005, at 19:39, Scott Laird wrote: >> >>>> ActiveRecord::StatementInvalid: Lost connection to MySQL server >>>> during >>>> query: SELECT * FROM articles >> >> Might be related: http://dev.rubyonrails.org/ticket/428 >> > That seems to be solved, but the render problem stays (only themes > directory path is displayed). I am wondering if a running FastCGI > instance caches some things. My database entries have changed but Typo > still wants to use the dots theme. I have copied a running Typo from > the same host, changed the settings to my database and it does not > work either. It gives exactly the same output. > I then used that config file in my copy: nothing. Started a webrick > instance: it works, with his output, so that's his cache too. Stopped > the webrick instance and copied over my config: shows his data > (cache?). > > What is going on here? This is just crazy, my blog seems to be doomed. > Should I reinstall or something like that? I don't like the idea of > loosing all my data... Try this: rm -rf public/index.html public/articles public/xml Then re-test. You might have a page stuck in the cache. Scott From scott at sigkill.org Sat Nov 19 10:40:15 2005 From: scott at sigkill.org (Scott Laird) Date: Sat, 19 Nov 2005 07:40:15 -0800 Subject: [typo] Installation Problem - 500 Internal Server Error In-Reply-To: References: Message-ID: <277C45F5-C1E6-4149-8E24-D54F0D8A9EEC@sigkill.org> On Nov 18, 2005, at 11:19 PM, Tony Tseng wrote: > Hi, > I'm trying to install typo 2.6.0, and I've been getting the dreaded > 500 status code without any useful stack trace/error message at all. > > Here's my environment: > ruby 1.8.3 > rails 0.14.3 > postgresql 8.1 > > I doubt this is an environment issue, as my other rails apps are > working. Also I'm just trying to get typo to work in webrick, so this > is not a lighttpd/apache conf issue. You're getting a 500 error out of webrick? 75% chance it's a database config problem. Try running ./script/console and then doing Article.find(:all). Does that produce an exception? Scott From bart.braem at gmail.com Sat Nov 19 12:34:51 2005 From: bart.braem at gmail.com (Bart Braem) Date: Sat, 19 Nov 2005 18:34:51 +0100 Subject: [typo] Typo does not work any more In-Reply-To: <4AC3E715-3D95-45C9-B2BB-9ECE76049B40@sigkill.org> References: <64055B3A-7BA3-4C16-A99F-12FE74A3991F@sigkill.org> <2E4537C4-914E-4FE3-BF4B-9D6E9237726C@sigkill.org> <4AC3E715-3D95-45C9-B2BB-9ECE76049B40@sigkill.org> Message-ID: On 11/19/05, Scott Laird wrote: > > Try this: > > rm -rf public/index.html public/articles public/xml > > Then re-test. You might have a page stuck in the cache. > > Great, that solved it! Thank you very much for your help! Bart -- "May the source be with you" From fuzzyfree at gmail.com Sat Nov 19 20:43:51 2005 From: fuzzyfree at gmail.com (Freedom Dumlao) Date: Sat, 19 Nov 2005 20:43:51 -0500 Subject: [typo] flickr XMLRPC not working? Message-ID: I have posted a bug with flickr, but I was just curious... Is anyone else having trouble posting to thier Typo blog with flickr using Metaweblog API? I have no problem when I use ecto, but it seems that flickr gets errorrs. Also, I tried posting to my old WordPress blog from flickr and it worked fine... any ideas? From scott at sigkill.org Sat Nov 19 23:09:17 2005 From: scott at sigkill.org (Scott Laird) Date: Sat, 19 Nov 2005 20:09:17 -0800 Subject: [typo] flickr XMLRPC not working? In-Reply-To: References: Message-ID: On Nov 19, 2005, at 5:43 PM, Freedom Dumlao wrote: > I have posted a bug with flickr, but I was just curious... Is anyone > else having trouble posting to thier Typo blog with flickr using > Metaweblog API? I have no problem when I use ecto, but it seems that > flickr gets errorrs. > > Also, I tried posting to my old WordPress blog from flickr and it > worked fine... any ideas? This is the second report that I've seen in the past couple days; can you check the Typo ticket system and create a new bug for this if there isn't one already? Scott From gilgit at gmail.com Sat Nov 19 23:47:27 2005 From: gilgit at gmail.com (David Richardson) Date: Sat, 19 Nov 2005 21:47:27 -0700 Subject: [typo] Future-dated Articles Message-ID: <35ac07b90511192047j51f5cb8cg6aeb9ff5ba0e3ace@mail.gmail.com> Typo does not seem to respect future-dated posts. - Articles that have a post date in the future are always displayed. - Articles submitted using XML-RPC clients (ecto specifically, but probably all) have dates set to the current time if they are posted with a future date/time. Am I missing something here (before I fix it)? Cheers, D.R. From justus at ryoohki.net Sat Nov 19 23:58:50 2005 From: justus at ryoohki.net (Justus Pendleton) Date: Sat, 19 Nov 2005 21:58:50 -0700 Subject: [typo] Future-dated Articles In-Reply-To: <35ac07b90511192047j51f5cb8cg6aeb9ff5ba0e3ace@mail.gmail.com> References: <35ac07b90511192047j51f5cb8cg6aeb9ff5ba0e3ace@mail.gmail.com> Message-ID: <4380028A.3060100@ryoohki.net> David Richardson wrote: > Typo does not seem to respect future-dated posts. > [...] > Am I missing something here (before I fix it)? There is an open ticket for this, so I'm sure a fix would be appreciated. Look at ticket #222 in trac and the "Articles" section of the wishlist: http://typo.leetsoft.com/trac/wiki/TypoWishlist How do you plan on handling sweeping the cache to make the article appear? From logan.utility at gmail.com Sun Nov 20 00:10:11 2005 From: logan.utility at gmail.com (Tony Tseng) Date: Sat, 19 Nov 2005 21:10:11 -0800 Subject: [typo] Installation Problem - 500 Internal Server Error In-Reply-To: <277C45F5-C1E6-4149-8E24-D54F0D8A9EEC@sigkill.org> References: <277C45F5-C1E6-4149-8E24-D54F0D8A9EEC@sigkill.org> Message-ID: Thanks, both Clint and Scott. You guys are right on. /script/console did the trick; it showed that it's a db permission problem. -Tony On 11/19/05, Scott Laird wrote: > > On Nov 18, 2005, at 11:19 PM, Tony Tseng wrote: > > Hi, > > I'm trying to install typo 2.6.0, and I've been getting the dreaded > > 500 status code without any useful stack trace/error message at all. > > > > Here's my environment: > > ruby 1.8.3 > > rails 0.14.3 > > postgresql 8.1 > > > > I doubt this is an environment issue, as my other rails apps are > > working. Also I'm just trying to get typo to work in webrick, so this > > is not a lighttpd/apache conf issue. > > You're getting a 500 error out of webrick? 75% chance it's a > database config problem. > > Try running ./script/console and then doing Article.find(:all). Does > that produce an exception? > > > Scott > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list > From gilgit at gmail.com Sun Nov 20 00:12:30 2005 From: gilgit at gmail.com (David Richardson) Date: Sat, 19 Nov 2005 22:12:30 -0700 Subject: [typo] Future-dated Articles In-Reply-To: <4380028A.3060100@ryoohki.net> References: <35ac07b90511192047j51f5cb8cg6aeb9ff5ba0e3ace@mail.gmail.com> <4380028A.3060100@ryoohki.net> Message-ID: <35ac07b90511192112g6423c745nc8138980c6ba93fd@mail.gmail.com> I haven't looked at it carefully yet - that is why I asked first :-). I wonder if there are any other implications? In any case, this is a must have for me, so it will be fixed sooner rather than later. By the way, what's with the 'Typo 4 Feature list' ? I just downloaded v 2.6. From trejkaz at trypticon.org Sun Nov 20 00:26:47 2005 From: trejkaz at trypticon.org (Trejkaz) Date: Sun, 20 Nov 2005 16:26:47 +1100 Subject: [typo] Future-dated Articles In-Reply-To: <4380028A.3060100@ryoohki.net> References: <35ac07b90511192047j51f5cb8cg6aeb9ff5ba0e3ace@mail.gmail.com> <4380028A.3060100@ryoohki.net> Message-ID: <200511201626.49309.trejkaz@trypticon.org> On Sunday 20 November 2005 15:58, Justus Pendleton wrote: > How do you plan on handling sweeping the cache to make the article appear? I was thinking about this for something else on my own installation, and I suspect the best way to do it would be as a cron job which just uses script/runner to execute some sweeper method. Perhaps there could be some kind of general "maintenance" action which gets run once an hour, that can be plugged into to do things like sweeping the cache. TX -- Email: Trejkaz Xaoza Web site: http://trypticon.org/ Jabber ID: trejkaz at jabber.zim.net.au 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/20051120/a76752c2/attachment.bin From edavis10 at gmail.com Sun Nov 20 03:40:06 2005 From: edavis10 at gmail.com (Eric Davis) Date: Sun, 20 Nov 2005 00:40:06 -0800 Subject: [typo] Future-dated Articles In-Reply-To: <35ac07b90511192112g6423c745nc8138980c6ba93fd@mail.gmail.com> References: <35ac07b90511192047j51f5cb8cg6aeb9ff5ba0e3ace@mail.gmail.com> <4380028A.3060100@ryoohki.net> <35ac07b90511192112g6423c745nc8138980c6ba93fd@mail.gmail.com> Message-ID: On Nov 19, 2005, at 9:12 PM, David Richardson wrote: > By the way, what's with the 'Typo 4 Feature list' ? I just > downloaded v 2.6. Typo is skipping version 3 as it has a conflict with the name of Typo3 (http://www.typo3.org/). Plus higher release numbers please the PHBs. Eric Davis edavis10 at gmail.com | www.theadmin.org =-=-= v2sw5Yhw5ln3pr6Ock4ma3u6MLw3m7l6DiJe6t3b8Oen5g5Ma21s5Mr2p6 hackerkey.com From victor-typo at carotena.net Sun Nov 20 04:28:54 2005 From: victor-typo at carotena.net (Victor Jalencas) Date: Sun, 20 Nov 2005 10:28:54 +0100 Subject: [typo] Future-dated Articles In-Reply-To: <35ac07b90511192047j51f5cb8cg6aeb9ff5ba0e3ace@mail.gmail.com> References: <35ac07b90511192047j51f5cb8cg6aeb9ff5ba0e3ace@mail.gmail.com> Message-ID: <438041D6.5020909@carotena.net> David Richardson wrote: > Typo does not seem to respect future-dated posts. > > - Articles that have a post date in the future are always displayed. > > - Articles submitted using XML-RPC clients (ecto specifically, but > probably all) have dates set to the current time if they are posted > with a future date/time. > > Am I missing something here (before I fix it)? Well, while I think typo should honor the date sent by an XML-RPC client, I think that whether publishing it or not is at least open for discussion. I don't necessarily interpret the semantics of a future-dated post as you seem to do. Where does it say that a future-dated post does not have to appear until that date? Don't get me wrong, while I am able to understand the reasoning behind that assumption, I am also able to understand that the date be nothing else but a property of the post, and in most cases I'd prefer the second interpretation. I think that this type of feature is more appropriate for a CMS than for a blog engine. And, in the same manner that you want to have a window for (beginning of) publication, some might say that they also want to have a date after which the post would no longer be visible. So perhaps a different, new property would be more appropriate Cheers Victor From victor-typo at carotena.net Sun Nov 20 05:03:47 2005 From: victor-typo at carotena.net (Victor Jalencas) Date: Sun, 20 Nov 2005 11:03:47 +0100 Subject: [typo] New column for content table? Message-ID: <43804A03.8050100@carotena.net> Hi I am thinking on adding a new sidebar module for 'starring' certain articles so that they are always available in the front page and don't fall off once you post more articles. That way, your most popular articles would always be available with a single hop from the main page. Since this means adding a column to the content table (I guess 'starred' is a good name) I'd like to gather opinions before proceeding (even when I will only be modifying my own install for the time being) so that most people (and, especially, the maintainers) agree with the change. So, what do you think? Is this appropriate? Cheers Victor From jb at justbe.com Sun Nov 20 06:47:31 2005 From: jb at justbe.com (Joerg Battermann) Date: Sun, 20 Nov 2005 12:47:31 +0100 Subject: [typo] flickr XMLRPC not working? Message-ID: Hey there, I use(d) the movable-type api at flickr for a picture-based blog-entry every now and then, but it seems flickr now automatically assumes, that the xmlrpc backend is located under "/backend/xmlrpc/mt-xmlrpc.cgi". I re-added my blog in my flicker account's settings, and it detected it fine using the actual typo-url, but after validating et all, it again uses the url above :\ it's definetly a flickr bug from what I can tell... Best regards / MfG, -- Joerg Battermann jb at justBE.com http://www.justBE.com - blog: http://blog.justBE.com PGP-KeyID: 0x77007DA6 PGP-Fingerprint: 0461 F2EC 53EB CEBE 6B73 8EEC 64AD 0606 7700 7DA6 -----Original Message----- From: typo-list-bounces at rubyforge.org [mailto:typo-list-bounces at rubyforge.org] On Behalf Of Freedom Dumlao Sent: Sonntag, 20. November 2005 02:44 To: typo-list at rubyforge.org Subject: [typo] flickr XMLRPC not working? I have posted a bug with flickr, but I was just curious... Is anyone else having trouble posting to thier Typo blog with flickr using Metaweblog API? I have no problem when I use ecto, but it seems that flickr gets errorrs. Also, I tried posting to my old WordPress blog from flickr and it worked fine... any ideas? _______________________________________________ Typo-list mailing list Typo-list at rubyforge.org http://rubyforge.org/mailman/listinfo/typo-list From scott at sigkill.org Sun Nov 20 11:10:21 2005 From: scott at sigkill.org (Scott Laird) Date: Sun, 20 Nov 2005 08:10:21 -0800 Subject: [typo] Future-dated Articles In-Reply-To: <438041D6.5020909@carotena.net> References: <35ac07b90511192047j51f5cb8cg6aeb9ff5ba0e3ace@mail.gmail.com> <438041D6.5020909@carotena.net> Message-ID: <42A1EF45-687E-41C2-9433-6A8858863602@sigkill.org> On Nov 20, 2005, at 1:28 AM, Victor Jalencas wrote: > > Well, while I think typo should honor the date sent by an XML-RPC > client, I think that whether publishing it or not is at least open for > discussion. I don't necessarily interpret the semantics of a > future-dated post as you seem to do. Where does it say that a > future-dated post does not have to appear until that date? 1. The XMLRPC future-date problem is a bug. Can someone please file it? 2. The "future-dated post" semantics are pretty well established with Movable Type, etc. It'd be nice to support them, but our cache doesn't make this very easy. I'd gladly accept a patch that does the easy side of things--ignore future-dated articles when showing posts. If someone can fix that, then I'll finish some cache work that I've been doing, and I think we'll be able to make it work. Scott From scott at sigkill.org Sun Nov 20 11:13:48 2005 From: scott at sigkill.org (Scott Laird) Date: Sun, 20 Nov 2005 08:13:48 -0800 Subject: [typo] flickr XMLRPC not working? In-Reply-To: References: Message-ID: <712AA226-7D62-4073-86A2-CD03E753711F@sigkill.org> Wow, nice job Flickr. They *should* be using RSD to determine where our XML-RPC URI lives; I'm pretty sure that we're generating valid RSD. I've tested it with a number of implementations, including a quick test of my own, but never actually read the spec. If you can verify this, then report it as a bug to Flickr. As a workaround, we do support the metaweblog API and blogger APIs. There's no Atom API support; we'll get around to it eventually. Scott On Nov 20, 2005, at 3:47 AM, Joerg Battermann wrote: > Hey there, > > I use(d) the movable-type api at flickr for a picture-based blog-entry > every now and then, but it seems flickr now automatically assumes, > that > the xmlrpc backend is located under "/backend/xmlrpc/mt-xmlrpc.cgi". I > re-added my blog in my flicker account's settings, and it detected it > fine using the actual typo-url, but after validating et all, it again > uses the url above :\ > > it's definetly a flickr bug from what I can tell... > > > Best regards / MfG, > -- > Joerg Battermann > jb at justBE.com > http://www.justBE.com - blog: http://blog.justBE.com > > PGP-KeyID: 0x77007DA6 > PGP-Fingerprint: 0461 F2EC 53EB CEBE 6B73 8EEC 64AD 0606 7700 7DA6 > > -----Original Message----- > From: typo-list-bounces at rubyforge.org > [mailto:typo-list-bounces at rubyforge.org] On Behalf Of Freedom Dumlao > Sent: Sonntag, 20. November 2005 02:44 > To: typo-list at rubyforge.org > Subject: [typo] flickr XMLRPC not working? > > I have posted a bug with flickr, but I was just curious... Is anyone > else having trouble posting to thier Typo blog with flickr using > Metaweblog API? I have no problem when I use ecto, but it seems that > flickr gets errorrs. > > Also, I tried posting to my old WordPress blog from flickr and it > worked > fine... any ideas? > > _______________________________________________ > 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 Nov 20 11:17:18 2005 From: scott at sigkill.org (Scott Laird) Date: Sun, 20 Nov 2005 08:17:18 -0800 Subject: [typo] New column for content table? In-Reply-To: <43804A03.8050100@carotena.net> References: <43804A03.8050100@carotena.net> Message-ID: On Nov 20, 2005, at 2:03 AM, Victor Jalencas wrote: > Hi > > I am thinking on adding a new sidebar module for 'starring' certain > articles so that they are always available in the front page and don't > fall off once you post more articles. That way, your most popular > articles would always be available with a single hop from the main > page. > Since this means adding a column to the content table (I guess > 'starred' > is a good name) I'd like to gather opinions before proceeding (even > when > I will only be modifying my own install for the time being) so that > most > people (and, especially, the maintainers) agree with the change. > > So, what do you think? Is this appropriate? That's probably the best place to put it, but I'm not very interested in applying it, at least before 4.0. Post 4.0, I *might* take a patch that adds a "front-page" field to contents, giving us three options: * Normal * Always on front page ("sticky" in forum parlance) * Never on front page I have some things in my head for the next release that would make "never on the front page" useful. Scott From fuzzyfree at gmail.com Sun Nov 20 11:45:38 2005 From: fuzzyfree at gmail.com (Freedom Dumlao) Date: Sun, 20 Nov 2005 11:45:38 -0500 Subject: [typo] flickr XMLRPC not working? In-Reply-To: <712AA226-7D62-4073-86A2-CD03E753711F@sigkill.org> References: <712AA226-7D62-4073-86A2-CD03E753711F@sigkill.org> Message-ID: I have also tested flickr with MetaWeblogAPI and BloggerAPI, and these do not work from flickr either. I posted a bug at flickr. Maybe we should change flickr to the "Not working" category of the Desktop clients list? -fuzzyfree On 11/20/05, Scott Laird wrote: > Wow, nice job Flickr. They *should* be using RSD to determine where > our XML-RPC URI lives; I'm pretty sure that we're generating valid > RSD. I've tested it with a number of implementations, including a > quick test of my own, but never actually read the spec. If you can > verify this, then report it as a bug to Flickr. > > As a workaround, we do support the metaweblog API and blogger APIs. > There's no Atom API support; we'll get around to it eventually. > > > Scott > > On Nov 20, 2005, at 3:47 AM, Joerg Battermann wrote: > > > Hey there, > > > > I use(d) the movable-type api at flickr for a picture-based blog-entry > > every now and then, but it seems flickr now automatically assumes, > > that > > the xmlrpc backend is located under "/backend/xmlrpc/mt-xmlrpc.cgi". I > > re-added my blog in my flicker account's settings, and it detected it > > fine using the actual typo-url, but after validating et all, it again > > uses the url above :\ > > > > it's definetly a flickr bug from what I can tell... > > > > > > Best regards / MfG, > > -- > > Joerg Battermann > > jb at justBE.com > > http://www.justBE.com - blog: http://blog.justBE.com > > > > PGP-KeyID: 0x77007DA6 > > PGP-Fingerprint: 0461 F2EC 53EB CEBE 6B73 8EEC 64AD 0606 7700 7DA6 > > > > -----Original Message----- > > From: typo-list-bounces at rubyforge.org > > [mailto:typo-list-bounces at rubyforge.org] On Behalf Of Freedom Dumlao > > Sent: Sonntag, 20. November 2005 02:44 > > To: typo-list at rubyforge.org > > Subject: [typo] flickr XMLRPC not working? > > > > I have posted a bug with flickr, but I was just curious... Is anyone > > else having trouble posting to thier Typo blog with flickr using > > Metaweblog API? I have no problem when I use ecto, but it seems that > > flickr gets errorrs. > > > > Also, I tried posting to my old WordPress blog from flickr and it > > worked > > fine... any ideas? > > > > _______________________________________________ > > 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 ronald.green at gmail.com Sun Nov 20 11:53:24 2005 From: ronald.green at gmail.com (Ronald Green) Date: Sun, 20 Nov 2005 10:53:24 -0600 Subject: [typo] Version number Message-ID: <4380AA04.8030008@gmail.com> This is minor but I just updated my typo to build 759 from trunk. I noticed at the bottom of the admin page that the version number appears except it shows version 741. From scott at sigkill.org Sun Nov 20 11:56:18 2005 From: scott at sigkill.org (Scott Laird) Date: Sun, 20 Nov 2005 08:56:18 -0800 Subject: [typo] Version number In-Reply-To: <4380AA04.8030008@gmail.com> References: <4380AA04.8030008@gmail.com> Message-ID: On Nov 20, 2005, at 8:53 AM, Ronald Green wrote: > This is minor but I just updated my typo to build 759 from trunk. I > noticed at the bottom of the admin page that the version number > appears > except it shows version 741. Interesting. The version number is a new feature; we're still working the kinks out of it apparently. Scott From scott at sigkill.org Sun Nov 20 12:33:01 2005 From: scott at sigkill.org (Scott Laird) Date: Sun, 20 Nov 2005 09:33:01 -0800 Subject: [typo] Documentation tool suggestions? Message-ID: <456636BA-5CEA-4101-BC0C-25AD4F353BE0@sigkill.org> I'd like to start creating a Typo manual, and I'm looking for tool suggestions. My goal right now isn't to create a user's guide (although we need one and I'd like to use the same tools to create one), but more of a developers guide or guide to new features. For instance, right now I'm working on a notification system (via email and RSS at least, more later), and I'd love to write a couple pages of text to explain how the system works from the inside. In the past, I've posted all of the details on my blog, but it's kind of unreasonable to expect new users to search my blog for feature docs :-). I'd like something that will let me write plain-ish text with relatively minor markup (I like Markdown, but I don't really care that much) and will spit out HTML documentation and a formatted PDF with a table of contents. I'd rather not go down the docbook road if I can avoid it. I could probably cobble something together with Markdown and a few wrappers, and then a HTML-to-PDF converter, but I'd prefer not to reinvent the wheel. The only *real* requirement is that the documentation source has to live in text files in the Typo subversion tree--no Word documents, and nothing explicitly web-based. Does anyone have any suggestions on tools to look at? Scott From dlamotte at bamboo.lu Sun Nov 20 13:10:35 2005 From: dlamotte at bamboo.lu (Denis Lamotte) Date: Sun, 20 Nov 2005 19:10:35 +0100 Subject: [typo] Documentation tool suggestions? In-Reply-To: <456636BA-5CEA-4101-BC0C-25AD4F353BE0@sigkill.org> References: <456636BA-5CEA-4101-BC0C-25AD4F353BE0@sigkill.org> Message-ID: <4380BC1B.5010102@bamboo.lu> Do you have take a look at hieraki ? Scott Laird wrote: > I'd like to start creating a Typo manual, and I'm looking for tool > suggestions. My goal right now isn't to create a user's guide > (although we need one and I'd like to use the same tools to create > one), but more of a developers guide or guide to new features. For > instance, right now I'm working on a notification system (via email > and RSS at least, more later), and I'd love to write a couple pages > of text to explain how the system works from the inside. In the > past, I've posted all of the details on my blog, but it's kind of > unreasonable to expect new users to search my blog for feature docs :-). > > I'd like something that will let me write plain-ish text with > relatively minor markup (I like Markdown, but I don't really care > that much) and will spit out HTML documentation and a formatted PDF > with a table of contents. I'd rather not go down the docbook road if > I can avoid it. I could probably cobble something together with > Markdown and a few wrappers, and then a HTML-to-PDF converter, but > I'd prefer not to reinvent the wheel. The only *real* requirement is > that the documentation source has to live in text files in the Typo > subversion tree--no Word documents, and nothing explicitly web-based. > > Does anyone have any suggestions on tools to look at? > > > Scott > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list > > From scott at sigkill.org Sun Nov 20 13:15:57 2005 From: scott at sigkill.org (Scott Laird) Date: Sun, 20 Nov 2005 10:15:57 -0800 Subject: [typo] Documentation tool suggestions? In-Reply-To: <4380BC1B.5010102@bamboo.lu> References: <456636BA-5CEA-4101-BC0C-25AD4F353BE0@sigkill.org> <4380BC1B.5010102@bamboo.lu> Message-ID: On Nov 20, 2005, at 10:10 AM, Denis Lamotte wrote: > Do you have take a look at hieraki ? A little bit, but I'd prefer something that was file-based instead of web/db based. Scott From justus at ryoohki.net Sun Nov 20 13:53:04 2005 From: justus at ryoohki.net (Justus Pendleton) Date: Sun, 20 Nov 2005 11:53:04 -0700 Subject: [typo] Documentation tool suggestions? In-Reply-To: <456636BA-5CEA-4101-BC0C-25AD4F353BE0@sigkill.org> References: <456636BA-5CEA-4101-BC0C-25AD4F353BE0@sigkill.org> Message-ID: <4380C610.8060405@ryoohki.net> > Does anyone have any suggestions on tools to look at? It's not ruby but...python's docutils uses plaintext files and reStructuredText[1], which is pretty similar to markdown but fuller featured. It can output to html, latex, and xml. It's what I use for most of my python coding. [1]: http://docutils.sourceforge.net/docs/user/rst/quickstart.html From victor-typo at carotena.net Sun Nov 20 14:59:59 2005 From: victor-typo at carotena.net (Victor Jalencas) Date: Sun, 20 Nov 2005 20:59:59 +0100 Subject: [typo] flickr XMLRPC not working? In-Reply-To: References: Message-ID: <4380D5BF.6060707@carotena.net> Joerg Battermann wrote: > Hey there, > > I use(d) the movable-type api at flickr for a picture-based blog-entry > every now and then, but it seems flickr now automatically assumes, that > the xmlrpc backend is located under "/backend/xmlrpc/mt-xmlrpc.cgi". I > re-added my blog in my flicker account's settings, and it detected it > fine using the actual typo-url, but after validating et all, it again > uses the url above :\ > > it's definetly a flickr bug from what I can tell... > Can we have a bit of routing magic as a workaround, while flickr fixes its act up? Victor From victor-typo at carotena.net Sun Nov 20 15:05:08 2005 From: victor-typo at carotena.net (Victor Jalencas) Date: Sun, 20 Nov 2005 21:05:08 +0100 Subject: [typo] New column for content table? Message-ID: <4380D6F4.2030504@carotena.net> Scott Laird wrote: > > That's probably the best place to put it, but I'm not very interested > in applying it, at least before 4.0. Post 4.0, I *might* take a > patch that adds a "front-page" field to contents, giving us three > options: > > * Normal > * Always on front page ("sticky" in forum parlance) > * Never on front page > > I have some things in my head for the next release that would make > "never on the front page" useful. > Ummh... I think this is not what I had in mind. I was referring to just having the links in a sidebar (so as not to have to put and maintain an static module with the links in it there) Anyway, since I need the feature now and is not very complicated, I will implement it in my own site, and you can accept it or not later on. Cheers Victor From william.a at carrel.org Sun Nov 20 15:07:00 2005 From: william.a at carrel.org (William A. Carrel) Date: Sun, 20 Nov 2005 12:07:00 -0800 Subject: [typo] Version number In-Reply-To: References: <4380AA04.8030008@gmail.com> Message-ID: <73720C2B-361E-44FF-A14B-E0DFD5827447@carrel.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 On Nov 20, 2005, at 8:56 AM, Scott Laird wrote: > On Nov 20, 2005, at 8:53 AM, Ronald Green wrote: > >> This is minor but I just updated my typo to build 759 from trunk. I >> noticed at the bottom of the admin page that the version number >> appears >> except it shows version 741. > > Interesting. The version number is a new feature; we're still > working the kinks out of it apparently. The revision number in trunk/lib/typo_version.rb will not be updated unless the file is modified somehow. The 741 being seen was the last changeset that modified that file. There isn't a global-revision keyword for Subversion. (See also http://subversion.tigris.org/faq.html#version-value-in-source) The winning way to get this done according to the Subversion folks is to run 'svnversion path/to/typo/base'. Conveniently, this is a local only operation that does not require contact with the svn server. People running HEAD and submitting bugs or feedback should run this to give a good idea of what revision they are on. (And it makes note of local modification which can be helpful in debugging.) It is probably possible to embed a call to svnversion into the admin pages, although it does require that people leave the .svn files in their install, and that the www-data user has sufficient permission to run out and execute svnversion. [...SVK-related minutiae follows...] For SVK users this is a lot more complicated... we'll have to run svk info //typo/trunk (presuming that's where it's been checked out to) and then parse that for the line that looks like: Mirrored From: svn://leetsoft.com/typo/trunk, Rev. 756 ...or worse yet have to trace the merges back from the patchset branch you might be working on. Suffice it to say, if you're using SVK you should already know what you're doing, because if you don't it's going to be a big hassle. ;-) __ wac -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (Darwin) iQIVAwUBQ4DXZ8oU8+xqMUDPAQr9Tw//emWDzwZOZNnq9F8lz21dUkKVw2e1i0I3 rjPdYqVajn+qmwP9meTn9Zw+IF2bLBGLltRAVBGV4W6St0OL81LaHzFfB2Uiy2bR 9zBQ3ntv1B+haiRohrs6YDXWmLw3NqMHwBDqD0oEY5kvLBcF08Sj1KHh6X+nsLjp rU+f22Ek8d9qvJJMdHQE7i3c0eDPncfH1pXo0eJDSmasqCTbAIPr92qqcnn3pG6W B3uPrBE5nkpPg3zLWWNEHBpQExmJqPudJKDk2azNgsYXwb2vL5z6xSYSxG0yFPJr VXuaHk96bsoaeo7Kx23VT4XsPwGgvUZycJEuYPTKH9+lxZkr0uuUSF+b/ROAk3C6 zIwwiEhKY4lUqNUgYaGS2LQ6g/AyLQYyS883KwyRkOwBWmAG7xtXB/kHwfnTsOPI meSl5gelfFZIuWoqfGDnO4mSH6MSgj1yGdHnlbeSFGnaNZqa9bgP6wY0TyrJBl/G brjd5w2bCU+4orHIibu2829jqsUWXkXz21FApfu7ZlIk2psSiN6UzsSXTRShzqrZ +l5Y/Beqk1EzhyAwvGgHL3/Kf/R0MGyqdI1ykQQpN0ZIDXctN1v3xvMEVyzPpDpd PM8rEZxeunS7GZQQXWVpyH4eqVU7EJ3Q3ciwUM1V+Rj5K+n/qChLcc794Hh/7oJR vYPBfuOsvB0= =tct5 -----END PGP SIGNATURE----- From boris at bitslapped.nl Sun Nov 20 15:52:16 2005 From: boris at bitslapped.nl (Boris) Date: Sun, 20 Nov 2005 21:52:16 +0100 Subject: [typo] New rewrite rule required? Message-ID: <4380E200.4050203@bitslapped.nl> Hi, I'm upgrading to Typo 2.6.0 and having some problems with the theme. It seems I need a new rewrite rule. I'm under IIS, so my current rewrite rule is: [ISAPI_Rewrite] RepeatLimit 0 RewriteRule ^(/[^.]*)feed.xml$ /dispatch.fcgi?$1 [L] RewriteRule ^(/[^.]*)$ /dispatch.fcgi?$1 [L] For the previous - themeless - typo this worked fine. Any ideas what is required? TIA, Boris From boris at bitslapped.nl Sun Nov 20 16:08:00 2005 From: boris at bitslapped.nl (Boris) Date: Sun, 20 Nov 2005 22:08:00 +0100 Subject: [typo] New rewrite rule required? In-Reply-To: <4380E200.4050203@bitslapped.nl> References: <4380E200.4050203@bitslapped.nl> Message-ID: <4380E5B0.9040506@bitslapped.nl> Boris wrote: >Hi, > >I'm upgrading to Typo 2.6.0 and having some problems with the theme. It >seems I need a new rewrite rule. I'm under IIS, so my current rewrite >rule is: > >[ISAPI_Rewrite] >RepeatLimit 0 >RewriteRule ^(/[^.]*)feed.xml$ /dispatch.fcgi?$1 [L] >RewriteRule ^(/[^.]*)$ /dispatch.fcgi?$1 [L] > >For the previous - themeless - typo this worked fine. Any ideas what is >required? > >TIA, Boris > >_______________________________________________ >Typo-list mailing list >Typo-list at rubyforge.org >http://rubyforge.org/mailman/listinfo/typo-list > > Sorry, to be more specific about my problem, a file like /stylesheets/theme/azure.css Is not part of the 'public' path of the server, so it is probably served by typo. I'm not sure what te rewrite rule should be, as for example http://www.bitslapped.nl/dispatch.fcgi/stylesheets/theme/azure.css does not seem to work. http://www.bitslapped.nl/dispatch.fcgi/ does work. /Boris From scott at sigkill.org Sun Nov 20 18:09:53 2005 From: scott at sigkill.org (Scott Laird) Date: Sun, 20 Nov 2005 15:09:53 -0800 Subject: [typo] flickr XMLRPC not working? In-Reply-To: <4380D5BF.6060707@carotena.net> References: <4380D5BF.6060707@carotena.net> Message-ID: <323AAE03-5CAE-4461-92D2-0444DC952CF7@sigkill.org> On Nov 20, 2005, at 11:59 AM, Victor Jalencas wrote: > Joerg Battermann wrote: >> Hey there, >> >> I use(d) the movable-type api at flickr for a picture-based blog- >> entry >> every now and then, but it seems flickr now automatically assumes, >> that >> the xmlrpc backend is located under "/backend/xmlrpc/mt- >> xmlrpc.cgi". I >> re-added my blog in my flicker account's settings, and it detected it >> fine using the actual typo-url, but after validating et all, it again >> uses the url above :\ >> >> it's definetly a flickr bug from what I can tell... >> > Can we have a bit of routing magic as a workaround, while flickr fixes > its act up? If you look at the bug in trac, they're finding our API okay, but then asking for metaweblog.getUsersBlogs, which doesn't exist. Since the metaweblog API spec doesn't list a getUsersBlogs, it's hard to implement it. Scott From scott at sigkill.org Sun Nov 20 18:12:01 2005 From: scott at sigkill.org (Scott Laird) Date: Sun, 20 Nov 2005 15:12:01 -0800 Subject: [typo] Version number In-Reply-To: <73720C2B-361E-44FF-A14B-E0DFD5827447@carrel.org> References: <4380AA04.8030008@gmail.com> <73720C2B-361E-44FF-A14B-E0DFD5827447@carrel.org> Message-ID: On Nov 20, 2005, at 12:07 PM, William A. Carrel wrote: > > The revision number in trunk/lib/typo_version.rb will not be updated > unless the file is modified somehow. The 741 being seen was the last > changeset that modified that file. Yeah, that's was I was afraid of. Perhaps we could add a commit hook to modify the file? Scott From victor-typo at carotena.net Sun Nov 20 18:40:35 2005 From: victor-typo at carotena.net (Victor Jalencas) Date: Mon, 21 Nov 2005 00:40:35 +0100 Subject: [typo] flickr XMLRPC not working? In-Reply-To: <323AAE03-5CAE-4461-92D2-0444DC952CF7@sigkill.org> References: <4380D5BF.6060707@carotena.net> <323AAE03-5CAE-4461-92D2-0444DC952CF7@sigkill.org> Message-ID: <43810973.8000706@carotena.net> Scott Laird wrote: > On Nov 20, 2005, at 11:59 AM, Victor Jalencas wrote: > >> Joerg Battermann wrote: >>> Hey there, >>> >>> I use(d) the movable-type api at flickr for a picture-based blog- >>> entry >>> every now and then, but it seems flickr now automatically assumes, >>> that >>> the xmlrpc backend is located under "/backend/xmlrpc/mt- >>> xmlrpc.cgi". I >>> re-added my blog in my flicker account's settings, and it detected it >>> fine using the actual typo-url, but after validating et all, it again >>> uses the url above :\ >>> >>> it's definetly a flickr bug from what I can tell... >>> >> Can we have a bit of routing magic as a workaround, while flickr fixes >> its act up? > > If you look at the bug in trac, they're finding our API okay, but > then asking for metaweblog.getUsersBlogs, which doesn't exist. Since > the metaweblog API spec doesn't list a getUsersBlogs, it's hard to > implement it. > That's right, I didn't check trac, I just went by Joerg description. No wonder it is failing, since it is a blogger API method [1]. I wonder if we could implement it as per Blogger's spec, since being Typo a single-blog-per-user engine, getting the URL of the XMLRPC endpoint wouldn't be much difficult. [1] http://www.blogger.com/developers/api/1_docs/xmlrpc_getUsersBlogs.html Victor From scott at sigkill.org Sun Nov 20 18:51:31 2005 From: scott at sigkill.org (Scott Laird) Date: Sun, 20 Nov 2005 15:51:31 -0800 Subject: [typo] flickr XMLRPC not working? In-Reply-To: <43810973.8000706@carotena.net> References: <4380D5BF.6060707@carotena.net> <323AAE03-5CAE-4461-92D2-0444DC952CF7@sigkill.org> <43810973.8000706@carotena.net> Message-ID: <929BA2B5-B72C-4B77-ADA3-5E2E54FA055E@sigkill.org> On Nov 20, 2005, at 3:40 PM, Victor Jalencas wrote: > Scott Laird wrote: >> On Nov 20, 2005, at 11:59 AM, Victor Jalencas wrote: >> >>> Joerg Battermann wrote: >>>> Hey there, >>>> >>>> I use(d) the movable-type api at flickr for a picture-based blog- >>>> entry >>>> every now and then, but it seems flickr now automatically assumes, >>>> that >>>> the xmlrpc backend is located under "/backend/xmlrpc/mt- >>>> xmlrpc.cgi". I >>>> re-added my blog in my flicker account's settings, and it >>>> detected it >>>> fine using the actual typo-url, but after validating et all, it >>>> again >>>> uses the url above :\ >>>> >>>> it's definetly a flickr bug from what I can tell... >>>> >>> Can we have a bit of routing magic as a workaround, while flickr >>> fixes >>> its act up? >> >> If you look at the bug in trac, they're finding our API okay, but >> then asking for metaweblog.getUsersBlogs, which doesn't exist. Since >> the metaweblog API spec doesn't list a getUsersBlogs, it's hard to >> implement it. >> > > That's right, I didn't check trac, I just went by Joerg > description. No > wonder it is failing, since it is a blogger API method [1]. I > wonder if > we could implement it as per Blogger's spec, since being Typo a > single-blog-per-user engine, getting the URL of the XMLRPC endpoint > wouldn't be much difficult. The blogger API call works, and *everything* uses it. It's the metaweblog call that Flickr seems to be intent on inventing. Scott From victor-typo at carotena.net Sun Nov 20 19:11:49 2005 From: victor-typo at carotena.net (Victor Jalencas) Date: Mon, 21 Nov 2005 01:11:49 +0100 Subject: [typo] flickr XMLRPC not working? In-Reply-To: <929BA2B5-B72C-4B77-ADA3-5E2E54FA055E@sigkill.org> References: <4380D5BF.6060707@carotena.net> <323AAE03-5CAE-4461-92D2-0444DC952CF7@sigkill.org> <43810973.8000706@carotena.net> <929BA2B5-B72C-4B77-ADA3-5E2E54FA055E@sigkill.org> Message-ID: <438110C5.70206@carotena.net> Scott Laird wrote: > The blogger API call works, and *everything* uses it. > > It's the metaweblog call that Flickr seems to be intent on inventing. Aaaah OK, OK. I can see it now. I will shut my mouth up now Cheers Victor From scott at sigkill.org Sun Nov 20 19:17:29 2005 From: scott at sigkill.org (Scott Laird) Date: Sun, 20 Nov 2005 16:17:29 -0800 Subject: [typo] flickr XMLRPC not working? In-Reply-To: <438110C5.70206@carotena.net> References: <4380D5BF.6060707@carotena.net> <323AAE03-5CAE-4461-92D2-0444DC952CF7@sigkill.org> <43810973.8000706@carotena.net> <929BA2B5-B72C-4B77-ADA3-5E2E54FA055E@sigkill.org> <438110C5.70206@carotena.net> Message-ID: <2AAE0394-DCA8-45D4-8D50-9D6BADFCE56A@sigkill.org> On Nov 20, 2005, at 4:11 PM, Victor Jalencas wrote: > Scott Laird wrote: >> The blogger API call works, and *everything* uses it. >> >> It's the metaweblog call that Flickr seems to be intent on inventing. > Aaaah OK, OK. I can see it now. > I will shut my mouth up now Naw, don't worry about it. I'm just deeply confused by Flickr--where did they *find* that call--does anything support it? Are there XML- RPC implementations out there that leak blogger.getUsersBlogs into metaweblog.getUsersBlogs? I'll take a look at it later, but we're hosting the family Thanksgiving this week, so my hacking time is kind of short right now... Scott From fuzzyfree at gmail.com Sun Nov 20 20:01:51 2005 From: fuzzyfree at gmail.com (Freedom Dumlao) Date: Sun, 20 Nov 2005 20:01:51 -0500 Subject: [typo] flickr XMLRPC not working? In-Reply-To: <2AAE0394-DCA8-45D4-8D50-9D6BADFCE56A@sigkill.org> References: <4380D5BF.6060707@carotena.net> <323AAE03-5CAE-4461-92D2-0444DC952CF7@sigkill.org> <43810973.8000706@carotena.net> <929BA2B5-B72C-4B77-ADA3-5E2E54FA055E@sigkill.org> <438110C5.70206@carotena.net> <2AAE0394-DCA8-45D4-8D50-9D6BADFCE56A@sigkill.org> Message-ID: Scott, the call is part of the new spec, it can be found here: http://www.xmlrpc.com/stories/storyReader$2460 On 11/20/05, Scott Laird wrote: > > On Nov 20, 2005, at 4:11 PM, Victor Jalencas wrote: > > > Scott Laird wrote: > >> The blogger API call works, and *everything* uses it. > >> > >> It's the metaweblog call that Flickr seems to be intent on inventing. > > Aaaah OK, OK. I can see it now. > > I will shut my mouth up now > > Naw, don't worry about it. I'm just deeply confused by Flickr--where > did they *find* that call--does anything support it? Are there XML- > RPC implementations out there that leak blogger.getUsersBlogs into > metaweblog.getUsersBlogs? > > I'll take a look at it later, but we're hosting the family > Thanksgiving this week, so my hacking time is kind of short right now... > > > Scott > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list > From fuzzyfree at gmail.com Sun Nov 20 20:06:42 2005 From: fuzzyfree at gmail.com (Freedom Dumlao) Date: Sun, 20 Nov 2005 20:06:42 -0500 Subject: [typo] flickr XMLRPC not working? In-Reply-To: References: <4380D5BF.6060707@carotena.net> <323AAE03-5CAE-4461-92D2-0444DC952CF7@sigkill.org> <43810973.8000706@carotena.net> <929BA2B5-B72C-4B77-ADA3-5E2E54FA055E@sigkill.org> <438110C5.70206@carotena.net> <2AAE0394-DCA8-45D4-8D50-9D6BADFCE56A@sigkill.org> Message-ID: It looks like WordPress just had to make a change to thier XML-RPC to support this call, so it seems that it is being more and more widely implemented. http://trac.wordpress.org/ticket/238 On 11/20/05, Freedom Dumlao wrote: > Scott, the call is part of the new spec, it can be found here: > > http://www.xmlrpc.com/stories/storyReader$2460 > > On 11/20/05, Scott Laird wrote: > > > > On Nov 20, 2005, at 4:11 PM, Victor Jalencas wrote: > > > > > Scott Laird wrote: > > >> The blogger API call works, and *everything* uses it. > > >> > > >> It's the metaweblog call that Flickr seems to be intent on inventing. > > > Aaaah OK, OK. I can see it now. > > > I will shut my mouth up now > > > > Naw, don't worry about it. I'm just deeply confused by Flickr--where > > did they *find* that call--does anything support it? Are there XML- > > RPC implementations out there that leak blogger.getUsersBlogs into > > metaweblog.getUsersBlogs? > > > > I'll take a look at it later, but we're hosting the family > > Thanksgiving this week, so my hacking time is kind of short right now... > > > > > > Scott > > _______________________________________________ > > Typo-list mailing list > > Typo-list at rubyforge.org > > http://rubyforge.org/mailman/listinfo/typo-list > > > From scott at sigkill.org Sun Nov 20 20:13:53 2005 From: scott at sigkill.org (Scott Laird) Date: Sun, 20 Nov 2005 17:13:53 -0800 Subject: [typo] flickr XMLRPC not working? In-Reply-To: References: <4380D5BF.6060707@carotena.net> <323AAE03-5CAE-4461-92D2-0444DC952CF7@sigkill.org> <43810973.8000706@carotena.net> <929BA2B5-B72C-4B77-ADA3-5E2E54FA055E@sigkill.org> <438110C5.70206@carotena.net> <2AAE0394-DCA8-45D4-8D50-9D6BADFCE56A@sigkill.org> Message-ID: <79928F73-7DC6-414F-A0F5-CAABF8536E41@sigkill.org> On Nov 20, 2005, at 5:01 PM, Freedom Dumlao wrote: > Scott, the call is part of the new spec, it can be found here: > > http://www.xmlrpc.com/stories/storyReader$2460 Interesting. So it's just a copy of the Blogger API call? Scott From fuzzyfree at gmail.com Sun Nov 20 20:32:38 2005 From: fuzzyfree at gmail.com (Freedom Dumlao) Date: Sun, 20 Nov 2005 20:32:38 -0500 Subject: [typo] flickr XMLRPC not working? In-Reply-To: <79928F73-7DC6-414F-A0F5-CAABF8536E41@sigkill.org> References: <4380D5BF.6060707@carotena.net> <323AAE03-5CAE-4461-92D2-0444DC952CF7@sigkill.org> <43810973.8000706@carotena.net> <929BA2B5-B72C-4B77-ADA3-5E2E54FA055E@sigkill.org> <438110C5.70206@carotena.net> <2AAE0394-DCA8-45D4-8D50-9D6BADFCE56A@sigkill.org> <79928F73-7DC6-414F-A0F5-CAABF8536E41@sigkill.org> Message-ID: Yes it seems to be. The unfortunate thing is that even if you use the BloggerAPI version, it still does not work (I set up flickr to use the BloggerAPI) Also interesting, is that Typo does not seem to care one bit that when we use flickr's MT support that it adds that little extra mt-xmlrpc.cgi thing on the end. Typo handles that beautifully. It gets hung up when flickr asks for blogger.getUsersBlogs which we seem to be sending errors on. Is there any way to see what we are sending back to flickr when it makes this request? On 11/20/05, Scott Laird wrote: > > On Nov 20, 2005, at 5:01 PM, Freedom Dumlao wrote: > > > Scott, the call is part of the new spec, it can be found here: > > > > http://www.xmlrpc.com/stories/storyReader$2460 > > Interesting. So it's just a copy of the Blogger API call? > > > Scott > > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list > From fuzzyfree at gmail.com Sun Nov 20 20:34:25 2005 From: fuzzyfree at gmail.com (Freedom Dumlao) Date: Sun, 20 Nov 2005 20:34:25 -0500 Subject: [typo] flickr XMLRPC not working? In-Reply-To: References: <4380D5BF.6060707@carotena.net> <323AAE03-5CAE-4461-92D2-0444DC952CF7@sigkill.org> <43810973.8000706@carotena.net> <929BA2B5-B72C-4B77-ADA3-5E2E54FA055E@sigkill.org> <438110C5.70206@carotena.net> <2AAE0394-DCA8-45D4-8D50-9D6BADFCE56A@sigkill.org> <79928F73-7DC6-414F-A0F5-CAABF8536E41@sigkill.org> Message-ID: I posted my errors when using the BloggerAPI to trac if you would like to see. On 11/20/05, Freedom Dumlao wrote: > Yes it seems to be. The unfortunate thing is that even if you use the > BloggerAPI version, it still does not work (I set up flickr to use the > BloggerAPI) > > Also interesting, is that Typo does not seem to care one bit that when > we use flickr's MT support that it adds that little extra > mt-xmlrpc.cgi thing on the end. Typo handles that beautifully. It gets > hung up when flickr asks for blogger.getUsersBlogs which we seem to be > sending errors on. > > Is there any way to see what we are sending back to flickr when it > makes this request? > > On 11/20/05, Scott Laird wrote: > > > > On Nov 20, 2005, at 5:01 PM, Freedom Dumlao wrote: > > > > > Scott, the call is part of the new spec, it can be found here: > > > > > > http://www.xmlrpc.com/stories/storyReader$2460 > > > > Interesting. So it's just a copy of the Blogger API call? > > > > > > Scott > > > > _______________________________________________ > > Typo-list mailing list > > Typo-list at rubyforge.org > > http://rubyforge.org/mailman/listinfo/typo-list > > > From william.a at carrel.org Sun Nov 20 21:04:55 2005 From: william.a at carrel.org (William A. Carrel) Date: Sun, 20 Nov 2005 18:04:55 -0800 Subject: [typo] Version number In-Reply-To: References: <4380AA04.8030008@gmail.com> <73720C2B-361E-44FF-A14B-E0DFD5827447@carrel.org> Message-ID: <8451014B-84BC-4965-806A-2C698978AB7F@carrel.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 On Nov 20, 2005, at 3:12 PM, Scott Laird wrote: > On Nov 20, 2005, at 12:07 PM, William A. Carrel wrote: >> >> The revision number in trunk/lib/typo_version.rb will not be updated >> unless the file is modified somehow. The 741 being seen was the last >> changeset that modified that file. > > Yeah, that's was I was afraid of. Perhaps we could add a commit hook > to modify the file? Perhaps, but that feels pretty ugly. It's going to clutter up every changeset with non-relevant changed lines, plus open questions like: do you iterate the file only for commits to the trunk or also for commits on branches/tags which will iterate the repository revision number? If the existing typo_version.rb == 'HEAD' and there is a .svn directory at the typo root then try to get the version with svnversion (or by parsing .svn/entries on the typo root, it's some pretty cut and dry XML). If it's a real point-release version then put that in typo_version.rb instead of 'HEAD'. All of these answers feel like solutions in search of a problem. Developers and users who are running HEAD rather than a point release should be prepared to run things like "svnversion /opt/my/typo" when submitting problem reports. Adding that to the "how to report an issue" page seems like a good thing to do anyway. __ wac -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (Darwin) iQIVAwUBQ4ErScoU8+xqMUDPAQqeqQ//WuP2WDsbImWQQzcEWScAhBc3OSYXyidI /DBiOVw83g408dNTaPEACgNgT51tU9LLKtrzixj8AhkP1AEc0iK/lTAG7ovJYZgf 1o+npAZ1XnUmtJTgT9jBZ6OaXmSbGZ/CiNjHvkSoCrFkzvINGecmte7/oE6wYJWb a0dgF9Q+bWqNw0RvgRgb3KoV5fztPfPyIQGWVHAO+qO7osFvP1p3wTNRLSNxTbnW ZpwlAayXEGG/SBGozqKx1CudMGcGRu1f0xaCDrJCHa2dDQOTrNUuguDWYENT8rIi w7sLRoJXRSQh1r0SNM+4AdFa2OIA8vwkmtffU0zsea2uMI5wjVFov6Izh4lJSZP0 y8Kq75TjkELW+lT+n39S2Haf8lZTg5NZfJKc6V143IH+OpxDy1sxOEUrOJAIWsZC /fH3Vf29pUGOFSssaPbQTCAm0mtuT9tl3cLrUbXB9CMHxTqh96TmZecO652KASnr Lk33nh4VnQtrNSfCIW76LmaRkvh276/6qFU5vvqSrSS1Ar+P85kYPWF+6qj824NT emZWx9JntMO1wGgsRzvcNd9/ug87zYHMuHoJt86qp1uoZ82V+cdLDX+MKvJyYNnr 9RP/VMekY/fwd3Dxd77+Xx+VnP3lui/2qHNNrQ1EeHEmNv3D+CNjjpydAtQ3p/Oc mvH3pvVFsBU= =M1wp -----END PGP SIGNATURE----- From scott at sigkill.org Sun Nov 20 21:10:03 2005 From: scott at sigkill.org (Scott Laird) Date: Sun, 20 Nov 2005 18:10:03 -0800 Subject: [typo] Version number In-Reply-To: <8451014B-84BC-4965-806A-2C698978AB7F@carrel.org> References: <4380AA04.8030008@gmail.com> <73720C2B-361E-44FF-A14B-E0DFD5827447@carrel.org> <8451014B-84BC-4965-806A-2C698978AB7F@carrel.org> Message-ID: <95123388-6A53-48FD-B275-94133386D371@sigkill.org> On Nov 20, 2005, at 6:04 PM, William A. Carrel wrote: > Perhaps, but that feels pretty ugly. It's going to clutter up every > changeset with non-relevant changed lines, plus open questions like: > do you iterate the file only for commits to the trunk or also for > commits on branches/tags which will iterate the repository revision > number? > > If the existing typo_version.rb == 'HEAD' and there is a .svn > directory at the typo root then try to get the version with > svnversion (or by parsing .svn/entries on the typo root, it's some > pretty cut and dry XML). If it's a real point-release version then > put that in typo_version.rb instead of 'HEAD'. > > All of these answers feel like solutions in search of a problem. > Developers and users who are running HEAD rather than a point release > should be prepared to run things like "svnversion /opt/my/typo" when > submitting problem reports. Adding that to the "how to report an > issue" page seems like a good thing to do anyway. You're probably right. I've seen a lot of bug report from "subversion from about a month ago," and I'd like to have a better way to track it. Scott From socialmoth.blog at gmail.com Tue Nov 22 15:16:37 2005 From: socialmoth.blog at gmail.com (Paul McKellar) Date: Tue, 22 Nov 2005 15:16:37 -0500 Subject: [typo] flickr XMLRPC not working? In-Reply-To: References: <323AAE03-5CAE-4461-92D2-0444DC952CF7@sigkill.org> <43810973.8000706@carotena.net> <929BA2B5-B72C-4B77-ADA3-5E2E54FA055E@sigkill.org> <438110C5.70206@carotena.net> <2AAE0394-DCA8-45D4-8D50-9D6BADFCE56A@sigkill.org> <79928F73-7DC6-414F-A0F5-CAABF8536E41@sigkill.org> Message-ID: <328687de0511221216s7c47716cibfc6d06ecad8383a@mail.gmail.com> was this ever resolved? mine still doesn't work but i played a lot with it before i checked the list for information On 11/20/05, Freedom Dumlao wrote: > I posted my errors when using the BloggerAPI to trac if you would like to see. > > On 11/20/05, Freedom Dumlao wrote: > > Yes it seems to be. The unfortunate thing is that even if you use the > > BloggerAPI version, it still does not work (I set up flickr to use the > > BloggerAPI) > > > > Also interesting, is that Typo does not seem to care one bit that when > > we use flickr's MT support that it adds that little extra > > mt-xmlrpc.cgi thing on the end. Typo handles that beautifully. It gets > > hung up when flickr asks for blogger.getUsersBlogs which we seem to be > > sending errors on. > > > > Is there any way to see what we are sending back to flickr when it > > makes this request? > > > > On 11/20/05, Scott Laird wrote: > > > > > > On Nov 20, 2005, at 5:01 PM, Freedom Dumlao wrote: > > > > > > > Scott, the call is part of the new spec, it can be found here: > > > > > > > > http://www.xmlrpc.com/stories/storyReader$2460 > > > > > > Interesting. So it's just a copy of the Blogger API call? > > > > > > > > > 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 spiros at souljerky.com Tue Nov 22 16:37:54 2005 From: spiros at souljerky.com (Spiros Antonopoulos) Date: Tue, 22 Nov 2005 16:37:54 -0500 Subject: [typo] typo tag cloud sizing In-Reply-To: <328687de0511221216s7c47716cibfc6d06ecad8383a@mail.gmail.com> References: <323AAE03-5CAE-4461-92D2-0444DC952CF7@sigkill.org> <43810973.8000706@carotena.net> <929BA2B5-B72C-4B77-ADA3-5E2E54FA055E@sigkill.org> <438110C5.70206@carotena.net> <2AAE0394-DCA8-45D4-8D50-9D6BADFCE56A@sigkill.org> <79928F73-7DC6-414F-A0F5-CAABF8536E41@sigkill.org> <328687de0511221216s7c47716cibfc6d06ecad8383a@mail.gmail.com> Message-ID: <7CAA2142-10AC-4009-B791-B2A96ABDDE98@souljerky.com> Greetings Folks, How can one make some adjustments to the tag cloud sizing? Some of my tags are too excessively large. Any hints? Thanks! -[s] From jonasb.16759522 at bloglines.com Tue Nov 22 16:55:06 2005 From: jonasb.16759522 at bloglines.com (jonasb.16759522@bloglines.com) Date: 22 Nov 2005 21:55:06 -0000 Subject: [typo] typo tag cloud sizing Message-ID: <1132696506.894008731.16652.sendItem@bloglines.com> Do you mean the sidebar or /articles/tag/? For the sidebar it's components\plugins\sidebars\tag_controller.rb, and for /articles/tag/ the size is defined in the style sheet for .tags .tag0-10. HTH, Jonas --- typo-list at rubyforge.org wrote: > Greetings Folks, > > How can one make some adjustments to the tag cloud sizing? > Some of my tags are too excessively large. > > Any hints? > > Thanks! > -[s] > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list > From gilgit at gmail.com Tue Nov 22 17:32:00 2005 From: gilgit at gmail.com (David Richardson) Date: Tue, 22 Nov 2005 15:32:00 -0700 Subject: [typo] Login for entire Typo site Message-ID: <35ac07b90511221431y5a6c6f47qc6d0dfeb8863ddd2@mail.gmail.com> I want to password protect an entire Typo application instance. Addingthe following to the application controller doesn't seem to work. Cananyone tell me why? class ApplicationController < ActionController::Base include LoginSystem model :user before_filter :login_required, :except => [ :login, :signup ]... David Richardsonwww.channel200.net aim: david.richardson at mac.comjabber/googletalk: channel200 at gmail.com From fuzzyfree at gmail.com Tue Nov 22 17:46:02 2005 From: fuzzyfree at gmail.com (Freedom Dumlao) Date: Tue, 22 Nov 2005 17:46:02 -0500 Subject: [typo] flickr XMLRPC not working? In-Reply-To: <328687de0511221216s7c47716cibfc6d06ecad8383a@mail.gmail.com> References: <43810973.8000706@carotena.net> <929BA2B5-B72C-4B77-ADA3-5E2E54FA055E@sigkill.org> <438110C5.70206@carotena.net> <2AAE0394-DCA8-45D4-8D50-9D6BADFCE56A@sigkill.org> <79928F73-7DC6-414F-A0F5-CAABF8536E41@sigkill.org> <328687de0511221216s7c47716cibfc6d06ecad8383a@mail.gmail.com> Message-ID: No, it's still pending a resolution. There is a ticket in on the Typo trac system. On 11/22/05, Paul McKellar wrote: > was this ever resolved? mine still doesn't work but i played a lot > with it before i checked the list for information > > On 11/20/05, Freedom Dumlao wrote: > > I posted my errors when using the BloggerAPI to trac if you would like to see. > > > > On 11/20/05, Freedom Dumlao wrote: > > > Yes it seems to be. The unfortunate thing is that even if you use the > > > BloggerAPI version, it still does not work (I set up flickr to use the > > > BloggerAPI) > > > > > > Also interesting, is that Typo does not seem to care one bit that when > > > we use flickr's MT support that it adds that little extra > > > mt-xmlrpc.cgi thing on the end. Typo handles that beautifully. It gets > > > hung up when flickr asks for blogger.getUsersBlogs which we seem to be > > > sending errors on. > > > > > > Is there any way to see what we are sending back to flickr when it > > > makes this request? > > > > > > On 11/20/05, Scott Laird wrote: > > > > > > > > On Nov 20, 2005, at 5:01 PM, Freedom Dumlao wrote: > > > > > > > > > Scott, the call is part of the new spec, it can be found here: > > > > > > > > > > http://www.xmlrpc.com/stories/storyReader$2460 > > > > > > > > Interesting. So it's just a copy of the Blogger API call? > > > > > > > > > > > > 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 > From jpinnix.alt at gmail.com Tue Nov 22 17:58:36 2005 From: jpinnix.alt at gmail.com (jeremy*pinnix) Date: Tue, 22 Nov 2005 16:58:36 -0600 Subject: [typo] can't login after upgrade Message-ID: <11a908be0511221458s799d48efiab895f1d4ef0cd7f@mail.gmail.com> I just upgraded from 2.5.5 to 2.6.0 and now I can't log in. It just says the Login unsuccessful. Any idea on how to get around this? Thanks, jeremy From jpinnix.alt at gmail.com Tue Nov 22 17:59:17 2005 From: jpinnix.alt at gmail.com (jeremy*pinnix) Date: Tue, 22 Nov 2005 16:59:17 -0600 Subject: [typo] can't login after upgrade In-Reply-To: <11a908be0511221458s799d48efiab895f1d4ef0cd7f@mail.gmail.com> References: <11a908be0511221458s799d48efiab895f1d4ef0cd7f@mail.gmail.com> Message-ID: <11a908be0511221459i188f84a4xf2757b33ac04d9cb@mail.gmail.com> By the way, the rest of the site is working okay, it's just the admin that won't let me in. On 11/22/05, jeremy*pinnix wrote: > I just upgraded from 2.5.5 to 2.6.0 and now I can't log in. It just > says the Login unsuccessful. Any idea on how to get around this? > > Thanks, > jeremy > From trejkaz at trypticon.org Tue Nov 22 19:38:27 2005 From: trejkaz at trypticon.org (Trejkaz) Date: Wed, 23 Nov 2005 11:38:27 +1100 (EST) Subject: [typo] typo tag cloud sizing In-Reply-To: <1132696506.894008731.16652.sendItem@bloglines.com> References: <1132696506.894008731.16652.sendItem@bloglines.com> Message-ID: <3431.210.50.55.251.1132706307.squirrel@home.trypticon.org> > Do you mean the sidebar or /articles/tag/? > > For the sidebar it's components\plugins\sidebars\tag_controller.rb, > and for /articles/tag/ the size is defined in the style sheet for .tags > .tag0-10. Interesting. On my own site, I was going to implement something very much like .tag0-10 for the sidebar because I wanted to have a plain list view of the tags, but I thought it might be tricky. Now it seems that the exact same code which is needed on the sidebar is already in /articles/tag, so let's have it shunted across. Please... ;-) TX From jw at innerewut.de Tue Nov 22 19:39:05 2005 From: jw at innerewut.de (Jonathan Weiss) Date: Wed, 23 Nov 2005 01:39:05 +0100 Subject: [typo] XML feeds in typo Message-ID: Cheers, I had a look at the atom/rss feed implementation in the trunk. I want to adapt some of the rss functionality and have some questions. In _atom10_item_comment.rxml there is: xm.entry do xm.author { xm.name item.author } xm.id "urn:uuid:#{item.guid}" xm.published item.created_at.xmlschema xm.updated item.updated_at.xmlschema xm.title "Comment on #{item.article.title} by #{item.author}" xm.link "rel" => "alternate", "type" => "text/html", "href" => comment_link(item) content = comment_html(item) xm.content content, "type"=>"html" end Typo 2.5.6 does not have the "urn:uuid" stuff but the feeds are validating. Is this a new standard? Where is the xmlschema function defined and how can I change the timezone it uses? Or should one config.active_record.default_timezone = :utc and just propagate utc in the feeds? Thanks, Jonathan -- Jonathan Weiss http://blog.innerewut.de From fuzzyfree at gmail.com Tue Nov 22 22:32:15 2005 From: fuzzyfree at gmail.com (Freedom Dumlao) Date: Tue, 22 Nov 2005 22:32:15 -0500 Subject: [typo] flickr XMLRPC not working? In-Reply-To: References: <929BA2B5-B72C-4B77-ADA3-5E2E54FA055E@sigkill.org> <438110C5.70206@carotena.net> <2AAE0394-DCA8-45D4-8D50-9D6BADFCE56A@sigkill.org> <79928F73-7DC6-414F-A0F5-CAABF8536E41@sigkill.org> <328687de0511221216s7c47716cibfc6d06ecad8383a@mail.gmail.com> Message-ID: If anyone is interested, here is what flickr had to say: Hi, The spec for the MWA only defines a handful of methods that are designed to sit on top of the Blogger API. Specifically : "The MetaWeblog API is designed to enhance the Blogger API..." [1] so anything that claims to support the MWA should support, in full, version 1 of the Blogger API. We call getUsersBlogs because any given user may have more than one blog that listens on a single endpoint. I have never used Typo but it sounds like this is a bug in their implementation of the spec(s). --- [1] http://www.xmlrpc.com/metaWeblogApi On 11/22/05, Freedom Dumlao wrote: > No, it's still pending a resolution. There is a ticket in on the Typo > trac system. > > On 11/22/05, Paul McKellar wrote: > > was this ever resolved? mine still doesn't work but i played a lot > > with it before i checked the list for information > > > > On 11/20/05, Freedom Dumlao wrote: > > > I posted my errors when using the BloggerAPI to trac if you would like to see. > > > > > > On 11/20/05, Freedom Dumlao wrote: > > > > Yes it seems to be. The unfortunate thing is that even if you use the > > > > BloggerAPI version, it still does not work (I set up flickr to use the > > > > BloggerAPI) > > > > > > > > Also interesting, is that Typo does not seem to care one bit that when > > > > we use flickr's MT support that it adds that little extra > > > > mt-xmlrpc.cgi thing on the end. Typo handles that beautifully. It gets > > > > hung up when flickr asks for blogger.getUsersBlogs which we seem to be > > > > sending errors on. > > > > > > > > Is there any way to see what we are sending back to flickr when it > > > > makes this request? > > > > > > > > On 11/20/05, Scott Laird wrote: > > > > > > > > > > On Nov 20, 2005, at 5:01 PM, Freedom Dumlao wrote: > > > > > > > > > > > Scott, the call is part of the new spec, it can be found here: > > > > > > > > > > > > http://www.xmlrpc.com/stories/storyReader$2460 > > > > > > > > > > Interesting. So it's just a copy of the Blogger API call? > > > > > > > > > > > > > > > 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 > > > From scott at sigkill.org Tue Nov 22 22:41:27 2005 From: scott at sigkill.org (Scott Laird) Date: Tue, 22 Nov 2005 19:41:27 -0800 Subject: [typo] XML feeds in typo In-Reply-To: References: Message-ID: <1B7BDA6E-B485-4B20-A2C1-805374BD55AB@sigkill.org> On Nov 22, 2005, at 4:39 PM, Jonathan Weiss wrote: > > Typo 2.5.6 does not have the "urn:uuid" stuff but the feeds are > validating. > Is this a new standard? The ID really just needs to be a unique IRI, which is a variant of the URI. The urn:uuid is one of the ways to generate a unique ID, and it works better for use then the alternatives. The previous version wasn't unique in all cases (multiple blogs on the same host with articles with the same title within a calendar year, IIRC), while this one is a lot easier, *and* it's valid for RSS and Atom, so we can keep the same UIDs no matter which feed we use. > Where is the xmlschema function defined and how can I change the > timezone it > uses? Or should one config.active_record.default_timezone = :utc > and just > propagate utc in the feeds? I'd set the ActiveRecord default, and then verify that it isn't causing any obvious problems. Scott From scott at sigkill.org Tue Nov 22 22:43:08 2005 From: scott at sigkill.org (Scott Laird) Date: Tue, 22 Nov 2005 19:43:08 -0800 Subject: [typo] flickr XMLRPC not working? In-Reply-To: References: <929BA2B5-B72C-4B77-ADA3-5E2E54FA055E@sigkill.org> <438110C5.70206@carotena.net> <2AAE0394-DCA8-45D4-8D50-9D6BADFCE56A@sigkill.org> <79928F73-7DC6-414F-A0F5-CAABF8536E41@sigkill.org> <328687de0511221216s7c47716cibfc6d06ecad8383a@mail.gmail.com> Message-ID: That looks easy enough. I'll add it when I have time, but it may not be a week or so--I'll post details soon on my blog. Scott On Nov 22, 2005, at 7:32 PM, Freedom Dumlao wrote: > If anyone is interested, here is what flickr had to say: > > Hi, > > The spec for the MWA only defines a handful of methods that > are designed to sit on top of the Blogger API. > > Specifically : "The MetaWeblog API is designed to enhance > the Blogger API..." [1] so anything that claims to support > the MWA should support, in full, version 1 of the Blogger > API. > > We call getUsersBlogs because any given user may have more > than one blog that listens on a single endpoint. > > I have never used Typo but it sounds like this is a bug in > their implementation of the spec(s). > > --- > > [1] http://www.xmlrpc.com/metaWeblogApi > > > On 11/22/05, Freedom Dumlao wrote: >> No, it's still pending a resolution. There is a ticket in on the Typo >> trac system. >> >> On 11/22/05, Paul McKellar wrote: >>> was this ever resolved? mine still doesn't work but i played a lot >>> with it before i checked the list for information >>> >>> On 11/20/05, Freedom Dumlao wrote: >>>> I posted my errors when using the BloggerAPI to trac if you >>>> would like to see. >>>> >>>> On 11/20/05, Freedom Dumlao wrote: >>>>> Yes it seems to be. The unfortunate thing is that even if you >>>>> use the >>>>> BloggerAPI version, it still does not work (I set up flickr to >>>>> use the >>>>> BloggerAPI) >>>>> >>>>> Also interesting, is that Typo does not seem to care one bit >>>>> that when >>>>> we use flickr's MT support that it adds that little extra >>>>> mt-xmlrpc.cgi thing on the end. Typo handles that beautifully. >>>>> It gets >>>>> hung up when flickr asks for blogger.getUsersBlogs which we >>>>> seem to be >>>>> sending errors on. >>>>> >>>>> Is there any way to see what we are sending back to flickr when it >>>>> makes this request? >>>>> >>>>> On 11/20/05, Scott Laird wrote: >>>>>> >>>>>> On Nov 20, 2005, at 5:01 PM, Freedom Dumlao wrote: >>>>>> >>>>>>> Scott, the call is part of the new spec, it can be found here: >>>>>>> >>>>>>> http://www.xmlrpc.com/stories/storyReader$2460 >>>>>> >>>>>> Interesting. So it's just a copy of the Blogger API call? >>>>>> >>>>>> >>>>>> 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 From kevin at sb.org Wed Nov 23 02:49:00 2005 From: kevin at sb.org (Kevin Ballard) Date: Tue, 22 Nov 2005 23:49:00 -0800 Subject: [typo] can't login after upgrade In-Reply-To: <11a908be0511221459i188f84a4xf2757b33ac04d9cb@mail.gmail.com> References: <11a908be0511221458s799d48efiab895f1d4ef0cd7f@mail.gmail.com> <11a908be0511221459i188f84a4xf2757b33ac04d9cb@mail.gmail.com> Message-ID: I haven't tried it, but I've heard that if you delete the user from the database (TRUNCATE TABLE users) then on next access it prompts you to create a new user. On Nov 22, 2005, at 2:59 PM, jeremy*pinnix wrote: > By the way, the rest of the site is working okay, it's just the admin > that won't let me in. > > On 11/22/05, jeremy*pinnix wrote: > >> I just upgraded from 2.5.5 to 2.6.0 and now I can't log in. It just >> says the Login unsuccessful. Any idea on how to get around this? -- 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/20051122/c9c9d029/smime-0001.bin From rasputnik at gmail.com Wed Nov 23 04:55:44 2005 From: rasputnik at gmail.com (Dick Davies) Date: Wed, 23 Nov 2005 09:55:44 +0000 Subject: [typo] can't login after upgrade In-Reply-To: References: <11a908be0511221458s799d48efiab895f1d4ef0cd7f@mail.gmail.com> <11a908be0511221459i188f84a4xf2757b33ac04d9cb@mail.gmail.com> Message-ID: <3f1760511230155p7795f24k@mail.gmail.com> Before you do that, try resetting the password from the console: $ ./script/console production Loading production environment. >> you = User.find_by_name('yourusername') => #"yourusername", "id"=>"1",........ >> you.password = you.password_confirmation = 'newpassword' => "newpassword" >> you.save => true >> quit On 23/11/05, Kevin Ballard wrote: > I haven't tried it, but I've heard that if you delete the user from > the database (TRUNCATE TABLE users) then on next access it prompts > you to create a new user. > > On Nov 22, 2005, at 2:59 PM, jeremy*pinnix wrote: > > > By the way, the rest of the site is working okay, it's just the admin > > that won't let me in. > > > > On 11/22/05, jeremy*pinnix wrote: > > > >> I just upgraded from 2.5.5 to 2.6.0 and now I can't log in. It just > >> says the Login unsuccessful. Any idea on how to get around this? > > -- > 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 > > > > -- Rasputin :: Jack of All Trades - Master of Nuns http://number9.hellooperator.net/ From rob at awakeheart.net Wed Nov 23 09:24:20 2005 From: rob at awakeheart.net (Robert Ivanc) Date: Wed, 23 Nov 2005 15:24:20 +0100 Subject: [typo] migration not workin in 760 Message-ID: Hi, I just did a svn update and got version 760. Afterwards I did rake migrate and got this: rake migrate (in /home/webadmin/clarity.awakeheart.net/typo) rake aborted! is not a class/module If i start it from admin screen it only says rails error in log i find this: cessing GeneralController#update_database (for 193.41.89.1 at 2005-11-23 14:19:06) [GET] Parameters: {"action"=>"update_database", "controller"=>"admin/general"} Rendering within layouts/administration Rendering admin/general/update_database Completed in 0.07570 (13 reqs/sec) | Rendering: 0.03946 (52%) | DB: 0.02965 (39%) | 200 OK [http://clar ity.awakeheart.net/typo/admin/general/update_database] Processing GeneralController#migrate (for 193.41.89.1 at 2005-11-23 14:19:10) [POST] Parameters: {"action"=>"migrate", "controller"=>"admin/general"} Migrating to AddRedirectTable (26) ActiveRecord::StatementInvalid (You have an error in your SQL syntax near 'ENGINE=InnoDB' at line 1: CR EATE TABLE redirects (id int(11) DEFAULT NULL auto_increment PRIMARY KEY, from_path varchar(255), to_pa th varchar(255)) ENGINE=InnoDB): /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.12.2/lib/active_record/connection_adapters/abstrac t_adapter.rb:67:in `log' /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.12.2/lib/active_record/connection_adapters/mysql_a dapter.rb:155:in `execute' : == is there a way to get rid of this engine=InnoDB? it seems my version of mysql doesn't support this (3.23.58). Although it does support InnoDB engine as I'm using it for some other apps. Regards, Robert From scott at sigkill.org Wed Nov 23 09:27:18 2005 From: scott at sigkill.org (Scott Laird) Date: Wed, 23 Nov 2005 06:27:18 -0800 Subject: [typo] migration not workin in 760 In-Reply-To: References: Message-ID: <7E0B2569-A522-492E-9544-D8BA3CB3D3A9@sigkill.org> On Nov 23, 2005, at 6:24 AM, Robert Ivanc wrote: > Hi, > > I just did a svn update and got version 760. Afterwards I did rake > migrate and got this: > rake migrate > (in /home/webadmin/clarity.awakeheart.net/typo) > rake aborted! > is not a class/module This is a bug in Rails 0.14.3; for now, use the migration tool in the Typo admin web UI. Scott From scott at sigkill.org Wed Nov 23 09:29:14 2005 From: scott at sigkill.org (Scott Laird) Date: Wed, 23 Nov 2005 06:29:14 -0800 Subject: [typo] migration not workin in 760 In-Reply-To: References: Message-ID: On Nov 23, 2005, at 6:24 AM, Robert Ivanc wrote: > is there a way to get rid of this engine=InnoDB? it seems my version > of mysql doesn't support this (3.23.58). Although it does support > InnoDB engine as I'm using it for some other apps. I guess I should have finished reading... Rails defaults to InnoDB. There might be a flag to disable that; you'll have to check the Rails docs. However, we've never really tested Typo with MySQL < 4.x, so you might be better served by upgrading. Scott From rob at awakeheart.net Wed Nov 23 09:34:20 2005 From: rob at awakeheart.net (Robert Ivanc) Date: Wed, 23 Nov 2005 15:34:20 +0100 Subject: [typo] migration not workin in 760 In-Reply-To: References: Message-ID: yes, i was thinking of doing that, but am kinda afraid of all the other things that i'd need to upgrade to. what about 5.x, is typo working ok with that? regards, robert On 11/23/05, Scott Laird wrote: > > On Nov 23, 2005, at 6:24 AM, Robert Ivanc wrote: > > is there a way to get rid of this engine=InnoDB? it seems my version > > of mysql doesn't support this (3.23.58). Although it does support > > InnoDB engine as I'm using it for some other apps. > > I guess I should have finished reading... > > Rails defaults to InnoDB. There might be a flag to disable that; > you'll have to check the Rails docs. However, we've never really > tested Typo with MySQL < 4.x, so you might be better served by > upgrading. > > > Scott > > From jpinnix.alt at gmail.com Wed Nov 23 09:43:21 2005 From: jpinnix.alt at gmail.com (jeremy*pinnix) Date: Wed, 23 Nov 2005 08:43:21 -0600 Subject: [typo] can't login after upgrade In-Reply-To: <3f1760511230155p7795f24k@mail.gmail.com> References: <11a908be0511221458s799d48efiab895f1d4ef0cd7f@mail.gmail.com> <11a908be0511221459i188f84a4xf2757b33ac04d9cb@mail.gmail.com> <3f1760511230155p7795f24k@mail.gmail.com> Message-ID: <11a908be0511230643r187b9f2fse5aa5c88d2b0d396@mail.gmail.com> Dick, Excellent suggestion! It put me on the right track. However, with find_by_name it is actually looking for the column "name" which is different than the "login". So I changed your console script to be: $ ./script/console production Loading production environment. >> you = User.find_by_login('yourusername') => #"yourusername", "id"=>"1",........ >> you.password = you.password_confirmation = 'newpassword' => "newpassword" >> you.save => true >> quit That worked! Thanks, jeremy From rasputnik at gmail.com Wed Nov 23 11:24:32 2005 From: rasputnik at gmail.com (Dick Davies) Date: Wed, 23 Nov 2005 16:24:32 +0000 Subject: [typo] can't login after upgrade In-Reply-To: <11a908be0511230643r187b9f2fse5aa5c88d2b0d396@mail.gmail.com> References: <11a908be0511221458s799d48efiab895f1d4ef0cd7f@mail.gmail.com> <11a908be0511221459i188f84a4xf2757b33ac04d9cb@mail.gmail.com> <3f1760511230155p7795f24k@mail.gmail.com> <11a908be0511230643r187b9f2fse5aa5c88d2b0d396@mail.gmail.com> Message-ID: <3f1760511230824r47943028h@mail.gmail.com> On 23/11/05, jeremy*pinnix wrote: > Dick, > > Excellent suggestion! It put me on the right track. However, with > find_by_name it is actually looking for the column "name" which is > different than the "login". Yeah, that works for 2.6.0 - I haven't bumped to SVN yet (waiting for Scott to settle in at Google first :D ) > So I changed your console script to be: > $ ./script/console production > Loading production environment. > >> you = User.find_by_login('yourusername') > => #"yourusername", "id"=>"1",........ > >> you.password = you.password_confirmation = 'newpassword' > => "newpassword" > >> you.save > => true > >> quit > > That worked! Cool. -- Rasputin :: Jack of All Trades - Master of Nuns http://number9.hellooperator.net/ From scott at sigkill.org Wed Nov 23 12:11:03 2005 From: scott at sigkill.org (Scott Laird) Date: Wed, 23 Nov 2005 09:11:03 -0800 Subject: [typo] migration not workin in 760 In-Reply-To: References: Message-ID: <00074635-7D2C-47D7-8F4E-E8AFCC5844D8@sigkill.org> I *think* 5.0 works. I've seen a comment or two that people are using it, but I haven't tried it myself. I'm mostly a Postgres user, personally. Scott On Nov 23, 2005, at 6:34 AM, Robert Ivanc wrote: > yes, i was thinking of doing that, but am kinda afraid of all the > other things that i'd need to upgrade to. what about 5.x, is typo > working ok with that? > > regards, > robert > On 11/23/05, Scott Laird wrote: >> >> On Nov 23, 2005, at 6:24 AM, Robert Ivanc wrote: >>> is there a way to get rid of this engine=InnoDB? it seems my version >>> of mysql doesn't support this (3.23.58). Although it does support >>> InnoDB engine as I'm using it for some other apps. >> >> I guess I should have finished reading... >> >> Rails defaults to InnoDB. There might be a flag to disable that; >> you'll have to check the Rails docs. However, we've never really >> tested Typo with MySQL < 4.x, so you might be better served by >> upgrading. >> >> >> Scott >> >> From jonathan at daikini.com Wed Nov 23 12:25:54 2005 From: jonathan at daikini.com (Jonathan Younger) Date: Wed, 23 Nov 2005 09:25:54 -0800 Subject: [typo] migration not workin in 760 In-Reply-To: References: Message-ID: I'm running Typo trunk with MySQL 5.x just fine. -Jonathan On Nov 23, 2005, at 6:34 AM, Robert Ivanc wrote: > yes, i was thinking of doing that, but am kinda afraid of all the > other things that i'd need to upgrade to. what about 5.x, is typo > working ok with that? > > regards, > robert > On 11/23/05, Scott Laird wrote: >> >> On Nov 23, 2005, at 6:24 AM, Robert Ivanc wrote: >>> is there a way to get rid of this engine=InnoDB? it seems my version >>> of mysql doesn't support this (3.23.58). Although it does support >>> InnoDB engine as I'm using it for some other apps. >> >> I guess I should have finished reading... >> >> Rails defaults to InnoDB. There might be a flag to disable that; >> you'll have to check the Rails docs. However, we've never really >> tested Typo with MySQL < 4.x, so you might be better served by >> upgrading. >> >> >> Scott >> >> > > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list From lists at holsman.net Thu Nov 24 16:50:54 2005 From: lists at holsman.net (Ian Holsman) Date: Fri, 25 Nov 2005 08:50:54 +1100 Subject: [typo] sidebars.. how do I make one Message-ID: <438635BE.8080205@holsman.net> Hi. I'd like to make a sidebar to display a list of headlines which match the tag/category that I am currently reading. but I have 2 questions. 1. can you make a plugin only appear when you are reading an individual article 2. does the plugin have access to the list of tags or the category that the article being displayed is in? for an example what I want is when a user is reading http://feh.holsman.net/articles/2005/11/20/user-registration he will see the titles of everything else tagged with the same tags on the right hand side. The aim for this is to encourage users to click on more potentially interesting things on my blog. regards Ian From gpsnospam at gmail.com Fri Nov 25 09:16:54 2005 From: gpsnospam at gmail.com (gpshewan) Date: Fri, 25 Nov 2005 14:16:54 +0000 Subject: [typo] Wiki spam - new problem In-Reply-To: <438635BE.8080205@holsman.net> References: <438635BE.8080205@holsman.net> Message-ID: <9FDC8909-EEA4-4289-93FE-E66F2AE919D5@gmail.com> Noticed that there's a new problem with spam on the ticket system. Can't remove this because the links are being entered into the changelog. If this doesn't get nipped in the bud there is going to be a lot of it, because they aren't tagged as nofollow. For examples look at the tickets with spam as the component. Gary ------ www.gpshewan.com From nick at recoil.org Fri Nov 25 10:52:08 2005 From: nick at recoil.org (Nick Ludlam) Date: Fri, 25 Nov 2005 15:52:08 +0000 Subject: [typo] Wiki spam - new problem In-Reply-To: <9FDC8909-EEA4-4289-93FE-E66F2AE919D5@gmail.com> References: <438635BE.8080205@holsman.net> <9FDC8909-EEA4-4289-93FE-E66F2AE919D5@gmail.com> Message-ID: <20051125155208.GB14160@fork.recoil.org> On Fri, Nov 25, 2005 at 02:16:54PM +0000, gpshewan wrote: > Noticed that there's a new problem with spam on the ticket system. > Can't remove this because the links are being entered into the > changelog. If this doesn't get nipped in the bud there is going to > be a lot of it, because they aren't tagged as nofollow. For examples > look at the tickets with spam as the component. Yeah one of mine was hijacked the other day and not only does the body of the changelog get filled with links, they (somewhat amusingly) bump the priority up to 'critical'. I've not played with Trac much, but do admins get to edit changelogs entered by others? Nick From gpsnospam at gmail.com Fri Nov 25 11:16:46 2005 From: gpsnospam at gmail.com (gpshewan) Date: Fri, 25 Nov 2005 16:16:46 +0000 Subject: [typo] Wiki spam - new problem In-Reply-To: <20051125155208.GB14160@fork.recoil.org> References: <438635BE.8080205@holsman.net> <9FDC8909-EEA4-4289-93FE-E66F2AE919D5@gmail.com> <20051125155208.GB14160@fork.recoil.org> Message-ID: <9675C9C1-F874-4751-80DE-2044F67E6A4D@gmail.com> I could never get Trac installed locally on os x, so not sure what admins can do. If I see spam I'm happy to get rid of it. But can't when its in the changelog. On 25 Nov 2005, at 15:52, Nick Ludlam wrote: > On Fri, Nov 25, 2005 at 02:16:54PM +0000, gpshewan wrote: >> Noticed that there's a new problem with spam on the ticket system. >> Can't remove this because the links are being entered into the >> changelog. If this doesn't get nipped in the bud there is going to >> be a lot of it, because they aren't tagged as nofollow. For examples >> look at the tickets with spam as the component. > > Yeah one of mine was hijacked the other day and not only does the > body of the changelog get filled with links, they (somewhat amusingly) > bump the priority up to 'critical'. > > I've not played with Trac much, but do admins get to edit changelogs > entered by others? > > Nick > > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list From scott at sigkill.org Fri Nov 25 11:19:16 2005 From: scott at sigkill.org (Scott Laird) Date: Fri, 25 Nov 2005 08:19:16 -0800 Subject: [typo] Wiki spam - new problem In-Reply-To: <9675C9C1-F874-4751-80DE-2044F67E6A4D@gmail.com> References: <438635BE.8080205@holsman.net> <9FDC8909-EEA4-4289-93FE-E66F2AE919D5@gmail.com> <20051125155208.GB14160@fork.recoil.org> <9675C9C1-F874-4751-80DE-2044F67E6A4D@gmail.com> Message-ID: On Nov 25, 2005, at 8:16 AM, gpshewan wrote: > I could never get Trac installed locally on os x, so not sure what > admins can do. If I see spam I'm happy to get rid of it. But can't > when its in the changelog. I can't get rid of it either. I suspect that you need to manually remove it from the DB. Scott From gpsnospam at gmail.com Fri Nov 25 11:35:07 2005 From: gpsnospam at gmail.com (gpshewan) Date: Fri, 25 Nov 2005 16:35:07 +0000 Subject: [typo] Wiki spam - new problem In-Reply-To: References: <438635BE.8080205@holsman.net> <9FDC8909-EEA4-4289-93FE-E66F2AE919D5@gmail.com> <20051125155208.GB14160@fork.recoil.org> <9675C9C1-F874-4751-80DE-2044F67E6A4D@gmail.com> Message-ID: I think you're right. There was no way to delete tickets themselves from Trac, until a patch was added last month. So it looks like there would be no way to remove changelog entries unless it's manually from the db. I suspect this is going to be a real problem for ticketing ... On 25 Nov 2005, at 16:19, Scott Laird wrote: > > I can't get rid of it either. I suspect that you need to manually > remove it from the DB. > > > Scott > > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list From sethladd at gmail.com Fri Nov 25 16:08:06 2005 From: sethladd at gmail.com (Seth Ladd) Date: Fri, 25 Nov 2005 11:08:06 -1000 Subject: [typo] SVN down? Message-ID: <64f07e2c0511251308o3753d823p1710b268bae07538@mail.gmail.com> Hello, I'm trying to get the latest trunk for typo, but running into a problem. svn checkout svn://leetsoft.com/typo/trunk typo svn: Can't connect to host 'leetsoft.com': Connection timed out Is there a new, updated SVN URL? Thanks! Seth From ronald.green at gmail.com Fri Nov 25 20:50:55 2005 From: ronald.green at gmail.com (Ronald Green) Date: Fri, 25 Nov 2005 19:50:55 -0600 Subject: [typo] SVN down? In-Reply-To: <64f07e2c0511251308o3753d823p1710b268bae07538@mail.gmail.com> References: <64f07e2c0511251308o3753d823p1710b268bae07538@mail.gmail.com> Message-ID: <4387BF7F.1080307@gmail.com> Seth Ladd wrote: > Hello, > > I'm trying to get the latest trunk for typo, but running into a problem. > > svn checkout svn://leetsoft.com/typo/trunk typo > > svn: Can't connect to host 'leetsoft.com': Connection timed out > > Is there a new, updated SVN URL? > > Thanks! > Seth > > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list > > I just tried it and didn't have any issues. Loaded changes for build 760. From paulrbrown at gmail.com Fri Nov 25 22:31:25 2005 From: paulrbrown at gmail.com (Paul R Brown) Date: Fri, 25 Nov 2005 19:31:25 -0800 Subject: [typo] Wiki spam - new problem In-Reply-To: <9FDC8909-EEA4-4289-93FE-E66F2AE919D5@gmail.com> References: <438635BE.8080205@holsman.net> <9FDC8909-EEA4-4289-93FE-E66F2AE919D5@gmail.com> Message-ID: <7F4033C9-8E5E-4A0E-BEA2-7326CC3B76E8@gmail.com> > Noticed that there's a new problem with spam on the ticket system. > Can't remove this because the links are being entered into the > changelog. If this doesn't get nipped in the bud there is going to > be a lot of it, because they aren't tagged as nofollow. For examples > look at the tickets with spam as the component. Well... It was a matter of time until people figured out how to do this with Trac. I had some initial experience with wiki spam on a Snipsnap installation a while ago, and the only thing that seemed to be effective was to lock-down access to add content and then aggressively blacklist referral IPs. There have even been somewhat isolated instances of Jira spam when registration is open. -- Paul From sethladd at gmail.com Sat Nov 26 04:01:13 2005 From: sethladd at gmail.com (Seth Ladd) Date: Fri, 25 Nov 2005 23:01:13 -1000 Subject: [typo] SVN down? In-Reply-To: <4387BF7F.1080307@gmail.com> References: <64f07e2c0511251308o3753d823p1710b268bae07538@mail.gmail.com> <4387BF7F.1080307@gmail.com> Message-ID: <64f07e2c0511260101p466fecabsf198d1e29c47b25a@mail.gmail.com> > I just tried it and didn't have any issues. > Loaded changes for build 760. Thanks for checking. Turns out it is something wrong with my hosting provider. Seth From gpsnospam at gmail.com Sat Nov 26 11:28:29 2005 From: gpsnospam at gmail.com (gpshewan) Date: Sat, 26 Nov 2005 16:28:29 +0000 Subject: [typo] XSS vulnerability? In-Reply-To: <64f07e2c0511260101p466fecabsf198d1e29c47b25a@mail.gmail.com> References: <64f07e2c0511251308o3753d823p1710b268bae07538@mail.gmail.com> <4387BF7F.1080307@gmail.com> <64f07e2c0511260101p466fecabsf198d1e29c47b25a@mail.gmail.com> Message-ID: <58DB8629-7697-4E5A-AA17-855EA20B941B@gmail.com> Not being a javascript expert, how much of a concern is Ticket #551 that nikanorov just submitted? > Why when I add comment like ---comment---- ---comment---- > > it works? Are you kidding? And he's right ... it does. Gary From scott at sigkill.org Sat Nov 26 11:45:04 2005 From: scott at sigkill.org (Scott Laird) Date: Sat, 26 Nov 2005 08:45:04 -0800 Subject: [typo] XSS vulnerability? In-Reply-To: <58DB8629-7697-4E5A-AA17-855EA20B941B@gmail.com> References: <64f07e2c0511251308o3753d823p1710b268bae07538@mail.gmail.com> <4387BF7F.1080307@gmail.com> <64f07e2c0511260101p466fecabsf198d1e29c47b25a@mail.gmail.com> <58DB8629-7697-4E5A-AA17-855EA20B941B@gmail.com> Message-ID: Argh! It's supposed to be filtered. What happens when you run 'rake'? There's are several XSS-related tests, do any tests fail? Scott On Nov 26, 2005, at 8:28 AM, gpshewan wrote: > Not being a javascript expert, how much of a concern is Ticket #551 > that nikanorov just submitted? > >> Why when I add comment like ---comment---- ---comment---- >> >> it works? Are you kidding? > And he's right ... it does. > > Gary > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list From gpsnospam at gmail.com Sat Nov 26 11:53:55 2005 From: gpsnospam at gmail.com (gpshewan) Date: Sat, 26 Nov 2005 16:53:55 +0000 Subject: [typo] XSS vulnerability? In-Reply-To: References: <64f07e2c0511251308o3753d823p1710b268bae07538@mail.gmail.com> <4387BF7F.1080307@gmail.com> <64f07e2c0511260101p466fecabsf198d1e29c47b25a@mail.gmail.com> <58DB8629-7697-4E5A-AA17-855EA20B941B@gmail.com> Message-ID: Is this what your after Scott? $ rake /usr/bin/ruby1.8 -Ilib:test "/usr/lib/ruby/gems/1.8/gems/rake-0.6.2/ lib/rake/rak e_test_loader.rb" "test/unit/article_test.rb" "test/unit/ blacklist_pattern_test. rb" "test/unit/category_test.rb" "test/unit/comment_test.rb" "test/ unit/configur ation_test.rb" "test/unit/delicious_test.rb" "test/unit/ flickr_test.rb" "test/un it/fortythree_test.rb" "test/unit/page_cache_test.rb" "test/unit/ page_test.rb" " test/unit/ping_test.rb" "test/unit/resource_test.rb" "test/unit/ setting_test.rb" "test/unit/sidebar_test.rb" "test/unit/theme_test.rb" "test/unit/ trackback_test .rb" "test/unit/user_test.rb" "test/unit/audioscrobbler_test.rb" "test/unit/obse rver_test.rb" "test/unit/tag_test.rb" "test/unit/text_filter_test.rb" /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:18:in `require__': no su ch file to load -- http_mock (MissingSourceFile) from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb: 18:in `requ ire' from /usr/lib/ruby/gems/1.8/gems/activesupport-1.2.3/lib/ active_support/ dependencies.rb:214:in `require' from ./test/unit/article_test.rb:3 from /usr/lib/ruby/gems/1.8/gems/rake-0.6.2/lib/rake/ rake_test_loader.rb :5:in `load' from /usr/lib/ruby/gems/1.8/gems/rake-0.6.2/lib/rake/ rake_test_loader.rb :5 from /usr/lib/ruby/gems/1.8/gems/rake-0.6.2/lib/rake/ rake_test_loader.rb :5:in `each' from /usr/lib/ruby/gems/1.8/gems/rake-0.6.2/lib/rake/ rake_test_loader.rb :5 /usr/bin/ruby1.8 -Ilib:test "/usr/lib/ruby/gems/1.8/gems/rake-0.6.2/ lib/rake/rak e_test_loader.rb" "test/functional/accounts_controller_test.rb" "test/ functional /articles_controller_test.rb" "test/functional/ backend_controller_test.rb" "test /functional/theme_controller_test.rb" "test/functional/ xml_controller_test.rb" " test/functional/textfilter_controller_test.rb" "test/functional/admin/ blacklist_ controller_test.rb" "test/functional/admin/ categories_controller_test.rb" "test/ functional/admin/comments_controller_test.rb" "test/functional/admin/ content_con troller_test.rb" "test/functional/admin/general_controller_test.rb" "test/functi onal/admin/themes_controller_test.rb" "test/functional/admin/ trackbacks_controll er_test.rb" "test/functional/admin/users_controller_test.rb" "test/ functional/ad min/article_preview_test.rb" "test/functional/admin/ pages_controller_test.rb" "t est/functional/admin/resources_controller_test.rb" /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:18:in `require__': no such file to load -- dns_mock (MissingSourceFile) from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb: 18:in `require' from /usr/lib/ruby/gems/1.8/gems/activesupport-1.2.3/lib/ active_support/dependencies.rb:214:in `require' from ./test/functional/articles_controller_test.rb:3 from /usr/lib/ruby/gems/1.8/gems/activesupport-1.2.3/lib/ active_support/dependencies.rb:207:in `load' from /usr/lib/ruby/gems/1.8/gems/activesupport-1.2.3/lib/ active_support/dependencies.rb:207:in `load' from /usr/lib/ruby/gems/1.8/gems/rake-0.6.2/lib/rake/ rake_test_loader.rb:5 from /usr/lib/ruby/gems/1.8/gems/rake-0.6.2/lib/rake/ rake_test_loader.rb:5:in `each' from /usr/lib/ruby/gems/1.8/gems/rake-0.6.2/lib/rake/ rake_test_loader.rb:5 rake aborted! Test failures On 26 Nov 2005, at 16:45, Scott Laird wrote: > Argh! It's supposed to be filtered. What happens when you run > 'rake'? There's are several XSS-related tests, do any tests fail? > > > Scott > > On Nov 26, 2005, at 8:28 AM, gpshewan wrote: > >> Not being a javascript expert, how much of a concern is Ticket #551 >> that nikanorov just submitted? >> >>> Why when I add comment like ---comment---- ---comment---- >>> >>> it works? Are you kidding? >> And he's right ... it does. >> >> Gary >> _______________________________________________ >> 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 wyldeone at gmail.com Sat Nov 26 18:41:23 2005 From: wyldeone at gmail.com (Micah Wylde) Date: Sat, 26 Nov 2005 15:41:23 -0800 Subject: [typo] XSS vulnerability? In-Reply-To: References: <64f07e2c0511251308o3753d823p1710b268bae07538@mail.gmail.com> <4387BF7F.1080307@gmail.com> <64f07e2c0511260101p466fecabsf198d1e29c47b25a@mail.gmail.com> <58DB8629-7697-4E5A-AA17-855EA20B941B@gmail.com> Message-ID: <106fc6ec0511261541v382160ecq1f03f41ba9ab771@mail.gmail.com> JS in comments works on my trunk blog as well. Here's an example of what a commenter can do with this: This causes the whole page to disappear. If this works in production blogs, this appears to be a pretty serious hole. On 11/26/05, gpshewan wrote: > > Is this what your after Scott? > > $ rake > /usr/bin/ruby1.8 -Ilib:test "/usr/lib/ruby/gems/1.8/gems/rake-0.6.2/ > lib/rake/rak > e_test_loader.rb" "test/unit/article_test.rb" "test/unit/ > blacklist_pattern_test. > rb" "test/unit/category_test.rb" "test/unit/comment_test.rb" "test/ > unit/configur > ation_test.rb" "test/unit/delicious_test.rb" "test/unit/ > flickr_test.rb" "test/un > it/fortythree_test.rb" "test/unit/page_cache_test.rb" "test/unit/ > page_test.rb" " > test/unit/ping_test.rb" "test/unit/resource_test.rb" "test/unit/ > setting_test.rb" > "test/unit/sidebar_test.rb" "test/unit/theme_test.rb" "test/unit/ > trackback_test > .rb" "test/unit/user_test.rb" "test/unit/audioscrobbler_test.rb" > "test/unit/obse > rver_test.rb" "test/unit/tag_test.rb" "test/unit/text_filter_test.rb" > /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:18:in > `require__': no su > ch file to load -- http_mock (MissingSourceFile) > from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb: > 18:in `requ > ire' > from /usr/lib/ruby/gems/1.8/gems/activesupport-1.2.3/lib/ > active_support/ > dependencies.rb:214:in `require' > from ./test/unit/article_test.rb:3 > from /usr/lib/ruby/gems/1.8/gems/rake-0.6.2/lib/rake/ > rake_test_loader.rb > :5:in `load' > from /usr/lib/ruby/gems/1.8/gems/rake-0.6.2/lib/rake/ > rake_test_loader.rb > :5 > from /usr/lib/ruby/gems/1.8/gems/rake-0.6.2/lib/rake/ > rake_test_loader.rb > :5:in `each' > from /usr/lib/ruby/gems/1.8/gems/rake-0.6.2/lib/rake/ > rake_test_loader.rb > :5 > /usr/bin/ruby1.8 -Ilib:test "/usr/lib/ruby/gems/1.8/gems/rake-0.6.2/ > lib/rake/rak > e_test_loader.rb" "test/functional/accounts_controller_test.rb" "test/ > functional > /articles_controller_test.rb" "test/functional/ > backend_controller_test.rb" "test > /functional/theme_controller_test.rb" "test/functional/ > xml_controller_test.rb" " > test/functional/textfilter_controller_test.rb" "test/functional/admin/ > blacklist_ > controller_test.rb" "test/functional/admin/ > categories_controller_test.rb" "test/ > functional/admin/comments_controller_test.rb" "test/functional/admin/ > content_con > troller_test.rb" "test/functional/admin/general_controller_test.rb" > "test/functi > onal/admin/themes_controller_test.rb" "test/functional/admin/ > trackbacks_controll > er_test.rb" "test/functional/admin/users_controller_test.rb" "test/ > functional/ad > min/article_preview_test.rb" "test/functional/admin/ > pages_controller_test.rb" "t > est/functional/admin/resources_controller_test.rb" > /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:18:in > `require__': no such file to load -- dns_mock (MissingSourceFile) > from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb: > 18:in `require' > from /usr/lib/ruby/gems/1.8/gems/activesupport- 1.2.3/lib/ > active_support/dependencies.rb:214:in `require' > from ./test/functional/articles_controller_test.rb:3 > from /usr/lib/ruby/gems/1.8/gems/activesupport-1.2.3/lib/ > active_support/dependencies.rb:207:in `load' > from /usr/lib/ruby/gems/1.8/gems/activesupport-1.2.3/lib/ > active_support/dependencies.rb:207:in `load' > from /usr/lib/ruby/gems/1.8/gems/rake-0.6.2/lib/rake/ > rake_test_loader.rb:5 > from /usr/lib/ruby/gems/1.8/gems/rake- 0.6.2/lib/rake/ > rake_test_loader.rb:5:in `each' > from /usr/lib/ruby/gems/1.8/gems/rake-0.6.2/lib/rake/ > rake_test_loader.rb:5 > rake aborted! > Test failures > > > > On 26 Nov 2005, at 16:45, Scott Laird wrote: > > > Argh! It's supposed to be filtered. What happens when you run > > 'rake'? There's are several XSS-related tests, do any tests fail? > > > > > > Scott > > > > On Nov 26, 2005, at 8:28 AM, gpshewan wrote: > > > >> Not being a javascript expert, how much of a concern is Ticket #551 > >> that nikanorov just submitted? > >> > >>> Why when I add comment like ---comment---- ---comment---- > >>> > >>> it works? Are you kidding? > >> And he's right ... it does. > >> > >> Gary > >> _______________________________________________ > >> 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 > -- Micah Wylde -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/typo-list/attachments/20051126/eef33631/attachment-0001.htm From nikanorov at gmail.com Sat Nov 26 18:55:49 2005 From: nikanorov at gmail.com (Andrey Nikanorov) Date: Sun, 27 Nov 2005 02:55:49 +0300 Subject: [typo] XSS vulnerability? In-Reply-To: <106fc6ec0511261541v382160ecq1f03f41ba9ab771@mail.gmail.com> References: <64f07e2c0511251308o3753d823p1710b268bae07538@mail.gmail.com> <4387BF7F.1080307@gmail.com> <64f07e2c0511260101p466fecabsf198d1e29c47b25a@mail.gmail.com> <58DB8629-7697-4E5A-AA17-855EA20B941B@gmail.com> <106fc6ec0511261541v382160ecq1f03f41ba9ab771@mail.gmail.com> Message-ID: Ugly temp patch is here: http://typo.leetsoft.com/trac/ticket/551 =) On 11/27/05, Micah Wylde wrote: > JS in comments works on my trunk blog as well. Here's an example of what a > commenter can do with this: > > > This causes the whole page to disappear. If this works in production blogs, > this appears to be a pretty serious hole. > > > On 11/26/05, gpshewan wrote: > > Is this what your after Scott? > > > > $ rake > > /usr/bin/ruby1.8 -Ilib:test > "/usr/lib/ruby/gems/1.8/gems/rake-0.6.2/ > > lib/rake/rak > > e_test_loader.rb" "test/unit/article_test.rb" "test/unit/ > > blacklist_pattern_test. > > rb" "test/unit/category_test.rb" "test/unit/comment_test.rb" "test/ > > unit/configur > > ation_test.rb" "test/unit/delicious_test.rb" "test/unit/ > > flickr_test.rb" "test/un > > it/fortythree_test.rb" "test/unit/page_cache_test.rb" "test/unit/ > > page_test.rb" " > > test/unit/ping_test.rb" "test/unit/resource_test.rb" "test/unit/ > > setting_test.rb" > > "test/unit/sidebar_test.rb" "test/unit/theme_test.rb" "test/unit/ > > trackback_test > > .rb" "test/unit/user_test.rb" > "test/unit/audioscrobbler_test.rb" > > "test/unit/obse > > rver_test.rb" "test/unit/tag_test.rb" "test/unit/text_filter_test.rb" > > > /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:18:in > > `require__': no su > > ch file to load -- http_mock (MissingSourceFile) > > from > /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb: > > 18:in `requ > > ire' > > from > /usr/lib/ruby/gems/1.8/gems/activesupport-1.2.3/lib/ > > active_support/ > > dependencies.rb:214:in `require' > > from ./test/unit/article_test.rb:3 > > from > /usr/lib/ruby/gems/1.8/gems/rake-0.6.2/lib/rake/ > > rake_test_loader.rb > > :5:in `load' > > from > /usr/lib/ruby/gems/1.8/gems/rake-0.6.2/lib/rake/ > > rake_test_loader.rb > > :5 > > from > /usr/lib/ruby/gems/1.8/gems/rake-0.6.2/lib/rake/ > > rake_test_loader.rb > > :5:in `each' > > from > /usr/lib/ruby/gems/1.8/gems/rake-0.6.2/lib/rake/ > > rake_test_loader.rb > > :5 > > /usr/bin/ruby1.8 -Ilib:test > "/usr/lib/ruby/gems/1.8/gems/rake-0.6.2/ > > lib/rake/rak > > e_test_loader.rb" > "test/functional/accounts_controller_test.rb" "test/ > > functional > > /articles_controller_test.rb" "test/functional/ > > backend_controller_test.rb" "test > > /functional/theme_controller_test.rb" "test/functional/ > > xml_controller_test.rb" " > > test/functional/textfilter_controller_test.rb" > "test/functional/admin/ > > blacklist_ > > controller_test.rb" "test/functional/admin/ > > categories_controller_test.rb" "test/ > > functional/admin/comments_controller_test.rb" > "test/functional/admin/ > > content_con > > troller_test.rb" > "test/functional/admin/general_controller_test.rb" > > "test/functi > > onal/admin/themes_controller_test.rb" > "test/functional/admin/ > > trackbacks_controll > > er_test.rb" > "test/functional/admin/users_controller_test.rb" "test/ > > functional/ad > > min/article_preview_test.rb" "test/functional/admin/ > > pages_controller_test.rb" "t > > est/functional/admin/resources_controller_test.rb" > > > /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:18:in > > `require__': no such file to load -- dns_mock (MissingSourceFile) > > from > /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb: > > 18:in `require' > > from /usr/lib/ruby/gems/1.8/gems/activesupport- > 1.2.3/lib/ > > active_support/dependencies.rb:214:in `require' > > from > ./test/functional/articles_controller_test.rb:3 > > from > /usr/lib/ruby/gems/1.8/gems/activesupport-1.2.3/lib/ > > active_support/dependencies.rb:207:in `load' > > from > /usr/lib/ruby/gems/1.8/gems/activesupport-1.2.3/lib/ > > active_support/dependencies.rb:207:in `load' > > from > /usr/lib/ruby/gems/1.8/gems/rake-0.6.2/lib/rake/ > > rake_test_loader.rb:5 > > from /usr/lib/ruby/gems/1.8/gems/rake- > 0.6.2/lib/rake/ > > rake_test_loader.rb:5:in `each' > > from > /usr/lib/ruby/gems/1.8/gems/rake-0.6.2/lib/rake/ > > rake_test_loader.rb:5 > > rake aborted! > > Test failures > > > > > > > > On 26 Nov 2005, at 16:45, Scott Laird wrote: > > > > > Argh! It's supposed to be filtered. What happens when you run > > > 'rake'? There's are several XSS-related tests, do any tests fail? > > > > > > > > > Scott > > > > > > On Nov 26, 2005, at 8:28 AM, gpshewan wrote: > > > > > >> Not being a javascript expert, how much of a concern is Ticket #551 > > >> that nikanorov just submitted? > > >> > > >>> Why when I add comment like ---comment---- ---comment---- > > >>> > > >>> it works? Are you kidding? > > >> And he's right ... it does. > > >> > > >> Gary > > >> _______________________________________________ > > >> 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 > > > > > > -- > Micah Wylde > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list > > > -- Nikanorov Andrey http://nikanorov.com This email is: [ ] blogable [ x ] ask first [ ] private From kevin at sb.org Sat Nov 26 19:44:07 2005 From: kevin at sb.org (Kevin Ballard) Date: Sat, 26 Nov 2005 16:44:07 -0800 Subject: [typo] XSS vulnerability? In-Reply-To: References: <64f07e2c0511251308o3753d823p1710b268bae07538@mail.gmail.com> <4387BF7F.1080307@gmail.com> <64f07e2c0511260101p466fecabsf198d1e29c47b25a@mail.gmail.com> <58DB8629-7697-4E5A-AA17-855EA20B941B@gmail.com> Message-ID: <3DA90933-EB5E-4478-AF66-DD8237B3C73B@sb.org> I just ran `rake' on my trunk and got no failures at all. And yet the example XSS mostly works for me (it doesn't actually display an alert because my textfilter translates " into an entity, but that can be worked around). On Nov 26, 2005, at 8:45 AM, Scott Laird wrote: > Argh! It's supposed to be filtered. What happens when you run > 'rake'? There's are several XSS-related tests, do any tests fail? -- 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/20051126/19a3eefa/smime.bin From wyldeone at gmail.com Sat Nov 26 19:48:08 2005 From: wyldeone at gmail.com (Micah Wylde) Date: Sat, 26 Nov 2005 16:48:08 -0800 Subject: [typo] XSS vulnerability? In-Reply-To: <3DA90933-EB5E-4478-AF66-DD8237B3C73B@sb.org> References: <64f07e2c0511251308o3753d823p1710b268bae07538@mail.gmail.com> <4387BF7F.1080307@gmail.com> <64f07e2c0511260101p466fecabsf198d1e29c47b25a@mail.gmail.com> <58DB8629-7697-4E5A-AA17-855EA20B941B@gmail.com> <3DA90933-EB5E-4478-AF66-DD8237B3C73B@sb.org> Message-ID: <106fc6ec0511261648p57f8292cicf0fefe2cecc57c9@mail.gmail.com> Both the blog at rubyonrails.org and the one at typogarden.org are also vulnerable to this (though their text filters also translate quotation marks into html entities.) On 11/26/05, Kevin Ballard wrote: > > I just ran `rake' on my trunk and got no failures at all. And yet the > example XSS mostly works for me (it doesn't actually display an alert > because my textfilter translates " into an entity, but that can be > worked around). > > On Nov 26, 2005, at 8:45 AM, Scott Laird wrote: > > > Argh! It's supposed to be filtered. What happens when you run > > 'rake'? There's are several XSS-related tests, do any tests fail? > > -- > 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 > > > > -- Micah Wylde -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/typo-list/attachments/20051126/41bd44c7/attachment.htm From gpsnospam at gmail.com Sun Nov 27 06:36:29 2005 From: gpsnospam at gmail.com (gpshewan) Date: Sun, 27 Nov 2005 11:36:29 +0000 Subject: [typo] Clearing the sessions table ... mebbe In-Reply-To: <106fc6ec0511261648p57f8292cicf0fefe2cecc57c9@mail.gmail.com> References: <64f07e2c0511251308o3753d823p1710b268bae07538@mail.gmail.com> <4387BF7F.1080307@gmail.com> <64f07e2c0511260101p466fecabsf198d1e29c47b25a@mail.gmail.com> <58DB8629-7697-4E5A-AA17-855EA20B941B@gmail.com> <3DA90933-EB5E-4478-AF66-DD8237B3C73B@sb.org> <106fc6ec0511261648p57f8292cicf0fefe2cecc57c9@mail.gmail.com> Message-ID: The sessions table is only really used for user authentication on admin pages ... right? So is there any problem in clearing out this table periodically? Gary ------ gpshewan.com From theaks at hardlovecowboys.com Sun Nov 27 07:15:00 2005 From: theaks at hardlovecowboys.com (Andrew Theaker) Date: Sun, 27 Nov 2005 23:15:00 +1100 Subject: [typo] trailing slash on typo url Message-ID: <694cf690511270415k1b89e7a9y59bfbb16579f5e70@mail.gmail.com> How do I get apache to rewrite the url of http://domain.com/blog to http://domain.com/blog/ i get 400 bad requests if the slash is missing but don't trust my friends to type the right URL in all the time From scott at sigkill.org Sun Nov 27 07:30:10 2005 From: scott at sigkill.org (Scott Laird) Date: Sun, 27 Nov 2005 04:30:10 -0800 Subject: [typo] trailing slash on typo url In-Reply-To: <694cf690511270415k1b89e7a9y59bfbb16579f5e70@mail.gmail.com> References: <694cf690511270415k1b89e7a9y59bfbb16579f5e70@mail.gmail.com> Message-ID: How did you set up Apache to put Typo in /blog? Are you using a symlink or an Alias? Scott On Nov 27, 2005, at 4:15 AM, Andrew Theaker wrote: > How do I get apache to rewrite the url of http://domain.com/blog to > http://domain.com/blog/ > > i get 400 bad requests if the slash is missing but don't trust my > friends to type the right URL in all the time > > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list From scott at sigkill.org Sun Nov 27 07:34:16 2005 From: scott at sigkill.org (Scott Laird) Date: Sun, 27 Nov 2005 04:34:16 -0800 Subject: [typo] Clearing the sessions table ... mebbe In-Reply-To: References: <64f07e2c0511251308o3753d823p1710b268bae07538@mail.gmail.com> <4387BF7F.1080307@gmail.com> <64f07e2c0511260101p466fecabsf198d1e29c47b25a@mail.gmail.com> <58DB8629-7697-4E5A-AA17-855EA20B941B@gmail.com> <3DA90933-EB5E-4478-AF66-DD8237B3C73B@sb.org> <106fc6ec0511261648p57f8292cicf0fefe2cecc57c9@mail.gmail.com> Message-ID: On Nov 27, 2005, at 3:36 AM, gpshewan wrote: > The sessions table is only really used for user authentication on > admin pages ... right? So is there any problem in clearing out this > table periodically? No problem at all. I usually delete everything that's older then a week or so; it keeps me from having to log back in. The trunk shouldn't generate as many bogus sessions. Scott From gpsnospam at gmail.com Sun Nov 27 07:59:41 2005 From: gpsnospam at gmail.com (gpshewan) Date: Sun, 27 Nov 2005 12:59:41 +0000 Subject: [typo] Clearing the sessions table ... mebbe In-Reply-To: References: <64f07e2c0511251308o3753d823p1710b268bae07538@mail.gmail.com> <4387BF7F.1080307@gmail.com> <64f07e2c0511260101p466fecabsf198d1e29c47b25a@mail.gmail.com> <58DB8629-7697-4E5A-AA17-855EA20B941B@gmail.com> <3DA90933-EB5E-4478-AF66-DD8237B3C73B@sb.org> <106fc6ec0511261648p57f8292cicf0fefe2cecc57c9@mail.gmail.com> Message-ID: <6CC0638F-3D72-48F5-92CF-96724405E8ED@gmail.com> That's good, I hadn't touched sessions since first installing Typo so there were around 17k entries in their. Nice to get rid of that. On 27 Nov 2005, at 12:34, Scott Laird wrote: > > On Nov 27, 2005, at 3:36 AM, gpshewan wrote: > >> The sessions table is only really used for user authentication on >> admin pages ... right? So is there any problem in clearing out this >> table periodically? > > No problem at all. I usually delete everything that's older then a > week or so; it keeps me from having to log back in. > > The trunk shouldn't generate as many bogus sessions. > > > Scott > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list From fuzzyfree at gmail.com Sun Nov 27 09:15:20 2005 From: fuzzyfree at gmail.com (Freedom Dumlao) Date: Sun, 27 Nov 2005 09:15:20 -0500 Subject: [typo] trailing slash on typo url In-Reply-To: References: <694cf690511270415k1b89e7a9y59bfbb16579f5e70@mail.gmail.com> Message-ID: If you are using the symlink like the directions over at the Site5 forums show you then you can use my solution: I put the following in my .htaccess inside the root web directory (not typo's public directory, the real web root) DirectoryIndex ./blog/dispatch.fcgi With that one line by itself in my web root directory, whenever someone navigates to domain.com, they are automatically going to load the right page. They also wont even see the /blog/ part unless they start clicking links, which will all work fine. On 11/27/05, Scott Laird wrote: > How did you set up Apache to put Typo in /blog? Are you using a > symlink or an Alias? > > > Scott > > On Nov 27, 2005, at 4:15 AM, Andrew Theaker wrote: > > > How do I get apache to rewrite the url of http://domain.com/blog to > > http://domain.com/blog/ > > > > i get 400 bad requests if the slash is missing but don't trust my > > friends to type the right URL in all the time > > > > _______________________________________________ > > 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 fuzzyfree at gmail.com Sun Nov 27 09:40:42 2005 From: fuzzyfree at gmail.com (Freedom Dumlao) Date: Sun, 27 Nov 2005 09:40:42 -0500 Subject: [typo] Couldn't login to admin... ever seen this error? Message-ID: I just tried to login to admin and got an error saying that typo could not be reached... when I checked the logs I got the following error: Processing GeneralController#index (for 69.253.79.170 at 2005-11-27 09:33:51) [GET] Parameters: {"action"=>"index", "controller"=>"admin/general"} Redirected to http://www.domain.com/blog/accounts/login Filter chain halted as [login_required] returned false Completed in 0.00342 (292 reqs/sec) | DB: 0.00145 (42%) | 302 Found [http://www.domain.com/blog/admin] Anyone seen this before? Also, it appears to have gone away on it's own, as I can now log in. From kidouses at gmail.com Sun Nov 27 18:24:41 2005 From: kidouses at gmail.com (Chris Sandy) Date: Sun, 27 Nov 2005 17:24:41 -0600 Subject: [typo] Admin Sidebar throwing up an error In-Reply-To: References: Message-ID: <438A4039.3060705@gmail.com> This just happened to me today and I'm not overly sure why. From my admin panel when I click on sidebar I get a Application Error(Rails) message. I checked the logs to see what was going on and I see this message NameError (uninitialized constant SidebarController): /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.2.3/lib/active_support/dependencies.rb:195:in `const_missing' /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.2.3/lib/active_support/dependencies.rb:72:in `const_missing' routing.rb:234:in `traverse_to_controller' generated/routing/recognition.rb:295:in `eval' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.0/lib/action_controller/routing.rb:234:in `traverse_to_controller' generated/routing/recognition.rb:295:in `recognize_path' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.0/lib/action_controller/routing.rb:458:in `recognize!' /usr/local/lib/ruby/gems/1.8/gems/rails-0.14.3/lib/dispatcher.rb:38:in `dispatch' /usr/local/lib/ruby/gems/1.8/gems/rails-0.14.3/lib/fcgi_handler.rb:141:in `process_request' /usr/local/lib/ruby/gems/1.8/gems/rails-0.14.3/lib/fcgi_handler.rb:53:in `process!' /usr/local/lib/ruby/gems/1.8/gems/rails-0.14.3/lib/fcgi_handler.rb:52:in `each_cgi' /usr/local/lib/ruby/gems/1.8/gems/fcgi-0.8.6.1/./fcgi.rb:597:in `each' /usr/local/lib/ruby/gems/1.8/gems/fcgi-0.8.6.1/./fcgi.rb:597:in `each_cgi' /usr/local/lib/ruby/gems/1.8/gems/rails-0.14.3/lib/fcgi_handler.rb:52:in `process!' /usr/local/lib/ruby/gems/1.8/gems/rails-0.14.3/lib/fcgi_handler.rb:22:in `process!' dispatch.fcgi:24 I've tried putting a fresh sidebar_controller.rb in but that didn't make any change. Nothing else seems to be affected so I really don't have any idea what to do. Anyone have some ideas? --Chris From gilgit at gmail.com Sun Nov 27 19:08:53 2005 From: gilgit at gmail.com (David Richardson) Date: Sun, 27 Nov 2005 17:08:53 -0700 Subject: [typo] Server error 500 blues Message-ID: <35ac07b90511271608o36b404e3od28c4594f58d9c6f@mail.gmail.com> I'm getting the infamous '500 Internal Server Error' when running Typofrom WEBrick. My environment is:OS X 10.4.3, all gems updateddb: SQLite3 (native OS X installation)rails: 0.14.3 (Tony Arnold installer -http://www.tonyarnold.com/articles/2005/08/10/rolling-with-ruby-on-rails-on-mac-os-x-tiger-for-beginners)I don't have XCode installed, and looked here for SQLite3 bindings andreadline support.server: WEBrick on port 3000 (default)Typo: 2.6.0 or current trunk running WEBrick and browsing to localhost:3000 returns an emptydocument produces an http '500' response message in the terminalinstance running WEBrick. running ruby dispatch.rb produces the dreaded '500' error. running console produces no exceptionsthe console query User.find(:all) returns either '[]' or the expectedtest value if I insert a row manually using sqlite.I don't see how this can be a database connection problem. Any debugging suggestions out there? >From a more abstract perspective, does anyone have thoughts oncreating useful error messages at the rails level? Anything we can doat the Typo application level? This problem is all too common, andmust surely turn away a significant number of people ( I do have anumber of production applications, typo and others, running on a Linuxmachine, but if this was my first encounter with rails, I wouldprobably head back to Wordpress or Textpattern).--David Richardson From theaks at hardlovecowboys.com Sun Nov 27 21:43:18 2005 From: theaks at hardlovecowboys.com (Andrew Theaker) Date: Mon, 28 Nov 2005 13:43:18 +1100 Subject: [typo] trailing slash on typo url In-Reply-To: References: <694cf690511270415k1b89e7a9y59bfbb16579f5e70@mail.gmail.com> Message-ID: <694cf690511271843u62c10fb7h5351403b322f8847@mail.gmail.com> Thats a good tempory solution (and yes i'm on site5) a better permanent solution would be to have something i could put in the /blog/.htaccess as I may wish for the index of my domain to be something different in the future. Any ideas? Should I change from a symlink to an alias? On 11/28/05, Freedom Dumlao wrote: > If you are using the symlink like the directions over at the Site5 > forums show you then you can use my solution: > > I put the following in my .htaccess inside the root web directory (not > typo's public directory, the real web root) > > DirectoryIndex ./blog/dispatch.fcgi > > With that one line by itself in my web root directory, whenever > someone navigates to domain.com, they are automatically going to load > the right page. They also wont even see the /blog/ part unless they > start clicking links, which will all work fine. > > On 11/27/05, Scott Laird wrote: > > How did you set up Apache to put Typo in /blog? Are you using a > > symlink or an Alias? > > > > > > Scott > > > > On Nov 27, 2005, at 4:15 AM, Andrew Theaker wrote: > > > > > How do I get apache to rewrite the url of http://domain.com/blog to > > > http://domain.com/blog/ > > > > > > i get 400 bad requests if the slash is missing but don't trust my > > > friends to type the right URL in all the time > > > > > > _______________________________________________ > > > 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 kevin at sb.org Mon Nov 28 03:17:02 2005 From: kevin at sb.org (Kevin Ballard) Date: Mon, 28 Nov 2005 00:17:02 -0800 Subject: [typo] Clearing the sessions table ... mebbe In-Reply-To: <6CC0638F-3D72-48F5-92CF-96724405E8ED@gmail.com> References: <64f07e2c0511251308o3753d823p1710b268bae07538@mail.gmail.com> <4387BF7F.1080307@gmail.com> <64f07e2c0511260101p466fecabsf198d1e29c47b25a@mail.gmail.com> <58DB8629-7697-4E5A-AA17-855EA20B941B@gmail.com> <3DA90933-EB5E-4478-AF66-DD8237B3C73B@sb.org> <106fc6ec0511261648p57f8292cicf0fefe2cecc57c9@mail.gmail.com> <6CC0638F-3D72-48F5-92CF-96724405E8ED@gmail.com> Message-ID: <996CA49F-05E2-44A4-BB17-88D36FEEA83C@sb.org> Heh, I think this is why backpack and basecamp only save your password for 2 weeks - so they can periodically wipe all sessions older than 2 weeks to keep the number down. On Nov 27, 2005, at 4:59 AM, gpshewan wrote: > That's good, I hadn't touched sessions since first installing Typo so > there were around 17k entries in their. Nice to get rid of that. -- 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/20051128/9832710c/smime.bin From gebloom at gmail.com Tue Nov 29 02:46:50 2005 From: gebloom at gmail.com (Gary Bloom) Date: Mon, 28 Nov 2005 23:46:50 -0800 Subject: [typo] Category - "Show all" Message-ID: <1e1e7960511282346q25d27824lff00de17a688c872@mail.gmail.com> In Typo 2.6, dafault theme, I hacked a "show all" category by sticking a home link under the Categories title in content.rhtml. I'm using the Metallic theme, which puts space between the "Show all" (home) link and the first real category. Is there a way to create a real "All" category? Regards, Gary From kvanderauwera at gmail.com Tue Nov 29 07:27:55 2005 From: kvanderauwera at gmail.com (Koen Van der Auwera) Date: Tue, 29 Nov 2005 13:27:55 +0100 Subject: [typo] Oafer42 Message-ID: <53f0709b0511290427k5a1dcbc8rd650e5e4f5122294@mail.gmail.com> Hi all, I wrote a little blog-tool (called Oafer42) which already has proven to be very useful to me. It is used to publish posts using the metaweblogapi. It can send trackbacks and it automagically sends a ping to ping-o-matic. The last 20+ posts on my blog were published using Oafer42. So I think it's ready to share it with the rest of the world. :) Since I'm not a Ruby-Guru, yet ;) I would like to know, what can be improved. Especially the exception handling, there is some work to be done there I guess. Please keep in mind that I want to keep it simple. I don't want no bloated WYSIWYG editor. The code: http://oafer42.atog.be btw I chose to send it to the typo-list because typo is the reason I wrote it. -- Koen. From gilgit at gmail.com Tue Nov 29 14:30:07 2005 From: gilgit at gmail.com (David Richardson) Date: Tue, 29 Nov 2005 12:30:07 -0700 Subject: [typo] File upload in v. 760 Message-ID: <35ac07b90511291130k4cff859dmfbb5b5af142e8542@mail.gmail.com> Resource file upload isn't working for me in Safari (v 2.02, bothrelease and WebKit versions). Works fine with Mozilla or IE Win. Noobvious errors in any logs, but 'upload' sends the post then doesnothing. Is anyone else seeing this problem?--www.channel200.net aim: david.richardson at mac.comjabber/googletalk: channel200 at gmail.com From bousquet at usc.edu Tue Nov 29 14:35:36 2005 From: bousquet at usc.edu (Robert Bousquet) Date: Tue, 29 Nov 2005 11:35:36 -0800 Subject: [typo] File upload in v. 760 In-Reply-To: <35ac07b90511291130k4cff859dmfbb5b5af142e8542@mail.gmail.com> References: <35ac07b90511291130k4cff859dmfbb5b5af142e8542@mail.gmail.com> Message-ID: <24b91a3a0fc4c357c5d4696bc844a88e@usc.edu> If you mean it's not redirecting, that's how it's been for a while. You can upload multiple files that way. If the file doesn't upload and it's not in your overview page, then that's a bug or a permissions problem. Robert On Nov 29, 2005, at 11:30 AM, David Richardson wrote: > Resource file upload isn't working for me in Safari (v 2.02, > bothrelease and WebKit versions). Works fine with Mozilla or IE Win. > Noobvious errors in any logs, but 'upload' sends the post then > doesnothing. > Is anyone else seeing this problem?--www.channel200.net > aim: david.richardson at mac.comjabber/googletalk: channel200 at gmail.com > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list > From davidgee at gmail.com Tue Nov 29 17:13:38 2005 From: davidgee at gmail.com (David Gee) Date: Tue, 29 Nov 2005 14:13:38 -0800 Subject: [typo] Question about sidebar / cacheing / rails Message-ID: <438CD292.5020709@mode3.com> Hi, I'm fairly new to rails. I've noticed that many of the sidebars that aggregate third-party info, such as the flickr, upcoming.org, and del.icio.us sidebars, don't get updated in the sidebar. Is this an artifact of Typo's caching? Is the caching system inherent to Rails apps (it seems like it might be) or is it a Typo-specific feature? Any workarounds? I'm thinking of just going back to hand-rolling all my sidebar stuff and including it dynamically on pages, which would remove a lot of the advantage of using Typo in the first place. Also, are there any plans in the works for multiple sidebars, context-sensitive sidebars (ie. certain sidebar plugins only show up on certain pages), or anything like that? Sorry for the abundance of questions, I'm looking into these questions on the web as well and will gladly summarize and report back as soon as I have useful info. cheers, david -- david gee ::: david at mode3.com ::: http://www.mode3.com/david From gilgit at gmail.com Tue Nov 29 20:09:34 2005 From: gilgit at gmail.com (David Richardson) Date: Tue, 29 Nov 2005 18:09:34 -0700 Subject: [typo] File upload in v. 760 In-Reply-To: <24b91a3a0fc4c357c5d4696bc844a88e@usc.edu> References: <35ac07b90511291130k4cff859dmfbb5b5af142e8542@mail.gmail.com> <24b91a3a0fc4c357c5d4696bc844a88e@usc.edu> Message-ID: <35ac07b90511291709o103fe31cp5a99634d0c355ebf@mail.gmail.com> I mean that a POST is apparently executed to transmit the file to theserver, but it is not saved on the server. I haven't monitored thehttp traffic to confirm that something does go to the server, but thepage refreshes, so for the moment, I'm assuming it does. This is not a permissions problem - everything works fine using IE/Winor Firefox. I presume it is a bug, but want to confirm that it isn'tdue to my local configuration of Safari. A quick glance at the codeseems to indicate that the upload is a simple POST message without anyJavascript, so it is difficult to see where a problem could occur. Is anyone running Safari able to confirm this as a problem using thecurrent trunk version (760)? --www.channel200.net aim: david.richardson at mac.comjabber/googletalk: channel200 at gmail.com From gilgit at gmail.com Tue Nov 29 21:12:38 2005 From: gilgit at gmail.com (David Richardson) Date: Tue, 29 Nov 2005 19:12:38 -0700 Subject: [typo] Question about sidebar / cacheing / rails In-Reply-To: <438CD292.5020709@mode3.com> References: <438CD292.5020709@mode3.com> Message-ID: <35ac07b90511291812w180b2991rbacdbc4b18488b28@mail.gmail.com> A complete page is the smallest cache fragment Typo knows about. Sameas a Movable Type site. This was a Typo design decision, rather than aRails one. Not flexible, and not as fast as a page-component RAM cache, buteasier to implement. An alternate caching mechanism is in thedevelopment area for comment, as well as a patch to include abrowser-fetch mechanism (Javascript) for sidebar content -http://typo.leetsoft.com/trac/ticket/345 I don't understand where the pages are cached, though. Typo seems tobe unusually sensitive to configuration, and I wonder if the cachingmechanism contributes to these problems. D.R. --www.channel200.net aim: david.richardson at mac.comjabber/googletalk: channel200 at gmail.com From mike at uwmike.com Tue Nov 29 21:28:39 2005 From: mike at uwmike.com (Michael Purvis) Date: Tue, 29 Nov 2005 21:28:39 -0500 Subject: [typo] Question about sidebar / cacheing / rails In-Reply-To: <35ac07b90511291812w180b2991rbacdbc4b18488b28@mail.gmail.com> References: <438CD292.5020709@mode3.com> <35ac07b90511291812w180b2991rbacdbc4b18488b28@mail.gmail.com> Message-ID: <438D0E57.3000303@uwmike.com> David Richardson wrote: >... as well as a patch to include abrowser-fetch mechanism (Javascript) for sidebar content > Interesting, I had no idea that was in the works. I played with something like that a while back: http://sandbox.mikepurvis.com/js/javascriptinclude/ But I'd whipped that up for someone who'd been blogging by hand on webspace that had no server languages... he was pretty stubborn about switching away... not entirely sure why. Mike -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.362 / Virus Database: 267.13.10/188 - Release Date: 29/11/2005 From jb at justbe.com Wed Nov 30 04:04:55 2005 From: jb at justbe.com (Joerg Battermann) Date: Wed, 30 Nov 2005 10:04:55 +0100 Subject: [typo] Typo not updating anymore? Message-ID: Hello everyone, I have a typo blog running at blog.justbe.com which used to work perfectly until recently, but all of a sudden new posts don't show up on the mainsite anymore or the feeds, only when explicitly searching for them (e.g. try searching for 'denton') which is the latest post I posted today. The articles show up just fine in the admin center and you can go there when opening the article directly, but as I said, it doesn't show up on the frontpage nor feeds... what can i do? I tried clearing the cache and checked the date.. but nothing's helping :| Best regards / MfG, -- Joerg Battermann jb at justBE.com http://www.justBE.com - blog: http://blog.justBE.com PGP-KeyID: 0x77007DA6 PGP-Fingerprint: 0461 F2EC 53EB CEBE 6B73 8EEC 64AD 0606 7700 7DA6 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/typo-list/attachments/20051130/55fc2397/attachment.htm From jb at justbe.com Wed Nov 30 04:16:41 2005 From: jb at justbe.com (Joerg Battermann) Date: Wed, 30 Nov 2005 10:16:41 +0100 Subject: [typo] Typo not updating anymore? References: Message-ID: Oh and as a sidenote - switching themes doesn't work anymore either :\ Best regards / MfG, -- Joerg Battermann jb at justBE.com http://www.justBE.com - blog: http://blog.justBE.com PGP-KeyID: 0x77007DA6 PGP-Fingerprint: 0461 F2EC 53EB CEBE 6B73 8EEC 64AD 0606 7700 7DA6 ________________________________ From: typo-list-bounces at rubyforge.org on behalf of Joerg Battermann Sent: Wed 11/30/2005 10:04 AM To: typo-list at rubyforge.org Subject: [typo] Typo not updating anymore? Hello everyone, I have a typo blog running at blog.justbe.com which used to work perfectly until recently, but all of a sudden new posts don't show up on the mainsite anymore or the feeds, only when explicitly searching for them (e.g. try searching for 'denton') which is the latest post I posted today. The articles show up just fine in the admin center and you can go there when opening the article directly, but as I said, it doesn't show up on the frontpage nor feeds... what can i do? I tried clearing the cache and checked the date.. but nothing's helping :| Best regards / MfG, -- Joerg Battermann jb at justBE.com http://www.justBE.com - blog: http://blog.justBE.com PGP-KeyID: 0x77007DA6 PGP-Fingerprint: 0461 F2EC 53EB CEBE 6B73 8EEC 64AD 0606 7700 7DA6 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/ms-tnef Size: 5014 bytes Desc: not available Url : http://rubyforge.org/pipermail/typo-list/attachments/20051130/8bd72a31/attachment.bin From dlamotte at bamboo.lu Wed Nov 30 05:01:09 2005 From: dlamotte at bamboo.lu (Denis Lamotte) Date: Wed, 30 Nov 2005 11:01:09 +0100 Subject: [typo] Typo not updating anymore? In-Reply-To: References: Message-ID: <438D7865.6090201@bamboo.lu> i think that you have a caching problem try running rake sweep_cache or delete the folder article in your public folder, and does the same with any theme folder inside image or stylesheets or just update the right of theses folders. Lanfeust Joerg Battermann wrote: > Oh and as a sidenote - switching themes doesn't work anymore either :\ > > > Best regards / MfG, > -- > Joerg Battermann > jb at justBE.com > http://www.justBE.com - blog: http://blog.justBE.com > > PGP-KeyID: 0x77007DA6 > PGP-Fingerprint: 0461 F2EC 53EB CEBE 6B73 8EEC 64AD 0606 7700 7DA6 > > > ________________________________ > > From: typo-list-bounces at rubyforge.org on behalf of Joerg Battermann > Sent: Wed 11/30/2005 10:04 AM > To: typo-list at rubyforge.org > Subject: [typo] Typo not updating anymore? > > > Hello everyone, > > I have a typo blog running at blog.justbe.com which used to work perfectly until recently, but all of a sudden new posts don't show up on the mainsite anymore or the feeds, only when explicitly searching for them (e.g. try searching for 'denton') which is the latest post I posted today. The articles show up just fine in the admin center and you can go there when opening the article directly, but as I said, it doesn't show up on the frontpage nor feeds... > > what can i do? I tried clearing the cache and checked the date.. but nothing's helping :| > > > Best regards / MfG, > -- > Joerg Battermann > jb at justBE.com > http://www.justBE.com - blog: http://blog.justBE.com > > PGP-KeyID: 0x77007DA6 > PGP-Fingerprint: 0461 F2EC 53EB CEBE 6B73 8EEC 64AD 0606 7700 7DA6 > > > > ------------------------------------------------------------------------ > > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list From jbainbridge at gmail.com Wed Nov 30 10:24:55 2005 From: jbainbridge at gmail.com (Jason Bainbridge) Date: Wed, 30 Nov 2005 09:24:55 -0600 Subject: [typo] Converting from Wordpress - a few q's Message-ID: All, I apologize if this is a frequent topic and y'all are sick of answering the same questions but I did some quick googling and glanced through recent archives so I did do at least some due diligence first before coming here. :) I'm currently performing a trial conversion from Wordpress to Typo and have gotten most of the way there using the distributed Wordpress converter (by the way in WP 2.0 user_nickname is now user_nicename but that was the only change I needed to make in the converter). The issues I am looking at resolving are: Permalinks - Any easy way to remove the articles/ prefix that Typo has by default? Other than that the permalinks appear to be the same. Has anyone else dealt with this before and maybe have a solution put together already? Tags - Recently I have been using Taggerati more heavily to classify my Wordpress posts using tags and only lightly using the categories. The way the tagging works in Taggerati is: tagname will tag the post and link tagname in the post to the tag page for that tag tagname will tag the post but the link will be to the site specified in the URL and not to the tag page for that tag. tagname will tag the post with tagname but it won't appear in the post Has anyone got any pointers on how I can convert these over to Typo's tagging system? The converter keeps the raw tags in place so I'm thinking some SQL and regexp's are going to be needed to tag the posts in Typo and a custom filter to transform the text in the post to the appropriate links (or hide them if an itag) but if someone could point me in the right direction it would be much appreciated. Cheers, -- Jason Bainbridge An Aussie geek stuck in Texas - http://jasonbainbridge.com Advertisement free blogs for those affected by emergency situations - http://911blogs.com From gpsnospam at gmail.com Wed Nov 30 10:36:33 2005 From: gpsnospam at gmail.com (gpshewan) Date: Wed, 30 Nov 2005 15:36:33 +0000 Subject: [typo] Converting from Wordpress - a few q's In-Reply-To: References: Message-ID: <088B0604-F5F0-4EC7-A16F-EBBA8325E1E3@gmail.com> Don't know about Tags because I never use them. But as far as the redirects go I do have a solution. I have a feeling that Scott was working on something to handle redirects when you migrate from another engine ... but can't remember. But here's the solution I found: > To resolve the legacy links issue from Wordpress you need to alter > some code in the config/routes.rb file of Typo. In there you will > see an entry like this: > > map.connect ?articles/:year/:month/:day/ > page/:page?, :controller => ?articles?, :action => > ?find_by_date?, :year => /\d{4}/, :month => /\d{1,2}/, :day => /\d > {1,2}/, :page => /\d+/ > > For each instance of this code, I copied it and removed the > ?article? part. So below this you would end up with: > > map.connect ?:year/:month/:day/page/:page?, :controller => > ?articles?, :action => ?find_by_date?, :year => /\d{4}/, :month => / > \d{1,2}/, :day => /\d{1,2}/, :page => /\d+/ > > So this means the /article/ part of the URL doesn?t have to be in > the URL ? perfect for old links from search engines or other > peoples sites. Bit of a workaround but it's not that hard to implement. Gary On 30 Nov 2005, at 15:24, Jason Bainbridge wrote: > All, > > I apologize if this is a frequent topic and y'all are sick of > answering the same questions but I did some quick googling and glanced > through recent archives so I did do at least some due diligence first > before coming here. :) > > I'm currently performing a trial conversion from Wordpress to Typo and > have gotten most of the way there using the distributed Wordpress > converter (by the way in WP 2.0 user_nickname is now user_nicename but > that was the only change I needed to make in the converter). > > The issues I am looking at resolving are: > > Permalinks - Any easy way to remove the articles/ prefix that Typo has > by default? Other than that the permalinks appear to be the same. Has > anyone else dealt with this before and maybe have a solution put > together already? > > Tags - Recently I have been using Taggerati more heavily to classify > my Wordpress posts using tags and only lightly using the categories. > The way the tagging works in Taggerati is: > > tagname will tag the post and link tagname in the post to > the tag page for that tag > > tagname will tag the post but the link > will be to the site specified in the URL and not to the tag page for > that tag. > > tagname will tag the post with tagname but it won't > appear in the post > > Has anyone got any pointers on how I can convert these over to Typo's > tagging system? The converter keeps the raw tags in place so I'm > thinking some SQL and regexp's are going to be needed to tag the posts > in Typo and a custom filter to transform the text in the post to the > appropriate links (or hide them if an itag) but if someone could point > me in the right direction it would be much appreciated. > > Cheers, > -- > Jason Bainbridge > An Aussie geek stuck in Texas - http://jasonbainbridge.com > Advertisement free blogs for those affected by emergency situations - > http://911blogs.com > > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list From tomwilcoxen at gmail.com Wed Nov 30 10:41:54 2005 From: tomwilcoxen at gmail.com (Tom Wilcoxen) Date: Wed, 30 Nov 2005 08:41:54 -0700 Subject: [typo] Guid has already been taken - Typo trunk/Rails 0.14.4 Message-ID: <8e0de09e0511300741u5b46e728iabac41b3177e4bf5@mail.gmail.com> I've just upgraded to trunk typo and edge rails. I ran rake migrate and it seemd to complete ok. Everything seems fine until I tried to create a new article, then I get an error: 1 error prohibited this article from being saved There were problems with the following fields: Guid has already been taken Is there something I can reset in the database? Most of my articles have a GUID of NULL, except one that I published yesterday that has "6ef482f9-bc18-4359-a3c9-fd9a3df55306". I've tried canceling and creating a new article, but same results. I looked at the article model, and see the 'validates_uniqueness_of :guid'. I see the before_save call to :create_guid and the TypoGuid module which has the create_guid method. In there, there's a reference to UUID, but uuidtools isn't required -- could that be it? Or any other ideas? Thanks! -Tom -- Tom Wilcoxen http://convergentarts.com From gpsnospam at gmail.com Wed Nov 30 11:47:24 2005 From: gpsnospam at gmail.com (gpshewan) Date: Wed, 30 Nov 2005 16:47:24 +0000 Subject: [typo] Converting from Wordpress - a few q's In-Reply-To: References: Message-ID: <3B643386-4125-44CE-9269-06721D89733B@gmail.com> Aha, while planning another trunk jump I saw that the redirect has been implemented in rev 754. Knew I'd seen that functionality somewhere... On 30 Nov 2005, at 15:24, Jason Bainbridge wrote: > All, > > I apologize if this is a frequent topic and y'all are sick of > answering the same questions but I did some quick googling and glanced > through recent archives so I did do at least some due diligence first > before coming here. :) > > I'm currently performing a trial conversion from Wordpress to Typo and > have gotten most of the way there using the distributed Wordpress > converter (by the way in WP 2.0 user_nickname is now user_nicename but > that was the only change I needed to make in the converter). > > The issues I am looking at resolving are: > > Permalinks - Any easy way to remove the articles/ prefix that Typo has > by default? Other than that the permalinks appear to be the same. Has > anyone else dealt with this before and maybe have a solution put > together already? > > Tags - Recently I have been using Taggerati more heavily to classify > my Wordpress posts using tags and only lightly using the categories. > The way the tagging works in Taggerati is: > > tagname will tag the post and link tagname in the post to > the tag page for that tag > > tagname will tag the post but the link > will be to the site specified in the URL and not to the tag page for > that tag. > > tagname will tag the post with tagname but it won't > appear in the post > > Has anyone got any pointers on how I can convert these over to Typo's > tagging system? The converter keeps the raw tags in place so I'm > thinking some SQL and regexp's are going to be needed to tag the posts > in Typo and a custom filter to transform the text in the post to the > appropriate links (or hide them if an itag) but if someone could point > me in the right direction it would be much appreciated. > > Cheers, > -- > Jason Bainbridge > An Aussie geek stuck in Texas - http://jasonbainbridge.com > Advertisement free blogs for those affected by emergency situations - > http://911blogs.com > > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list From gpsnospam at gmail.com Wed Nov 30 11:53:47 2005 From: gpsnospam at gmail.com (gpshewan) Date: Wed, 30 Nov 2005 16:53:47 +0000 Subject: [typo] Trunk jumping Message-ID: I'm being lazy and cautious here. Anybody successfully jumped the trunk from pre rev 752 to post rev 752? Since there's mention of potential migration issues there. Cheers Gary From aaron at munge.net Wed Nov 30 11:58:10 2005 From: aaron at munge.net (Aaron Malone) Date: Wed, 30 Nov 2005 10:58:10 -0600 Subject: [typo] Converting from Wordpress - a few q's In-Reply-To: <088B0604-F5F0-4EC7-A16F-EBBA8325E1E3@gmail.com> References: <088B0604-F5F0-4EC7-A16F-EBBA8325E1E3@gmail.com> Message-ID: <200511301058.10761.aaron@munge.net> On Wednesday 30 November 2005 09:36, gpshewan wrote: > > map.connect ?:year/:month/:day/page/:page?, :controller => > > ?articles?, :action => ?find_by_date?, :year => /\d{4}/, :month => > > / \d{1,2}/, :day => /\d{1,2}/, :page => /\d+/ This is what I did for my wordpress permalinks, too. I also added a couple of routes for XML feeds, so that people would not have to resubscribe: map.xml 'feed', :controller => 'xml', :action => 'feed', :type => 'feed', :format => 'rss20' map.xml 'feed/atom', :controller => 'xml', :action => 'feed', :type => 'feed', :format => 'atom03' This may not be the optimal solution, but it works for me. :) -- Aaron Malone aaron at munge.net From santry+typo at gmail.com Wed Nov 30 13:47:01 2005 From: santry+typo at gmail.com (Sean Santry) Date: Wed, 30 Nov 2005 13:47:01 -0500 Subject: [typo] Customized 404 (Page Not Found) Page? Message-ID: <7c0520c0511301047r5724246fhc2b0fe784976f142@mail.gmail.com> I'm looking for a good way to provide a customized 404 (Page not Found) page for my Typo blogs. I've tried several implementations myself, but none are satisfactory. I'm more than willing to write the patch, just need some direction on the best approach. I've found several places in the trunk that render with a status of 404 like this: render '', :status => 404 or render :nothing => true, :status => 404 The most relevant 404 seems to be in RedirectController render :text => "Page not found", :status => 404 This seems to be what is called for a URL like http://example.com/blog/this-page-doesnt-exist. These are the sorts of URLs I'm concerned with. Ideally, I'd like to create a "Page" in the Typo admin then specify that that page should be shown for 404s. I don't want to create a static HTML page, since I'd have to duplicate all the layout HTML and such. I don't know whether there's a "render" incantation I can use in RedirectController that will let me render an action from another controller with :status => 404. If there is such an incantation, I haven't found it yet. For the time being, I've modified RedirectController on my main blog to do a simple redirect (Cf. http://seansantry.com/this-page-doesnt-exist), but this is just a stopgap. It's not configurable through the admin; it requires a modification to Typo code, as opposed to just a setting; and it gives the client an HTTP status of 302 followed by a 200 OK. I want the client to get the proper 404 status. Thoughts? - Sean From gilgit at gmail.com Wed Nov 30 13:53:31 2005 From: gilgit at gmail.com (David Richardson) Date: Wed, 30 Nov 2005 11:53:31 -0700 Subject: [typo] Trunk jumping In-Reply-To: References: Message-ID: <35ac07b90511301053g5bbb03b3r36ec2eaa7ec613f9@mail.gmail.com> I've just migrated a number of databases from version 9 to 28 (Typo760). I'm using Rails 14.3 and Postgres. I don't know what version ofTypo was associated with database schema v. 9. Had lots of problems until I modified the rake documentation task inrails, then I was able to use 'rake migrate' and everything wentsmoothly. The administrative (web) interface to upgrade the databasestructures was hit and miss for me - very frustrating. The offending file is/usr/local/lib/ruby/gems/1.8/gems/rails-0.14.3/lib/tasks/documentation.rakeChange all instances of proper case 'Public' to lowercase 'public'.Make a backup first! The problem is fixed in Rails 14.4, apparently, but I'm not that adventurous.Hope this helps. D.R. --www.channel200.net aim: david.richardson at mac.comjabber/googletalk: channel200 at gmail.com From gilgit at gmail.com Wed Nov 30 13:58:31 2005 From: gilgit at gmail.com (David Richardson) Date: Wed, 30 Nov 2005 11:58:31 -0700 Subject: [typo] FastCGI processes Message-ID: <35ac07b90511301058j67cd3d98w5fdf8a4c0ed71ed0@mail.gmail.com> I'm using lighttpd and discovered through trial-and-error that whilemy own Rails apps are happy with a single fastcgi process, Typo doesvery bad things. Can anyone explain what Typo needs? Current lighttpd versions allow only a fixed number of process (theyignore the min-proc setting) and I was trying to economize on thetotal number of processes (I have a number of apps running on the samemachine, including multiple instances of Typo). --www.channel200.net aim: david.richardson at mac.comjabber/googletalk: channel200 at gmail.com From gilgit at gmail.com Wed Nov 30 14:05:19 2005 From: gilgit at gmail.com (David Richardson) Date: Wed, 30 Nov 2005 12:05:19 -0700 Subject: [typo] Trunk jumping In-Reply-To: <35ac07b90511301053g5bbb03b3r36ec2eaa7ec613f9@mail.gmail.com> References: <35ac07b90511301053g5bbb03b3r36ec2eaa7ec613f9@mail.gmail.com> Message-ID: <35ac07b90511301105i123cb81dnc7f9ffbbccdc7a55@mail.gmail.com> Should have mentioned that the file location /usr/local/lib/ruby/gems/1.8/gems/rails-0.14.3/lib/tasks/documentation.rake in the previous post is for a Redhat installation. Cheers,D.R. --www.channel200.net aim: david.richardson at mac.comjabber/googletalk: channel200 at gmail.com From jbainbridge at gmail.com Wed Nov 30 14:57:19 2005 From: jbainbridge at gmail.com (Jason Bainbridge) Date: Wed, 30 Nov 2005 13:57:19 -0600 Subject: [typo] Trunk jumping In-Reply-To: <35ac07b90511301053g5bbb03b3r36ec2eaa7ec613f9@mail.gmail.com> References: <35ac07b90511301053g5bbb03b3r36ec2eaa7ec613f9@mail.gmail.com> Message-ID: On 11/30/05, David Richardson wrote: > I've just migrated a number of databases from version 9 to 28 (Typo760). I'm using Rails 14.3 and Postgres. I don't know what version ofTypo was associated with database schema v. 9. > Had lots of problems until I modified the rake documentation task inrails, then I was able to use 'rake migrate' and everything wentsmoothly. The administrative (web) interface to upgrade the databasestructures was hit and miss for me - very frustrating. > The offending file is/usr/local/lib/ruby/gems/1.8/gems/rails-0.14.3/lib/tasks/documentation.rakeChange all instances of proper case 'Public' to lowercase 'public'.Make a backup first! > The problem is fixed in Rails 14.4, apparently, but I'm not that adventurous.Hope this helps. I came across that exact same problem myself last night, which was quite the adventure seeing how this is the first real Rails application I've worked on as I haven't got much past the Depot part of the Rails book and have now actually moved to the PickAxe so I can learn how to walk first before running. It is quite easy to make the changes though so nothing to be that worried about. :) Regards, -- Jason Bainbridge An Aussie geek stuck in Texas - http://jasonbainbridge.com Advertisement free blogs for those affected by emergency situations - http://911blogs.com From santry+typo at gmail.com Wed Nov 30 15:59:22 2005 From: santry+typo at gmail.com (Sean Santry) Date: Wed, 30 Nov 2005 15:59:22 -0500 Subject: [typo] Customized 404 (Page Not Found) Page? In-Reply-To: <7c0520c0511301047r5724246fhc2b0fe784976f142@mail.gmail.com> References: <7c0520c0511301047r5724246fhc2b0fe784976f142@mail.gmail.com> Message-ID: <7c0520c0511301259j5f986a8eyab678d50d967ff61@mail.gmail.com> On 11/30/05, Sean Santry wrote: > I'm looking for a good way to provide a customized 404 (Page not > Found) page for my Typo blogs. I've tried several implementations > myself, but none are satisfactory. I'm more than willing to write the > patch, just need some direction on the best approach. Well, I'm one step closer. By modifying the following line in RedirectController: render :text => "Page not found", :status => 404 to read render :file => "#{RAILS_ROOT}/public/404.html", :status => 404 I can at least customize the page. In my previous attempts, I neglected to include #{RAILS_ROOT}. I'd really like to be able to manage this as a regular Page, though, so I'm still open to suggestions. - Sean From william.a at carrel.org Wed Nov 30 16:47:52 2005 From: william.a at carrel.org (William A. Carrel) Date: Wed, 30 Nov 2005 13:47:52 -0800 Subject: [typo] Question about sidebar / cacheing / rails In-Reply-To: <35ac07b90511291812w180b2991rbacdbc4b18488b28@mail.gmail.com> References: <438CD292.5020709@mode3.com> <35ac07b90511291812w180b2991rbacdbc4b18488b28@mail.gmail.com> Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 On Nov 29, 2005, at 6:12 PM, David Richardson wrote: > A complete page is the smallest cache fragment Typo knows about. > Sameas a Movable Type site. This was a Typo design decision, rather > than aRails one. > Not flexible, and not as fast as a page-component RAM cache, > buteasier to implement. An alternate caching mechanism is in > thedevelopment area for comment, as well as a patch to include > abrowser-fetch mechanism (Javascript) for sidebar content -http:// > typo.leetsoft.com/trac/ticket/345 > I don't understand where the pages are cached, though. Typo seems > tobe unusually sensitive to configuration, and I wonder if the > cachingmechanism contributes to these problems. I've just uploaded a new version of the XPATCH on #345. Now you don't need to change your theme for proper operation. When using this patch, the sidebar content for all the pages is cached and pulled from public/sidebar/sidebar_content.html. I must disagree about "not as fast" as page component caching. The overhead of having to hit Rails for every page view (for component cache) is huge when compared to lighttpd or Apache MPM-worker serving up HTML pages. To me, on my website, it is not such a big deal. But on a site that sees a lot more traffic, it could get pretty painful. When Scott was testing it was an order of magnitude slower to do component cache than page cache (IIRC). I use the patch for #345 for carrel.org and have a cron job that blows away the sidebar_content.html file every hour or so to make sure it stays fresh. This also guarantees that the sidebar view remains consistent across all the pages. If I was using my thinking cap I could have the sidebar reusable on the non-Typo pages as well using the same little Javascript snippet, which is handy. The new patch is "indep-sidebar-caching.6.patch" __ wac -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (Darwin) iQIVAwUBQ44eDMoU8+xqMUDPAQo2TQ//dZOvSSPZBAKitSHvFEEoXfBvI3KPxjy2 jshFDK+AjPD9h8U0oVUcBqwZX0aUN9mbwDpQ1azpJsJFlTCsh8w2h9/Vs3G+cGzx Al66XHak6gEcFYhPAEW21IO3xuiO2+gdbyZdpw9K74MfNgtWGcXBHM4eKWbrFnI5 SYjXz/TaWMbCsGxaZc2fc3yBuRA2QIN/K+C4r6bfR2Trvn/NjWa0vuJcsNV+C/aY ZBWtL5NVDBkIe1cjCx+sEoNrB92MInssdoIse30aUbU9TWqUOHemHFhArTRCXemk HZrk/Rxixu85X5+Y2vH+YtvfDzVcw6SFAzDzgUGZg6YgYl1quLb1hpKFTRnp7XVW 3ChdlOQeX6kq3+Nrx65rnY6U4CoqAIPoejCy6SPvOydSRZ+4xsq13AeQLJrgX4ce SzpRkl1P3TqbOeBknBPcGKjrnybM2q/rIMdDyZUPjTLEFNNaIa5jXUOHThv4mML6 Y24Ia9ydq3yX+UU+ybbQpdMqZrv1FRvPM+LZM05jgtB9LNUMigtU9s/NcXmgLszg RyAaQYd3vZ1OVugh3Y/IokevpEdOOSoLkvXN1CGAQJ7Eqoj4nlan51bInugQGsPL BOWsfLTPxspae4qzShzqMIMKf6ov2exwqL3aPLF/Jm1jMpNPaMkJB3ZoMSsz+uJ3 zI3Yws4s8JQ= =eFVc -----END PGP SIGNATURE----- From gilgit at gmail.com Wed Nov 30 17:12:10 2005 From: gilgit at gmail.com (David Richardson) Date: Wed, 30 Nov 2005 15:12:10 -0700 Subject: [typo] Question about sidebar / cacheing / rails In-Reply-To: References: <438CD292.5020709@mode3.com> <35ac07b90511291812w180b2991rbacdbc4b18488b28@mail.gmail.com> Message-ID: <35ac07b90511301412ic934520ie8baf858dbeb0fb0@mail.gmail.com> @William. I should have said 'RAM' caching. The current implementationcertainly meets my needs, but if you want to serve updated content(not just flickr streams, which I do, but, perhaps, ads) then... Complete pages cached on disk, or rendered pages cached in a databasewill be one or more orders of magnitude slower than something cachedin RAM and output directly. My brief experience with Typo indicatesthat this is not how it does it, though. RAM caching brings other issues to contend with, unfortunately. Canyou keep everything in RAM, if you can't, what do you keep, do youcache page components in RAM, are you willing/do you need to put upwith the overhead of assembling components to render a new page, andso on. I am a refugee from Blojsom - it can cache everything in RAM, and thelatency in serving a page is almost nil, noticeably snappier than anyMT, Wordpress or Typo installation. But then you have the humungousjvm loaded all the time, plus all the articles and associated indexes;-) I recommend an article at Ace's Hardware for a well written discussionof content serving performance.http://aceshardware.com/read.jsp?id=50000347 Cheers,D.R. --www.channel200.net aim: david.richardson at mac.comjabber/googletalk: channel200 at gmail.com From trejkaz at trypticon.org Wed Nov 30 17:28:45 2005 From: trejkaz at trypticon.org (Trejkaz) Date: Thu, 1 Dec 2005 09:28:45 +1100 (EST) Subject: [typo] Question about sidebar / cacheing / rails In-Reply-To: <35ac07b90511301412ic934520ie8baf858dbeb0fb0@mail.gmail.com> References: <438CD292.5020709@mode3.com> <35ac07b90511291812w180b2991rbacdbc4b18488b28@mail.gmail.com> <35ac07b90511301412ic934520ie8baf858dbeb0fb0@mail.gmail.com> Message-ID: <2431.210.50.55.251.1133389725.squirrel@home.trypticon.org> > RAM caching brings other issues to contend with, unfortunately. Canyou > keep everything in RAM, if you can't, what do you keep, do youcache page > components in RAM, are you willing/do you need to put upwith the overhead > of assembling components to render a new page, andso on. RAM caching on typical Rails apps would be a little more nasty too. One FastCGI process caches a page, but the others don't know it's cached so they would have to regenerate it unless they all had some shared memory somewhere. Another question... wouldn't the buffer cache in the OS effectively work as a RAM cache if users frequently hit the same generated HTML file? That lets the OS take control of which pages are being more frequently used. Put in more physical RAM, more files gets cached, site runs faster without having to do any other work. I guess if you really wanted performance though and the total size of your static pages wasn't too great, you could always mount the public/articles directory over to a ramdisk... TX From bobo at meticulous.com Wed Nov 30 20:08:55 2005 From: bobo at meticulous.com (John Athayde) Date: Wed, 30 Nov 2005 20:08:55 -0500 Subject: [typo] FreeBSD issue with trunk (r760) vs 2.6.0 Message-ID: <1FAC1627-1A06-46B8-97FE-C33756B4FED1@meticulous.com> First off, 2.6.0 is working swimmingly on my FreeBSD 5.4 box. I tried to take one of the sites and move it to trunk (backed everything up and when it didn't work, restored it). Rake works fine on 2.6.0, but generates this fun error: Fatal error 'Spinlock called when not threaded.' at line 87 in file / usr/src/lib/libpthread/thread/thr_spinlock.c (errno = 2) Abort trap (core dumped) rake aborted! and leaves me with a yummy ruby18.core files in the directory. Per the documentation, I also tried the following: cuba# public/dispatch.fcgi Fatal error 'Spinlock called when not threaded.' at line 87 in file / usr/src/lib/libpthread/thread/thr_spinlock.c (errno = 2) rAbort (core dumped) cuba# ruby public/dispatch.fcgi Fatal error 'Spinlock called when not threaded.' at line 87 in file / usr/src/lib/libpthread/thread/thr_spinlock.c (errno = 2) Abort (core dumped) and leaves just a ruby.core file in the directory. Any thoughts why stable would work and trunk (r760) not? Thanks in advance, J -- John Athayde bobo at meticulous.com Meticulous | www.meticulous.com (work) Rotoscope | www.rotoscope.com (sound: rock band) Boboroshi & Kynz | www.boboroshiandkynz.com (sound: electronic) Personal Weblog | www.boboroshi.com (play) "Those who would give up essential Liberty, to purchase a little temporary Safety, deserve neither Liberty nor Safety." - Benjamin Franklin (1706-1790) Reply of the Pennsylvania Assembly to the Governor November 11, 1755 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/typo-list/attachments/20051130/68d13532/attachment.htm From justus at ryoohki.net Wed Nov 30 20:18:24 2005 From: justus at ryoohki.net (Justus Pendleton) Date: Wed, 30 Nov 2005 18:18:24 -0700 Subject: [typo] FastCGI processes In-Reply-To: <35ac07b90511301058j67cd3d98w5fdf8a4c0ed71ed0@mail.gmail.com> References: <35ac07b90511301058j67cd3d98w5fdf8a4c0ed71ed0@mail.gmail.com> Message-ID: <20051201011824.GA20958@kiyone.ryoohki.net> > I'm using lighttpd and discovered through trial-and-error that whilemy > own Rails apps are happy with a single fastcgi process, Typo doesvery > bad things. Can anyone explain what Typo needs? I run two typo instances, both with just a single fastcgi process, just fine. If you explain what "very bad things" means someone might be able to help with your problem. -- Justus From trejkaz at trypticon.org Wed Nov 30 20:54:58 2005 From: trejkaz at trypticon.org (Trejkaz) Date: Thu, 1 Dec 2005 12:54:58 +1100 (EST) Subject: [typo] FastCGI processes In-Reply-To: <20051201011824.GA20958@kiyone.ryoohki.net> References: <35ac07b90511301058j67cd3d98w5fdf8a4c0ed71ed0@mail.gmail.com> <20051201011824.GA20958@kiyone.ryoohki.net> Message-ID: <3170.210.50.55.251.1133402098.squirrel@home.trypticon.org> >> I'm using lighttpd and discovered through trial-and-error that whilemy >> own Rails apps are happy with a single fastcgi process, Typo doesvery >> bad things. Can anyone explain what Typo needs? > > I run two typo instances, both with just a single fastcgi process, just > fine. If you explain what "very bad things" means someone might be able > to help with your problem. I know I've witnessed one of these bad things. When creating a new article (or anything with live preview, probably) as the article gets longer, it takes longer and longer to get a preview, and during this time you're hogging the entire FastCGI process so users coming to visit uncached pages have to wait in line. That's really the only issue I've ever had though, on my development version (the live one is running five processed "just in case...") TX From gilgit at gmail.com Wed Nov 30 21:34:28 2005 From: gilgit at gmail.com (David Richardson) Date: Wed, 30 Nov 2005 19:34:28 -0700 Subject: [typo] FastCGI processes In-Reply-To: <3170.210.50.55.251.1133402098.squirrel@home.trypticon.org> References: <35ac07b90511301058j67cd3d98w5fdf8a4c0ed71ed0@mail.gmail.com> <20051201011824.GA20958@kiyone.ryoohki.net> <3170.210.50.55.251.1133402098.squirrel@home.trypticon.org> Message-ID: <35ac07b90511301834r6ca96440l9e61eba5d19e63aa@mail.gmail.com> @Justin: A fastcgi process crashed, leaving lighttpd (1.4.8) runningand filling up its error log at the rate of a line every millisecondor so (I think this is what happened, but I'm not certain of theevents). In short order the error log filled the entire diskpartition, causing Postgres amongst some other things to fail on diskwrites. With 4 or 5 Typo instances running (and a few other Railsapplications) I have only been able to get a stable environment on allthe Typo deployments by increasing the number of fastcgi processesbeyond 1. I'm using at least 3 now, although seems overkill. None ofthem are likely to be slashdotted. Is it just a coincidence? I've had enough problems getting to thepoint where multiple Typo instances could be deployed quickly andreliably to be very skeptical, given my lack of problems withinternally written apps. --www.channel200.net aim: david.richardson at mac.comjabber/googletalk: channel200 at gmail.com From gilgit at gmail.com Wed Nov 30 21:35:30 2005 From: gilgit at gmail.com (David Richardson) Date: Wed, 30 Nov 2005 19:35:30 -0700 Subject: [typo] FastCGI processes In-Reply-To: <35ac07b90511301834r6ca96440l9e61eba5d19e63aa@mail.gmail.com> References: <35ac07b90511301058j67cd3d98w5fdf8a4c0ed71ed0@mail.gmail.com> <20051201011824.GA20958@kiyone.ryoohki.net> <3170.210.50.55.251.1133402098.squirrel@home.trypticon.org> <35ac07b90511301834r6ca96440l9e61eba5d19e63aa@mail.gmail.com> Message-ID: <35ac07b90511301835t14532abcid7b84dd6b20bd951@mail.gmail.com> Oops, @Justus. My apologies. Time to get glasses. --www.channel200.net aim: david.richardson at mac.comjabber/googletalk: channel200 at gmail.com