|
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.
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
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>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.
|
|
|
|
|
|
|
Re:Error when running iax2ana.rb 4 Years, 8 Months ago
|
Karma: 0
|
|
Hi Adrian,
Does the file "Untitled1.usnf" load in Unsniff ? Eg, double click the file in explorer or load in via "File->Open".
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
|
|
|
|
|
|
|
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.
|
|
|
|
|
|
|