jipegit / OSXAuditor

OS X Auditor is a free Mac OS X computer forensics tool
Other
3.13k stars 280 forks source link

TypeError: cannot concatenate 'str' and 'OC_PythonLong' objects #35

Closed ccorcos closed 9 years ago

ccorcos commented 10 years ago

[INFO] Email accounts Traceback (most recent call last): File "osxauditor.py", line 1705, in <module> Main() File "osxauditor.py", line 1675, in Main ParseUsersAccounts() File "osxauditor.py", line 1188, in ParseUsersAccounts ParseMailAppAccount(MailAccountPlistPath) File "osxauditor.py", line 1009, in ParseMailAppAccount if "PortNumber" in MailAccount: MAccountPref += "(" + MailAccount["PortNumber"] + ") - " TypeError: cannot concatenate 'str' and 'OC_PythonLong' objects

Dang. This program has been running for 2 hours, then I get this error. :/

I've had three errors so far trying to run this script -- it seems that some try-except blocks would be a great way to make this code more robust to errors like this...

sts commented 9 years ago

+1

zx8 commented 9 years ago

+1

nafarkash commented 9 years ago

any solution for this problem?

jsgv commented 9 years ago

+1 having same issue. any updates?

jipegit commented 9 years ago

Fixed, thanks.