Philip Mair replied to the topic 'INDI can not be installed via apt' in the forum. 1 year ago

I could load indi-asi with wget launchpad.net/~mutlaqja/+archive/ubuntu/...ntu22.04.1_amd64.deb
but not via apt install indi-asi does not work

Read More...

Philip Mair created a new topic ' INDI can not be installed via apt' in the forum. 1 year ago

sudo apt install indi-full
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 indi-full : Depends: indi-apogee but it is not going to be installed
             Depends: indi-asi but it is not going to be installed
             Depends: indi-aagcloudwatcher-ng but it is not going to be installed
             Depends: indi-dsi but it is not going to be installed
             Depends: indi-duino but it is not installable
             Depends: indi-armadillo-platypus but it is not going to be installed
             Depends: indi-atik but it is not installable
             Depends: indi-avalon but it is not going to be installed
             Depends: indi-astromechfoc but it is not going to be installed
             Depends: indi-dreamfocuser but it is not going to be installed
             Depends: indi-aok but it is not going to be installed
             Depends: indi-celestronaux but it is not installable
             Depends: indi-bresserexos2 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

sudo apt install indi-asi
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 libindi1 : Conflicts: libindidriver1 but 1.9.4+dfsg-1 is to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
udo apt install libindidriver1
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
  kded5 kinit kio kpackagelauncherqml kpackagetool5 kstars-bleeding-data libev4 libflashrom1 libftdi1-2 libgsl27 libgslcblas0 libhfstospell11 libkf5archive5 libkf5attica5 libkf5completion-data
  libkf5completion5 libkf5crash5 libkf5declarative-data libkf5declarative5 libkf5doctools5 libkf5globalaccel-bin libkf5globalaccel-data libkf5globalaccel5 libkf5globalaccelprivate5 libkf5iconthemes-bin
  libkf5iconthemes-data libkf5iconthemes5 libkf5itemviews-data libkf5itemviews5 libkf5jobwidgets-data libkf5jobwidgets5 libkf5kiocore5 libkf5kiogui5 libkf5kiontlm5 libkf5kiowidgets5 libkf5kirigami2-5
  libkf5newstuff-data libkf5newstuff5 libkf5newstuffcore5 libkf5notifyconfig-data libkf5notifyconfig5 libkf5package-data libkf5package5 libkf5plotting5 libkf5quickaddons5 libkf5solid5 libkf5solid5-data
  libkf5sonnet5-data libkf5sonnetcore5 libkf5sonnetui5 libkf5syndication5abi1 libkf5textwidgets-data libkf5textwidgets5 libkf5xmlgui-bin libkf5xmlgui-data libkf5xmlgui5 libnetpbm10 libqt5concurrent5
  libqt5keychain1 libqt5printsupport5 libqt5qmlworkerscript5 libqt5quickcontrols2-5 libqt5quicktemplates2-5 libqt5sql5 libqt5sql5-sqlite libqt5websockets5 librtlsdr0 libstellarsolver libvoikko1 libwcs7
  qml-module-org-kde-kirigami2 qml-module-org-kde-kquickcontrolsaddons qml-module-org-kde-newstuff qml-module-qtgraphicaleffects qml-module-qtqml qml-module-qtqml-models2 qml-module-qtquick-controls
  qml-module-qtquick-controls2 qml-module-qtquick-layouts qml-module-qtquick-templates2 qml-module-qtquick-window2 qml-module-qtquick2 sonnet-plugins xplanet xplanet-images
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
  indi-bin kstars-bleeding kstars-bleeding-dbg libindi1
The following NEW packages will be installed:
  libindidriver1
0 upgraded, 1 newly installed, 4 to remove and 4 not upgraded.
Need to get 427 kB of archives.
After this operation, 169 MB disk space will be freed.
Do you want to continue? [Y/n] 

There seems to be an conflict etween libindi1 and libindidriver1

Read More...

Wow, that NG Driver is a really mess and the whole sensor readings are wrong mapped in the driver.

I analyzed the issue, and my device returns two additional answers on the Humidity request:

