From cyril.mougel at gmail.com Wed Apr 1 15:53:56 2009 From: cyril.mougel at gmail.com (Cyril Mougel) Date: Wed, 01 Apr 2009 21:53:56 +0200 Subject: [typo] Anyone seen cross-thread violation upgrading to Typo 5.3? In-Reply-To: References: Message-ID: <49D3C654.2090501@gmail.com> Rick DeNatale a ?crit : > Checking for existing Typo install in /Users/rick/typo_working > Reading files from /opt/local/lib/ruby/gems/1.8/gems/typo-5.3 > copying rails 2.2.2 to /Users/rick/typo_working/vendor/rails/railties > copying activesupport 2.2.2 to > /Users/rick/typo_working/vendor/rails/activesupport > copying activerecord 2.2.2 to > /Users/rick/typo_working/vendor/rails/activerecord > copying actionpack 2.2.2 to > /Users/rick/typo_working/vendor/rails/actionpack > copying actionmailer 2.2.2 to > /Users/rick/typo_working/vendor/rails/actionmailer > Making scripts executable > Checking database > Database exists, preparing for upgrade > Migrating Typo's database to newest release > config.gem: Unpacked gem coderay-0.8.260 in vendor/gems has no > specification file. Run 'rake gems:refresh_specs' to fix this. > [BUG] cross-thread violation on rb_gc() > ruby 1.8.6 (2008-03-03) [universal-darwin9.0] > > /opt/local/lib/ruby/gems/1.8/gems/typo-5.3/bin/typo:59:in `migrate': > Migration failed (RailsInstaller::InstallFailed) > from > /opt/local/lib/ruby/gems/1.8/gems/rails-app-installer-0.2.0/lib/rails-installer.rb:689:in > `in_directory' > from /opt/local/lib/ruby/gems/1.8/gems/typo-5.3/bin/typo:57:in `migrate' > from > /opt/local/lib/ruby/gems/1.8/gems/rails-app-installer-0.2.0/lib/rails-installer.rb:217:in > `install_sequence' > from > /opt/local/lib/ruby/gems/1.8/gems/rails-app-installer-0.2.0/lib/rails-installer.rb:192:in > `install' > from > /opt/local/lib/ruby/gems/1.8/gems/rails-app-installer-0.2.0/lib/rails-installer/commands.rb:95:in > `command' > from > /opt/local/lib/ruby/gems/1.8/gems/rails-app-installer-0.2.0/lib/rails-installer.rb:646:in > `execute_command' > from /opt/local/lib/ruby/gems/1.8/gems/typo-5.3/bin/typo:93 > from /opt/local/bin/typo:19:in `load' > from /opt/local/bin/typo:19 > Maybe a bug in rails-app-installer ? -- Cyril Mougel http://blog.shingara.fr From rick.denatale at gmail.com Wed Apr 1 18:56:31 2009 From: rick.denatale at gmail.com (Rick DeNatale) Date: Wed, 1 Apr 2009 18:56:31 -0400 Subject: [typo] Anyone seen cross-thread violation upgrading to Typo 5.3? In-Reply-To: <49D3C654.2090501@gmail.com> References: <49D3C654.2090501@gmail.com> Message-ID: Peut ?tre, but that doesn't help much. On Wed, Apr 1, 2009 at 3:53 PM, Cyril Mougel wrote: > Rick DeNatale a ?crit : > >> Checking for existing Typo install in /Users/rick/typo_working >> Reading files from /opt/local/lib/ruby/gems/1.8/gems/typo-5.3 >> copying rails 2.2.2 to /Users/rick/typo_working/vendor/rails/railties >> copying activesupport 2.2.2 to >> /Users/rick/typo_working/vendor/rails/activesupport >> copying activerecord 2.2.2 to >> /Users/rick/typo_working/vendor/rails/activerecord >> copying actionpack 2.2.2 to >> /Users/rick/typo_working/vendor/rails/actionpack >> copying actionmailer 2.2.2 to >> /Users/rick/typo_working/vendor/rails/actionmailer >> Making scripts executable >> Checking database >> Database exists, preparing for upgrade >> Migrating Typo's database to newest release >> config.gem: Unpacked gem coderay-0.8.260 in vendor/gems has no >> specification file. Run 'rake gems:refresh_specs' to fix this. >> [BUG] cross-thread violation on rb_gc() >> ruby 1.8.6 (2008-03-03) [universal-darwin9.0] >> >> /opt/local/lib/ruby/gems/1.8/gems/typo-5.3/bin/typo:59:in `migrate': >> Migration failed (RailsInstaller::InstallFailed) >> from >> /opt/local/lib/ruby/gems/1.8/gems/rails-app-installer-0.2.0/lib/rails-installer.rb:689:in >> `in_directory' >> from /opt/local/lib/ruby/gems/1.8/gems/typo-5.3/bin/typo:57:in `migrate' >> from >> /opt/local/lib/ruby/gems/1.8/gems/rails-app-installer-0.2.0/lib/rails-installer.rb:217:in >> `install_sequence' >> from >> /opt/local/lib/ruby/gems/1.8/gems/rails-app-installer-0.2.0/lib/rails-installer.rb:192:in >> `install' >> from >> /opt/local/lib/ruby/gems/1.8/gems/rails-app-installer-0.2.0/lib/rails-installer/commands.rb:95:in >> `command' >> from >> /opt/local/lib/ruby/gems/1.8/gems/rails-app-installer-0.2.0/lib/rails-installer.rb:646:in >> `execute_command' >> from /opt/local/lib/ruby/gems/1.8/gems/typo-5.3/bin/typo:93 >> from /opt/local/bin/typo:19:in `load' >> from /opt/local/bin/typo:19 >> >> Maybe a bug in rails-app-installer ? > > -- > Cyril Mougel > http://blog.shingara.fr > > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list > -- Rick DeNatale Blog: http://talklikeaduck.denhaven2.com/ Twitter: http://twitter.com/RickDeNatale WWR: http://www.workingwithrails.com/person/9021-rick-denatale LinkedIn: http://www.linkedin.com/in/rickdenatale -------------- next part -------------- An HTML attachment was scrubbed... URL: From cyril.mougel at gmail.com Thu Apr 2 15:57:01 2009 From: cyril.mougel at gmail.com (Cyril Mougel) Date: Thu, 02 Apr 2009 21:57:01 +0200 Subject: [typo] Typo 5.3 wrong rss format ? In-Reply-To: <66f9efb051250929d11d6961d07ee32c@ruby-forum.com> References: <66f9efb051250929d11d6961d07ee32c@ruby-forum.com> Message-ID: <49D5188D.2080605@gmail.com> Guillermo G?mez a ?crit : > Hi, im having this format problem on the rss feed generation. > > After fresh install: > > Hello World! > <p>Welcome to Typo. This is your first article. Edit > or delete it, then start blogging!</p> > > Note the use of <p> per

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

>

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

> > Its just me or there is something wrong? I tried in a couple of machines > (Fedora, Debian) with same results. > > Plis help After check is normal Test your exemple in RSS validator http://validator.w3.org/feed/ and you see it's normal. If you change by

your feed become invalid. -- Cyril Mougel http://blog.shingara.fr From cyril.mougel at gmail.com Thu Apr 2 16:12:39 2009 From: cyril.mougel at gmail.com (Cyril Mougel) Date: Thu, 02 Apr 2009 22:12:39 +0200 Subject: [typo] Atom feed is fragile?!? In-Reply-To: References: Message-ID: <49D51C37.2070202@gmail.com> Rick DeNatale a ?crit : > I'm having lots of problems getting the atom feed for my blog to > validate. > > One issue was in my article about the text filter I had the following > snippet in the post > > > > > > To show an example of how to use the new macro. It looked fine when > viewing the page, but Safari and other browsers can't read the atom > feed because somehow the is being put into the feed > without any escaping. > > I tried ALL kinds to ways to fix this, like changing < to < and > > to > but the feed still had the bare tag. I finally had to resort > to replacing the example with an IMAGE. > > But as I try to work through other feed validation errors I run into > things like spurious tags that I can't find in the page source. > Some of these I've tracked down to errors in my articles (I have a > tendency to user xhtml. > > Is anyone else seeing things like this. > > For what it's worth I'm currently using the Typographic theme. This issue seem appear only with typo:code text-filter. Our text filter don't change tag inside. If you don't close your tag, the problem appear. I fix it in next commit made soon as possible. I create a bug in lighthouse about your issue https://fdv.lighthouseapp.com/projects/11171-typo-blog/tickets/75-typocode-textfilter-need-change-all-by-lt-in-atom-feed -- Cyril Mougel http://blog.shingara.fr From ruby-forum-incoming at andreas-s.net Fri Apr 3 09:49:24 2009 From: ruby-forum-incoming at andreas-s.net (=?utf-8?Q?Guillermo_G=c3=b3mez?=) Date: Fri, 3 Apr 2009 15:49:24 +0200 Subject: [typo] Typo 5.3 wrong rss format ? In-Reply-To: <49D5188D.2080605@gmail.com> References: <66f9efb051250929d11d6961d07ee32c@ruby-forum.com> <49D5188D.2080605@gmail.com> Message-ID: Cyril Mougel wrote: > Test your exemple in RSS validator http://validator.w3.org/feed/ and you > see it's normal. If you change by

