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

system-wide python installation (in path) breaks bundle #222

Closed
gdementen opened this Issue May 18, 2016 · 1 comment

Comments

Projects
None yet
1 participant
@gdementen
Member

gdementen commented May 18, 2016

For some reason that I fail to understand, in some cases, Windows loads some .dlls in PATH directories instead of in the directory of the executable. And this can cause a myriad of problems (if those .dll are of different versions of the lib which are in the bundle, ...). One workaround is simply to set an empty PATH before running liam2/main.exe

This can be done via cmd:

cmd /c "set PATH=; && "$(NPP_DIRECTORY)\..\..\..\liam2\main" run "$(FULL_CURRENT_PATH)" -i"

It might also be doable via nppexec "ENV_SET" command.

ENV_SET PATH = ;  // modified
...
ENV_UNSET PATH  // restored

See section 4.2 at:
http://www.cin.ufpe.br/~aedv/Notepad++Portable/App/Notepad++_ansi/plugins/doc/NppExec_Manual.txt

@gdementen gdementen added the bug label May 18, 2016

@gdementen gdementen added this to the 0.11.1 milestone May 18, 2016

@gdementen gdementen self-assigned this May 18, 2016

gdementen added a commit that referenced this issue Jun 1, 2016

@gdementen gdementen modified the milestones: 0.11.1, 0.12 Jan 19, 2018

@gdementen

This comment has been minimized.

Member

gdementen commented Jan 19, 2018

closed in 95cffc5

@gdementen gdementen closed this Jan 19, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment