*Purpose
This page handles the issue of missing objects after analyzing Python applications using Python analyzer.
*Observed in CAST AIP
Release | Yes/No |
---|---|
8.3.x |
*Observed on RDBMS
RDBMS | Yes/No |
---|---|
CSS2 | |
CSS3 |
Action Plan
Perform the below actions
- Check if the source files for the missing objects are present in the deploy folder.
- If files are present check the analysis log for any warnings in the analysis log corresponding to source code file
- If you find a warning like below example:
com.castsoftware.python] Light parsing of file C:\CAST\Deploy\VAL\Source\applications\reportApp\views.py
Information MODULMSG ; Job execution [com.castsoftware.python] File seems to have an incorrect indentation, skipping
From the above warning, the file seems to have skipped due to incorrect indentation in the python file, you can test the same at your side:- Open command line from <CAST AIP installation path>\ThirdParty\Python34 and run the python file. It should give following error
- From the above it looks like there is an issue in line no. 40 and hence has to be corrected before running the analysis, either you can properly intend it or ask application team to provide you correct python file.
- Open command line from <CAST AIP installation path>\ThirdParty\Python34 and run the python file. It should give following error
- For any other warning please refer to CMS Snapshot Analysis - Run Analyzer - Warnings
- If you find a warning like below example:
If above action plan does not solve the issue, report your problem to CAST Technical Support with the below Relevant input
Relevant input
- Sherlock export with the following options: Export Logs, Export Configuration files, Export CAST Bases (Management Base and Knowledge Base), source code
- In some cases, unless asked by support, the IN tables are also needed to investigate the missing object issue. Support will provide specific instructions to execute the following process when this is needed:
- Activate the IN Tables
- Run the Analysis.
- Take Sherlock with the above-mentioned options
- Deactivate the IN Tables
Notes/comments
Related Pages