×

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
Ah, I never clicked apply. Better.

Got further, now it's an indi-web install failure.

both the python and indi-web locations are my default.
4 years 9 months ago #40515

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

  • Posts: 2877
  • Thank you received: 812
I will add something to check whether apply was clicked yet. Also I will try to make that CMP0071 warning go away.
4 years 9 months ago #40516

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

  • Posts: 2877
  • Thank you received: 812
Ok I think both of those issues should now be fixed.
4 years 9 months ago #40518

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

  • Posts: 2877
  • Thank you received: 812
Ok I think I just fixed the issue with the indiweb installed check. I see why it may have said there was an install failure. The check should work like the installer.
4 years 9 months ago #40519

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

  • Posts: 2877
  • Thank you received: 812
Please test again now.
4 years 9 months ago #40520

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

  • Posts: 460
  • Thank you received: 69
Latest commit fb08f7f 1 hour ago I suspect that's out of date?

[Edit there is a new version now]
Last edit: 4 years 9 months ago by Jerry Black.
4 years 9 months ago #40521

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

  • Posts: 2877
  • Thank you received: 812
is it working ok now?
4 years 9 months ago #40523

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

  • Posts: 460
  • Thank you received: 69

except for the appstreamcli warning, everytihing is squeaky clean
odroid@odroid:~/Downloads/INDIWebManager$ cmake INDIWebManagerApp-master
-- The C compiler identification is GNU 7.4.0
-- The CXX compiler identification is GNU 7.4.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found KF5Config: /usr/lib/aarch64-linux-gnu/cmake/KF5Config/KF5ConfigConfig.cmake (found version "5.44.0") 
-- Found KF5KIO: /usr/lib/aarch64-linux-gnu/cmake/KF5KIO/KF5KIOConfig.cmake (found version "5.44.0") 
-- Found KF5DocTools: /usr/lib/aarch64-linux-gnu/cmake/KF5DocTools/KF5DocToolsConfig.cmake (found version "5.44.0") 
-- Found Gettext: /usr/bin/msgmerge (found version "0.19.8.1") 
-- Found PythonInterp: /usr/bin/python (found version "2.7.15") 
-- Found KF5I18n: /usr/lib/aarch64-linux-gnu/cmake/KF5I18n/KF5I18nConfig.cmake (found version "5.44.0") 
-- Found KF5: success (found version "5.44.0") found components:  Config KIO DocTools I18n 
-- Looking for __GLIBC__
-- Looking for __GLIBC__ - found
-- Performing Test _OFFT_IS_64BIT
-- Performing Test _OFFT_IS_64BIT - Success
-- Performing Test HAVE_DATE_TIME
-- Performing Test HAVE_DATE_TIME - Success
-- Could not set up the appstream test. appstreamcli is missing.
-- Configuring done
-- Generating done
-- Build files have been written to: /home/odroid/Downloads/INDIWebManager
odroid@odroid:~/Downloads/INDIWebManager$ make
Scanning dependencies of target INDIWebManagerApp_autogen
[  5%] Generating ui_opsmanager.h
[ 11%] Generating Options.h, Options.cpp
[ 16%] Generating ui_mainwindow.h
[ 22%] Generating ui_opsconfiguration.h
[ 27%] Automatic MOC and UIC for target INDIWebManagerApp
[ 27%] Built target INDIWebManagerApp_autogen
[ 33%] Generating qrc_resources.cpp
Scanning dependencies of target INDIWebManagerApp
[ 38%] Building CXX object CMakeFiles/INDIWebManagerApp.dir/src/main.cpp.o
[ 44%] Building CXX object CMakeFiles/INDIWebManagerApp.dir/src/mainwindow.cpp.o
[ 50%] Building CXX object CMakeFiles/INDIWebManagerApp.dir/src/opsconfiguration.cpp.o
[ 55%] Building CXX object CMakeFiles/INDIWebManagerApp.dir/src/opsmanager.cpp.o
[ 61%] Building CXX object CMakeFiles/INDIWebManagerApp.dir/qrc_resources.cpp.o
[ 66%] Building CXX object CMakeFiles/INDIWebManagerApp.dir/Options.cpp.o
[ 72%] Building CXX object CMakeFiles/INDIWebManagerApp.dir/INDIWebManagerApp_autogen/mocs_compilation.cpp.o
[ 77%] Linking CXX executable INDIWebManagerApp
[100%] Built target INDIWebManagerApp
odroid@odroid:~/Downloads/INDIWebManager$ ./INDIWebManagerApp
libEGL warning: DRI2: failed to authenticate
"2019-06-25T21:14:35:  Welcome to INDI Web Manager App 0.7"
"2019-06-25T21:14:35:  Build: 2019-06-25T21:13:03Z"
"2019-06-25T21:14:35:  OS: ubuntu 18.04"
"2019-06-25T21:14:35:  API: arm64-little_endian-lp64"
"2019-06-25T21:14:35:  Arch: arm64"
"2019-06-25T21:14:35:  Kernel Type: linux"
"2019-06-25T21:14:35:  Kernel Version: 4.9.182-31"
"2019-06-25T21:14:35:  Qt Version: 5.9.5"
^C

