<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>CMS Snapshot Analysis - Run Analyzer - Missing objects - Python with extension on Documentation - V2</title><link>https://doc.castsoftware.com/export-v2/tg/technical-guides/technical-guides-by-cast-aip-component/cms-snapshot-analysis-component/cms-snapshot-analysis-run-analyzer/cms-snapshot-analysis-run-analyzer-missing-objects/cms-snapshot-analysis-run-analyzer-missing-objects-python-with-extension/</link><description>Recent content in CMS Snapshot Analysis - Run Analyzer - Missing objects - Python with extension on Documentation - V2</description><generator>Hugo</generator><language>en</language><atom:link href="https://doc.castsoftware.com/export-v2/tg/technical-guides/technical-guides-by-cast-aip-component/cms-snapshot-analysis-component/cms-snapshot-analysis-run-analyzer/cms-snapshot-analysis-run-analyzer-missing-objects/cms-snapshot-analysis-run-analyzer-missing-objects-python-with-extension/index.xml" rel="self" type="application/rss+xml"/><item><title>CMS Snapshot Analysis - Run Analyzer - Missing objects - Python with extension - Python Analyzer</title><link>https://doc.castsoftware.com/export-v2/tg/technical-guides/technical-guides-by-cast-aip-component/cms-snapshot-analysis-component/cms-snapshot-analysis-run-analyzer/cms-snapshot-analysis-run-analyzer-missing-objects/cms-snapshot-analysis-run-analyzer-missing-objects-python-with-extension/cms-snapshot-analysis-run-analyzer-missing-objects-python-with-extension-python-analyzer/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://doc.castsoftware.com/export-v2/tg/technical-guides/technical-guides-by-cast-aip-component/cms-snapshot-analysis-component/cms-snapshot-analysis-run-analyzer/cms-snapshot-analysis-run-analyzer-missing-objects/cms-snapshot-analysis-run-analyzer-missing-objects-python-with-extension/cms-snapshot-analysis-run-analyzer-missing-objects-python-with-extension-python-analyzer/</guid><description>&lt;p&gt;&lt;strong&gt;*Purpose&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;This page handles the issue of missing objects after analyzing Python applications using Python analyzer.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;*Observed in CAST AIP&lt;/strong&gt;&lt;/p&gt;
&lt;table&gt;
 &lt;thead&gt;
 &lt;tr&gt;
 &lt;th&gt;Release&lt;/th&gt;
 &lt;th&gt;Yes/No&lt;/th&gt;
 &lt;/tr&gt;
 &lt;/thead&gt;
 &lt;tbody&gt;
 &lt;tr&gt;
 &lt;td&gt;8.3.x&lt;/td&gt;
 &lt;td&gt;&lt;em&gt;&amp;#x2705;&lt;/em&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&lt;strong&gt;*Observed on RDBMS&lt;/strong&gt;&lt;/p&gt;
&lt;table&gt;
 &lt;thead&gt;
 &lt;tr&gt;
 &lt;th&gt;RDBMS&lt;/th&gt;
 &lt;th&gt;Yes/No&lt;/th&gt;
 &lt;/tr&gt;
 &lt;/thead&gt;
 &lt;tbody&gt;
 &lt;tr&gt;
 &lt;td&gt;CSS2&lt;/td&gt;
 &lt;td&gt;&lt;em&gt;&amp;#x2705;&lt;/em&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;CSS3&lt;/td&gt;
 &lt;td&gt;&lt;em&gt;&amp;#x2705;&lt;/em&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&lt;strong&gt;Action Plan&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Perform the below actions&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Check if the source files for the missing objects are present in the deploy folder.&lt;/li&gt;
&lt;li&gt;If files are present check the analysis log for any warnings in the analysis log corresponding to source code file
&lt;ol&gt;
&lt;li&gt;If you find a warning like below example:&lt;br&gt;
&lt;strong&gt;com.castsoftware.python] Light parsing of file C:\CAST\Deploy\VAL\Source\applications\reportApp\views.py&lt;/strong&gt;&lt;br&gt;
&lt;strong&gt;Information    MODULMSG ; Job execution    [com.castsoftware.python] File seems to have an incorrect indentation, skipping&lt;/strong&gt;&lt;br&gt;
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:
&lt;ol&gt;
&lt;li&gt;Open command line from &lt;CAST AIP installation path&gt;\ThirdParty\Python34 and run the python file. It should give following error&lt;br&gt;
&lt;img src="https://doc-data.castsoftware.com/TG/attachments/566533870/566533869.png" alt=""&gt;&lt;/li&gt;
&lt;li&gt;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.&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;li&gt;For any other warning please refer to &lt;a href="https://doc.castsoftware.com/export-v2/tg/technical-guides/technical-guides-by-cast-aip-component/cms-snapshot-analysis-component/cms-snapshot-analysis-run-analyzer/cms-snapshot-analysis-run-analyzer-warnings/"&gt;CMS Snapshot Analysis - Run Analyzer - Warnings&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;li&gt;If above action plan does not solve the issue, report your problem to &lt;a href="https://help.castsoftware.com/hc/en-us/requests/new"&gt;CAST Technical Support&lt;/a&gt; with the below &lt;a href="#CMSSnapshotAnalysisRunAnalyzerMissingobjectsPythonwithextensionPythonAnalyzer-Relevantinput"&gt;Relevant input&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;h4 id="relevant-input"&gt;Relevant input&lt;/h4&gt;
&lt;ul&gt;
&lt;li&gt;Sherlock export with the following options: &lt;strong&gt;Export Logs, Export Configuration files, Export CAST Bases (Management Base and Knowledge Base), source code&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;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:
&lt;ul&gt;
&lt;li&gt;&lt;a href="https://doc.castsoftware.com/export-v2/tg/information-guides/information-guides-by-cast-aip-component/cms-snapshot-analysis/cms-snapshot-analysis-run-analyzer-information-amt-saving-debug-mode-how-to-get-the-in-tables-from-the-end-user/"&gt;Activate the IN Tables&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Run the Analysis.&lt;/li&gt;
&lt;li&gt;Take Sherlock with the above-mentioned options&lt;/li&gt;
&lt;li&gt;&lt;a href="https://doc.castsoftware.com/export-v2/tg/information-guides/information-guides-by-cast-aip-component/cms-snapshot-analysis/cms-snapshot-analysis-run-analyzer-information-amt-saving-debug-mode-how-to-get-the-in-tables-from-the-end-user/"&gt;Deactivate the IN Tables&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;Notes/comments&lt;/strong&gt;&lt;/p&gt;</description></item></channel></rss>