[2022-08-01T11:53:12.973 UTC DEBG ][ org.kde.kstars.indi] - AAG Cloud Watcher NG : "[DEBUG] sendCloudwatcherCommand(V!,2) "
[2022-08-01T11:53:13.964 UTC DEBG ][ org.kde.kstars.indi] - AAG Cloud Watcher NG : "[DEBUG] getCloudWatcherAnswer(!w 0! 0,2) = valid "
[2022-08-01T11:53:13.965 UTC DEBG ][ org.kde.kstars.indi] - AAG Cloud Watcher NG : "[DEBUG] sendCloudwatcherCommand(h!,2) "
[2022-08-01T11:53:14.188 UTC DEBG ][ org.kde.kstars.indi] - AAG Cloud Watcher NG : "[DEBUG] skip answer !d 255!e 255 2 "
[2022-08-01T11:53:14.236 UTC DEBG ][ org.kde.kstars.indi] - AAG Cloud Watcher NG : "[DEBUG] skip answer !f 255!g 255 2 "
[2022-08-01T11:53:14.268 UTC DEBG ][ org.kde.kstars.indi] - AAG Cloud Watcher NG : "[DEBUG] getCloudWatcherAnswer(!hh 65535! 0,2) = valid "
[2022-08-01T11:53:14.269 UTC DEBG ][ org.kde.kstars.indi] - AAG Cloud Watcher NG : "[DEBUG] sendCloudwatcherCommand(p!,2) "
[2022-08-01T11:53:14.317 UTC DEBG ][ org.kde.kstars.indi] - AAG Cloud Watcher NG : "[DEBUG] getCloudWatcherAnswer(!p 65535! 0,2) = valid "

Read More...

Well it seems to be broken again.
I'm using a brand new aag cloud watcher with latest firmware and it does not work with the Ng driver ....

CS

Read More...

I have reverted commit dd36e6e7a2f08d03f821e62cde8887ccdffc6117 and build indi-aagcloudwatcher which works fine ...

mkdir -p ~/Projects/build/indi-aagcloudwatcher
cd ~/Projects/build/indi-aagcloudwatcher
cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Debug ~/Projects/indi-3rdparty/indi-aagcloudwatcher
make -j4
sudo make install

Read More...

Hey, how have you solved your issue?

I'm getting this error too:

