cureHsu / droidbox

Automatically exported from code.google.com/p/droidbox
0 stars 0 forks source link

Running error on droidbox.py #11

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

1. Start the emulator with ./startemu.sh Android21 
2. Start analyzing samples: ./droidbox.sh file.apk

What is the expected output? What do you see instead?

I expect to see the DroidBox logo and the dynamic output of the app but instead 
I see the traceback of an error in droidbox.py file. 

android@honeynet:~/tools/DroidBox$ ./droidbox.sh file.apk
/home/android/tools/DroidBox/scripts/utils.py:324: DeprecationWarning: 'B' 
format requires 0 <= number <= 255
  return self.sb.getRaw( valueString )
Traceback (most recent call last):
  File "scripts/droidbox.py", line 214, in <module>
    xml[i] = minidom.parseString( AXMLPrinter( zip.read( i ) ).getBuff() )
  File "/usr/lib/python2.6/xml/dom/minidom.py", line 1928, in parseString
    return expatbuilder.parseString(string)
  File "/usr/lib/python2.6/xml/dom/expatbuilder.py", line 940, in parseString
    return builder.parseString(string)
  File "/usr/lib/python2.6/xml/dom/expatbuilder.py", line 223, in parseString
    parser.Parse(string, True)
xml.parsers.expat.ExpatError: not well-formed (invalid token): line 31, column 
15

What version of the product are you using? On what operating system?

I am using the DroidBox RC from Oct 13 on Ubuntu 10.04

Please provide any additional information below.
Thanks a lot.

Original issue reported on code.google.com by hgas...@gmail.com on 9 Nov 2011 at 4:11

GoogleCodeExporter commented 8 years ago
Try with other sample, i got a similar error with a corrupt apk and droidbox 
crash too...

Original comment by ferr...@gmail.com on 22 Feb 2012 at 8:14

GoogleCodeExporter commented 8 years ago

Original comment by lantz.pa...@gmail.com on 10 Mar 2012 at 3:10

GoogleCodeExporter commented 8 years ago
how to fix?

Original comment by andi.fit...@gmail.com on 20 Aug 2014 at 8:06