BLOG     |     FORUM

Forum Login

Login is optional - if you want to be notified about responses via email. You can also simply ask a question without logging in.



Just ask your question

No signup required

There is no need to sign up or register to ask a question in the forums.

Just ask your question.

You need to signup if you wish to be notified of answers to your question by email.

Other links

Other ways to reach us

Follow us on Twitter

Follow on twitter

Send us an email

mail us

Welcome, Guest
Please Login or Register.    Lost Password?

Error when running iax2ana.rb
(1 viewing) (1) Guest
All your questions answered real quick by Unleash Networks Engineers.
Go to bottom
Post Reply
Post New Topic
Page: 12
TOPIC: Error when running iax2ana.rb
#57
Error when running iax2ana.rb 5 Years, 5 Months ago Karma: 0
Hello Unleash,

I am having trouble running your iax2ana script, it is reporting the following error when I execute it with a captured trace from the unsniff application:

U:/phone trace/iax2ana.rb:385:in `method_missing': OpenForRead (WIN32OLERuntimeError)
OLE error code:80004005 in Unsniff.Database.1
Open Database: Invalid Database File
HRESULT error code:0x80020009
Exception occurred. from U:/phone trace/iax2ana.rb:385:in `extract_calls'
from U:/phone trace/iax2ana.rb:1544

Any help to get this working would be appreciated.

For reference my ruby version is ruby 1.8.4 (2006-04-14) [i386-mswin32].

Thanks.

Ian Hailey.
Enter code here   
Please note: although no board code and smiley buttons are shown, they are still usable.
Reply Quote
 
#58
Re:Error when running iax2ana.rb 5 Years, 5 Months ago Karma: 0
OK I found another post (with a non obvious title) that fixes my problem. I have replaced all occurances of OpenForRead in iax2ana.rb for Open. You must shut down unsiff before this has any effect.<br><br>Post edited by: ihailey, at: 2006/09/07 11:28
Enter code here   
Please note: although no board code and smiley buttons are shown, they are still usable.
Reply Quote
 
#59
Re:Error when running iax2ana.rb 5 Years, 5 Months ago Karma: 0
Ian,


OpenForRead(..) opens the capture file in read only mode. When you substitute OpenForRead() with Open(..), it will fail if Unsniff already has the same capture file open in the GUI.


Let us know if you have any more problems or suggestions via this forum.

Best Regards,
Vivek Rajan
Unleash Networks
Enter code here   
Please note: although no board code and smiley buttons are shown, they are still usable.
Reply Quote
 
#135
Re:Error when running iax2ana.rb 4 Years, 8 Months ago Karma: 0
Hi,

I'm having the same problem as Ian:

G:\Software\voip&gt;iax2ana.rb Untitled1.usnf
G:0:Warning: require_gem is obsolete. Use gem instead.
G:/Software/voip/iax2ana.rb:385:in `method_missing': OpenForRead (WIN32OLERunti
meError)
OLE error code:80004005 in Unsniff.Database.1
Open Database: Invalid Database File
HRESULT error code:0x80020009
Exception occurred. from G:/Software/voip/iax2ana.rb:385:in `extrac
t_calls'
from G:/Software/voip/iax2ana.rb:1544


Unsniff isn't running.
Enter code here   
Please note: although no board code and smiley buttons are shown, they are still usable.
Reply Quote
 
#136
Re:Error when running iax2ana.rb 4 Years, 8 Months ago Karma: 0
Hi Adrian,

Does the file &quot;Untitled1.usnf&quot; load in Unsniff ? Eg, double click the file in explorer or load in via &quot;File-&gt;Open&quot;.

Is the file in the same directory, can you try using the full path name ?

If it still does not work, please let me know via this forum. We will try to investigate asap.

Best Regards,
Vivek Rajan
Unleash Networks
Enter code here   
Please note: although no board code and smiley buttons are shown, they are still usable.
Reply Quote
 
#137
Re:Error when running iax2ana.rb 4 Years, 8 Months ago Karma: 0
The data was originally from tcpdump, imported into unsniff, then tried to run the script.
Enter code here   
Please note: although no board code and smiley buttons are shown, they are still usable.
Reply Quote
 
Go to top
Post Reply
Post New Topic
Page: 12