View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0000810 | SkyChart | 1-Software | public | 11-03-06 21:43 | 11-09-03 14:48 |
| Reporter | Ferran Casarramona | Assigned To | Patrick Chevalley | ||
| Priority | normal | Severity | crash | Reproducibility | have not tried |
| Status | closed | Resolution | fixed | ||
| Platform | All | OS | All | OS Version | All |
| Product Version | 3.3 SVN | ||||
| Target Version | 3.4 | Fixed in Version | 3.3 SVN | ||
| Summary | 0000810: Bug in cu_indiclient.pas | ||||
| Description | I'm developing an Indi client (to control a dome) with Lazarus and I'm using your cu_indiclient.pas module. I found a problem in this module: All command procedures ('Slew', 'AbortSlew', ...) start with 'if FCurrentdevice='' then exit;' sentence. But, if 'FCurrentdevice' is used during the parse of device responses, so when Indiserver have more various devices FCurrentdevice can change from time to time. At 'XmlStartTag' procedure, if device is the same of FWantDevice, the FCurrentDevice is set to this device, otherwise is set to ''. So if an Indiserver has more devices it could be than FCurrentDevice is '' and no command could be send. I think for command procedures it must be used 'FWantDevice' instead of 'FCurrentdevice' | ||||
| Steps To Reproduce | Start Indiserver with 2 or more devices. Put the telescope device in the second place: indiserver indi_anydevice indi_lx200 Try to use the telescope. You can connect but can't send commands | ||||
| Tags | No tags attached. | ||||
|
|
Thank you for the very detailed description of the problem. This is fixed by revision 1736: http://svn.origo.ethz.ch/viewvc/skychart?view=rev&revision=1736 |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 11-03-06 21:43 | Ferran Casarramona | New Issue | |
| 11-03-30 08:34 | Patrick Chevalley | Assigned To | => Patrick Chevalley |
| 11-03-30 08:34 | Patrick Chevalley | Status | new => assigned |
| 11-03-30 08:34 | Patrick Chevalley | Target Version | 0.3.0 => 3.4 |
| 11-06-04 11:27 | Patrick Chevalley | Note Added: 0001625 | |
| 11-06-04 11:27 | Patrick Chevalley | Status | assigned => resolved |
| 11-06-04 11:27 | Patrick Chevalley | Resolution | open => fixed |
| 11-06-04 11:27 | Patrick Chevalley | Fixed in Version | 0.3.0 => 3.3 SVN |
| 11-09-03 14:48 | Patrick Chevalley | Status | resolved => closed |