Opened 9 years ago

Closed 9 years ago

#1242 closed defect (fixed)

WCPS1.5_Parsing error with scale and trim

Reported by: Bang Pham Huu Owned by:
Priority: major Milestone: 10.0
Component: petascope Version: development
Keywords: Cc: Dimitar Misev, Vlad Merticariu
Complexity: Medium

Description

45-scaling_operation_mr.test

for c in (mr) return encode(
    scale(
        trim(c, { i (120:130), j (50:60) }),
        { i (0:100), j (0:100) }, { }),
"png", "nodata=0")

WCPS1.5 returns error

  <ows:Exception exceptionCode="RuntimeError">
        <ows:ExceptionText>Runtime error while processing request</ows:ExceptionText>
    </ows:Exception>
    <ows:Exception exceptionCode="RuntimeError">
        <ows:ExceptionText>petascope.wcps2.error.managed.processing.WCPSProcessingError : A parsing error occurred at position=3:16. 
Offending symbol is=[@15,56:56='{',&lt;35&gt;,3:16]. 
Parser message=no viable alternative at input '{'.</ows:ExceptionText>
    </ows:Exception>

Change History (1)

comment:1 by Bang Pham Huu, 9 years ago

Resolution: fixed
Status: newclosed

patch was accepted, close ticket.

Note: See TracTickets for help on using tickets.