×
INDI Library v1.8.3 Released (02 Jan 2020)

Minor monthly bugfix release with a new RainbowAstro mount driver and improved pier side simulation.

[SOLVED] cant start indi

3 years 8 months ago
dokeeffe
Platinum Boarder
Platinum Boarder
Posts: 383
More
Topic Author
[SOLVED] cant start indi #8626
OK so I just did something really stupid and I'm looking for help.
I opened my roof, unparked the scope and slew to a target. It was still twilight so I thought While waiting I'll do apt-get upgrade....
Now I cant restart indi services.
I'm getting this error from the celestron driver. Unfortunately this leaves me with a scope pointing up, a roof open and a possible 1hr drive....
2016-06-03T21:26:44: Driver indi_celestron_gps: snooping on GPS Simulator.TIME_UTC
2016-06-03T21:26:44: Driver indi_celestron_gps: XML error: Line 17: No value for attribute On
2016-06-03T21:26:44: Driver indi_celestron_gps: XML read: <?xml version='1.0'?>
<defSwitchVector
  device='Celestron GPS'
  name='TELESCOPE_BAUD_RATE'
  label='Baud Rate'
  group='Options'
  state='Idle'
  perm='rw'
  rule='OneOfMany'
  timeout='60'
  timestamp='2016-06-03T21:26:44'
>
  <defSwitch
    name='9600'
      On
  </defSwitch>
  <defSwitch
    name='19200'
      Off
  </defSwitch>
  <defSwitch
    name='38400'
      Off
  </defSwitch>
  <defSwitch
    name='57600'
      Off
  </defSwitch>
  <defSwitch
    name='115200'
      Off
  </defSwitch>
  <defSwitch
    name='230400'
      Off
  </defSwitch>
</defSwitchVector>
<?xml version='1.0'?>
<defSwitchVector
  device='Celestron GPS'
  name='Hibernate'
  group='Options'
  state='Idle'
  perm='rw'
  rule='OneOfMany'
  timeout='0'
  timestamp='2016-06-03T21:26:44'
>
  <defSwitch
    name='Enable'
      Off
  </defSwitch>
  <defSwitch
    name='Disable'
      On
  </defSwitch>
</defSwitchVector>

2016-06-03T21:26:44: Driver indi_celestron_gps: Terminated after #10 restarts.

Celestron CPC1100 Atik 383L
HP8300 Elite i5 running Xubuntu, Indi, Kstars & Ekos
Roll off roof observatory
Battling Irish weather
github.com/dokeeffe
twitter.com/BallyhouraStars
The topic has been locked.
3 years 8 months ago
knro
Administrator
Administrator
Posts: 7605
Karma: 51
[SOLVED] cant start indi #8627
Working on a quick fix, stay tuned.

Jasem Mutlaq
Support INDI & Ekos; Get StellarMate Astrophotography Gadget.
How to Submit Logs when you have problems?
Add your observatory info
The following user(s) said Thank You dokeeffe
The topic has been locked.
3 years 8 months ago
dokeeffe
Platinum Boarder
Platinum Boarder
Posts: 383
More
Topic Author
[SOLVED] cant start indi #8628
Jasem,

Thanks, take your time. Its not so urgent now. I phoned someone and they manually moved the scope down and closed the roof :-)
Panic over :-)

Derek

Celestron CPC1100 Atik 383L
HP8300 Elite i5 running Xubuntu, Indi, Kstars & Ekos
Roll off roof observatory
Battling Irish weather
github.com/dokeeffe
twitter.com/BallyhouraStars
The topic has been locked.
3 years 8 months ago
knro
Administrator
Administrator
Posts: 7605
Karma: 51
[SOLVED] cant start indi #8629
Sorry about that, my mistake, I really need to add autotests to the build. Will start to work on that once I have some free time. A new libindi is going to be built soon, will be available in an hour.

Jasem Mutlaq
Support INDI & Ekos; Get StellarMate Astrophotography Gadget.
How to Submit Logs when you have problems?
Add your observatory info
The following user(s) said Thank You dokeeffe
The topic has been locked.
3 years 8 months ago
dokeeffe
Platinum Boarder
Platinum Boarder
Posts: 383
More
Topic Author
[SOLVED] cant start indi #8630
No problem, I wonder if I could somehow help with testing / test automation. My day to day job is in Java development so I have decent experience with unit/integration testing and continuous integration. I have no clue where to start with c++ unit testing though. Also testing drivers is tricky as its difficult to mock the hardware layer.
If you ever do get around to adding some unit tests let me know and maybe I can use them as an example to write more.
Derek

Celestron CPC1100 Atik 383L
HP8300 Elite i5 running Xubuntu, Indi, Kstars & Ekos
Roll off roof observatory
Battling Irish weather
github.com/dokeeffe
twitter.com/BallyhouraStars
The topic has been locked.
3 years 8 months ago
knro
Administrator
Administrator
Posts: 7605
Karma: 51
[SOLVED] cant start indi #8631
There is the Google C++ Testing Framework . I'm thinking of using that unless someone has better alternatives. You can discover a lot of issues from the simulators alone. That's why we have them, to test stuff.

Jasem Mutlaq
Support INDI & Ekos; Get StellarMate Astrophotography Gadget.
How to Submit Logs when you have problems?
Add your observatory info
The topic has been locked.
Time to create page: 0.207 seconds