×

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
After some "fun" installing qt and kdeveloper I think I susccessfully compiled from git. Is this the expected version?

odroid@odroid:~/Downloads/INDIWebManager$ INDIWebManagerApp

libEGL warning: DRI2: failed to authenticate
"2019-06-25T17:41:25: Welcome to INDI Web Manager App 0.7"
"2019-06-25T17:41:25: Build: 2019-06-24T19:14:50Z"
"2019-06-25T17:41:25: OS: ubuntu 18.04"
"2019-06-25T17:41:25: API: arm64-little_endian-lp64"
"2019-06-25T17:41:25: Arch: arm64"
"2019-06-25T17:41:25: Kernel Type: linux"
"2019-06-25T17:41:25: Kernel Version: 4.9.182-31"
"2019-06-25T17:41:25: Qt Version: 5.9.5"

Python and indi-web still says incomplete. When clicking on the Install button
Using either the dfault or non-default python directories generate the
Python and Pip both need to be installed in your selected python exec folder in order to run indiweb. Please either install these or change your exec folder to one that includes them.

Cheers
Last edit: 4 years 9 months ago by Jerry Black.
4 years 9 months ago #40502

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

  • Posts: 2877
  • Thank you received: 812
Yes, I haven't updated the version number yet due to the fact that I haven't confirmed yet that it works on your system. But are you running a version that you just built? I am seeing this line:
"2019-06-25T17:41:25: Build: 2019-06-24T19:14:50Z"

Which makes me think you are running the same one you ran before that you got from the nightly build. I purposefully added that line so that we could detect not only which "version" we are running but also when it was built to differentiate between versions with the same number that were built from git at different times etc.
4 years 9 months ago #40503

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

  • Posts: 2877
  • Thank you received: 812
oh also you should change your python exec directory back to /usr/bin instead of /usr/local/bin. That was just a test. It really should be the /usr/bin on your system
4 years 9 months ago #40504

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

  • Posts: 2877
  • Thank you received: 812
Just a note: for mine the build line looks like this:

2019-06-25T14:30:54: Welcome to INDI Web Manager App 0.7
2019-06-25T14:30:54: Build: 2019-06-25T18:25:09Z

The reason the times are different is because of the difference between my time zone and UTC.
4 years 9 months ago #40505

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

  • Posts: 460
  • Thank you received: 69
I was wondering that too, so I checked the source code of mainwindow.cpp and it appeared to have the code changes. Never-the-less I'm redoing things again now...
4 years 9 months ago #40506

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

  • Posts: 2877
  • Thank you received: 812
Yes it should have the changes. You might want to uninstall the other INDIWebManagerApp from the ppa so it doesn't accidentally run that one.

Are you using QT Creator or building from the command line?
4 years 9 months ago #40507

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

  • Posts: 460
  • Thank you received: 69
Here is the full meal deal...
<code>odroid@odroid:~/Downloads/INDIWebManager$ ls
INDIWebManagerApp-master
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
CMake Warning (dev) at /usr/local/share/ECM/modules/ECMFindModuleHelpers.cmake:133 (message):
Your project should require at least CMake 2.8.12 to use FindKF5.cmake
Call Stack (most recent call first):
/usr/local/share/ECM/find-modules/FindKF5.cmake:52 (ecm_find_package_version_check)
CMakeLists.txt:53 (find_package)
This warning is for project developers. Use -Wno-dev to suppress it.

-- 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.
CMake Warning (dev) at /usr/local/share/ECM/modules/ECMAddAppIcon.cmake:384 (message):

/home/odroid/Downloads/INDIWebManager/INDIWebManagerApp-master/images/indi_logo.png
is not named correctly for ecm_add_app_icon - ignoring
Call Stack (most recent call first):
/usr/local/share/ECM/modules/ECMAddAppIcon.cmake:142 (_ecm_add_app_icon_categorize_icons)
CMakeLists.txt:92 (ecm_add_app_icon)
This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at /usr/local/share/ECM/modules/ECMAddAppIcon.cmake:166 (message):
No icons suitable for use on macOS provided
Call Stack (most recent call first):
CMakeLists.txt:92 (ecm_add_app_icon)
This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at /usr/local/share/ECM/modules/ECMAddAppIcon.cmake:182 (message):
No icons suitable for use on Windows provided
Call Stack (most recent call first):
CMakeLists.txt:92 (ecm_add_app_icon)
This warning is for project developers. Use -Wno-dev to suppress it.

-- Configuring done
CMake Warning (dev) in CMakeLists.txt:
Policy CMP0071 is not set: Let AUTOMOC and AUTOUIC process GENERATED files.
Run "cmake --help-policy CMP0071" for policy details. Use the cmake_policy
command to set the policy and suppress this warning.

