#1133 Axon Terminal Horizontal Characters

Rick Stehmeyer Thu 5 Sep

Is it possible to get Axon to print out the entire error message in the terminal?  

For example, when I run fitsExplain() the message returned is limited to 78 characters in the window's terminal.  Yet other commands like read(ahu) will use the entire terminal window.  

here is an example of the truncation: 
 
axon> read(ahu).fitsExplain(G36SingleZoneAhu)
id                                          msg
------------------------------------------  ----------------------------------
@2e64dcb2-2a1b0d4c "2e636fa9-352281cf Ahu"  8 errors
@2e64dcb2-2a1b0d4c "2e636fa9-352281cf Ahu"  Missing required Point: ph.point..
@2e64dcb2-2a1b0d4c "2e636fa9-352281cf Ahu"  Missing required Point: ph.point..
@2e64dcb2-2a1b0d4c "2e636fa9-352281cf Ahu"  Missing required Point: ph.point..
@2e64dcb2-2a1b0d4c "2e636fa9-352281cf Ahu"  Missing required Point: ashrae.g..
@2e64dcb2-2a1b0d4c "2e636fa9-352281cf Ahu"  Missing required Point: ashrae.g..
@2e64dcb2-2a1b0d4c "2e636fa9-352281cf Ahu"  Ambiguous match for Point: ph.po..
@2e64dcb2-2a1b0d4c "2e636fa9-352281cf Ahu"  Missing required marker 'variabl..
@2e64dcb2-2a1b0d4c "2e636fa9-352281cf Ahu"  Missing required marker 'chilled..

Brian Frank Thu 5 Sep

The shell is going to try to use your terminal width if you have jline installed - see setup. Otherwise it will default to 80. And there is no way to do line wrapping (which would make it impossible to read anyways).

If you really want to see pipe it something like a CSV file:

read(ahu).fitsExplain(G36Vav).ioWriteCsv(`foo.csv`)

Or you can just iterate thru the rows and print them however you like

Login or Signup to reply.