Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Notepad++ packaged appimage fails to launch #7

Closed
mmtrt opened this issue Jan 21, 2020 · 6 comments
Closed

Notepad++ packaged appimage fails to launch #7

mmtrt opened this issue Jan 21, 2020 · 6 comments
Labels
bug Something isn't working enhancement New feature or request

Comments

@mmtrt
Copy link

mmtrt commented Jan 21, 2020

First commands install then I left run npp on setup as checked which executed the app fine then I create package. I'm using locally updated appimage downloaded from here earlier with current changes of 046054a

./Wine-x86_64.AppImage install notepadpp ../npp.7.8.3.Installer.exe
ERROR: ld.so: object '/tmp/.mount_Wine-xYPYgYa/bin/libhookexecv.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/tmp/.mount_Wine-xYPYgYa/bin/libhookexecv.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
0034:err:winediag:SECUR32_initNTLMSP ntlm_auth was not found or is outdated. Make sure that ntlm_auth >= 3.0.25 is in your path. Usually, you can find it in the winbind package of your distribution.

./notepadpp-x86_64.AppImage 
wine-4.21
wine: configuration in L"/home/mmtrt/.config/notepadpp" has been updated.
Wine cannot find the ncurses library (libncurses.so.5).

npp

@mmtrt
Copy link
Author

mmtrt commented Jan 22, 2020

@probonopd that appimg works fine.

@sudo-give-me-coffee
Copy link
Owner

@probonopd I use (essentially) the same way to build with the main difference is run strip command on all files and folders:

https://github.com/sudo-give-me-coffee/win32-appimage/blob/046054a848716df16cc69cb8d0c46c36eef423f2/data/strip#L231-L235

By removing these lines, Notepad++ works normally for me, but i don't think that is a good thing, because for some reason, by doing doing it, Wine ignores this:

https://github.com/sudo-give-me-coffee/win32-appimage/blob/046054a848716df16cc69cb8d0c46c36eef423f2/data/WineLauncher#L25-L26

And the fonts look very ugly


By the way, these errors is caused by these lines in Notepad++, compiling without these lines also works

@sudo-give-me-coffee sudo-give-me-coffee added bug Something isn't working enhancement New feature or request labels Jan 22, 2020
@probonopd
Copy link

Maybe the DLL signature verification doesn't like the strip, just guessing.

@sudo-give-me-coffee
Copy link
Owner

I will do a complete restructuring, handling better with this and other questions, thanks

@sudo-give-me-coffee
Copy link
Owner

I don't know how this error occurs, but I identified the solution, bundling system.reg makes application runs. I will be add a flag on next commit

sudo-give-me-coffee added a commit that referenced this issue Mar 8, 2020
* Added 'minimize' command #5
* Added support for applications that verify the signature of the DLL #7
* More transparent way for handling PREFIX
* Less CPU usage by packaged applications
* More fast initialization of packaged applications
* Commands now show how many steps it takes to complete the task
* Splits some commands
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants