You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can see that the same interpreter is kept between two sessions (call to "interpretRule" function), but I reset it each time.
Here are my traces:
[2017-03-07 10:58:50 CET : Nomyx.Core.Engine.Interpret : INFO] Loading modules: Foo.hs
[2017-03-07 10:58:50 CET : Nomyx.Core.Engine.Interpret : INFO] module names: Foo
-> at this point, Foo is used successfully
-> interpreter is RESET
[2017-03-07 10:58:56 CET : Nomyx.Core.Engine.Interpret : INFO] Loading modules: Bar.hs
[2017-03-07 10:58:56 CET : Nomyx.Core.Engine.Interpret : INFO] module names: Bar
[2017-03-07 10:58:56 CET : Nomyx.Core.Session : WARNING] Not Allowed: module is not loaded: ‘Foo’ (Foo.hs)
As you can see, the engine is reset, but then it fails, referencing a module that should not exist anymore.
The text was updated successfully, but these errors were encountered:
I have this error:
This happens after I load another module (say 'Foo'), reset the interpreter, then load Bar.
If I load Bar first, then it works.
Any idea?
My code for the interpreter is here:
https://github.com/cdupont/Nomyx/blob/master/Nomyx-Core/src/Nomyx/Core/Engine/Interpret.hs
You can see that the same interpreter is kept between two sessions (call to "interpretRule" function), but I reset it each time.
Here are my traces:
As you can see, the engine is reset, but then it fails, referencing a module that should not exist anymore.
The text was updated successfully, but these errors were encountered: