×

INDI Library v2.0.7 is Released (01 Apr 2024)

Bi-monthly release with minor bug fixes and improvements

Error Starting ServerManager

  • Posts: 71
  • Thank you received: 6
Hello all..
First, I would like thanks fully all developpers for the job been done !! :P

Second, I have an issue during starting ServerManager, after installing on the Raspberry PI 2, at
the prompt typing and into the accurate folder servermanager:
python drivermanager.py
I get:
Parsing XML file: /usr/share/indi/indi_eqmod.xml
Traceback (most recent call last):
  File "drivermanager.py", line 5, in <module>
    from parsedrivers import driversList, findDriverByLabel, DeviceDriver
  File "/home/pi/servermanager/parsedrivers.py", line 37, in <module>
    family = group.attrib['group']
KeyError: 'group'
pi@raspberrypi:~/servermanager $
I have already tried under root but not better ...
Any idea ?

Thanks in advance
7 years 5 months ago #11637

Please Log in or Create an account to join the conversation.

What OS? How are you installed the drivers? Most likely you're using old drivers with outdated XML scheme.
7 years 5 months ago #11713

Please Log in or Create an account to join the conversation.

  • Posts: 71
  • Thank you received: 6
Hi,
I use Jessie onto Raspberry... so I had compiled 3rdDrivers as indicated the READ file into the directory.
So today, I do another compile but drivers are the good ones.
I get alway the same error ....euhhh :whistle:
7 years 5 months ago #11742

Please Log in or Create an account to join the conversation.

There is already packages for Raspbian Jessie from INDI

Paste the contents of /usr/share/indi/indi_eqmod.xml here
Last edit: 7 years 5 months ago by Jasem Mutlaq.
7 years 5 months ago #11753

Please Log in or Create an account to join the conversation.

  • Posts: 71
  • Thank you received: 6
Here behind, the content ...

pi@raspberrypi:/usr/share/indi $ more indi_eqmod.xml
<devGroup group="Telescopes">
<device label="EQMod Mount">
<driver name="EQMod Mount">indi_eqmod_telescope</driver>
<version>0.2</version>
</device>
</devGroup>
pi@raspberrypi:/usr/share/indi $
7 years 5 months ago #11760

Please Log in or Create an account to join the conversation.

yup that's old format. Please use the prepackaged debian stuff I linked above.
7 years 5 months ago #11778

Please Log in or Create an account to join the conversation.

  • Posts: 71
  • Thank you received: 6
Hello,

I have updated the package, but nothing better ... :blink:
pi@raspberrypi:~/Downloads/libindi_1.2.0_rpi $ sudo dpkg -i *.deb
(Reading database ... 153287 files and directories currently installed.)
Preparing to unpack atikccd-1.1-armhf.deb ...
Unpacking atikccd (1.1) over (1.1) ...
Preparing to unpack dcraw_9.26_armhf.deb ...
Unpacking dcraw (9.26) over (9.26) ...
Preparing to unpack fliusb-dkms_1.3_armhf.deb ...
 
