Opened 18 years ago
Closed 17 years ago
#1094 closed defect (fixed)
"warptool -updaterun" doesn't work
| Reported by: | Paul Price | Owned by: | jhoblitt |
|---|---|---|---|
| Priority: | high | Milestone: | |
| Component: | ippTools | Version: | unspecified |
| Severity: | normal | Keywords: | |
| Cc: |
Description
Probably due to some sort of join going on behind the scenes, the following fails with an error:
price@ipp007:/data/ipp007.0/MOPS/run1/tess_MOPS/skycell.0198995>warptool -updaterun -warp_id 680 -state run
-> p_psDBRunQuery (psDB.c:837): Database error generated by the server
Failed to execute SQL query. Error: Column 'state' in field list is ambiguous
-> pxwarpRunSetStateByQuery (pxwarp.c:86): unknown psLib error
database error
Note also that it is very difficult, if not impossible, to get the help information for "warptool -updaterun" --- without any further options, the program proceeds into function updaterunMode(), and no help message is displayed. Probably needs an additional flag, "-help" (perhaps we should make this a standard flag?).
Change History (2)
comment:1 by , 18 years ago
comment:2 by , 17 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
fixed this and updated warptool to use pxwarpSetSearchArgs / pxwarpGetSearchArgs as is done for chiptool and camtool.

Oh, "warptool -revertwarped" should set the state to 'run' itself (but then I wouldn't have found this bug!).