For compatibility, CMake is excluding the GENERATED source file(s):

"/home/odroid/Downloads/INDIWebManager/ui_mainwindow.h"
"/home/odroid/Downloads/INDIWebManager/ui_opsconfiguration.h"
"/home/odroid/Downloads/INDIWebManager/ui_opsmanager.h"
"/home/odroid/Downloads/INDIWebManager/Options.h"
"/home/odroid/Downloads/INDIWebManager/Options.cpp"

from processing by AUTOMOC and AUTOUIC. If any of the files should be
processed, set CMP0071 to NEW. If any of the files should not be
processed, explicitly exclude them by setting the source file property
SKIP_AUTOGEN:

set_property(SOURCE file.h PROPERTY SKIP_AUTOGEN ON)

This warning is for project developers. Use -Wno-dev to suppress it.

-- Generating done
-- Build files have been written to: /home/odroid/Downloads/INDIWebManager
odroid@odroid:~/Downloads/INDIWebManager$ ls
CMakeCache.txt CTestTestfile.cmake Makefile ecm_uninstall.cmake version.h
CMakeFiles INDIWebManagerApp-master cmake_install.cmake prefix.sh
odroid@odroid:~/Downloads/INDIWebManager$ make
Scanning dependencies of target INDIWebManagerApp_autogen
[ 7%] Automatic MOC and UIC for target INDIWebManagerApp
[ 7%] Built target INDIWebManagerApp_autogen
[ 14%] Generating Options.h, Options.cpp
[ 21%] Generating ui_mainwindow.h
[ 28%] Generating ui_opsconfiguration.h
[ 35%] Generating ui_opsmanager.h
[ 42%] Generating qrc_resources.cpp
Scanning dependencies of target INDIWebManagerApp
[ 50%] Building CXX object CMakeFiles/INDIWebManagerApp.dir/src/main.cpp.o
In file included from /home/odroid/Downloads/INDIWebManager/INDIWebManagerApp-master/src/main.cpp:10:0:
/home/odroid/Downloads/INDIWebManager/INDIWebManagerApp-master/src/mainwindow.h:34:10: warning: 'virtual void MainWindow::closeEvent(QCloseEvent*)' can be marked override [-Wsuggest-override]
void closeEvent(QCloseEvent *event);
^~~~~~~~~~
[ 57%] Building CXX object CMakeFiles/INDIWebManagerApp.dir/src/mainwindow.cpp.o
In file included from /home/odroid/Downloads/INDIWebManager/INDIWebManagerApp-master/src/mainwindow.cpp:10:0:
/home/odroid/Downloads/INDIWebManager/INDIWebManagerApp-master/src/mainwindow.h:34:10: warning: 'virtual void MainWindow::closeEvent(QCloseEvent*)' can be marked override [-Wsuggest-override]
void closeEvent(QCloseEvent *event);
^~~~~~~~~~
[ 64%] Building CXX object CMakeFiles/INDIWebManagerApp.dir/src/opsconfiguration.cpp.o
In file included from /home/odroid/Downloads/INDIWebManager/INDIWebManagerApp-master/src/opsconfiguration.h:14:0,
from /home/odroid/Downloads/INDIWebManager/INDIWebManagerApp-master/src/opsconfiguration.cpp:10:
/home/odroid/Downloads/INDIWebManager/INDIWebManagerApp-master/src/mainwindow.h:34:10: warning: 'virtual void MainWindow::closeEvent(QCloseEvent*)' can be marked override [-Wsuggest-override]
void closeEvent(QCloseEvent *event);
^~~~~~~~~~
[ 71%] Building CXX object CMakeFiles/INDIWebManagerApp.dir/src/opsmanager.cpp.o
In file included from /home/odroid/Downloads/INDIWebManager/INDIWebManagerApp-master/src/opsmanager.h:13:0,
from /home/odroid/Downloads/INDIWebManager/INDIWebManagerApp-master/src/opsmanager.cpp:10:
/home/odroid/Downloads/INDIWebManager/INDIWebManagerApp-master/src/mainwindow.h:34:10: warning: 'virtual void MainWindow::closeEvent(QCloseEvent*)' can be marked override [-Wsuggest-override]
void closeEvent(QCloseEvent *event);
^~~~~~~~~~
[ 78%] Building CXX object CMakeFiles/INDIWebManagerApp.dir/qrc_resources.cpp.o
[ 85%] Building CXX object CMakeFiles/INDIWebManagerApp.dir/Options.cpp.o
In file included from /home/odroid/Downloads/INDIWebManager/Options.h:10:0,
from /home/odroid/Downloads/INDIWebManager/Options.cpp:4:
/home/odroid/Downloads/INDIWebManager/INDIWebManagerApp-master/src/mainwindow.h:34:10: warning: 'virtual void MainWindow::closeEvent(QCloseEvent*)' can be marked override [-Wsuggest-override]
void closeEvent(QCloseEvent *event);
^~~~~~~~~~
[ 92%] Building CXX object CMakeFiles/INDIWebManagerApp.dir/INDIWebManagerApp_autogen/mocs_compilation.cpp.o
In file included from /home/odroid/Downloads/INDIWebManager/INDIWebManagerApp_autogen/UVLADIE3JM/moc_mainwindow.cpp:9:0,
from /home/odroid/Downloads/INDIWebManager/INDIWebManagerApp_autogen/mocs_compilation.cpp:2:
/home/odroid/Downloads/INDIWebManager/INDIWebManagerApp_autogen/UVLADIE3JM/../../INDIWebManagerApp-master/src/mainwindow.h:34:10: warning: 'virtual void MainWindow::closeEvent(QCloseEvent*)' can be marked override [-Wsuggest-override]
void closeEvent(QCloseEvent *event);
^~~~~~~~~~
[100%] Linking CXX executable INDIWebManagerApp
[100%] Built target INDIWebManagerApp
odroid@odroid:~/Downloads/INDIWebManager$ ls
CMakeCache.txt INDIWebManagerApp Makefile cmake_install.cmake qrc_resources.cpp ui_opsmanager.h
CMakeFiles INDIWebManagerApp-master Options.cpp ecm_uninstall.cmake ui_mainwindow.h version.h
CTestTestfile.cmake INDIWebManagerApp_autogen Options.h prefix.sh ui_opsconfiguration.h
odroid@odroid:~/Downloads/INDIWebManager$ ./INDIWebManagerApp
libEGL warning: DRI2: failed to authenticate
"2019-06-25T19:13:25: Welcome to INDI Web Manager App 0.7"
"2019-06-25T19:13:25: Build: 2019-06-25T19:11:38Z"
"2019-06-25T19:13:25: OS: ubuntu 18.04"
"2019-06-25T19:13:25: API: arm64-little_endian-lp64"
"2019-06-25T19:13:25: Arch: arm64"
"2019-06-25T19:13:25: Kernel Type: linux"
"2019-06-25T19:13:25: Kernel Version: 4.9.182-31"
"2019-06-25T19:13:25: Qt Version: 5.9.5"
kf5.kconfigwidgets: A widget named ' "kcfg_INDIConfigPathDefault" ' was found but there is no setting named ' "INDIConfigPathDefault" '
Segmentation fault (core dumped)
odroid@odroid:~/Downloads/INDIWebManager$ which python
/usr/bin/python
odroid@odroid:~/Downloads/INDIWebManager$ which python3
/usr/bin/python3
odroid@odroid:~/Downloads/INDIWebManager$ which pip
/usr/local/bin/pip
odroid@odroid:~/Downloads/INDIWebManager$ which pip3
/usr/local/bin/pip3
odroid@odroid:~/Downloads/INDIWebManager$
</code>
and mainwindow.cpp starting at line 303
<code>
bool MainWindow::pythonInstalled()
{

return QFileInfo(Options::pythonExecFolder() + "/python").exists() || QFileInfo(Options::pythonExecFolder() + "/python2").exists() || QFileInfo(Options::pythonExecFolder() + "/python3").exists();
}

