×

INDI Library v1.9.8 Released (29 Sep 2022)

Bi-monthly INDI Library released with new drivers and bug fixes.

INDI Web Manager

  • Posts: 11
  • Thank you received: 0

Replied by Krückel Oliver on topic INDI Web Manager

Hello,

if I like to start the INDI Web Manager, I get this error:

Parsing XML file: /usr/share/indi/indi_tess.xml
Traceback (most recent call last):
File "./servermanager.py", line 4, in <module>
from parsedrivers import driversList
File "/home/krueckel/Daten/Programme/Astronomie/INDI_Astronomical_Control_Protocol/INDI Web Manager/indiwebmanager-master/servermanager/parsedrivers.py", line 35, in <module>
family = group.attrib
KeyError: 'group'

My solution is to add 3. Lines to the xml file:
at the top:
<?xml version="1.0" encoding="UTF-8"?>
<driversList>

and at the bottom:
</driversList>

I add this at this xml files:
/usr/share/indi/indi_duino.xml
/usr/share/indi/indi_ffmv.xml
/usr/share/indi/indi_miccd.xml
/usr/share/indi/indi_qhy.xml
/usr/share/indi/indi_tess.xml

after this modifications, the Manager starts.

I hope my modifications are correct! As far as I can see, it works all right.

my environment:
HW: Intel Platform
opensuse Leap 42.1
libindi and 3rdparty are compiled from the svn source (05/20/2016):
INDI Library: 1.2.0
Code $Rev: 2758 $. Protocol 1.7.

regards Oliver
6 years 6 months ago #8408

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

  • Posts: 69
  • Thank you received: 12

Replied by anat on topic INDI Web Manager

A bug was found. In /path/to/indiwebmanager/servermanager/views/js/indi.js
Change from
function saveProfileDrivers(profile, silent=false)
to
function saveProfileDrivers(profile)

It works now. Desktop browsers may be more forgiving than mobile browsers :)
Last edit: 6 years 6 months ago by anat.
6 years 6 months ago #8443

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

Replied by Jasem Mutlaq on topic INDI Web Manager

Anyone knows why is this a bug? I don't know much javascript, just learned enough to develop this.
Jasem Mutlaq
Support INDI & Ekos; Get StellarMate Astrophotography Gadget.
How to Submit Logs when you have problems?
Add your observatory info
6 years 6 months ago #8453

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

  • Posts: 69
  • Thank you received: 12

Replied by anat on topic INDI Web Manager

Because saveProfileDrivers(name); is called here: :)

function saveProfile()
{
var options = profiles.options;
var name = options[options.selectedIndex].value;
var url = "/api/profiles/" + name

//console.log(url)

$.ajax(
{
type: 'POST',
url : url,
success: function()
{
//console.log("add new a profile " + name);
saveProfileDrivers(name);
},
error: function()
{
alert('error add new profile failed');
}
}
);
}
6 years 6 months ago #8455

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

  • Posts: 69
  • Thank you received: 12

Replied by anat on topic INDI Web Manager

BTW, if one wants a dark theme, try this

cd /path/to/servermanager/views/css/
curl -O bootswatch.com/cyborg/bootstrap.css
curl -O bootswatch.com/cyborg/bootstrap.min.css

nano /path/to/servermanager/views/css/bootstrap.css
nano /path/to/servermanager/views/css/bootstrap.min.css
********************************************
Comment/remove the first line to prevent accessing internet
********************************************

nano /path/to/servermanager/views/form.tpl
********************************************
<!-- <link rel="stylesheet" type="text/css" href="/static/css/schoolhouse.css"> -->
********************************************
The following user(s) said Thank You: Jasem Mutlaq
6 years 6 months ago #8456
Attachments:

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

Replied by Jasem Mutlaq on topic INDI Web Manager

I think it is because I'm using "Default arguments" which I guess could be a cause of problems in some browsers?
Jasem Mutlaq
Support INDI & Ekos; Get StellarMate Astrophotography Gadget.
How to Submit Logs when you have problems?
Add your observatory info
6 years 6 months ago #8457

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

Replied by Jasem Mutlaq on topic INDI Web Manager


libindi already contains those modifications. I think you are probably compiling and installing the drivers to /usr/local and not /usr
Jasem Mutlaq
Support INDI & Ekos; Get StellarMate Astrophotography Gadget.
How to Submit Logs when you have problems?
Add your observatory info
6 years 6 months ago #8459

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

  • Posts: 29
  • Thank you received: 2

Replied by Clément on topic INDI Web Manager

Hi,

I have issues with the driver GPhotoCCD and INDI Web Manager. I have a Nikon D90 plugged on my Raspberry Pi.

When I launch the INDI server in command line:
indiserver -v indi_gphoto_ccd
I have a comprehensive GPhoto tab in Ekos:


But when I start INDI with the web manager, either with the driver "GPhoto CCD" or "Nikon DSLR" in the drop-down list, I only get a very limited GPhoto tab in Ekos:


In particular, I cannot get the live view working...
I tried to check the logs, but I do not know if the INDI server launched by the web manager logs something, nor where.
6 years 6 months ago #8468
Attachments:

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

Replied by Jasem Mutlaq on topic INDI Web Manager

Does live preview work on Nikon? I thought only Canon support that!
Jasem Mutlaq
Support INDI & Ekos; Get StellarMate Astrophotography Gadget.
How to Submit Logs when you have problems?
Add your observatory info
6 years 6 months ago #8470

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

  • Posts: 29
  • Thank you received: 2

Replied by Clément on topic INDI Web Manager

Yes it works, on both my Nikon D90 and D5300 :)
6 years 6 months ago #8471

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

Replied by Jasem Mutlaq on topic INDI Web Manager

INDI Web Manager updated with new feature: Auto Start.

You can select a profile as "Auto Start" and whenever you start the service or reboot the device (And systemd unit service was installed) then it will startup the INDI server for that profile.
Jasem Mutlaq
Support INDI & Ekos; Get StellarMate Astrophotography Gadget.
How to Submit Logs when you have problems?
Add your observatory info
6 years 6 months ago #8499

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

  • Posts: 69
  • Thank you received: 12

Replied by anat on topic INDI Web Manager

indiwebmanager cannot start indi_mi_ccd_usb. Please see the log,
10.0.0.4 - - [31/May/2016 23:46:04] "POST /api/profiles/Simulators/ HTTP/1.1" 200 0
{u'label': u'Imager Agent'}
{u'label': u'MI CCD (USB)'}
10.0.0.4 - - [31/May/2016 23:46:09] "POST /api/profiles/Simulators/ HTTP/1.1" 200 0
indiserver -p 7624 -m 100 -v -f /tmp/indiFIFO > /dev/null 2>&1 &
Driver binary is indi_imager_agent
echo "start indi_imager_agent -n "Imager Agent""  > /tmp/indiFIFO
Driver binary is indi_mi_ccd_usb
echo "start indi_mi_ccd_usb -n "MI CCD (USB)""  > /tmp/indiFIFO
/bin/sh: 1: Syntax error: "(" unexpected
10.0.0.4 - - [31/May/2016 23:46:16] "POST /api/server/start/Simulators HTTP/1.1" 200 0
10.0.0.4 - - [31/May/2016 23:46:16] "GET /api/server/status HTTP/1.1" 200 20
10.0.0.4 - - [31/May/2016 23:46:16] "GET /api/server/drivers HTTP/1.1" 200 33
6 years 6 months ago #8579

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

Time to create page: 1.211 seconds