Links may not function; however, this content may be relevant to outdated versions of the product.
Troubleshooting: pyCommitError on Create, Copy (Save As), or Import of a circumstanced rule
When you try to save some circumstanced rules, you get the pyCommitError. You see the error in any of the following situations:
- Creating a new circumstance rule
- Performing a Save As of an existing rule
- Attempting to import a circumstance rule
Successful creation of circumstance rules depends on the PXINSNAME column of the pr_index_circumstance_def database table having an adequate width for internal tracking of the rules.
A column width of 128 characters or less is inadequate. Increase the PXINSNAME column width to 255 characters or more.
2014-06-18 21:45:16,137 [http-apr-8080-exec-7] [Developer] [pegasupport:01.01.01] (Accel_Optimization_Work.Action) FATAL localhost|127.0.0.1 pegasupport - .pyCommitError: ** A commit cannot be performed because a deferred save of instance
INDEX-CIRCUMSTANCEDEFINITION RULE-HTML-SECTION PEGASAMPLE EXACTLYAHUNDREDCHARACTERSEXACTLYAHUNDREDCHARACTER
#20140619T014515.885 GMT!1!CDEF failed: code: <none> SQLState: <none> Message: <none>
For the database table pr_index_circumstance_def, if the PXINSNAME column width is 128 characters or less, you experience this issue. The following screens illustrate one of the scenarios that triggers the error.
If the width of the PXINSNAME column in the pr_index_circumstance_def table is 128 characters or less, increase the column width to 255 characters.
Circumstances and other rule qualifiers
Circumstances — Concepts and terms
Working with the PegaRULES database Index tables