------------------------------
Deleting module version: 1.3
completely from the DKMS tree.
------------------------------
Done.
Unpacking fliusb-dkms (1.3) over (1.3) ...
Preparing to unpack fliusb-source_1.3_armhf.deb ...
Unpacking fliusb-source (1.3) over (1.3) ...
Preparing to unpack indi-aagcloudwatcher-dbg_1.3_armhf.deb ...
Unpacking indi-aagcloudwatcher-dbg (1.3) over (1.3) ...
Preparing to unpack indi-aagcloudwatcher_1.3_armhf.deb ...
Unpacking indi-aagcloudwatcher (1.3) over (1.3) ...
Preparing to unpack indi-apogee-dbg_1.5_armhf.deb ...
Unpacking indi-apogee-dbg (1.5) over (1.5) ...
Preparing to unpack indi-apogee_1.5_armhf.deb ...
Unpacking indi-apogee (1.5) over (1.5) ...
Preparing to unpack indi-asi-dbg_0.5_armhf.deb ...
Unpacking indi-asi-dbg (0.5) over (0.5) ...
Preparing to unpack indi-asi_0.5_armhf.deb ...
Unpacking indi-asi (0.5) over (0.5) ...
Preparing to unpack indi-bin_1.2.0_armhf.deb ...
Unpacking indi-bin (1.2.0) over (1.2.0) ...
Preparing to unpack indi-dbg_1.2.0_armhf.deb ...
Unpacking indi-dbg (1.2.0) over (1.2.0) ...
Preparing to unpack indi-dsi-dbg_0.1_armhf.deb ...
Unpacking indi-dsi-dbg (0.1) over (0.1) ...
Preparing to unpack indi-dsi_0.1_armhf.deb ...
Unpacking indi-dsi (0.1) over (0.1) ...
Preparing to unpack indi-duino-dbg_0.2_armhf.deb ...
Unpacking indi-duino-dbg (0.2) over (0.2) ...
Preparing to unpack indi-duino_0.2_armhf.deb ...
Unpacking indi-duino (0.2) over (0.2) ...
Preparing to unpack indi-eqmod-dbg_0.3_armhf.deb ...
Unpacking indi-eqmod-dbg (0.3) over (0.3) ...
Preparing to unpack indi-eqmod_0.3_armhf.deb ...
Unpacking indi-eqmod (0.3) over (0.3) ...
Preparing to unpack indi-ffmv-dbg_0.1_armhf.deb ...
Unpacking indi-ffmv-dbg (0.1) over (0.1) ...
Preparing to unpack indi-ffmv_0.1_armhf.deb ...
Unpacking indi-ffmv (0.1) over (0.1) ...
Preparing to unpack indi-fishcamp-dbg_1.0_armhf.deb ...
Unpacking indi-fishcamp-dbg (1.0) over (1.0) ...
Preparing to unpack indi-fishcamp_1.0_armhf.deb ...
Unpacking indi-fishcamp (1.0) over (1.0) ...
Preparing to unpack indi-fli-dbg_1.0.0ubuntu3_armhf.deb ...
.../ ... I have erased lines to permit sending this message .................
pi@raspberrypi:~/servermanager $ python drivermanager.py
/usr/share/indi/indi_eqmod.xml
/usr/share/indi/indi_rpialtimu.xml
/usr/share/indi/indi_usbfocus.xml
/usr/share/indi/indi_spectracyber.xml
/usr/share/indi/indi_asi.xml
/usr/share/indi/indi_sbig.xml
/usr/share/indi/indi_atik.xml
/usr/share/indi/indi_aagcloudwatcher.xml
/usr/share/indi/drivers.xml
/usr/share/indi/indi_rpifocus.xml
/usr/share/indi/indi_rpibrd.xml
/usr/share/indi/indi_qsi.xml
/usr/share/indi/indi_gphoto.xml
/usr/share/indi/indi_fli.xml
/usr/share/indi/indi_sx.xml
/usr/share/indi/indi_ffmv.xml
/usr/share/indi/indi_asiccd.xml
/usr/share/indi/indi_duino.xml
/usr/share/indi/indi_qhy.xml
/usr/share/indi/indi_gpsd.xml
/usr/share/indi/indi_maxdomeii.xml
/usr/share/indi/indi_shoestring.xml
/usr/share/indi/indi_fishcamp.xml
/usr/share/indi/indi_rpigps.xml
/usr/share/indi/indi_dsi.xml
/usr/share/indi/indi_apogee.xml
Parsing XML file: /usr/share/indi/indi_eqmod.xml
Parsing XML file: /usr/share/indi/indi_rpialtimu.xml
Traceback (most recent call last):
  File "drivermanager.py", line 5, in <module>
    from parsedrivers import driversList, findDriverByLabel, DeviceDriver
  File "/home/pi/servermanager/parsedrivers.py", line 37, in <module>
    family = group.attrib["group"]
KeyError: 'group'
pi@raspberrypi:~/servermanager $
7 years 5 months ago #11814

Please Log in or Create an account to join the conversation.

A new Raspbian Pi package for v1.3 of INDI will be available tomorrow. Meanwhile, please purge INDI packages from your system and make sure there are no files under /usr/share/indi

Then tomorrow download and install the v1.3 package
7 years 5 months ago #11815

Please Log in or Create an account to join the conversation.

  • Posts: 71
  • Thank you received: 6
I deleted all the folder indi under /usr/share/, downloaded libindi_1.2.0 and installed all packages; That's rocks !!! :cheer:
Thanks you very much Jasem...
So I have seen this, 0.0.0.0 as IP adress ? security ?
Bottle v0.12.7 server starting up (using WSGIRefServer())...
Listening on http://0.0.0.0:8624/
Hit Ctrl-C to quit
7 years 5 months ago #11824

Please Log in or Create an account to join the conversation.

  • Posts: 13
  • Thank you received: 5
It just means that the server will listen on every ip address your raspberry have (eg. if you have more than one network interface).
It's nothing to worry about except if you're running it on a device connected to the public internet :)
7 years 4 months ago #12676

Please Log in or Create an account to join the conversation.

Time to create page: 0.912 seconds