[2022-07-29T19:03:53.028 UTC DEBG ][ org.kde.kstars.indi] - AAG Cloud Watcher NG : "[DEBUG] Connecting to /dev/ttyUSB0 @ 9600 "
[2022-07-29T19:03:53.029 UTC DEBG ][ org.kde.kstars.indi] - AAG Cloud Watcher NG : "[DEBUG] Port FD 4 "
[2022-07-29T19:03:53.029 UTC DEBG ][ org.kde.kstars.indi] - AAG Cloud Watcher NG : "[DEBUG] Connection successful, attempting handshake... "
[2022-07-29T19:03:53.078 UTC INFO ][ org.kde.kstars.indi] - AAG Cloud Watcher NG : "[INFO] Connected to AAG Cloud Watcher "
[2022-07-29T19:03:53.220 UTC DEBG ][ org.kde.kstars.indi] - AAG Cloud Watcher NG : "[DEBUG] Parameter WEATHER_HUMIDITY is added. Ok (0,100,10) "
[2022-07-29T19:03:53.226 UTC INFO ][ org.kde.kstars.indi] - AAG Cloud Watcher NG : "[INFO] AAG Cloud Watcher NG is online. "
[2022-07-29T19:03:53.226 UTC DEBG ][ org.kde.kstars.indi] - AAG Cloud Watcher NG : "[DEBUG] Configuration successfully saved for DEVICE_PORT. "
[2022-07-29T19:03:53.226 UTC DEBG ][ org.kde.kstars.indi] - AAG Cloud Watcher NG : "[DEBUG] Configuration successfully saved for DEVICE_BAUD_RATE. "
[2022-07-29T19:03:53.227 UTC INFO ][ org.kde.kstars.ekos] - "AAG Cloud Watcher NG" Version: "1.6" Interface: 128 is connected.
[2022-07-29T19:03:53.227 UTC DEBG ][ org.kde.kstars.ekos] - 2 devices connected out of 2
[2022-07-29T19:03:53.227 UTC INFO ][ org.kde.kstars.ekos] - All INDI devices are now connected.
[2022-07-29T19:03:53.229 UTC INFO ][org.kde.kstars.ekos.observatory] - "Weather Alert"
[2022-07-29T19:03:53.234 UTC WARN ][ default] - QWidget::setLayout: Attempting to set QLayout "" on QWidget "sensorData", which already has a layout
[2022-07-29T19:03:53.381 UTC DEBG ][ org.kde.kstars.indi] - < AAG Cloud Watcher NG >: < WEATHER_STATUS >
[2022-07-29T19:03:53.382 UTC INFO ][ org.kde.kstars.ekos] - "AAG Cloud Watcher NG is online."
[2022-07-29T19:03:53.389 UTC DEBG ][ org.kde.kstars.indi] - < AAG Cloud Watcher NG >: < WEATHER_PARAMETERS >
[2022-07-29T19:03:53.409 UTC DEBG ][ org.kde.kstars.indi] - < AAG Cloud Watcher NG >: < WEATHER_BRIGHTNESS >
[2022-07-29T19:03:53.415 UTC DEBG ][ org.kde.kstars.indi] - < AAG Cloud Watcher NG >: < WEATHER_WIND_SPEED >
[2022-07-29T19:03:53.421 UTC DEBG ][ org.kde.kstars.indi] - < AAG Cloud Watcher NG >: < WEATHER_RAIN >
[2022-07-29T19:03:53.427 UTC DEBG ][ org.kde.kstars.indi] - < AAG Cloud Watcher NG >: < WEATHER_CLOUD >
[2022-07-29T19:03:53.435 UTC DEBG ][ org.kde.kstars.indi] - < AAG Cloud Watcher NG >: < WEATHER_HUMIDITY >
[2022-07-29T19:03:53.448 UTC DEBG ][ org.kde.kstars.indi] - < AAG Cloud Watcher NG >: < WEATHER_REFRESH >
[2022-07-29T19:03:53.450 UTC DEBG ][ org.kde.kstars.indi] - < AAG Cloud Watcher NG >: < WEATHER_UPDATE >
[2022-07-29T19:03:53.454 UTC DEBG ][ org.kde.kstars.indi] - < AAG Cloud Watcher NG >: < WEATHER_OVERRIDE >
[2022-07-29T19:03:53.455 UTC DEBG ][ org.kde.kstars.indi] - < AAG Cloud Watcher NG >: < GEOGRAPHIC_COORD >
[2022-07-29T19:03:53.464 UTC DEBG ][ org.kde.kstars.indi] - < AAG Cloud Watcher NG >: < ACTIVE_DEVICES >
[2022-07-29T19:03:53.470 UTC INFO ][ org.kde.kstars.indi] - AAG Cloud Watcher NG : "[INFO] Weather update is in progress... "
[2022-07-29T19:03:54.948 UTC INFO ][ org.kde.kstars.indi] - AAG Cloud Watcher NG : "[ERROR] Can not get data from device "
[2022-07-29T19:03:54.996 UTC INFO ][ org.kde.kstars.indi] - AAG Cloud Watcher NG : "[ERROR] Can not get data from device "
[2022-07-29T19:03:56.407 UTC INFO ][ org.kde.kstars.indi] - AAG Cloud Watcher NG : "[INFO] AAG Cloud Watcher NG is offline. "
[2022-07-29T19:03:56.407 UTC DEBG ][ org.kde.kstars.ekos] - "AAG Cloud Watcher NG" is disconnected.
[2022-07-29T19:03:56.407 UTC INFO ][ org.kde.kstars.ekos] - "AAG Cloud Watcher NG is disconnected."

Read More...

I guess so, because the artificial Horizon is implemented by the altitude limit!

CS

Read More...

So i have fixed this bug with changing  github.com/KDE/kstars/blob/stable-3.5.7/.../scheduler.cpp#L3684 currentJob->setState(SchedulerJob::JOB_IDLE); to currentJob->setState(SchedulerJob::JOB_ABORTED);