your feed become invalid. Thanks Cyril, i dit, the only warning is the following one: "This feed is valid, but interoperability with the widest range of feed readers could be improved by implementing the following recommendations." line 564, column 2: Missing atom:link with rel="self" [help] Any advice how to include this missing atom:link in the tag? Guillermo -- Posted via http://www.ruby-forum.com/. From matijs at matijs.net Fri Apr 3 13:08:19 2009 From: matijs at matijs.net (Matijs van Zuijlen) Date: Fri, 03 Apr 2009 19:08:19 +0200 Subject: [typo] Typo 5.3 wrong rss format ? In-Reply-To: References: <66f9efb051250929d11d6961d07ee32c@ruby-forum.com> <49D5188D.2080605@gmail.com> Message-ID: <49D64283.20807@matijs.net> Guillermo G?mez wrote: > Cyril Mougel wrote: > >> Test your exemple in RSS validator http://validator.w3.org/feed/ and you >> see it's normal. If you change by

your feed become invalid. > > Thanks Cyril, i dit, the only warning is the following one: > > "This feed is valid, but interoperability with the widest range of feed > readers could be improved by implementing the following > recommendations." > > line 564, column 2: Missing atom:link with rel="self" [help] > > Any advice how to include this missing atom:link in the tag? This should be fixed in 5.2.98 and 5.3.0. Which version of typo are you using? -- Matijs -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: OpenPGP digital signature URL: From tobias.weisserth at gmail.com Sun Apr 5 05:57:19 2009 From: tobias.weisserth at gmail.com (Tobias Weisserth) Date: Sun, 5 Apr 2009 11:57:19 +0200 Subject: [typo] Referencing an image from within a CSS file of a theme Message-ID: <43cee7130904050257j7d063406h779bab80484d6d21@mail.gmail.com> Hi everybody, I can't figure out something that's probably not that complicated. Maybe you can sort this out easily for me. I have a theme called "mytheme" residing in themes/mytheme. That theme folder looks like this: themes \mytheme \... (some stuff) \images\bg_header.jpg \stylesheets \css \application.css (this is included in the main layout and works) \screen \basemod.css (this is included from within application.css and works) Now, within basemod.css I am doing this: #header { padding: 323px 2em 1em 20px; color: #000; background: #000 url(../../images/bg_header.jpg) no-repeat scroll left top; } But when running Typo using Mongrel (from within Netbeans 6.5) I am getting this when it tries to access the bg_header.jpg file: Processing ThemeController#stylesheets (for 127.0.0.1 at 2009-04-05 11:52:06) [GET] Parameters: {"filename"=>"images/bg_header.jpg"} Trigger Load (0.1ms) SELECT * FROM `triggers` WHERE (due_at <= '2009-04-05 11:52:06') Blog Load (0.1ms) SELECT * FROM `blogs` ORDER BY id LIMIT 1 Completed in 6ms (View: 0, DB: 1) | 404 Not Found [ http://localhost/stylesheets/theme/images/bg_header.jpg] What is the correct way to refer to files in the images directory from within stylesheets? Why is the request going to http:localhost and not http://localhost:3000 where Mongrel is running? Calling the request URL with port 3000 directly within the browser does not work anyway, but I'm curious. Any help is welcome. Thanks! Tobias W. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frederic at de-villamil.com Sun Apr 5 07:48:10 2009 From: frederic at de-villamil.com (=?ISO-8859-1?Q?de_Villamil_Fr=E9d=E9ric?=) Date: Sun, 5 Apr 2009 13:48:10 +0200 Subject: [typo] Referencing an image from within a CSS file of a theme In-Reply-To: <43cee7130904050257j7d063406h779bab80484d6d21@mail.gmail.com> References: <43cee7130904050257j7d063406h779bab80484d6d21@mail.gmail.com> Message-ID: Le 5 avr. 09 ? 11:57, Tobias Weisserth a ?crit : > Hi everybody, > > I can't figure out something that's probably not that complicated. > Maybe you can sort this out easily for me. > > I have a theme called "mytheme" residing in themes/mytheme. That > theme folder looks like this: > > themes > \mytheme > \... (some stuff) > \images\bg_header.jpg > \stylesheets > \css > > \application.css (this is included in the main layout and works) > \screen > > \basemod.css (this is included from within application.css and works) > > Now, within basemod.css I am doing this: > > #header { padding: 323px 2em 1em 20px; color: #000; background: > #000 url(../../images/bg_header.jpg) no-repeat scroll left top; } > > But when running Typo using Mongrel (from within Netbeans 6.5) I am > getting this when it tries to access the bg_header.jpg file: > > Processing ThemeController#stylesheets (for 127.0.0.1 at 2009-04-05 > 11:52:06) [GET] > Parameters: {"filename"=>"images/bg_header.jpg"} > Trigger Load (0.1ms) SELECT * FROM `triggers` WHERE (due_at <= > '2009-04-05 11:52:06') > Blog Load (0.1ms) SELECT * FROM `blogs` ORDER BY id LIMIT 1 > Completed in 6ms (View: 0, DB: 1) | 404 Not Found [http://localhost/stylesheets/theme/images/bg_header.jpg > ] > > What is the correct way to refer to files in the images directory > from within stylesheets? Why is the request going to http:localhost > and not http://localhost:3000 where Mongrel is running? Calling the > request URL with port 3000 directly within the browser does not work > anyway, but I'm curious. > > Any help is welcome. Thanks! > > Tobias W. Hi Tobias, What you're looking for is ../../images/theme/some_picture.whatever Cheers, Fr?d?ric -- Fr?d?ric de Villamil "What's mine is mine. What's yours is still unsetteled" ? Go player proverb frederic at de-villamil.com tel: +33 (0)6 62 19 1337 http://t37.net Typo : http://typosphere.org From ruby-forum-incoming at andreas-s.net Thu Apr 9 10:16:25 2009 From: ruby-forum-incoming at andreas-s.net (=?utf-8?Q?Guillermo_G=c3=b3mez?=) Date: Thu, 9 Apr 2009 16:16:25 +0200 Subject: [typo] Typo 5.3 wrong rss format ? In-Reply-To: <49D64283.20807@matijs.net> References: <66f9efb051250929d11d6961d07ee32c@ruby-forum.com> <49D5188D.2080605@gmail.com> <49D64283.20807@matijs.net> Message-ID: Matijs Van zuijlen wrote: > Guillermo G?mez wrote: >> >> line 564, column 2: Missing atom:link with rel="self" [help] >> >> Any advice how to include this missing atom:link in the tag? > > This should be fixed in 5.2.98 and 5.3.0. Which version of typo are you > using? well, just updated to 5.3.0, i was using 5.2 but the error persist at http://blog.fedora-ve.org/articles.rss http://validator.w3.org/feed/check.cgi?url=http%3A//blog.fedora-ve.org/articles.rss#l572 Guillermo -- Posted via http://www.ruby-forum.com/. From kurt at circlew.org Thu Apr 16 00:04:52 2009 From: kurt at circlew.org (Kurt Werle) Date: Wed, 15 Apr 2009 21:04:52 -0700 Subject: [typo] Dev list? Message-ID: <3F6C23F1-0FD7-4AB2-A422-4B8C68B2631F@circlew.org> Is there a dev list for typo? Kurt --- I am changing my email address to kurt at CircleW.org http://www.CircleW.org/~kurt/ From cyril.mougel at gmail.com Thu Apr 16 03:18:27 2009 From: cyril.mougel at gmail.com (Cyril Mougel) Date: Thu, 16 Apr 2009 09:18:27 +0200 Subject: [typo] Dev list? In-Reply-To: <3F6C23F1-0FD7-4AB2-A422-4B8C68B2631F@circlew.org> References: <3F6C23F1-0FD7-4AB2-A422-4B8C68B2631F@circlew.org> Message-ID: <49E6DBC3.7040609@gmail> Kurt Werle wrote: > Is there a dev list for typo? > There are no developper list. You can say directly here. Or you can contact 3 of us by our email if really you want. -- Cyril Mougel http://blog.shingara.fr Typo developper From frederic at de-villamil.com Thu Apr 16 03:44:07 2009 From: frederic at de-villamil.com (=?ISO-8859-1?Q?de_Villamil_Fr=E9d=E9ric?=) Date: Thu, 16 Apr 2009 09:44:07 +0200 Subject: [typo] wordpress converter In-Reply-To: <42e993830904152150s75c3c494uedf73a1f9423d51a@mail.gmail.com> References: <42e993830904152150s75c3c494uedf73a1f9423d51a@mail.gmail.com> Message-ID: <69F04831-454A-4EFC-9D93-C36F00D87474@de-villamil.com> Le 16 avr. 09 ? 06:50, Erik Ostrom a ?crit : > [I sent this a couple of days ago, but it doesn't seem to have made > it to the archive, which makes me think it didn't go out to the > list. Apologies if you get it twice. The update is, I've fixed the > first two issues, and some others, in my fork of the code (http://github.com/eostrom/typo/tree/master > ). Haven't pursued the BlueCloth performance problem.] > > Hi. I'm checking out Typo, with an eye to switching my WordPress > blog away from it. It's neat that there's a WordPress converter, but > it doesn't seem to go as far as it could. The first three issues > I've found: > ? It didn't honor the 'more' line in my WordPress posts, although > it did copy the 'more' line over. If I go to each post's edit page > and then save it without making any edits, the 'more' line takes > effect. > ? It copied all my spam comments over from WordPress, but didn't > mark them as spam in Typo. That's how I got 304 comments on a pretty > obscure post. > ? When I went to look at the post with 304 comments, it took long > enough that I opted to shut down the server instead. It's not > surprising that 304 comments would take a long time, but it turns > out generating HTML for just one comment takes roughly 30 seconds. > It was a long comment, but that's excessive. > I'd be happy to try to help fix any or all of these - I think I have > a grip on the first two problems already. I wanted to get some > guidance on a few things: > ? It seems the slow part of rendering those comments is BlueCloth. > First, I don't think these comments are even in Markdown (the legit > ones or the spam). It looks like the default in WordPress is "HTML > plus blank-lines-indicate-paragraphs". Should I just set the filter > for these comments to something else? (If so, what?) > ? Is BlueCloth really this slow? I noticed that last week marked > the release of BlueCloth 2, which speeds things up dramatically by > using Discount (written in C). Is there any interest in updating > Typo to include this new version? > ? There don't seem to be any tests for the converters, and I intend > to uphold that tradition. I also don't plan to get my hands on a > WordPress 2.5 database; I'm using 2.6. Should I just copy the wp25 > converter to wp26, make it work for me, and leave wp25 alone? > Thanks > --Erik Ostrom > erik at echographia.com Hi Erik, My apologies. I had your message and seen your patch, but I honnestly had no time to have a look at it. I know Matisj did it, and since he has the commit bit, I think I'll leave this part to him. He already replied sooner this morning. Cheers, Fr?d?ric -- Fr?d?ric de Villamil "What's mine is mine. What's yours is still unsetteled" ? Go player proverb frederic at de-villamil.com tel: +33 (0)6 62 19 1337 http://t37.net Typo : http://typosphere.org From cyril.mougel at gmail.com Fri Apr 24 12:00:06 2009 From: cyril.mougel at gmail.com (Cyril Mougel) Date: Fri, 24 Apr 2009 18:00:06 +0200 Subject: [typo] welcome page In-Reply-To: <959B3891-B37B-4CEA-8440-9AC3AB172B76@symetrie.com> References: <959B3891-B37B-4CEA-8440-9AC3AB172B76@symetrie.com> Message-ID: <49F1E206.3030909@gmail.com> Jean-Christophe Michel a ?crit : > Hi, > > > I'd like to have a welcome page without the standard layout defined in > my theme. > Is it posisble to use another layout for a page, then set it as > default index page ? > > If not, I could hardocde it in two ways : 1. change routes 2. hardcode > in index.html > though changing index.html is not a good idea, since headers won't be > made by typo, and there's no way to include links to last pages... > > Any ideas ? We have two bug about feature related https://fdv.lighthouseapp.com/projects/11171/tickets/41-can-define-twice-layout-one-on-blog-and-one-on-page https://fdv.lighthouseapp.com/projects/11171/tickets/82-layoutless-pages There are a patch on second. -- Cyril Mougel http://blog.shingara.fr From lists-typo at jay.fm Sat Apr 25 19:51:51 2009 From: lists-typo at jay.fm (Jay Levitt) Date: Sat, 25 Apr 2009 19:51:51 -0400 Subject: [typo] First-time user questions Message-ID: <49F3A217.4090902@jay.fm> I'm just importing my Movable Type blog into Typo 5.3. A few random questions: 1. It looks like the spam filtering only scans when comments/trackbacks are initially created. Is there a way to get it to re-scan everything against Akismet? 2. The admin UI is a little confusing and inconsistent with article links. Sometimes they take me to an editor window where I can edit the article (from the Content tab); sometimes to the view of the article itself (from the Dashboard), sometimes to a list of comments that doesn't include the original article (from the Feedback tab). Sometimes those URLs use the article ID, sometimes the full SEO URL.. The result: If I'm looking at feedback, and I want to see the original post in context, I have to click on the article name to see the comments list, and click on the article name again to see the edit-the-article screen. That URL uses the article ID, but I don't know the route for "view an article by ID" (if there even is one) so that doesn't help. But from here, I can see which categories the article's in, and then I can go look at the real blog to drill down by category.. oy! I feel like there's an opportunity for redesign, but I'm not sure what, exactly. - Is there any way to view trackbacks from the admin UI? The Feedback tab will list the trackbacks, but their excerpts are just the article title (unless that's only for MT-imported trackbacks?) - Are there any useful blogs I should follow, besides typosphere itself? Thanks! Jay Levitt From lists-typo at jay.fm Sat Apr 25 19:40:56 2009 From: lists-typo at jay.fm (Jay Levitt) Date: Sat, 25 Apr 2009 19:40:56 -0400 Subject: [typo] Searching for Typo info? Message-ID: <49F39F88.8060703@jay.fm> Has anyone crafted any bookmarks, Firefox search queries, etc. to search for information about Typo? It's pretty hard, since "Typo" is a common word. So far, I find myself doing something like %s typo (ruby OR rails OR blog) -"a typo" -"some typos" -"fix typo" -"fix typos" There's a new Google Custom Search Engine feature; it's kinda limited, but it allows collaborative vertical search (including a Google Marker bookmarklet to add a site to the search)... I might play with it if nobody's done this already. Jay Levitt From frederic at de-villamil.com Sun Apr 26 11:54:11 2009 From: frederic at de-villamil.com (=?ISO-8859-1?Q?de_Villamil_Fr=E9d=E9ric?=) Date: Sun, 26 Apr 2009 17:54:11 +0200 Subject: [typo] First-time user questions In-Reply-To: <49F3A217.4090902@jay.fm> References: <49F3A217.4090902@jay.fm> Message-ID: <9AF85192-62A2-463F-95E5-BDBA6067597B@de-villamil.com> Le 26 avr. 09 ? 01:51, Jay Levitt a ?crit : > I'm just importing my Movable Type blog into Typo 5.3. A few random > questions: Great! Can we know the reason of the switch please? > 1. It looks like the spam filtering only scans when comments/ > trackbacks are initially created. Is there a way to get it to re- > scan everything against Akismet? This is not possible yet, but I add it to the "Maybe someday" task list. > 2. The admin UI is a little confusing and inconsistent with article > links. Sometimes they take me to an editor window where I can edit > the article (from the Content tab); sometimes to the view of the > article itself (from the Dashboard), sometimes to a list of comments > that doesn't include the original article (from the Feedback tab). > Sometimes those URLs use the article ID, sometimes the full SEO URL.. I know, I've recorded every usability issue and plan to fix them when I have some time. Admin was revamped screen after screen, without any coherence (which sucks, because designing UI is my job) > The result: If I'm looking at feedback, and I want to see the > original post in context, I have to click on the article name to see > the comments list, and click on the article name again to see the > edit-the-article screen. That URL uses the article ID, but I don't > know the route for "view an article by ID" (if there even is one) so > that doesn't help. But from here, I can see which categories the > article's in, and then I can go look at the real blog to drill down > by category.. oy! > > I feel like there's an opportunity for redesign, but I'm not sure > what, exactly. It's planned, don't worry > - Is there any way to view trackbacks from the admin UI? The > Feedback tab will list the trackbacks, but their excerpts are just > the article title (unless that's only for MT-imported trackbacks?) I know, it's a bug, and it will be fixed in the next release. > - Are there any useful blogs I should follow, besides typosphere > itself? Unfortunately, the 2 most active mainteners are french, and we're blogging in French. I plan to blog about Typo in english too so that people can follow me. You can follow my thoughts on http://t37.net/category/typo/ through google translate or Yahoo! pipes if you want. Cyril's blog is blog.shingara.fr. > Thanks! You're welcome > > Jay Levitt > > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list -- Fr?d?ric de Villamil "What's mine is mine. What's yours is still unsetteled" ? Go player proverb frederic at de-villamil.com tel: +33 (0)6 62 19 1337 http://t37.net Typo : http://typosphere.org From cyril.mougel at gmail.com Mon Apr 27 03:24:43 2009 From: cyril.mougel at gmail.com (Cyril Mougel) Date: Mon, 27 Apr 2009 09:24:43 +0200 Subject: [typo] Searching for Typo info? In-Reply-To: <49F39F88.8060703@jay.fm> References: <49F39F88.8060703@jay.fm> Message-ID: On Sun, Apr 26, 2009 at 1:40 AM, Jay Levitt wrote: > Has anyone crafted any bookmarks, Firefox search queries, etc. to search for > information about Typo? It's pretty hard, since "Typo" is a common word. > > So far, I find myself doing something like > > %s typo (ruby OR rails OR blog) -"a typo" -"some typos" -"fix typo" > ?-"fix typos" > > There's a new Google Custom Search Engine feature; it's kinda limited, but > it allows collaborative vertical search (including a Google Marker > bookmarklet to add a site to the search)... I might play with it if nobody's > done this already. > One on our problem is we have a name near to Typo3 the bad CMS. -- Cyril Mougel http://blog.shingara.fr From lists-typo at jay.fm Mon Apr 27 11:19:41 2009 From: lists-typo at jay.fm (Jay Levitt) Date: Mon, 27 Apr 2009 11:19:41 -0400 Subject: [typo] Sidebar: text filter for static content? Message-ID: <49F5CD0D.5020304@jay.fm> Is there a way to use a text filter (e.g., Textile) for the static boxes in the sidebar? It looks like they're just pure HTML. I've set my default filter to Textile, both blogwide and for my own user, but no change.. Jay Levitt From frederic at de-villamil.com Mon Apr 27 11:53:05 2009 From: frederic at de-villamil.com (=?ISO-8859-1?Q?de_Villamil_Fr=E9d=E9ric?=) Date: Mon, 27 Apr 2009 17:53:05 +0200 Subject: [typo] wordpress converter In-Reply-To: <42e993830904160834r37d06fa2i7796003c9c7a9e12@mail.gmail.com> References: <42e993830904152150s75c3c494uedf73a1f9423d51a@mail.gmail.com> <49E6D07F.8070902@matijs.net> <42e993830904160834r37d06fa2i7796003c9c7a9e12@mail.gmail.com> Message-ID: Le 16 avr. 09 ? 17:34, Erik Ostrom a ?crit : > > > * When I went to look at the post with 304 comments, it took > long > > enough that I opted to shut down the server instead. It's not > > surprising that 304 comments would take a long time, but it > turns > > out generating HTML for just one comment takes roughly 30 > seconds. > > It was a long comment, but that's excessive. > > That seems ridiculously long. Can you isolate this to a test case, > as in, make a > little ruby program that just generates HTML for that one comment? > > I'm sure I can. I decided it was BlueCloth to blame by running code > in the console - it was definitely the BlueCloth HTML generation > method. > > Unfortunately I'm about to get busier, so I may not get back to Typo > for a little while. > > I have no idea what the differences between 2.5 and 2.6 are, but if > it's called > wp25 ... > > After writing, I investigated. WordPress had no schema changes > between 2.5 and 2.6, so I integrated my code into wp25. > > There were schema changes for 2.7, and I don't think any of them > were relevant to the converter, but I'd have to check more > thoroughly to be certain. Maybe when I need to convert my other, > newer blog.... I've backported your commits in master today. Thank you for contributing. Fred -- Fr?d?ric de Villamil "What's mine is mine. What's yours is still unsetteled" ? Go player proverb frederic at de-villamil.com tel: +33 (0)6 62 19 1337 http://t37.net Typo : http://typosphere.org From frederic at de-villamil.com Mon Apr 27 11:55:41 2009 From: frederic at de-villamil.com (=?ISO-8859-1?Q?de_Villamil_Fr=E9d=E9ric?=) Date: Mon, 27 Apr 2009 17:55:41 +0200 Subject: [typo] Sidebar: text filter for static content? In-Reply-To: <49F5CD0D.5020304@jay.fm> References: <49F5CD0D.5020304@jay.fm> Message-ID: <5B7B9C84-45DA-4CCE-AD02-18BA67B26361@de-villamil.com> Le 27 avr. 09 ? 17:19, Jay Levitt a ?crit : > Is there a way to use a text filter (e.g., Textile) for the static > boxes in the sidebar? It looks like they're just pure HTML. I've > set my default filter to Textile, both blogwide and for my own user, > but no change.. > Hi Jay, You're right, Typo static sidebar does not take text filters into account at all. It's just a plain sidebar plugin made to display some good old HTML : links, adsense or whatever... And we don't plan to change it since it's soooo handy that way. Cheers, Fr?d?ric -- Fr?d?ric de Villamil "What's mine is mine. What's yours is still unsetteled" ? Go player proverb frederic at de-villamil.com tel: +33 (0)6 62 19 1337 http://t37.net Typo : http://typosphere.org From atomist at gmail.com Tue Apr 28 01:29:15 2009 From: atomist at gmail.com (Thomas Gallaway) Date: Tue, 28 Apr 2009 01:29:15 -0400 Subject: [typo] Cross-thread violation & how I fixed the problem Message-ID: <49F6942B.5040207@gmail.com> I just spent 2 days figuring this out but it seems the issue is one of the gems in the vendor/gems directory. Machine is a Mac Mini G4 1.25ghzisch with 10.4.6isch? (Anybody else dislike the new intel mac's? ;-) ) I completely removed ruby & made sure it was using the macports version and after pretty much nuking every single gem and gem install typo on a empty directory stll got this: lhc:/var/www/atomlab root# rake db:create RAILS_ENV='production' (in /private/var/www/atomlab) config.gem: Unpacked gem calendar_date_select-1.15 in vendor/gems has no specification file. Run 'rake gems:refresh_specs' to fix this. config.gem: Unpacked gem coderay-0.8.260 in vendor/gems has no specification file. Run 'rake gems:refresh_specs' to fix this. config.gem: Unpacked gem htmlentities-4.0.0 in vendor/gems has no specification file. Run 'rake gems:refresh_specs' to fix this. config.gem: Unpacked gem json-1.1.3 in vendor/gems has no specification file. Run 'rake gems:refresh_specs' to fix this. [BUG] cross-thread violation on rb_gc() ruby 1.8.2 (2004-12-25) [powerpc-darwin8.0] So I went ahead and mv vendor/gems/* /tmp/gems/ Of course now I was getting: lhc:/var/www/atomlab root# rake db:create (in /private/var/www/atomlab) rake aborted! no such file to load -- coderay After gem install coderay htmlentities json calendar_date_select *drumroll* lhc:/var/www/atomlab atom$ rake db:migrate RAILS_ENV='production' (in /private/var/www/atomlab) == InitialSchema: migrating ================================================== -- create_table(:users) -> 0.0712s -- create_table(:articles) -> 0.1310s -- add_index(:articles, :permalink) We have migrationage! Oh I then ran lhc:/var/www/atomlab atom$ sudo rake gems:unpack Password: (in /private/var/www/atomlab) Unpacked gem: '/private/var/www/atomlab/vendor/gems/coderay-0.8.312' Unpacked gem: '/private/var/www/atomlab/vendor/gems/htmlentities-4.0.0' Unpacked gem: '/private/var/www/atomlab/vendor/gems/json-1.1.4' Unpacked gem: '/private/var/www/atomlab/vendor/gems/calendar_date_select-1.15' -- Atom From matijs at matijs.net Tue Apr 28 07:14:13 2009 From: matijs at matijs.net (Matijs van Zuijlen) Date: Tue, 28 Apr 2009 13:14:13 +0200 Subject: [typo] Cross-thread violation & how I fixed the problem In-Reply-To: <49F6942B.5040207@gmail.com> References: <49F6942B.5040207@gmail.com> Message-ID: <49F6E505.9020606@matijs.net> Thomas Gallaway wrote: > I just spent 2 days figuring this out but it seems the issue is one of > the gems in the vendor/gems directory. Thanks a lot for doing this figuring out. > Machine is a Mac Mini G4 1.25ghzisch with 10.4.6isch? (Anybody else > dislike the new intel mac's? ;-) ) He he, that reminds me I have an iBook G3 running Ubuntu I could test this on. > [...] > > We have migrationage! Yay! > Oh I then ran > lhc:/var/www/atomlab atom$ sudo rake gems:unpack > Password: > (in /private/var/www/atomlab) > Unpacked gem: '/private/var/www/atomlab/vendor/gems/coderay-0.8.312' > Unpacked gem: '/private/var/www/atomlab/vendor/gems/htmlentities-4.0.0' > Unpacked gem: '/private/var/www/atomlab/vendor/gems/json-1.1.4' > Unpacked gem: > '/private/var/www/atomlab/vendor/gems/calendar_date_select-1.15' One thing I wonder is whether migrations still work now that you did the unpack. Fellow developers, do we still need the unpacked gems in vendor/gems, or can we just have them installed? Regards, Matijs From lists-typo at jay.fm Tue Apr 28 13:55:23 2009 From: lists-typo at jay.fm (Jay Levitt) Date: Tue, 28 Apr 2009 13:55:23 -0400 Subject: [typo] Cross-thread violation & how I fixed the problem In-Reply-To: <49F6E505.9020606@matijs.net> References: <49F6942B.5040207@gmail.com> <49F6E505.9020606@matijs.net> Message-ID: <49F7430B.2020904@jay.fm> Matijs van Zuijlen wrote: >(Anybody else >> dislike the new intel mac's? ;-) ) No! :) Jay Levitt Mac Pro (early 2008), 8-core 3.2GHz Xeon, 16GB RAM From atomist at gmail.com Tue Apr 28 19:45:15 2009 From: atomist at gmail.com (Thomas Gallaway) Date: Tue, 28 Apr 2009 19:45:15 -0400 Subject: [typo] Cross-thread violation & how I fixed the problem In-Reply-To: <49F7430B.2020904@jay.fm> References: <49F6942B.5040207@gmail.com> <49F6E505.9020606@matijs.net> <49F7430B.2020904@jay.fm> Message-ID: <49F7950B.6010203@gmail.com> Jay Levitt wrote: > Matijs van Zuijlen wrote: >> (Anybody else >>> dislike the new intel mac's? ;-) ) > > No! :) > > Jay Levitt > Mac Pro (early 2008), 8-core 3.2GHz Xeon, 16GB RAM Processor Name: PowerPC G5 (3.1) Processor Speed: 2.7 GHz Number Of CPUs: 2 L2 Cache (per CPU): 512 KB Memory: 6 GB 23" Cinema Display ;-) I love my G5. How is the 8-core Mac Pro? It seem to not feel as "creative" when working on my Intel Macbook vs. The PPC. Or rather when I start a project on the Macbook nothing works ever heh ;-) And I don't think it's the screen. From damm at yazzy.org Wed Apr 29 01:59:30 2009 From: damm at yazzy.org (Scott M. Likens) Date: Tue, 28 Apr 2009 22:59:30 -0700 Subject: [typo] Cross-thread violation & how I fixed the problem In-Reply-To: <49F6942B.5040207@gmail.com> References: <49F6942B.5040207@gmail.com> Message-ID: <008C427F-FD82-4425-A88D-FEE03FFCFC24@yazzy.org> Hi, Using Macports or system Ruby? On Apr 27, 2009, at 10:29 PM, Thomas Gallaway wrote: > I just spent 2 days figuring this out but it seems the issue is one > of the gems in the vendor/gems directory. > > Machine is a Mac Mini G4 1.25ghzisch with 10.4.6isch? (Anybody else > dislike the new intel mac's? ;-) ) > > I completely removed ruby & made sure it was using the macports > version and after pretty much nuking every single gem and gem > install typo on a empty directory stll got this: > > lhc:/var/www/atomlab root# rake db:create RAILS_ENV='production' > (in /private/var/www/atomlab) > config.gem: Unpacked gem calendar_date_select-1.15 in vendor/gems > has no specification file. Run 'rake gems:refresh_specs' to fix this. > config.gem: Unpacked gem coderay-0.8.260 in vendor/gems has no > specification file. Run 'rake gems:refresh_specs' to fix this. > config.gem: Unpacked gem htmlentities-4.0.0 in vendor/gems has no > specification file. Run 'rake gems:refresh_specs' to fix this. > config.gem: Unpacked gem json-1.1.3 in vendor/gems has no > specification file. Run 'rake gems:refresh_specs' to fix this. > [BUG] cross-thread violation on rb_gc() > ruby 1.8.2 (2004-12-25) [powerpc-darwin8.0] > > So I went ahead and mv vendor/gems/* /tmp/gems/ > > Of course now I was getting: > lhc:/var/www/atomlab root# rake db:create > (in /private/var/www/atomlab) > rake aborted! > no such file to load -- coderay > > After > gem install coderay htmlentities json calendar_date_select > > *drumroll* > lhc:/var/www/atomlab atom$ rake db:migrate RAILS_ENV='production' > (in /private/var/www/atomlab) > == InitialSchema: migrating > ================================================== > -- create_table(:users) > -> 0.0712s > -- create_table(:articles) > -> 0.1310s > -- add_index(:articles, :permalink) > > We have migrationage! > > Oh I then ran > lhc:/var/www/atomlab atom$ sudo rake gems:unpack > Password: > (in /private/var/www/atomlab) > Unpacked gem: '/private/var/www/atomlab/vendor/gems/coderay-0.8.312' > Unpacked gem: '/private/var/www/atomlab/vendor/gems/ > htmlentities-4.0.0' > Unpacked gem: '/private/var/www/atomlab/vendor/gems/json-1.1.4' > Unpacked gem: '/private/var/www/atomlab/vendor/gems/ > calendar_date_select-1.15' > > -- Atom > > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list > > > !DSPAM:49f696c7142991804284693! > > From atomist at gmail.com Wed Apr 29 02:31:33 2009 From: atomist at gmail.com (Thomas Gallaway) Date: Wed, 29 Apr 2009 02:31:33 -0400 Subject: [typo] Cross-thread violation & how I fixed the problem In-Reply-To: <008C427F-FD82-4425-A88D-FEE03FFCFC24@yazzy.org> References: <49F6942B.5040207@gmail.com> <008C427F-FD82-4425-A88D-FEE03FFCFC24@yazzy.org> Message-ID: <49F7F445.1050805@gmail.com> Scott M. Likens wrote: > Hi, > > Using Macports or system Ruby? > lhc:/var/www/atomlab atom$ gem env RubyGems Environment: - RUBYGEMS VERSION: 1.3.2 - RUBY VERSION: 1.8.7 (2009-04-08 patchlevel 160) [powerpc-darwin8] - INSTALLATION DIRECTORY: /opt/local/lib/ruby/gems/1.8 - RUBY EXECUTABLE: /opt/local/bin/ruby - EXECUTABLE DIRECTORY: /opt/local/bin - RUBYGEMS PLATFORMS: - ruby - powerpc-darwin-8 - GEM PATHS: - /opt/local/lib/ruby/gems/1.8 - /Users/atom/.gem/ruby/1.8 - GEM CONFIGURATION: - :update_sources => true - :verbose => true - :benchmark => false - :backtrace => false - :bulk_threshold => 1000 - :sources => ["http://gems.rubyforge.org/", "http://gems.github.com"] - REMOTE SOURCES: - http://gems.rubyforge.org/ - http://gems.github.com lhc:/var/www/atomlab atom$ port version Version: 1.710 > On Apr 27, 2009, at 10:29 PM, Thomas Gallaway wrote: > >> I just spent 2 days figuring this out but it seems the issue is one >> of the gems in the vendor/gems directory. >> >> Machine is a Mac Mini G4 1.25ghzisch with 10.4.6isch? (Anybody else >> dislike the new intel mac's? ;-) ) >> >> I completely removed ruby & made sure it was using the macports >> version and after pretty much nuking every single gem and gem install >> typo on a empty directory stll got this: >> >> lhc:/var/www/atomlab root# rake db:create RAILS_ENV='production' >> (in /private/var/www/atomlab) >> config.gem: Unpacked gem calendar_date_select-1.15 in vendor/gems has >> no specification file. Run 'rake gems:refresh_specs' to fix this. >> config.gem: Unpacked gem coderay-0.8.260 in vendor/gems has no >> specification file. Run 'rake gems:refresh_specs' to fix this. >> config.gem: Unpacked gem htmlentities-4.0.0 in vendor/gems has no >> specification file. Run 'rake gems:refresh_specs' to fix this. >> config.gem: Unpacked gem json-1.1.3 in vendor/gems has no >> specification file. Run 'rake gems:refresh_specs' to fix this. >> [BUG] cross-thread violation on rb_gc() >> ruby 1.8.2 (2004-12-25) [powerpc-darwin8.0] >> >> So I went ahead and mv vendor/gems/* /tmp/gems/ >> >> Of course now I was getting: >> lhc:/var/www/atomlab root# rake db:create >> (in /private/var/www/atomlab) >> rake aborted! >> no such file to load -- coderay >> >> After >> gem install coderay htmlentities json calendar_date_select >> >> *drumroll* >> lhc:/var/www/atomlab atom$ rake db:migrate RAILS_ENV='production' >> (in /private/var/www/atomlab) >> == InitialSchema: migrating >> ================================================== >> -- create_table(:users) >> -> 0.0712s >> -- create_table(:articles) >> -> 0.1310s >> -- add_index(:articles, :permalink) >> >> We have migrationage! >> >> Oh I then ran >> lhc:/var/www/atomlab atom$ sudo rake gems:unpack >> Password: >> (in /private/var/www/atomlab) >> Unpacked gem: '/private/var/www/atomlab/vendor/gems/coderay-0.8.312' >> Unpacked gem: '/private/var/www/atomlab/vendor/gems/htmlentities-4.0.0' >> Unpacked gem: '/private/var/www/atomlab/vendor/gems/json-1.1.4' >> Unpacked gem: >> '/private/var/www/atomlab/vendor/gems/calendar_date_select-1.15' >> >> -- Atom >> >> _______________________________________________ >> Typo-list mailing list >> Typo-list at rubyforge.org >> http://rubyforge.org/mailman/listinfo/typo-list >> >> >> !DSPAM:49f696c7142991804284693! > > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list From damm at yazzy.org Wed Apr 29 03:21:45 2009 From: damm at yazzy.org (Scott M. Likens) Date: Wed, 29 Apr 2009 00:21:45 -0700 Subject: [typo] Cross-thread violation & how I fixed the problem In-Reply-To: <49F7F445.1050805@gmail.com> References: <49F6942B.5040207@gmail.com> <008C427F-FD82-4425-A88D-FEE03FFCFC24@yazzy.org> <49F7F445.1050805@gmail.com> Message-ID: <48BBB647-5DDC-430F-8F36-48F68D65B37B@yazzy.org> Ahh, Then you need to remove any other offending ruby libraries that do not reside in /opt/local/lib Next time try not to find ancient arcane bugs that make me think your running panther... :) FYI, it's usually just in /usr/lib (libruby??.dylib??) On Apr 28, 2009, at 11:31 PM, Thomas Gallaway wrote: > > > Scott M. Likens wrote: >> Hi, >> >> Using Macports or system Ruby? >> > lhc:/var/www/atomlab atom$ gem env > RubyGems Environment: > - RUBYGEMS VERSION: 1.3.2 > - RUBY VERSION: 1.8.7 (2009-04-08 patchlevel 160) [powerpc-darwin8] > - INSTALLATION DIRECTORY: /opt/local/lib/ruby/gems/1.8 > - RUBY EXECUTABLE: /opt/local/bin/ruby > - EXECUTABLE DIRECTORY: /opt/local/bin > - RUBYGEMS PLATFORMS: > - ruby > - powerpc-darwin-8 > - GEM PATHS: > - /opt/local/lib/ruby/gems/1.8 > - /Users/atom/.gem/ruby/1.8 > - GEM CONFIGURATION: > - :update_sources => true > - :verbose => true > - :benchmark => false > - :backtrace => false > - :bulk_threshold => 1000 > - :sources => ["http://gems.rubyforge.org/", "http://gems.github.com > "] > - REMOTE SOURCES: > - http://gems.rubyforge.org/ > - http://gems.github.com > lhc:/var/www/atomlab atom$ port version > Version: 1.710 > > >> On Apr 27, 2009, at 10:29 PM, Thomas Gallaway wrote: >> >>> I just spent 2 days figuring this out but it seems the issue is >>> one of the gems in the vendor/gems directory. >>> >>> Machine is a Mac Mini G4 1.25ghzisch with 10.4.6isch? (Anybody >>> else dislike the new intel mac's? ;-) ) >>> >>> I completely removed ruby & made sure it was using the macports >>> version and after pretty much nuking every single gem and gem >>> install typo on a empty directory stll got this: >>> >>> lhc:/var/www/atomlab root# rake db:create RAILS_ENV='production' >>> (in /private/var/www/atomlab) >>> config.gem: Unpacked gem calendar_date_select-1.15 in vendor/gems >>> has no specification file. Run 'rake gems:refresh_specs' to fix >>> this. >>> config.gem: Unpacked gem coderay-0.8.260 in vendor/gems has no >>> specification file. Run 'rake gems:refresh_specs' to fix this. >>> config.gem: Unpacked gem htmlentities-4.0.0 in vendor/gems has no >>> specification file. Run 'rake gems:refresh_specs' to fix this. >>> config.gem: Unpacked gem json-1.1.3 in vendor/gems has no >>> specification file. Run 'rake gems:refresh_specs' to fix this. >>> [BUG] cross-thread violation on rb_gc() >>> ruby 1.8.2 (2004-12-25) [powerpc-darwin8.0] >>> >>> So I went ahead and mv vendor/gems/* /tmp/gems/ >>> >>> Of course now I was getting: >>> lhc:/var/www/atomlab root# rake db:create >>> (in /private/var/www/atomlab) >>> rake aborted! >>> no such file to load -- coderay >>> >>> After >>> gem install coderay htmlentities json calendar_date_select >>> >>> *drumroll* >>> lhc:/var/www/atomlab atom$ rake db:migrate RAILS_ENV='production' >>> (in /private/var/www/atomlab) >>> == InitialSchema: migrating >>> ================================================== >>> -- create_table(:users) >>> -> 0.0712s >>> -- create_table(:articles) >>> -> 0.1310s >>> -- add_index(:articles, :permalink) >>> >>> We have migrationage! >>> >>> Oh I then ran >>> lhc:/var/www/atomlab atom$ sudo rake gems:unpack >>> Password: >>> (in /private/var/www/atomlab) >>> Unpacked gem: '/private/var/www/atomlab/vendor/gems/coderay-0.8.312' >>> Unpacked gem: '/private/var/www/atomlab/vendor/gems/ >>> htmlentities-4.0.0' >>> Unpacked gem: '/private/var/www/atomlab/vendor/gems/json-1.1.4' >>> Unpacked gem: '/private/var/www/atomlab/vendor/gems/ >>> calendar_date_select-1.15' >>> >>> -- Atom >>> >>> _______________________________________________ >>> 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 > > > !DSPAM:49f7f96d267351804284693! > > From frederic at de-villamil.com Wed Apr 29 03:22:42 2009 From: frederic at de-villamil.com (=?ISO-8859-1?Q?de_Villamil_Fr=E9d=E9ric?=) Date: Wed, 29 Apr 2009 09:22:42 +0200 Subject: [typo] wordpress converter In-Reply-To: <42e993830904282332y264dcc9ava09228b90f3b761a@mail.gmail.com> References: <42e993830904152150s75c3c494uedf73a1f9423d51a@mail.gmail.com> <49E6D07F.8070902@matijs.net> <42e993830904160834r37d06fa2i7796003c9c7a9e12@mail.gmail.com> <49F7E8CA.1090800@matijs.net> <42e993830904282332y264dcc9ava09228b90f3b761a@mail.gmail.com> Message-ID: <2D551FDB-474F-4F04-9166-E9DF9D227BF9@de-villamil.com> Le 29 avr. 09 ? 08:32, Erik Ostrom a ?crit : > Yes. Although the recently released BlueCloth 2 is built on > Discount, which should bring it into the "fast and slim" category. > > http://www.deveiate.org/bluecloth2-announcement.html > > Of course there are drawbacks to depending on C code, which Discount > is. This might lead back to the question in that other thread about > including unpacked gems in typo.... Including unpacked gems into Typo was a way for us to make the install process easier with by including lots of dependencies into the core application. It sounded like a good idea, until it crashed somewhere. For bluecloth2, I'm going to check if we can integrate it without breaking everything, but it may help to fasten Typo, which is always good. I've opened a ticket at https://fdv.lighthouseapp.com/projects/11171-typo-blog/tickets/97-replace-bluecloth-with-bluecloth-2 you can follow if you're interested in this topic. Cheers, Fr?d?ric -- Fr?d?ric de Villamil "What's mine is mine. What's yours is still unsetteled" ? Go player proverb frederic at de-villamil.com tel: +33 (0)6 62 19 1337 http://t37.net Typo : http://typosphere.org From atomist at gmail.com Wed Apr 29 03:48:49 2009 From: atomist at gmail.com (Thomas Gallaway) Date: Wed, 29 Apr 2009 03:48:49 -0400 Subject: [typo] Cross-thread violation & how I fixed the problem In-Reply-To: <48BBB647-5DDC-430F-8F36-48F68D65B37B@yazzy.org> References: <49F6942B.5040207@gmail.com> <008C427F-FD82-4425-A88D-FEE03FFCFC24@yazzy.org> <49F7F445.1050805@gmail.com> <48BBB647-5DDC-430F-8F36-48F68D65B37B@yazzy.org> Message-ID: <49F80661.1080508@gmail.com> Scott M. Likens wrote: > Ahh, > > Then you need to remove any other offending ruby libraries that do not > reside in /opt/local/lib > > Next time try not to find ancient arcane bugs that make me think your > running panther... :) > > FYI, it's usually just in /usr/lib (libruby??.dylib??) yeah okay I guess your right (just they where hiding in /usr/lib). libruby.1.dylib: /usr/lib/libruby.1.dylib (compatibility version 1.8.0, current version 1.8.2) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 88.1.11) lhc:/usr/lib atom$ otool -L libruby.dylib libruby.dylib: /usr/lib/libruby.1.dylib (compatibility version 1.8.0, current version 1.8.2) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 88.1.11) cause I looked in /opt/local/lib lhc:/opt/local/lib atom$ otool -L libruby.1.8.dylib libruby.1.8.dylib: /opt/local/lib/libruby.dylib (compatibility version 1.8.0, current version 1.8.7) /usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 88.1.11) so I just removed the 2 in /usr/lib and put the original gems back and the json gem did not produce the violation anymore. Sometimes the all mighty google is just not as mighty when researching this. ;-) I wonder if the daley lama gives coding advice now? > > On Apr 28, 2009, at 11:31 PM, Thomas Gallaway wrote: > >> Scott M. Likens wrote: >>> Hi, >>> >>> Using Macports or system Ruby? >> lhc:/var/www/atomlab atom$ gem env >> RubyGems Environment: >> - RUBYGEMS VERSION: 1.3.2 >> - RUBY VERSION: 1.8.7 (2009-04-08 patchlevel 160) [powerpc-darwin8] >> - INSTALLATION DIRECTORY: /opt/local/lib/ruby/gems/1.8 >> - RUBY EXECUTABLE: /opt/local/bin/ruby >> - EXECUTABLE DIRECTORY: /opt/local/bin >> - RUBYGEMS PLATFORMS: >> - ruby >> - powerpc-darwin-8 >> - GEM PATHS: >> - /opt/local/lib/ruby/gems/1.8 >> - /Users/atom/.gem/ruby/1.8 >> - GEM CONFIGURATION: >> - :update_sources => true >> - :verbose => true >> - :benchmark => false >> - :backtrace => false >> - :bulk_threshold => 1000 >> - :sources => ["http://gems.rubyforge.org/", >> "http://gems.github.com"] >> - REMOTE SOURCES: >> - http://gems.rubyforge.org/ >> - http://gems.github.com >> lhc:/var/www/atomlab atom$ port version >> Version: 1.710 >> >> >>> On Apr 27, 2009, at 10:29 PM, Thomas Gallaway wrote: >>> >>>> I just spent 2 days figuring this out but it seems the issue is one >>>> of the gems in the vendor/gems directory. >>>> >>>> Machine is a Mac Mini G4 1.25ghzisch with 10.4.6isch? (Anybody else >>>> dislike the new intel mac's? ;-) ) >>>> >>>> I completely removed ruby & made sure it was using the macports >>>> version and after pretty much nuking every single gem and gem >>>> install typo on a empty directory stll got this: >>>> >>>> lhc:/var/www/atomlab root# rake db:create RAILS_ENV='production' >>>> (in /private/var/www/atomlab) >>>> config.gem: Unpacked gem calendar_date_select-1.15 in vendor/gems >>>> has no specification file. Run 'rake gems:refresh_specs' to fix this. >>>> config.gem: Unpacked gem coderay-0.8.260 in vendor/gems has no >>>> specification file. Run 'rake gems:refresh_specs' to fix this. >>>> config.gem: Unpacked gem htmlentities-4.0.0 in vendor/gems has no >>>> specification file. Run 'rake gems:refresh_specs' to fix this. >>>> config.gem: Unpacked gem json-1.1.3 in vendor/gems has no >>>> specification file. Run 'rake gems:refresh_specs' to fix this. >>>> [BUG] cross-thread violation on rb_gc() >>>> ruby 1.8.2 (2004-12-25) [powerpc-darwin8.0] >>>> >>>> So I went ahead and mv vendor/gems/* /tmp/gems/ >>>> >>>> Of course now I was getting: >>>> lhc:/var/www/atomlab root# rake db:create >>>> (in /private/var/www/atomlab) >>>> rake aborted! >>>> no such file to load -- coderay >>>> >>>> After >>>> gem install coderay htmlentities json calendar_date_select >>>> >>>> *drumroll* >>>> lhc:/var/www/atomlab atom$ rake db:migrate RAILS_ENV='production' >>>> (in /private/var/www/atomlab) >>>> == InitialSchema: migrating >>>> ================================================== >>>> -- create_table(:users) >>>> -> 0.0712s >>>> -- create_table(:articles) >>>> -> 0.1310s >>>> -- add_index(:articles, :permalink) >>>> >>>> We have migrationage! >>>> >>>> Oh I then ran >>>> lhc:/var/www/atomlab atom$ sudo rake gems:unpack >>>> Password: >>>> (in /private/var/www/atomlab) >>>> Unpacked gem: '/private/var/www/atomlab/vendor/gems/coderay-0.8.312' >>>> Unpacked gem: >>>> '/private/var/www/atomlab/vendor/gems/htmlentities-4.0.0' >>>> Unpacked gem: '/private/var/www/atomlab/vendor/gems/json-1.1.4' >>>> Unpacked gem: >>>> '/private/var/www/atomlab/vendor/gems/calendar_date_select-1.15' >>>> >>>> -- Atom >>>> >>>> _______________________________________________ >>>> 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 >> >> >> !DSPAM:49f7f96d267351804284693! > > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list From lists-typo at jay.fm Wed Apr 29 07:51:28 2009 From: lists-typo at jay.fm (Jay Levitt) Date: Wed, 29 Apr 2009 07:51:28 -0400 Subject: [typo] wordpress converter In-Reply-To: <2D551FDB-474F-4F04-9166-E9DF9D227BF9@de-villamil.com> References: <42e993830904152150s75c3c494uedf73a1f9423d51a@mail.gmail.com> <49E6D07F.8070902@matijs.net> <42e993830904160834r37d06fa2i7796003c9c7a9e12@mail.gmail.com> <49F7E8CA.1090800@matijs.net> <42e993830904282332y264dcc9ava09228b90f3b761a@mail.gmail.com> <2D551FDB-474F-4F04-9166-E9DF9D227BF9@de-villamil.com> Message-ID: <49F83F40.6040601@jay.fm> de Villamil Fr?d?ric wrote: > > Including unpacked gems into Typo was a way for us to make the install > process easier with by including lots of dependencies into the core > application. It sounded like a good idea, until it crashed somewhere. This may count as "vaguest suggestion ever", but didn't I see Something Somewhere Recently about application templates, development vs. production gem dependencies, rails app-installers, etc. - maybe as part of Rails 2.3 -that would create a better compromise between "we can't possibly ensure that typo works on an N*M matrix of gem combinations" and "I want to take advantage of the latest gems automatically"? I just went through a similar problem importing Movable Type into first-time Typo blog; typo includes RedCloth3 (3.0.3 or 3.0.4 I think), and the newest RedCloth 4 fixes a number of long-standing bugs. Since MT uses a non-Ruby version of Textile, all my entries were formatted for "proper" Textile, and RedCloth 3 made them look really ugly... took a while to figure out why. Jay From lists-typo at jay.fm Wed Apr 29 07:53:13 2009 From: lists-typo at jay.fm (Jay Levitt) Date: Wed, 29 Apr 2009 07:53:13 -0400 Subject: [typo] Cross-thread violation & how I fixed the problem In-Reply-To: <49F80661.1080508@gmail.com> References: <49F6942B.5040207@gmail.com> <008C427F-FD82-4425-A88D-FEE03FFCFC24@yazzy.org> <49F7F445.1050805@gmail.com> <48BBB647-5DDC-430F-8F36-48F68D65B37B@yazzy.org> <49F80661.1080508@gmail.com> Message-ID: <49F83FA9.5080503@jay.fm> Thomas Gallaway wrote: > Scott M. Likens wrote: >> Ahh, >> >> Then you need to remove any other offending ruby libraries that do not >> reside in /opt/local/lib I ran into this too.. running out the door but I will look in a few hours. Mac Ruby comes with its own gems in /Library, and /usr/bin/gem won't delete them, but it won't tell you that, either. So if you somehow got that into your gempath, and/or if you somehow run /usr/bin/gem or /usr/bin/ruby sometimes instead of /opt/local/bin/ruby... it gets very very confusing. More later. >> >> Next time try not to find ancient arcane bugs that make me think your >> running panther... :) >> >> FYI, it's usually just in /usr/lib (libruby??.dylib??) > yeah okay I guess your right (just they where hiding in /usr/lib). > > libruby.1.dylib: > /usr/lib/libruby.1.dylib (compatibility version 1.8.0, current > version 1.8.2) > /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current > version 88.1.11) > lhc:/usr/lib atom$ otool -L libruby.dylib > libruby.dylib: > /usr/lib/libruby.1.dylib (compatibility version 1.8.0, current > version 1.8.2) > /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current > version 88.1.11) > > cause I looked in /opt/local/lib > lhc:/opt/local/lib atom$ otool -L libruby.1.8.dylib > libruby.1.8.dylib: > /opt/local/lib/libruby.dylib (compatibility version 1.8.0, current > version 1.8.7) > /usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current > version 1.0.0) > /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current > version 88.1.11) > > so I just removed the 2 in /usr/lib and put the original gems back and > the json > gem did not produce the violation anymore. > > > Sometimes the all mighty google is just not as mighty when researching > this. ;-) > I wonder if the daley lama gives coding advice now? >> >> On Apr 28, 2009, at 11:31 PM, Thomas Gallaway wrote: >> >>> Scott M. Likens wrote: >>>> Hi, >>>> >>>> Using Macports or system Ruby? >>> lhc:/var/www/atomlab atom$ gem env >>> RubyGems Environment: >>> - RUBYGEMS VERSION: 1.3.2 >>> - RUBY VERSION: 1.8.7 (2009-04-08 patchlevel 160) [powerpc-darwin8] >>> - INSTALLATION DIRECTORY: /opt/local/lib/ruby/gems/1.8 >>> - RUBY EXECUTABLE: /opt/local/bin/ruby >>> - EXECUTABLE DIRECTORY: /opt/local/bin >>> - RUBYGEMS PLATFORMS: >>> - ruby >>> - powerpc-darwin-8 >>> - GEM PATHS: >>> - /opt/local/lib/ruby/gems/1.8 >>> - /Users/atom/.gem/ruby/1.8 >>> - GEM CONFIGURATION: >>> - :update_sources => true >>> - :verbose => true >>> - :benchmark => false >>> - :backtrace => false >>> - :bulk_threshold => 1000 >>> - :sources => ["http://gems.rubyforge.org/", >>> "http://gems.github.com"] >>> - REMOTE SOURCES: >>> - http://gems.rubyforge.org/ >>> - http://gems.github.com >>> lhc:/var/www/atomlab atom$ port version >>> Version: 1.710 >>> >>> >>>> On Apr 27, 2009, at 10:29 PM, Thomas Gallaway wrote: >>>> >>>>> I just spent 2 days figuring this out but it seems the issue is one >>>>> of the gems in the vendor/gems directory. >>>>> >>>>> Machine is a Mac Mini G4 1.25ghzisch with 10.4.6isch? (Anybody else >>>>> dislike the new intel mac's? ;-) ) >>>>> >>>>> I completely removed ruby & made sure it was using the macports >>>>> version and after pretty much nuking every single gem and gem >>>>> install typo on a empty directory stll got this: >>>>> >>>>> lhc:/var/www/atomlab root# rake db:create RAILS_ENV='production' >>>>> (in /private/var/www/atomlab) >>>>> config.gem: Unpacked gem calendar_date_select-1.15 in vendor/gems >>>>> has no specification file. Run 'rake gems:refresh_specs' to fix this. >>>>> config.gem: Unpacked gem coderay-0.8.260 in vendor/gems has no >>>>> specification file. Run 'rake gems:refresh_specs' to fix this. >>>>> config.gem: Unpacked gem htmlentities-4.0.0 in vendor/gems has no >>>>> specification file. Run 'rake gems:refresh_specs' to fix this. >>>>> config.gem: Unpacked gem json-1.1.3 in vendor/gems has no >>>>> specification file. Run 'rake gems:refresh_specs' to fix this. >>>>> [BUG] cross-thread violation on rb_gc() >>>>> ruby 1.8.2 (2004-12-25) [powerpc-darwin8.0] >>>>> >>>>> So I went ahead and mv vendor/gems/* /tmp/gems/ >>>>> >>>>> Of course now I was getting: >>>>> lhc:/var/www/atomlab root# rake db:create >>>>> (in /private/var/www/atomlab) >>>>> rake aborted! >>>>> no such file to load -- coderay >>>>> >>>>> After >>>>> gem install coderay htmlentities json calendar_date_select >>>>> >>>>> *drumroll* >>>>> lhc:/var/www/atomlab atom$ rake db:migrate RAILS_ENV='production' >>>>> (in /private/var/www/atomlab) >>>>> == InitialSchema: migrating >>>>> ================================================== >>>>> -- create_table(:users) >>>>> -> 0.0712s >>>>> -- create_table(:articles) >>>>> -> 0.1310s >>>>> -- add_index(:articles, :permalink) >>>>> >>>>> We have migrationage! >>>>> >>>>> Oh I then ran >>>>> lhc:/var/www/atomlab atom$ sudo rake gems:unpack >>>>> Password: >>>>> (in /private/var/www/atomlab) >>>>> Unpacked gem: '/private/var/www/atomlab/vendor/gems/coderay-0.8.312' >>>>> Unpacked gem: >>>>> '/private/var/www/atomlab/vendor/gems/htmlentities-4.0.0' >>>>> Unpacked gem: '/private/var/www/atomlab/vendor/gems/json-1.1.4' >>>>> Unpacked gem: >>>>> '/private/var/www/atomlab/vendor/gems/calendar_date_select-1.15' >>>>> >>>>> -- Atom >>>>> >>>>> _______________________________________________ >>>>> 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 >>> >>> >>> !DSPAM:49f7f96d267351804284693! >> >> _______________________________________________ >> 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 matijs at matijs.net Wed Apr 29 08:50:44 2009 From: matijs at matijs.net (Matijs van Zuijlen) Date: Wed, 29 Apr 2009 14:50:44 +0200 Subject: [typo] wordpress converter In-Reply-To: <49F83F40.6040601@jay.fm> References: <42e993830904152150s75c3c494uedf73a1f9423d51a@mail.gmail.com> <49E6D07F.8070902@matijs.net> <42e993830904160834r37d06fa2i7796003c9c7a9e12@mail.gmail.com> <49F7E8CA.1090800@matijs.net> <42e993830904282332y264dcc9ava09228b90f3b761a@mail.gmail.com> <2D551FDB-474F-4F04-9166-E9DF9D227BF9@de-villamil.com> <49F83F40.6040601@jay.fm> Message-ID: <49F84D24.9030006@matijs.net> Jay Levitt wrote: > de Villamil Fr?d?ric wrote: >> >> Including unpacked gems into Typo was a way for us to make the install >> process easier with by including lots of dependencies into the core >> application. It sounded like a good idea, until it crashed somewhere. > > This may count as "vaguest suggestion ever", but didn't I see Something > Somewhere Recently about application templates, development vs. > production gem dependencies, rails app-installers, etc. - maybe as part > of Rails 2.3 -that would create a better compromise between "we can't > possibly ensure that typo works on an N*M matrix of gem combinations" > and "I want to take advantage of the latest gems automatically"? I think you refer to the fact that you can, in rails 2.3, put gem dependencies in the common environment.rb, and also in the environment/test.rb etc. This way you can specify, we need rspec, but only in testing. Very useful. But to solve the problem of "we know typo works for gem such-and-such version 3.0.3, but someone wants to use 10.0.1", that won't help. What will help, is putting a minimum version or a range of versions in the gem dependencies (you would put something like ">=3.0.3". > I just went through a similar problem importing Movable Type into > first-time Typo blog; typo includes RedCloth3 (3.0.3 or 3.0.4 I think), > and the newest RedCloth 4 fixes a number of long-standing bugs. Since > MT uses a non-Ruby version of Textile, all my entries were formatted for > "proper" Textile, and RedCloth 3 made them look really ugly... took a > while to figure out why. Ouch, that's nasty. Regards, Matijs. From frederic at de-villamil.com Wed Apr 29 16:57:51 2009 From: frederic at de-villamil.com (=?WINDOWS-1252?Q?de_Villamil_Fr=E9d=E9ric?=) Date: Wed, 29 Apr 2009 22:57:51 +0200 Subject: [typo] wordpress converter In-Reply-To: <2D551FDB-474F-4F04-9166-E9DF9D227BF9@de-villamil.com> References: <42e993830904152150s75c3c494uedf73a1f9423d51a@mail.gmail.com> <49E6D07F.8070902@matijs.net> <42e993830904160834r37d06fa2i7796003c9c7a9e12@mail.gmail.com> <49F7E8CA.1090800@matijs.net> <42e993830904282332y264dcc9ava09228b90f3b761a@mail.gmail.com> <2D551FDB-474F-4F04-9166-E9DF9D227BF9@de-villamil.com> Message-ID: <6ACC7F91-F72C-4EB0-A566-1B6F024FA0EC@de-villamil.com> Le 29 avr. 09 ? 09:22, de Villamil Fr?d?ric a ?crit : > > Le 29 avr. 09 ? 08:32, Erik Ostrom a ?crit : > >> Yes. Although the recently released BlueCloth 2 is built on >> Discount, which should bring it into the "fast and slim" category. >> >> http://www.deveiate.org/bluecloth2-announcement.html >> >> Of course there are drawbacks to depending on C code, which >> Discount is. This might lead back to the question in that other >> thread about including unpacked gems in typo.... > > > Including unpacked gems into Typo was a way for us to make the > install process easier with by including lots of dependencies into > the core application. It sounded like a good idea, until it crashed > somewhere. > > For bluecloth2, I'm going to check if we can integrate it without > breaking everything, but it may help to fasten Typo, which is always > good. I've opened a ticket at https://fdv.lighthouseapp.com/projects/11171-typo-blog/tickets/97-replace-bluecloth-with-bluecloth-2 > you can follow if you're interested in this topic. > > Cheers, > Fr?d?ric > -- I've replaced bluecloth 1.0 by bluecloth 2.0 on master tonight. Seems to work smoothly. I've also removed it from vendor/ and added as a gem dependency instead. Tell me if perfs are better and if nothing goes wrong for you. Fr?d?ric -- Fr?d?ric de Villamil "What's mine is mine. What's yours is still unsetteled" ? Go player proverb frederic at de-villamil.com tel: +33 (0)6 62 19 1337 http://t37.net Typo : http://typosphere.org