Home » Archived » Sketch » Some minimal documentation available?
|
Re: Some minimal documentation available? [message #632144 is a reply to message #632125] |
Mon, 11 October 2010 18:10 |
|
Hello MIchael,
First, sorry for not putting those instructions on the site -- I was trying to figure out a more smooth building with Mariot Chauvin, before putting some definitive documentation.
But since you have all the plugins there, you should have sketch core (which has the recognition engine) and the RCP application (shapes).
You can just test it as a normal RCP app, if you open shapes.product inside org.eclipse.sketch.examples.shapes, you should be able to run it using 'Launch an eclipse application' link.
Then you can create a shapes file and proceed as the video do.
If you have any more questions, please ask.
I will be improving sketch quite a lot on the next months.
|
|
|
(too) many crashes... [message #632276 is a reply to message #632144] |
Tue, 12 October 2010 12:00 |
Michael Moser Messages: 914 Registered: July 2009 |
Senior Member |
|
|
On Mon, 11 Oct 2010 16:10:44 -0200, Ugo Sangiorgi <ugo.sangiorgi@gmail.com> wrote:
>Hello MIchael,
>First, sorry for not putting those instructions on the site -- I was trying to figure out a more smooth building with Mariot Chauvin, before putting some definitive documentation.
>
>But since you have all the plugins there, you should have sketch core (which has the recognition engine) and the RCP application (shapes).
>
>You can just test it as a normal RCP app, if you open shapes.product inside org.eclipse.sketch.examples.shapes, you should be able to run it using 'Launch an eclipse application' link.
>
>Then you can create a shapes file and proceed as the video do.
>
>If you have any more questions, please ask.
>I will be improving sketch quite a lot on the next months.
I managed to get the Sketch version I checked out yesterday running, created a project and then a shapes file, but - alas - it's
still VERY unstable. I never came to the point, where it actually starts recognising shapes (as seen in the video). After at most
the second or third shape drawn I usually ran into an endless exception cycle with the below exception.
The idea IMHO is brilliant, but I guess, I'll have to keep waiting and watching how things evolve!
This was using a freshly updated Eclipse Helios.
Cheers,
Michael
PS.: Most often I got the following Exception (often repeating, i.e. it kept "running away" with this exception):
------------------------------------------------------------
....
org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.NullPointerException)
at org.eclipse.swt.SWT.error(SWT.java:4083)
at org.eclipse.swt.SWT.error(SWT.java:3998)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr onizer.java:137)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.jav a:4041)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3660)
at org.eclipse.jface.operation.ModalContext$ModalContextThread. block(ModalContext.java:173)
at org.eclipse.jface.operation.ModalContext.run(ModalContext.ja va:388)
at org.eclipse.jface.dialogs.ProgressMonitorDialog.run(Progress MonitorDialog.java:507)
at org.eclipse.ui.internal.progress.ProgressMonitorJobsDialog.r un(ProgressMonitorJobsDialog.java:275)
at org.eclipse.ui.internal.ide.application.IDEWorkbenchAdvisor. disconnectFromWorkspace(IDEWorkbenchAdvisor.java:509)
at org.eclipse.ui.internal.ide.application.IDEWorkbenchAdvisor. postShutdown(IDEWorkbenchAdvisor.java:342)
at org.eclipse.ui.internal.Workbench.shutdown(Workbench.java:29 67)
at org.eclipse.ui.internal.Workbench.busyClose(Workbench.java:1 115)
at org.eclipse.ui.internal.Workbench.access$15(Workbench.java:1 032)
at org.eclipse.ui.internal.Workbench$25.run(Workbench.java:1276 )
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:70)
at org.eclipse.ui.internal.Workbench.close(Workbench.java:1274)
at org.eclipse.ui.internal.Workbench.close(Workbench.java:1246)
at org.eclipse.ui.internal.WorkbenchWindow.busyClose(WorkbenchW indow.java:731)
at org.eclipse.ui.internal.WorkbenchWindow.access$0(WorkbenchWi ndow.java:710)
at org.eclipse.ui.internal.WorkbenchWindow$5.run(WorkbenchWindo w.java:826)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:70)
at org.eclipse.ui.internal.WorkbenchWindow.close(WorkbenchWindo w.java:824)
at org.eclipse.jface.window.Window.handleShellCloseEvent(Window .java:741)
at org.eclipse.jface.window.Window$3.shellClosed(Window.java:68 7)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListe ner.java:98)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1077)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1062)
at org.eclipse.swt.widgets.Decorations.closeWidget(Decorations. java:308)
at org.eclipse.swt.widgets.Decorations.WM_CLOSE(Decorations.jav a:1665)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:4162 )
at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:341)
at org.eclipse.swt.widgets.Decorations.windowProc(Decorations.j ava:1598)
at org.eclipse.swt.widgets.Shell.windowProc(Shell.java:2038)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:4873 )
at org.eclipse.swt.internal.win32.OS.DefWindowProcW(Native Method)
at org.eclipse.swt.internal.win32.OS.DefWindowProc(OS.java:2454 )
at org.eclipse.swt.widgets.Shell.callWindowProc(Shell.java:497)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:4251 )
at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:341)
at org.eclipse.swt.widgets.Decorations.windowProc(Decorations.j ava:1598)
at org.eclipse.swt.widgets.Shell.windowProc(Shell.java:2038)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:4873 )
at org.eclipse.swt.internal.win32.OS.DefWindowProcW(Native Method)
at org.eclipse.swt.internal.win32.OS.DefWindowProc(OS.java:2454 )
at org.eclipse.swt.widgets.Shell.callWindowProc(Shell.java:497)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:4251 )
at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:341)
at org.eclipse.swt.widgets.Decorations.windowProc(Decorations.j ava:1598)
at org.eclipse.swt.widgets.Shell.windowProc(Shell.java:2038)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:4873 )
at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:24 59)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3655)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:2640)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2604)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:24 38)
at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671)
at org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:664)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start (IDEApplication.java:115)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:369)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 619)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574)
at org.eclipse.equinox.launcher.Main.run(Main.java:1407)
at org.eclipse.equinox.launcher.Main.main(Main.java:1383)
Caused by: java.lang.NullPointerException
at org.eclipse.sketch.chain.LevenshteinHandler.perform(Levensht einHandler.java:51)
at org.eclipse.sketch.chain.ConnectionHandler.perform(Connectio nHandler.java:91)
at org.eclipse.sketch.chain.GestureHandler.perform(GestureHandl er.java:35)
at org.eclipse.sketch.SketchRecognizer$1.run(SketchRecognizer.j ava:71)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:3 5)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr onizer.java:134)
... 74 more
------------------------------------------------------------
|
|
|
Re: (too) many crashes... [message #632418 is a reply to message #632276] |
Tue, 12 October 2010 20:03 |
|
On 12-10-2010 09:00, Michael Moser wrote:
> On Mon, 11 Oct 2010 16:10:44 -0200, Ugo Sangiorgi<ugo.sangiorgi@gmail.com> wrote:
>> Hello MIchael,
>> First, sorry for not putting those instructions on the site -- I was trying to figure out a more smooth building with Mariot Chauvin, before putting some definitive documentation.
>>
>> But since you have all the plugins there, you should have sketch core (which has the recognition engine) and the RCP application (shapes).
>>
>> You can just test it as a normal RCP app, if you open shapes.product inside org.eclipse.sketch.examples.shapes, you should be able to run it using 'Launch an eclipse application' link.
>>
>> Then you can create a shapes file and proceed as the video do.
>>
>> If you have any more questions, please ask.
>> I will be improving sketch quite a lot on the next months.
>
>
> I managed to get the Sketch version I checked out yesterday running, created a project and then a shapes file, but - alas - it's
> still VERY unstable. I never came to the point, where it actually starts recognising shapes (as seen in the video). After at most
> the second or third shape drawn I usually ran into an endless exception cycle with the below exception.
>
> The idea IMHO is brilliant, but I guess, I'll have to keep waiting and watching how things evolve!
>
> This was using a freshly updated Eclipse Helios.
>
> Cheers,
> Michael
>
>
> PS.: Most often I got the following Exception (often repeating, i.e. it kept "running away" with this exception):
> ------------------------------------------------------------
> ...
> org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.NullPointerException)
> at org.eclipse.swt.SWT.error(SWT.java:4083)
> at org.eclipse.swt.SWT.error(SWT.java:3998)
> at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr onizer.java:137)
> at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.jav a:4041)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3660)
> at org.eclipse.jface.operation.ModalContext$ModalContextThread. block(ModalContext.java:173)
> at org.eclipse.jface.operation.ModalContext.run(ModalContext.ja va:388)
> at org.eclipse.jface.dialogs.ProgressMonitorDialog.run(Progress MonitorDialog.java:507)
> at org.eclipse.ui.internal.progress.ProgressMonitorJobsDialog.r un(ProgressMonitorJobsDialog.java:275)
> at org.eclipse.ui.internal.ide.application.IDEWorkbenchAdvisor. disconnectFromWorkspace(IDEWorkbenchAdvisor.java:509)
> at org.eclipse.ui.internal.ide.application.IDEWorkbenchAdvisor. postShutdown(IDEWorkbenchAdvisor.java:342)
> at org.eclipse.ui.internal.Workbench.shutdown(Workbench.java:29 67)
> at org.eclipse.ui.internal.Workbench.busyClose(Workbench.java:1 115)
> at org.eclipse.ui.internal.Workbench.access$15(Workbench.java:1 032)
> at org.eclipse.ui.internal.Workbench$25.run(Workbench.java:1276 )
> at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:70)
> at org.eclipse.ui.internal.Workbench.close(Workbench.java:1274)
> at org.eclipse.ui.internal.Workbench.close(Workbench.java:1246)
> at org.eclipse.ui.internal.WorkbenchWindow.busyClose(WorkbenchW indow.java:731)
> at org.eclipse.ui.internal.WorkbenchWindow.access$0(WorkbenchWi ndow.java:710)
> at org.eclipse.ui.internal.WorkbenchWindow$5.run(WorkbenchWindo w.java:826)
> at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:70)
> at org.eclipse.ui.internal.WorkbenchWindow.close(WorkbenchWindo w.java:824)
> at org.eclipse.jface.window.Window.handleShellCloseEvent(Window .java:741)
> at org.eclipse.jface.window.Window$3.shellClosed(Window.java:68 7)
> at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListe ner.java:98)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :84)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1077)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1062)
> at org.eclipse.swt.widgets.Decorations.closeWidget(Decorations. java:308)
> at org.eclipse.swt.widgets.Decorations.WM_CLOSE(Decorations.jav a:1665)
> at org.eclipse.swt.widgets.Control.windowProc(Control.java:4162 )
> at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:341)
> at org.eclipse.swt.widgets.Decorations.windowProc(Decorations.j ava:1598)
> at org.eclipse.swt.widgets.Shell.windowProc(Shell.java:2038)
> at org.eclipse.swt.widgets.Display.windowProc(Display.java:4873 )
> at org.eclipse.swt.internal.win32.OS.DefWindowProcW(Native Method)
> at org.eclipse.swt.internal.win32.OS.DefWindowProc(OS.java:2454 )
> at org.eclipse.swt.widgets.Shell.callWindowProc(Shell.java:497)
> at org.eclipse.swt.widgets.Control.windowProc(Control.java:4251 )
> at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:341)
> at org.eclipse.swt.widgets.Decorations.windowProc(Decorations.j ava:1598)
> at org.eclipse.swt.widgets.Shell.windowProc(Shell.java:2038)
> at org.eclipse.swt.widgets.Display.windowProc(Display.java:4873 )
> at org.eclipse.swt.internal.win32.OS.DefWindowProcW(Native Method)
> at org.eclipse.swt.internal.win32.OS.DefWindowProc(OS.java:2454 )
> at org.eclipse.swt.widgets.Shell.callWindowProc(Shell.java:497)
> at org.eclipse.swt.widgets.Control.windowProc(Control.java:4251 )
> at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:341)
> at org.eclipse.swt.widgets.Decorations.windowProc(Decorations.j ava:1598)
> at org.eclipse.swt.widgets.Shell.windowProc(Shell.java:2038)
> at org.eclipse.swt.widgets.Display.windowProc(Display.java:4873 )
> at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
> at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:24 59)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3655)
> at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:2640)
> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2604)
> at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:24 38)
> at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671)
> at org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.java:332)
> at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:664)
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
> at org.eclipse.ui.internal.ide.application.IDEApplication.start (IDEApplication.java:115)
> at org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:196)
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:110)
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:79)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:369)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:179)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 619)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1407)
> at org.eclipse.equinox.launcher.Main.main(Main.java:1383)
> Caused by: java.lang.NullPointerException
> at org.eclipse.sketch.chain.LevenshteinHandler.perform(Levensht einHandler.java:51)
> at org.eclipse.sketch.chain.ConnectionHandler.perform(Connectio nHandler.java:91)
> at org.eclipse.sketch.chain.GestureHandler.perform(GestureHandl er.java:35)
> at org.eclipse.sketch.SketchRecognizer$1.run(SketchRecognizer.j ava:71)
> at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:3 5)
> at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr onizer.java:134)
> ... 74 more
>
> ------------------------------------------------------------
>
>
>
Thanks Michael,
It is very unstable, thats why we didnt made an official release yet. =/
Can you please check if sketches.xml is created at your runtime folder?
I will investigate this further, this is very important -- I had no idea it was that bad.
|
|
| |
Re: (too) many crashes... [message #634710 is a reply to message #634621] |
Fri, 22 October 2010 19:08 |
|
Hi Michael, the '40 .svg files with handdrawn shapes' sounds as expected,
although they must be cleaned up by the runtime when you leave.
I assume you are running a full Eclipse IDE on your target platform and not an RCP application, right?
Is the Control view being shown wither way?
If not, could you please file a couple bugs on sketch?
Thank you for the feedback :)
On 22-10-2010 09:45, Michael Moser wrote:
> On Tue, 12 Oct 2010 17:03:01 -0300, Ugo Sangiorgi<ugo.sangiorgi@gmail.com> wrote:
>>> ...
>>
>> Thanks Michael,
>> It is very unstable, thats why we didnt made an official release yet. =/
>>
>> Can you please check if sketches.xml is created at your runtime folder?
>> I will investigate this further, this is very important -- I had no idea it was that bad.
>>
>
> Hi Ugo and sorry, that I didn't check back earlier.
>
> Yes, that sketches.xml file was created (in C:\Users\mmo\Documents\eclipse\runtime-EclipseApplication):
> ----------------------------
> <?xml version="1.0" encoding="UTF-8" standalone="no"?>
> <!DOCTYPE properties SYSTEM "http://java.sun.com/dtd/properties.dtd">
> <properties>
> <comment>Generated by Eclipse Sketch - sketches made by mmo</comment>
> </properties>
> ----------------------------
>
> That directory also contained the project that I created (which only contained the .project file) and about 40 .svg files that
> contained misc. handdrawn rectangle shapes as I just verified.
>
> Cheers,
> Michael
|
|
|
Re: Re: (too) many crashes... [message #634880 is a reply to message #634710] |
Sun, 24 October 2010 19:58 |
Michael Moser Messages: 914 Registered: July 2009 |
Senior Member |
|
|
On Fri, 22 Oct 2010 16:08:09 -0300, Ugo Sangiorgi <ugo.sangiorgi@gmail.com> wrote:
>
>Hi Michael, the '40 .svg files with handdrawn shapes' sounds as expected,
>although they must be cleaned up by the runtime when you leave.
I guess it didn't get that far since I had to kill eclipse due to the endless ecxception loop.
>I assume you are running a full Eclipse IDE on your target platform and not an RCP application, right?
Right, a full eclipse helios (the J2EE variant, if I recall correct).
>Is the Control view being shown wither way?
yes, there is a control view.
>If not, could you please file a couple bugs on sketch?
>Thank you for the feedback :)
You are welcome! Looking forward to new versions of Sketch! Since I own a tablet PC (MotionComputing) it would be REALLY cool to be
able to sketch drawings with it as well!
Cheers,
Michael
|
|
|
Goto Forum:
Current Time: Thu Dec 12 01:45:41 GMT 2024
Powered by FUDForum. Page generated in 0.05735 seconds
|