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

LSL modules not always found #15

Open
RayZopf opened this issue Feb 26, 2016 · 1 comment
Open

LSL modules not always found #15

RayZopf opened this issue Feb 26, 2016 · 1 comment
Labels

Comments

@RayZopf
Copy link

RayZopf commented Feb 26, 2016

https://code.google.com/archive/p/lslforge/issues/39
Posted on Jan 14, 2014 by Happy Wombat
What steps will reproduce the problem? 1. create LSLProject 2. create a folder inside project 3. create scripts and modules, use modules create another project, put subfolders in, throw some modules you want to use in and make that projetct a reference

What is the expected output? What do you see instead? at least LSLFore should reliablely find and use modules in the same dir as the script using the module and go for subfolders too to get modules Instead I get error signs where my $import line is, stating module could not be found Also when I move a used and found module out the same folder script is in, script.lsl creations goes off/ script.lsl tab vanishes - but no error sign at import-statement line - instead getting an error in error log, stating script.lsl not found

What version of the product are you using? On what operating system? lslforge 0.1.6 Win 7 64 bit eclipse.buildId=4.3.0.M20130911-1000 java.version=1.6.0_45 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=de_DE Framework arguments: -product org.eclipse.epp.package.standard.product

Please provide any additional information below. Restarting Eclipse "solves" the problem as the module (in same dir) then is found at next edit, for modules in referenced projects (and there in root!) editing preferences of current project un/rechecking referenced project helps Also helping is moving/having module at project root as this is the thing letting recognize LSLForge the module always

Comment 1

Posted on Mar 15, 2014 by Swift Horse
This bug is introduced in 0.1.5, side effect of 'LSLForge Native Executable Multiple instances would run, one for each open project. Modified now to share a single instance globally.' It is not good idea because each native process keeps .lslp files and .lslm files in each project. If you want to share the native process among the project, need to switch .lslm/.lsl context. It seems not easy.

Comment 2

Posted on Mar 17, 2014 by Happy Wombat
I see... then probably better leave it that way and work around as described - also I was told that editing+saving modules helps too.

@kyrahabattoir
Copy link

Additionally, swapping between two projects that have modules will trigger this problem.

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

3 participants