Ticket #166 (new enhancement)
igclient --send=FILE fails when FILE starts with a space
| Reported by: | bluey | Owned by: | jdunn |
|---|---|---|---|
| Priority: | normal | Component: | Software |
| Version: | Severity: | minor | |
| Keywords: | Cc: |
Description
If you run
igclient --send=FILE
and the first line of FILE is
space 1000
igclient fails with:
Nov 25 15:49:22 2009 ERROR: Illegal pulse reading pulse file FILE(1): pulse 500 Nov 25 15:49:22 2009 ERROR: Failed to pack data: Invalid argument
We shouldn't fail if the first line of a code is a space. We should probably just ignore that line and send the rest of the file and print a warning that says:
WARNING: FILE begins with space, ignoring first line.
Change History
Note: See
TracTickets for help on using
tickets.