I still get a indiweb install failure. I don't see indiweb anywhere on my system. I'll looking for indi-web now. I had done
odroid@odroid:~$ sudo -H pip3 install indiweb
[sudo] password for odroid: 
Requirement already satisfied: indiweb in /usr/local/lib/python3.6/dist-packages/indiweb-0.1.7-py3.6.egg (0.1.7)
Requirement already satisfied: bottle in /usr/local/lib/python3.6/dist-packages/bottle-0.12.16-py3.6.egg (from indiweb) (0.12.16)
Requirement already satisfied: psutil in /usr/lib/python3/dist-packages (from indiweb) (5.4.2)
Requirement already satisfied: requests in /usr/lib/python3/dist-packages (from indiweb) (2.18.4)
today, so this is puzzling.
4 years 9 months ago #40526

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

  • Posts: 2877
  • Thank you received: 812
try this command in the terminal:

which indi-web
4 years 9 months ago #40528

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

  • Posts: 460
  • Thank you received: 69

so replacing the default with the right version
odroid@odroid:~/Downloads/INDIWebManager$ which indi-web
/usr/local/bin/indi-web
odroid@odroid:~/Downloads/INDIWebManager$ ./INDIWebManagerApp
libEGL warning: DRI2: failed to authenticate
"2019-06-25T22:58:55:  Welcome to INDI Web Manager App 0.7"
"2019-06-25T22:58:55:  Build: 2019-06-25T21:13:03Z"
"2019-06-25T22:58:55:  OS: ubuntu 18.04"
"2019-06-25T22:58:55:  API: arm64-little_endian-lp64"
"2019-06-25T22:58:55:  Arch: arm64"
"2019-06-25T22:58:55:  Kernel Type: linux"
"2019-06-25T22:58:55:  Kernel Version: 4.9.182-31"
"2019-06-25T22:58:55:  Qt Version: 5.9.5"
QXcbConnection: XCB error: 3 (BadWindow), sequence: 1271, resource id: 15820494, major code: 40 (TranslateCoords), minor code: 0
"2019-06-25T22:59:25:  export PATH=/usr/bin/:/usr/bin/:/usr/share/indi:usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
"2019-06-25T22:59:25:  export GSCDAT=/usr/share/GSC"
and applying the change gave me the path above.
The install button gave an indiweb install failure.

running it directly gave
odroid@odroid:~/Downloads/INDIWebManager$ /usr/local/bin/indi-web
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/pkg_resources/__init__.py", line 2691, in _dep_map
    return self.__dep_map
  File "/usr/local/lib/python3.6/dist-packages/pkg_resources/__init__.py", line 2806, in __getattr__
    raise AttributeError(attr)
AttributeError: _Distribution__dep_map
 
During handling of the above exception, another exception occurred:
 
