×
INDI Library v1.8.6 Released (21 Aug 2020)

August 2020 release of INDI Library v1.8.6 introduces new drivers while providing fixes and improvements to existing devices and core framework.

AstroPi3 Scripts revised

9 months 2 weeks ago
rlancaste
Supernova Explorer
Supernova Explorer
Posts: 2269
Karma: 22
More
Topic Author
AstroPi3 Scripts revised #46520
Ok, I can take a look at correcting the path later today.
The following user(s) said Thank You AstroNerd

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

9 months 2 weeks ago
AstroNerd
Moderator
Moderator
Posts: 850
Karma: 1
More
AstroPi3 Scripts revised #46521

wvreeven wrote: Just one comment to that: the Linux operating system is case sensitive so a directory called Kstars is a different directory than one called kstars. The correct path therefore is

.local/share/kstars

all lower case.

EDIT: I now see that Rob's comments indeed use the correct lower case path.


Clear skies, Wouter


Well I used his script....!!
Ignore what I wrote above was just giving an example...

Stellarmate OS on Raspberry pi4b
Skywatcher EQ8 pro, on steel pier
Takahashi FSQ85 & Meade 8” SCT (de-forked)
Starlight Xpress SXVR H18, SXVR M25c, Lodestar x2 Guide Camera
Pegasus Ultimate Hub V2 for all USB & Power
Pegasus focus motors on both scopes

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

9 months 2 weeks ago 9 months 2 weeks ago by wvreeven.
wvreeven
Supernova Explorer
Supernova Explorer
Posts: 1621
Karma: 8
More
AstroPi3 Scripts revised #46522

AstroNerd wrote: Well I used his script....!!
Ignore what I wrote above was just giving an example...


I didn't mean in an accusatory way. However people with a similar issue may find these comments and may therefore need to know the exact and correct path. No offense meant!


Wouter

ASI6200 and filter wheel with a SkyWatcher Esprit 80 ED on a SkyWatcher HEQ5-Pro
ASI1600MM-Pro Cooled and filter wheel with an 8" TS Ritchey-Chrétien on a SkyWatcher EQ6-R
The following user(s) said Thank You AstroNerd

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

9 months 2 weeks ago
AstroNerd
Moderator
Moderator
Posts: 850
Karma: 1
More
AstroPi3 Scripts revised #46524

wvreeven wrote:

AstroNerd wrote: Well I used his script....!!
Ignore what I wrote above was just giving an example...


I didn't mean in an accusatory way. However people with a similar issue may find these comments and may therefore need to know the exact and correct path. No offense meant!


Wouter


Sorry I did not mean to sound annoyed, was not at all, its all good... :) :)

Stellarmate OS on Raspberry pi4b
Skywatcher EQ8 pro, on steel pier
Takahashi FSQ85 & Meade 8” SCT (de-forked)
Starlight Xpress SXVR H18, SXVR M25c, Lodestar x2 Guide Camera
Pegasus Ultimate Hub V2 for all USB & Power
Pegasus focus motors on both scopes

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

9 months 2 weeks ago
rlancaste
Supernova Explorer
Supernova Explorer
Posts: 2269
Karma: 22
More
Topic Author
AstroPi3 Scripts revised #46532
Ok I just pushed a change to the repo. Can you see if this works better?

So the issue was that the code that I wrote worked great as long as the kstars and indi directories didn't exist, but if they did, it got put into sub directories.

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

9 months 2 weeks ago
AstroNerd
Moderator
Moderator
Posts: 850
Karma: 1
More
AstroPi3 Scripts revised #46533

rlancaste wrote: Ok I just pushed a change to the repo. Can you see if this works better?

So the issue was that the code that I wrote worked great as long as the kstars and indi directories didn't exist, but if they did, it got put into sub directories.


No, it’s just putting the complete saved folder in the restore folder, instead of just replacing the files with the new ones...
Basically doing the same as before....
The script is asking to save the KstarsData, and then it’s putting that complete folder into the folder specified in the restore section...

Not sure if I am making sense...

Stellarmate OS on Raspberry pi4b
Skywatcher EQ8 pro, on steel pier
Takahashi FSQ85 & Meade 8” SCT (de-forked)
Starlight Xpress SXVR H18, SXVR M25c, Lodestar x2 Guide Camera
Pegasus Ultimate Hub V2 for all USB & Power
Pegasus focus motors on both scopes

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

9 months 2 weeks ago
rlancaste
Supernova Explorer
Supernova Explorer
Posts: 2269
Karma: 22
More
Topic Author
AstroPi3 Scripts revised #46536
Ok I just went back to the old command but added a delete first. Please try it again, thanks.

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

9 months 2 weeks ago
AstroNerd
Moderator
Moderator
Posts: 850
Karma: 1
More
AstroPi3 Scripts revised #46537

rlancaste wrote: Ok I just went back to the old command but added a delete first. Please try it again, thanks.


It’s deleting the “Kstars” folder and creating one called KstarsData...so my system is a bit messed up, so cant do any more testing until I sort... :(
Thanks for trying to sort this.. :)

I don’t think deleting the folder first is the right Approach..but then what do I know... :) I couldn’t do what you do.
So for now I will just manually copy the files over...

Stellarmate OS on Raspberry pi4b
Skywatcher EQ8 pro, on steel pier
Takahashi FSQ85 & Meade 8” SCT (de-forked)
Starlight Xpress SXVR H18, SXVR M25c, Lodestar x2 Guide Camera
Pegasus Ultimate Hub V2 for all USB & Power
Pegasus focus motors on both scopes

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

9 months 2 weeks ago
rlancaste
Supernova Explorer
Supernova Explorer
Posts: 2269
Karma: 22
More
Topic Author
AstroPi3 Scripts revised #46538
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.

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

9 months 2 weeks ago
AstroNerd
Moderator
Moderator
Posts: 850
Karma: 1
More
AstroPi3 Scripts revised #46539

rlancaste wrote: 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.


It was probably my error somewhere.... :)

Stellarmate OS on Raspberry pi4b
Skywatcher EQ8 pro, on steel pier
Takahashi FSQ85 & Meade 8” SCT (de-forked)
Starlight Xpress SXVR H18, SXVR M25c, Lodestar x2 Guide Camera
Pegasus Ultimate Hub V2 for all USB & Power
Pegasus focus motors on both scopes

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

9 months 1 week ago
rlancaste
Supernova Explorer
Supernova Explorer
Posts: 2269
Karma: 22
More
Topic Author
AstroPi3 Scripts revised #46580
I have a thought. Perhaps you put the wrong folder path to restore into the script?

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

9 months 1 week ago
rlancaste
Supernova Explorer
Supernova Explorer
Posts: 2269
Karma: 22
More
Topic Author
AstroPi3 Scripts revised #46581
Here is a screenshot of how it should work:


Attachments:

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

Time to create page: 0.345 seconds