/*
* This method detects whether pip is installed.
*/
bool MainWindow::pipInstalled()
{

return QFileInfo(Options::pythonExecFolder() + "/pip").exists() || QFileInfo(Options::pythonExecFolder() + "/pip2").exists() || QFileInfo(Options::pythonExecFolder() + "/pip3").exists() || QFileInfo("/usr/local/bin/pip").exists() || QFileInfo("/usr/local/bin/pip2").exists() || QFileInfo("/usr/local/bin/pip3").exists();
}</code>

sorry for the noob questions, but how to I uninstall the ppa version? just rm /usr/bin/INDIWebManagerApp ?
[EDIT rm /usr/binINDIWebManaderApp didn't change anything.]
Last edit: 4 years 9 months ago by Jerry Black.
4 years 9 months ago #40508

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

  • Posts: 2877
  • Thank you received: 812
Ok yes, you are building from the command line then.

This should uninstall it:
sudo apt-get remove indiwebmanagerapp

Then try running it again from the directory you built it in

It does look like you have my changes since that is one of the changes I made. The most important changes though were in the opsconfiguration.cpp file since that was where the issue was occurring.
4 years 9 months ago #40509

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

  • Posts: 2877
  • Thank you received: 812
Based on the output that you posted from the command line I made a couple of other changes.

I added the override keyword it was asking for multiple times.
I increased the version requirement for cmake.
And I changed one of the kcfg options that was named incorrectly.

You have been very helpful!! Thanks!
4 years 9 months ago #40510

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

  • Posts: 2877
  • Thank you received: 812
Ok now I think I might have fixed the warning about the icons perhaps.
4 years 9 months ago #40511

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

  • Posts: 2877
  • Thank you received: 812
Let me know if it works and if those warnings all went away.

Thanks!

Rob
4 years 9 months ago #40512

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

  • Posts: 460
  • Thank you received: 69
Better, but still a mystery to me
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
CMake Warning (dev) in CMakeLists.txt:
  Policy CMP0071 is not set: Let AUTOMOC and AUTOUIC process GENERATED files.
  Run "cmake --help-policy CMP0071" for policy details.  Use the cmake_policy
  command to set the policy and suppress this warning.
 
  For compatibility, CMake is excluding the GENERATED source file(s):
 
    "/home/odroid/Downloads/INDIWebManager/ui_mainwindow.h"
    "/home/odroid/Downloads/INDIWebManager/ui_opsconfiguration.h"
    "/home/odroid/Downloads/INDIWebManager/ui_opsmanager.h"
    "/home/odroid/Downloads/INDIWebManager/Options.h"
    "/home/odroid/Downloads/INDIWebManager/Options.cpp"
 
  from processing by AUTOMOC and AUTOUIC.  If any of the files should be
  processed, set CMP0071 to NEW.  If any of the files should not be
  processed, explicitly exclude them by setting the source file property
  SKIP_AUTOGEN:
 
    set_property(SOURCE file.h PROPERTY SKIP_AUTOGEN ON)
 
This warning is for project developers.  Use -Wno-dev to suppress it.
 
-- Generating done
-- Build files have been written to: /home/odroid/Downloads/INDIWebManager
odroid@odroid:~/Downloads/INDIWebManager$ make
Scanning dependencies of target INDIWebManagerApp_autogen
[  7%] Automatic MOC and UIC for target INDIWebManagerApp
[  7%] Built target INDIWebManagerApp_autogen
[ 14%] Generating Options.h, Options.cpp
[ 21%] Generating ui_mainwindow.h
[ 28%] Generating ui_opsconfiguration.h
[ 35%] Generating ui_opsmanager.h
[ 42%] Generating qrc_resources.cpp
Scanning dependencies of target INDIWebManagerApp
[ 50%] Building CXX object CMakeFiles/INDIWebManagerApp.dir/src/main.cpp.o
[ 57%] Building CXX object CMakeFiles/INDIWebManagerApp.dir/src/mainwindow.cpp.o
[ 64%] Building CXX object CMakeFiles/INDIWebManagerApp.dir/src/opsconfiguration.cpp.o
[ 71%] Building CXX object CMakeFiles/INDIWebManagerApp.dir/src/opsmanager.cpp.o
[ 78%] Building CXX object CMakeFiles/INDIWebManagerApp.dir/qrc_resources.cpp.o
[ 85%] Building CXX object CMakeFiles/INDIWebManagerApp.dir/Options.cpp.o
[ 92%] Building CXX object CMakeFiles/INDIWebManagerApp.dir/INDIWebManagerApp_autogen/mocs_compilation.cpp.o
[100%] Linking CXX executable INDIWebManagerApp
[100%] Built target INDIWebManagerApp
odroid@odroid:~/Downloads/INDIWebManager$ ./INDIWebManagerApp
libEGL warning: DRI2: failed to authenticate
"2019-06-25T20:13:09:  Welcome to INDI Web Manager App 0.7"
"2019-06-25T20:13:09:  Build: 2019-06-25T20:11:42Z"
"2019-06-25T20:13:09:  OS: ubuntu 18.04"
"2019-06-25T20:13:09:  API: arm64-little_endian-lp64"
"2019-06-25T20:13:09:  Arch: arm64"
"2019-06-25T20:13:09:  Kernel Type: linux"
"2019-06-25T20:13:09:  Kernel Version: 4.9.182-31"
"2019-06-25T20:13:09:  Qt Version: 5.9.5"
QXcbConnection: XCB error: 3 (BadWindow), sequence: 613, resource id: 15730361, major code: 40 (TranslateCoords), minor code: 0
 

4 years 9 months ago #40513
Attachments:

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

Time to create page: 0.615 seconds