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

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

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

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

gdementen opened this issue May 18, 2016 · 1 comment
Assignees
Labels
Milestone

Comments

@gdementen
Copy link
Member

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
Copy link
Member Author

closed in 95cffc5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant