Developers

RCapture.py "-2147352567 Exception occurred"

A place for developers to exchange information about extending OmniPeek, and ask technical questions about plugins on MyPeek, scripting, and programming.
packet-rat
Posts: 6
Joined: Sun Mar 09, 2014 7:24 pm

RCapture.py "-2147352567 Exception occurred"

Postby packet-rat » Sun Mar 09, 2014 8:02 pm

When attempting to return lists via "-s" "-2147352567 Exception occurred." (summary, flow, protocol). Node returns header but no objects. Functions like -l, -g, -y work as expected.

> RCapture.py -e <x.x.x.x> -u <redact> -w <redact> -n "Capture1" -s summary
Failed to get Summary Stats: -2147352567 Exception occurred.

Latest versions of OmniEngine/ OmniScript. Not sure how to troubleshoot these error codes.

packet-rat
Posts: 6
Joined: Sun Mar 09, 2014 7:24 pm

Re: RCapture.py "-2147352567 Exception occurred"

Postby packet-rat » Sun Mar 09, 2014 9:49 pm

So I parsed out the errors a bit more which really didn't give me a clue as to where to look:

{'excepinfo': (0, None, None, None, 0, -2147467259), 'hresult': -2147352567, 'strerror': 'Exception occurred.', 'argerror': None}
(-2147352567, 'Exception occurred.', (0, None, None, None, 0, -2147467259), None)
Could not get protocol list: -2147352567 Exception occurred.

DJWP
Posts: 668
Joined: Tue Oct 30, 2007 11:42 am

Re: RCapture.py "-2147352567 Exception occurred"

Postby DJWP » Mon Mar 10, 2014 7:58 am

Hello-

Please post this in the developer's Forum where our engineering team can have a look.

Thanks.

packet-rat
Posts: 6
Joined: Sun Mar 09, 2014 7:24 pm

Re: RCapture.py "-2147352567 Exception occurred"

Postby packet-rat » Mon Mar 10, 2014 9:12 am

@DJWP: Thanks for the response...

re: "Please post this in the developer's Forum where our engineering team can have a look."

...Is there another Developers Forum besides this one ("Board index ‹ WildPackets Support ‹ Developers")? If so, please point me in the right direction.

DJWP
Posts: 668
Joined: Tue Oct 30, 2007 11:42 am

Re: RCapture.py "-2147352567 Exception occurred"

Postby DJWP » Mon Mar 10, 2014 3:20 pm

Hi, Patrick-

It looks like our Support Manager has put Chris Bloom in touch with you to help with your Python scripting.

packet-rat
Posts: 6
Joined: Sun Mar 09, 2014 7:24 pm

Re: RCapture.py "-2147352567 Exception occurred"

Postby packet-rat » Tue Mar 11, 2014 3:54 am

Thanks DJWP. Chris is in touch and we're working the issue. He provided a new version of OmniScript which fixed Nodes and Summary stats. Flow and protocol still fail with same errors. I'll post any significant findings.

packet-rat
Posts: 6
Joined: Sun Mar 09, 2014 7:24 pm

Re: RCapture.py "-2147352567 Exception occurred"

Postby packet-rat » Tue Mar 11, 2014 5:18 am

Although I'm no closer to figuring out the root cause of the COM errors, the following post and references were quite useful:

http://stackoverflow.com/questions/5217 ... in-pywin32

DJWP
Posts: 668
Joined: Tue Oct 30, 2007 11:42 am

Re: RCapture.py "-2147352567 Exception occurred"

Postby DJWP » Tue Mar 11, 2014 8:36 am

OK, thank you for the update.

packet-rat
Posts: 6
Joined: Sun Mar 09, 2014 7:24 pm

Re: RCapture.py "-2147352567 Exception occurred"

Postby packet-rat » Sun Mar 30, 2014 4:18 am

No resolution this issue - any suggestions on a strategy for root cause determination/remediation?


Return to “Developers”

Who is online

Users browsing this forum: No registered users and 1 guest