-
Notifications
You must be signed in to change notification settings - Fork 47
Closed
Labels
BlockerPrevents a different issue from being resolvedPrevents a different issue from being resolvedDefectBug or undesirable behaviourBug or undesirable behaviour
Milestone
Description
The (simple) New Plugin Model editor creates .py/.pyc files in the /plugin_models folder - and possibly populates the namespace? - even if compilation of the model fails (eg, because of a syntax error). If you correct the error and click 'Apply' again you then get a new error telling you that the model exists!
The irritating workarounds are either to give the model a new name which, if you have a succession of compilation errors will populate the plugins folder with junk files, or to go in to the plugins folder and manually delete the junk files (which carries other risks).
If compilation/testing fails the plugins folder should be cleaned out.
Migrated from http://trac.sasview.org/ticket/762
{
"status": "closed",
"changetime": "2016-10-11T15:55:40",
"_ts": "2016-10-11 15:55:40.821345+00:00",
"description": "The (simple) New Plugin Model editor creates .py/.pyc files in the /plugin_models folder - and possibly populates the namespace? - even if compilation of the model fails (eg, because of a syntax error). If you correct the error and click 'Apply' again you then get a new error telling you that the model exists!\n\nThe irritating workarounds are either to give the model a new name which, if you have a succession of compilation errors will populate the plugins folder with junk files, or to go in to the plugins folder and manually delete the junk files (which carries other risks).\n\nIf compilation/testing fails the plugins folder should be cleaned out.",
"reporter": "smk78",
"cc": "",
"resolution": "fixed",
"workpackage": "SasView Bug Fixing",
"time": "2016-10-10T20:02:18",
"component": "SasView",
"summary": "(Simple) New Plugin Model editor creates files even if it doesn't compile/pass testing",
"priority": "blocker",
"keywords": "",
"milestone": "SasView 4.1.0",
"owner": "smk78",
"type": "defect"
}Metadata
Metadata
Assignees
Labels
BlockerPrevents a different issue from being resolvedPrevents a different issue from being resolvedDefectBug or undesirable behaviourBug or undesirable behaviour