rmusser01 / pefile

Automatically exported from code.google.com/p/pefile
Other
0 stars 1 forks source link

AttributeError: 'NoneType' object has no attribute 'AddressOfData' #52

Open GoogleCodeExporter opened 9 years ago

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

import pefile
pe = pefile.PE("cmiadapter.dll", fast_load=False)

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

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "build\bdist.win32\egg\pefile.py", line 1754, in __init__
  File "build\bdist.win32\egg\pefile.py", line 2086, in __parse__
  File "build\bdist.win32\egg\pefile.py", line 2456, in parse_data_directories
  File "build\bdist.win32\egg\pefile.py", line 3683, in parse_import_directory
  File "build\bdist.win32\egg\pefile.py", line 3747, in parse_imports
  File "build\bdist.win32\egg\pefile.py", line 3930, in get_import_table
AttributeError: 'NoneType' object has no attribute 'AddressOfData'

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

pefile-1.2.10_139-py2.7.egg on Windows 7

Please provide any additional information below.

Original issue reported on code.google.com by DMAl...@gmail.com on 19 Sep 2014 at 5:55

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by ero.carr...@gmail.com on 27 Oct 2014 at 3:34