From berteh at hotmail.com Thu Feb 28 08:11:44 2008 From: berteh at hotmail.com (B Berteh) Date: Thu, 28 Feb 2008 14:11:44 +0100 Subject: [Pimki-users] bug with Hyperbolic graphs Message-ID: Hello, First of all thanks for the Pimki software, I just like the tweaks you made to instiki! I use the current svn version (of pimki_2_zombie), and encountered a problem when using hyperbolic maps on pages that had accents in their name, such as "?v?nements R?cents" (e.g. recent events, in French)... the wiki link obviously being ?v?nementsR?cents. The Hyperbolic graph of the "?v?nements R?cents" page does not display when the page is being viewed, for the image file name being looked for in the html code is translating to /opt/berteh/pimki_2_zombie/storage/2500/?v?nementsR?cents.png on my particular installation, while the generated image file is /opt/berteh/pimki_2_zombie/storage/2500/_v_nementsR_cents.png where all accentuated characters have been replaced by underscores (even the .dot and .map files have this substituted name). Relevant error trace is ActionController::MissingFile (Cannot read file /opt/berteh/pimki_2_zombie/storage/2500/?v?nementsR?cents.png): /var/lib/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/streaming.rb:55:in `send_file' /app/controllers/application.rb:76:in `send_file' /app/controllers/wiki_controller.rb:318:in `hyperbolic' /var/lib/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:853:in `send' But I (sadly) don't know enough of Ruby to fix the "hyperbolic" call by myself, or have the graphviz call work with accentuated characters, which would indeed be better (I didn't even found where the graphviz call is located). Any hint/patch is welcome! thanks in advance, and have a nice day, Bertrand. _________________________________________________________________ Windows Live: une foule de solutions orginales pour partager vos souvenirs ! http://get.live.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/pimki-users/attachments/20080228/3883d15a/attachment.html From assaph at gmail.com Thu Feb 28 10:54:10 2008 From: assaph at gmail.com (Assaph Mehr) Date: Fri, 29 Feb 2008 02:54:10 +1100 Subject: [Pimki-users] bug with Hyperbolic graphs In-Reply-To: References: Message-ID: <3ff47be90802280754p73d14624g2dce444acbc92b94@mail.gmail.com> Hi Bertrand, > First of all thanks for the Pimki software, I just like the tweaks you > made to instiki! Thanks :-) > I use the current svn version (of pimki_2_zombie), and encountered a > problem when using hyperbolic maps on pages that had accents in their > name, such as "?v?nements R?cents" (e.g. recent events, in French)... > the wiki link obviously being ?v?nementsR?cents. I've fixed this in SVN a couple of days ago :-) I haven't updated the release yet, but you can get the source from svn. I'll update the zombie release later today. Cheers, Assaph