From maliha.aziz at yahoo.com Fri Nov 2 18:49:17 2007 From: maliha.aziz at yahoo.com (maliha aziz) Date: Fri, 2 Nov 2007 15:49:17 -0700 (PDT) Subject: [MOBY-l] visualise data types In-Reply-To: <4d93f07c0710191645p1051de2dm7551b490a0e6d21e@mail.gmail.com> Message-ID: <959614.20842.qm@web57407.mail.re1.yahoo.com> Hi While running the following command build/run/run-graphs-client -cachedir myCache -q -s > services.dot (where myCache is some address of my own cache that i have updated through the dashboard before running this routine) I get the following error .... Exception in thread "main" java.lang.OutOfMemoryError: Java heap space at java.util.Arrays.copyOf(Unknown Source) at java.lang.AbstractStringBuilder.expandCapacity(Unknown Source) at java.lang.AbstractStringBuilder.append(Unknown Source) at java.lang.StringBuffer.append(Unknown Source) at org.biomoby.client.Graphviz.createBodyServicesGraph(Graphviz.java:186 ) at org.biomoby.client.Graphviz.createServicesGraph(Graphviz.java:86) at MobyGraphs.main(MobyGraphs.java:386) errrr??? wud really appreciate sum help wid this Regards Maliha Martin Senger wrote: Is there a tool that anyone knows of by which I could dump in all the biomoby datatypes and it returns me a tree type of structure (actual visual tree) Yes, it is. But it has not been updated for a long time. I have just tried and it still work (at least most of the options) - but it can produce too big pictures (for example with the option -d you get *all* data types). I was planning to make it better browsable. But it has now a low priority - but perhaps one day I will return to it by exploring Google maps API for it... Anyway, here is how you can use it (of course, you can also read about it quite comprehensive documentation on the jMoby pages): cd jMoby build/run/run-graphs-client -h | less build/run/run-graphs-client -cachedir myCache -q -d > data.dot dot -Tpng data.dot > data.png display data.png [You need to fill first your local cache. You can use the one created by dashboard, or update it by another command-line client. And you need program 'dot' that can convert the created tree into an image.] Cheers, Martin -- Martin Senger email: martin.senger at gmail.com skype: martinsenger __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From martin.senger at gmail.com Fri Nov 2 19:08:57 2007 From: martin.senger at gmail.com (Martin Senger) Date: Fri, 2 Nov 2007 23:08:57 +0000 Subject: [MOBY-l] visualise data types In-Reply-To: <959614.20842.qm@web57407.mail.re1.yahoo.com> References: <4d93f07c0710191645p1051de2dm7551b490a0e6d21e@mail.gmail.com> <959614.20842.qm@web57407.mail.re1.yahoo.com> Message-ID: <4d93f07c0711021608l21e609a3qf6b19883f931432e@mail.gmail.com> Hi, Exception in thread "main" java.lang.OutOfMemoryError: Java heap space I told you that it requires a lot of memory :-) Anyway, I have just tried and it was possible to generate services.dot file for all services (I have updated my cache, as well) - it has over 12MB, after I added more memory to Java by adding an option -mx256m to the last line in the file build/run/run-graphs-client (yours will be slightly different, with your file path): exec java -cp $CLASSPATH "- Dlog4j.configuration=file:/home/senger/moby-live/Java/log4j.properties" -mx256m MobyGraphs "$@" Cheers, Martin -- Martin Senger email: martin.senger at gmail.com skype: martinsenger From maliha.aziz at yahoo.com Tue Nov 6 20:56:57 2007 From: maliha.aziz at yahoo.com (maliha aziz) Date: Tue, 6 Nov 2007 17:56:57 -0800 (PST) Subject: [MOBY-l] visualise services Message-ID: <407821.6469.qm@web57408.mail.re1.yahoo.com> hi what am i doing wrong here :) I am trying to generate services according to the authorities . However while running the following command build/run/run-graphs-client -cachedir myCache -q -auth antirrhinum.net > services.dot (where myCache is some address of my own cache that i have updated through the dashboard before running this routine) I get an empty file thanks maliha p.s. a generated dot file of all the services is 6087 pages long :S !!!!! __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From martin.senger at gmail.com Tue Nov 6 21:55:40 2007 From: martin.senger at gmail.com (Martin Senger) Date: Wed, 7 Nov 2007 02:55:40 +0000 Subject: [MOBY-l] visualise services In-Reply-To: <407821.6469.qm@web57408.mail.re1.yahoo.com> References: <407821.6469.qm@web57408.mail.re1.yahoo.com> Message-ID: <4d93f07c0711061855y7c7017beiff93b6a85b590c89@mail.gmail.com> > what am i doing wrong here :) I am trying to generate services according > to the authorities . The problem is (as I told you already I think) that the graphs client was not updated for years now. It would definitely need some maintenance - which I do not have time now to do. I may return to it in some time, but probably not this year. I am sorry about it - the only thing I can suggest is to look into the source code and try to fix it. After all, it is an open source :-) I am really sorry But I am afraid I cannot be too helpful now. Cheers, Martin -- Martin Senger email: martin.senger at gmail.com skype: martinsenger From markw at illuminae.com Wed Nov 14 21:09:50 2007 From: markw at illuminae.com (Mark Wilkinson) Date: Wed, 14 Nov 2007 18:09:50 -0800 Subject: [MOBY-l] iGoogle as a cusomizable Moby Mashup? Message-ID: Hell, why not?! :-) I had an hour free this afternoon, and this is what I did with it: It takes about 15 minutes to auto-generate them from the registry so I could put th escript on a cron... This is purely first-pass, just-trying-an-idea stuff, so it isn't "pretty", but... very very cool :-) Cheers all! Mark