×

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
Ok, I can take a look at correcting the path later today.
The following user(s) said Thank You: AstroNerd
4 years 3 months ago #46520

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


Well I used his script....!!
Ignore what I wrote above was just giving an example...
4 years 3 months ago #46521

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

  • Posts: 1957
  • Thank you received: 420

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
The following user(s) said Thank You: AstroNerd
Last edit: 4 years 3 months ago by Wouter van Reeven.
4 years 3 months ago #46522

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


Sorry I did not mean to sound annoyed, was not at all, its all good... :) :)
4 years 3 months ago #46524

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

  • Posts: 2876
  • Thank you received: 809
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.
4 years 3 months ago #46532

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, 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...
4 years 3 months ago #46533

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

  • Posts: 2876
  • Thank you received: 809
Ok I just went back to the old command but added a delete first. Please try it again, thanks.
4 years 3 months ago #46536

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’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...
4 years 3 months ago #46537

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

  • 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.

Time to create page: 0.465 seconds