You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using AxmlParserPY encounters: exceptions must be old-style classes or derived from BaseException, not str
I tested on python2.7 or python3.5.
I think the error is caused by this statement: raise("ooo")?
The text was updated successfully, but these errors were encountered:
File "/usr/local/lib/python2.7/dist-packages/axmlparserpy/apk.py", line 71, in init
self.xml[i] = minidom.parseString(AXMLPrinter(self.zip.read(i)).getBuff())
File "/usr/local/lib/python2.7/dist-packages/axmlparserpy/axmlprinter.py", line 37, in init
_type = self.axml.next()
File "/usr/local/lib/python2.7/dist-packages/axmlparserpy/axmlparser.py", line 59, in next
self.doNext()
File "/usr/local/lib/python2.7/dist-packages/axmlparserpy/axmlparser.py", line 99, in doNext
raise("ooo")
TypeError: exceptions must be old-style classes or derived from BaseException, not str
Using AxmlParserPY encounters:
exceptions must be old-style classes or derived from BaseException, not str
I tested on python2.7 or python3.5.
I think the error is caused by this statement:
raise("ooo")
?The text was updated successfully, but these errors were encountered: