×

INDI Library v2.0.6 is Released (02 Feb 2024)

Bi-monthly release with minor bug fixes and improvements

AstroPi3 Scripts revised

  • Posts: 2876
  • Thank you received: 809
Hmm, I will check it out. But I just tried it and it worked. . .but I will look at it again. Maybe I made a mistake, but I don't think I did.

I mean honestly, thats all it does is copy files. . . so yeah you can manually do it.
4 years 3 months ago #46538

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

  • Posts: 1067
  • Thank you received: 140

Replied by AstroNerd on topic AstroPi3 Scripts revised


It was probably my error somewhere.... :)
4 years 3 months ago #46539

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

  • Posts: 2876
  • Thank you received: 809
I have a thought. Perhaps you put the wrong folder path to restore into the script?
4 years 3 months ago #46580

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

  • Posts: 2876
  • Thank you received: 809
Here is a screenshot of how it should work:


4 years 3 months ago #46581
Attachments:

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

  • Posts: 1067
  • Thank you received: 140

Replied by AstroNerd on topic AstroPi3 Scripts revised


No, I did that correctly, I made sure of that, if you don’t it does not work at all...and throws an error before it’s even run...
It’s just copying the whole folder into the restore folders, and not just the files
I can do it manually....no worries... :)
4 years 3 months ago #46582

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

  • Posts: 1309
  • Thank you received: 226

Replied by Andrew on topic AstroPi3 Scripts revised

I just updated my Raspbian setup with the script and the issue with PHD2 not compiling the additional drivers remained. So I deleted the old build folders and ran the script once more. That time it worked out. So all we need in the script is a little house cleaning before recompiling it.
The following user(s) said Thank You: Tom
4 years 2 months ago #47358

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

  • Posts: 238
  • Thank you received: 15

Replied by Tom on topic AstroPi3 Scripts revised

Qhy camera seems cannot connect now via Astropi3 script in raspbian OS. Anyone having this issue as well?
4 years 1 month ago #49634

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

  • Posts: 1309
  • Thank you received: 226

Replied by Andrew on topic AstroPi3 Scripts revised

EKos now has the option to use sextractor. I propose adding it to the installation script.
4 years 1 month ago #49649

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

  • Posts: 238
  • Thank you received: 15

Replied by Tom on topic AstroPi3 Scripts revised

Can't even install phd2 and phdlogviewer from the script.

Building and Installing PHD Log Viewer
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Already up to date.
-- Configuring done
-- Generating done
-- Build files have been written to: /home/pi/AstroRoot/phdlogview/tmp
[ 14%] Generating LogViewFrameBase.cpp, LogViewFrameBase.h
make[2]: wxformbuilder: Command not found
make[2]: *** [CMakeFiles/phdlogview.dir/build.make:62: LogViewFrameBase.cpp] Error 127
make[1]: *** [CMakeFiles/Makefile2:72: CMakeFiles/phdlogview.dir/all] Error 2
make: *** [Makefile:130: all] Error 2
cp: cannot stat '/home/pi/AstroRoot/phdlogview/tmp/phdlogview': No such file or directory

For phd2:

~ Building and Installing PHD2
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Already up to date.
-- PHD2 version '2.6.7' (extracted from source)
-- using libcurl /usr/lib/arm-linux-gnueabihf/libcurl.so
-- Using project provided libindi '/home/pi/AstroRoot/phd2/thirdparty/libindi-58b26c584049e1b9ecd55aa5f4a225677a417898.tar.gz'
-- Found libnova: /usr/lib/arm-linux-gnueabihf/libnova.so
-- Found ASICamera2 lib /usr/local/lib/libASICamera2.so
-- Found toupcam lib /home/pi/AstroRoot/phd2/cameras/toupcam/linux/armhf/libtoupcam.so
-- 'xgettext' program found at '/usr/bin/xgettext'
-- 'msgfmt' program found at '/usr/bin/msgfmt'
-- 'msgmerge' program found at '/usr/bin/msgmerge'
-- [DOC] Creating HTML target for locale en_EN
-- [DOC] Creating translation target for locale ar_LY
-- [DOC] Creating translation target for locale de_DE
-- [DOC] Creating translation target for locale es_ES
-- [DOC] Creating HTML target for locale fr_FR
-- [DOC] Creating translation target for locale fr_FR
-- [DOC] Creating translation target for locale it_IT
-- [DOC] Creating HTML target for locale ja_JP
-- [DOC] Creating translation target for locale ja_JP
-- [DOC] Creating translation target for locale ko_KR
-- [DOC] Creating translation target for locale nb_NO
-- [DOC] Creating translation target for locale pl_PL
-- [DOC] Creating translation target for locale pt_BR
-- [DOC] Creating translation target for locale ro_RO
-- [DOC] Creating HTML target for locale ru_RU
-- [DOC] Creating translation target for locale ru_RU
-- [DOC] Creating translation target for locale uk_UA
-- [DOC] Creating translation target for locale zh_CN
-- [DOC] Creating HTML target for locale zh_TW
-- [DOC] Creating translation target for locale zh_TW
-- Configuring done
-- Generating done
-- Build files have been written to: /home/pi/AstroRoot/phd2-build
[ 49%] Built target pl_PL_translation
[ 49%] Built target ja_JP_html
[ 49%] Built target OpenSSAG
[ 49%] Built target usb_openphd
[ 49%] Built target cfitsio
[ 49%] Built target MPIIS_GP_TOOLS
[ 49%] Built target it_IT_translation
[ 49%] Built target ja_JP_translation
[ 49%] Built target ro_RO_translation
[ 49%] Built target ru_RU_translation
[ 49%] Built target ru_RU_html
[ 49%] Built target es_ES_translation
[ 49%] Built target fr_FR_translation
[ 49%] Built target indiclient
[ 49%] Built target zh_TW_html
[ 49%] Built target fr_FR_html
[ 49%] Built target nb_NO_translation
[ 49%] Built target zh_TW_translation
[ 49%] Built target ar_LY_translation
[ 49%] Built target zh_CN_translation
[ 49%] Built target en_EN_html
[ 49%] Built target MPIIS_GP
[ 49%] Built target de_DE_translation
[ 49%] Built target pt_BR_translation
[ 49%] Built target ko_KR_translation
[ 49%] Built target uk_UA_translation
[ 49%] Built target gtest
[ 49%] Built target GPGuider
[ 49%] Built target gtest_main
[ 49%] Built target GaussianProcessTest
[ 49%] Built target MathToolboxTest
[ 49%] Built target GPGuiderTest
[ 49%] Built target GuidePerformanceTest
[ 49%] Built target GuidePerformanceEval
[ 49%] Linking CXX executable phd2.bin
/usr/local/lib/libASICamera2.so: file not recognized: file format not recognized
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/phd2.dir/build.make:2223: phd2.bin] Error 1
make[1]: *** [CMakeFiles/Makefile2:818: CMakeFiles/phd2.dir/all] Error 2
make: *** [Makefile:163: all] Error 2
[ 22%] Built target cfitsio
[ 25%] Built target usb_openphd
[ 26%] Built target OpenSSAG
[ 27%] Built target MPIIS_GP_TOOLS
[ 28%] Built target pl_PL_translation
[ 29%] Built target ja_JP_html
[ 30%] Built target it_IT_translation
[ 31%] Built target ja_JP_translation
[ 32%] Built target ro_RO_translation
[ 33%] Built target ru_RU_html
[ 34%] Built target ru_RU_translation
[ 36%] Built target indiclient
[ 37%] Built target es_ES_translation
[ 38%] Built target fr_FR_translation
[ 39%] Built target fr_FR_html
[ 39%] Built target zh_TW_html
[ 40%] Built target nb_NO_translation
[ 42%] Built target zh_TW_translation
[ 43%] Built target ar_LY_translation
[ 44%] Built target zh_CN_translation
[ 44%] Built target en_EN_html
[ 45%] Built target MPIIS_GP
[ 46%] Built target de_DE_translation
[ 47%] Built target ko_KR_translation
[ 47%] Built target pt_BR_translation
[ 48%] Built target uk_UA_translation
[ 48%] Built target GPGuider
[ 49%] Linking CXX executable phd2.bin
/usr/local/lib/libASICamera2.so: file not recognized: file format not recognized
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/phd2.dir/build.make:2223: phd2.bin] Error 1
make[1]: *** [CMakeFiles/Makefile2:818: CMakeFiles/phd2.dir/all] Error 2
make: *** [Makefile:163: all] Error 2

How to solve this?

Thanks.
4 years 1 month ago #49788

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

  • Posts: 2876
  • Thank you received: 809

Yes, I can look at doing this later this week, sounds like a good idea
4 years 1 month ago #49791

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

  • Posts: 2876
  • Thank you received: 809
I can look into this later this week
4 years 1 month ago #49792

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

  • Posts: 2876
  • Thank you received: 809

Sorry, trying this again:

I can look into this later this week.
4 years 1 month ago #49793

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

Time to create page: 0.626 seconds