#2699 closed defect (fixed)

rasql.py truncates error messages with single quote in them

Reported by: Dimitar Misev Owned by: Dimitar Misev
Priority: major Milestone: 10.2
Component: systemtest Version: 10.2
Keywords: Cc: Bang Pham Huu
Complexity: Medium

Description

The following testcases should be fixed and removed from rasdapy3/known_fails:

#error message is returned in a wrong format
select_pos_independent_wrong_name.rasql
sort_dim_out_of_spatial_domain.rasql
flip_axis_name_wrong.rasql
flip_dim_out_of_spatial_domain.rasql

E.g. expected output for the first one is

rasdaman error 347: Execution error 347 in line 1, column 15, 
near token test_grey: Name of the axis doesn't correspond with 
any defined axis name of the type.

but rasql.py returns

t correspond with any defined axis name of the type.

Change History (2)

comment:1 by Dimitar Misev, 20 months ago

Also floating-point values can be printed same as standard rasql with

# float value
"{:.7g}".format(value)

# double value
"{:.16g}".format(value)

comment:2 by Dimitar Misev, 20 months ago

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.