question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

dll load failed 1 is not a valid win32 application

See original GitHub issue

When opening a new issue, please fill out the following sections:

Expected behavior

!mona modules should be running

Actual behavior

Error dll load failed 1 is not a valid win32 application

Steps to reproduce the problem

1, Donwload mona 2, Copy it to pycommands of ID 3, run !mona modules 4, Got error: dll load failed 1 is not a valid win32 application

Other useful information (mona version, debugger & debugger version, OS version, etc)

Mona: Newest version ID: v1.85 OS: Windows 10 (64 bits)

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
Nihlandercommented, Aug 1, 2019

I’ve just encountered this error as well…

Environment

Operating System: Windows 7 Pro SP1 (64-bit) Immunity Debugger: v1.85 (32-bit) Python: 2.7.16 (v2.7.16:413a49145e, Mar 4 2019, 01:37:19) [MSC v.1500 64 bit (AMD64)] on win32

Details

Immunity Debugger is running as admin. Mona.py extracted from download of zip archive of mona repo. Applied unblock in properties of mona.py (Unsure if this has actually done anything though, button is still there.)

Checking the PyCommands directory after running Immunity Debugger and attempting to execute mona, there is a new mona.pyc file which has been created.

Screenshot

Any attempt to execute mona from within Immunity Debugger produces this error…

image

Resolution

Installing Python 32-bit appears to resolve this isssue.

Replaced the Python version above with: Python 2.7.16 (v2.7.16:413a49145e, Mar 4 2019, 01:30:55) [MSC v.1500 32 bit (Intel)] on win32

1reaction
corelanc0d3rcommented, Aug 1, 2019

That is correct. Immunity is 32bit and requires 32bit python. Thanks for confirming

Read more comments on GitHub >

github_iconTop Results From Across the Web

DLL load failed: %1 is not a valid Win32 application. But the ...
The solution at Error "ImportError: DLL load failed: %1 is not a valid Win32 application" says to add "the new opencv binaries path...
Read more >
ImportError: DLL load failed: %1 is not a valid Win32 application
When attempting to import ArcPy into ArcGIS Pro, the import statement returns the following error message: Error: ImportError: DLL load failed: ...
Read more >
ImportError: DLL load failed: %1 is not a valid Win32 ... - GitHub
Hello, not sure if this is the right platform to address this issue. However, I am on a windows 10 64-bit system.
Read more >
How to solve python package error DLL load failed: %1 is not ...
I'm using the django framework in Visual Studio 2015 with python 2.7 and i'm trying to import an opencv file called cv2, ...
Read more >
ImportError: DLL load failed: %1 is not a valid Win32 application
I upgraded my sdk version from 2.5 to 3.2 using below command in Anaconda Prompt python -m pip install couchbase==3.2 --upgrade installation ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found