CiscoTestAutomation / pyats

Cisco DevNet pyATS Test Framework Bug Tracker
Apache License 2.0
152 stars 32 forks source link

AttributeError: 'ProcessorDecorator' object has no attribute 'source' #205

Closed jtirodka closed 1 year ago

jtirodka commented 1 year ago

Hi I am trying to run pyats automation and facing this error

2023-02-28T16:39:41: %AETEST-INFO: +------------------------------------------------------------------------------+ 2023-02-28T16:39:41: %AETEST-INFO: | Starting common setup | 2023-02-28T16:39:41: %AETEST-INFO: +------------------------------------------------------------------------------+ Caught an exception while executing common setup: Traceback (most recent call last): File "/ws/jtirodka-sjc/pyats_new/lib/python3.6/site-packages/pyats/aetest/discovery.py", line 346, in iter for section in self.discover(): File "/ws/jtirodka-sjc/pyats_new/lib/python3.6/site-packages/pyats/aetest/discovery.py", line 421, in discover return self.order(*subsections) File "/ws/jtirodka-sjc/pyats_new/lib/python3.6/site-packages/pyats/aetest/discovery.py", line 424, in order return sorted(subsections, key = lambda section: section.source) File "/ws/jtirodka-sjc/pyats_new/lib/python3.6/site-packages/pyats/aetest/discovery.py", line 424, in return sorted(subsections, key = lambda section: section.source) AttributeError: 'ProcessorDecorator' object has no attribute 'source'

Here are my pyats package details from env : (pyats_alt2) bash-4.2$ pip3 freeze | grep ats ats==20.7 ats.aereport==20.7 ats.aetest==20.7 ats.async==20.7 ats.cisco==20.7.1 ats.connections==20.7 ats.datastructures==20.7 ats.easypy==20.7 ats.kleenex==20.7 ats.log==20.7 ats.reporter==20.7 ats.results==20.7 ats.robot==20.7 ats.tcl==20.7 ats.topology==20.7 ats.utils==20.7 pyats.contrib==20.7

kameswararaot commented 1 year ago

Hi jtirodka, Please let me know you are looking for the support for this issue?

Please make sure to add the logs / pyats version / package list.

kameswararaot commented 1 year ago

Hi jtirodka, if you are looking for support, Please make sure to add the logs / pyats version / package list.

kameswararaot commented 1 year ago

Hi jtirodka, if you are looking for support, Please make sure to add the logs / pyats version / package list.

jtirodka commented 1 year ago

Hi,

I did a reinstall of the full pyats version and that resolved the issue for me.

Thanks, Janhavi

On Thu, Apr 13, 2023 at 8:40 PM kameswararaot @.***> wrote:

Hi jtirodka, if you are looking for support, Please make sure to add the logs / pyats version / package list.

— Reply to this email directly, view it on GitHub https://github.com/CiscoTestAutomation/pyats/issues/205#issuecomment-1507882814, or unsubscribe https://github.com/notifications/unsubscribe-auth/AI26WV7ILUJQHLT4V64KNF3XBDBKVANCNFSM6AAAAAAVLM76II . You are receiving this because you authored the thread.Message ID: @.***>

kameswararaot commented 1 year ago

Hi Janhavi,

Thanks for the update.