SQX137RC4: Strategy template - Source code - Pseudo code error

Pseudo code for my strategy template show this error:


 

Template inclusion failed (for parameter value "blocks/RandomValue.tpl"):

Template not found for name "PseudoCode/blocks/RandomValue.tpl".

The name was interpreted by this TemplateLoader: MultiTemplateLoader(loader1 = FileTemplateLoader(baseDir="C:\SQ\StrategyQuantX_137_RC4\internal\extend\Code"), loader2 = FileTemplateLoader(baseDir="C:\SQ\StrategyQuantX_137_RC4\user\extend\Code")).

 

----

FTL stack trace ("~" means nesting-related):

    - Failed at: #include "blocks/" + blockKey + ".tpl"  [in template "PseudoCode/pseudoBlocks.inc" in macro "printBlock" at line 159, column 20]

    - Reached through: @printBlock block?children[0], shift  [in template "PseudoCode/pseudoBlocks.inc" in macro "printBlock" at line 144, column 9]

... 

-----------------------------------------------------------


 

SQ4StrategyTemplateExample (part of SQX137RC4) show this error:

Template inclusion failed (for parameter value "blocks/RandomValue.tpl"):

Template not found for name "PseudoCode/blocks/RandomValue.tpl".

The name was interpreted by this TemplateLoader: MultiTemplateLoader(loader1 = FileTemplateLoader(baseDir="C:\SQ\StrategyQuantX_137_RC4\internal\extend\Code"), loader2 = FileTemplateLoader(baseDir="C:\SQ\StrategyQuantX_137_RC4\user\extend\Code")).

 

----

FTL stack trace ("~" means nesting-related):

    - Failed at: #include "blocks/" + blockKey + ".tpl"  [in template "PseudoCode/pseudoBlocks.inc" in macro "printBlock" at line 159, column 20]

    - Reached through: @printBlock block?children[0], shift  [in template "PseudoCode/pseudoBlocks.inc" in macro "printBlock" at line 144, column 9]


 ...

-----------------------------------------------------------


 

SQ3StrategyTemplateExample (part of SQX137RC4) show this error:

Template inclusion failed (for parameter value "blocks/RandomAction.tpl"):

Template not found for name "PseudoCode/blocks/RandomAction.tpl".

The name was interpreted by this TemplateLoader: MultiTemplateLoader(loader1 = FileTemplateLoader(baseDir="C:\SQ\StrategyQuantX_137_RC4\internal\extend\Code"), loader2 = FileTemplateLoader(baseDir="C:\SQ\StrategyQuantX_137_RC4\user\extend\Code")).

 

----

FTL stack trace ("~" means nesting-related):

    - Failed at: #include "blocks/" + blockKey + ".tpl"  [in template "PseudoCode/pseudoBlocks.inc" in macro "printBlock" at line 159, column 20]

    - Reached through: @printBlock block  [in template "PseudoCode/pseudoBlocks.inc" in macro "printRule" at line 26, column 9]

... 

------------------------------------------------------------------

In Pseudo code for templates is something bad.


 


 

Attachments
No attachments
  • Votes +1
  • Project AlgoWizard
  • Type Bug
  • Status Fixed
  • Priority Normal

History

VH
#1

anttropus

19.07.2023 15:36

Task created

E
#2

Emmanuel

20.07.2023 02:25
Voted for this task.
TT
#3

Tamas

25.07.2023 06:47

Status changed from New to Waiting for information

Status changed from Waiting for information to New

Hello, can you please attach the problematic strategy file to reproduce the bug ?


Update: sorry, I see the template file and I am able to reproduce the issue. We will fix it.


Votes: +1

Drop files to upload

or

choose files

Max size: 5MB

Not allowed: exe, msi, application, reg, php, js, htaccess, htpasswd, gitignore

...
Wait please