×

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

Bi-monthly release with minor bug fixes and improvements

A new INDI WebManager App for Mac OS X and Linux

  • Posts: 460
  • Thank you received: 69

SUCCESS!
Recompiled
python exec folder /usr/bin/
indi-web path /usr/local/bin/indi-web

Note that the resultant path is:
"2019-06-26T11:45:28: export PATH=/usr/bin/:/usr/bin/:/usr/share/indi:usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"

There is still a missing / in there, but I'm not sure how to correct that or what added it or when.

Thanks you Rob

Hope this was worth your effect (and that I'm not a one-off case).

One note, it wasn't obvious (to me) earlier that "Apply" needed to be applied at each config entry change. Being on the bottom row next to OK and Cancel led me to think that was to be applied as a final step.
4 years 9 months ago #40547

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

  • Posts: 2877
  • Thank you received: 812
Thanks Patrick, I just corrected the /usr/local/bin slash mistake.

Thanks Jerry, no your situation with python in /usr/bin and pip in /usr/local/bin is just a different python configuration and it is a valid one and one a number of people might have due to the way they installed or updated python/pip. So we want to be sure to support that. I would not say you will be the only one with this setup. Also your experience helped me to update and simplify some parts of the program and also catch some bugs on my part.

I did update the issue with clicking apply. So now, the detection of the paths to python and indiweb to verify the installation do not depend upon clicking apply anymore. And if you try to install without clicking apply, it will tell you to click apply. The other paths and options in the configuration do not need to be applied until you click ok and close the preferences panel. So I think this is now better. So yes I appreciated your struggle with that and fixed it I hope.
4 years 9 months ago #40549

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

  • Posts: 2877
  • Thank you received: 812
I just made a bunch of changes today to add tooltips, whatsthis, and help pages. Can you guys please check those out? If everything checks out, then I think we will be ready for 0.8 release.

Thanks,

Rob
4 years 9 months ago #40557

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

  • Posts: 238
  • Thank you received: 15
Hi,

Is it normal for the INDI webmanager app to go OFFLINE after Online for few seconds ? Weird.....

BTW, i just upgrade to the latest nightly build.

Regards,
Tom
4 years 9 months ago #40564

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

  • Posts: 2877
  • Thank you received: 812
I haven't yet sent the version I am working on to Jasem to include in the nightly build. So it might not have everything we were just recently discussing in this forum. That being said, the older version should still work. The main changes we were addressing were related to an unusual setup.

When you hit the start ("play") button, does it go off again after a moment? If so, then it wasn't successful at starting the indiweb app. You might check your configurations in the preferences.
4 years 9 months ago #40565

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

  • Posts: 460
  • Thank you received: 69

The tool tips look good. When I click on the "Open WebManager" button on my machine, I get:
Running Firefox as root in a regular user's session is not supported.  ($HOME is /home/odroid which is owned by odroid.)
Running Firefox as root in a regular user's session is not supported.  ($HOME is /home/odroid which is owned by odroid.)
Running Firefox as root in a regular user's session is not supported.  ($HOME is /home/odroid which is owned by odroid.)
/usr/bin/xdg-open: 851: /usr/bin/xdg-open: iceweasel: not found
/usr/bin/xdg-open: 851: /usr/bin/xdg-open: seamonkey: not found
/usr/bin/xdg-open: 851: /usr/bin/xdg-open: mozilla: not found
/usr/bin/xdg-open: 851: /usr/bin/xdg-open: epiphany: not found
/usr/bin/xdg-open: 851: /usr/bin/xdg-open: konqueror: not found
/usr/bin/xdg-open: 851: /usr/bin/xdg-open: chromium: not found
/usr/bin/xdg-open: 851: /usr/bin/xdg-open: chromium-browser: not found
/usr/bin/xdg-open: 851: /usr/bin/xdg-open: google-chrome: not found
/usr/bin/xdg-open: 851: /usr/bin/xdg-open: www-browser: not found
/usr/bin/xdg-open: 851: /usr/bin/xdg-open: links2: not found
/usr/bin/xdg-open: 851: /usr/bin/xdg-open: elinks: not found
/usr/bin/xdg-open: 851: /usr/bin/xdg-open: links: not found
/usr/bin/xdg-open: 851: /usr/bin/xdg-open: lynx: not found
/usr/bin/xdg-open: 851: /usr/bin/xdg-open: w3m: not found
xdg-open: no method available for opening 'http://odroid:8624'
4 years 9 months ago #40566

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

  • Posts: 238
  • Thank you received: 15

Yes, it goes offline after hit Play button. It goes offline after I change the indi-web path to /usr/local/bin/indi-web.

Last edit: 4 years 9 months ago by Tom.
4 years 9 months ago #40567
Attachments:

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

  • Posts: 2877
  • Thank you received: 812
So, when you close the config panel updating settings, it should make it go offline for a moment because a change in settings means that it must be restarted. But if it was running before you opened the panel, it should start up again. But if indiweb is installed on your system and that path to it is correct, it should run when you hit the play button and keep running

it could be related to the bug that Patrick found where I misnamed the folder /usr/local/bin in the path variable.
4 years 9 months ago #40568

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

  • Posts: 2877
  • Thank you received: 812
So Jerry, I am just using the QT command that is supposed to start your default browser and open a URL. What is your default browser, firefox?

Are you running indiwebmanagerapp as root? Based on the error, you might be. I wouldn't recommend that.
4 years 9 months ago #40569

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

  • Posts: 2877
  • Thank you received: 812
For the tooltips and what's this. I just pushed another change to them because on some systems I just tested them on, the background looked awful. One one computer, it rendered white text on a yellow background!! On another, it tried to put a transparent background behind it, but it just looked terrible. So I made it universally just yellow text on a black background. Please see if that looks ok on your system.

Also, I found on one system that the tooltips did not word wrap, and there doesn't seem to be a good way to fix that. Are the longer ones word wrapped on yours?
4 years 9 months ago #40570

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

  • Posts: 460
  • Thank you received: 69
Yes firefox is the browser.

If I don't use sudo, I get the following when I click the start Triangle.

"2019-06-27T01:53:50: INDI Web Manager Started."
"2019-06-27T01:53:50: /usr/local/bin/indi-web --verbose --xmldir /usr/share/indi"
"2019-06-27T01:53:50: Traceback (most recent call last):\n File \"/usr/local/lib/python3.6/dist-packages/pkg_resources/__init__.py\", line 2691, in _dep_map\n return self.__dep_map\n File \"/usr/local/lib/python3.6/dist-packages/pkg_resources/__init__.py\", line 2806, in __getattr__\n raise AttributeError(attr)\nAttributeError: _Distribution__dep_map\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File \"/usr/local/bin/indi-web\", line 6, in <module>\n from pkg_resources import load_entry_point\n File \"/usr/local/lib/python3.6/dist-packages/pkg_resources/__init__.py\", line 3241, in <module>\n @_call_aside\n File \"/usr/local/lib/python3.6/dist-packages/pkg_resources/__init__.py\", line 3225, in _call_aside\n f(*args, **kwargs)\n File \"/usr/local/lib/python3.6/dist-packages/pkg_resources/__init__.py\", line 3254, in _initialize_master_working_set\n working_set = WorkingSet._build_master()\n File \"/usr/local/lib/python3.6/dist-packages/pkg_resources/__init__.py\", line 583, in _build_master\n ws.require(__requires__)\n File \"/usr/local/lib/python3.6/dist-packages/pkg_resources/__init__.py\", line 900, in require\n needed = self.resolve(parse_requirements(requirements))\n File \"/usr/local/lib/python3.6/dist-packages/pkg_resources/__init__.py\", line 794, in resolve\n new_requirements = dist.requires(req.extras)[::-1]\n File \"/usr/local/lib/python3.6/dist-packages/pkg_resources/__init__.py\", line 2727, in requires\n dm = self._dep_map\n File \"/usr/local/lib/python3.6/dist-packages/pkg_resources/__init__.py\", line 2693, in _dep_map\n self.__dep_map = self._filter_extras(self._build_dep_map())\n File \"/usr/local/lib/python3.6/dist-packages/pkg_resources/__init__.py\", line 2721, in _build_dep_map\n for extra, reqs in split_sections(self._get_metadata(name)):\n File \"/usr/local/lib/python3.6/dist-packages/pkg_resources/__init__.py\", line 3189, in split_sections\n for line in yield_lines(s):\n File \"/usr/local/lib/python3.6/dist-packages/pkg_resources/__init__.py\", line 2378, in yield_lines\n for ss in strs:\n File \"/usr/local/lib/python3.6/dist-packages/pkg_resources/__init__.py\", line 2758, in _get_metadata\n for line in self.get_metadata_lines(name):\n File \"/usr/local/lib/python3.6/dist-packages/pkg_resources/__init__.py\", line 1423, in get_metadata_lines\n return yield_lines(self.get_metadata(name))\n File \"/usr/local/lib/python3.6/dist-packages/pkg_resources/__init__.py\", line 1419, in get_metadata\n value = self._get(self._fn(self.egg_info, name))\n File \"/usr/local/lib/python3.6/dist-packages/pkg_resources/__init__.py\", line 1607, in _get\n with open(path, 'rb') as stream:\nPermissionError: [Errno 13] Permission denied: '/usr/local/lib/python3.6/dist-packages/indiweb-0.1.7-py3.6.egg/EGG-INFO/requires.txt'"
"2019-06-27T01:53:51: INDI Web Manager Shut down with error."
4 years 9 months ago #40571

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

  • Posts: 238
  • Thank you received: 15

Nevermind then. Will wait for your next release. In the mean time i still can use the Indi Web. Cheers!
4 years 9 months ago #40572

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

Time to create page: 0.504 seconds