PyUml not working

  • conor fitzgerald

    I am currently having a problem with PyUml
    When i click on click the first of the four buttons(To start modeling) nothing happens
    If i right click on the project and select "create/Synchroniz UML model" the chosen operation is not currently available

    In the log file the following error appears when i click on the first button

    !ENTRY org.eclipse.ui 4 4 2008-05-07 11:53:57.881
    !MESSAGE Failed to execute item pyuml.toolbars.synchronizeModel

    !ENTRY org.eclipse.ui 4 4 2008-05-07 11:53:57.881
    !MESSAGE Failed to execute item pyuml.toolbars.synchronizeModel
    !STACK 0
    org.eclipse.core.commands.NotHandledException: There is no handler to execute for command pyUml.syncModelCommand
        at org.eclipse.core.commands.Command.executeWithChecks(
        at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(
        at org.eclipse.ui.internal.handlers.HandlerService.executeCommand(
        at org.eclipse.ui.internal.handlers.SlaveHandlerService.executeCommand(
        at org.eclipse.ui.menus.CommandContributionItem.handleWidgetSelection(
        at org.eclipse.ui.menus.CommandContributionItem.access$8(
        at org.eclipse.ui.menus.CommandContributionItem$3.handleEvent(
        at org.eclipse.swt.widgets.EventTable.sendEvent(
        at org.eclipse.swt.widgets.Widget.sendEvent(
        at org.eclipse.swt.widgets.Display.runDeferredEvents(
        at org.eclipse.swt.widgets.Display.readAndDispatch(
        at org.eclipse.ui.internal.Workbench.runEventLoop(
        at org.eclipse.ui.internal.Workbench.runUI(
        at org.eclipse.ui.internal.Workbench.access$4(
        at org.eclipse.ui.internal.Workbench$
        at org.eclipse.core.databinding.observable.Realm.runWithDefault(
        at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(
        at org.eclipse.ui.PlatformUI.createAndRunWorkbench(
        at org.eclipse.ui.internal.ide.application.IDEApplication.start(
        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(
        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at org.eclipse.equinox.launcher.Main.invokeFramework(
        at org.eclipse.equinox.launcher.Main.basicRun(

    ****I followed the steps when installing*****
    *Got Eclipse for Java Developers (Version 3.3.1 or higher)
    *Download eclipse-pyuml-complete (
    *Unpack the downloaded zip and copy the contents of plugins and features to the plugins/features folder in the Eclipse installation
    *Configure PyDev (choose Python executable in Window->Preferences->PyDev->Interpreter (Python) - I set this to my python executables(C:\Python24\python.exe and pythonw.exe)

    *Add some of my python code to the src directory of the project i created
    *Tried to createUML diagrams
    *Updated all plugins to check if this would fix the issue

    Any help would be gratefully recieved - I have been looking for a good tool for python for UML creation for sometime and I hope that this tool is the correct solution


    • Martin Dittmar

      Martin Dittmar - 2008-05-10

      unfortunately I could not reproduce the problem. For me the plugins works fine with Eclipse 3.3.1 and 3.3.2.

      The NotHandledException is normally thrown when there is no Handler, that means no Connection between a command (executed e.g. by pressing a button) and the java class where is defined what eclipse should do.
      Of course there is a handler defined, so this error is very strange...

      On there were also people having this problem... Seems is has something to do with executing a command while a dialog is open??

      They say it might help to use Eclipse 3.4 - it is not yet finished, but there is a Milestone version. But I don't know if pyUML works with Eclipse 3.4...

      Sorry that I cannot give you quick help... One thing you can try is to use Eclipse 3.3.1 instead of 3.3.2 (can be downloaded on\)
      Also try to re-download the PyUML-Plugin.

      Greetings, Martin

    • conor fitzgerald

      Thanks for the suggestions

      I tried Eclipse 3.3.1 and PyUml but this did not work
      If i develop a solution to this problem,i will share it here



Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks