On Monday 03 April 2006 20.11, muppet wrote:
These failures certainly sound like they may be related to the bugs fixed in 1.105 and 1.200 as compared to 1.101. Definitely try to resolve the old version problem.
So I found an older version that I deleted, then cpan said everything was up to date but it wasn't working. So I removed all traces of Glib, reinstalled it from scratch. Glib worked fine but the MindMapView tests still failed! Now the interresting part: ### ... t/pod...............ok Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------------- t/01.MindMapView.t 1 256 9 16 177.78% 2-9 t/02.ItemFactory.t 1 256 17 28 164.71% 4-17 t/03.Graph.t 1 256 35 62 177.14% 5-35 t/04.Item.t 1 256 22 38 172.73% 4-22 t/05.HotSpot.t 1 256 24 42 175.00% 4-24 t/06.Border.t 1 256 38 64 168.42% 7-38 t/07.Content.t 1 256 36 64 177.78% 5-36 t/08.Connection.t 1 256 10 14 140.00% 4-10 t/09.Balanced.t 1 256 15 22 146.67% 5-15 t/10.Column.t 1 256 18 28 155.56% 5-18 Failed 10/13 test scripts, 23.08% okay. 189/256 subtests failed, 26.17% okay. ./Build test -- NOT OK Running Build install make test had returned bad status, won't install without force [nadim nadim Gtk2-Ex-MindMapView-0.000001]$ pmvers Glib 1.120 [nadim nadim Gtk2-Ex-MindMapView-0.000001]$ perl Makefile.PL Writing Makefile for Gtk2::Ex::MindMapView [nadim nadim Gtk2-Ex-MindMapView-0.000001]$ make Manifying blib/man3/Gtk2::Ex::MindMapView::Layout::Cluster.3pm ... Manifying blib/man3/Gtk2::Ex::MindMapView::HotSpot::Grip::RightAngle.3pm [nadim nadim Gtk2-Ex-MindMapView-0.000001]$ make test PERL_DL_NONLAZY=1 /usr/bin/perl5.8.8 "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/00.load...........ok 1/1# Testing Gtk2::Ex::MindMapView 0.000001 ... t/pod...............ok All tests successful. Files=13, Tests=256, 6 wallclock secs ( 4.69 cusr + 0.52 csys = 5.21 CPU) ### Hmm, doesn't test OK with cpan but it does when installing manually! OK. Now I got something to test at least. It looked _real_ nice and I'm looking forward to have a mind mapping program that works with gtk-perl. Here are a few remarks: - you get 25 nodes even if you ask for 150. - things get to a crawl when there are many node, I mean 5 seconds to draw the node which shape has changed - there is a display bug (see attachment) I guess you didn't do this without planning a full blown MindMapping app. If you want some input/testing, I have lots of ideas (I planned to do one someday) and some time to test. Another, related, question. Is there a canvas/lib for drawing objects (squares, circles, ..) and lonking them together. A kind of base lib for an application like Dia or visio? Cheers, Nadim.
Attachment:
gtkminmap.png
Description: PNG image