With this, the Job is aborted and the next job in the queue is executed

Read More...

So here are the recent logs:  

File Attachment:

File Name: log_07-17-18.txt
File Size: 23 KB


Have checked the code github.com/KDE/kstars/blob/stable-3.5.7/...eduler/scheduler.cpp and the bug seems to be in the void Scheduler::findNextJob() ... 
It selects the previous "aborted" job :'(

 

Read More...

The Artificial Horizon is a nice feature, but if a Job is running into the Limit the scheduler stops the complete queue instead of the related job only :(

With this behavior the feature is quite useless, my setups where sleeping 5 hours - just because of this - instead of capturing the next Target :'(

 



 

Thanks for your help!

Read More...

@Jasem Mutlaq Just recognized that the state machine was refactored with 3.5.7, so i will update and give it a try.

CS

Read More...

You have to set the Info in the Camera Driver's Option Tab:

 



CS
Philip

Read More...

So Clear Sky here in Germany after many weeks, but KStars 3.5.6 Build: 2021-11-11T14:55:20Z crashed after the Flip on M106. I had no logs enabled, because it was quite stable till yet ...
From the Analyze Tab I can see, that Ekos may run into a race condition after the Flip, because instead of running the Solver the Capture was resumed: 



There are also some "cancel" files in /tmp from that timeslot: 


There was already performed a Flip before, but with another Target (M78): 


It worked, but the Pattern looks a bit weird, but the scheduler changed to M106 just after the Flip. 

While researching, i see that "ekoslive" is flooding the syslog with an SQL Error:
Jan 26 04:24:10 stellarmate ekoslive[1141]: 2022-01-26T03:24:10.388Z info: New sequence image saved to /home/stellarmate/Pictures/M106_Ha/Light/Ha/M106_Ha_Light_Ha_300_secs_027.fits
Jan 26 04:29:45 stellarmate ekoslive[1141]: 2022-01-26T03:29:45.697Z error: SQLITE_ERROR: no such table: metadata
Jan 26 04:29:45 stellarmate ekoslive[1141]: 2022-01-26T03:29:45.699Z error: INSERT INTO metadata ('Content-Disposition', airmass, aptdia, bitpix, bscale, bzero, 'ccd-temp', ts, 'date-obs', dec, equinox, exptime, filename, filesize, filter, focallen, frame, gain, instrume, naxis, naxis1, naxis2, objctdec, objctra, object, observer, pixsize1, pixsize2, ra, scale, sitelat, sitelong, telescop, uuid, xbinning, xpixsz, ybinning, ypixsz, raw, preview, thumbnail) VALUES('attachment;filename=M106_Ha_Light_Ha_300_secs_028.fits', 1.000504, 130, 16, 1, 32768, -14.8, 1643163878, '2022-01-26T03:24:38.087', 47.30193, 2000, 300, 'M106_Ha_Light_Ha_300_secs_028.fits', 26034176, 'Ha', 910, 'Light', 100, 'ZWO CCD ASI2600MM Pro', 2, 6248, 4176, '47 18 06.94', '12 18 15.60', 'M106_Ha', 'Unknown', 3.76, 3.76, 184.565, 0.8524044, 47.93708, 10.71778, 'EQMod Mount', '1b4dbfff151f4191ab78c715c338a235', 1, 3.76, 1, 3.76, '/home/stellarmate/Pictures/M106_Ha/Light/Ha/M106_Ha_Light_Ha_300_secs_028.fits', '/home/stellarmate/.local/share/ekoslive/previews/1b4dbfff151f4191ab78c715c338a235', '/home/stellarmate/.local/share/ekoslive/thumbs/1b4dbfff151f4191ab78c715c338a235')
Jan 26 04:29:45 stellarmate ekoslive[1141]: 2022-01-26T03:29:45.700Z info: New sequence image saved to /home/stellarmate/Pictures/M106_Ha/Light/Ha/M106_Ha_Light_Ha_300_secs_028.fits
Jan 26 04:34:49 stellarmate ekoslive[1141]: 2022-01-26T03:34:49.781Z error: SQLITE_ERROR: no such table: metadata
Jan 26 04:34:49 stellarmate ekoslive[1141]: 2022-01-26T03:34:49.782Z error: INSERT INTO metadata ('Content-Disposition', airmass, aptdia, bitpix, bscale, bzero, 'ccd-temp', ts, 'date-obs', dec, equinox, exptime, filename, filesize, filter, focallen, frame, gain, instrume, naxis, naxis1, naxis2, objctdec, objctra, object, observer, pixsize1, pixsize2, ra, scale, sitelat, sitelong, telescop, uuid, xbinning, xpixsz, ybinning, ypixsz, raw, preview, thumbnail) VALUES('attachment;filename=M106_Ha_Light_Ha_300_secs_029.fits', 1.001045, 130, 16, 1, 32768, -14.8, 1643164182, '2022-01-26T03:29:42.008', 47.30217, 2000, 300, 'M106_Ha_Light_Ha_300_secs_029.fits', 28192768, 'Ha', 910, 'Light', 100, 'ZWO CCD ASI2600MM Pro', 2, 6248, 4176, '47 18 07.81', '12 18 16.32', 'M106_Ha', 'Unknown', 3.76, 3.76, 184.568, 0.8524044, 47.93708, 10.71778, 'EQMod Mount', '5056dbb882f249ffbae82dfc65d54b2b', 1, 3.76, 1, 3.76, '/home/stellarmate/Pictures/M106_Ha/Light/Ha/M106_Ha_Light_Ha_300_secs_029.fits', '/home/stellarmate/.local/share/ekoslive/previews/5056dbb882f249ffbae82dfc65d54b2b', '/home/stellarmate/.local/share/ekoslive/thumbs/5056dbb882f249ffbae82dfc65d54b2b')
Jan 26 04:34:49 stellarmate ekoslive[1141]: 2022-01-26T03:34:49.782Z info: New sequence image saved to /home/stellarmate/Pictures/M106_Ha/Light/Ha/M106_Ha_Light_Ha_300_secs_029.fits
Jan 26 04:39:53 stellarmate ekoslive[1141]: 2022-01-26T03:39:53.891Z error: SQLITE_ERROR: no such table: metadata
Jan 26 04:39:53 stellarmate ekoslive[1141]: 2022-01-26T03:39:53.893Z error: INSERT INTO metadata ('Content-Disposition', airmass, aptdia, bitpix, bscale, bzero, 'ccd-temp', ts, 'date-obs', dec, equinox, exptime, filename, filesize, filter, focallen, frame, gain, instrume, naxis, naxis1, naxis2, objctdec, objctra, object, observer, pixsize1, pixsize2, ra, scale, sitelat, sitelong, telescop, uuid, xbinning, xpixsz, ybinning, ypixsz, raw, preview, thumbnail) VALUES('attachment;filename=M106_Ha_Light_Ha_300_secs_030.fits', 1.001812, 130, 16, 1, 32768, -14.8, 1643164486, '2022-01-26T03:34:46.079', 47.30245, 2000, 300, 'M106_Ha_Light_Ha_300_secs_030.fits', 11325440, 'Ha', 910, 'Light', 100, 'ZWO CCD ASI2600MM Pro', 2, 6248, 4176, '47 18 08.81', '12 18 16.17', 'M106_Ha', 'Unknown', 3.76, 3.76, 184.5674, 0.8524044, 47.93708, 10.71778, 'EQMod Mount', '995b2996bdf2491c97039e7952cd940c', 1, 3.76, 1, 3.76, '/home/stellarmate/Pictures/M106_Ha/Light/Ha/M106_Ha_Light_Ha_300_secs_030.fits', '/home/stellarmate/.local/share/ekoslive/previews/995b2996bdf2491c97039e7952cd940c', '/home/stellarmate/.local/share/ekoslive/thumbs/995b2996bdf2491c97039e7952cd940c')

Don't think that this is related to the main issue, because it floods the logs since beginning of the session ;)

Thanks for your help.

Read More...