Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#23 CreateRequest: Issue parsing request string with space after "field"

None
closed-fixed
Marty Kraimer
None
5
2015-01-05
2014-02-14
Dave Hickin
No

I mistyped a pvget command with an extra space after “field” and got an unexpected response:

pvget -m -r "field (dim,offset,binning,reverse,fullDim)" adImage

adImage
structure
int[] offset [0,0]
int[] binning [1,1]
int[] reverse [0,0]

whereas without the space I get what I’d expect:

pvget -m -r "field(dim,offset,binning,reverse,fullDim)" adImage

adImage
structure
int[] dim [3192,3192]
int[] offset [0,0]
int[] binning [1,1]
int[] reverse [0,0]
int[] fullDim [3192,3192]

Obviously I could fix this by typing more carefully, but I think it ought to either work with the space or fail more gracefully.

Issue is with parsing request string in CreateRequest.

Probably not high priority and might decide not to fix if going to change request syntax.

Discussion

  • Marty Kraimer
    Marty Kraimer
    2014-11-24

    This is fixed in both pvDataCPP and pvDataJava

     
  • Marty Kraimer
    Marty Kraimer
    2014-11-24

    • status: open --> closed-fixed