Traceback (most recent call last):
  File "/usr/local/bin/indi-web", line 6, in <module>
    from pkg_resources import load_entry_point
  File "/usr/local/lib/python3.6/dist-packages/pkg_resources/__init__.py", line 3241, in <module>
    @_call_aside
  File "/usr/local/lib/python3.6/dist-packages/pkg_resources/__init__.py", line 3225, in _call_aside
    f(*args, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/pkg_resources/__init__.py", line 3254, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/usr/local/lib/python3.6/dist-packages/pkg_resources/__init__.py", line 583, in _build_master
    ws.require(__requires__)
  File "/usr/local/lib/python3.6/dist-packages/pkg_resources/__init__.py", line 900, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/local/lib/python3.6/dist-packages/pkg_resources/__init__.py", line 794, in resolve
    new_requirements = dist.requires(req.extras)[::-1]
  File "/usr/local/lib/python3.6/dist-packages/pkg_resources/__init__.py", line 2727, in requires
    dm = self._dep_map
  File "/usr/local/lib/python3.6/dist-packages/pkg_resources/__init__.py", line 2693, in _dep_map
    self.__dep_map = self._filter_extras(self._build_dep_map())
  File "/usr/local/lib/python3.6/dist-packages/pkg_resources/__init__.py", line 2721, in _build_dep_map
    for extra, reqs in split_sections(self._get_metadata(name)):
  File "/usr/local/lib/python3.6/dist-packages/pkg_resources/__init__.py", line 3189, in split_sections
    for line in yield_lines(s):
  File "/usr/local/lib/python3.6/dist-packages/pkg_resources/__init__.py", line 2378, in yield_lines
    for ss in strs:
  File "/usr/local/lib/python3.6/dist-packages/pkg_resources/__init__.py", line 2758, in _get_metadata
    for line in self.get_metadata_lines(name):
  File "/usr/local/lib/python3.6/dist-packages/pkg_resources/__init__.py", line 1423, in get_metadata_lines
    return yield_lines(self.get_metadata(name))
  File "/usr/local/lib/python3.6/dist-packages/pkg_resources/__init__.py", line 1419, in get_metadata
    value = self._get(self._fn(self.egg_info, name))
  File "/usr/local/lib/python3.6/dist-packages/pkg_resources/__init__.py", line 1607, in _get
    with open(path, 'rb') as stream:
PermissionError: [Errno 13] Permission denied: '/usr/local/lib/python3.6/dist-packages/indiweb-0.1.7-py3.6.egg/EGG-INFO/requires.txt'
with sudo
odroid@odroid:~/Downloads/INDIWebManager$ sudo /usr/local/bin/indi-web
[sudo] password for odroid: 
2019-06-25 23:00:52,007 - WARNING: terminating indiserver failed code 1
Bottle v0.12.16 server starting up (using WSGIRefServer())...
Listening on http://0.0.0.0:8624/
Hit Ctrl-C to quit.
4 years 9 months ago #40530

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

  • Posts: 2877
  • Thank you received: 812
I just made an update to the check for Indi-web. Please test it now.
4 years 9 months ago #40531

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

  • Posts: 460
  • Thank you received: 69
odroid@odroid:~/Downloads/INDIWebManager$ make
Scanning dependencies of target INDIWebManagerApp_autogen
[ 5%] Generating ui_opsmanager.h
[ 11%] Generating Options.h, Options.cpp
[ 16%] Generating ui_mainwindow.h
[ 22%] Generating ui_opsconfiguration.h
[ 27%] Automatic MOC and UIC for target INDIWebManagerApp
[ 27%] Built target INDIWebManagerApp_autogen
[ 33%] Generating qrc_resources.cpp
Scanning dependencies of target INDIWebManagerApp
[ 38%] Building CXX object CMakeFiles/INDIWebManagerApp.dir/src/main.cpp.o
[ 44%] Building CXX object CMakeFiles/INDIWebManagerApp.dir/src/mainwindow.cpp.o
[ 50%] Building CXX object CMakeFiles/INDIWebManagerApp.dir/src/opsconfiguration.cpp.o
/home/odroid/Downloads/INDIWebManager/INDIWebManagerApp-master/src/opsconfiguration.cpp: In member function 'void OpsConfiguration::slotInstallRequirements()':
/home/odroid/Downloads/INDIWebManager/INDIWebManagerApp-master/src/opsconfiguration.cpp:319:5: error: 'updatePythonInstallationStatus' was not declared in this scope
updatePythonInstallationStatus();
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/odroid/Downloads/INDIWebManager/INDIWebManagerApp-master/src/opsconfiguration.cpp:319:5: note: suggested alternative: 'updateGSCInstallationStatus'
updatePythonInstallationStatus();
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
updateGSCInstallationStatus
CMakeFiles/INDIWebManagerApp.dir/build.make:143: recipe for target 'CMakeFiles/INDIWebManagerApp.dir/src/opsconfiguration.cpp.o' failed
make[2]: *** [CMakeFiles/INDIWebManagerApp.dir/src/opsconfiguration.cpp.o] Error 1
CMakeFiles/Makefile2:131: recipe for target 'CMakeFiles/INDIWebManagerApp.dir/all' failed
make[1]: *** [CMakeFiles/INDIWebManagerApp.dir/all] Error 2
Makefile:140: recipe for target 'all' failed
make: *** [all] Error 2
4 years 9 months ago #40532

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

Time to create page: 0.705 seconds