×

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
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.

  • Posts: 2877
  • Thank you received: 812
Jerry, do you normally have to run INDI Web with root? I know you have this setup where your python and your pip are in two different places, you need root to run it?
4 years 9 months ago #40573

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

  • Posts: 2877
  • Thank you received: 812
Let me check with Jasem about this. I don't think INDI, indiweb, or indiwebmanagerapp should need to be run as root.
4 years 9 months ago #40574

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

  • Posts: 460
  • Thank you received: 69
Maybe I did an install of one of the packages? indiweb? as root when it shouldn't have been?
4 years 9 months ago #40575

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

  • Posts: 2877
  • Thank you received: 812
that is what I expect happened. Perhaps the solution is to uninstall it using pip3 as root and then install it using pip3 as yourself?
4 years 9 months ago #40576

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

  • Posts: 2877
  • Thank you received: 812
Its interesting that I didn't know you were running as root until you tried to open a browser window as root. Perhaps I should add a warning for that.
4 years 9 months ago #40577

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

  • Posts: 2877
  • Thank you received: 812
Looking back through what you posted, I see that you did this:

sudo -H pip3 install indiweb

It probably should have just been this:

pip3 install indiweb

to install as yourself.

Although also if you are running indiwebmanagerapp as root, it probably would install indiweb as root too.
4 years 9 months ago #40578

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

  • Posts: 2877
  • Thank you received: 812
Ok I added a check and a warning message for running the program as root. It won't prevent you from doing it, but it will warn you about issues.
4 years 9 months ago #40581

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

  • Posts: 2877
  • Thank you received: 812
Ok I went to version 0.9 and made a release. For the OS X version you can go here :

github.com/rlancaste/INDIWebManagerApp/releases/tag/0.9

For the Linux version it is in the nightly ppa, or the source code is on git.


Please test again,

Thanks !
The following user(s) said Thank You: Tom
4 years 9 months ago #40584

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

  • Posts: 238
  • Thank you received: 15

Now i know why it keeps OFFLINE. This is because I let another Indi Webmanager continue to run. After I turn off the other instance, your indi web manager app start to ONLINE!

Regards,
Tom
Last edit: 4 years 9 months ago by Tom.
4 years 9 months ago #40585

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

  • Posts: 2877
  • Thank you received: 812
Yes that makes sense Tom.

So the other INDI webmanager was running when you started INDI Webmanager app?

Did it give you the option to shut down the other one and then you said no?
4 years 9 months ago #40587

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

Time to create page: 0.792 seconds