Running WB 5.x plugin in WB 6 fails
Hello,
I've been away from my plugin I developed until 1-2 years ago. Some things have changed in WB 6 now (using 6.0.9).
I still have the plugin jpa_export_plugin_grt.py in my user's modules directory and it's still in the list in the UI under Tools -> Catalog -> Export JPA Annotated Classes...
However, when executing the script a dialog pops up saying:
Error during "Export JPA Annotated Classes..."
mforms: attempt to add a subview already contained somewhere
I see this is some kind of check from the mforms lib when a subview already has a parent, but since the code worked on previous WB versions (namely 5.1 and 5.2) I have to find out what it is.
How do I debug this?
I can't seem to achieve anything useful from the scripting shell >>> prompt.
Using
execfile('C:\\Users\\MYSELF\\AppData\\Roaming\\MySQL\\Workbench\\modules\\jpa_export_plugin_grt.py')
just does absolutely nothing.
I also removed the code that actually shows up the options UI, but this doesn't seem to have any effect?
What's wrong? It seems like the code gets/got cached somewhere.
Karsten
Subject
Views
Written By
Posted
Running WB 5.x plugin in WB 6 fails
1180
March 18, 2014 08:14PM
594
March 21, 2014 09:38AM
573
April 01, 2014 07:29AM
442
April 10, 2014 09:44AM
439
April 10, 2014 02:20AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.