LAE

Welcome to the LAE community!  Please feel free to start a discussion in the discussion tab or join in a conversation.

Discussions

Members

Resources

Events

 View Only
  • 1.  Error saving LXA

    Employee
    Posted 09-08-2016 00:19

    Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.

    Originally posted by: ThomasT

    I have a graph that i runs fine but i get this error when i am trying to save my graph as LXA.

    Any idea?
    How will i know which filter and what is causing the error?

    LXA.JPG


  • 2.  RE: Error saving LXA

    Employee
    Posted 09-08-2016 01:41

    Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.

    Originally posted by: Ivan

    Hi did you search in the comunity for that error "Error saving as LXA"
    i found that the error can be caused by how you enclosed a function in filter , for example

    this fails:
    START_DATE = dateAdjust(date(), {{^StartDateOffset^}}, "days")
    END_DATE = dateAdjust(date(), {{^EndDateOffset^}}, "days")

    solution:
    START_DATE = dateAdjust(date(), long("{{^StartDateOffset^}}"), "days")
    END_DATE = dateAdjust(date(), long("{{^EndDateOffset^}}"), "days")

    is it possible to provide the graph or another example graph to reproduce? which version of LAE you using?


  • 3.  RE: Error saving LXA

    Employee
    Posted 09-08-2016 02:04

    Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.

    Originally posted by: ThomasT

    Hi Ivan.
    Yes, i read the above, but i cant find that this could help me.

    Could i email you the graph?
    I am on version 6.1.1


  • 4.  RE: Error saving LXA

    Employee
    Posted 09-08-2016 05:03

    Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.

    Originally posted by: gmullin

    Looks like it could just be missing a bracket somewhere on line 13. My guess is that corresponds to a filter node in your graph? I've seen it error on me when the error is in fact commented out.

    If you can't track down line 13, try opening your BRG in Notepad and see if where line 13 is can be easily found where it is in the graph in BRE. Or you can highlight all of the nodes (Ctrl+A) and hit F3 to display the code that the LXA will try to compile. Might also give a clue where this line 13 error lies.


  • 5.  RE: Error saving LXA

    Employee
    Posted 09-08-2016 05:18

    Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.

    Originally posted by: gmullin

    The error lied with the parameters being used as {{^StartDate^}}.str(), whereas it should be in quotes i.e. "{{^StartDate^}}".str().