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.

OSX only crash: no suitable image found.

See original GitHub issue

======== TEMPLATE BUG FORM ========

NWJS Version : 3.5.4 Operating System : OSX 10.13.4

Expected behavior

See the NWJS window after start.

Actual behavior

NWJS complains: no suitable image found / file too short. There is never a window.

======== Running on http://0.0.0.0:9999 ========
(Press CTRL+C to quit)
runtime process (0x1142427f0) stopped (-6), stdout:
dlopen /Users/lucas/Library/Application Support/webruntime/temp_apps/nw_1526472028_1~20020/pywebpoc-ui.app/Contents/MacOS/../Versions/66.0.3359.170/nwjs Framework.framework/nwjs Framework: dlopen(/Users/lucas/Library/Application Support/webruntime/temp_apps/nw_1526472028_1~20020/pywebpoc-ui.app/Contents/MacOS/../Versions/66.0.3359.170/nwjs Framework.framework/nwjs Framework, 257): no suitable image found.  Did find:
	/Users/lucas/Library/Application Support/webruntime/temp_apps/nw_1526472028_1~20020/pywebpoc-ui.app/Contents/MacOS/../Versions/66.0.3359.170/nwjs Framework.framework/nwjs Framework: file too short
	/Users/lucas/Library/Application Support/webruntime/temp_apps/nw_1526472028_1~20020/pywebpoc-ui.app/Contents/Versions/66.0.3359.170/nwjs Framework.framework/nwjs Framework: file too short
^C[20019] LOADER: Back to parent (RC: 1)
[20019] LOADER: Doing cleanup
[20019] LOADER: Freeing archive status for /Users/lucas/Projects/Feathercoin/pywebpoc/dist/pywebpoc

How to reproduce

We want to use NWJS with Python (and PyInstaller). Here is our small PoC where we are trying the setup: https://github.com/Feathercoin-Foundation/pywebpoc

You can run it by creating a pipenv and build it with the script:

pipenv install
pipenv shell
./build.sh
./dist/pywebpoc

It works on Windows.

Any input is welcome. Downgrading didn’t help (as described in https://github.com/nwjs/npm-installer/issues/56).

Issue Analytics

  • State:open
  • Created 5 years ago
  • Comments:10 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
Christywlcommented, May 22, 2018

@rogerwang , according to the steps above, I try this on Mac, can reproduce this issue.

1reaction
rogerwangcommented, May 22, 2018

Thanks for reporting. I believe this is an issue in the package tool, not NW.js. Could you please check asap @Christywl ?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Reason: no suitable image found [closed] - Stack Overflow
I have this problem before for accidentally revoked my certificate. Then all my swift projects have this problem. There are two ways to...
Read more >
xcode14:Library not loaded: /usr/l… | Apple Developer Forums
The only workaround I found was using xCode 13.4 and doing some extra configuration ... substituting the appropriate library name given your crash...
Read more >
RStudio Desktop fails to start up after the latest version of ...
I download the latest version of both R and RStudio Desktop today but RStudio Desktop always fail to start-up then get crashed. It...
Read more >
Xcode error: no suitable image found (since today's update to ...
Ever since the Unity update today, however, I get the following error in Xcode when deploying to this phone, and the app crashes...
Read more >
IDE doesn't start after updating to Mac OS Yosemite or ...
It applies only to the old product versions that depend on system JDK ... [fixed] Crash when navigate to class with java 7...
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